@aws-amplify/graphql-transformer-interfaces
Advanced tools
Comparing version 1.8.0 to 1.8.1-siwa-update.0
@@ -6,2 +6,10 @@ # Change Log | ||
## [1.8.1-siwa-update.0](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/graphql-transformer-interfaces@1.8.0...@aws-amplify/graphql-transformer-interfaces@1.8.1-siwa-update.0) (2021-08-05) | ||
**Note:** Version bump only for package @aws-amplify/graphql-transformer-interfaces | ||
# [1.8.0](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/graphql-transformer-interfaces@1.7.0...@aws-amplify/graphql-transformer-interfaces@1.8.0) (2021-07-30) | ||
@@ -8,0 +16,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { TypeDefinitionNode, SchemaDefinitionNode, ObjectTypeDefinitionNode, TypeSystemDefinitionNode, FieldDefinitionNode, ObjectTypeExtensionNode, InputObjectTypeExtensionNode, InterfaceTypeExtensionNode, UnionTypeExtensionNode, EnumTypeExtensionNode, InputObjectTypeDefinitionNode, EnumTypeDefinitionNode } from 'graphql'; | ||
import { TypeDefinitionNode, SchemaDefinitionNode, ObjectTypeDefinitionNode, TypeSystemDefinitionNode, FieldDefinitionNode, ObjectTypeExtensionNode, InputObjectTypeExtensionNode, InterfaceTypeExtensionNode, UnionTypeExtensionNode, EnumTypeExtensionNode, InputObjectTypeDefinitionNode, EnumTypeDefinitionNode, UnionTypeDefinitionNode } from 'graphql'; | ||
export interface TransformerContextOutputProvider { | ||
@@ -19,2 +19,3 @@ getTypeDefinitionsOfKind: (kind: string) => TypeDefinitionNode[]; | ||
getObject(name: string): ObjectTypeDefinitionNode | undefined; | ||
addUnion(obj: UnionTypeDefinitionNode): void; | ||
addQueryFields(fields: FieldDefinitionNode[]): void; | ||
@@ -21,0 +22,0 @@ addMutationFields(fields: FieldDefinitionNode[]): void; |
{ | ||
"name": "@aws-amplify/graphql-transformer-interfaces", | ||
"version": "1.8.0", | ||
"version": "1.8.1-siwa-update.0", | ||
"description": "Amplify GraphQL transformer interface definitions", | ||
@@ -64,3 +64,3 @@ "repository": { | ||
}, | ||
"gitHead": "7564914b8bcdcb667b88789cbdaed9fdbc8cdb82" | ||
"gitHead": "28c2069c1691787d25d7c4ad39c02d08a8da1c48" | ||
} |
@@ -14,2 +14,3 @@ import { | ||
EnumTypeDefinitionNode, | ||
UnionTypeDefinitionNode, | ||
} from 'graphql'; | ||
@@ -76,2 +77,9 @@ | ||
/** | ||
* Add an union type definition node to the context. If the type already | ||
* exists an error will be thrown. | ||
* @param obj The union type definition node to add. | ||
*/ | ||
addUnion(obj: UnionTypeDefinitionNode): void; | ||
/** | ||
* Extends the context query object with additional fields. | ||
@@ -78,0 +86,0 @@ * If the customer uses a name other than 'Query' this will proxy to the |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
801179
1073
2