UNPKG

@aws-amplify/graphql-types-generator

Version:

Generate API code or type annotations based on a GraphQL schema and statements

19 lines 564 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getTypeForAWSScalar = exports.awsScalarMap = void 0; exports.awsScalarMap = { AWSDate: 'String', AWSTime: 'String', AWSDateTime: 'String', AWSTimestamp: 'Int', AWSEmail: 'String', AWSJSON: 'String', AWSURL: 'String', AWSPhone: 'String', AWSIPAddress: 'String', }; function getTypeForAWSScalar(type) { return exports.awsScalarMap[type.name]; } exports.getTypeForAWSScalar = getTypeForAWSScalar; //# sourceMappingURL=aws-scalar-helper.js.map