From 6fa17e38af5f7b0489c8d9a483fa4119c2e3d1d5 Mon Sep 17 00:00:00 2001 From: linbudu599 Date: Fri, 18 Mar 2022 11:37:29 +0800 Subject: [PATCH] feat: vite with apollo client + gcg --- packages/vite-apollo-gcg-starter/.gitignore | 24 + packages/vite-apollo-gcg-starter/codegen.yml | 24 + .../graphql.schema.json | 1358 +++ packages/vite-apollo-gcg-starter/index.html | 13 + packages/vite-apollo-gcg-starter/package.json | 32 + packages/vite-apollo-gcg-starter/src/App.css | 42 + packages/vite-apollo-gcg-starter/src/App.tsx | 63 + .../src/apollo/client.ts | 6 + .../vite-apollo-gcg-starter/src/favicon.svg | 15 + .../src/generated/operations.ts | 194 + .../src/generated/react-apollo.ts | 111 + .../src/generated/schema.ts | 238 + .../src/hooks/operations.tsx | 1 + .../vite-apollo-gcg-starter/src/index.css | 13 + .../src/introspection.json | 8173 +++++++++++++++++ packages/vite-apollo-gcg-starter/src/logo.svg | 7 + packages/vite-apollo-gcg-starter/src/main.tsx | 15 + .../src/operations/recipe.query.graphql | 10 + .../vite-apollo-gcg-starter/src/schema.ts | 859 ++ .../vite-apollo-gcg-starter/src/vite-env.d.ts | 1 + .../vite-apollo-gcg-starter/tsconfig.json | 21 + .../tsconfig.node.json | 8 + .../vite-apollo-gcg-starter/vite.config.ts | 7 + pnpm-lock.yaml | 555 +- 24 files changed, 11766 insertions(+), 24 deletions(-) create mode 100644 packages/vite-apollo-gcg-starter/.gitignore create mode 100644 packages/vite-apollo-gcg-starter/codegen.yml create mode 100644 packages/vite-apollo-gcg-starter/graphql.schema.json create mode 100644 packages/vite-apollo-gcg-starter/index.html create mode 100644 packages/vite-apollo-gcg-starter/package.json create mode 100644 packages/vite-apollo-gcg-starter/src/App.css create mode 100644 packages/vite-apollo-gcg-starter/src/App.tsx create mode 100644 packages/vite-apollo-gcg-starter/src/apollo/client.ts create mode 100644 packages/vite-apollo-gcg-starter/src/favicon.svg create mode 100644 packages/vite-apollo-gcg-starter/src/generated/operations.ts create mode 100644 packages/vite-apollo-gcg-starter/src/generated/react-apollo.ts create mode 100644 packages/vite-apollo-gcg-starter/src/generated/schema.ts create mode 100644 packages/vite-apollo-gcg-starter/src/hooks/operations.tsx create mode 100644 packages/vite-apollo-gcg-starter/src/index.css create mode 100644 packages/vite-apollo-gcg-starter/src/introspection.json create mode 100644 packages/vite-apollo-gcg-starter/src/logo.svg create mode 100644 packages/vite-apollo-gcg-starter/src/main.tsx create mode 100644 packages/vite-apollo-gcg-starter/src/operations/recipe.query.graphql create mode 100644 packages/vite-apollo-gcg-starter/src/schema.ts create mode 100644 packages/vite-apollo-gcg-starter/src/vite-env.d.ts create mode 100644 packages/vite-apollo-gcg-starter/tsconfig.json create mode 100644 packages/vite-apollo-gcg-starter/tsconfig.node.json create mode 100644 packages/vite-apollo-gcg-starter/vite.config.ts diff --git a/packages/vite-apollo-gcg-starter/.gitignore b/packages/vite-apollo-gcg-starter/.gitignore new file mode 100644 index 0000000..a547bf3 --- /dev/null +++ b/packages/vite-apollo-gcg-starter/.gitignore @@ -0,0 +1,24 @@ +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +pnpm-debug.log* +lerna-debug.log* + +node_modules +dist +dist-ssr +*.local + +# Editor directories and files +.vscode/* +!.vscode/extensions.json +.idea +.DS_Store +*.suo +*.ntvs* +*.njsproj +*.sln +*.sw? diff --git a/packages/vite-apollo-gcg-starter/codegen.yml b/packages/vite-apollo-gcg-starter/codegen.yml new file mode 100644 index 0000000..5ee586b --- /dev/null +++ b/packages/vite-apollo-gcg-starter/codegen.yml @@ -0,0 +1,24 @@ +overwrite: true +schema: 'http://localhost:4001/graphql' +documents: 'src/operations/*.graphql' +generates: + src/generated/schema.ts: + plugins: + - 'typescript' + - 'typescript-operations' + - 'typescript-resolvers' + - 'typescript-react-apollo' + src/generated/operations.ts: + plugins: + - 'typescript' + - 'typescript-operations' + - 'typescript-resolvers' + src/generated/react-apollo.ts: + plugins: + - 'typescript' + - 'typescript-operations' + - 'typescript-react-apollo' + + ./graphql.schema.json: + plugins: + - 'introspection' diff --git a/packages/vite-apollo-gcg-starter/graphql.schema.json b/packages/vite-apollo-gcg-starter/graphql.schema.json new file mode 100644 index 0000000..c5e3541 --- /dev/null +++ b/packages/vite-apollo-gcg-starter/graphql.schema.json @@ -0,0 +1,1358 @@ +{ + "__schema": { + "queryType": { + "name": "Query" + }, + "mutationType": { + "name": "Mutation" + }, + "subscriptionType": null, + "types": [ + { + "kind": "SCALAR", + "name": "Boolean", + "description": "The `Boolean` scalar type represents `true` or `false`.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "SCALAR", + "name": "DateTime", + "description": "The javascript `Date` as string. Type represents date and time as the ISO Date string.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "SCALAR", + "name": "Float", + "description": "The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "SCALAR", + "name": "Int", + "description": "The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "Mutation", + "description": null, + "fields": [ + { + "name": "addRecipe", + "description": null, + "args": [ + { + "name": "recipe", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "RecipeInput", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Recipe", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "Query", + "description": null, + "fields": [ + { + "name": "recipe", + "description": null, + "args": [ + { + "name": "title", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "Recipe", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "recipes", + "description": "Get all the recipes from around the world ", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Recipe", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "Recipe", + "description": "Object representing cooking recipe", + "fields": [ + { + "name": "averageRating", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "creationDate", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "description", + "description": "The recipe description with preparation info", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ratings", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ratingsCount", + "description": null, + "args": [ + { + "name": "minRate", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": "0", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "specification", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": true, + "deprecationReason": "Use `description` field instead" + }, + { + "name": "title", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "RecipeInput", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "description", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "title", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "SCALAR", + "name": "String", + "description": "The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "__Directive", + "description": "A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.\n\nIn some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.", + "fields": [ + { + "name": "name", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "description", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "isRepeatable", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "locations", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "__DirectiveLocation", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "args", + "description": null, + "args": [ + { + "name": "includeDeprecated", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "__InputValue", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "__DirectiveLocation", + "description": "A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "QUERY", + "description": "Location adjacent to a query operation.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MUTATION", + "description": "Location adjacent to a mutation operation.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SUBSCRIPTION", + "description": "Location adjacent to a subscription operation.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "FIELD", + "description": "Location adjacent to a field.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "FRAGMENT_DEFINITION", + "description": "Location adjacent to a fragment definition.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "FRAGMENT_SPREAD", + "description": "Location adjacent to a fragment spread.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INLINE_FRAGMENT", + "description": "Location adjacent to an inline fragment.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "VARIABLE_DEFINITION", + "description": "Location adjacent to a variable definition.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SCHEMA", + "description": "Location adjacent to a schema definition.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SCALAR", + "description": "Location adjacent to a scalar definition.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "OBJECT", + "description": "Location adjacent to an object type definition.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "FIELD_DEFINITION", + "description": "Location adjacent to a field definition.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ARGUMENT_DEFINITION", + "description": "Location adjacent to an argument definition.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INTERFACE", + "description": "Location adjacent to an interface definition.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UNION", + "description": "Location adjacent to a union definition.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ENUM", + "description": "Location adjacent to an enum definition.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ENUM_VALUE", + "description": "Location adjacent to an enum value definition.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INPUT_OBJECT", + "description": "Location adjacent to an input object type definition.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INPUT_FIELD_DEFINITION", + "description": "Location adjacent to an input object field definition.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "__EnumValue", + "description": "One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.", + "fields": [ + { + "name": "name", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "description", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "isDeprecated", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "deprecationReason", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "__Field", + "description": "Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.", + "fields": [ + { + "name": "name", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "description", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "args", + "description": null, + "args": [ + { + "name": "includeDeprecated", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "__InputValue", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "type", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "__Type", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "isDeprecated", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "deprecationReason", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "__InputValue", + "description": "Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.", + "fields": [ + { + "name": "name", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "description", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "type", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "__Type", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "defaultValue", + "description": "A GraphQL-formatted string representing the default value for this input value.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "isDeprecated", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "deprecationReason", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "__Schema", + "description": "A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.", + "fields": [ + { + "name": "description", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "types", + "description": "A list of all types supported by this server.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "__Type", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "queryType", + "description": "The type that query operations will be rooted at.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "__Type", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "mutationType", + "description": "If this server supports mutation, the type that mutation operations will be rooted at.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "__Type", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "subscriptionType", + "description": "If this server support subscription, the type that subscription operations will be rooted at.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "__Type", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "directives", + "description": "A list of all directives supported by this server.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "__Directive", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "__Type", + "description": "The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name, description and optional `specifiedByURL`, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.", + "fields": [ + { + "name": "kind", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "__TypeKind", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "description", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "specifiedByURL", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "fields", + "description": null, + "args": [ + { + "name": "includeDeprecated", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "__Field", + "ofType": null + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "interfaces", + "description": null, + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "__Type", + "ofType": null + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "possibleTypes", + "description": null, + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "__Type", + "ofType": null + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "enumValues", + "description": null, + "args": [ + { + "name": "includeDeprecated", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "__EnumValue", + "ofType": null + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "inputFields", + "description": null, + "args": [ + { + "name": "includeDeprecated", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "__InputValue", + "ofType": null + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ofType", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "__Type", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "__TypeKind", + "description": "An enum describing what kind of type a given `__Type` is.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "SCALAR", + "description": "Indicates this type is a scalar.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "OBJECT", + "description": "Indicates this type is an object. `fields` and `interfaces` are valid fields.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INTERFACE", + "description": "Indicates this type is an interface. `fields`, `interfaces`, and `possibleTypes` are valid fields.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UNION", + "description": "Indicates this type is a union. `possibleTypes` is a valid field.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ENUM", + "description": "Indicates this type is an enum. `enumValues` is a valid field.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INPUT_OBJECT", + "description": "Indicates this type is an input object. `inputFields` is a valid field.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LIST", + "description": "Indicates this type is a list. `ofType` is a valid field.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NON_NULL", + "description": "Indicates this type is a non-null. `ofType` is a valid field.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + } + ], + "directives": [ + { + "name": "deprecated", + "description": "Marks an element of a GraphQL schema as no longer supported.", + "isRepeatable": false, + "locations": [ + "ARGUMENT_DEFINITION", + "ENUM_VALUE", + "FIELD_DEFINITION", + "INPUT_FIELD_DEFINITION" + ], + "args": [ + { + "name": "reason", + "description": "Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax, as specified by [CommonMark](https://commonmark.org/).", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": "\"No longer supported\"", + "isDeprecated": false, + "deprecationReason": null + } + ] + }, + { + "name": "include", + "description": "Directs the executor to include this field or fragment only when the `if` argument is true.", + "isRepeatable": false, + "locations": [ + "FIELD", + "FRAGMENT_SPREAD", + "INLINE_FRAGMENT" + ], + "args": [ + { + "name": "if", + "description": "Included when true.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ] + }, + { + "name": "skip", + "description": "Directs the executor to skip this field or fragment when the `if` argument is true.", + "isRepeatable": false, + "locations": [ + "FIELD", + "FRAGMENT_SPREAD", + "INLINE_FRAGMENT" + ], + "args": [ + { + "name": "if", + "description": "Skipped when true.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ] + }, + { + "name": "specifiedBy", + "description": "Exposes a URL that specifies the behavior of this scalar.", + "isRepeatable": false, + "locations": [ + "SCALAR" + ], + "args": [ + { + "name": "url", + "description": "The URL that specifies the behavior of this scalar.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ] + } + ] + } +} \ No newline at end of file diff --git a/packages/vite-apollo-gcg-starter/index.html b/packages/vite-apollo-gcg-starter/index.html new file mode 100644 index 0000000..38f3861 --- /dev/null +++ b/packages/vite-apollo-gcg-starter/index.html @@ -0,0 +1,13 @@ + + + + + + + Vite App + + +
+ + + diff --git a/packages/vite-apollo-gcg-starter/package.json b/packages/vite-apollo-gcg-starter/package.json new file mode 100644 index 0000000..04a1a27 --- /dev/null +++ b/packages/vite-apollo-gcg-starter/package.json @@ -0,0 +1,32 @@ +{ + "name": "vite-apollo-gcg-starter", + "version": "0.0.0", + "private": true, + "scripts": { + "build": "tsc && vite build", + "dev": "vite", + "preview": "vite preview", + "codegen": "graphql-codegen --config codegen.yml" + }, + "dependencies": { + "@apollo/client": "^3.5.4", + "graphql": "^16.3.0", + "react": "^17.0.2", + "react-dom": "^17.0.2" + }, + "devDependencies": { + "@graphql-codegen/cli": "^2.3.0", + "@graphql-codegen/introspection": "^2.1.1", + "@graphql-codegen/near-operation-file-preset": "^2.2.2", + "@graphql-codegen/typed-document-node": "^2.2.1", + "@graphql-codegen/typescript": "^2.4.1", + "@graphql-codegen/typescript-operations": "^2.2.1", + "@graphql-codegen/typescript-react-apollo": "3.2.4", + "@graphql-codegen/typescript-resolvers": "2.4.3", + "@types/react": "^17.0.33", + "@types/react-dom": "^17.0.10", + "@vitejs/plugin-react": "^1.0.7", + "typescript": "^4.5.4", + "vite": "^2.8.0" + } +} diff --git a/packages/vite-apollo-gcg-starter/src/App.css b/packages/vite-apollo-gcg-starter/src/App.css new file mode 100644 index 0000000..8da3fde --- /dev/null +++ b/packages/vite-apollo-gcg-starter/src/App.css @@ -0,0 +1,42 @@ +.App { + text-align: center; +} + +.App-logo { + height: 40vmin; + pointer-events: none; +} + +@media (prefers-reduced-motion: no-preference) { + .App-logo { + animation: App-logo-spin infinite 20s linear; + } +} + +.App-header { + background-color: #282c34; + min-height: 100vh; + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + font-size: calc(10px + 2vmin); + color: white; +} + +.App-link { + color: #61dafb; +} + +@keyframes App-logo-spin { + from { + transform: rotate(0deg); + } + to { + transform: rotate(360deg); + } +} + +button { + font-size: calc(10px + 2vmin); +} diff --git a/packages/vite-apollo-gcg-starter/src/App.tsx b/packages/vite-apollo-gcg-starter/src/App.tsx new file mode 100644 index 0000000..0f3f387 --- /dev/null +++ b/packages/vite-apollo-gcg-starter/src/App.tsx @@ -0,0 +1,63 @@ +import { useState } from 'react'; +import { useRecipesQuery } from './hooks/operations'; +import logo from './logo.svg'; +import './App.css'; + +function App() { + const [count, setCount] = useState(0); + const { data, error, loading } = useRecipesQuery(); + console.log('error: ', error); + console.log('loading: ', loading); + console.log('data: ', data); + + return ( +
+
+ logo +

Hello Vite + React!

+ {loading ? ( +

Loading your recipes data...

+ ) : ( +
+ {data?.recipes.map((r) => ( + <> + {r.title} -- + {r.description} +
+ + ))} +
+ )} +

+ +

+

+ Edit App.tsx and save to test HMR updates. +

+

+ + Learn React + + {' | '} + + Vite Docs + +

+
+
+ ); +} + +export default App; diff --git a/packages/vite-apollo-gcg-starter/src/apollo/client.ts b/packages/vite-apollo-gcg-starter/src/apollo/client.ts new file mode 100644 index 0000000..f418ca5 --- /dev/null +++ b/packages/vite-apollo-gcg-starter/src/apollo/client.ts @@ -0,0 +1,6 @@ +import { ApolloClient, InMemoryCache } from '@apollo/client'; + +export const client = new ApolloClient({ + uri: 'http://localhost:4001/graphql', + cache: new InMemoryCache(), +}); diff --git a/packages/vite-apollo-gcg-starter/src/favicon.svg b/packages/vite-apollo-gcg-starter/src/favicon.svg new file mode 100644 index 0000000..de4aedd --- /dev/null +++ b/packages/vite-apollo-gcg-starter/src/favicon.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/packages/vite-apollo-gcg-starter/src/generated/operations.ts b/packages/vite-apollo-gcg-starter/src/generated/operations.ts new file mode 100644 index 0000000..6499ee0 --- /dev/null +++ b/packages/vite-apollo-gcg-starter/src/generated/operations.ts @@ -0,0 +1,194 @@ +import { GraphQLResolveInfo, GraphQLScalarType, GraphQLScalarTypeConfig } from 'graphql'; +export type Maybe = T | null; +export type InputMaybe = Maybe; +export type Exact = { [K in keyof T]: T[K] }; +export type MakeOptional = Omit & { [SubKey in K]?: Maybe }; +export type MakeMaybe = Omit & { [SubKey in K]: Maybe }; +export type RequireFields = { [X in Exclude]?: T[X] } & { [P in K]-?: NonNullable }; +/** All built-in and custom scalars, mapped to their actual values */ +export type Scalars = { + ID: string; + String: string; + Boolean: boolean; + Int: number; + Float: number; + /** The javascript `Date` as string. Type represents date and time as the ISO Date string. */ + DateTime: any; +}; + +export type Mutation = { + __typename?: 'Mutation'; + addRecipe: Recipe; +}; + + +export type MutationAddRecipeArgs = { + recipe: RecipeInput; +}; + +export type Query = { + __typename?: 'Query'; + recipe?: Maybe; + /** Get all the recipes from around the world */ + recipes: Array; +}; + + +export type QueryRecipeArgs = { + title: Scalars['String']; +}; + +/** Object representing cooking recipe */ +export type Recipe = { + __typename?: 'Recipe'; + averageRating?: Maybe; + creationDate: Scalars['DateTime']; + /** The recipe description with preparation info */ + description?: Maybe; + ratings: Array; + ratingsCount: Scalars['Int']; + /** @deprecated Use `description` field instead */ + specification?: Maybe; + title: Scalars['String']; +}; + + +/** Object representing cooking recipe */ +export type RecipeRatingsCountArgs = { + minRate?: InputMaybe; +}; + +export type RecipeInput = { + description?: InputMaybe; + title: Scalars['String']; +}; + +export type RecipesQueryVariables = Exact<{ [key: string]: never; }>; + + +export type RecipesQuery = { __typename?: 'Query', recipes: Array<{ __typename?: 'Recipe', title: string, ratings: Array, averageRating?: number | null, ratingsCount: number, description?: string | null, creationDate: any }> }; + + + +export type ResolverTypeWrapper = Promise | T; + + +export type ResolverWithResolve = { + resolve: ResolverFn; +}; +export type Resolver = ResolverFn | ResolverWithResolve; + +export type ResolverFn = ( + parent: TParent, + args: TArgs, + context: TContext, + info: GraphQLResolveInfo +) => Promise | TResult; + +export type SubscriptionSubscribeFn = ( + parent: TParent, + args: TArgs, + context: TContext, + info: GraphQLResolveInfo +) => AsyncIterable | Promise>; + +export type SubscriptionResolveFn = ( + parent: TParent, + args: TArgs, + context: TContext, + info: GraphQLResolveInfo +) => TResult | Promise; + +export interface SubscriptionSubscriberObject { + subscribe: SubscriptionSubscribeFn<{ [key in TKey]: TResult }, TParent, TContext, TArgs>; + resolve?: SubscriptionResolveFn; +} + +export interface SubscriptionResolverObject { + subscribe: SubscriptionSubscribeFn; + resolve: SubscriptionResolveFn; +} + +export type SubscriptionObject = + | SubscriptionSubscriberObject + | SubscriptionResolverObject; + +export type SubscriptionResolver = + | ((...args: any[]) => SubscriptionObject) + | SubscriptionObject; + +export type TypeResolveFn = ( + parent: TParent, + context: TContext, + info: GraphQLResolveInfo +) => Maybe | Promise>; + +export type IsTypeOfResolverFn = (obj: T, context: TContext, info: GraphQLResolveInfo) => boolean | Promise; + +export type NextResolverFn = () => Promise; + +export type DirectiveResolverFn = ( + next: NextResolverFn, + parent: TParent, + args: TArgs, + context: TContext, + info: GraphQLResolveInfo +) => TResult | Promise; + +/** Mapping between all available schema types and the resolvers types */ +export type ResolversTypes = { + Boolean: ResolverTypeWrapper; + DateTime: ResolverTypeWrapper; + Float: ResolverTypeWrapper; + Int: ResolverTypeWrapper; + Mutation: ResolverTypeWrapper<{}>; + Query: ResolverTypeWrapper<{}>; + Recipe: ResolverTypeWrapper; + RecipeInput: RecipeInput; + String: ResolverTypeWrapper; +}; + +/** Mapping between all available schema types and the resolvers parents */ +export type ResolversParentTypes = { + Boolean: Scalars['Boolean']; + DateTime: Scalars['DateTime']; + Float: Scalars['Float']; + Int: Scalars['Int']; + Mutation: {}; + Query: {}; + Recipe: Recipe; + RecipeInput: RecipeInput; + String: Scalars['String']; +}; + +export interface DateTimeScalarConfig extends GraphQLScalarTypeConfig { + name: 'DateTime'; +} + +export type MutationResolvers = { + addRecipe?: Resolver>; +}; + +export type QueryResolvers = { + recipe?: Resolver, ParentType, ContextType, RequireFields>; + recipes?: Resolver, ParentType, ContextType>; +}; + +export type RecipeResolvers = { + averageRating?: Resolver, ParentType, ContextType>; + creationDate?: Resolver; + description?: Resolver, ParentType, ContextType>; + ratings?: Resolver, ParentType, ContextType>; + ratingsCount?: Resolver>; + specification?: Resolver, ParentType, ContextType>; + title?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type Resolvers = { + DateTime?: GraphQLScalarType; + Mutation?: MutationResolvers; + Query?: QueryResolvers; + Recipe?: RecipeResolvers; +}; + diff --git a/packages/vite-apollo-gcg-starter/src/generated/react-apollo.ts b/packages/vite-apollo-gcg-starter/src/generated/react-apollo.ts new file mode 100644 index 0000000..64679cc --- /dev/null +++ b/packages/vite-apollo-gcg-starter/src/generated/react-apollo.ts @@ -0,0 +1,111 @@ +import { gql } from '@apollo/client'; +import * as Apollo from '@apollo/client'; +export type Maybe = T | null; +export type InputMaybe = Maybe; +export type Exact = { [K in keyof T]: T[K] }; +export type MakeOptional = Omit & { [SubKey in K]?: Maybe }; +export type MakeMaybe = Omit & { [SubKey in K]: Maybe }; +const defaultOptions = {} as const; +/** All built-in and custom scalars, mapped to their actual values */ +export type Scalars = { + ID: string; + String: string; + Boolean: boolean; + Int: number; + Float: number; + /** The javascript `Date` as string. Type represents date and time as the ISO Date string. */ + DateTime: any; +}; + +export type Mutation = { + __typename?: 'Mutation'; + addRecipe: Recipe; +}; + + +export type MutationAddRecipeArgs = { + recipe: RecipeInput; +}; + +export type Query = { + __typename?: 'Query'; + recipe?: Maybe; + /** Get all the recipes from around the world */ + recipes: Array; +}; + + +export type QueryRecipeArgs = { + title: Scalars['String']; +}; + +/** Object representing cooking recipe */ +export type Recipe = { + __typename?: 'Recipe'; + averageRating?: Maybe; + creationDate: Scalars['DateTime']; + /** The recipe description with preparation info */ + description?: Maybe; + ratings: Array; + ratingsCount: Scalars['Int']; + /** @deprecated Use `description` field instead */ + specification?: Maybe; + title: Scalars['String']; +}; + + +/** Object representing cooking recipe */ +export type RecipeRatingsCountArgs = { + minRate?: InputMaybe; +}; + +export type RecipeInput = { + description?: InputMaybe; + title: Scalars['String']; +}; + +export type RecipesQueryVariables = Exact<{ [key: string]: never; }>; + + +export type RecipesQuery = { __typename?: 'Query', recipes: Array<{ __typename?: 'Recipe', title: string, ratings: Array, averageRating?: number | null, ratingsCount: number, description?: string | null, creationDate: any }> }; + + +export const RecipesDocument = gql` + query recipes { + recipes { + title + ratings + averageRating + ratingsCount + description + creationDate + } +} + `; + +/** + * __useRecipesQuery__ + * + * To run a query within a React component, call `useRecipesQuery` and pass it any options that fit your needs. + * When your component renders, `useRecipesQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useRecipesQuery({ + * variables: { + * }, + * }); + */ +export function useRecipesQuery(baseOptions?: Apollo.QueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(RecipesDocument, options); + } +export function useRecipesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(RecipesDocument, options); + } +export type RecipesQueryHookResult = ReturnType; +export type RecipesLazyQueryHookResult = ReturnType; +export type RecipesQueryResult = Apollo.QueryResult; \ No newline at end of file diff --git a/packages/vite-apollo-gcg-starter/src/generated/schema.ts b/packages/vite-apollo-gcg-starter/src/generated/schema.ts new file mode 100644 index 0000000..dc233a9 --- /dev/null +++ b/packages/vite-apollo-gcg-starter/src/generated/schema.ts @@ -0,0 +1,238 @@ +import { GraphQLResolveInfo, GraphQLScalarType, GraphQLScalarTypeConfig } from 'graphql'; +import { gql } from '@apollo/client'; +import * as Apollo from '@apollo/client'; +export type Maybe = T | null; +export type InputMaybe = Maybe; +export type Exact = { [K in keyof T]: T[K] }; +export type MakeOptional = Omit & { [SubKey in K]?: Maybe }; +export type MakeMaybe = Omit & { [SubKey in K]: Maybe }; +export type RequireFields = { [X in Exclude]?: T[X] } & { [P in K]-?: NonNullable }; +const defaultOptions = {} as const; +/** All built-in and custom scalars, mapped to their actual values */ +export type Scalars = { + ID: string; + String: string; + Boolean: boolean; + Int: number; + Float: number; + /** The javascript `Date` as string. Type represents date and time as the ISO Date string. */ + DateTime: any; +}; + +export type Mutation = { + __typename?: 'Mutation'; + addRecipe: Recipe; +}; + + +export type MutationAddRecipeArgs = { + recipe: RecipeInput; +}; + +export type Query = { + __typename?: 'Query'; + recipe?: Maybe; + /** Get all the recipes from around the world */ + recipes: Array; +}; + + +export type QueryRecipeArgs = { + title: Scalars['String']; +}; + +/** Object representing cooking recipe */ +export type Recipe = { + __typename?: 'Recipe'; + averageRating?: Maybe; + creationDate: Scalars['DateTime']; + /** The recipe description with preparation info */ + description?: Maybe; + ratings: Array; + ratingsCount: Scalars['Int']; + /** @deprecated Use `description` field instead */ + specification?: Maybe; + title: Scalars['String']; +}; + + +/** Object representing cooking recipe */ +export type RecipeRatingsCountArgs = { + minRate?: InputMaybe; +}; + +export type RecipeInput = { + description?: InputMaybe; + title: Scalars['String']; +}; + +export type RecipesQueryVariables = Exact<{ [key: string]: never; }>; + + +export type RecipesQuery = { __typename?: 'Query', recipes: Array<{ __typename?: 'Recipe', title: string, ratings: Array, averageRating?: number | null, ratingsCount: number, description?: string | null, creationDate: any }> }; + + + +export type ResolverTypeWrapper = Promise | T; + + +export type ResolverWithResolve = { + resolve: ResolverFn; +}; +export type Resolver = ResolverFn | ResolverWithResolve; + +export type ResolverFn = ( + parent: TParent, + args: TArgs, + context: TContext, + info: GraphQLResolveInfo +) => Promise | TResult; + +export type SubscriptionSubscribeFn = ( + parent: TParent, + args: TArgs, + context: TContext, + info: GraphQLResolveInfo +) => AsyncIterable | Promise>; + +export type SubscriptionResolveFn = ( + parent: TParent, + args: TArgs, + context: TContext, + info: GraphQLResolveInfo +) => TResult | Promise; + +export interface SubscriptionSubscriberObject { + subscribe: SubscriptionSubscribeFn<{ [key in TKey]: TResult }, TParent, TContext, TArgs>; + resolve?: SubscriptionResolveFn; +} + +export interface SubscriptionResolverObject { + subscribe: SubscriptionSubscribeFn; + resolve: SubscriptionResolveFn; +} + +export type SubscriptionObject = + | SubscriptionSubscriberObject + | SubscriptionResolverObject; + +export type SubscriptionResolver = + | ((...args: any[]) => SubscriptionObject) + | SubscriptionObject; + +export type TypeResolveFn = ( + parent: TParent, + context: TContext, + info: GraphQLResolveInfo +) => Maybe | Promise>; + +export type IsTypeOfResolverFn = (obj: T, context: TContext, info: GraphQLResolveInfo) => boolean | Promise; + +export type NextResolverFn = () => Promise; + +export type DirectiveResolverFn = ( + next: NextResolverFn, + parent: TParent, + args: TArgs, + context: TContext, + info: GraphQLResolveInfo +) => TResult | Promise; + +/** Mapping between all available schema types and the resolvers types */ +export type ResolversTypes = { + Boolean: ResolverTypeWrapper; + DateTime: ResolverTypeWrapper; + Float: ResolverTypeWrapper; + Int: ResolverTypeWrapper; + Mutation: ResolverTypeWrapper<{}>; + Query: ResolverTypeWrapper<{}>; + Recipe: ResolverTypeWrapper; + RecipeInput: RecipeInput; + String: ResolverTypeWrapper; +}; + +/** Mapping between all available schema types and the resolvers parents */ +export type ResolversParentTypes = { + Boolean: Scalars['Boolean']; + DateTime: Scalars['DateTime']; + Float: Scalars['Float']; + Int: Scalars['Int']; + Mutation: {}; + Query: {}; + Recipe: Recipe; + RecipeInput: RecipeInput; + String: Scalars['String']; +}; + +export interface DateTimeScalarConfig extends GraphQLScalarTypeConfig { + name: 'DateTime'; +} + +export type MutationResolvers = { + addRecipe?: Resolver>; +}; + +export type QueryResolvers = { + recipe?: Resolver, ParentType, ContextType, RequireFields>; + recipes?: Resolver, ParentType, ContextType>; +}; + +export type RecipeResolvers = { + averageRating?: Resolver, ParentType, ContextType>; + creationDate?: Resolver; + description?: Resolver, ParentType, ContextType>; + ratings?: Resolver, ParentType, ContextType>; + ratingsCount?: Resolver>; + specification?: Resolver, ParentType, ContextType>; + title?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type Resolvers = { + DateTime?: GraphQLScalarType; + Mutation?: MutationResolvers; + Query?: QueryResolvers; + Recipe?: RecipeResolvers; +}; + + + +export const RecipesDocument = gql` + query recipes { + recipes { + title + ratings + averageRating + ratingsCount + description + creationDate + } +} + `; + +/** + * __useRecipesQuery__ + * + * To run a query within a React component, call `useRecipesQuery` and pass it any options that fit your needs. + * When your component renders, `useRecipesQuery` returns an object from Apollo Client that contains loading, error, and data properties + * you can use to render your UI. + * + * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options; + * + * @example + * const { data, loading, error } = useRecipesQuery({ + * variables: { + * }, + * }); + */ +export function useRecipesQuery(baseOptions?: Apollo.QueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useQuery(RecipesDocument, options); + } +export function useRecipesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions) { + const options = {...defaultOptions, ...baseOptions} + return Apollo.useLazyQuery(RecipesDocument, options); + } +export type RecipesQueryHookResult = ReturnType; +export type RecipesLazyQueryHookResult = ReturnType; +export type RecipesQueryResult = Apollo.QueryResult; \ No newline at end of file diff --git a/packages/vite-apollo-gcg-starter/src/hooks/operations.tsx b/packages/vite-apollo-gcg-starter/src/hooks/operations.tsx new file mode 100644 index 0000000..33ef0fd --- /dev/null +++ b/packages/vite-apollo-gcg-starter/src/hooks/operations.tsx @@ -0,0 +1 @@ +export { useRecipesQuery } from '../generated/react-apollo'; diff --git a/packages/vite-apollo-gcg-starter/src/index.css b/packages/vite-apollo-gcg-starter/src/index.css new file mode 100644 index 0000000..ec2585e --- /dev/null +++ b/packages/vite-apollo-gcg-starter/src/index.css @@ -0,0 +1,13 @@ +body { + margin: 0; + font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', + 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', + sans-serif; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +code { + font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', + monospace; +} diff --git a/packages/vite-apollo-gcg-starter/src/introspection.json b/packages/vite-apollo-gcg-starter/src/introspection.json new file mode 100644 index 0000000..119e653 --- /dev/null +++ b/packages/vite-apollo-gcg-starter/src/introspection.json @@ -0,0 +1,8173 @@ +{ + "__schema": { + "queryType": { + "name": "Query" + }, + "mutationType": { + "name": "Mutation" + }, + "subscriptionType": null, + "types": [ + { + "kind": "OBJECT", + "name": "Blog", + "description": null, + "fields": [ + { + "name": "Body", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "Date", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Date", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PostType", + "description": null, + "args": [], + "type": { + "kind": "ENUM", + "name": "ENUM_BLOG_POSTTYPE", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "Title", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "createdAt", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "publishedAt", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updatedAt", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "BlogEntity", + "description": null, + "fields": [ + { + "name": "attributes", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "Blog", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "BlogEntityResponse", + "description": null, + "fields": [ + { + "name": "data", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "BlogEntity", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "BlogEntityResponseCollection", + "description": null, + "fields": [ + { + "name": "data", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "BlogEntity", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "meta", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ResponseCollectionMeta", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "BlogFiltersInput", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "Body", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "StringFilterInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "Date", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "DateFilterInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PostType", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "StringFilterInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "Title", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "StringFilterInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "and", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlogFiltersInput", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "createdAt", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "DateTimeFilterInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "IDFilterInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "not", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "BlogFiltersInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "or", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlogFiltersInput", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "publishedAt", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "DateTimeFilterInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updatedAt", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "DateTimeFilterInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "BlogInput", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "Body", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "Date", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Date", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PostType", + "description": null, + "type": { + "kind": "ENUM", + "name": "ENUM_BLOG_POSTTYPE", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "Title", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "publishedAt", + "description": null, + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "SCALAR", + "name": "Boolean", + "description": "The `Boolean` scalar type represents `true` or `false`.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "BooleanFilterInput", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "and", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "between", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "contains", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "containsi", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "endsWith", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "eq", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "gt", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "gte", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "in", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lt", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lte", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ne", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "not", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "BooleanFilterInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "notContains", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "notContainsi", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "notIn", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "notNull", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "null", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "or", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "startsWith", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "SCALAR", + "name": "Date", + "description": "A date string, such as 2007-12-03, compliant with the `full-date` format outlined in section 5.6 of the RFC 3339 profile of the ISO 8601 standard for representation of dates and times using the Gregorian calendar.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "DateFilterInput", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "and", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Date", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "between", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Date", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "contains", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Date", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "containsi", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Date", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "endsWith", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Date", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "eq", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Date", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "gt", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Date", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "gte", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Date", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "in", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Date", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lt", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Date", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lte", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Date", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ne", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Date", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "not", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "DateFilterInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "notContains", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Date", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "notContainsi", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Date", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "notIn", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Date", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "notNull", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "null", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "or", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Date", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "startsWith", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Date", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "SCALAR", + "name": "DateTime", + "description": "A date-time string at UTC, such as 2007-12-03T10:15:30Z, compliant with the `date-time` format outlined in section 5.6 of the RFC 3339 profile of the ISO 8601 standard for representation of dates and times using the Gregorian calendar.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "DateTimeFilterInput", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "and", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "between", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "contains", + "description": null, + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "containsi", + "description": null, + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "endsWith", + "description": null, + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "eq", + "description": null, + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "gt", + "description": null, + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "gte", + "description": null, + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "in", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lt", + "description": null, + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lte", + "description": null, + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ne", + "description": null, + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "not", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "DateTimeFilterInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "notContains", + "description": null, + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "notContainsi", + "description": null, + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "notIn", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "notNull", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "null", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "or", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "startsWith", + "description": null, + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "ENUM_BLOG_POSTTYPE", + "description": null, + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "Explore", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "Note", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "Sample", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "Source", + "description": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ExtraType", + "description": null, + "fields": [ + { + "name": "name", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "FileInfoInput", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "alternativeText", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "caption", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "SCALAR", + "name": "Float", + "description": "The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "FloatFilterInput", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "and", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "between", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "contains", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "containsi", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "endsWith", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "eq", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "gt", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "gte", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "in", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lt", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lte", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ne", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "not", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "FloatFilterInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "notContains", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "notContainsi", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "notIn", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "notNull", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "null", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "or", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "startsWith", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "UNION", + "name": "GenericMorph", + "description": null, + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": [ + { + "kind": "OBJECT", + "name": "Blog", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "I18NLocale", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "UploadFile", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "UsersPermissionsPermission", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "UsersPermissionsRole", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "UsersPermissionsUser", + "ofType": null + } + ] + }, + { + "kind": "OBJECT", + "name": "I18NLocale", + "description": null, + "fields": [ + { + "name": "code", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "createdAt", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updatedAt", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "I18NLocaleEntity", + "description": null, + "fields": [ + { + "name": "attributes", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "I18NLocale", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "I18NLocaleEntityResponse", + "description": null, + "fields": [ + { + "name": "data", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "I18NLocaleEntity", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "I18NLocaleEntityResponseCollection", + "description": null, + "fields": [ + { + "name": "data", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "I18NLocaleEntity", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "meta", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ResponseCollectionMeta", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "I18NLocaleFiltersInput", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "and", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "I18NLocaleFiltersInput", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "code", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "StringFilterInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "createdAt", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "DateTimeFilterInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "IDFilterInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "StringFilterInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "not", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "I18NLocaleFiltersInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "or", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "I18NLocaleFiltersInput", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updatedAt", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "DateTimeFilterInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "SCALAR", + "name": "ID", + "description": "The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `\"4\"`) or integer (such as `4`) input value will be accepted as an ID.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "IDFilterInput", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "and", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "between", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "contains", + "description": null, + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "containsi", + "description": null, + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "endsWith", + "description": null, + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "eq", + "description": null, + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "gt", + "description": null, + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "gte", + "description": null, + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "in", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lt", + "description": null, + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lte", + "description": null, + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ne", + "description": null, + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "not", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "IDFilterInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "notContains", + "description": null, + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "notContainsi", + "description": null, + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "notIn", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "notNull", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "null", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "or", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "startsWith", + "description": null, + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "SCALAR", + "name": "Int", + "description": "The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "IntFilterInput", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "and", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "between", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "contains", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "containsi", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "endsWith", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "eq", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "gt", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "gte", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "in", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lt", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lte", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ne", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "not", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "IntFilterInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "notContains", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "notContainsi", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "notIn", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "notNull", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "null", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "or", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "startsWith", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "SCALAR", + "name": "JSON", + "description": "The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf).", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "JSONFilterInput", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "and", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "JSON", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "between", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "JSON", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "contains", + "description": null, + "type": { + "kind": "SCALAR", + "name": "JSON", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "containsi", + "description": null, + "type": { + "kind": "SCALAR", + "name": "JSON", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "endsWith", + "description": null, + "type": { + "kind": "SCALAR", + "name": "JSON", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "eq", + "description": null, + "type": { + "kind": "SCALAR", + "name": "JSON", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "gt", + "description": null, + "type": { + "kind": "SCALAR", + "name": "JSON", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "gte", + "description": null, + "type": { + "kind": "SCALAR", + "name": "JSON", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "in", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "JSON", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lt", + "description": null, + "type": { + "kind": "SCALAR", + "name": "JSON", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lte", + "description": null, + "type": { + "kind": "SCALAR", + "name": "JSON", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ne", + "description": null, + "type": { + "kind": "SCALAR", + "name": "JSON", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "not", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "JSONFilterInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "notContains", + "description": null, + "type": { + "kind": "SCALAR", + "name": "JSON", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "notContainsi", + "description": null, + "type": { + "kind": "SCALAR", + "name": "JSON", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "notIn", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "JSON", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "notNull", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "null", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "or", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "JSON", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "startsWith", + "description": null, + "type": { + "kind": "SCALAR", + "name": "JSON", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "Mutation", + "description": null, + "fields": [ + { + "name": "createBlog", + "description": null, + "args": [ + { + "name": "data", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlogInput", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "BlogEntityResponse", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "createUploadFile", + "description": null, + "args": [ + { + "name": "data", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "UploadFileInput", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "UploadFileEntityResponse", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "createUsersPermissionsRole", + "description": "Create a new role", + "args": [ + { + "name": "data", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "UsersPermissionsRoleInput", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "UsersPermissionsCreateRolePayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "createUsersPermissionsUser", + "description": "Create a new user", + "args": [ + { + "name": "data", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "UsersPermissionsUserInput", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UsersPermissionsUserEntityResponse", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "deleteBlog", + "description": null, + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "BlogEntityResponse", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "deleteUploadFile", + "description": null, + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "UploadFileEntityResponse", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "deleteUsersPermissionsRole", + "description": "Delete an existing role", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "UsersPermissionsDeleteRolePayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "deleteUsersPermissionsUser", + "description": "Update an existing user", + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UsersPermissionsUserEntityResponse", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "emailConfirmation", + "description": "Confirm an email users email address", + "args": [ + { + "name": "confirmation", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "UsersPermissionsLoginPayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "forgotPassword", + "description": "Request a reset password token", + "args": [ + { + "name": "email", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "UsersPermissionsPasswordPayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "login", + "description": null, + "args": [ + { + "name": "input", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "UsersPermissionsLoginInput", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UsersPermissionsLoginPayload", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "multipleUpload", + "description": null, + "args": [ + { + "name": "field", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "files", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Upload", + "ofType": null + } + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ref", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "refId", + "description": null, + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UploadFileEntityResponse", + "ofType": null + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "register", + "description": "Register a user", + "args": [ + { + "name": "input", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "UsersPermissionsRegisterInput", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UsersPermissionsLoginPayload", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "removeFile", + "description": null, + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "UploadFileEntityResponse", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "resetPassword", + "description": "Reset user password. Confirm with a code (resetToken from forgotPassword)", + "args": [ + { + "name": "code", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "password", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "passwordConfirmation", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "UsersPermissionsLoginPayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updateBlog", + "description": null, + "args": [ + { + "name": "data", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "BlogInput", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "BlogEntityResponse", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updateFileInfo", + "description": null, + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "info", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "FileInfoInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UploadFileEntityResponse", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updateUploadFile", + "description": null, + "args": [ + { + "name": "data", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "UploadFileInput", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "UploadFileEntityResponse", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updateUsersPermissionsRole", + "description": "Update an existing role", + "args": [ + { + "name": "data", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "UsersPermissionsRoleInput", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "UsersPermissionsUpdateRolePayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updateUsersPermissionsUser", + "description": "Update an existing user", + "args": [ + { + "name": "data", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "UsersPermissionsUserInput", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UsersPermissionsUserEntityResponse", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "upload", + "description": null, + "args": [ + { + "name": "field", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "file", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Upload", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "info", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "FileInfoInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ref", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "refId", + "description": null, + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UploadFileEntityResponse", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "Pagination", + "description": null, + "fields": [ + { + "name": "page", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "pageCount", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "pageSize", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "total", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "PaginationArg", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "limit", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "page", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "pageSize", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "start", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "PublicationState", + "description": null, + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "LIVE", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "PREVIEW", + "description": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "Query", + "description": null, + "fields": [ + { + "name": "blog", + "description": null, + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "BlogEntityResponse", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "blogs", + "description": null, + "args": [ + { + "name": "filters", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "BlogFiltersInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "pagination", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "PaginationArg", + "ofType": null + }, + "defaultValue": "{}", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "publicationState", + "description": null, + "type": { + "kind": "ENUM", + "name": "PublicationState", + "ofType": null + }, + "defaultValue": "LIVE", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sort", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "defaultValue": "[]", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "BlogEntityResponseCollection", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "extra", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "ExtraType", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "i18NLocale", + "description": null, + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "I18NLocaleEntityResponse", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "i18NLocales", + "description": null, + "args": [ + { + "name": "filters", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "I18NLocaleFiltersInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "pagination", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "PaginationArg", + "ofType": null + }, + "defaultValue": "{}", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sort", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "defaultValue": "[]", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "I18NLocaleEntityResponseCollection", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "me", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "UsersPermissionsMe", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "uploadFile", + "description": null, + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "UploadFileEntityResponse", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "uploadFiles", + "description": null, + "args": [ + { + "name": "filters", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "UploadFileFiltersInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "pagination", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "PaginationArg", + "ofType": null + }, + "defaultValue": "{}", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sort", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "defaultValue": "[]", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "UploadFileEntityResponseCollection", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "usersPermissionsRole", + "description": null, + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "UsersPermissionsRoleEntityResponse", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "usersPermissionsRoles", + "description": null, + "args": [ + { + "name": "filters", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "UsersPermissionsRoleFiltersInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "pagination", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "PaginationArg", + "ofType": null + }, + "defaultValue": "{}", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sort", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "defaultValue": "[]", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "UsersPermissionsRoleEntityResponseCollection", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "usersPermissionsUser", + "description": null, + "args": [ + { + "name": "id", + "description": null, + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "UsersPermissionsUserEntityResponse", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "usersPermissionsUsers", + "description": null, + "args": [ + { + "name": "filters", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "UsersPermissionsUserFiltersInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "pagination", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "PaginationArg", + "ofType": null + }, + "defaultValue": "{}", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sort", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "defaultValue": "[]", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "UsersPermissionsUserEntityResponseCollection", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "ResponseCollectionMeta", + "description": null, + "fields": [ + { + "name": "pagination", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Pagination", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "SCALAR", + "name": "String", + "description": "The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "StringFilterInput", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "and", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "between", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "contains", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "containsi", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "endsWith", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "eq", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "gt", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "gte", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "in", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lt", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lte", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ne", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "not", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "StringFilterInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "notContains", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "notContainsi", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "notIn", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "notNull", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "null", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "or", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "startsWith", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "SCALAR", + "name": "Upload", + "description": "The `Upload` scalar type represents a file upload.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "UploadFile", + "description": null, + "fields": [ + { + "name": "alternativeText", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "caption", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "createdAt", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ext", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "formats", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "JSON", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "hash", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "height", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "mime", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "previewUrl", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "provider", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "provider_metadata", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "JSON", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "related", + "description": null, + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "UNION", + "name": "GenericMorph", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "size", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updatedAt", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "url", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "width", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "UploadFileEntity", + "description": null, + "fields": [ + { + "name": "attributes", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "UploadFile", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "UploadFileEntityResponse", + "description": null, + "fields": [ + { + "name": "data", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "UploadFileEntity", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "UploadFileEntityResponseCollection", + "description": null, + "fields": [ + { + "name": "data", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UploadFileEntity", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "meta", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ResponseCollectionMeta", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "UploadFileFiltersInput", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "alternativeText", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "StringFilterInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "and", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "UploadFileFiltersInput", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "caption", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "StringFilterInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "createdAt", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "DateTimeFilterInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ext", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "StringFilterInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "formats", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "JSONFilterInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "hash", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "StringFilterInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "height", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "IntFilterInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "IDFilterInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "mime", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "StringFilterInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "StringFilterInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "not", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "UploadFileFiltersInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "or", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "UploadFileFiltersInput", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "previewUrl", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "StringFilterInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "provider", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "StringFilterInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "provider_metadata", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "JSONFilterInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "size", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "FloatFilterInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updatedAt", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "DateTimeFilterInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "url", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "StringFilterInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "width", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "IntFilterInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "UploadFileInput", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "alternativeText", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "caption", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ext", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "formats", + "description": null, + "type": { + "kind": "SCALAR", + "name": "JSON", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "hash", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "height", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "mime", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "previewUrl", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "provider", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "provider_metadata", + "description": null, + "type": { + "kind": "SCALAR", + "name": "JSON", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "size", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "url", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "width", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "UsersPermissionsCreateRolePayload", + "description": null, + "fields": [ + { + "name": "ok", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "UsersPermissionsDeleteRolePayload", + "description": null, + "fields": [ + { + "name": "ok", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "UsersPermissionsLoginInput", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "identifier", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "password", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "provider", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "defaultValue": "\"local\"", + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "UsersPermissionsLoginPayload", + "description": null, + "fields": [ + { + "name": "jwt", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "user", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UsersPermissionsMe", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "UsersPermissionsMe", + "description": null, + "fields": [ + { + "name": "blocked", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "confirmed", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "email", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "role", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "UsersPermissionsMeRole", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "username", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "UsersPermissionsMeRole", + "description": null, + "fields": [ + { + "name": "description", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "type", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "UsersPermissionsPasswordPayload", + "description": null, + "fields": [ + { + "name": "ok", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "UsersPermissionsPermission", + "description": null, + "fields": [ + { + "name": "action", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "createdAt", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "role", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "UsersPermissionsRoleEntityResponse", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updatedAt", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "UsersPermissionsPermissionEntity", + "description": null, + "fields": [ + { + "name": "attributes", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "UsersPermissionsPermission", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "UsersPermissionsPermissionFiltersInput", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "action", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "StringFilterInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "and", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "UsersPermissionsPermissionFiltersInput", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "createdAt", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "DateTimeFilterInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "IDFilterInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "not", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "UsersPermissionsPermissionFiltersInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "or", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "UsersPermissionsPermissionFiltersInput", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "role", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "UsersPermissionsRoleFiltersInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updatedAt", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "DateTimeFilterInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "UsersPermissionsPermissionRelationResponseCollection", + "description": null, + "fields": [ + { + "name": "data", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UsersPermissionsPermissionEntity", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "UsersPermissionsRegisterInput", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "email", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "password", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "username", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "UsersPermissionsRole", + "description": null, + "fields": [ + { + "name": "createdAt", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "description", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "permissions", + "description": null, + "args": [ + { + "name": "filters", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "UsersPermissionsPermissionFiltersInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "pagination", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "PaginationArg", + "ofType": null + }, + "defaultValue": "{}", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sort", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "defaultValue": "[]", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "UsersPermissionsPermissionRelationResponseCollection", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "type", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updatedAt", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "users", + "description": null, + "args": [ + { + "name": "filters", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "UsersPermissionsUserFiltersInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "pagination", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "PaginationArg", + "ofType": null + }, + "defaultValue": "{}", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sort", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "defaultValue": "[]", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "UsersPermissionsUserRelationResponseCollection", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "UsersPermissionsRoleEntity", + "description": null, + "fields": [ + { + "name": "attributes", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "UsersPermissionsRole", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "UsersPermissionsRoleEntityResponse", + "description": null, + "fields": [ + { + "name": "data", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "UsersPermissionsRoleEntity", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "UsersPermissionsRoleEntityResponseCollection", + "description": null, + "fields": [ + { + "name": "data", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UsersPermissionsRoleEntity", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "meta", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ResponseCollectionMeta", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "UsersPermissionsRoleFiltersInput", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "and", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "UsersPermissionsRoleFiltersInput", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "createdAt", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "DateTimeFilterInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "description", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "StringFilterInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "IDFilterInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "StringFilterInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "not", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "UsersPermissionsRoleFiltersInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "or", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "UsersPermissionsRoleFiltersInput", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "permissions", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "UsersPermissionsPermissionFiltersInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "type", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "StringFilterInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updatedAt", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "DateTimeFilterInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "users", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "UsersPermissionsUserFiltersInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "UsersPermissionsRoleInput", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "description", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "permissions", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "type", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "users", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "UsersPermissionsUpdateRolePayload", + "description": null, + "fields": [ + { + "name": "ok", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "UsersPermissionsUser", + "description": null, + "fields": [ + { + "name": "blocked", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "confirmed", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "createdAt", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "email", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "provider", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "role", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "UsersPermissionsRoleEntityResponse", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updatedAt", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "username", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "UsersPermissionsUserEntity", + "description": null, + "fields": [ + { + "name": "attributes", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "UsersPermissionsUser", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "UsersPermissionsUserEntityResponse", + "description": null, + "fields": [ + { + "name": "data", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "UsersPermissionsUserEntity", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "UsersPermissionsUserEntityResponseCollection", + "description": null, + "fields": [ + { + "name": "data", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UsersPermissionsUserEntity", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "meta", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "ResponseCollectionMeta", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "UsersPermissionsUserFiltersInput", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "and", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "UsersPermissionsUserFiltersInput", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "blocked", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "BooleanFilterInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "confirmationToken", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "StringFilterInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "confirmed", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "BooleanFilterInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "createdAt", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "DateTimeFilterInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "email", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "StringFilterInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "IDFilterInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "not", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "UsersPermissionsUserFiltersInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "or", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "UsersPermissionsUserFiltersInput", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "password", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "StringFilterInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "provider", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "StringFilterInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "resetPasswordToken", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "StringFilterInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "role", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "UsersPermissionsRoleFiltersInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "updatedAt", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "DateTimeFilterInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "username", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "StringFilterInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "UsersPermissionsUserInput", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "blocked", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "confirmationToken", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "confirmed", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "email", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "password", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "provider", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "resetPasswordToken", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "role", + "description": null, + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "username", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "UsersPermissionsUserRelationResponseCollection", + "description": null, + "fields": [ + { + "name": "data", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UsersPermissionsUserEntity", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "__Directive", + "description": "A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.\n\nIn some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.", + "fields": [ + { + "name": "name", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "description", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "isRepeatable", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "locations", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "__DirectiveLocation", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "args", + "description": null, + "args": [ + { + "name": "includeDeprecated", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "__InputValue", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "__DirectiveLocation", + "description": "A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "QUERY", + "description": "Location adjacent to a query operation.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MUTATION", + "description": "Location adjacent to a mutation operation.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SUBSCRIPTION", + "description": "Location adjacent to a subscription operation.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "FIELD", + "description": "Location adjacent to a field.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "FRAGMENT_DEFINITION", + "description": "Location adjacent to a fragment definition.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "FRAGMENT_SPREAD", + "description": "Location adjacent to a fragment spread.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INLINE_FRAGMENT", + "description": "Location adjacent to an inline fragment.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "VARIABLE_DEFINITION", + "description": "Location adjacent to a variable definition.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SCHEMA", + "description": "Location adjacent to a schema definition.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "SCALAR", + "description": "Location adjacent to a scalar definition.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "OBJECT", + "description": "Location adjacent to an object type definition.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "FIELD_DEFINITION", + "description": "Location adjacent to a field definition.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ARGUMENT_DEFINITION", + "description": "Location adjacent to an argument definition.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INTERFACE", + "description": "Location adjacent to an interface definition.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UNION", + "description": "Location adjacent to a union definition.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ENUM", + "description": "Location adjacent to an enum definition.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ENUM_VALUE", + "description": "Location adjacent to an enum value definition.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INPUT_OBJECT", + "description": "Location adjacent to an input object type definition.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INPUT_FIELD_DEFINITION", + "description": "Location adjacent to an input object field definition.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "__EnumValue", + "description": "One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.", + "fields": [ + { + "name": "name", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "description", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "isDeprecated", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "deprecationReason", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "__Field", + "description": "Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.", + "fields": [ + { + "name": "name", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "description", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "args", + "description": null, + "args": [ + { + "name": "includeDeprecated", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "__InputValue", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "type", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "__Type", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "isDeprecated", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "deprecationReason", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "__InputValue", + "description": "Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.", + "fields": [ + { + "name": "name", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "description", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "type", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "__Type", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "defaultValue", + "description": "A GraphQL-formatted string representing the default value for this input value.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "isDeprecated", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "deprecationReason", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "__Schema", + "description": "A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.", + "fields": [ + { + "name": "description", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "types", + "description": "A list of all types supported by this server.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "__Type", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "queryType", + "description": "The type that query operations will be rooted at.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "__Type", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "mutationType", + "description": "If this server supports mutation, the type that mutation operations will be rooted at.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "__Type", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "subscriptionType", + "description": "If this server support subscription, the type that subscription operations will be rooted at.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "__Type", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "directives", + "description": "A list of all directives supported by this server.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "__Directive", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "__Type", + "description": "The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name, description and optional `specifiedByURL`, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.", + "fields": [ + { + "name": "kind", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "__TypeKind", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "description", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "specifiedByURL", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "fields", + "description": null, + "args": [ + { + "name": "includeDeprecated", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "__Field", + "ofType": null + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "interfaces", + "description": null, + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "__Type", + "ofType": null + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "possibleTypes", + "description": null, + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "__Type", + "ofType": null + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "enumValues", + "description": null, + "args": [ + { + "name": "includeDeprecated", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "__EnumValue", + "ofType": null + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "inputFields", + "description": null, + "args": [ + { + "name": "includeDeprecated", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "__InputValue", + "ofType": null + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ofType", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "__Type", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "__TypeKind", + "description": "An enum describing what kind of type a given `__Type` is.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "SCALAR", + "description": "Indicates this type is a scalar.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "OBJECT", + "description": "Indicates this type is an object. `fields` and `interfaces` are valid fields.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INTERFACE", + "description": "Indicates this type is an interface. `fields`, `interfaces`, and `possibleTypes` are valid fields.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "UNION", + "description": "Indicates this type is a union. `possibleTypes` is a valid field.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ENUM", + "description": "Indicates this type is an enum. `enumValues` is a valid field.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INPUT_OBJECT", + "description": "Indicates this type is an input object. `inputFields` is a valid field.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "LIST", + "description": "Indicates this type is a list. `ofType` is a valid field.", + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "NON_NULL", + "description": "Indicates this type is a non-null. `ofType` is a valid field.", + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + } + ], + "directives": [ + { + "name": "deprecated", + "description": "Marks an element of a GraphQL schema as no longer supported.", + "isRepeatable": false, + "locations": [ + "ARGUMENT_DEFINITION", + "ENUM_VALUE", + "FIELD_DEFINITION", + "INPUT_FIELD_DEFINITION" + ], + "args": [ + { + "name": "reason", + "description": "Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax, as specified by [CommonMark](https://commonmark.org/).", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": "\"No longer supported\"", + "isDeprecated": false, + "deprecationReason": null + } + ] + }, + { + "name": "include", + "description": "Directs the executor to include this field or fragment only when the `if` argument is true.", + "isRepeatable": false, + "locations": [ + "FIELD", + "FRAGMENT_SPREAD", + "INLINE_FRAGMENT" + ], + "args": [ + { + "name": "if", + "description": "Included when true.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ] + }, + { + "name": "skip", + "description": "Directs the executor to skip this field or fragment when the `if` argument is true.", + "isRepeatable": false, + "locations": [ + "FIELD", + "FRAGMENT_SPREAD", + "INLINE_FRAGMENT" + ], + "args": [ + { + "name": "if", + "description": "Skipped when true.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ] + }, + { + "name": "specifiedBy", + "description": "Exposes a URL that specifies the behavior of this scalar.", + "isRepeatable": false, + "locations": [ + "SCALAR" + ], + "args": [ + { + "name": "url", + "description": "The URL that specifies the behavior of this scalar.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ] + } + ] + } +} \ No newline at end of file diff --git a/packages/vite-apollo-gcg-starter/src/logo.svg b/packages/vite-apollo-gcg-starter/src/logo.svg new file mode 100644 index 0000000..6b60c10 --- /dev/null +++ b/packages/vite-apollo-gcg-starter/src/logo.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/packages/vite-apollo-gcg-starter/src/main.tsx b/packages/vite-apollo-gcg-starter/src/main.tsx new file mode 100644 index 0000000..8ff08a7 --- /dev/null +++ b/packages/vite-apollo-gcg-starter/src/main.tsx @@ -0,0 +1,15 @@ +import React from 'react'; +import ReactDOM from 'react-dom'; +import { ApolloProvider } from '@apollo/client'; +import { client } from './apollo/client'; +import './index.css'; +import App from './App'; + +ReactDOM.render( + + + + + , + document.getElementById('root') +); diff --git a/packages/vite-apollo-gcg-starter/src/operations/recipe.query.graphql b/packages/vite-apollo-gcg-starter/src/operations/recipe.query.graphql new file mode 100644 index 0000000..54a9c46 --- /dev/null +++ b/packages/vite-apollo-gcg-starter/src/operations/recipe.query.graphql @@ -0,0 +1,10 @@ +query recipes { + recipes { + title + ratings + averageRating + ratingsCount + description + creationDate + } +} diff --git a/packages/vite-apollo-gcg-starter/src/schema.ts b/packages/vite-apollo-gcg-starter/src/schema.ts new file mode 100644 index 0000000..8a7358c --- /dev/null +++ b/packages/vite-apollo-gcg-starter/src/schema.ts @@ -0,0 +1,859 @@ +export type Maybe = T | null; +export type InputMaybe = Maybe; +export type Exact = { [K in keyof T]: T[K] }; +export type MakeOptional = Omit & { [SubKey in K]?: Maybe }; +export type MakeMaybe = Omit & { [SubKey in K]: Maybe }; +/** All built-in and custom scalars, mapped to their actual values */ +export interface Scalars { + ID: string; + String: string; + Boolean: boolean; + Int: number; + Float: number; + /** A date string, such as 2007-12-03, compliant with the `full-date` format outlined in section 5.6 of the RFC 3339 profile of the ISO 8601 standard for representation of dates and times using the Gregorian calendar. */ + Date: any; + /** A date-time string at UTC, such as 2007-12-03T10:15:30Z, compliant with the `date-time` format outlined in section 5.6 of the RFC 3339 profile of the ISO 8601 standard for representation of dates and times using the Gregorian calendar. */ + DateTime: any; + /** The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf). */ + JSON: any; + /** The `Upload` scalar type represents a file upload. */ + Upload: any; +} + +export interface Blog { + readonly __typename?: 'Blog'; + readonly Body?: Maybe; + readonly Date?: Maybe; + readonly PostType?: Maybe; + readonly Title?: Maybe; + readonly createdAt?: Maybe; + readonly publishedAt?: Maybe; + readonly updatedAt?: Maybe; +} + +export interface BlogEntity { + readonly __typename?: 'BlogEntity'; + readonly attributes?: Maybe; + readonly id?: Maybe; +} + +export interface BlogEntityResponse { + readonly __typename?: 'BlogEntityResponse'; + readonly data?: Maybe; +} + +export interface BlogEntityResponseCollection { + readonly __typename?: 'BlogEntityResponseCollection'; + readonly data: ReadonlyArray; + readonly meta: ResponseCollectionMeta; +} + +export interface BlogFiltersInput { + readonly Body?: InputMaybe; + readonly Date?: InputMaybe; + readonly PostType?: InputMaybe; + readonly Title?: InputMaybe; + readonly and?: InputMaybe>>; + readonly createdAt?: InputMaybe; + readonly id?: InputMaybe; + readonly not?: InputMaybe; + readonly or?: InputMaybe>>; + readonly publishedAt?: InputMaybe; + readonly updatedAt?: InputMaybe; +} + +export interface BlogInput { + readonly Body?: InputMaybe; + readonly Date?: InputMaybe; + readonly PostType?: InputMaybe; + readonly Title?: InputMaybe; + readonly publishedAt?: InputMaybe; +} + +export interface BooleanFilterInput { + readonly and?: InputMaybe>>; + readonly between?: InputMaybe>>; + readonly contains?: InputMaybe; + readonly containsi?: InputMaybe; + readonly endsWith?: InputMaybe; + readonly eq?: InputMaybe; + readonly gt?: InputMaybe; + readonly gte?: InputMaybe; + readonly in?: InputMaybe>>; + readonly lt?: InputMaybe; + readonly lte?: InputMaybe; + readonly ne?: InputMaybe; + readonly not?: InputMaybe; + readonly notContains?: InputMaybe; + readonly notContainsi?: InputMaybe; + readonly notIn?: InputMaybe>>; + readonly notNull?: InputMaybe; + readonly null?: InputMaybe; + readonly or?: InputMaybe>>; + readonly startsWith?: InputMaybe; +} + +export interface DateFilterInput { + readonly and?: InputMaybe>>; + readonly between?: InputMaybe>>; + readonly contains?: InputMaybe; + readonly containsi?: InputMaybe; + readonly endsWith?: InputMaybe; + readonly eq?: InputMaybe; + readonly gt?: InputMaybe; + readonly gte?: InputMaybe; + readonly in?: InputMaybe>>; + readonly lt?: InputMaybe; + readonly lte?: InputMaybe; + readonly ne?: InputMaybe; + readonly not?: InputMaybe; + readonly notContains?: InputMaybe; + readonly notContainsi?: InputMaybe; + readonly notIn?: InputMaybe>>; + readonly notNull?: InputMaybe; + readonly null?: InputMaybe; + readonly or?: InputMaybe>>; + readonly startsWith?: InputMaybe; +} + +export interface DateTimeFilterInput { + readonly and?: InputMaybe>>; + readonly between?: InputMaybe>>; + readonly contains?: InputMaybe; + readonly containsi?: InputMaybe; + readonly endsWith?: InputMaybe; + readonly eq?: InputMaybe; + readonly gt?: InputMaybe; + readonly gte?: InputMaybe; + readonly in?: InputMaybe>>; + readonly lt?: InputMaybe; + readonly lte?: InputMaybe; + readonly ne?: InputMaybe; + readonly not?: InputMaybe; + readonly notContains?: InputMaybe; + readonly notContainsi?: InputMaybe; + readonly notIn?: InputMaybe>>; + readonly notNull?: InputMaybe; + readonly null?: InputMaybe; + readonly or?: InputMaybe>>; + readonly startsWith?: InputMaybe; +} + +export const enum ENUM_BLOG_POSTTYPE { + Explore = 'Explore', + Note = 'Note', + Sample = 'Sample', + Source = 'Source' +}; + +export interface ExtraType { + readonly __typename?: 'ExtraType'; + readonly name?: Maybe; +} + +export interface FileInfoInput { + readonly alternativeText?: InputMaybe; + readonly caption?: InputMaybe; + readonly name?: InputMaybe; +} + +export interface FloatFilterInput { + readonly and?: InputMaybe>>; + readonly between?: InputMaybe>>; + readonly contains?: InputMaybe; + readonly containsi?: InputMaybe; + readonly endsWith?: InputMaybe; + readonly eq?: InputMaybe; + readonly gt?: InputMaybe; + readonly gte?: InputMaybe; + readonly in?: InputMaybe>>; + readonly lt?: InputMaybe; + readonly lte?: InputMaybe; + readonly ne?: InputMaybe; + readonly not?: InputMaybe; + readonly notContains?: InputMaybe; + readonly notContainsi?: InputMaybe; + readonly notIn?: InputMaybe>>; + readonly notNull?: InputMaybe; + readonly null?: InputMaybe; + readonly or?: InputMaybe>>; + readonly startsWith?: InputMaybe; +} + +export type GenericMorph = Blog | I18NLocale | UploadFile | UsersPermissionsPermission | UsersPermissionsRole | UsersPermissionsUser; + +export interface I18NLocale { + readonly __typename?: 'I18NLocale'; + readonly code?: Maybe; + readonly createdAt?: Maybe; + readonly name?: Maybe; + readonly updatedAt?: Maybe; +} + +export interface I18NLocaleEntity { + readonly __typename?: 'I18NLocaleEntity'; + readonly attributes?: Maybe; + readonly id?: Maybe; +} + +export interface I18NLocaleEntityResponse { + readonly __typename?: 'I18NLocaleEntityResponse'; + readonly data?: Maybe; +} + +export interface I18NLocaleEntityResponseCollection { + readonly __typename?: 'I18NLocaleEntityResponseCollection'; + readonly data: ReadonlyArray; + readonly meta: ResponseCollectionMeta; +} + +export interface I18NLocaleFiltersInput { + readonly and?: InputMaybe>>; + readonly code?: InputMaybe; + readonly createdAt?: InputMaybe; + readonly id?: InputMaybe; + readonly name?: InputMaybe; + readonly not?: InputMaybe; + readonly or?: InputMaybe>>; + readonly updatedAt?: InputMaybe; +} + +export interface IDFilterInput { + readonly and?: InputMaybe>>; + readonly between?: InputMaybe>>; + readonly contains?: InputMaybe; + readonly containsi?: InputMaybe; + readonly endsWith?: InputMaybe; + readonly eq?: InputMaybe; + readonly gt?: InputMaybe; + readonly gte?: InputMaybe; + readonly in?: InputMaybe>>; + readonly lt?: InputMaybe; + readonly lte?: InputMaybe; + readonly ne?: InputMaybe; + readonly not?: InputMaybe; + readonly notContains?: InputMaybe; + readonly notContainsi?: InputMaybe; + readonly notIn?: InputMaybe>>; + readonly notNull?: InputMaybe; + readonly null?: InputMaybe; + readonly or?: InputMaybe>>; + readonly startsWith?: InputMaybe; +} + +export interface IntFilterInput { + readonly and?: InputMaybe>>; + readonly between?: InputMaybe>>; + readonly contains?: InputMaybe; + readonly containsi?: InputMaybe; + readonly endsWith?: InputMaybe; + readonly eq?: InputMaybe; + readonly gt?: InputMaybe; + readonly gte?: InputMaybe; + readonly in?: InputMaybe>>; + readonly lt?: InputMaybe; + readonly lte?: InputMaybe; + readonly ne?: InputMaybe; + readonly not?: InputMaybe; + readonly notContains?: InputMaybe; + readonly notContainsi?: InputMaybe; + readonly notIn?: InputMaybe>>; + readonly notNull?: InputMaybe; + readonly null?: InputMaybe; + readonly or?: InputMaybe>>; + readonly startsWith?: InputMaybe; +} + +export interface JSONFilterInput { + readonly and?: InputMaybe>>; + readonly between?: InputMaybe>>; + readonly contains?: InputMaybe; + readonly containsi?: InputMaybe; + readonly endsWith?: InputMaybe; + readonly eq?: InputMaybe; + readonly gt?: InputMaybe; + readonly gte?: InputMaybe; + readonly in?: InputMaybe>>; + readonly lt?: InputMaybe; + readonly lte?: InputMaybe; + readonly ne?: InputMaybe; + readonly not?: InputMaybe; + readonly notContains?: InputMaybe; + readonly notContainsi?: InputMaybe; + readonly notIn?: InputMaybe>>; + readonly notNull?: InputMaybe; + readonly null?: InputMaybe; + readonly or?: InputMaybe>>; + readonly startsWith?: InputMaybe; +} + +export interface Mutation { + readonly __typename?: 'Mutation'; + readonly createBlog?: Maybe; + readonly createUploadFile?: Maybe; + /** Create a new role */ + readonly createUsersPermissionsRole?: Maybe; + /** Create a new user */ + readonly createUsersPermissionsUser: UsersPermissionsUserEntityResponse; + readonly deleteBlog?: Maybe; + readonly deleteUploadFile?: Maybe; + /** Delete an existing role */ + readonly deleteUsersPermissionsRole?: Maybe; + /** Update an existing user */ + readonly deleteUsersPermissionsUser: UsersPermissionsUserEntityResponse; + /** Confirm an email users email address */ + readonly emailConfirmation?: Maybe; + /** Request a reset password token */ + readonly forgotPassword?: Maybe; + readonly login: UsersPermissionsLoginPayload; + readonly multipleUpload: ReadonlyArray>; + /** Register a user */ + readonly register: UsersPermissionsLoginPayload; + readonly removeFile?: Maybe; + /** Reset user password. Confirm with a code (resetToken from forgotPassword) */ + readonly resetPassword?: Maybe; + readonly updateBlog?: Maybe; + readonly updateFileInfo: UploadFileEntityResponse; + readonly updateUploadFile?: Maybe; + /** Update an existing role */ + readonly updateUsersPermissionsRole?: Maybe; + /** Update an existing user */ + readonly updateUsersPermissionsUser: UsersPermissionsUserEntityResponse; + readonly upload: UploadFileEntityResponse; +} + + +export interface MutationcreateBlogArgs { + data: BlogInput; +} + + +export interface MutationcreateUploadFileArgs { + data: UploadFileInput; +} + + +export interface MutationcreateUsersPermissionsRoleArgs { + data: UsersPermissionsRoleInput; +} + + +export interface MutationcreateUsersPermissionsUserArgs { + data: UsersPermissionsUserInput; +} + + +export interface MutationdeleteBlogArgs { + id: Scalars['ID']; +} + + +export interface MutationdeleteUploadFileArgs { + id: Scalars['ID']; +} + + +export interface MutationdeleteUsersPermissionsRoleArgs { + id: Scalars['ID']; +} + + +export interface MutationdeleteUsersPermissionsUserArgs { + id: Scalars['ID']; +} + + +export interface MutationemailConfirmationArgs { + confirmation: Scalars['String']; +} + + +export interface MutationforgotPasswordArgs { + email: Scalars['String']; +} + + +export interface MutationloginArgs { + input: UsersPermissionsLoginInput; +} + + +export interface MutationmultipleUploadArgs { + field?: InputMaybe; + files: ReadonlyArray>; + ref?: InputMaybe; + refId?: InputMaybe; +} + + +export interface MutationregisterArgs { + input: UsersPermissionsRegisterInput; +} + + +export interface MutationremoveFileArgs { + id: Scalars['ID']; +} + + +export interface MutationresetPasswordArgs { + code: Scalars['String']; + password: Scalars['String']; + passwordConfirmation: Scalars['String']; +} + + +export interface MutationupdateBlogArgs { + data: BlogInput; + id: Scalars['ID']; +} + + +export interface MutationupdateFileInfoArgs { + id: Scalars['ID']; + info?: InputMaybe; +} + + +export interface MutationupdateUploadFileArgs { + data: UploadFileInput; + id: Scalars['ID']; +} + + +export interface MutationupdateUsersPermissionsRoleArgs { + data: UsersPermissionsRoleInput; + id: Scalars['ID']; +} + + +export interface MutationupdateUsersPermissionsUserArgs { + data: UsersPermissionsUserInput; + id: Scalars['ID']; +} + + +export interface MutationuploadArgs { + field?: InputMaybe; + file: Scalars['Upload']; + info?: InputMaybe; + ref?: InputMaybe; + refId?: InputMaybe; +} + +export interface Pagination { + readonly __typename?: 'Pagination'; + readonly page: Scalars['Int']; + readonly pageCount: Scalars['Int']; + readonly pageSize: Scalars['Int']; + readonly total: Scalars['Int']; +} + +export interface PaginationArg { + readonly limit?: InputMaybe; + readonly page?: InputMaybe; + readonly pageSize?: InputMaybe; + readonly start?: InputMaybe; +} + +export const enum PublicationState { + LIVE = 'LIVE', + PREVIEW = 'PREVIEW' +}; + +export interface Query { + readonly __typename?: 'Query'; + readonly blog?: Maybe; + readonly blogs?: Maybe; + readonly extra?: Maybe; + readonly i18NLocale?: Maybe; + readonly i18NLocales?: Maybe; + readonly me?: Maybe; + readonly uploadFile?: Maybe; + readonly uploadFiles?: Maybe; + readonly usersPermissionsRole?: Maybe; + readonly usersPermissionsRoles?: Maybe; + readonly usersPermissionsUser?: Maybe; + readonly usersPermissionsUsers?: Maybe; +} + + +export interface QueryblogArgs { + id?: InputMaybe; +} + + +export interface QueryblogsArgs { + filters?: InputMaybe; + pagination?: InputMaybe; + publicationState?: InputMaybe; + sort?: InputMaybe>>; +} + + +export interface Queryi18NLocaleArgs { + id?: InputMaybe; +} + + +export interface Queryi18NLocalesArgs { + filters?: InputMaybe; + pagination?: InputMaybe; + sort?: InputMaybe>>; +} + + +export interface QueryuploadFileArgs { + id?: InputMaybe; +} + + +export interface QueryuploadFilesArgs { + filters?: InputMaybe; + pagination?: InputMaybe; + sort?: InputMaybe>>; +} + + +export interface QueryusersPermissionsRoleArgs { + id?: InputMaybe; +} + + +export interface QueryusersPermissionsRolesArgs { + filters?: InputMaybe; + pagination?: InputMaybe; + sort?: InputMaybe>>; +} + + +export interface QueryusersPermissionsUserArgs { + id?: InputMaybe; +} + + +export interface QueryusersPermissionsUsersArgs { + filters?: InputMaybe; + pagination?: InputMaybe; + sort?: InputMaybe>>; +} + +export interface ResponseCollectionMeta { + readonly __typename?: 'ResponseCollectionMeta'; + readonly pagination: Pagination; +} + +export interface StringFilterInput { + readonly and?: InputMaybe>>; + readonly between?: InputMaybe>>; + readonly contains?: InputMaybe; + readonly containsi?: InputMaybe; + readonly endsWith?: InputMaybe; + readonly eq?: InputMaybe; + readonly gt?: InputMaybe; + readonly gte?: InputMaybe; + readonly in?: InputMaybe>>; + readonly lt?: InputMaybe; + readonly lte?: InputMaybe; + readonly ne?: InputMaybe; + readonly not?: InputMaybe; + readonly notContains?: InputMaybe; + readonly notContainsi?: InputMaybe; + readonly notIn?: InputMaybe>>; + readonly notNull?: InputMaybe; + readonly null?: InputMaybe; + readonly or?: InputMaybe>>; + readonly startsWith?: InputMaybe; +} + +export interface UploadFile { + readonly __typename?: 'UploadFile'; + readonly alternativeText?: Maybe; + readonly caption?: Maybe; + readonly createdAt?: Maybe; + readonly ext?: Maybe; + readonly formats?: Maybe; + readonly hash: Scalars['String']; + readonly height?: Maybe; + readonly mime: Scalars['String']; + readonly name: Scalars['String']; + readonly previewUrl?: Maybe; + readonly provider: Scalars['String']; + readonly provider_metadata?: Maybe; + readonly related?: Maybe>>; + readonly size: Scalars['Float']; + readonly updatedAt?: Maybe; + readonly url: Scalars['String']; + readonly width?: Maybe; +} + +export interface UploadFileEntity { + readonly __typename?: 'UploadFileEntity'; + readonly attributes?: Maybe; + readonly id?: Maybe; +} + +export interface UploadFileEntityResponse { + readonly __typename?: 'UploadFileEntityResponse'; + readonly data?: Maybe; +} + +export interface UploadFileEntityResponseCollection { + readonly __typename?: 'UploadFileEntityResponseCollection'; + readonly data: ReadonlyArray; + readonly meta: ResponseCollectionMeta; +} + +export interface UploadFileFiltersInput { + readonly alternativeText?: InputMaybe; + readonly and?: InputMaybe>>; + readonly caption?: InputMaybe; + readonly createdAt?: InputMaybe; + readonly ext?: InputMaybe; + readonly formats?: InputMaybe; + readonly hash?: InputMaybe; + readonly height?: InputMaybe; + readonly id?: InputMaybe; + readonly mime?: InputMaybe; + readonly name?: InputMaybe; + readonly not?: InputMaybe; + readonly or?: InputMaybe>>; + readonly previewUrl?: InputMaybe; + readonly provider?: InputMaybe; + readonly provider_metadata?: InputMaybe; + readonly size?: InputMaybe; + readonly updatedAt?: InputMaybe; + readonly url?: InputMaybe; + readonly width?: InputMaybe; +} + +export interface UploadFileInput { + readonly alternativeText?: InputMaybe; + readonly caption?: InputMaybe; + readonly ext?: InputMaybe; + readonly formats?: InputMaybe; + readonly hash?: InputMaybe; + readonly height?: InputMaybe; + readonly mime?: InputMaybe; + readonly name?: InputMaybe; + readonly previewUrl?: InputMaybe; + readonly provider?: InputMaybe; + readonly provider_metadata?: InputMaybe; + readonly size?: InputMaybe; + readonly url?: InputMaybe; + readonly width?: InputMaybe; +} + +export interface UsersPermissionsCreateRolePayload { + readonly __typename?: 'UsersPermissionsCreateRolePayload'; + readonly ok: Scalars['Boolean']; +} + +export interface UsersPermissionsDeleteRolePayload { + readonly __typename?: 'UsersPermissionsDeleteRolePayload'; + readonly ok: Scalars['Boolean']; +} + +export interface UsersPermissionsLoginInput { + readonly identifier: Scalars['String']; + readonly password: Scalars['String']; + readonly provider?: Scalars['String']; +} + +export interface UsersPermissionsLoginPayload { + readonly __typename?: 'UsersPermissionsLoginPayload'; + readonly jwt?: Maybe; + readonly user: UsersPermissionsMe; +} + +export interface UsersPermissionsMe { + readonly __typename?: 'UsersPermissionsMe'; + readonly blocked?: Maybe; + readonly confirmed?: Maybe; + readonly email?: Maybe; + readonly id: Scalars['ID']; + readonly role?: Maybe; + readonly username: Scalars['String']; +} + +export interface UsersPermissionsMeRole { + readonly __typename?: 'UsersPermissionsMeRole'; + readonly description?: Maybe; + readonly id: Scalars['ID']; + readonly name: Scalars['String']; + readonly type?: Maybe; +} + +export interface UsersPermissionsPasswordPayload { + readonly __typename?: 'UsersPermissionsPasswordPayload'; + readonly ok: Scalars['Boolean']; +} + +export interface UsersPermissionsPermission { + readonly __typename?: 'UsersPermissionsPermission'; + readonly action: Scalars['String']; + readonly createdAt?: Maybe; + readonly role?: Maybe; + readonly updatedAt?: Maybe; +} + +export interface UsersPermissionsPermissionEntity { + readonly __typename?: 'UsersPermissionsPermissionEntity'; + readonly attributes?: Maybe; + readonly id?: Maybe; +} + +export interface UsersPermissionsPermissionFiltersInput { + readonly action?: InputMaybe; + readonly and?: InputMaybe>>; + readonly createdAt?: InputMaybe; + readonly id?: InputMaybe; + readonly not?: InputMaybe; + readonly or?: InputMaybe>>; + readonly role?: InputMaybe; + readonly updatedAt?: InputMaybe; +} + +export interface UsersPermissionsPermissionRelationResponseCollection { + readonly __typename?: 'UsersPermissionsPermissionRelationResponseCollection'; + readonly data: ReadonlyArray; +} + +export interface UsersPermissionsRegisterInput { + readonly email: Scalars['String']; + readonly password: Scalars['String']; + readonly username: Scalars['String']; +} + +export interface UsersPermissionsRole { + readonly __typename?: 'UsersPermissionsRole'; + readonly createdAt?: Maybe; + readonly description?: Maybe; + readonly name: Scalars['String']; + readonly permissions?: Maybe; + readonly type?: Maybe; + readonly updatedAt?: Maybe; + readonly users?: Maybe; +} + + +export interface UsersPermissionsRolepermissionsArgs { + filters?: InputMaybe; + pagination?: InputMaybe; + sort?: InputMaybe>>; +} + + +export interface UsersPermissionsRoleusersArgs { + filters?: InputMaybe; + pagination?: InputMaybe; + sort?: InputMaybe>>; +} + +export interface UsersPermissionsRoleEntity { + readonly __typename?: 'UsersPermissionsRoleEntity'; + readonly attributes?: Maybe; + readonly id?: Maybe; +} + +export interface UsersPermissionsRoleEntityResponse { + readonly __typename?: 'UsersPermissionsRoleEntityResponse'; + readonly data?: Maybe; +} + +export interface UsersPermissionsRoleEntityResponseCollection { + readonly __typename?: 'UsersPermissionsRoleEntityResponseCollection'; + readonly data: ReadonlyArray; + readonly meta: ResponseCollectionMeta; +} + +export interface UsersPermissionsRoleFiltersInput { + readonly and?: InputMaybe>>; + readonly createdAt?: InputMaybe; + readonly description?: InputMaybe; + readonly id?: InputMaybe; + readonly name?: InputMaybe; + readonly not?: InputMaybe; + readonly or?: InputMaybe>>; + readonly permissions?: InputMaybe; + readonly type?: InputMaybe; + readonly updatedAt?: InputMaybe; + readonly users?: InputMaybe; +} + +export interface UsersPermissionsRoleInput { + readonly description?: InputMaybe; + readonly name?: InputMaybe; + readonly permissions?: InputMaybe>>; + readonly type?: InputMaybe; + readonly users?: InputMaybe>>; +} + +export interface UsersPermissionsUpdateRolePayload { + readonly __typename?: 'UsersPermissionsUpdateRolePayload'; + readonly ok: Scalars['Boolean']; +} + +export interface UsersPermissionsUser { + readonly __typename?: 'UsersPermissionsUser'; + readonly blocked?: Maybe; + readonly confirmed?: Maybe; + readonly createdAt?: Maybe; + readonly email: Scalars['String']; + readonly provider?: Maybe; + readonly role?: Maybe; + readonly updatedAt?: Maybe; + readonly username: Scalars['String']; +} + +export interface UsersPermissionsUserEntity { + readonly __typename?: 'UsersPermissionsUserEntity'; + readonly attributes?: Maybe; + readonly id?: Maybe; +} + +export interface UsersPermissionsUserEntityResponse { + readonly __typename?: 'UsersPermissionsUserEntityResponse'; + readonly data?: Maybe; +} + +export interface UsersPermissionsUserEntityResponseCollection { + readonly __typename?: 'UsersPermissionsUserEntityResponseCollection'; + readonly data: ReadonlyArray; + readonly meta: ResponseCollectionMeta; +} + +export interface UsersPermissionsUserFiltersInput { + readonly and?: InputMaybe>>; + readonly blocked?: InputMaybe; + readonly confirmationToken?: InputMaybe; + readonly confirmed?: InputMaybe; + readonly createdAt?: InputMaybe; + readonly email?: InputMaybe; + readonly id?: InputMaybe; + readonly not?: InputMaybe; + readonly or?: InputMaybe>>; + readonly password?: InputMaybe; + readonly provider?: InputMaybe; + readonly resetPasswordToken?: InputMaybe; + readonly role?: InputMaybe; + readonly updatedAt?: InputMaybe; + readonly username?: InputMaybe; +} + +export interface UsersPermissionsUserInput { + readonly blocked?: InputMaybe; + readonly confirmationToken?: InputMaybe; + readonly confirmed?: InputMaybe; + readonly email?: InputMaybe; + readonly password?: InputMaybe; + readonly provider?: InputMaybe; + readonly resetPasswordToken?: InputMaybe; + readonly role?: InputMaybe; + readonly username?: InputMaybe; +} + +export interface UsersPermissionsUserRelationResponseCollection { + readonly __typename?: 'UsersPermissionsUserRelationResponseCollection'; + readonly data: ReadonlyArray; +} diff --git a/packages/vite-apollo-gcg-starter/src/vite-env.d.ts b/packages/vite-apollo-gcg-starter/src/vite-env.d.ts new file mode 100644 index 0000000..11f02fe --- /dev/null +++ b/packages/vite-apollo-gcg-starter/src/vite-env.d.ts @@ -0,0 +1 @@ +/// diff --git a/packages/vite-apollo-gcg-starter/tsconfig.json b/packages/vite-apollo-gcg-starter/tsconfig.json new file mode 100644 index 0000000..c8bdc64 --- /dev/null +++ b/packages/vite-apollo-gcg-starter/tsconfig.json @@ -0,0 +1,21 @@ +{ + "compilerOptions": { + "target": "ESNext", + "useDefineForClassFields": true, + "lib": ["DOM", "DOM.Iterable", "ESNext"], + "allowJs": false, + "skipLibCheck": false, + "esModuleInterop": false, + "allowSyntheticDefaultImports": true, + "strict": true, + "forceConsistentCasingInFileNames": true, + "module": "ESNext", + "moduleResolution": "Node", + "resolveJsonModule": true, + "isolatedModules": true, + "noEmit": true, + "jsx": "react-jsx" + }, + "include": ["src"], + "references": [{ "path": "./tsconfig.node.json" }] +} diff --git a/packages/vite-apollo-gcg-starter/tsconfig.node.json b/packages/vite-apollo-gcg-starter/tsconfig.node.json new file mode 100644 index 0000000..e993792 --- /dev/null +++ b/packages/vite-apollo-gcg-starter/tsconfig.node.json @@ -0,0 +1,8 @@ +{ + "compilerOptions": { + "composite": true, + "module": "esnext", + "moduleResolution": "node" + }, + "include": ["vite.config.ts"] +} diff --git a/packages/vite-apollo-gcg-starter/vite.config.ts b/packages/vite-apollo-gcg-starter/vite.config.ts new file mode 100644 index 0000000..b1b5f91 --- /dev/null +++ b/packages/vite-apollo-gcg-starter/vite.config.ts @@ -0,0 +1,7 @@ +import { defineConfig } from 'vite' +import react from '@vitejs/plugin-react' + +// https://vitejs.dev/config/ +export default defineConfig({ + plugins: [react()] +}) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 01943aa..37a024f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -829,6 +829,45 @@ importers: devDependencies: tsd: 0.19.1 + packages/vite-apollo-gcg-starter: + specifiers: + '@apollo/client': ^3.5.4 + '@graphql-codegen/cli': ^2.3.0 + '@graphql-codegen/introspection': ^2.1.1 + '@graphql-codegen/near-operation-file-preset': ^2.2.2 + '@graphql-codegen/typed-document-node': ^2.2.1 + '@graphql-codegen/typescript': ^2.4.1 + '@graphql-codegen/typescript-operations': ^2.2.1 + '@graphql-codegen/typescript-react-apollo': 3.2.4 + '@graphql-codegen/typescript-resolvers': 2.4.3 + '@types/react': ^17.0.33 + '@types/react-dom': ^17.0.10 + '@vitejs/plugin-react': ^1.0.7 + graphql: ^16.3.0 + react: ^17.0.2 + react-dom: ^17.0.2 + typescript: ^4.5.4 + vite: ^2.8.0 + dependencies: + '@apollo/client': 3.5.10_graphql@16.3.0+react@17.0.2 + graphql: 16.3.0 + react: 17.0.2 + react-dom: 17.0.2_react@17.0.2 + devDependencies: + '@graphql-codegen/cli': 2.6.2_3b667ef9fa2e39a39933bb2c0a49d7d2 + '@graphql-codegen/introspection': 2.1.1_graphql@16.3.0 + '@graphql-codegen/near-operation-file-preset': 2.2.9_graphql@16.3.0 + '@graphql-codegen/typed-document-node': 2.2.8_graphql@16.3.0 + '@graphql-codegen/typescript': 2.4.8_graphql@16.3.0 + '@graphql-codegen/typescript-operations': 2.3.5_graphql@16.3.0 + '@graphql-codegen/typescript-react-apollo': 3.2.4_graphql@16.3.0 + '@graphql-codegen/typescript-resolvers': 2.4.3_graphql@16.3.0 + '@types/react': 17.0.40 + '@types/react-dom': 17.0.13 + '@vitejs/plugin-react': 1.2.0 + typescript: 4.6.2 + vite: 2.8.6 + packages/vite-lit-starter: specifiers: lit: ^2.0.2 @@ -1299,6 +1338,37 @@ packages: zen-observable-ts: 1.2.3 dev: false + /@apollo/client/3.5.10_graphql@16.3.0+react@17.0.2: + resolution: {integrity: sha512-tL3iSpFe9Oldq7gYikZK1dcYxp1c01nlSwtsMz75382HcI6fvQXyFXUCJTTK3wgO2/ckaBvRGw7VqjFREdVoRw==} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 + graphql-ws: ^5.5.5 + react: ^16.8.0 || ^17.0.0 + subscriptions-transport-ws: ^0.9.0 || ^0.11.0 + peerDependenciesMeta: + graphql-ws: + optional: true + react: + optional: true + subscriptions-transport-ws: + optional: true + dependencies: + '@graphql-typed-document-node/core': 3.1.1_graphql@16.3.0 + '@wry/context': 0.6.1 + '@wry/equality': 0.5.2 + '@wry/trie': 0.3.1 + graphql: 16.3.0 + graphql-tag: 2.12.6_graphql@16.3.0 + hoist-non-react-statics: 3.3.2 + optimism: 0.16.1 + prop-types: 15.8.1 + react: 17.0.2 + symbol-observable: 4.0.0 + ts-invariant: 0.9.4 + tslib: 2.3.1 + zen-observable-ts: 1.2.3 + dev: false + /@apollo/federation/0.28.0_graphql@15.8.0: resolution: {integrity: sha512-M5Dp0XJhuxEOzYjPWWK5VtIqEI1IFRioh1+XHrls90UC8R+b6VXa0UxMO/zfKv00APr4gBODMcfRe5w97NSruw==} engines: {node: '>=12.13.0 <17.0'} @@ -5608,6 +5678,16 @@ packages: tslib: 2.3.1 dev: true + /@graphql-codegen/add/3.1.1_graphql@16.3.0: + resolution: {integrity: sha512-XkVwcqosa0CVBlL1HaQT0gp+EUfhuQE3LzrEpzMQLwchxaj/NPVYtOJL6MUHaYDsHzLqxWrufjfbeB3y2NQgRw==} + peerDependencies: + graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 + dependencies: + '@graphql-codegen/plugin-helpers': 2.4.2_graphql@16.3.0 + graphql: 16.3.0 + tslib: 2.3.1 + dev: true + /@graphql-codegen/cli/1.21.8_8a30c4e86d052b41db6273dff9fbd057: resolution: {integrity: sha512-sxKUIvT2dGerFyvs6SsQpkHDyOnk+MRwqsnmsF22eAWHUbNLd429PKC71E26egXzT2BhHabUIfMV7xk9mkgWNg==} hasBin: true @@ -5664,6 +5744,63 @@ packages: - zen-observable dev: true + /@graphql-codegen/cli/2.6.2_3b667ef9fa2e39a39933bb2c0a49d7d2: + resolution: {integrity: sha512-UO75msoVgvLEvfjCezM09cQQqp32+mR8Ma1ACsBpr7nroFvHbgcu2ulx1cMovg4sxDBCsvd9Eq/xOOMpARUxtw==} + hasBin: true + peerDependencies: + graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 + dependencies: + '@graphql-codegen/core': 2.5.1_graphql@16.3.0 + '@graphql-codegen/plugin-helpers': 2.4.2_graphql@16.3.0 + '@graphql-tools/apollo-engine-loader': 7.2.4_graphql@16.3.0 + '@graphql-tools/code-file-loader': 7.2.5_graphql@16.3.0 + '@graphql-tools/git-loader': 7.1.4_graphql@16.3.0 + '@graphql-tools/github-loader': 7.2.5_graphql@16.3.0 + '@graphql-tools/graphql-file-loader': 7.3.5_graphql@16.3.0 + '@graphql-tools/json-file-loader': 7.3.5_graphql@16.3.0 + '@graphql-tools/load': 7.5.3_graphql@16.3.0 + '@graphql-tools/prisma-loader': 7.1.3_a827a5d0da07b11b42534ab7eb813b16 + '@graphql-tools/url-loader': 7.9.4_a827a5d0da07b11b42534ab7eb813b16 + '@graphql-tools/utils': 8.6.3_graphql@16.3.0 + ansi-escapes: 4.3.2 + chalk: 4.1.2 + change-case-all: 1.0.14 + chokidar: 3.5.3 + common-tags: 1.8.2 + cosmiconfig: 7.0.1 + debounce: 1.2.1 + dependency-graph: 0.11.0 + detect-indent: 6.1.0 + glob: 7.2.0 + globby: 11.1.0 + graphql: 16.3.0 + graphql-config: 4.1.0_3b667ef9fa2e39a39933bb2c0a49d7d2 + inquirer: 8.2.0 + is-glob: 4.0.3 + json-to-pretty-yaml: 1.2.2 + latest-version: 5.1.0 + listr: 0.14.3 + listr-update-renderer: 0.5.0_listr@0.14.3 + log-symbols: 4.1.0 + minimatch: 4.2.1 + mkdirp: 1.0.4 + string-env-interpolation: 1.0.1 + ts-log: 2.2.4 + tslib: 2.3.1 + valid-url: 1.0.9 + wrap-ansi: 7.0.0 + yaml: 1.10.2 + yargs: 17.3.1 + transitivePeerDependencies: + - '@types/node' + - bufferutil + - encoding + - supports-color + - typescript + - utf-8-validate + - zen-observable + dev: true + /@graphql-codegen/cli/2.6.2_8a30c4e86d052b41db6273dff9fbd057: resolution: {integrity: sha512-UO75msoVgvLEvfjCezM09cQQqp32+mR8Ma1ACsBpr7nroFvHbgcu2ulx1cMovg4sxDBCsvd9Eq/xOOMpARUxtw==} hasBin: true @@ -5755,7 +5892,6 @@ packages: '@graphql-tools/utils': 8.6.3_graphql@16.3.0 graphql: 16.3.0 tslib: 2.3.1 - dev: false /@graphql-codegen/introspection/2.1.1_graphql@15.8.0: resolution: {integrity: sha512-O9zsy0IoFYDo37pBVF4pSvRMDx/AKdgOxyko4R/O+0DHEw9Nya/pQ3dbn+LDLj2n6X+xOXUBUfFvqhODTqU28w==} @@ -5767,6 +5903,16 @@ packages: tslib: 2.3.1 dev: true + /@graphql-codegen/introspection/2.1.1_graphql@16.3.0: + resolution: {integrity: sha512-O9zsy0IoFYDo37pBVF4pSvRMDx/AKdgOxyko4R/O+0DHEw9Nya/pQ3dbn+LDLj2n6X+xOXUBUfFvqhODTqU28w==} + peerDependencies: + graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 + dependencies: + '@graphql-codegen/plugin-helpers': 2.4.2_graphql@16.3.0 + graphql: 16.3.0 + tslib: 2.3.1 + dev: true + /@graphql-codegen/near-operation-file-preset/2.2.9_graphql@15.8.0: resolution: {integrity: sha512-ytvI5wDq+92sGp+h+HEi4+biDNWsgKdRJVm5P1wzzFuc67qTPB1EipbJF4oUqSqtV6kaTu3mdHPf5yU0SWusSw==} peerDependencies: @@ -5784,6 +5930,23 @@ packages: - supports-color dev: true + /@graphql-codegen/near-operation-file-preset/2.2.9_graphql@16.3.0: + resolution: {integrity: sha512-ytvI5wDq+92sGp+h+HEi4+biDNWsgKdRJVm5P1wzzFuc67qTPB1EipbJF4oUqSqtV6kaTu3mdHPf5yU0SWusSw==} + peerDependencies: + graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 + dependencies: + '@graphql-codegen/add': 3.1.1_graphql@16.3.0 + '@graphql-codegen/plugin-helpers': 2.4.2_graphql@16.3.0 + '@graphql-codegen/visitor-plugin-common': 2.7.4_graphql@16.3.0 + '@graphql-tools/utils': 8.6.3_graphql@16.3.0 + graphql: 16.3.0 + parse-filepath: 1.0.2 + tslib: 2.3.1 + transitivePeerDependencies: + - encoding + - supports-color + dev: true + /@graphql-codegen/plugin-helpers/1.18.8_graphql@15.8.0: resolution: {integrity: sha512-mb4I9j9lMGqvGggYuZ0CV+Hme08nar68xkpPbAVotg/ZBmlhZIok/HqW2BcMQi7Rj+Il5HQMeQ1wQ1M7sv/TlQ==} peerDependencies: @@ -5823,7 +5986,6 @@ packages: import-from: 4.0.0 lodash: 4.17.21 tslib: 2.3.1 - dev: false /@graphql-codegen/schema-ast/2.4.1_graphql@15.8.0: resolution: {integrity: sha512-bIWlKk/ShoVJfghA4Rt1OWnd34/dQmZM/vAe6fu6QKyOh44aAdqPtYQ2dbTyFXoknmu504etKJGEDllYNUJRfg==} @@ -5845,7 +6007,6 @@ packages: '@graphql-tools/utils': 8.6.3_graphql@16.3.0 graphql: 16.3.0 tslib: 2.3.1 - dev: false /@graphql-codegen/typed-document-node/2.2.8_graphql@15.8.0: resolution: {integrity: sha512-72qTGNOMVnT51Fenk1MvavOwdyJewCZlrEp0miiTjtOSiTPzAm1acOck7cx8smNWyxNaDh3g4Jf60MkS8VCySw==} @@ -5877,7 +6038,6 @@ packages: transitivePeerDependencies: - encoding - supports-color - dev: false /@graphql-codegen/typescript-operations/1.18.4_graphql@15.8.0: resolution: {integrity: sha512-bxeRaCCwu2rUXkRj6WwMVazlMignemeUJfDjrK7d4z9o9tyjlrGWnbsjeZI7M17GNCARU9Vkr6XH94wEyooSsA==} @@ -5925,7 +6085,40 @@ packages: transitivePeerDependencies: - encoding - supports-color - dev: false + + /@graphql-codegen/typescript-react-apollo/3.2.4_graphql@16.3.0: + resolution: {integrity: sha512-IcbvGYHZy2hX9aGvxm3t9EBQ1lBgAod3jY/is53QEstdUWHNB+cEVtePgtUJGMm637KYcw4tvygaqrSeoWq8Sw==} + peerDependencies: + graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 + graphql-tag: ^2.0.0 + dependencies: + '@graphql-codegen/plugin-helpers': 2.4.2_graphql@16.3.0 + '@graphql-codegen/visitor-plugin-common': 2.5.2_graphql@16.3.0 + auto-bind: 4.0.0 + change-case-all: 1.0.14 + graphql: 16.3.0 + tslib: 2.3.1 + transitivePeerDependencies: + - encoding + - supports-color + dev: true + + /@graphql-codegen/typescript-resolvers/2.4.3_graphql@16.3.0: + resolution: {integrity: sha512-4m3E0zKLSXjGirZcYHHaZ0bxjy/gxvuumShFCKFmYTkHwTfqBaeh/pMhWqLkwC9wimrH6mQoPIYSQHLaF6Eqng==} + peerDependencies: + graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 + dependencies: + '@graphql-codegen/plugin-helpers': 2.4.2_graphql@16.3.0 + '@graphql-codegen/typescript': 2.4.8_graphql@16.3.0 + '@graphql-codegen/visitor-plugin-common': 2.5.2_graphql@16.3.0 + '@graphql-tools/utils': 8.6.3_graphql@16.3.0 + auto-bind: 4.0.0 + graphql: 16.3.0 + tslib: 2.3.1 + transitivePeerDependencies: + - encoding + - supports-color + dev: true /@graphql-codegen/typescript-resolvers/2.6.0_graphql@16.3.0: resolution: {integrity: sha512-VVTgOetqK1zg0m5TpLQGrn2OOmAec1kYghfOVuTaxeyBWjaYnxEv3VWfVdp4Gbv85TKBftIbYPi5V82+Cgq5+A==} @@ -5989,7 +6182,6 @@ packages: transitivePeerDependencies: - encoding - supports-color - dev: false /@graphql-codegen/visitor-plugin-common/1.22.0_graphql@15.8.0: resolution: {integrity: sha512-2afJGb6d8iuZl9KizYsexPwraEKO1lAvt5eVHNM5Xew4vwz/AUHeqDR2uOeQgVV+27EzjjzSDd47IEdH0dLC2w==} @@ -6012,6 +6204,27 @@ packages: - supports-color dev: true + /@graphql-codegen/visitor-plugin-common/2.5.2_graphql@16.3.0: + resolution: {integrity: sha512-qDMraPmumG+vEGAz42/asRkdgIRmQWH5HTc320UX+I6CY6eE/Ey85cgzoqeQGLV8gu4sj3UkNx/3/r79eX4u+Q==} + peerDependencies: + graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 + dependencies: + '@graphql-codegen/plugin-helpers': 2.4.2_graphql@16.3.0 + '@graphql-tools/optimize': 1.2.0_graphql@16.3.0 + '@graphql-tools/relay-operation-optimizer': 6.4.3_graphql@16.3.0 + '@graphql-tools/utils': 8.6.3_graphql@16.3.0 + auto-bind: 4.0.0 + change-case-all: 1.0.14 + dependency-graph: 0.11.0 + graphql: 16.3.0 + graphql-tag: 2.12.6_graphql@16.3.0 + parse-filepath: 1.0.2 + tslib: 2.3.1 + transitivePeerDependencies: + - encoding + - supports-color + dev: true + /@graphql-codegen/visitor-plugin-common/2.7.3_graphql@16.3.0: resolution: {integrity: sha512-rODPGkrHEf9aHD8SgVWS0xie8VmJoYXLWgQR8PFKrwCUFjf7nvDuATAL2lTFiHATlVBWg1meXVPdUlkKeJj/0Q==} peerDependencies: @@ -6073,7 +6286,6 @@ packages: transitivePeerDependencies: - encoding - supports-color - dev: false /@graphql-tools/apollo-engine-loader/6.2.5_graphql@15.8.0: resolution: {integrity: sha512-CE4uef6PyxtSG+7OnLklIr2BZZDgjO89ZXK47EKdY7jQy/BQD/9o+8SxPsgiBc+2NsDJH2I6P/nqoaJMOEat6g==} @@ -6100,6 +6312,20 @@ packages: - encoding dev: true + /@graphql-tools/apollo-engine-loader/7.2.4_graphql@16.3.0: + resolution: {integrity: sha512-z7ToKpymqyRRGr2c6x824KTMntxxZaZxinY+kRx67DK/HkXPKr9hLWIjKX4LiRJcMMc/yX85aVXV21l2pGBhvQ==} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 + dependencies: + '@graphql-tools/utils': 8.6.3_graphql@16.3.0 + cross-undici-fetch: 0.1.25 + graphql: 16.3.0 + sync-fetch: 0.3.1 + tslib: 2.3.1 + transitivePeerDependencies: + - encoding + dev: true + /@graphql-tools/batch-execute/7.1.2_graphql@15.8.0: resolution: {integrity: sha512-IuR2SB2MnC2ztA/XeTMTfWcA0Wy7ZH5u+nDkDNLAdX+AaSyDnsQS35sCmHqG0VOGTl7rzoyBWLCKGwSJplgtwg==} peerDependencies: @@ -6124,6 +6350,18 @@ packages: value-or-promise: 1.0.11 dev: true + /@graphql-tools/batch-execute/8.3.3_graphql@16.3.0: + resolution: {integrity: sha512-22q/uCMUf+z3EWoM3ZM6DopDBGkni2TsfUb/mJIysunh5u8btAuXeju++De7RFwwUw+awdJXfunFQJG+OoH5Dg==} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 + dependencies: + '@graphql-tools/utils': 8.6.3_graphql@16.3.0 + dataloader: 2.0.0 + graphql: 16.3.0 + tslib: 2.3.1 + value-or-promise: 1.0.11 + dev: true + /@graphql-tools/code-file-loader/6.3.1_graphql@15.8.0: resolution: {integrity: sha512-ZJimcm2ig+avgsEOWWVvAaxZrXXhiiSZyYYOJi0hk9wh5BxZcLUNKkTp6EFnZE/jmGUwuos3pIjUD3Hwi3Bwhg==} peerDependencies: @@ -6152,6 +6390,21 @@ packages: - supports-color dev: true + /@graphql-tools/code-file-loader/7.2.5_graphql@16.3.0: + resolution: {integrity: sha512-3pj10/qyQxjfkweOVUEYYhTRfpMxj/cAgJScurTwRiPPBl/t+9rhSCAmr9f0LYljXP+Qo+k8btW/ru0vyyeLHg==} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 + dependencies: + '@graphql-tools/graphql-tag-pluck': 7.1.7_graphql@16.3.0 + '@graphql-tools/utils': 8.6.3_graphql@16.3.0 + globby: 11.1.0 + graphql: 16.3.0 + tslib: 2.3.1 + unixify: 1.0.0 + transitivePeerDependencies: + - supports-color + dev: true + /@graphql-tools/delegate/7.1.5_graphql@15.8.0: resolution: {integrity: sha512-bQu+hDd37e+FZ0CQGEEczmRSfQRnnXeUxI/0miDV+NV/zCbEdIJj5tYFNrKT03W6wgdqx8U06d8L23LxvGri/g==} peerDependencies: @@ -6182,6 +6435,21 @@ packages: value-or-promise: 1.0.11 dev: true + /@graphql-tools/delegate/8.5.4_graphql@16.3.0: + resolution: {integrity: sha512-+3BCgSPCp/HoeOBjhz6X7RY7HMCNBanz/wkxo0/e4rk8TqJ3sjZCH470SHvsxCsBIlMwx4FYwkmxePgX/V+0Cg==} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 + dependencies: + '@graphql-tools/batch-execute': 8.3.3_graphql@16.3.0 + '@graphql-tools/schema': 8.3.3_graphql@16.3.0 + '@graphql-tools/utils': 8.6.3_graphql@16.3.0 + dataloader: 2.0.0 + graphql: 16.3.0 + graphql-executor: 0.0.19_graphql@16.3.0 + tslib: 2.3.1 + value-or-promise: 1.0.11 + dev: true + /@graphql-tools/git-loader/6.2.6_graphql@15.8.0: resolution: {integrity: sha512-ooQTt2CaG47vEYPP3CPD+nbA0F+FYQXfzrB1Y1ABN9K3d3O2RK3g8qwslzZaI8VJQthvKwt0A95ZeE4XxteYfw==} peerDependencies: @@ -6211,6 +6479,22 @@ packages: - supports-color dev: true + /@graphql-tools/git-loader/7.1.4_graphql@16.3.0: + resolution: {integrity: sha512-3KSeFzStZeXPZtsviA5YZZbz9fIO+fPNyu3+jOJkMla9Pcz7dv8T9/vCN8aRdPfsD566Av0i1QKWWjSw3hq3HQ==} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 + dependencies: + '@graphql-tools/graphql-tag-pluck': 7.1.7_graphql@16.3.0 + '@graphql-tools/utils': 8.6.3_graphql@16.3.0 + graphql: 16.3.0 + is-glob: 4.0.3 + micromatch: 4.0.4 + tslib: 2.3.1 + unixify: 1.0.0 + transitivePeerDependencies: + - supports-color + dev: true + /@graphql-tools/github-loader/6.2.5_graphql@15.8.0: resolution: {integrity: sha512-DLuQmYeNNdPo8oWus8EePxWCfCAyUXPZ/p1PWqjrX/NGPyH2ZObdqtDAfRHztljt0F/qkBHbGHCEk2TKbRZTRw==} peerDependencies: @@ -6241,6 +6525,22 @@ packages: - supports-color dev: true + /@graphql-tools/github-loader/7.2.5_graphql@16.3.0: + resolution: {integrity: sha512-++sYpzAnZ5+VR+aaU6sHafO8/jReBnI7cK/SpW329NBekdIC/JxNaeIGvkXd/6MdP2kjrf9sbfVaEeaw71J+wg==} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 + dependencies: + '@graphql-tools/graphql-tag-pluck': 7.1.7_graphql@16.3.0 + '@graphql-tools/utils': 8.6.3_graphql@16.3.0 + cross-undici-fetch: 0.1.25 + graphql: 16.3.0 + sync-fetch: 0.3.1 + tslib: 2.3.1 + transitivePeerDependencies: + - encoding + - supports-color + dev: true + /@graphql-tools/graphql-file-loader/6.2.7_graphql@15.8.0: resolution: {integrity: sha512-5k2SNz0W87tDcymhEMZMkd6/vs6QawDyjQXWtqkuLTBF3vxjxPD1I4dwHoxgWPIjjANhXybvulD7E+St/7s9TQ==} peerDependencies: @@ -6265,6 +6565,19 @@ packages: unixify: 1.0.0 dev: true + /@graphql-tools/graphql-file-loader/7.3.5_graphql@16.3.0: + resolution: {integrity: sha512-TBWDA7EV/cmFFUlN2eT9JqYIkiOGEtwwOgzzPcjM9HlPrbKjQkPIJ9Jaxp7aKWbSGhJ+PnbZ7vFLFLGKsCYOjg==} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 + dependencies: + '@graphql-tools/import': 6.6.7_graphql@16.3.0 + '@graphql-tools/utils': 8.6.3_graphql@16.3.0 + globby: 11.1.0 + graphql: 16.3.0 + tslib: 2.3.1 + unixify: 1.0.0 + dev: true + /@graphql-tools/graphql-tag-pluck/6.5.1_graphql@15.8.0: resolution: {integrity: sha512-7qkm82iFmcpb8M6/yRgzjShtW6Qu2OlCSZp8uatA3J0eMl87TxyJoUmL3M3UMMOSundAK8GmoyNVFUrueueV5Q==} peerDependencies: @@ -6295,6 +6608,21 @@ packages: - supports-color dev: true + /@graphql-tools/graphql-tag-pluck/7.1.7_graphql@16.3.0: + resolution: {integrity: sha512-942yDEEJK2qMV9L5fLTZSa/XPTjjOBsNZyYPJD07oca7Cx08b5uajFPu53y+TJeOD/YD+sExGiUw8tUiogdmjg==} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 + dependencies: + '@babel/parser': 7.17.3 + '@babel/traverse': 7.17.3 + '@babel/types': 7.17.0 + '@graphql-tools/utils': 8.6.3_graphql@16.3.0 + graphql: 16.3.0 + tslib: 2.3.1 + transitivePeerDependencies: + - supports-color + dev: true + /@graphql-tools/import/6.6.7_graphql@15.8.0: resolution: {integrity: sha512-zzpnVtmdel3mKz6i46GUib4wn0K5dosq4OTBl4avKV6ElvgZTkvsvfSv2aRhbRGIT4VnZPXLfzSnmYd8e+SRLQ==} peerDependencies: @@ -6306,6 +6634,17 @@ packages: tslib: 2.3.1 dev: true + /@graphql-tools/import/6.6.7_graphql@16.3.0: + resolution: {integrity: sha512-zzpnVtmdel3mKz6i46GUib4wn0K5dosq4OTBl4avKV6ElvgZTkvsvfSv2aRhbRGIT4VnZPXLfzSnmYd8e+SRLQ==} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 + dependencies: + '@graphql-tools/utils': 8.6.3_graphql@16.3.0 + graphql: 16.3.0 + resolve-from: 5.0.0 + tslib: 2.3.1 + dev: true + /@graphql-tools/json-file-loader/6.2.6_graphql@15.8.0: resolution: {integrity: sha512-CnfwBSY5926zyb6fkDBHnlTblHnHI4hoBALFYXnrg0Ev4yWU8B04DZl/pBRUc459VNgO2x8/mxGIZj2hPJG1EA==} peerDependencies: @@ -6328,6 +6667,18 @@ packages: unixify: 1.0.0 dev: true + /@graphql-tools/json-file-loader/7.3.5_graphql@16.3.0: + resolution: {integrity: sha512-okgpMnxxwqzhMkj3l4+pZYaDVjJeDtxahMjfm5XqUEFoP6b0uEyUkd45/BoRUhmctc9OYomLWFULytyhrkvZOw==} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 + dependencies: + '@graphql-tools/utils': 8.6.3_graphql@16.3.0 + globby: 11.1.0 + graphql: 16.3.0 + tslib: 2.3.1 + unixify: 1.0.0 + dev: true + /@graphql-tools/load-files/6.5.3_graphql@16.3.0: resolution: {integrity: sha512-hu6hw2fj3ltno7ezbyAQc5VdLCymgx0XIwvk0l9sWAlV2xnaNcX7p/z1qm6U/db2MiCumRBBIm/QuR7Jn71qZg==} peerDependencies: @@ -6368,6 +6719,18 @@ packages: tslib: 2.3.1 dev: true + /@graphql-tools/load/7.5.3_graphql@16.3.0: + resolution: {integrity: sha512-GYwLyGfX1nKUxg6rnTIdryv9d+ugFRTm2q11+IqNsajwNhxJExkx+e/h81AQR5382sAmPEIT+E1J1VS3xNfjyg==} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 + dependencies: + '@graphql-tools/schema': 8.3.3_graphql@16.3.0 + '@graphql-tools/utils': 8.6.3_graphql@16.3.0 + graphql: 16.3.0 + p-limit: 3.1.0 + tslib: 2.3.1 + dev: true + /@graphql-tools/merge/6.2.14_graphql@15.8.0: resolution: {integrity: sha512-RWT4Td0ROJai2eR66NHejgf8UwnXJqZxXgDWDI+7hua5vNA2OW8Mf9K1Wav1ZkjWnuRp4ztNtkZGie5ISw55ow==} peerDependencies: @@ -6427,7 +6790,6 @@ packages: '@graphql-tools/utils': 8.6.3_graphql@16.3.0 graphql: 16.3.0 tslib: 2.3.1 - dev: false /@graphql-tools/mock/8.6.1_graphql@15.8.0: resolution: {integrity: sha512-ffcKu/9bd/Pt6f0EWxv5rK4TUseWXSqvGecUAKn1I5Zs0kDqStKwU5oxBp01NAsi0JbvvCTWyKIWkBnxKJRSZw==} @@ -6469,7 +6831,6 @@ packages: dependencies: graphql: 16.3.0 tslib: 2.3.1 - dev: false /@graphql-tools/prisma-loader/6.3.0_d7ddc960e94a93e6219434443c45ea11: resolution: {integrity: sha512-9V3W/kzsFBmUQqOsd96V4a4k7Didz66yh/IK89B1/rrvy9rYj+ULjEqR73x9BYZ+ww9FV8yP8LasWAJwWaqqJQ==} @@ -6506,6 +6867,40 @@ packages: - utf-8-validate dev: true + /@graphql-tools/prisma-loader/7.1.3_a827a5d0da07b11b42534ab7eb813b16: + resolution: {integrity: sha512-gXCea/7N30auULj1ele8a3QNDF1pIS635J34IoKb2/B71psFMaFQd2nTIOChypecdAuUFBNR57HYA1sEfXVXBA==} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 + dependencies: + '@graphql-tools/url-loader': 7.9.4_a827a5d0da07b11b42534ab7eb813b16 + '@graphql-tools/utils': 8.6.3_graphql@16.3.0 + '@types/js-yaml': 4.0.5 + '@types/json-stable-stringify': 1.0.34 + '@types/jsonwebtoken': 8.5.8 + chalk: 4.1.2 + debug: 4.3.3 + dotenv: 16.0.0 + graphql: 16.3.0 + graphql-request: 4.1.0_graphql@16.3.0 + http-proxy-agent: 5.0.0 + https-proxy-agent: 5.0.0 + isomorphic-fetch: 3.0.0 + js-yaml: 4.1.0 + json-stable-stringify: 1.0.1 + jsonwebtoken: 8.5.1 + lodash: 4.17.21 + replaceall: 0.1.6 + scuid: 1.1.0 + tslib: 2.3.1 + yaml-ast-parser: 0.0.43 + transitivePeerDependencies: + - '@types/node' + - bufferutil + - encoding + - supports-color + - utf-8-validate + dev: true + /@graphql-tools/prisma-loader/7.1.3_d7ddc960e94a93e6219434443c45ea11: resolution: {integrity: sha512-gXCea/7N30auULj1ele8a3QNDF1pIS635J34IoKb2/B71psFMaFQd2nTIOChypecdAuUFBNR57HYA1sEfXVXBA==} peerDependencies: @@ -6566,7 +6961,6 @@ packages: transitivePeerDependencies: - encoding - supports-color - dev: false /@graphql-tools/schema/7.1.5_graphql@15.8.0: resolution: {integrity: sha512-uyn3HSNSckf4mvQSq0Q07CPaVZMNFCYEVxroApOaw802m9DcZPgf9XVPy/gda5GWj9AhbijfRYVTZQgHnJ4CXA==} @@ -6636,7 +7030,6 @@ packages: graphql: 16.3.0 tslib: 2.3.1 value-or-promise: 1.0.11 - dev: false /@graphql-tools/url-loader/6.10.1_d7ddc960e94a93e6219434443c45ea11: resolution: {integrity: sha512-DSDrbhQIv7fheQ60pfDpGD256ixUQIR6Hhf9Z5bRjVkXOCvO5XrkwoWLiU7iHL81GB1r0Ba31bf+sl+D4nyyfw==} @@ -6670,6 +7063,37 @@ packages: - utf-8-validate dev: true + /@graphql-tools/url-loader/7.9.4_a827a5d0da07b11b42534ab7eb813b16: + resolution: {integrity: sha512-M38H/z1KfG+oBHwVXCce3DyhFEspEn9olNkoW1VLgG1sEBbhWJ9Con44dwcZzkatlKH36mz8hxMDPvFWmAb8sg==} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 + dependencies: + '@graphql-tools/delegate': 8.5.4_graphql@16.3.0 + '@graphql-tools/utils': 8.6.3_graphql@16.3.0 + '@graphql-tools/wrap': 8.4.6_graphql@16.3.0 + '@n1ru4l/graphql-live-query': 0.9.0_graphql@16.3.0 + '@types/websocket': 1.0.5 + '@types/ws': 8.5.3 + cross-undici-fetch: 0.1.25 + dset: 3.1.1 + extract-files: 11.0.0 + graphql: 16.3.0 + graphql-sse: 1.1.0_graphql@16.3.0 + graphql-ws: 5.6.3_graphql@16.3.0 + isomorphic-ws: 4.0.1_ws@8.5.0 + meros: 1.2.0_@types+node@17.0.21 + subscriptions-transport-ws: 0.11.0_graphql@16.3.0 + sync-fetch: 0.3.1 + tslib: 2.3.1 + value-or-promise: 1.0.11 + ws: 8.5.0 + transitivePeerDependencies: + - '@types/node' + - bufferutil + - encoding + - utf-8-validate + dev: true + /@graphql-tools/url-loader/7.9.4_d7ddc960e94a93e6219434443c45ea11: resolution: {integrity: sha512-M38H/z1KfG+oBHwVXCce3DyhFEspEn9olNkoW1VLgG1sEBbhWJ9Con44dwcZzkatlKH36mz8hxMDPvFWmAb8sg==} peerDependencies: @@ -6754,7 +7178,6 @@ packages: dependencies: graphql: 16.3.0 tslib: 2.3.1 - dev: false /@graphql-tools/wrap/7.0.8_graphql@15.8.0: resolution: {integrity: sha512-1NDUymworsOlb53Qfh7fonDi2STvqCtbeE68ntKY9K/Ju/be2ZNxrFSbrBHwnxWcN9PjISNnLcAyJ1L5tCUyhg==} @@ -6782,6 +7205,19 @@ packages: value-or-promise: 1.0.11 dev: true + /@graphql-tools/wrap/8.4.6_graphql@16.3.0: + resolution: {integrity: sha512-tU+8QCoe8lLXduzEIDVVPX8iY3hT+Jz+SapIcxqLqv/MAdaxtGx2HpLl+vMn8Ba1IPcqAXtomLmDMSXI0mG0jw==} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 + dependencies: + '@graphql-tools/delegate': 8.5.4_graphql@16.3.0 + '@graphql-tools/schema': 8.3.3_graphql@16.3.0 + '@graphql-tools/utils': 8.6.3_graphql@16.3.0 + graphql: 16.3.0 + tslib: 2.3.1 + value-or-promise: 1.0.11 + dev: true + /@graphql-typed-document-node/core/3.1.1_graphql@15.8.0: resolution: {integrity: sha512-NQ17ii0rK1b34VZonlmT2QMJFI70m0TRwbknO/ihlbatXyaktDhN/98vBiUU6kNBPljqGqyIrl2T4nY2RpFANg==} peerDependencies: @@ -7783,6 +8219,14 @@ packages: graphql: 15.8.0 dev: true + /@n1ru4l/graphql-live-query/0.9.0_graphql@16.3.0: + resolution: {integrity: sha512-BTpWy1e+FxN82RnLz4x1+JcEewVdfmUhV1C6/XYD5AjS7PQp9QFF7K8bCD6gzPTr2l+prvqOyVueQhFJxB1vfg==} + peerDependencies: + graphql: ^15.4.0 || ^16.0.0 + dependencies: + graphql: 16.3.0 + dev: true + /@nestjs/apollo/10.0.7_cd40b36624429e651a34ae722cf3b5de: resolution: {integrity: sha512-bc1aDGUyELiI4QUpLBUseQ5l0rmAP88jW+r/U3xynImkM2fH1XFwZq1l0kcE54TCRKWFLFUI0/cYTpBuYQPVyA==} peerDependencies: @@ -7803,10 +8247,10 @@ packages: apollo-server-fastify: optional: true dependencies: - '@nestjs/common': 8.4.1_42d0aab3c7e76939a6bb0b49849c2197 + '@nestjs/common': 8.4.1_5199533202e21c7185c9d97f881e2827 '@nestjs/core': 8.4.1_03a788a1eb0bf93a7b64e9ce96523e26 - '@nestjs/graphql': 10.0.7_db1bacd9f2924eedb943e475d4666695 - apollo-server-express: 3.6.4_graphql@15.8.0 + '@nestjs/graphql': 10.0.7_72dc7d65d3219a3739c3b17621fab33b + apollo-server-express: 3.6.4_graphql@16.3.0 iterall: 1.3.0 lodash.omit: 4.5.0 tslib: 2.3.1 @@ -7946,7 +8390,7 @@ packages: '@nestjs/websockets': optional: true dependencies: - '@nestjs/common': 8.4.1_42d0aab3c7e76939a6bb0b49849c2197 + '@nestjs/common': 8.4.1_5199533202e21c7185c9d97f881e2827 '@nestjs/platform-express': 8.4.1_214a294e539403889bf33d78c1f08a26 '@nuxtjs/opencollective': 0.3.2 fast-safe-stringify: 2.1.1 @@ -8088,8 +8532,8 @@ packages: fastify: ^3.25.0 mercurius: ^8.12.0 || ^9.0.0 dependencies: - '@nestjs/common': 8.4.1_42d0aab3c7e76939a6bb0b49849c2197 - '@nestjs/graphql': 10.0.7_db1bacd9f2924eedb943e475d4666695 + '@nestjs/common': 8.4.1_5199533202e21c7185c9d97f881e2827 + '@nestjs/graphql': 10.0.7_72dc7d65d3219a3739c3b17621fab33b mercurius: 9.3.5 tslib: 2.3.1 dev: false @@ -8100,7 +8544,7 @@ packages: '@nestjs/common': ^8.0.0 '@nestjs/core': ^8.0.0 dependencies: - '@nestjs/common': 8.4.1_42d0aab3c7e76939a6bb0b49849c2197 + '@nestjs/common': 8.4.1_5199533202e21c7185c9d97f881e2827 '@nestjs/core': 8.4.1_03a788a1eb0bf93a7b64e9ce96523e26 body-parser: 1.19.2 cors: 2.8.5 @@ -8172,7 +8616,7 @@ packages: optional: true dependencies: optional: 0.1.4 - '@nestjs/common': 8.4.1_42d0aab3c7e76939a6bb0b49849c2197 + '@nestjs/common': 8.4.1_5199533202e21c7185c9d97f881e2827 '@nestjs/core': 8.4.1_03a788a1eb0bf93a7b64e9ce96523e26 '@nestjs/platform-express': 8.4.1_214a294e539403889bf33d78c1f08a26 tslib: 2.3.1 @@ -20735,6 +21179,32 @@ packages: - utf-8-validate dev: true + /graphql-config/4.1.0_3b667ef9fa2e39a39933bb2c0a49d7d2: + resolution: {integrity: sha512-Myqay6pmdcmX3KqoH+bMbeKZ1cTODpHS2CxF1ZzNnfTE+YUpGTcp01bOw6LpzamRb0T/WTYtGFbZeXGo9Hab2Q==} + engines: {node: '>= 10.0.0'} + peerDependencies: + graphql: ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 + dependencies: + '@endemolshinegroup/cosmiconfig-typescript-loader': 3.0.2_c84a270c92bf6e8d30a9786dab5936e4 + '@graphql-tools/graphql-file-loader': 7.3.5_graphql@16.3.0 + '@graphql-tools/json-file-loader': 7.3.5_graphql@16.3.0 + '@graphql-tools/load': 7.5.3_graphql@16.3.0 + '@graphql-tools/merge': 8.2.4_graphql@16.3.0 + '@graphql-tools/url-loader': 7.9.4_a827a5d0da07b11b42534ab7eb813b16 + '@graphql-tools/utils': 8.6.3_graphql@16.3.0 + cosmiconfig: 7.0.1 + cosmiconfig-toml-loader: 1.0.0 + graphql: 16.3.0 + minimatch: 3.0.4 + string-env-interpolation: 1.0.1 + transitivePeerDependencies: + - '@types/node' + - bufferutil + - encoding + - typescript + - utf-8-validate + dev: true + /graphql-config/4.1.0_8a30c4e86d052b41db6273dff9fbd057: resolution: {integrity: sha512-Myqay6pmdcmX3KqoH+bMbeKZ1cTODpHS2CxF1ZzNnfTE+YUpGTcp01bOw6LpzamRb0T/WTYtGFbZeXGo9Hab2Q==} engines: {node: '>= 10.0.0'} @@ -20780,6 +21250,15 @@ packages: graphql: 15.8.0 dev: true + /graphql-executor/0.0.19_graphql@16.3.0: + resolution: {integrity: sha512-AFOcsk/yMtl9jcO/f/0Our7unWxJ5m3FS5HjWfsXRHCyjjaubXpSHiOZO/hSYv6brayIrupDoVAzCuJpBc3elg==} + engines: {node: ^12.22.0 || ^14.16.0 || >=16.0.0} + peerDependencies: + graphql: ^15.0.0 || ^16.0.0 + dependencies: + graphql: 16.3.0 + dev: true + /graphql-iso-date/3.6.1_graphql@15.8.0: resolution: {integrity: sha512-AwFGIuYMJQXOEAgRlJlFL4H1ncFM8n8XmoVDTNypNOZyQ8LFDG2ppMFlsS862BSTCDcSUfHp8PD3/uJhv7t59Q==} peerDependencies: @@ -20870,6 +21349,19 @@ packages: - encoding dev: true + /graphql-request/4.1.0_graphql@16.3.0: + resolution: {integrity: sha512-CBFcO6LP7cg+aBMc+x9C1dZEQsKTBZKR2J+HzuB0cR/6aaU4K4/tRXTQu8CDMp5195ZU+DTNKZZOSK1WRbTeAg==} + peerDependencies: + graphql: 14 - 16 + dependencies: + cross-fetch: 3.1.5 + extract-files: 9.0.0 + form-data: 3.0.1 + graphql: 16.3.0 + transitivePeerDependencies: + - encoding + dev: true + /graphql-sse/1.1.0_graphql@15.8.0: resolution: {integrity: sha512-xE8AGPJa5X+g7iFmRQw/8H+7lXIDJvSkW6lou/XSSq17opPQl+dbKOMiqraHMx52VrDgS061ZVx90OSuqS6ykA==} engines: {node: '>=12'} @@ -20879,6 +21371,15 @@ packages: graphql: 15.8.0 dev: true + /graphql-sse/1.1.0_graphql@16.3.0: + resolution: {integrity: sha512-xE8AGPJa5X+g7iFmRQw/8H+7lXIDJvSkW6lou/XSSq17opPQl+dbKOMiqraHMx52VrDgS061ZVx90OSuqS6ykA==} + engines: {node: '>=12'} + peerDependencies: + graphql: '>=0.11 <=16' + dependencies: + graphql: 16.3.0 + dev: true + /graphql-subscriptions/1.2.1_graphql@15.8.0: resolution: {integrity: sha512-95yD/tKi24q8xYa7Q9rhQN16AYj5wPbrb8tmHGM3WRc9EBmWrG/0kkMl+tQG8wcEuE9ibR4zyOM31p5Sdr2v4g==} peerDependencies: @@ -20923,7 +21424,6 @@ packages: dependencies: graphql: 16.3.0 tslib: 2.3.1 - dev: false /graphql-type-json/0.3.2_graphql@15.8.0: resolution: {integrity: sha512-J+vjof74oMlCWXSvt0DOf2APEdZOCdubEvGDUAlqH//VBYcOYsGgRW7Xzorr44LvkjiuvecWc8fChxuZZbChtg==} @@ -20989,6 +21489,15 @@ packages: dependencies: graphql: 15.8.0 + /graphql-ws/5.6.3_graphql@16.3.0: + resolution: {integrity: sha512-ZolWOi6bzI35ovGROCZROB9nDbwZiJdIsaPdzW/jkICCGNb3qL/33IONY/yQiBa+Je2uA11HfY4Uxse4+/ePYA==} + engines: {node: '>=10'} + peerDependencies: + graphql: '>=0.11 <=16' + dependencies: + graphql: 16.3.0 + dev: true + /graphql/15.8.0: resolution: {integrity: sha512-5gghUc24tP9HRznNpV2+FIoq3xKkj5dTQqf4v0CpdPbFVwFkWoxOM+o+2OC9ZSvjEMTjfmG9QT+gcvggTwW1zw==} engines: {node: '>= 10.x'} @@ -31922,7 +32431,6 @@ packages: transitivePeerDependencies: - encoding - supports-color - dev: false /relay-runtime/12.0.0: resolution: {integrity: sha512-QU6JKr1tMsry22DXNy9Whsq5rmvwr3LSZiiWV/9+DFpuTWvp+WFhobWMc8TC4OjKFfNhEZy7mOiqUAn5atQtug==} @@ -34119,7 +34627,6 @@ packages: transitivePeerDependencies: - bufferutil - utf-8-validate - dev: false /subscriptions-transport-ws/0.9.19_graphql@15.8.0: resolution: {integrity: sha512-dxdemxFFB0ppCLg10FTtRqH/31FNRL1y1BQv8209MK5I4CwALb7iihQg+7p65lFcIl8MHatINWBLOqpgU4Kyyw==} @@ -35059,7 +35566,7 @@ packages: '@types/jest': 27.4.1 bs-logger: 0.2.6 fast-json-stable-stringify: 2.1.0 - jest: 27.5.1_ts-node@10.7.0 + jest: 27.5.1_ts-node@10.5.0 jest-util: 27.5.1 json5: 2.2.0 lodash.memoize: 4.1.2