@aws-amplify/graphql-api-construct 1.7.0-iam-auth-with-identityPool-provider-1.0 → 1.7.0
Sign up to get free protection for your applications and to get access to all the features.
- package/.jsii +330 -331
- package/API.md +16 -17
- package/CHANGELOG.md +2 -2
- package/README.md +75 -17
- package/lib/amplify-dynamodb-table-wrapper.js +1 -1
- package/lib/amplify-graphql-api.js +2 -3
- package/lib/amplify-graphql-definition.js +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/internal/authorization-modes.d.ts +1 -2
- package/lib/internal/authorization-modes.js +7 -37
- package/lib/internal/data-source-config.js +37 -4
- package/lib/model-datasource-strategy-types.d.ts +25 -1
- package/lib/model-datasource-strategy-types.js +1 -1
- package/lib/sql-model-datasource-strategy.d.ts +13 -1
- package/lib/sql-model-datasource-strategy.js +26 -4
- package/lib/types.d.ts +5 -51
- package/lib/types.js +1 -1
- package/node_modules/@aws-amplify/graphql-auth-transformer/API.md +2 -4
- package/node_modules/@aws-amplify/graphql-auth-transformer/CHANGELOG.md +2 -4
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/graphql-auth-transformer.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/graphql-auth-transformer.js +21 -33
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/graphql-auth-transformer.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/constants.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/constants.js +0 -1
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/constants.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/definitions.d.ts +2 -3
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/definitions.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/definitions.js +2 -39
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/definitions.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/index.d.ts +1 -2
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/index.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/index.js +11 -22
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/index.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/validations.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/validations.js +4 -11
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/validations.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/warnings.d.ts +0 -1
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/warnings.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/warnings.js +1 -10
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/warnings.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/ddb-vtl-generator.d.ts +1 -1
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/ddb-vtl-generator.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/ddb-vtl-generator.js +1 -1
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/ddb-vtl-generator.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/field.d.ts +1 -1
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/field.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/field.js +7 -14
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/field.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/helpers.d.ts +1 -2
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/helpers.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/helpers.js +3 -14
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/helpers.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/mutation.create.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/mutation.create.js +3 -3
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/mutation.create.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/mutation.delete.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/mutation.delete.js +3 -3
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/mutation.delete.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/mutation.update.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/mutation.update.js +3 -3
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/mutation.update.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/query.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/query.js +2 -2
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/query.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/search.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/search.js +3 -3
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/search.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/subscriptions.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/subscriptions.js +1 -1
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/subscriptions.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/rds/rds-vtl-generator.d.ts +1 -1
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/rds/rds-vtl-generator.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/rds/rds-vtl-generator.js +2 -2
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/rds/rds-vtl-generator.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/rds/resolvers/common.d.ts +2 -3
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/rds/resolvers/common.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/rds/resolvers/common.js +14 -34
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/rds/resolvers/common.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/rds/resolvers/mutation.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/rds/resolvers/mutation.js +5 -5
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/rds/resolvers/mutation.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/rds/resolvers/query.js +3 -3
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/rds/resolvers/query.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/rds/resolvers/subscription.js +1 -1
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/rds/resolvers/subscription.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/vtl-generator.d.ts +1 -1
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/vtl-generator.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-auth-transformer/package.json +14 -13
- package/node_modules/@aws-amplify/graphql-default-value-transformer/CHANGELOG.md +1 -1
- package/node_modules/@aws-amplify/graphql-default-value-transformer/lib/graphql-default-value-transformer.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-default-value-transformer/lib/graphql-default-value-transformer.js +2 -5
- package/node_modules/@aws-amplify/graphql-default-value-transformer/lib/graphql-default-value-transformer.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-default-value-transformer/package.json +9 -8
- package/node_modules/@aws-amplify/graphql-directives/API.md +158 -0
- package/node_modules/@aws-amplify/graphql-directives/CHANGELOG.md +8 -0
- package/node_modules/@aws-amplify/graphql-directives/Readme.md +19 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/appsync/aws-api-key.d.ts +3 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/appsync/aws-api-key.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/appsync/aws-api-key.js +14 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/appsync/aws-api-key.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/appsync/aws-auth.d.ts +3 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/appsync/aws-auth.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/appsync/aws-auth.js +14 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/appsync/aws-auth.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/appsync/aws-cognito-user-pools.d.ts +3 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/appsync/aws-cognito-user-pools.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/appsync/aws-cognito-user-pools.js +14 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/appsync/aws-cognito-user-pools.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/appsync/aws-iam.d.ts +3 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/appsync/aws-iam.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/appsync/aws-iam.js +14 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/appsync/aws-iam.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/appsync/aws-lambda.d.ts +3 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/appsync/aws-lambda.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/appsync/aws-lambda.js +14 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/appsync/aws-lambda.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/appsync/aws-oidc.d.ts +3 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/appsync/aws-oidc.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/appsync/aws-oidc.js +14 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/appsync/aws-oidc.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/appsync/aws-subscribe.d.ts +3 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/appsync/aws-subscribe.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/appsync/aws-subscribe.js +14 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/appsync/aws-subscribe.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/appsync/index.d.ts +8 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/appsync/index.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/appsync/index.js +18 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/appsync/index.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/auth.d.ts +3 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/auth.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/auth.js +49 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/auth.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/belongs-to.d.ts +3 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/belongs-to.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/belongs-to.js +14 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/belongs-to.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/default.d.ts +3 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/default.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/default.js +14 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/default.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/deprecated.d.ts +3 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/deprecated.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/deprecated.js +14 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/deprecated.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/directive.d.ts +8 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/directive.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/directive.js +3 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/directive.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/function.d.ts +3 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/function.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/function.js +14 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/function.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/has-many.d.ts +6 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/has-many.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/has-many.js +16 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/has-many.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/has-one.d.ts +3 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/has-one.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/has-one.js +14 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/has-one.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/http.d.ts +7 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/http.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/http.js +28 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/http.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/index-directive.d.ts +3 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/index-directive.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/index-directive.js +14 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/index-directive.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/index.d.ts +21 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/index.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/index.js +54 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/index.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/many-to-many.d.ts +6 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/many-to-many.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/many-to-many.js +16 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/many-to-many.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/maps-to.d.ts +3 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/maps-to.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/maps-to.js +14 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/maps-to.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/model.d.ts +3 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/model.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/model.js +43 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/model.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/predictions.d.ts +3 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/predictions.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/predictions.js +20 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/predictions.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/primary-key.d.ts +3 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/primary-key.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/primary-key.js +14 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/primary-key.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/refers-to.d.ts +3 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/refers-to.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/refers-to.js +14 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/refers-to.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/searchable.d.ts +3 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/searchable.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/searchable.js +17 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/searchable.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/sql.d.ts +3 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/sql.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/sql.js +14 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/sql.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/auth.d.ts +3 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/auth.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/auth.js +85 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/auth.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/connection.d.ts +3 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/connection.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/connection.js +21 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/connection.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/function.d.ts +3 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/function.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/function.js +14 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/function.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/http.d.ts +7 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/http.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/http.js +28 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/http.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/index.d.ts +10 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/index.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/index.js +22 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/index.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/key.d.ts +3 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/key.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/key.js +14 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/key.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/model.d.ts +3 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/model.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/model.js +43 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/model.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/predictions.d.ts +3 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/predictions.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/predictions.js +20 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/predictions.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/searchable.d.ts +3 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/searchable.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/searchable.js +17 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/searchable.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/versioned.d.ts +7 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/versioned.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/versioned.js +17 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/versioned.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/index.d.ts +7 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/index.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/index.js +60 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/index.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/package.json +66 -0
- package/node_modules/@aws-amplify/graphql-function-transformer/CHANGELOG.md +1 -1
- package/node_modules/@aws-amplify/graphql-function-transformer/lib/graphql-function-transformer.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-function-transformer/lib/graphql-function-transformer.js +2 -4
- package/node_modules/@aws-amplify/graphql-function-transformer/lib/graphql-function-transformer.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-function-transformer/package.json +8 -7
- package/node_modules/@aws-amplify/graphql-http-transformer/CHANGELOG.md +1 -1
- package/node_modules/@aws-amplify/graphql-http-transformer/lib/graphql-http-transformer.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-http-transformer/lib/graphql-http-transformer.js +2 -15
- package/node_modules/@aws-amplify/graphql-http-transformer/lib/graphql-http-transformer.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-http-transformer/package.json +8 -7
- package/node_modules/@aws-amplify/graphql-index-transformer/CHANGELOG.md +1 -1
- package/node_modules/@aws-amplify/graphql-index-transformer/lib/graphql-index-transformer.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-index-transformer/lib/graphql-index-transformer.js +5 -8
- package/node_modules/@aws-amplify/graphql-index-transformer/lib/graphql-index-transformer.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-index-transformer/lib/graphql-primary-key-transformer.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-index-transformer/lib/graphql-primary-key-transformer.js +4 -7
- package/node_modules/@aws-amplify/graphql-index-transformer/lib/graphql-primary-key-transformer.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-index-transformer/package.json +9 -8
- package/node_modules/@aws-amplify/graphql-maps-to-transformer/CHANGELOG.md +1 -1
- package/node_modules/@aws-amplify/graphql-maps-to-transformer/lib/assets/mapping-lambda.zip +0 -0
- package/node_modules/@aws-amplify/graphql-maps-to-transformer/lib/graphql-maps-to-transformer.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-maps-to-transformer/lib/graphql-maps-to-transformer.js +6 -9
- package/node_modules/@aws-amplify/graphql-maps-to-transformer/lib/graphql-maps-to-transformer.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-maps-to-transformer/lib/graphql-refers-to-transformer.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-maps-to-transformer/lib/graphql-refers-to-transformer.js +9 -12
- package/node_modules/@aws-amplify/graphql-maps-to-transformer/lib/graphql-refers-to-transformer.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-maps-to-transformer/package.json +12 -11
- package/node_modules/@aws-amplify/graphql-model-transformer/API.md +2 -2
- package/node_modules/@aws-amplify/graphql-model-transformer/CHANGELOG.md +4 -2
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/definitions.d.ts +0 -2
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/definitions.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/definitions.js +1 -9
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/definitions.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-model-transformer.d.ts +0 -1
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-model-transformer.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-model-transformer.js +19 -73
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-model-transformer.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-types/common.d.ts +1 -1
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-types/common.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-types/common.js +7 -11
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-types/common.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/rds-lambda.zip +0 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/rds-notification-lambda.zip +0 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/rds-patching-lambda.zip +0 -0
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/common.d.ts +1 -1
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/common.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/common.js +7 -15
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/common.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/rds/resolver.d.ts +5 -1
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/rds/resolver.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/rds/resolver.js +71 -26
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/rds/resolver.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/model-resource-generator.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/model-resource-generator.js +3 -3
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/model-resource-generator.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/rds-model-resource-generator.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/rds-model-resource-generator.js +21 -7
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/rds-model-resource-generator.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-model-transformer/package.json +8 -7
- package/node_modules/@aws-amplify/graphql-predictions-transformer/CHANGELOG.md +1 -1
- package/node_modules/@aws-amplify/graphql-predictions-transformer/lib/graphql-predictions-transformer.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-predictions-transformer/lib/graphql-predictions-transformer.js +2 -1
- package/node_modules/@aws-amplify/graphql-predictions-transformer/lib/graphql-predictions-transformer.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-predictions-transformer/lib/predictionsLambdaFunction.zip +0 -0
- package/node_modules/@aws-amplify/graphql-predictions-transformer/lib/utils/constants.d.ts +0 -1
- package/node_modules/@aws-amplify/graphql-predictions-transformer/lib/utils/constants.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-predictions-transformer/lib/utils/constants.js +1 -10
- package/node_modules/@aws-amplify/graphql-predictions-transformer/lib/utils/constants.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-predictions-transformer/package.json +8 -7
- package/node_modules/@aws-amplify/graphql-relational-transformer/CHANGELOG.md +1 -1
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/belongs-to/belongs-to-directive-ddb-fields-transformer.d.ts +12 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/belongs-to/belongs-to-directive-ddb-fields-transformer.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/belongs-to/belongs-to-directive-ddb-fields-transformer.js +34 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/belongs-to/belongs-to-directive-ddb-fields-transformer.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/belongs-to/belongs-to-directive-sql-transformer.d.ts +12 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/belongs-to/belongs-to-directive-sql-transformer.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/belongs-to/belongs-to-directive-sql-transformer.js +27 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/belongs-to/belongs-to-directive-sql-transformer.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/belongs-to/belongs-to-directive-transformer-factory.d.ts +5 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/belongs-to/belongs-to-directive-transformer-factory.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/belongs-to/belongs-to-directive-transformer-factory.js +16 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/belongs-to/belongs-to-directive-transformer-factory.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/data-source-based-directive-transformer.d.ts +11 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/data-source-based-directive-transformer.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/data-source-based-directive-transformer.js +3 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/data-source-based-directive-transformer.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-belongs-to-transformer.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-belongs-to-transformer.js +15 -49
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-belongs-to-transformer.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-has-many-transformer.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-has-many-transformer.js +18 -45
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-has-many-transformer.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-has-one-transformer.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-has-one-transformer.js +13 -35
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-has-one-transformer.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-many-to-many-transformer.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-many-to-many-transformer.js +13 -17
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-many-to-many-transformer.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-ddb-fields-transformer.d.ts +12 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-ddb-fields-transformer.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-ddb-fields-transformer.js +32 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-ddb-fields-transformer.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-sql-transformer.d.ts +12 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-sql-transformer.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-sql-transformer.js +27 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-sql-transformer.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-transformer-factory.d.ts +5 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-transformer-factory.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-transformer-factory.js +16 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-transformer-factory.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-ddb-fields-transformer.d.ts +12 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-ddb-fields-transformer.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-ddb-fields-transformer.js +31 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-ddb-fields-transformer.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-sql-transformer.d.ts +12 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-sql-transformer.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-sql-transformer.js +27 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-sql-transformer.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-transformer-factory.d.ts +5 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-transformer-factory.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-transformer-factory.js +16 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-transformer-factory.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-relational-transformer/package.json +10 -9
- package/node_modules/@aws-amplify/graphql-searchable-transformer/CHANGELOG.md +1 -1
- package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/graphql-searchable-transformer.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/graphql-searchable-transformer.js +2 -6
- package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/graphql-searchable-transformer.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/streaming-lambda.zip +0 -0
- package/node_modules/@aws-amplify/graphql-searchable-transformer/package.json +9 -8
- package/node_modules/@aws-amplify/graphql-sql-transformer/CHANGELOG.md +1 -1
- package/node_modules/@aws-amplify/graphql-sql-transformer/lib/graphql-sql-transformer.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-sql-transformer/lib/graphql-sql-transformer.js +2 -4
- package/node_modules/@aws-amplify/graphql-sql-transformer/lib/graphql-sql-transformer.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-sql-transformer/package.json +9 -8
- package/node_modules/@aws-amplify/graphql-transformer/CHANGELOG.md +4 -2
- package/node_modules/@aws-amplify/graphql-transformer/lib/graphql-transformer.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-transformer/lib/graphql-transformer.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-transformer/package.json +16 -16
- package/node_modules/@aws-amplify/graphql-transformer/src/graphql-transformer.ts +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/API.md +3 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/CHANGELOG.md +1 -1
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/index.d.ts +1 -1
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/index.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/index.js +3 -2
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/index.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformation/validation.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformation/validation.js +11 -12
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformation/validation.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/model-datasource-strategy-utils.d.ts +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/model-datasource-strategy-utils.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/model-datasource-strategy-utils.js +8 -1
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/model-datasource-strategy-utils.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-transformer-core/package.json +5 -4
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/API.md +27 -2
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/CHANGELOG.md +4 -2
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/model-datasource/types.d.ts +12 -1
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/model-datasource/types.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/model-datasource/types.js +22 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/model-datasource/types.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/synth-parameters.d.ts +0 -1
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/synth-parameters.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/package.json +2 -2
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/src/model-datasource/types.ts +76 -1
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/src/transformer-context/synth-parameters.ts +0 -1
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/tsconfig.tsbuildinfo +1 -1
- package/node_modules/graphql-mapping-template/CHANGELOG.md +0 -4
- package/node_modules/graphql-mapping-template/package.json +2 -3
- package/node_modules/graphql-transformer-common/API.md +13 -0
- package/node_modules/graphql-transformer-common/CHANGELOG.md +4 -2
- package/node_modules/graphql-transformer-common/lib/TypescriptSchemaConstants.d.ts +13 -0
- package/node_modules/graphql-transformer-common/lib/TypescriptSchemaConstants.d.ts.map +1 -1
- package/node_modules/graphql-transformer-common/lib/TypescriptSchemaConstants.js +13 -0
- package/node_modules/graphql-transformer-common/lib/TypescriptSchemaConstants.js.map +1 -1
- package/node_modules/graphql-transformer-common/package.json +3 -3
- package/package.json +21 -19
- package/src/amplify-graphql-api.ts +0 -2
- package/src/index.ts +0 -1
- package/src/internal/authorization-modes.ts +8 -47
- package/src/internal/data-source-config.ts +42 -9
- package/src/model-datasource-strategy-types.ts +33 -1
- package/src/sql-model-datasource-strategy.ts +32 -1
- package/src/types.ts +5 -56
- /package/node_modules/{graphql-mapping-template → @aws-amplify/graphql-directives}/LICENSE +0 -0
@@ -0,0 +1,14 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.AwsSubscribeDirective = void 0;
|
4
|
+
const name = 'aws_subscribe';
|
5
|
+
const definition = `
|
6
|
+
directive @${name}(mutations: [String!]!) on FIELD_DEFINITION
|
7
|
+
`;
|
8
|
+
const defaults = {};
|
9
|
+
exports.AwsSubscribeDirective = {
|
10
|
+
name,
|
11
|
+
definition,
|
12
|
+
defaults,
|
13
|
+
};
|
14
|
+
//# sourceMappingURL=aws-subscribe.js.map
|
package/node_modules/@aws-amplify/graphql-directives/lib/directives/appsync/aws-subscribe.js.map
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"aws-subscribe.js","sourceRoot":"","sources":["../../../src/directives/appsync/aws-subscribe.ts"],"names":[],"mappings":";;;AAEA,MAAM,IAAI,GAAG,eAAe,CAAC;AAC7B,MAAM,UAAU,GAAiB;eAClB,IAAI;CAClB,CAAC;AACF,MAAM,QAAQ,GAAG,EAAE,CAAC;AAEP,QAAA,qBAAqB,GAAc;IAC9C,IAAI;IACJ,UAAU;IACV,QAAQ;CACT,CAAC"}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
export { AwsSubscribeDirective } from './aws-subscribe';
|
2
|
+
export { AwsAuthDirective } from './aws-auth';
|
3
|
+
export { AwsApiKeyDirective } from './aws-api-key';
|
4
|
+
export { AwsIamDirective } from './aws-iam';
|
5
|
+
export { AwsOidcDirective } from './aws-oidc';
|
6
|
+
export { AwsCognitoUserPoolsDirective } from './aws-cognito-user-pools';
|
7
|
+
export { AwsLambdaDirective } from './aws-lambda';
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/directives/appsync/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AACxD,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAC9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAC5C,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAC9C,OAAO,EAAE,4BAA4B,EAAE,MAAM,0BAA0B,CAAC;AACxE,OAAO,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC"}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.AwsLambdaDirective = exports.AwsCognitoUserPoolsDirective = exports.AwsOidcDirective = exports.AwsIamDirective = exports.AwsApiKeyDirective = exports.AwsAuthDirective = exports.AwsSubscribeDirective = void 0;
|
4
|
+
var aws_subscribe_1 = require("./aws-subscribe");
|
5
|
+
Object.defineProperty(exports, "AwsSubscribeDirective", { enumerable: true, get: function () { return aws_subscribe_1.AwsSubscribeDirective; } });
|
6
|
+
var aws_auth_1 = require("./aws-auth");
|
7
|
+
Object.defineProperty(exports, "AwsAuthDirective", { enumerable: true, get: function () { return aws_auth_1.AwsAuthDirective; } });
|
8
|
+
var aws_api_key_1 = require("./aws-api-key");
|
9
|
+
Object.defineProperty(exports, "AwsApiKeyDirective", { enumerable: true, get: function () { return aws_api_key_1.AwsApiKeyDirective; } });
|
10
|
+
var aws_iam_1 = require("./aws-iam");
|
11
|
+
Object.defineProperty(exports, "AwsIamDirective", { enumerable: true, get: function () { return aws_iam_1.AwsIamDirective; } });
|
12
|
+
var aws_oidc_1 = require("./aws-oidc");
|
13
|
+
Object.defineProperty(exports, "AwsOidcDirective", { enumerable: true, get: function () { return aws_oidc_1.AwsOidcDirective; } });
|
14
|
+
var aws_cognito_user_pools_1 = require("./aws-cognito-user-pools");
|
15
|
+
Object.defineProperty(exports, "AwsCognitoUserPoolsDirective", { enumerable: true, get: function () { return aws_cognito_user_pools_1.AwsCognitoUserPoolsDirective; } });
|
16
|
+
var aws_lambda_1 = require("./aws-lambda");
|
17
|
+
Object.defineProperty(exports, "AwsLambdaDirective", { enumerable: true, get: function () { return aws_lambda_1.AwsLambdaDirective; } });
|
18
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/directives/appsync/index.ts"],"names":[],"mappings":";;;AAAA,iDAAwD;AAA/C,sHAAA,qBAAqB,OAAA;AAC9B,uCAA8C;AAArC,4GAAA,gBAAgB,OAAA;AACzB,6CAAmD;AAA1C,iHAAA,kBAAkB,OAAA;AAC3B,qCAA4C;AAAnC,0GAAA,eAAe,OAAA;AACxB,uCAA8C;AAArC,4GAAA,gBAAgB,OAAA;AACzB,mEAAwE;AAA/D,sIAAA,4BAA4B,OAAA;AACrC,2CAAkD;AAAzC,gHAAA,kBAAkB,OAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../src/directives/auth.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AA2CxC,eAAO,MAAM,aAAa,EAAE,SAI3B,CAAC"}
|
@@ -0,0 +1,49 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.AuthDirective = void 0;
|
4
|
+
const name = 'auth';
|
5
|
+
const definition = `
|
6
|
+
directive @${name}(rules: [AuthRule!]!) on OBJECT | FIELD_DEFINITION
|
7
|
+
input AuthRule {
|
8
|
+
allow: AuthStrategy!
|
9
|
+
provider: AuthProvider
|
10
|
+
identityClaim: String
|
11
|
+
groupClaim: String
|
12
|
+
ownerField: String
|
13
|
+
groupsField: String
|
14
|
+
groups: [String]
|
15
|
+
operations: [ModelOperation]
|
16
|
+
}
|
17
|
+
enum AuthStrategy {
|
18
|
+
owner
|
19
|
+
groups
|
20
|
+
private
|
21
|
+
public
|
22
|
+
custom
|
23
|
+
}
|
24
|
+
enum AuthProvider {
|
25
|
+
apiKey
|
26
|
+
iam
|
27
|
+
oidc
|
28
|
+
userPools
|
29
|
+
function
|
30
|
+
}
|
31
|
+
enum ModelOperation {
|
32
|
+
create
|
33
|
+
update
|
34
|
+
delete
|
35
|
+
read
|
36
|
+
list
|
37
|
+
get
|
38
|
+
sync
|
39
|
+
listen
|
40
|
+
search
|
41
|
+
}
|
42
|
+
`;
|
43
|
+
const defaults = {};
|
44
|
+
exports.AuthDirective = {
|
45
|
+
name,
|
46
|
+
definition,
|
47
|
+
defaults,
|
48
|
+
};
|
49
|
+
//# sourceMappingURL=auth.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"auth.js","sourceRoot":"","sources":["../../src/directives/auth.ts"],"names":[],"mappings":";;;AAEA,MAAM,IAAI,GAAG,MAAM,CAAC;AACpB,MAAM,UAAU,GAAiB;eAClB,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoClB,CAAC;AACF,MAAM,QAAQ,GAAG,EAAE,CAAC;AAEP,QAAA,aAAa,GAAc;IACtC,IAAI;IACJ,UAAU;IACV,QAAQ;CACT,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"belongs-to.d.ts","sourceRoot":"","sources":["../../src/directives/belongs-to.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAQxC,eAAO,MAAM,kBAAkB,EAAE,SAIhC,CAAC"}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.BelongsToDirective = void 0;
|
4
|
+
const name = 'belongsTo';
|
5
|
+
const definition = `
|
6
|
+
directive @${name}(fields: [String!], references: [String!]) on FIELD_DEFINITION
|
7
|
+
`;
|
8
|
+
const defaults = {};
|
9
|
+
exports.BelongsToDirective = {
|
10
|
+
name,
|
11
|
+
definition,
|
12
|
+
defaults,
|
13
|
+
};
|
14
|
+
//# sourceMappingURL=belongs-to.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"belongs-to.js","sourceRoot":"","sources":["../../src/directives/belongs-to.ts"],"names":[],"mappings":";;;AAEA,MAAM,IAAI,GAAG,WAAW,CAAC;AACzB,MAAM,UAAU,GAAiB;eAClB,IAAI;CAClB,CAAC;AACF,MAAM,QAAQ,GAAG,EAAE,CAAC;AAEP,QAAA,kBAAkB,GAAc;IAC3C,IAAI;IACJ,UAAU;IACV,QAAQ;CACT,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../src/directives/default.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAQxC,eAAO,MAAM,gBAAgB,EAAE,SAI9B,CAAC"}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.DefaultDirective = void 0;
|
4
|
+
const name = 'default';
|
5
|
+
const definition = `
|
6
|
+
directive @${name}(value: String!) on FIELD_DEFINITION
|
7
|
+
`;
|
8
|
+
const defaults = {};
|
9
|
+
exports.DefaultDirective = {
|
10
|
+
name,
|
11
|
+
definition,
|
12
|
+
defaults,
|
13
|
+
};
|
14
|
+
//# sourceMappingURL=default.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"default.js","sourceRoot":"","sources":["../../src/directives/default.ts"],"names":[],"mappings":";;;AAEA,MAAM,IAAI,GAAG,SAAS,CAAC;AACvB,MAAM,UAAU,GAAiB;eAClB,IAAI;CAClB,CAAC;AACF,MAAM,QAAQ,GAAG,EAAE,CAAC;AAEP,QAAA,gBAAgB,GAAc;IACzC,IAAI;IACJ,UAAU;IACV,QAAQ;CACT,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"deprecated.d.ts","sourceRoot":"","sources":["../../src/directives/deprecated.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAQxC,eAAO,MAAM,mBAAmB,EAAE,SAIjC,CAAC"}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.DeprecatedDirective = void 0;
|
4
|
+
const name = 'deprecated';
|
5
|
+
const definition = `
|
6
|
+
directive @${name}(reason: String) on FIELD_DEFINITION | INPUT_FIELD_DEFINITION | ENUM | ENUM_VALUE
|
7
|
+
`;
|
8
|
+
const defaults = {};
|
9
|
+
exports.DeprecatedDirective = {
|
10
|
+
name,
|
11
|
+
definition,
|
12
|
+
defaults,
|
13
|
+
};
|
14
|
+
//# sourceMappingURL=deprecated.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"deprecated.js","sourceRoot":"","sources":["../../src/directives/deprecated.ts"],"names":[],"mappings":";;;AAEA,MAAM,IAAI,GAAG,YAAY,CAAC;AAC1B,MAAM,UAAU,GAAiB;eAClB,IAAI;CAClB,CAAC;AACF,MAAM,QAAQ,GAAG,EAAE,CAAC;AAEP,QAAA,mBAAmB,GAAc;IAC5C,IAAI;IACJ,UAAU;IACV,QAAQ;CACT,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"directive.d.ts","sourceRoot":"","sources":["../../src/directives/directive.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;CAAG;AAErC,MAAM,WAAW,SAAS,CAAC,QAAQ,SAAS,iBAAiB,GAAG,iBAAiB;IAC/E,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,QAAQ,EAAE,QAAQ,CAAC;CAC7B"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"directive.js","sourceRoot":"","sources":["../../src/directives/directive.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"function.d.ts","sourceRoot":"","sources":["../../src/directives/function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAQxC,eAAO,MAAM,iBAAiB,EAAE,SAI/B,CAAC"}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.FunctionDirective = void 0;
|
4
|
+
const name = 'function';
|
5
|
+
const definition = `
|
6
|
+
directive @${name}(name: String!, region: String, accountId: String) repeatable on FIELD_DEFINITION
|
7
|
+
`;
|
8
|
+
const defaults = {};
|
9
|
+
exports.FunctionDirective = {
|
10
|
+
name,
|
11
|
+
definition,
|
12
|
+
defaults,
|
13
|
+
};
|
14
|
+
//# sourceMappingURL=function.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"function.js","sourceRoot":"","sources":["../../src/directives/function.ts"],"names":[],"mappings":";;;AAEA,MAAM,IAAI,GAAG,UAAU,CAAC;AACxB,MAAM,UAAU,GAAiB;eAClB,IAAI;CAClB,CAAC;AACF,MAAM,QAAQ,GAAG,EAAE,CAAC;AAEP,QAAA,iBAAiB,GAAc;IAC1C,IAAI;IACJ,UAAU;IACV,QAAQ;CACT,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"has-many.d.ts","sourceRoot":"","sources":["../../src/directives/has-many.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,MAAM,MAAM,wBAAwB,GAAG;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AASzD,eAAO,MAAM,gBAAgB,EAAE,SAAS,CAAC,wBAAwB,CAIhE,CAAC"}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.HasManyDirective = void 0;
|
4
|
+
const name = 'hasMany';
|
5
|
+
const defaults = {
|
6
|
+
limit: 100,
|
7
|
+
};
|
8
|
+
const definition = `
|
9
|
+
directive @${name}(indexName: String, fields: [String!], references: [String!], limit: Int = ${defaults.limit}) on FIELD_DEFINITION
|
10
|
+
`;
|
11
|
+
exports.HasManyDirective = {
|
12
|
+
name,
|
13
|
+
definition,
|
14
|
+
defaults,
|
15
|
+
};
|
16
|
+
//# sourceMappingURL=has-many.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"has-many.js","sourceRoot":"","sources":["../../src/directives/has-many.ts"],"names":[],"mappings":";;;AAGA,MAAM,IAAI,GAAG,SAAS,CAAC;AACvB,MAAM,QAAQ,GAA6B;IACzC,KAAK,EAAE,GAAG;CACX,CAAC;AACF,MAAM,UAAU,GAAiB;eAClB,IAAI,8EAA8E,QAAQ,CAAC,KAAK;CAC9G,CAAC;AAEW,QAAA,gBAAgB,GAAwC;IACnE,IAAI;IACJ,UAAU;IACV,QAAQ;CACT,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"has-one.d.ts","sourceRoot":"","sources":["../../src/directives/has-one.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAQxC,eAAO,MAAM,eAAe,EAAE,SAI7B,CAAC"}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.HasOneDirective = void 0;
|
4
|
+
const name = 'hasOne';
|
5
|
+
const definition = `
|
6
|
+
directive @${name}(fields: [String!], references: [String!]) on FIELD_DEFINITION
|
7
|
+
`;
|
8
|
+
const defaults = {};
|
9
|
+
exports.HasOneDirective = {
|
10
|
+
name,
|
11
|
+
definition,
|
12
|
+
defaults,
|
13
|
+
};
|
14
|
+
//# sourceMappingURL=has-one.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"has-one.js","sourceRoot":"","sources":["../../src/directives/has-one.ts"],"names":[],"mappings":";;;AAEA,MAAM,IAAI,GAAG,QAAQ,CAAC;AACtB,MAAM,UAAU,GAAiB;eAClB,IAAI;CAClB,CAAC;AACF,MAAM,QAAQ,GAAG,EAAE,CAAC;AAEP,QAAA,eAAe,GAAc;IACxC,IAAI;IACJ,UAAU;IACV,QAAQ;CACT,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"http.d.ts","sourceRoot":"","sources":["../../src/directives/http.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,MAAM,MAAM,qBAAqB,GAAG;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,EAAE,CAAA;CAAE,CAAC;AAuB1E,eAAO,MAAM,aAAa,EAAE,SAAS,CAAC,qBAAqB,CAI1D,CAAC"}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.HttpDirective = void 0;
|
4
|
+
const name = 'http';
|
5
|
+
const defaults = {
|
6
|
+
method: 'GET',
|
7
|
+
headers: [],
|
8
|
+
};
|
9
|
+
const definition = `
|
10
|
+
directive @${name}(method: HttpMethod = ${defaults.method}, url: String!, headers: [HttpHeader] = ${JSON.stringify(defaults.headers)}) on FIELD_DEFINITION
|
11
|
+
enum HttpMethod {
|
12
|
+
GET
|
13
|
+
POST
|
14
|
+
PUT
|
15
|
+
DELETE
|
16
|
+
PATCH
|
17
|
+
}
|
18
|
+
input HttpHeader {
|
19
|
+
key: String
|
20
|
+
value: String
|
21
|
+
}
|
22
|
+
`;
|
23
|
+
exports.HttpDirective = {
|
24
|
+
name,
|
25
|
+
definition,
|
26
|
+
defaults,
|
27
|
+
};
|
28
|
+
//# sourceMappingURL=http.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"http.js","sourceRoot":"","sources":["../../src/directives/http.ts"],"names":[],"mappings":";;;AAGA,MAAM,IAAI,GAAG,MAAM,CAAC;AACpB,MAAM,QAAQ,GAA0B;IACtC,MAAM,EAAE,KAAK;IACb,OAAO,EAAE,EAAE;CACZ,CAAC;AACF,MAAM,UAAU,GAAiB;eAClB,IAAI,yBAAyB,QAAQ,CAAC,MAAM,2CAA2C,IAAI,CAAC,SAAS,CAClH,QAAQ,CAAC,OAAO,CACjB;;;;;;;;;;;;CAYA,CAAC;AAEW,QAAA,aAAa,GAAqC;IAC7D,IAAI;IACJ,UAAU;IACV,QAAQ;CACT,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index-directive.d.ts","sourceRoot":"","sources":["../../src/directives/index-directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAQxC,eAAO,MAAM,cAAc,EAAE,SAI5B,CAAC"}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.IndexDirective = void 0;
|
4
|
+
const name = 'index';
|
5
|
+
const definition = `
|
6
|
+
directive @${name}(name: String, sortKeyFields: [String], queryField: String) repeatable on FIELD_DEFINITION
|
7
|
+
`;
|
8
|
+
const defaults = {};
|
9
|
+
exports.IndexDirective = {
|
10
|
+
name,
|
11
|
+
definition,
|
12
|
+
defaults,
|
13
|
+
};
|
14
|
+
//# sourceMappingURL=index-directive.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index-directive.js","sourceRoot":"","sources":["../../src/directives/index-directive.ts"],"names":[],"mappings":";;;AAEA,MAAM,IAAI,GAAG,OAAO,CAAC;AACrB,MAAM,UAAU,GAAiB;eAClB,IAAI;CAClB,CAAC;AACF,MAAM,QAAQ,GAAG,EAAE,CAAC;AAEP,QAAA,cAAc,GAAc;IACvC,IAAI;IACJ,UAAU;IACV,QAAQ;CACT,CAAC"}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
export type { Directive, DirectiveDefaults } from './directive';
|
2
|
+
export * from './appsync';
|
3
|
+
export * from './v1';
|
4
|
+
export { AuthDirective } from './auth';
|
5
|
+
export { BelongsToDirective } from './belongs-to';
|
6
|
+
export { DefaultDirective } from './default';
|
7
|
+
export { DeprecatedDirective } from './deprecated';
|
8
|
+
export { FunctionDirective } from './function';
|
9
|
+
export { HasManyDirective, HasManyDirectiveDefaults } from './has-many';
|
10
|
+
export { HasOneDirective } from './has-one';
|
11
|
+
export { HttpDirective, HttpDirectiveDefaults } from './http';
|
12
|
+
export { IndexDirective } from './index-directive';
|
13
|
+
export { ManyToManyDirective, ManyToManyDirectiveDefaults } from './many-to-many';
|
14
|
+
export { MapsToDirective } from './maps-to';
|
15
|
+
export { ModelDirective } from './model';
|
16
|
+
export { PredictionsDirective } from './predictions';
|
17
|
+
export { PrimaryKeyDirective } from './primary-key';
|
18
|
+
export { RefersToDirective } from './refers-to';
|
19
|
+
export { SearchableDirective } from './searchable';
|
20
|
+
export { SqlDirective } from './sql';
|
21
|
+
//# sourceMappingURL=index.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/directives/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAChE,cAAc,WAAW,CAAC;AAC1B,cAAc,MAAM,CAAC;AACrB,OAAO,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AACvC,OAAO,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAC7C,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAE,gBAAgB,EAAE,wBAAwB,EAAE,MAAM,YAAY,CAAC;AACxE,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,QAAQ,CAAC;AAC9D,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,mBAAmB,EAAE,2BAA2B,EAAE,MAAM,gBAAgB,CAAC;AAClF,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAC5C,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AACzC,OAAO,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;AACrD,OAAO,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AACpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC"}
|
@@ -0,0 +1,54 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
exports.SqlDirective = exports.SearchableDirective = exports.RefersToDirective = exports.PrimaryKeyDirective = exports.PredictionsDirective = exports.ModelDirective = exports.MapsToDirective = exports.ManyToManyDirective = exports.IndexDirective = exports.HttpDirective = exports.HasOneDirective = exports.HasManyDirective = exports.FunctionDirective = exports.DeprecatedDirective = exports.DefaultDirective = exports.BelongsToDirective = exports.AuthDirective = void 0;
|
18
|
+
__exportStar(require("./appsync"), exports);
|
19
|
+
__exportStar(require("./v1"), exports);
|
20
|
+
var auth_1 = require("./auth");
|
21
|
+
Object.defineProperty(exports, "AuthDirective", { enumerable: true, get: function () { return auth_1.AuthDirective; } });
|
22
|
+
var belongs_to_1 = require("./belongs-to");
|
23
|
+
Object.defineProperty(exports, "BelongsToDirective", { enumerable: true, get: function () { return belongs_to_1.BelongsToDirective; } });
|
24
|
+
var default_1 = require("./default");
|
25
|
+
Object.defineProperty(exports, "DefaultDirective", { enumerable: true, get: function () { return default_1.DefaultDirective; } });
|
26
|
+
var deprecated_1 = require("./deprecated");
|
27
|
+
Object.defineProperty(exports, "DeprecatedDirective", { enumerable: true, get: function () { return deprecated_1.DeprecatedDirective; } });
|
28
|
+
var function_1 = require("./function");
|
29
|
+
Object.defineProperty(exports, "FunctionDirective", { enumerable: true, get: function () { return function_1.FunctionDirective; } });
|
30
|
+
var has_many_1 = require("./has-many");
|
31
|
+
Object.defineProperty(exports, "HasManyDirective", { enumerable: true, get: function () { return has_many_1.HasManyDirective; } });
|
32
|
+
var has_one_1 = require("./has-one");
|
33
|
+
Object.defineProperty(exports, "HasOneDirective", { enumerable: true, get: function () { return has_one_1.HasOneDirective; } });
|
34
|
+
var http_1 = require("./http");
|
35
|
+
Object.defineProperty(exports, "HttpDirective", { enumerable: true, get: function () { return http_1.HttpDirective; } });
|
36
|
+
var index_directive_1 = require("./index-directive");
|
37
|
+
Object.defineProperty(exports, "IndexDirective", { enumerable: true, get: function () { return index_directive_1.IndexDirective; } });
|
38
|
+
var many_to_many_1 = require("./many-to-many");
|
39
|
+
Object.defineProperty(exports, "ManyToManyDirective", { enumerable: true, get: function () { return many_to_many_1.ManyToManyDirective; } });
|
40
|
+
var maps_to_1 = require("./maps-to");
|
41
|
+
Object.defineProperty(exports, "MapsToDirective", { enumerable: true, get: function () { return maps_to_1.MapsToDirective; } });
|
42
|
+
var model_1 = require("./model");
|
43
|
+
Object.defineProperty(exports, "ModelDirective", { enumerable: true, get: function () { return model_1.ModelDirective; } });
|
44
|
+
var predictions_1 = require("./predictions");
|
45
|
+
Object.defineProperty(exports, "PredictionsDirective", { enumerable: true, get: function () { return predictions_1.PredictionsDirective; } });
|
46
|
+
var primary_key_1 = require("./primary-key");
|
47
|
+
Object.defineProperty(exports, "PrimaryKeyDirective", { enumerable: true, get: function () { return primary_key_1.PrimaryKeyDirective; } });
|
48
|
+
var refers_to_1 = require("./refers-to");
|
49
|
+
Object.defineProperty(exports, "RefersToDirective", { enumerable: true, get: function () { return refers_to_1.RefersToDirective; } });
|
50
|
+
var searchable_1 = require("./searchable");
|
51
|
+
Object.defineProperty(exports, "SearchableDirective", { enumerable: true, get: function () { return searchable_1.SearchableDirective; } });
|
52
|
+
var sql_1 = require("./sql");
|
53
|
+
Object.defineProperty(exports, "SqlDirective", { enumerable: true, get: function () { return sql_1.SqlDirective; } });
|
54
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/directives/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AACA,4CAA0B;AAC1B,uCAAqB;AACrB,+BAAuC;AAA9B,qGAAA,aAAa,OAAA;AACtB,2CAAkD;AAAzC,gHAAA,kBAAkB,OAAA;AAC3B,qCAA6C;AAApC,2GAAA,gBAAgB,OAAA;AACzB,2CAAmD;AAA1C,iHAAA,mBAAmB,OAAA;AAC5B,uCAA+C;AAAtC,6GAAA,iBAAiB,OAAA;AAC1B,uCAAwE;AAA/D,4GAAA,gBAAgB,OAAA;AACzB,qCAA4C;AAAnC,0GAAA,eAAe,OAAA;AACxB,+BAA8D;AAArD,qGAAA,aAAa,OAAA;AACtB,qDAAmD;AAA1C,iHAAA,cAAc,OAAA;AACvB,+CAAkF;AAAzE,mHAAA,mBAAmB,OAAA;AAC5B,qCAA4C;AAAnC,0GAAA,eAAe,OAAA;AACxB,iCAAyC;AAAhC,uGAAA,cAAc,OAAA;AACvB,6CAAqD;AAA5C,mHAAA,oBAAoB,OAAA;AAC7B,6CAAoD;AAA3C,kHAAA,mBAAmB,OAAA;AAC5B,yCAAgD;AAAvC,8GAAA,iBAAiB,OAAA;AAC1B,2CAAmD;AAA1C,iHAAA,mBAAmB,OAAA;AAC5B,6BAAqC;AAA5B,mGAAA,YAAY,OAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"many-to-many.d.ts","sourceRoot":"","sources":["../../src/directives/many-to-many.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,MAAM,MAAM,2BAA2B,GAAG;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAS5D,eAAO,MAAM,mBAAmB,EAAE,SAAS,CAAC,2BAA2B,CAItE,CAAC"}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ManyToManyDirective = void 0;
|
4
|
+
const name = 'manyToMany';
|
5
|
+
const defaults = {
|
6
|
+
limit: 100,
|
7
|
+
};
|
8
|
+
const definition = `
|
9
|
+
directive @${name}(relationName: String!, limit: Int = ${defaults.limit}) on FIELD_DEFINITION
|
10
|
+
`;
|
11
|
+
exports.ManyToManyDirective = {
|
12
|
+
name,
|
13
|
+
definition,
|
14
|
+
defaults,
|
15
|
+
};
|
16
|
+
//# sourceMappingURL=many-to-many.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"many-to-many.js","sourceRoot":"","sources":["../../src/directives/many-to-many.ts"],"names":[],"mappings":";;;AAGA,MAAM,IAAI,GAAG,YAAY,CAAC;AAC1B,MAAM,QAAQ,GAAgC;IAC5C,KAAK,EAAE,GAAG;CACX,CAAC;AACF,MAAM,UAAU,GAAiB;eAClB,IAAI,wCAAwC,QAAQ,CAAC,KAAK;CACxE,CAAC;AAEW,QAAA,mBAAmB,GAA2C;IACzE,IAAI;IACJ,UAAU;IACV,QAAQ;CACT,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"maps-to.d.ts","sourceRoot":"","sources":["../../src/directives/maps-to.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAQxC,eAAO,MAAM,eAAe,EAAE,SAI7B,CAAC"}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.MapsToDirective = void 0;
|
4
|
+
const name = 'mapsTo';
|
5
|
+
const definition = `
|
6
|
+
directive @${name}(name: String!) on OBJECT
|
7
|
+
`;
|
8
|
+
const defaults = {};
|
9
|
+
exports.MapsToDirective = {
|
10
|
+
name,
|
11
|
+
definition,
|
12
|
+
defaults,
|
13
|
+
};
|
14
|
+
//# sourceMappingURL=maps-to.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"maps-to.js","sourceRoot":"","sources":["../../src/directives/maps-to.ts"],"names":[],"mappings":";;;AAEA,MAAM,IAAI,GAAG,QAAQ,CAAC;AACtB,MAAM,UAAU,GAAiB;eAClB,IAAI;CAClB,CAAC;AACF,MAAM,QAAQ,GAAG,EAAE,CAAC;AAEP,QAAA,eAAe,GAAc;IACxC,IAAI;IACJ,UAAU;IACV,QAAQ;CACT,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../../src/directives/model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAqCxC,eAAO,MAAM,cAAc,EAAE,SAI5B,CAAC"}
|
@@ -0,0 +1,43 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ModelDirective = void 0;
|
4
|
+
const name = 'model';
|
5
|
+
const definition = `
|
6
|
+
directive @model(
|
7
|
+
queries: ModelQueryMap
|
8
|
+
mutations: ModelMutationMap
|
9
|
+
subscriptions: ModelSubscriptionMap
|
10
|
+
timestamps: TimestampConfiguration
|
11
|
+
) on OBJECT
|
12
|
+
input ModelMutationMap {
|
13
|
+
create: String
|
14
|
+
update: String
|
15
|
+
delete: String
|
16
|
+
}
|
17
|
+
input ModelQueryMap {
|
18
|
+
get: String
|
19
|
+
list: String
|
20
|
+
}
|
21
|
+
input ModelSubscriptionMap {
|
22
|
+
onCreate: [String]
|
23
|
+
onUpdate: [String]
|
24
|
+
onDelete: [String]
|
25
|
+
level: ModelSubscriptionLevel
|
26
|
+
}
|
27
|
+
enum ModelSubscriptionLevel {
|
28
|
+
off
|
29
|
+
public
|
30
|
+
on
|
31
|
+
}
|
32
|
+
input TimestampConfiguration {
|
33
|
+
createdAt: String
|
34
|
+
updatedAt: String
|
35
|
+
}
|
36
|
+
`;
|
37
|
+
const defaults = {};
|
38
|
+
exports.ModelDirective = {
|
39
|
+
name,
|
40
|
+
definition,
|
41
|
+
defaults,
|
42
|
+
};
|
43
|
+
//# sourceMappingURL=model.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"model.js","sourceRoot":"","sources":["../../src/directives/model.ts"],"names":[],"mappings":";;;AAEA,MAAM,IAAI,GAAG,OAAO,CAAC;AACrB,MAAM,UAAU,GAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+BhC,CAAC;AACF,MAAM,QAAQ,GAAG,EAAE,CAAC;AAEP,QAAA,cAAc,GAAc;IACvC,IAAI;IACJ,UAAU;IACV,QAAQ;CACT,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"predictions.d.ts","sourceRoot":"","sources":["../../src/directives/predictions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAcxC,eAAO,MAAM,oBAAoB,EAAE,SAIlC,CAAC"}
|