@aws-amplify/graphql-directives
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

Amplify GraphQL Directives

Source of truth for the GraphQL directive definition used by the Amplify GraphQL API.

⚠️ Intended for internal Amplify use only.

Description

This package defines the GraphQL directives in GraphQL syntax. Each directive is imported into the corresponding GraphQL transformer. This package is responsible for the name, definition, and argument defaults for a directive. The GraphQL transformers utilize the GraphQL directives to define the behavior of the transform.

This package also contains the AppSync GraphQL directives. These directives are defined internally by AppSync. The definitions here are copied from the internal definition.

This package is intended to be the only source of truth for the GraphQL directive definitions used by the Amplify GraphQL API. This package should be imported in place of reproducing the definitions in other packages.

Readme

Keywords

Package Sidebar

Install

npm i @aws-amplify/graphql-directives

Weekly Downloads

15,000

Version

1.1.0

License

Apache-2.0

Unpacked Size

75.9 kB

Total Files

157

Last publish

Collaborators

  • amplify-data-dev-npm
  • amplify-studio-uibuilder
  • amplify-codegen
  • amzn-oss
  • undefobj
  • aws-amplify-ops
  • manuel.iglesias
  • thaddmt
  • mattsb42-aws