Skip to content

Commit

Permalink
docs: update urls to mention v8
Browse files Browse the repository at this point in the history
  • Loading branch information
favna committed Nov 27, 2023
1 parent 7cab7dd commit 4fada43
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ interface GraphQLPokemonResponse<K extends keyof Omit<Query, '__typename'>> {
data: Record<K, Omit<Query[K], '__typename'>>;
}

fetch('https://graphqlpokemon.favware.tech/v7', {
fetch('https://graphqlpokemon.favware.tech/v8', {
method: 'POST',
headers: {
'Content-Type': 'application/json'
Expand Down Expand Up @@ -161,7 +161,7 @@ const getFuzzyPokemon = gql`
`;

const apolloClient = new ApolloClient({
uri: 'https://graphqlpokemon.favware.tech/v7',
uri: 'https://graphqlpokemon.favware.tech/v8',
fetch
});

Expand Down Expand Up @@ -189,7 +189,7 @@ import { HttpLink } from 'apollo-link-http';
// Instantiate required constructor fields
const cache = new InMemoryCache();
const link = new HttpLink({
uri: 'https://graphqlpokemon.favware.tech/v7'
uri: 'https://graphqlpokemon.favware.tech/v8'
});

export const client = new ApolloClient({
Expand Down Expand Up @@ -285,7 +285,7 @@ Thank you to all the people who already contributed to GraphQL-Pokemon!
</a>

[contributing]: ./.github/CONTRIBUTING.md
[dashboard]: https://graphqlpokemon.favware.tech/v7
[dashboard]: https://graphqlpokemon.favware.tech/v8
[yarn]: https://yarnpkg.com/package/@favware/graphql-pokemon
[npm]: https://www.npmjs.com/package/@favware/graphql-pokemon
[ghcr_npm]: https://github.com/favware/graphql-pokemon/packages/199047
Expand Down
2 changes: 1 addition & 1 deletion docs/magidoc.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const config = {
{
group: 'Demo',
label: 'Playground',
href: 'https://graphqlpokemon.favware.tech/v7'
href: 'https://graphqlpokemon.favware.tech/v8'
},
{
group: 'Donate',
Expand Down
4 changes: 2 additions & 2 deletions docs/pages/01.Introduction/01.Welcome.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ popular video game series, provided by external sources such as
[Bulbapedia](https://bulbapedia.bulbagarden.net).

The easiest way to get to know this API is to try it out in the
[playground](https://graphqlpokemon.favware.tech/v7).
[playground](https://graphqlpokemon.favware.tech/v8).

For implementing the API in your own code, choose your preferred language and
method of making Web requests. Beyond that point you will need to learn the
GraphQL syntax, and the documentation on this website as well as the queries
provided by the [playground](https://graphqlpokemon.favware.tech/v7) will help
provided by the [playground](https://graphqlpokemon.favware.tech/v8) will help
you get started.
6 changes: 3 additions & 3 deletions docs/pages/01.Introduction/02.JavaScript Examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ interface GraphQLPokemonResponse<K extends keyof Omit<Query, '__typename'>> {
data: Record<K, Omit<Query[K], '__typename'>>;
}

fetch('https://graphqlpokemon.favware.tech/v7', {
fetch('https://graphqlpokemon.favware.tech/v8', {
method: 'POST',
headers: {
'Content-Type': 'application/json'
Expand Down Expand Up @@ -64,7 +64,7 @@ const getFuzzyPokemon = gql`
`;

const apolloClient = new ApolloClient({
uri: 'https://graphqlpokemon.favware.tech/v7',
uri: 'https://graphqlpokemon.favware.tech/v8',
fetch
});

Expand Down Expand Up @@ -93,7 +93,7 @@ import { HttpLink } from 'apollo-link-http';
// Instantiate required constructor fields
const cache = new InMemoryCache();
const link = new HttpLink({
uri: 'https://graphqlpokemon.favware.tech/v7'
uri: 'https://graphqlpokemon.favware.tech/v8'
});

export const client = new ApolloClient({
Expand Down

0 comments on commit 4fada43

Please sign in to comment.