UNPKG

@aws-amplify/graphql-generator

Version:
76 lines (59 loc) 2.22 kB
## API Report File for "@aws-amplify/graphql-generator" > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). ```ts import { Source } from 'graphql'; import { Target } from '@aws-amplify/appsync-modelgen-plugin'; import { Target as Target_2 } from '@aws-amplify/graphql-types-generator'; // @public (undocumented) export type GeneratedOutput = { [filepath: string]: string; }; // @public (undocumented) export function generateModels(options: GenerateModelsOptions): Promise<GeneratedOutput>; // @public (undocumented) export type GenerateModelsOptions = { schema: string; target: ModelsTarget; directives?: string; isDataStoreEnabled?: boolean; generateIndexRules?: boolean; emitAuthProvider?: boolean; useExperimentalPipelinedTransformer?: boolean; transformerVersion?: number; respectPrimaryKeyAttributesOnConnectionField?: boolean; improvePluralization?: boolean; generateModelsForLazyLoadAndCustomSelectionSet?: boolean; addTimestampFields?: boolean; handleListNullabilityTransparently?: boolean; }; // @public (undocumented) export function generateModelsSync(options: GenerateModelsOptions): GeneratedOutput; // @public (undocumented) export function generateStatements(options: GenerateStatementsOptions): GeneratedOutput; // @public (undocumented) export type GenerateStatementsOptions = { schema: string; target: StatementsTarget; maxDepth?: number; typenameIntrospection?: boolean; relativeTypesPath?: string; }; // @public (undocumented) export function generateTypes(options: GenerateTypesOptions): Promise<GeneratedOutput>; // @public (undocumented) export type GenerateTypesOptions = { schema: string; target: TypesTarget; queries: string | Source[]; introspection?: boolean; multipleSwiftFiles?: boolean; amplifyJsLibraryVersion?: number; }; // @public (undocumented) export type ModelsTarget = Target; // @public (undocumented) export type StatementsTarget = 'javascript' | 'graphql' | 'flow' | 'typescript' | 'angular'; // @public (undocumented) export type TypesTarget = Target_2; // (No @packageDocumentation comment for this package) ```