@aws-amplify/graphql-transformer-core
Version:
A framework to transform from GraphQL SDL to AWS CloudFormation.
11 lines • 1.08 kB
TypeScript
import { ObjectTypeDefinitionNode } from 'graphql';
import { Expression } from 'graphql-mapping-template';
import { TransformerContextProvider } from '@aws-amplify/graphql-transformer-interfaces';
export declare const getParameterStoreSecretPath: (secret: string, secretsKey: string, apiName: string, environmentName: string, appId: string) => string;
export declare const getNonScalarFields: (object: ObjectTypeDefinitionNode | undefined, ctx: TransformerContextProvider) => string[];
export declare const getArrayFields: (object: ObjectTypeDefinitionNode | undefined, ctx: TransformerContextProvider) => string[];
export declare const constructNonScalarFieldsStatement: (tableName: string, ctx: TransformerContextProvider) => Expression;
export declare const constructArrayFieldsStatement: (tableName: string, ctx: TransformerContextProvider) => Expression;
export declare const constructFieldMappingInput: () => Expression;
export declare const constructAuthFilterStatement: (keyName: string, emptyAuthFilter?: boolean) => Expression;
//# sourceMappingURL=rds-util.d.ts.map