aws-appsync-butler
Service Classes
Error Classes
- ValidationError
- DataSourceTypeMismatchError
- DataSourceNotFoundError
- FunctionNotFoundError
- PipelineValidationError
- UndefinedVariableError
- InvalidDirectiveError
- DirectoryValidationError
Interfaces
- ResolverTree
- SstLoaderOptions
- CdkLoaderOptions
- ParsedVtlFile
- ParsedVtlRequest
- ParsedUnitResolverInfo
- ParsedPipelineResolverInfo
- ParsedFunctionInfo
- ParserOptions
- FileInfo
- UnitResolverInfo
- PipelineResolverInfo
- FunctionInfo
- UnitDirectoryStructure
- PipelineDirectoryStructure
- DirectoryStructure
- ReaderOptions
Enumerations
Type aliases
DataSource
ฦฌ DataSource: BaseDataSource | string
LoaderOptions
ฦฌ LoaderOptions: SstLoaderOptions | CdkLoaderOptions
ParsedResolverInfo
ฦฌ ParsedResolverInfo: ParsedUnitResolverInfo | ParsedPipelineResolverInfo
ResolverInfo
ฦฌ ResolverInfo: UnitResolverInfo | PipelineResolverInfo
Functions
createLoader
โธ createLoader(scope, options): CdkLoader
Instantialize a CDK Loader instance
Parameters
| Name | Type | Description |
|---|---|---|
scope | Construct | CDK Stack |
options | CdkLoaderOptions | CDK Loader options |
Returns
โธ createLoader(scope, options): SstLoader
Instantialize an SST Loader instance
Parameters
| Name | Type | Description |
|---|---|---|
scope | Construct | SST Stack |
options | SstLoaderOptions | SST Loader options |
Returns
โธ createLoader(scope, options): CdkLoader | SstLoader
Instantialize a CDK or SST Loader instance
Parameters
| Name | Type | Description |
|---|---|---|
scope | Construct | Stack |
options | SstLoaderOptions | CdkLoaderOptions | CDK or SST Loader options |
Returns
getGraphqlFiles
โธ Const getGraphqlFiles(directory): string[]
Returns a list of *.graphql file paths in the specified directory
Parameters
| Name | Type | Description |
|---|---|---|
directory | string | path to the directory containing .graphql files |
Returns
string[]
An array of .graphql file paths in the form of ${directory}/.graphql