UNPKG

graphql-transformer-core

Version:

A framework to transform from GraphQL SDL to AWS cloudFormation.

34 lines 1.04 kB
export interface Template { AWSTemplateFormatVersion?: string; Description?: string; Metadata?: Record<string, any>; Parameters?: Record<string, any>; Mappings?: { [key: string]: { [key: string]: Record<string, string | number | string[]>; }; }; Conditions?: Record<string, any>; Transform?: any; Resources?: Record<string, any>; Outputs?: Record<string, any>; } export interface StackMapping { [resourceId: string]: string; } export interface ResolversFunctionsAndSchema { resolvers: Record<string, string>; pipelineFunctions: Record<string, string>; functions: Record<string, string>; schema: string; userOverriddenSlots: string[]; } export interface NestedStacks { rootStack: Template; stacks: Record<string, Template>; stackMapping: Record<string, string>; } export interface DeploymentResources extends ResolversFunctionsAndSchema, NestedStacks { stackMapping: StackMapping; } //# sourceMappingURL=deployment-resources.d.ts.map