UNPKG

@aws-amplify/graphql-directives

Version:

Directive definitions for Amplify GraphQL transformers.

20 lines 553 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.FunctionDirective = void 0; const name = 'function'; const defaults = { invocationType: 'RequestResponse', }; const definition = ` directive @${name}(name: String!, region: String, accountId: String, invocationType: InvocationType = ${defaults.invocationType}) repeatable on FIELD_DEFINITION enum InvocationType { RequestResponse Event } `; exports.FunctionDirective = { name, definition, defaults, }; //# sourceMappingURL=function.js.map