1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | exports.apolloClientSchemaDocument = exports.apolloClientSchema = void 0;
|
4 | const document_1 = require("../document");
|
5 | const graphql_1 = require("graphql");
|
6 | exports.apolloClientSchema = `#graphql
|
7 | """
|
8 | Direct the client to resolve this field locally, either from the cache or local resolvers.
|
9 | """
|
10 | directive @client(
|
11 | """
|
12 | When true, the client will never use the cache for this value. See
|
13 | https://www.apollographql.com/docs/react/essentials/local-state/#forcing-resolvers-with-clientalways-true
|
14 | """
|
15 | always: Boolean
|
16 | ) on FIELD | FRAGMENT_DEFINITION | INLINE_FRAGMENT
|
17 |
|
18 | """
|
19 | Export this locally resolved field as a variable to be used in the remainder of this query. See
|
20 | https://www.apollographql.com/docs/react/essentials/local-state/#using-client-fields-as-variables
|
21 | """
|
22 | directive @export(
|
23 | """
|
24 | The variable name to export this field as.
|
25 | """
|
26 | as: String!
|
27 | ) on FIELD
|
28 |
|
29 | """
|
30 | Specify a custom store key for this result. See
|
31 | https://www.apollographql.com/docs/react/advanced/caching/#the-connection-directive
|
32 | """
|
33 | directive @connection(
|
34 | """
|
35 | Specify the store key.
|
36 | """
|
37 | key: String!
|
38 | """
|
39 | An array of query argument names to include in the generated custom store key.
|
40 | """
|
41 | filter: [String!]
|
42 | ) on FIELD
|
43 | `;
|
44 | exports.apolloClientSchemaDocument = new document_1.GraphQLDocument(new graphql_1.Source(exports.apolloClientSchema));
|
45 |
|
\ | No newline at end of file |