Socket
Socket
Sign inDemoInstall

@aws-amplify/graphql-transformer-interfaces

Package Overview
Dependencies
Maintainers
7
Versions
316
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-amplify/graphql-transformer-interfaces - npm Package Compare versions

Comparing version 1.8.0 to 1.8.1-beta.0

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

## [1.8.1-beta.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-beta.0) (2021-08-06)
**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 @@

3

lib/transformer-context/transformer-context-output-provider.d.ts

@@ -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-beta.0",
"description": "Amplify GraphQL transformer interface definitions",

@@ -64,3 +64,3 @@ "repository": {

},
"gitHead": "7564914b8bcdcb667b88789cbdaed9fdbc8cdb82"
"gitHead": "047b541e0e6e005ebb798d69516c5170653c0d42"
}

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc