Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit 931bd30

Browse files
committed
docs(cookbook/graphql): Update dependencies
1 parent 9a47c2c commit 931bd30

File tree

7 files changed

+15
-15
lines changed

7 files changed

+15
-15
lines changed

public/docs/_examples/heroes-graphql/ts/app/dashboard.component.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import { Component, OnInit } from '@angular/core';
33

44
// #docregion import-apollo
5-
import { Angular2Apollo } from 'apollo-angular';
5+
import { Apollo } from 'apollo-angular';
66
// #enddocregion import-apollo
77
// #docregion import-graphql-tag
88
import gql from 'graphql-tag';
@@ -22,7 +22,7 @@ export class DashboardComponent implements OnInit {
2222
heroes: Hero[];
2323
// #enddocregion this-heroes
2424
// #docregion inject-apollo
25-
constructor(private apollo: Angular2Apollo) { }
25+
constructor(private apollo: Apollo) { }
2626
// #enddocregion inject-apollo
2727

2828
// #docregion query-heroes

public/docs/_examples/heroes-graphql/ts/app/hero-detail.component.1.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { Component, OnInit } from '@angular/core';
33
import { ActivatedRoute } from '@angular/router';
44
import { Location } from '@angular/common';
55

6-
import { Angular2Apollo, ApolloQueryObservable } from 'apollo-angular';
6+
import { Apollo, ApolloQueryObservable } from 'apollo-angular';
77
import { Subscription } from 'rxjs/Subscription';
88
import gql from 'graphql-tag';
99

@@ -24,7 +24,7 @@ export class HeroDetailComponent implements OnInit {
2424
constructor(
2525
private route: ActivatedRoute,
2626
private location: Location,
27-
private apollo: Angular2Apollo
27+
private apollo: Apollo
2828
) {}
2929

3030
ngOnInit(): void {

public/docs/_examples/heroes-graphql/ts/app/hero-detail.component.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { Component, OnInit } from '@angular/core';
33
import { ActivatedRoute } from '@angular/router';
44
import { Location } from '@angular/common';
55

6-
import { Angular2Apollo, ApolloQueryObservable } from 'apollo-angular';
6+
import { Apollo, ApolloQueryObservable } from 'apollo-angular';
77
import { Subscription } from 'rxjs/Subscription';
88
import gql from 'graphql-tag';
99

@@ -25,7 +25,7 @@ export class HeroDetailComponent implements OnInit {
2525
constructor(
2626
private route: ActivatedRoute,
2727
private location: Location,
28-
private apollo: Angular2Apollo
28+
private apollo: Apollo
2929
) {}
3030

3131
// #docregion service-fetch-by-id

public/docs/_examples/heroes-graphql/ts/app/hero-search.component.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import 'rxjs/add/operator/distinctUntilChanged';
1717

1818
import { Hero } from './hero';
1919

20-
import { Angular2Apollo, ApolloQueryObservable } from 'apollo-angular';
20+
import { Apollo, ApolloQueryObservable } from 'apollo-angular';
2121
import gql from 'graphql-tag';
2222

2323
@Component({
@@ -35,7 +35,7 @@ export class HeroSearchComponent implements OnInit {
3535
// #enddocregion searchTerms
3636

3737
constructor(
38-
private apollo: Angular2Apollo,
38+
private apollo: Apollo,
3939
private router: Router) {}
4040
// #docregion searchTerms
4141

public/docs/_examples/heroes-graphql/ts/app/heroes.component.1.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { Component, OnInit } from '@angular/core';
33
import { Router } from '@angular/router';
44

55
// #docregion import-apollo
6-
import { Angular2Apollo } from 'apollo-angular';
6+
import { Apollo } from 'apollo-angular';
77
// #enddocregion import-apollo
88
// #docregion import-graphql-tag
99
import gql from 'graphql-tag';
@@ -25,7 +25,7 @@ export class HeroesComponent implements OnInit {
2525

2626
// #docregion inject-apollo
2727
constructor(
28-
private apollo: Angular2Apollo,
28+
private apollo: Apollo,
2929
private router: Router) { }
3030
// #enddocregion inject-apollo
3131

public/docs/_examples/heroes-graphql/ts/app/heroes.component.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { Component, OnInit } from '@angular/core';
33
import { Router } from '@angular/router';
44

55
// #docregion import-apollo
6-
import { Angular2Apollo } from 'apollo-angular';
6+
import { Apollo } from 'apollo-angular';
77
// #enddocregion import-apollo
88
// #docregion import-graphql-tag
99
import gql from 'graphql-tag';
@@ -25,7 +25,7 @@ export class HeroesComponent implements OnInit {
2525

2626
// #docregion inject-apollo
2727
constructor(
28-
private apollo: Angular2Apollo,
28+
private apollo: Apollo,
2929
private router: Router) { }
3030
// #enddocregion inject-apollo
3131

public/docs/_examples/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@
2525
"@angular/tsc-wrapped": "^0.5.0",
2626
"@angular/upgrade": "~2.4.0",
2727
"angular-in-memory-web-api": "~0.2.4",
28-
"apollo-angular": "^0.9.1",
29-
"apollo-client": "^0.8.0",
28+
"apollo-angular": "^0.10.0",
29+
"apollo-client": "^0.8.1",
3030
"core-js": "^2.4.1",
3131
"graphql": "^0.9.0",
32-
"graphql-tag": "^1.1.2",
32+
"graphql-tag": "^1.2.3",
3333
"graphql-tools": "^0.9.2",
3434
"rxjs": "5.0.1",
3535
"systemjs": "0.19.39",

0 commit comments

Comments
 (0)