@aws-amplify/graphql-transformer-interfaces
Advanced tools
Comparing version 3.10.2-sandbox-hotswap.0 to 3.10.2
@@ -505,3 +505,2 @@ ## API Report File for "@aws-amplify/graphql-transformer-interfaces" | ||
enableIamAccess?: boolean; | ||
provisionHotswapFriendlyResources?: boolean; | ||
}; | ||
@@ -723,2 +722,4 @@ | ||
// (undocumented) | ||
fieldOfExtendedType?: (parent: ObjectTypeExtensionNode, definition: FieldDefinitionNode, directive: DirectiveNode, acc: TransformerSchemaVisitStepContextProvider) => void; | ||
// (undocumented) | ||
generateResolvers?: (context: TransformerContextProvider) => void; | ||
@@ -725,0 +726,0 @@ // (undocumented) |
@@ -6,6 +6,8 @@ # Change Log | ||
## [3.10.2-sandbox-hotswap.0](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-transformer-interfaces@3.10.1...@aws-amplify/graphql-transformer-interfaces@3.10.2-sandbox-hotswap.0) (2024-08-20) | ||
## [3.10.2](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-transformer-interfaces@3.10.1...@aws-amplify/graphql-transformer-interfaces@3.10.2) (2025-01-29) | ||
**Note:** Version bump only for package @aws-amplify/graphql-transformer-interfaces | ||
### Bug Fixes | ||
- **gen1:** transform directives on fields of supported extended types ([#3126](https://github.com/aws-amplify/amplify-category-api/issues/3126)) ([845612f](https://github.com/aws-amplify/amplify-category-api/commit/845612f4f9ff0aa7959cea631d7446cc482663c4)) | ||
## [3.10.1](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-transformer-interfaces@3.10.0...@aws-amplify/graphql-transformer-interfaces@3.10.1) (2024-07-15) | ||
@@ -12,0 +14,0 @@ |
@@ -10,4 +10,3 @@ export type SynthParameters = { | ||
enableIamAccess?: boolean; | ||
provisionHotswapFriendlyResources?: boolean; | ||
}; | ||
//# sourceMappingURL=synth-parameters.d.ts.map |
@@ -1,2 +0,2 @@ | ||
import { DirectiveNode, ObjectTypeDefinitionNode, InterfaceTypeDefinitionNode, FieldDefinitionNode, UnionTypeDefinitionNode, EnumTypeDefinitionNode, ScalarTypeDefinitionNode, InputObjectTypeDefinitionNode, InputValueDefinitionNode, EnumValueDefinitionNode, DirectiveDefinitionNode, TypeDefinitionNode, DocumentNode } from 'graphql'; | ||
import { DirectiveNode, ObjectTypeDefinitionNode, InterfaceTypeDefinitionNode, FieldDefinitionNode, UnionTypeDefinitionNode, EnumTypeDefinitionNode, ScalarTypeDefinitionNode, InputObjectTypeDefinitionNode, InputValueDefinitionNode, EnumValueDefinitionNode, DirectiveDefinitionNode, TypeDefinitionNode, DocumentNode, ObjectTypeExtensionNode } from 'graphql'; | ||
import { TransformerBeforeStepContextProvider, TransformerContextProvider, TransformerPrepareStepContextProvider, TransformerSchemaVisitStepContextProvider, TransformerValidationStepContextProvider, TransformerTransformSchemaStepContextProvider } from './transformer-context/transformer-context-provider'; | ||
@@ -22,2 +22,3 @@ import { TransformerPreProcessContextProvider } from './transformer-context'; | ||
field?: (parent: ObjectTypeDefinitionNode | InterfaceTypeDefinitionNode, definition: FieldDefinitionNode, directive: DirectiveNode, acc: TransformerSchemaVisitStepContextProvider) => void; | ||
fieldOfExtendedType?: (parent: ObjectTypeExtensionNode, definition: FieldDefinitionNode, directive: DirectiveNode, acc: TransformerSchemaVisitStepContextProvider) => void; | ||
argument?: (definition: InputValueDefinitionNode, directive: DirectiveNode, context: TransformerSchemaVisitStepContextProvider) => void; | ||
@@ -24,0 +25,0 @@ union?: (definition: UnionTypeDefinitionNode, directive: DirectiveNode, context: TransformerSchemaVisitStepContextProvider) => void; |
{ | ||
"name": "@aws-amplify/graphql-transformer-interfaces", | ||
"version": "3.10.2-sandbox-hotswap.0", | ||
"version": "3.10.2", | ||
"description": "Amplify GraphQL transformer interface definitions", | ||
@@ -63,3 +63,3 @@ "repository": { | ||
}, | ||
"gitHead": "2992e134d8e284cb8c9bb01263d300cfb2b771c8" | ||
"gitHead": "cf91f407b3e9fcafea96629a7fc5266e19020ccc" | ||
} |
@@ -10,3 +10,2 @@ export type SynthParameters = { | ||
enableIamAccess?: boolean; | ||
provisionHotswapFriendlyResources?: boolean; | ||
}; |
@@ -15,3 +15,5 @@ import { | ||
DocumentNode, | ||
ObjectTypeExtensionNode, | ||
} from 'graphql'; | ||
// eslint-disable-next-line import/no-cycle | ||
import { | ||
@@ -70,4 +72,3 @@ TransformerBeforeStepContextProvider, | ||
* A transformer implements a single function per location that its directive can be applied. | ||
* This method handles transforming directives on objects type definitions. This includes type | ||
* extensions. | ||
* This method handles transforming directives on objects type definitions. | ||
*/ | ||
@@ -78,4 +79,3 @@ object?: (definition: ObjectTypeDefinitionNode, directive: DirectiveNode, acc: TransformerSchemaVisitStepContextProvider) => void; | ||
* A transformer implements a single function per location that its directive can be applied. | ||
* This method handles transforming directives on objects type definitions. This includes type | ||
* extensions. | ||
* This method handles transforming directives on interface type definitions. | ||
*/ | ||
@@ -96,2 +96,13 @@ interface?: (definition: InterfaceTypeDefinitionNode, directive: DirectiveNode, acc: TransformerSchemaVisitStepContextProvider) => void; | ||
/** | ||
* A transformer implements a single function per location that its directive can be applied. This method handles transforming directives | ||
* on fields of extended types. | ||
*/ | ||
fieldOfExtendedType?: ( | ||
parent: ObjectTypeExtensionNode, | ||
definition: FieldDefinitionNode, | ||
directive: DirectiveNode, | ||
acc: TransformerSchemaVisitStepContextProvider, | ||
) => void; | ||
/** | ||
* A transformer implements a single function per location that its directive can be applied. | ||
@@ -98,0 +109,0 @@ * This method handles transforming directives on object or input argument definitions. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
603498
2101
1