|
| 1 | +import { FieldDefinitionNode, FragmentDefinitionNode } from "graphql"; |
| 2 | +import { TypeMap } from "graphql/type/schema"; |
| 3 | +import { ContentManager } from "."; |
| 4 | +export declare function injectGlobalConfigCode({ contentManager, typescriptCodegenOutputPath, withResolverTypes, withTypePolicies }: { |
| 5 | + contentManager: ContentManager; |
| 6 | + typescriptCodegenOutputPath: string; |
| 7 | + withResolverTypes: boolean; |
| 8 | + withTypePolicies: boolean; |
| 9 | +}): void; |
| 10 | +export declare function injectEntityTypePolicy({ contentManager, entityName, fragmentName, trimString, primaryKeyIdField, typescriptCodegenOutputPath }: { |
| 11 | + contentManager: ContentManager; |
| 12 | + entityName: string; |
| 13 | + fragmentName: string; |
| 14 | + trimString?: string; |
| 15 | + primaryKeyIdField?: FieldDefinitionNode | null; |
| 16 | + typescriptCodegenOutputPath: string; |
| 17 | +}): void; |
| 18 | +export declare function injectEntityCacheRedirect({ contentManager, entityName, fragmentName, trimString, primaryKeyIdField, typescriptCodegenOutputPath }: { |
| 19 | + contentManager: ContentManager; |
| 20 | + entityName: string; |
| 21 | + fragmentName: string; |
| 22 | + trimString?: string; |
| 23 | + primaryKeyIdField?: FieldDefinitionNode | null; |
| 24 | + typescriptCodegenOutputPath: string; |
| 25 | +}): void; |
| 26 | +export declare function injectEntityResolverTypes({ contentManager, entityName, fragmentName, trimString, primaryKeyIdField, typescriptCodegenOutputPath }: { |
| 27 | + contentManager: ContentManager; |
| 28 | + entityName: string; |
| 29 | + fragmentName: string; |
| 30 | + trimString?: string; |
| 31 | + primaryKeyIdField: FieldDefinitionNode; |
| 32 | + typescriptCodegenOutputPath: string; |
| 33 | +}): void; |
| 34 | +export declare function injectCombinedTypePolicyObject(fragmentDefinitionNodes: FragmentDefinitionNode[], contentManager: ContentManager, schemaTypeMap: TypeMap, trimString?: string): void; |
0 commit comments