@aws-amplify/graphql-api-construct 1.12.0-gen2-migration.0 → 1.12.0
Sign up to get free protection for your applications and to get access to all the features.
- package/.jsii +496 -215
- package/API.md +3 -11
- package/CHANGELOG.md +39 -3
- package/lib/amplify-dynamodb-table-wrapper.js +1 -1
- package/lib/amplify-graphql-api.js +9 -10
- package/lib/amplify-graphql-definition.js +1 -1
- package/lib/model-datasource-strategy-types.d.ts +1 -19
- package/lib/model-datasource-strategy-types.js +1 -1
- package/lib/sql-model-datasource-strategy.js +1 -1
- package/lib/types.d.ts +11 -2
- package/lib/types.js +1 -1
- package/node_modules/@aws-amplify/ai-constructs/README.md +66 -0
- package/node_modules/@aws-amplify/ai-constructs/lib/conversation/conversation_handler_construct.d.ts +28 -0
- package/node_modules/@aws-amplify/ai-constructs/lib/conversation/conversation_handler_construct.js +74 -0
- package/node_modules/@aws-amplify/ai-constructs/lib/conversation/index.d.ts +3 -0
- package/node_modules/@aws-amplify/ai-constructs/lib/conversation/index.js +6 -0
- package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/bedrock_converse_adapter.d.ts +30 -0
- package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/bedrock_converse_adapter.js +191 -0
- package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/conversation_turn_executor.d.ts +30 -0
- package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/conversation_turn_executor.js +47 -0
- package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/conversation_turn_response_sender.d.ts +18 -0
- package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/conversation_turn_response_sender.js +66 -0
- package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/default_handler.d.ts +8 -0
- package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/default_handler.js +10 -0
- package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/event-tools-provider/event_tools_provider.d.ts +15 -0
- package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/event-tools-provider/event_tools_provider.js +32 -0
- package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/event-tools-provider/graphql_query_factory.d.ts +9 -0
- package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/event-tools-provider/graphql_query_factory.js +44 -0
- package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/event-tools-provider/graphql_tool.d.ts +22 -0
- package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/event-tools-provider/graphql_tool.js +48 -0
- package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/event-tools-provider/index.d.ts +3 -0
- package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/event-tools-provider/index.js +6 -0
- package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/event-tools-provider/types.d.ts +3 -0
- package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/event-tools-provider/types.js +3 -0
- package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/index.d.ts +4 -0
- package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/index.js +6 -0
- package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/types.d.ts +61 -0
- package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/types.js +3 -0
- package/node_modules/@aws-amplify/ai-constructs/lib/conversation/test-assets/custom_handler.d.ts +5 -0
- package/node_modules/@aws-amplify/ai-constructs/lib/conversation/test-assets/custom_handler.js +11 -0
- package/node_modules/@aws-amplify/ai-constructs/lib/index.d.ts +3 -0
- package/node_modules/@aws-amplify/ai-constructs/lib/index.internal.d.ts +4 -0
- package/node_modules/@aws-amplify/ai-constructs/lib/index.internal.js +34 -0
- package/node_modules/@aws-amplify/ai-constructs/lib/index.js +29 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/README.md +9 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/amplify_function.d.ts +4 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/amplify_function.js +3 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/auth_resources.d.ts +66 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/auth_resources.js +3 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/aws_client_provider.d.ts +5 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/aws_client_provider.js +3 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/backend_identifier.d.ts +56 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/backend_identifier.js +3 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/backend_output.d.ts +6 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/backend_output.js +3 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/backend_secret_resolver.d.ts +22 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/backend_secret_resolver.js +3 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/backend_stack_creator.d.ts +8 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/backend_stack_creator.js +3 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/backend_stack_resolver.d.ts +7 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/backend_stack_resolver.js +3 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/construct_container.d.ts +35 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/construct_container.js +3 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/construct_factory.d.ts +24 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/construct_factory.js +3 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/deep_partial.d.ts +17 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/deep_partial.js +3 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/deployment_type.d.ts +8 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/deployment_type.js +3 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/function_resources.d.ts +8 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/function_resources.js +3 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/import_path_verifier.d.ts +14 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/import_path_verifier.js +3 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/index.d.ts +23 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/index.js +39 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/output_retrieval_strategy.d.ts +11 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/output_retrieval_strategy.js +3 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/output_storage_strategy.d.ts +10 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/output_storage_strategy.js +3 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/package_manager_controller.d.ts +16 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/package_manager_controller.js +3 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/resource_access_acceptor.d.ts +27 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/resource_access_acceptor.js +3 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/resource_name_validator.d.ts +10 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/resource_name_validator.js +3 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/resource_provider.d.ts +10 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/resource_provider.js +3 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/ssm_environment_entries_generator.d.ts +5 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/ssm_environment_entries_generator.js +3 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/stable_backend_identifiers.d.ts +4 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/stable_backend_identifiers.js +3 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/package.json +24 -0
- package/node_modules/@aws-amplify/ai-constructs/package.json +37 -0
- package/node_modules/@aws-amplify/graphql-auth-transformer/CHANGELOG.md +27 -1
- 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 +6 -1
- package/node_modules/@aws-amplify/graphql-auth-transformer/lib/graphql-auth-transformer.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-auth-transformer/package.json +27 -21
- package/node_modules/@aws-amplify/graphql-conversation-transformer/API.md +33 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/CHANGELOG.md +10 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/LICENSE +201 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/README.md +145 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/graphql-types/message-model.d.ts +13 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/graphql-types/message-model.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/graphql-types/message-model.js +111 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/graphql-types/message-model.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/graphql-types/session-model.d.ts +10 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/graphql-types/session-model.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/graphql-types/session-model.js +81 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/graphql-types/session-model.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/grapqhl-conversation-transformer.d.ts +39 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/grapqhl-conversation-transformer.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/grapqhl-conversation-transformer.js +35 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/grapqhl-conversation-transformer.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/index.d.ts +2 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/index.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/index.js +6 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/index.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-messages-subscription-resolver.d.ts +3 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-messages-subscription-resolver.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-messages-subscription-resolver.js +62 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-messages-subscription-resolver.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-mutation-resolver.d.ts +3 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-mutation-resolver.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-mutation-resolver.js +77 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-mutation-resolver.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/auth-resolver.d.ts +3 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/auth-resolver.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/auth-resolver.js +57 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/auth-resolver.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/init-resolver.d.ts +3 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/init-resolver.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/init-resolver.js +34 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/init-resolver.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/invoke-lambda-resolver.d.ts +5 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/invoke-lambda-resolver.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/invoke-lambda-resolver.js +104 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/invoke-lambda-resolver.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/js-resolver-function-provider.d.ts +6 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/js-resolver-function-provider.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/js-resolver-function-provider.js +3 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/js-resolver-function-provider.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/message-history-resolver.d.ts +3 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/message-history-resolver.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/message-history-resolver.js +59 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/message-history-resolver.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/verify-session-owner-resolver.d.ts +3 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/verify-session-owner-resolver.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/verify-session-owner-resolver.js +50 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/verify-session-owner-resolver.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/write-message-to-table-resolver.d.ts +3 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/write-message-to-table-resolver.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/write-message-to-table-resolver.js +45 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/write-message-to-table-resolver.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/transformer-steps/conversation-field-handler.d.ts +12 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/transformer-steps/conversation-field-handler.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/transformer-steps/conversation-field-handler.js +68 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/transformer-steps/conversation-field-handler.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/transformer-steps/conversation-prepare-handler.d.ts +15 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/transformer-steps/conversation-prepare-handler.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/transformer-steps/conversation-prepare-handler.js +44 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/transformer-steps/conversation-prepare-handler.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/transformer-steps/conversation-resolver-generator.d.ts +20 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/transformer-steps/conversation-resolver-generator.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/transformer-steps/conversation-resolver-generator.js +184 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/transformer-steps/conversation-resolver-generator.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/utils/graphql-json-schema-type.d.ts +5 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/utils/graphql-json-schema-type.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/utils/graphql-json-schema-type.js +81 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/utils/graphql-json-schema-type.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/utils/tools.d.ts +25 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/utils/tools.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/utils/tools.js +116 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/utils/tools.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/package.json +82 -0
- package/node_modules/@aws-amplify/graphql-default-value-transformer/CHANGELOG.md +25 -1
- package/node_modules/@aws-amplify/graphql-default-value-transformer/package.json +19 -13
- package/node_modules/@aws-amplify/graphql-directives/API.md +6 -0
- package/node_modules/@aws-amplify/graphql-directives/CHANGELOG.md +14 -0
- package/node_modules/@aws-amplify/graphql-directives/LICENSE +201 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/conversation.d.ts +3 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/conversation.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/conversation.js +31 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/conversation.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/generation.d.ts +3 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/generation.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/generation.js +24 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/generation.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/index.d.ts +2 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/index.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/index.js +5 -1
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/index.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-directives/lib/index.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-directives/lib/index.js +2 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/index.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-directives/package.json +13 -6
- package/node_modules/@aws-amplify/graphql-function-transformer/CHANGELOG.md +17 -1
- package/node_modules/@aws-amplify/graphql-function-transformer/package.json +17 -13
- package/node_modules/@aws-amplify/graphql-generation-transformer/API.md +26 -0
- package/node_modules/@aws-amplify/graphql-generation-transformer/CHANGELOG.md +11 -0
- package/node_modules/@aws-amplify/graphql-generation-transformer/LICENSE +201 -0
- package/node_modules/@aws-amplify/graphql-generation-transformer/README.md +85 -0
- package/node_modules/@aws-amplify/graphql-generation-transformer/lib/grapqhl-generation-transformer.d.ts +32 -0
- package/node_modules/@aws-amplify/graphql-generation-transformer/lib/grapqhl-generation-transformer.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-generation-transformer/lib/grapqhl-generation-transformer.js +119 -0
- package/node_modules/@aws-amplify/graphql-generation-transformer/lib/grapqhl-generation-transformer.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-generation-transformer/lib/index.d.ts +2 -0
- package/node_modules/@aws-amplify/graphql-generation-transformer/lib/index.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-generation-transformer/lib/index.js +6 -0
- package/node_modules/@aws-amplify/graphql-generation-transformer/lib/index.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-generation-transformer/lib/resolvers/invoke-bedrock.d.ts +7 -0
- package/node_modules/@aws-amplify/graphql-generation-transformer/lib/resolvers/invoke-bedrock.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-generation-transformer/lib/resolvers/invoke-bedrock.js +72 -0
- package/node_modules/@aws-amplify/graphql-generation-transformer/lib/resolvers/invoke-bedrock.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-generation-transformer/lib/utils/graphql-json-schema-type.d.ts +5 -0
- package/node_modules/@aws-amplify/graphql-generation-transformer/lib/utils/graphql-json-schema-type.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-generation-transformer/lib/utils/graphql-json-schema-type.js +78 -0
- package/node_modules/@aws-amplify/graphql-generation-transformer/lib/utils/graphql-json-schema-type.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-generation-transformer/lib/utils/tools.d.ts +27 -0
- package/node_modules/@aws-amplify/graphql-generation-transformer/lib/utils/tools.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-generation-transformer/lib/utils/tools.js +31 -0
- package/node_modules/@aws-amplify/graphql-generation-transformer/lib/utils/tools.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-generation-transformer/lib/validation.d.ts +4 -0
- package/node_modules/@aws-amplify/graphql-generation-transformer/lib/validation.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-generation-transformer/lib/validation.js +29 -0
- package/node_modules/@aws-amplify/graphql-generation-transformer/lib/validation.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-generation-transformer/package.json +78 -0
- package/node_modules/@aws-amplify/graphql-http-transformer/CHANGELOG.md +17 -1
- package/node_modules/@aws-amplify/graphql-http-transformer/package.json +17 -13
- package/node_modules/@aws-amplify/graphql-index-transformer/CHANGELOG.md +25 -1
- package/node_modules/@aws-amplify/graphql-index-transformer/package.json +18 -14
- package/node_modules/@aws-amplify/graphql-maps-to-transformer/CHANGELOG.md +27 -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/package.json +21 -17
- package/node_modules/@aws-amplify/graphql-model-transformer/CHANGELOG.md +27 -4
- 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 +2 -47
- 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/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/rds/resolver.d.ts +2 -2
- 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 +22 -4
- 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/amplify-dynamodb-table/amplify-dynamo-model-resource-generator.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-dynamo-model-resource-generator.js +11 -11
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-dynamo-model-resource-generator.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-dynamodb-table-construct/index.d.ts +0 -2
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-dynamodb-table-construct/index.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-dynamodb-table-construct/index.js +2 -4
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-dynamodb-table-construct/index.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-table-manager-lambda/amplify-table-manager-handler.d.ts +10 -4
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-table-manager-lambda/amplify-table-manager-handler.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-table-manager-lambda/amplify-table-manager-handler.js +91 -37
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-table-manager-lambda/amplify-table-manager-handler.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-table-manager-lambda/cfn-response.d.ts +1 -1
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-table-manager-lambda/cfn-response.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-table-manager-lambda/cfn-response.js +2 -2
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-table-manager-lambda/cfn-response.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/dynamo-model-resource-generator.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/dynamo-model-resource-generator.js +1 -3
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/dynamo-model-resource-generator.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/model-resource-generator.d.ts +0 -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 +0 -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.js +2 -2
- 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 +21 -16
- package/node_modules/@aws-amplify/graphql-predictions-transformer/CHANGELOG.md +23 -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 +3 -0
- 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/package.json +17 -13
- package/node_modules/@aws-amplify/graphql-relational-transformer/CHANGELOG.md +34 -1
- 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 +13 -0
- 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 +13 -0
- 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 -0
- 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 +7 -0
- 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/resolver/rds-generator.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolver/rds-generator.js +7 -8
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolver/rds-generator.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/utils.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/utils.js +7 -1
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/utils.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-relational-transformer/package.json +19 -15
- package/node_modules/@aws-amplify/graphql-searchable-transformer/CHANGELOG.md +31 -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 +3 -0
- 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 +22 -16
- package/node_modules/@aws-amplify/graphql-sql-transformer/CHANGELOG.md +25 -1
- package/node_modules/@aws-amplify/graphql-sql-transformer/package.json +18 -14
- package/node_modules/@aws-amplify/graphql-transformer/CHANGELOG.md +33 -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 +8 -2
- package/node_modules/@aws-amplify/graphql-transformer/lib/graphql-transformer.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-transformer/package.json +32 -23
- package/node_modules/@aws-amplify/graphql-transformer/src/graphql-transformer.ts +8 -2
- package/node_modules/@aws-amplify/graphql-transformer-core/API.md +54 -7
- package/node_modules/@aws-amplify/graphql-transformer-core/CHANGELOG.md +20 -3
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/appsync-function.d.ts +2 -1
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/appsync-function.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/appsync-function.js +3 -9
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/appsync-function.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/graphql-api.d.ts +5 -11
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/graphql-api.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/graphql-api.js +6 -31
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/graphql-api.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/index.d.ts +2 -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 +8 -3
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/index.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transform-host.d.ts +3 -3
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transform-host.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transform-host.js +12 -16
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transform-host.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/resolver.d.ts +6 -2
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/resolver.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/resolver.js +71 -23
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/resolver.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/transform-parameters.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/transform-parameters.js +1 -1
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/transform-parameters.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/ai/graphql-scalar-json-schema-definitions.d.ts +20 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/ai/graphql-scalar-json-schema-definitions.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/ai/graphql-scalar-json-schema-definitions.js +89 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/ai/graphql-scalar-json-schema-definitions.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/ai/index.d.ts +4 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/ai/index.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/ai/index.js +10 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/ai/index.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/ai/json-schema.d.ts +21 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/ai/json-schema.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/ai/json-schema.js +3 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/ai/json-schema.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/ai/named-type-conversion.d.ts +4 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/ai/named-type-conversion.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/ai/named-type-conversion.js +44 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/ai/named-type-conversion.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/function-runtime.d.ts +21 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/function-runtime.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/function-runtime.js +27 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/function-runtime.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/model-datasource-strategy-utils.d.ts +1 -2
- 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 +1 -9
- 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 +19 -13
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/API.md +13 -23
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/CHANGELOG.md +20 -3
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/graphql-api-provider.d.ts +3 -4
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/graphql-api-provider.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/graphql-api-provider.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/index.d.ts +1 -1
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/index.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/index.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/model-datasource/types.d.ts +1 -6
- 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.map +1 -1
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transform-host-provider.d.ts +4 -4
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transform-host-provider.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/synth-parameters.d.ts +1 -0
- 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/lib/transformer-context/transform-parameters.d.ts +1 -1
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/transform-parameters.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/package.json +14 -7
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/src/graphql-api-provider.ts +3 -10
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/src/index.ts +0 -1
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/src/model-datasource/types.ts +0 -10
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/src/transform-host-provider.ts +5 -1
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/src/transformer-context/synth-parameters.ts +1 -0
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/src/transformer-context/transform-parameters.ts +1 -3
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/tsconfig.tsbuildinfo +1 -1
- package/node_modules/graphql-mapping-template/CHANGELOG.md +12 -0
- package/node_modules/graphql-mapping-template/LICENSE +201 -0
- package/node_modules/graphql-mapping-template/package.json +13 -5
- package/node_modules/graphql-transformer-common/API.md +0 -1
- package/node_modules/graphql-transformer-common/CHANGELOG.md +9 -3
- package/node_modules/graphql-transformer-common/lib/ResourceConstants.d.ts +0 -1
- package/node_modules/graphql-transformer-common/lib/ResourceConstants.d.ts.map +1 -1
- package/node_modules/graphql-transformer-common/lib/ResourceConstants.js +0 -1
- package/node_modules/graphql-transformer-common/lib/ResourceConstants.js.map +1 -1
- package/node_modules/graphql-transformer-common/package.json +13 -6
- package/package.json +42 -31
- package/src/amplify-graphql-api.ts +7 -8
- package/src/model-datasource-strategy-types.ts +0 -21
- package/src/types.ts +12 -2
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-amplify/graphql-transformer",
|
3
|
-
"version": "1.
|
3
|
+
"version": "2.1.0",
|
4
4
|
"description": "Amplify GraphQL Transformer Root Package",
|
5
5
|
"repository": {
|
6
6
|
"type": "git",
|
@@ -22,38 +22,44 @@
|
|
22
22
|
"cloudformation",
|
23
23
|
"aws",
|
24
24
|
"amplify",
|
25
|
-
"api"
|
25
|
+
"api",
|
26
|
+
"transformer"
|
26
27
|
],
|
27
28
|
"publishConfig": {
|
28
29
|
"access": "public"
|
29
30
|
},
|
30
31
|
"dependencies": {
|
31
|
-
"@aws-amplify/graphql-auth-transformer": "
|
32
|
-
"@aws-amplify/graphql-
|
33
|
-
"@aws-amplify/graphql-
|
34
|
-
"@aws-amplify/graphql-
|
35
|
-
"@aws-amplify/graphql-
|
36
|
-
"@aws-amplify/graphql-
|
37
|
-
"@aws-amplify/graphql-
|
38
|
-
"@aws-amplify/graphql-
|
39
|
-
"@aws-amplify/graphql-
|
40
|
-
"@aws-amplify/graphql-
|
41
|
-
"@aws-amplify/graphql-
|
42
|
-
"@aws-amplify/graphql-transformer
|
43
|
-
"@aws-amplify/graphql-transformer
|
32
|
+
"@aws-amplify/graphql-auth-transformer": "4.1.0",
|
33
|
+
"@aws-amplify/graphql-conversation-transformer": "0.2.0",
|
34
|
+
"@aws-amplify/graphql-default-value-transformer": "3.0.2",
|
35
|
+
"@aws-amplify/graphql-function-transformer": "3.0.2",
|
36
|
+
"@aws-amplify/graphql-generation-transformer": "0.2.0",
|
37
|
+
"@aws-amplify/graphql-http-transformer": "3.0.2",
|
38
|
+
"@aws-amplify/graphql-index-transformer": "3.0.2",
|
39
|
+
"@aws-amplify/graphql-maps-to-transformer": "4.0.2",
|
40
|
+
"@aws-amplify/graphql-model-transformer": "3.0.2",
|
41
|
+
"@aws-amplify/graphql-predictions-transformer": "3.0.2",
|
42
|
+
"@aws-amplify/graphql-relational-transformer": "3.0.2",
|
43
|
+
"@aws-amplify/graphql-searchable-transformer": "3.0.2",
|
44
|
+
"@aws-amplify/graphql-sql-transformer": "0.4.2",
|
45
|
+
"@aws-amplify/graphql-transformer-core": "3.1.0",
|
46
|
+
"@aws-amplify/graphql-transformer-interfaces": "4.1.0"
|
44
47
|
},
|
45
48
|
"devDependencies": {
|
46
|
-
"@
|
49
|
+
"@aws-amplify/graphql-transformer-test-utils": "1.0.1",
|
50
|
+
"@types/node": "^18.0.0",
|
47
51
|
"fs-extra": "^8.1.0",
|
48
52
|
"rimraf": "^3.0.0",
|
49
|
-
"ts-jest": "
|
53
|
+
"ts-jest": "^29.0.0"
|
50
54
|
},
|
51
55
|
"peerDependencies": {
|
52
|
-
"aws-cdk-lib": "^2.
|
53
|
-
"constructs": "^10.0
|
56
|
+
"aws-cdk-lib": "^2.152.0",
|
57
|
+
"constructs": "^10.3.0"
|
54
58
|
},
|
55
59
|
"jest": {
|
56
|
-
"
|
60
|
+
"testEnvironmentOptions": {
|
61
|
+
"url": "http://localhost"
|
62
|
+
},
|
57
63
|
"transform": {
|
58
64
|
"^.+\\.tsx?$": "ts-jest"
|
59
65
|
},
|
@@ -79,13 +85,16 @@
|
|
79
85
|
"clover",
|
80
86
|
"text"
|
81
87
|
],
|
82
|
-
"testEnvironment": "../../FixJestEnvironment.js",
|
83
88
|
"collectCoverageFrom": [
|
84
89
|
"src/**/*.ts"
|
85
90
|
],
|
86
91
|
"coveragePathIgnorePatterns": [
|
87
92
|
"/__tests__/"
|
88
|
-
]
|
93
|
+
],
|
94
|
+
"snapshotFormat": {
|
95
|
+
"escapeString": true,
|
96
|
+
"printBasicPrototype": true
|
97
|
+
}
|
89
98
|
},
|
90
|
-
"gitHead": "
|
99
|
+
"gitHead": "47cbcc39b5c28486ff5759d29efee07725bb8b55"
|
91
100
|
}
|
@@ -33,6 +33,8 @@ import type {
|
|
33
33
|
import { GraphQLTransform, ResolverConfig, UserDefinedSlot } from '@aws-amplify/graphql-transformer-core';
|
34
34
|
import { Construct } from 'constructs';
|
35
35
|
import { IFunction } from 'aws-cdk-lib/aws-lambda';
|
36
|
+
import { GenerationTransformer } from '@aws-amplify/graphql-generation-transformer';
|
37
|
+
import { ConversationTransformer } from '@aws-amplify/graphql-conversation-transformer';
|
36
38
|
|
37
39
|
/**
|
38
40
|
* Arguments passed into a TransformerFactory
|
@@ -61,6 +63,8 @@ export const constructTransformerChain = (options?: TransformerFactoryArgs): Tra
|
|
61
63
|
const authTransformer = new AuthTransformer();
|
62
64
|
const indexTransformer = new IndexTransformer();
|
63
65
|
const hasOneTransformer = new HasOneTransformer();
|
66
|
+
const hasManyTransformer = new HasManyTransformer();
|
67
|
+
const belongsToTransformer = new BelongsToTransformer();
|
64
68
|
|
65
69
|
// The default list of transformers should match DefaultDirectives in packages/amplify-graphql-directives/src/index.ts
|
66
70
|
return [
|
@@ -70,10 +74,12 @@ export const constructTransformerChain = (options?: TransformerFactoryArgs): Tra
|
|
70
74
|
new PredictionsTransformer(options?.storageConfig),
|
71
75
|
new PrimaryKeyTransformer(),
|
72
76
|
indexTransformer,
|
73
|
-
|
77
|
+
hasManyTransformer,
|
74
78
|
hasOneTransformer,
|
75
79
|
new ManyToManyTransformer(modelTransformer, indexTransformer, hasOneTransformer, authTransformer),
|
76
|
-
|
80
|
+
belongsToTransformer,
|
81
|
+
new ConversationTransformer(modelTransformer, hasManyTransformer, belongsToTransformer, authTransformer),
|
82
|
+
new GenerationTransformer(),
|
77
83
|
new DefaultValueTransformer(),
|
78
84
|
authTransformer,
|
79
85
|
new MapsToTransformer(),
|
@@ -5,7 +5,6 @@
|
|
5
5
|
```ts
|
6
6
|
|
7
7
|
import { AmplifyDynamoDbModelDataSourceStrategy } from '@aws-amplify/graphql-transformer-interfaces';
|
8
|
-
import { APIIAMResourceProvider } from '@aws-amplify/graphql-transformer-interfaces';
|
9
8
|
import { ApiKeyConfig } from 'aws-cdk-lib/aws-appsync';
|
10
9
|
import { AppSyncAuthConfiguration } from '@aws-amplify/graphql-transformer-interfaces';
|
11
10
|
import { AppSyncDataSourceType } from '@aws-amplify/graphql-transformer-interfaces';
|
@@ -14,6 +13,7 @@ import { AssetProvider } from '@aws-amplify/graphql-transformer-interfaces';
|
|
14
13
|
import { AuthorizationConfig } from 'aws-cdk-lib/aws-appsync';
|
15
14
|
import { AuthorizationType } from 'aws-cdk-lib/aws-appsync';
|
16
15
|
import { CfnApiKey } from 'aws-cdk-lib/aws-appsync';
|
16
|
+
import { CfnFunctionConfiguration } from 'aws-cdk-lib/aws-appsync';
|
17
17
|
import { CfnGraphQLSchema } from 'aws-cdk-lib/aws-appsync';
|
18
18
|
import { CfnParameter } from 'aws-cdk-lib';
|
19
19
|
import { CfnResource } from 'aws-cdk-lib';
|
@@ -37,8 +37,8 @@ import { GraphqlApiBase } from 'aws-cdk-lib/aws-appsync';
|
|
37
37
|
import { GraphQLAPIProvider } from '@aws-amplify/graphql-transformer-interfaces';
|
38
38
|
import { GraphQLError } from 'graphql';
|
39
39
|
import * as iam from 'aws-cdk-lib/aws-iam';
|
40
|
+
import { IamResource } from 'aws-cdk-lib/aws-appsync';
|
40
41
|
import { IGrantable } from 'aws-cdk-lib/aws-iam';
|
41
|
-
import { ImportedAmplifyDynamoDbModelDataSourceStrategy } from '@aws-amplify/graphql-transformer-interfaces';
|
42
42
|
import { InlineMappingTemplateProvider } from '@aws-amplify/graphql-transformer-interfaces';
|
43
43
|
import { InputObjectTypeDefinitionNode } from 'graphql';
|
44
44
|
import { InputObjectTypeExtensionNode } from 'graphql';
|
@@ -97,6 +97,7 @@ import { TypeNode } from 'graphql';
|
|
97
97
|
import { TypeSystemDefinitionNode } from 'graphql';
|
98
98
|
import { UnionTypeDefinitionNode } from 'graphql';
|
99
99
|
import { UnionTypeExtensionNode } from 'graphql';
|
100
|
+
import { Visibility } from 'aws-cdk-lib/aws-appsync';
|
100
101
|
|
101
102
|
// @public (undocumented)
|
102
103
|
export const APICategory = "api";
|
@@ -141,6 +142,9 @@ export const constructNonScalarFieldsStatement: (tableName: string, ctx: Transfo
|
|
141
142
|
// @public (undocumented)
|
142
143
|
export const constructSqlDirectiveDataSourceStrategies: (schema: string, dataSourceStrategy: ModelDataSourceStrategy, customSqlStatements?: Record<string, string>) => SqlDirectiveDataSourceStrategy[];
|
143
144
|
|
145
|
+
// @public (undocumented)
|
146
|
+
export const convertNamedTypeToJSONSchema: (namedType: NamedTypeNode) => JSONSchema;
|
147
|
+
|
144
148
|
// @public (undocumented)
|
145
149
|
function createSyncLambdaIAMPolicy(context: TransformerContextProvider, scope: Construct, name: string, region?: string): iam.Policy;
|
146
150
|
|
@@ -295,6 +299,24 @@ export const getTable: (ctx: TransformerContextProvider, object: ObjectTypeDefin
|
|
295
299
|
// @public (undocumented)
|
296
300
|
export const getType: (schema: DocumentNode_2, typeName: string) => ObjectTypeDefinitionNode | undefined;
|
297
301
|
|
302
|
+
// @public (undocumented)
|
303
|
+
export const GraphQLScalarJSONSchemaDefinition: {
|
304
|
+
Boolean: JSONSchema;
|
305
|
+
Int: JSONSchema;
|
306
|
+
Float: JSONSchema;
|
307
|
+
String: JSONSchema;
|
308
|
+
AWSDateTime: JSONSchema;
|
309
|
+
ID: JSONSchema;
|
310
|
+
AWSJSON: JSONSchema;
|
311
|
+
AWSEmail: JSONSchema;
|
312
|
+
AWSDate: JSONSchema;
|
313
|
+
AWSTime: JSONSchema;
|
314
|
+
AWSTimestamp: JSONSchema;
|
315
|
+
AWSPhone: JSONSchema;
|
316
|
+
AWSURL: JSONSchema;
|
317
|
+
AWSIPAddress: JSONSchema;
|
318
|
+
};
|
319
|
+
|
298
320
|
// @public (undocumented)
|
299
321
|
export class GraphQLTransform {
|
300
322
|
constructor(options: GraphQLTransformOptions);
|
@@ -434,13 +456,13 @@ export const isBuiltInGraphqlNode: (obj: DefinitionNode) => obj is ObjectTypeDef
|
|
434
456
|
export const isDefaultDynamoDbModelDataSourceStrategy: (strategy: ModelDataSourceStrategy) => strategy is DefaultDynamoDbModelDataSourceStrategy;
|
435
457
|
|
436
458
|
// @public (undocumented)
|
437
|
-
export const
|
459
|
+
export const isDisallowedScalarType: (type: string) => boolean;
|
438
460
|
|
439
461
|
// @public (undocumented)
|
440
|
-
export const
|
462
|
+
export const isDynamoDbModel: (ctx: DataSourceStrategiesProvider, typename: string) => boolean;
|
441
463
|
|
442
464
|
// @public (undocumented)
|
443
|
-
export const
|
465
|
+
export const isDynamoDbType: (dbType: ModelDataSourceStrategyDbType) => dbType is "DYNAMODB";
|
444
466
|
|
445
467
|
// @public (undocumented)
|
446
468
|
function isLambdaSyncConfig(syncConfig: SyncConfig): syncConfig is SyncConfigLambda;
|
@@ -465,6 +487,9 @@ export const isQueryNode: (obj: DefinitionNode) => obj is ObjectTypeDefinitionNo
|
|
465
487
|
};
|
466
488
|
});
|
467
489
|
|
490
|
+
// @public (undocumented)
|
491
|
+
export const isQueryType: (typeName: string) => typeName is "Query";
|
492
|
+
|
468
493
|
// @public (undocumented)
|
469
494
|
export const isSqlDbType: (dbType: ModelDataSourceStrategyDbType) => dbType is ModelDataSourceStrategySqlDbType;
|
470
495
|
|
@@ -474,6 +499,24 @@ export const isSqlModel: (ctx: DataSourceStrategiesProvider, typename: string) =
|
|
474
499
|
// @public (undocumented)
|
475
500
|
export const isSqlStrategy: (strategy: ModelDataSourceStrategy) => strategy is SQLLambdaModelDataSourceStrategy;
|
476
501
|
|
502
|
+
// @public (undocumented)
|
503
|
+
export type JSONSchema = {
|
504
|
+
type: string;
|
505
|
+
properties?: Record<string, JSONSchema>;
|
506
|
+
required?: string[];
|
507
|
+
items?: JSONSchema;
|
508
|
+
enum?: (string | number | boolean | null)[];
|
509
|
+
minimum?: number;
|
510
|
+
maximum?: number;
|
511
|
+
minLength?: number;
|
512
|
+
maxLength?: number;
|
513
|
+
pattern?: string;
|
514
|
+
format?: string;
|
515
|
+
description?: string;
|
516
|
+
default?: JSONLike;
|
517
|
+
additionalProperties?: boolean | JSONSchema;
|
518
|
+
};
|
519
|
+
|
477
520
|
// @public (undocumented)
|
478
521
|
export class MappingTemplate {
|
479
522
|
// Warning: (ae-forgotten-export) The symbol "InlineTemplate" needs to be exported by the entry point index.d.ts
|
@@ -615,6 +658,9 @@ export class StackManager implements StackManagerProvider {
|
|
615
658
|
readonly scope: Construct;
|
616
659
|
}
|
617
660
|
|
661
|
+
// @public (undocumented)
|
662
|
+
export const supportedScalarTypes: string[];
|
663
|
+
|
618
664
|
// @public (undocumented)
|
619
665
|
export type SyncConfig = SyncConfigOptimistic | SyncConfigServer | SyncConfigLambda;
|
620
666
|
|
@@ -771,9 +817,9 @@ export abstract class TransformerPluginBase implements TransformerPluginProvider
|
|
771
817
|
|
772
818
|
// @public (undocumented)
|
773
819
|
export class TransformerResolver implements TransformerResolverProvider {
|
774
|
-
constructor(typeName: string, fieldName: string, resolverLogicalId: string, requestMappingTemplate: MappingTemplateProvider, responseMappingTemplate: MappingTemplateProvider, requestSlots: string[], responseSlots: string[], datasource?: DataSourceProvider | undefined);
|
820
|
+
constructor(typeName: string, fieldName: string, resolverLogicalId: string, requestMappingTemplate: MappingTemplateProvider, responseMappingTemplate: MappingTemplateProvider, requestSlots: string[], responseSlots: string[], datasource?: DataSourceProvider | undefined, runtime?: CfnFunctionConfiguration.AppSyncRuntimeProperty | undefined);
|
775
821
|
// (undocumented)
|
776
|
-
addToSlot: (slotName: string, requestMappingTemplate?: MappingTemplateProvider, responseMappingTemplate?: MappingTemplateProvider, dataSource?: DataSourceProvider) => void;
|
822
|
+
addToSlot: (slotName: string, requestMappingTemplate?: MappingTemplateProvider, responseMappingTemplate?: MappingTemplateProvider, dataSource?: DataSourceProvider, runtime?: CfnFunctionConfiguration.AppSyncRuntimeProperty) => void;
|
777
823
|
// Warning: (ae-forgotten-export) The symbol "Slot" needs to be exported by the entry point index.d.ts
|
778
824
|
//
|
779
825
|
// (undocumented)
|
@@ -821,6 +867,7 @@ function validateResolverConfigForType(ctx: TransformerSchemaVisitStepContextPro
|
|
821
867
|
// Warnings were encountered during analysis:
|
822
868
|
//
|
823
869
|
// src/config/transformer-config.ts:26:3 - (ae-forgotten-export) The symbol "LambdaConflictHandler" needs to be exported by the entry point index.d.ts
|
870
|
+
// src/utils/ai/json-schema.ts:14:3 - (ae-forgotten-export) The symbol "JSONLike" needs to be exported by the entry point index.d.ts
|
824
871
|
|
825
872
|
// (No @packageDocumentation comment for this package)
|
826
873
|
|
@@ -3,12 +3,29 @@
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
5
5
|
|
6
|
-
# [
|
6
|
+
# [3.1.0](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-transformer-core@3.0.1...@aws-amplify/graphql-transformer-core@3.1.0) (2024-09-06)
|
7
7
|
|
8
8
|
### Features
|
9
9
|
|
10
|
-
-
|
11
|
-
|
10
|
+
- **conversation:** add conversation transformer ([#2827](https://github.com/aws-amplify/amplify-category-api/issues/2827)) ([cee6aef](https://github.com/aws-amplify/amplify-category-api/commit/cee6aef1358293fe51909a64d1cf9941afc46aba))
|
11
|
+
|
12
|
+
## [3.0.1](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-transformer-core@3.0.0...@aws-amplify/graphql-transformer-core@3.0.1) (2024-08-28)
|
13
|
+
|
14
|
+
**Note:** Version bump only for package @aws-amplify/graphql-transformer-core
|
15
|
+
|
16
|
+
# [3.0.0](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-transformer-core@2.9.3...@aws-amplify/graphql-transformer-core@3.0.0) (2024-08-20)
|
17
|
+
|
18
|
+
- feat!: bump version for v2 transformer packages ([7dac35c](https://github.com/aws-amplify/amplify-category-api/commit/7dac35cceb971b256b5688b0745ef82afc78b641))
|
19
|
+
|
20
|
+
### BREAKING CHANGES
|
21
|
+
|
22
|
+
- distinguish from LTS version
|
23
|
+
|
24
|
+
## [2.9.3](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-transformer-core@2.9.2...@aws-amplify/graphql-transformer-core@2.9.3) (2024-07-15)
|
25
|
+
|
26
|
+
### Bug Fixes
|
27
|
+
|
28
|
+
- add translation behavior to disable gen 1 patterns ([#2670](https://github.com/aws-amplify/amplify-category-api/issues/2670)) ([38d1a71](https://github.com/aws-amplify/amplify-category-api/commit/38d1a718ec2b0290f514780c6d1d5f0790ba7764))
|
12
29
|
|
13
30
|
## [2.9.2](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-transformer-core@2.9.1...@aws-amplify/graphql-transformer-core@2.9.2) (2024-07-02)
|
14
31
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { MappingTemplateProvider } from '@aws-amplify/graphql-transformer-interfaces';
|
2
|
-
import { BaseDataSource } from 'aws-cdk-lib/aws-appsync';
|
2
|
+
import { BaseDataSource, CfnFunctionConfiguration } from 'aws-cdk-lib/aws-appsync';
|
3
3
|
import { Construct } from 'constructs';
|
4
4
|
import { GraphQLApi } from './graphql-api';
|
5
5
|
export interface BaseFunctionConfigurationProps {
|
@@ -10,6 +10,7 @@ export interface BaseFunctionConfigurationProps {
|
|
10
10
|
export interface FunctionConfigurationProps extends BaseFunctionConfigurationProps {
|
11
11
|
readonly api: GraphQLApi;
|
12
12
|
readonly dataSource: BaseDataSource | string;
|
13
|
+
readonly runtime: CfnFunctionConfiguration.AppSyncRuntimeProperty | undefined;
|
13
14
|
}
|
14
15
|
export declare class AppSyncFunctionConfiguration extends Construct {
|
15
16
|
readonly arn: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"appsync-function.d.ts","sourceRoot":"","sources":["../src/appsync-function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AACtF,OAAO,EAAoB,cAAc,
|
1
|
+
{"version":3,"file":"appsync-function.d.ts","sourceRoot":"","sources":["../src/appsync-function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AACtF,OAAO,EAAoB,cAAc,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACrG,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAEvC,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAI3C,MAAM,WAAW,8BAA8B;IAM7C,QAAQ,CAAC,sBAAsB,EAAE,uBAAuB,CAAC;IAMzD,QAAQ,CAAC,uBAAuB,EAAE,uBAAuB,CAAC;IAE1D,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;CAC/B;AAKD,MAAM,WAAW,0BAA2B,SAAQ,8BAA8B;IAIhF,QAAQ,CAAC,GAAG,EAAE,UAAU,CAAC;IAMzB,QAAQ,CAAC,UAAU,EAAE,cAAc,GAAG,MAAM,CAAC;IAS7C,QAAQ,CAAC,OAAO,EAAE,wBAAwB,CAAC,sBAAsB,GAAG,SAAS,CAAC;CAC/E;AAED,qBAAa,4BAA6B,SAAQ,SAAS;IAIzD,SAAgB,GAAG,EAAE,MAAM,CAAC;IAE5B,SAAgB,UAAU,EAAE,MAAM,CAAC;IAEnC,OAAO,CAAC,QAAQ,CAA2B;gBAE/B,KAAK,EAAE,SAAS,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,0BAA0B;CAoB5E"}
|
@@ -3,26 +3,20 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.AppSyncFunctionConfiguration = void 0;
|
4
4
|
const aws_appsync_1 = require("aws-cdk-lib/aws-appsync");
|
5
5
|
const constructs_1 = require("constructs");
|
6
|
-
const template_asset_1 = require("./cdk-compat/template-asset");
|
7
6
|
const utils_1 = require("./utils");
|
7
|
+
const function_runtime_1 = require("./utils/function-runtime");
|
8
8
|
class AppSyncFunctionConfiguration extends constructs_1.Construct {
|
9
9
|
constructor(scope, id, props) {
|
10
10
|
var _a;
|
11
11
|
super(scope, id);
|
12
|
-
const
|
13
|
-
const responseTemplate = props.responseMappingTemplate.bind(this, props.api.assetProvider);
|
12
|
+
const runtimeSpecificProps = (0, function_runtime_1.getRuntimeSpecificFunctionProps)(this, props);
|
14
13
|
this.function = new aws_appsync_1.CfnFunctionConfiguration(this, `${id}.AppSyncFunction`, {
|
15
14
|
name: id,
|
16
15
|
apiId: props.api.apiId,
|
17
16
|
functionVersion: '2018-05-29',
|
18
17
|
description: props.description,
|
19
18
|
dataSourceName: props.dataSource instanceof aws_appsync_1.BaseDataSource ? props.dataSource.ds.attrName : props.dataSource,
|
20
|
-
...
|
21
|
-
? { requestMappingTemplate: requestTemplate }
|
22
|
-
: { requestMappingTemplateS3Location: requestTemplate }),
|
23
|
-
...(props.responseMappingTemplate instanceof template_asset_1.InlineTemplate
|
24
|
-
? { responseMappingTemplate: responseTemplate }
|
25
|
-
: { responseMappingTemplateS3Location: responseTemplate }),
|
19
|
+
...runtimeSpecificProps,
|
26
20
|
});
|
27
21
|
(0, utils_1.setResourceName)(this.function, { name: id });
|
28
22
|
props.api.addSchemaDependency(this.function);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"appsync-function.js","sourceRoot":"","sources":["../src/appsync-function.ts"],"names":[],"mappings":";;;AACA,yDAAqG;AACrG,2CAAuC;
|
1
|
+
{"version":3,"file":"appsync-function.js","sourceRoot":"","sources":["../src/appsync-function.ts"],"names":[],"mappings":";;;AACA,yDAAqG;AACrG,2CAAuC;AAGvC,mCAA0C;AAC1C,+DAA2E;AA4C3E,MAAa,4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ws-appsync';
|
1
|
+
import { AssetProvider, GraphQLAPIProvider, TransformHostProvider } from '@aws-amplify/graphql-transformer-interfaces';
|
2
|
+
import { ApiKeyConfig, AuthorizationConfig, AuthorizationType, GraphqlApiBase, LogConfig, CfnApiKey, Visibility, IamResource } from 'aws-cdk-lib/aws-appsync';
|
3
3
|
import { Grant, IGrantable } from 'aws-cdk-lib/aws-iam';
|
4
4
|
import { CfnResource } from 'aws-cdk-lib';
|
5
5
|
import { Construct } from 'constructs';
|
@@ -11,14 +11,6 @@ export interface GraphqlApiProps {
|
|
11
11
|
readonly schema?: TransformerSchema;
|
12
12
|
readonly xrayEnabled?: boolean;
|
13
13
|
}
|
14
|
-
export declare class IamResource implements APIIAMResourceProvider {
|
15
|
-
static custom(...arns: string[]): IamResource;
|
16
|
-
static ofType(type: string, ...fields: string[]): IamResource;
|
17
|
-
static all(): IamResource;
|
18
|
-
private arns;
|
19
|
-
private constructor();
|
20
|
-
resourceArns(api: GraphQLAPIProvider): string[];
|
21
|
-
}
|
22
14
|
export type TransformerAPIProps = GraphqlApiProps & {
|
23
15
|
readonly createApiKey?: boolean;
|
24
16
|
readonly host?: TransformHostProvider;
|
@@ -40,12 +32,14 @@ export declare class GraphQLApi extends GraphqlApiBase implements GraphQLAPIProv
|
|
40
32
|
readonly disableResolverDeduping?: boolean;
|
41
33
|
readonly environmentName?: string;
|
42
34
|
readonly assetProvider: AssetProvider;
|
35
|
+
readonly graphQLEndpointArn: string;
|
36
|
+
readonly visibility: Visibility;
|
43
37
|
private schemaResource;
|
44
38
|
private api;
|
45
39
|
private apiKeyResource?;
|
46
40
|
private authorizationConfig?;
|
47
41
|
constructor(scope: Construct, id: string, props: TransformerAPIProps);
|
48
|
-
grant(grantee: IGrantable, resources:
|
42
|
+
grant(grantee: IGrantable, resources: IamResource, ...actions: string[]): Grant;
|
49
43
|
grantQuery(grantee: IGrantable, ...fields: string[]): Grant;
|
50
44
|
grantMutation(grantee: IGrantable, ...fields: string[]): Grant;
|
51
45
|
grantSubscription(grantee: IGrantable, ...fields: string[]): Grant;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"graphql-api.d.ts","sourceRoot":"","sources":["../src/graphql-api.ts"],"names":[],"mappings":"AAAA,OAAO,
|
1
|
+
{"version":3,"file":"graphql-api.d.ts","sourceRoot":"","sources":["../src/graphql-api.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAC;AACvH,OAAO,EACL,YAAY,EACZ,mBAAmB,EAEnB,iBAAiB,EACjB,cAAc,EACd,SAAS,EAIT,SAAS,EAGT,UAAU,EACV,WAAW,EACZ,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,KAAK,EAAE,UAAU,EAAyC,MAAM,qBAAqB,CAAC;AAE/F,OAAO,EAAa,WAAW,EAAmB,MAAM,aAAa,CAAC;AACtE,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AACvC,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAI9D,MAAM,WAAW,eAAe;IAK9B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAMtB,QAAQ,CAAC,mBAAmB,CAAC,EAAE,mBAAmB,CAAC;IAMnD,QAAQ,CAAC,SAAS,CAAC,EAAE,SAAS,CAAC;IAQ/B,QAAQ,CAAC,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAMpC,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;CAChC;AAED,MAAM,MAAM,mBAAmB,GAAG,eAAe,GAAG;IAClD,QAAQ,CAAC,YAAY,CAAC,EAAE,OAAO,CAAC;IAChC,QAAQ,CAAC,IAAI,CAAC,EAAE,qBAAqB,CAAC;IACtC,QAAQ,CAAC,kBAAkB,CAAC,EAAE,OAAO,CAAC;IACtC,QAAQ,CAAC,eAAe,CAAC,EAAE,MAAM,CAAC;IAClC,QAAQ,CAAC,uBAAuB,CAAC,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,EAAE,UAAU,EAAE,GAAG,MAAM,EAAE,MAAM,EAAE,GAAG,KAAK;IAIlE,YAAY,CAAC,MAAM,CAAC,EAAE,YAAY;IAYlC,WAAW,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI;IAIlC,uBAAuB;IAI9B,OAAO,CAAC,0BAA0B;IAiB3B,mBAAmB,CAAC,SAAS,EAAE,WAAW,GAAG,OAAO;IAK3D,OAAO,CAAC,cAAc;IAiBtB,OAAO,CAAC,wBAAwB;IAYhC,OAAO,CAAC,mBAAmB;IAY3B,OAAO,CAAC,iBAAiB;IAWzB,OAAO,CAAC,YAAY;IAIpB,OAAO,CAAC,iCAAiC;CAe1C"}
|
@@ -23,7 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
23
23
|
return result;
|
24
24
|
};
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
26
|
-
exports.GraphQLApi =
|
26
|
+
exports.GraphQLApi = void 0;
|
27
27
|
const aws_appsync_1 = require("aws-cdk-lib/aws-appsync");
|
28
28
|
const aws_iam_1 = require("aws-cdk-lib/aws-iam");
|
29
29
|
const cdk = __importStar(require("aws-cdk-lib"));
|
@@ -31,33 +31,6 @@ const aws_cdk_lib_1 = require("aws-cdk-lib");
|
|
31
31
|
const schema_asset_1 = require("./cdk-compat/schema-asset");
|
32
32
|
const transform_host_1 = require("./transform-host");
|
33
33
|
const utils_1 = require("./utils");
|
34
|
-
class IamResource {
|
35
|
-
static custom(...arns) {
|
36
|
-
if (arns.length === 0) {
|
37
|
-
throw new Error('At least 1 custom ARN must be provided.');
|
38
|
-
}
|
39
|
-
return new IamResource(arns);
|
40
|
-
}
|
41
|
-
static ofType(type, ...fields) {
|
42
|
-
const arns = fields.length ? fields.map((field) => `types/${type}/fields/${field}`) : [`types/${type}/*`];
|
43
|
-
return new IamResource(arns);
|
44
|
-
}
|
45
|
-
static all() {
|
46
|
-
return new IamResource(['*']);
|
47
|
-
}
|
48
|
-
constructor(arns) {
|
49
|
-
this.arns = arns;
|
50
|
-
}
|
51
|
-
resourceArns(api) {
|
52
|
-
return this.arns.map((arn) => aws_cdk_lib_1.Stack.of(api).formatArn({
|
53
|
-
service: 'appsync',
|
54
|
-
resource: `apis/${api.apiId}`,
|
55
|
-
arnFormat: aws_cdk_lib_1.ArnFormat.SLASH_RESOURCE_NAME,
|
56
|
-
resourceName: `${arn}`,
|
57
|
-
}));
|
58
|
-
}
|
59
|
-
}
|
60
|
-
exports.IamResource = IamResource;
|
61
34
|
class GraphQLApi extends aws_appsync_1.GraphqlApiBase {
|
62
35
|
constructor(scope, id, props) {
|
63
36
|
var _a, _b;
|
@@ -87,6 +60,8 @@ class GraphQLApi extends aws_appsync_1.GraphqlApiBase {
|
|
87
60
|
this.arn = this.api.attrArn;
|
88
61
|
this.graphqlUrl = this.api.attrGraphQlUrl;
|
89
62
|
this.name = this.api.name;
|
63
|
+
this.graphQLEndpointArn = this.api.attrGraphQlEndpointArn;
|
64
|
+
this.visibility = this.api.visibility === 'PRIVATE' ? aws_appsync_1.Visibility.PRIVATE : aws_appsync_1.Visibility.GLOBAL;
|
90
65
|
this.schema = (_a = props.schema) !== null && _a !== void 0 ? _a : new schema_asset_1.TransformerSchema();
|
91
66
|
this.assetProvider = props.assetProvider;
|
92
67
|
this.schemaResource = this.schema.bind(this);
|
@@ -120,13 +95,13 @@ class GraphQLApi extends aws_appsync_1.GraphqlApiBase {
|
|
120
95
|
});
|
121
96
|
}
|
122
97
|
grantQuery(grantee, ...fields) {
|
123
|
-
return this.grant(grantee, IamResource.ofType('Query', ...fields), 'appsync:GraphQL');
|
98
|
+
return this.grant(grantee, aws_appsync_1.IamResource.ofType('Query', ...fields), 'appsync:GraphQL');
|
124
99
|
}
|
125
100
|
grantMutation(grantee, ...fields) {
|
126
|
-
return this.grant(grantee, IamResource.ofType('Mutation', ...fields), 'appsync:GraphQL');
|
101
|
+
return this.grant(grantee, aws_appsync_1.IamResource.ofType('Mutation', ...fields), 'appsync:GraphQL');
|
127
102
|
}
|
128
103
|
grantSubscription(grantee, ...fields) {
|
129
|
-
return this.grant(grantee, IamResource.ofType('Subscription', ...fields), 'appsync:GraphQL');
|
104
|
+
return this.grant(grantee, aws_appsync_1.IamResource.ofType('Subscription', ...fields), 'appsync:GraphQL');
|
130
105
|
}
|
131
106
|
createAPIKey(config) {
|
132
107
|
var _a, _b;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"graphql-api.js","sourceRoot":"","sources":["../src/graphql-api.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;
|
1
|
+
{"version":3,"file":"graphql-api.js","sourceRoot":"","sources":["../src/graphql-api.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AACA,yDAeiC;AACjC,iDAA+F;AAC/F,iDAAmC;AACnC,6CAAsE;AAEtE,4DAA8D;AAC9D,qDAAwD;AACxD,mCAA0C;AA4C1C,MAAa,UAAW,SAAQ,4BAAc;IAqF5C,YAAY,KAAgB,EAAE,EAAU,EAAE,KAA0B;;QAClE,KAAK,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;QACjB,IAAI,CAAC,mBAAmB,GAAG;YACzB,oBAAoB,EAAE,EAAE,iBAAiB,EAAE,+BAAiB,CAAC,OAAO,EAAE;YACtE,4BAA4B,EAAE,EAAE;YAChC,GAAG,KAAK,CAAC,mBAAmB;SAC7B,CAAC;QACF,MAAM,WAAW,GAAG,IAAI,CAAC,mBAAmB,CAAC,oBAAoB,CAAC;QAClE,MAAM,eAAe,GAAG,IAAI,CAAC,mBAAmB,CAAC,4BAA4B,CAAC;QAC9E,MAAM,KAAK,GAAG,CAAC,WAAW,EAAE,GAAG,eAAe,CAAC,CAAC;QAEhD,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;QACzD,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC,eAAe,CAAC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olver } from './transformation/types';
|
3
3
|
export { validateModelSchema } from './transformation/validation';
|
4
4
|
export { ConflictDetectionType, ConflictHandlerType, ResolverConfig, SyncConfig, SyncConfigOptimistic, SyncConfigServer, SyncConfigLambda, TransformConfig, } from './config/index';
|
5
|
-
export { APICategory, collectDirectives, collectDirectivesByTypeNames, constructArrayFieldsStatement, constructAuthFilterStatement, constructFieldMappingInput, constructNonScalarFieldsStatement, DirectiveWrapper, fieldsWithSqlDirective, generateGetArgumentsInput, GetArgumentsOptions, getArrayFields, getConditionInputName, getConnectionName, getDefaultStrategyNameForDbType, getField, getFilterInputName, getImportedRDSTypeFromStrategyDbType, getKeySchema, getModelDataSourceNameForTypeName, getModelDataSourceStrategy, getNonScalarFields, getParameterStoreSecretPath, getPrimaryKeyFieldNodes, getPrimaryKeyFields, getResourceName, getResourceNamesForStrategy, getResourceNamesForStrategyName, getSortKeyFieldNames, getStrategyDbTypeFromModel, getStrategyDbTypeFromTypeNode, getSubscriptionFilterInputName, getTable, getType,
|
5
|
+
export { APICategory, collectDirectives, collectDirectivesByTypeNames, constructArrayFieldsStatement, constructAuthFilterStatement, constructFieldMappingInput, constructNonScalarFieldsStatement, DirectiveWrapper, fieldsWithSqlDirective, generateGetArgumentsInput, GetArgumentsOptions, getArrayFields, getConditionInputName, getConnectionName, getDefaultStrategyNameForDbType, getField, getFilterInputName, getImportedRDSTypeFromStrategyDbType, getKeySchema, getModelDataSourceNameForTypeName, getModelDataSourceStrategy, getNonScalarFields, getParameterStoreSecretPath, getPrimaryKeyFieldNodes, getPrimaryKeyFields, getResourceName, getResourceNamesForStrategy, getResourceNamesForStrategyName, getSortKeyFieldNames, getStrategyDbTypeFromModel, getStrategyDbTypeFromTypeNode, getSubscriptionFilterInputName, getTable, getType, isAmplifyDynamoDbModelDataSourceStrategy, isBuiltInGraphqlNode, isDefaultDynamoDbModelDataSourceStrategy, isDynamoDbModel, isDynamoDbType, isModelType, isMutationNode, isObjectTypeDefinitionNode, isQueryNode, isQueryType, isSqlDbType, isSqlModel, isSqlStrategy, normalizeDbType, setResourceName, SQLLambdaResourceNames, } from './utils';
|
6
6
|
export type { SetResourceNameProps } from './utils';
|
7
|
+
export { type JSONSchema, isDisallowedScalarType, supportedScalarTypes, GraphQLScalarJSONSchemaDefinition, convertNamedTypeToJSONSchema, } from './utils/ai';
|
7
8
|
export * from './utils/operation-names';
|
8
9
|
export * from './errors';
|
9
10
|
export { TransformerModelBase, TransformerModelEnhancerBase, TransformerPluginBase, TransformerAuthBase, } from './transformation/transformer-plugin-base';
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,6BAA6B,EAC7B,yCAAyC,EACzC,iBAAiB,EACjB,gBAAgB,EAChB,uBAAuB,EACvB,SAAS,GACV,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAC9E,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAO,EACL,qBAAqB,EACrB,mBAAmB,EACnB,cAAc,EACd,UAAU,EACV,oBAAoB,EACpB,gBAAgB,EAChB,gBAAgB,EAChB,eAAe,GAChB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACL,WAAW,EACX,iBAAiB,EACjB,4BAA4B,EAC5B,6BAA6B,EAC7B,4BAA4B,EAC5B,0BAA0B,EAC1B,iCAAiC,EACjC,gBAAgB,EAChB,sBAAsB,EACtB,yBAAyB,EACzB,mBAAmB,EACnB,cAAc,EACd,qBAAqB,EACrB,iBAAiB,EACjB,+BAA+B,EAC/B,QAAQ,EACR,kBAAkB,EAClB,oCAAoC,EACpC,YAAY,EACZ,iCAAiC,EACjC,0BAA0B,EAC1B,kBAAkB,EAClB,2BAA2B,EAC3B,uBAAuB,EACvB,mBAAmB,EACnB,eAAe,EACf,2BAA2B,EAC3B,+BAA+B,EAC/B,oBAAoB,EACpB,0BAA0B,EAC1B,6BAA6B,EAC7B,8BAA8B,EAC9B,QAAQ,EACR,OAAO,EACP,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,6BAA6B,EAC7B,yCAAyC,EACzC,iBAAiB,EACjB,gBAAgB,EAChB,uBAAuB,EACvB,SAAS,GACV,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAC9E,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAO,EACL,qBAAqB,EACrB,mBAAmB,EACnB,cAAc,EACd,UAAU,EACV,oBAAoB,EACpB,gBAAgB,EAChB,gBAAgB,EAChB,eAAe,GAChB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACL,WAAW,EACX,iBAAiB,EACjB,4BAA4B,EAC5B,6BAA6B,EAC7B,4BAA4B,EAC5B,0BAA0B,EAC1B,iCAAiC,EACjC,gBAAgB,EAChB,sBAAsB,EACtB,yBAAyB,EACzB,mBAAmB,EACnB,cAAc,EACd,qBAAqB,EACrB,iBAAiB,EACjB,+BAA+B,EAC/B,QAAQ,EACR,kBAAkB,EAClB,oCAAoC,EACpC,YAAY,EACZ,iCAAiC,EACjC,0BAA0B,EAC1B,kBAAkB,EAClB,2BAA2B,EAC3B,uBAAuB,EACvB,mBAAmB,EACnB,eAAe,EACf,2BAA2B,EAC3B,+BAA+B,EAC/B,oBAAoB,EACpB,0BAA0B,EAC1B,6BAA6B,EAC7B,8BAA8B,EAC9B,QAAQ,EACR,OAAO,EACP,wCAAwC,EACxC,oBAAoB,EACpB,wCAAwC,EACxC,eAAe,EACf,cAAc,EACd,WAAW,EACX,cAAc,EACd,0BAA0B,EAC1B,WAAW,EACX,WAAW,EACX,WAAW,EACX,UAAU,EACV,aAAa,EACb,eAAe,EACf,eAAe,EACf,sBAAsB,GACvB,MAAM,SAAS,CAAC;AACjB,YAAY,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AACpD,OAAO,EACL,KAAK,UAAU,EACf,sBAAsB,EACtB,oBAAoB,EACpB,iCAAiC,EACjC,4BAA4B,GAC7B,MAAM,YAAY,CAAC;AACpB,cAAc,yBAAyB,CAAC;AACxC,cAAc,UAAU,CAAC;AACzB,OAAO,EACL,oBAAoB,EACpB,4BAA4B,EAC5B,qBAAqB,EACrB,mBAAmB,GACpB,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,mBAAmB,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAC1E,OAAO,EACL,uCAAuC,EACvC,WAAW,EACX,+BAA+B,EAC/B,sBAAsB,EACtB,wBAAwB,EACxB,sBAAsB,EACtB,eAAe,EACf,aAAa,EACb,gBAAgB,EAChB,oBAAoB,EACpB,mBAAmB,EACnB,oBAAoB,GACrB,MAAM,SAAS,CAAC;AAIjB,eAAO,MAAM,gCAAgC,QAAO,MAEnD,CAAC;AAEF,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,EACL,WAAW,EACX,YAAY,EACZ,iBAAiB,EACjB,4BAA4B,EAC5B,uBAAuB,GACxB,MAAM,sCAAsC,CAAC"}
|
@@ -14,8 +14,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
-
exports.isQueryNode = exports.isObjectTypeDefinitionNode = exports.isMutationNode = exports.isModelType = exports.isDynamoDbType = exports.isDynamoDbModel = exports.isDefaultDynamoDbModelDataSourceStrategy = exports.isBuiltInGraphqlNode = exports.isAmplifyDynamoDbModelDataSourceStrategy = exports.
|
18
|
-
exports.ObjectDefinitionWrapper = exports.InputObjectDefinitionWrapper = exports.InputFieldWrapper = exports.FieldWrapper = exports.EnumWrapper = exports.MappingTemplate = exports.getAppSyncServiceExtraDirectives = exports.SQL_SCHEMA_FILE_NAME = exports.POSTGRES_DB_TYPE = exports.MYSQL_DB_TYPE = exports.ImportedRDSType = exports.DDB_DEFAULT_DATASOURCE_STRATEGY = exports.DDB_DB_TYPE = exports.DDB_AMPLIFY_MANAGED_DATASOURCE_STRATEGY = exports.StackManager = exports.TransformerResolver = exports.TransformerAuthBase = exports.TransformerPluginBase = exports.TransformerModelEnhancerBase = exports.TransformerModelBase = exports.setResourceName = exports.normalizeDbType = exports.isSqlStrategy = exports.isSqlModel = exports.isSqlDbType = void 0;
|
17
|
+
exports.isQueryType = exports.isQueryNode = exports.isObjectTypeDefinitionNode = exports.isMutationNode = exports.isModelType = exports.isDynamoDbType = exports.isDynamoDbModel = exports.isDefaultDynamoDbModelDataSourceStrategy = exports.isBuiltInGraphqlNode = exports.isAmplifyDynamoDbModelDataSourceStrategy = exports.getType = exports.getTable = exports.getSubscriptionFilterInputName = exports.getStrategyDbTypeFromTypeNode = exports.getStrategyDbTypeFromModel = exports.getSortKeyFieldNames = exports.getResourceNamesForStrategyName = exports.getResourceNamesForStrategy = exports.getResourceName = exports.getPrimaryKeyFields = exports.getPrimaryKeyFieldNodes = exports.getParameterStoreSecretPath = exports.getNonScalarFields = exports.getModelDataSourceStrategy = exports.getModelDataSourceNameForTypeName = exports.getKeySchema = exports.getImportedRDSTypeFromStrategyDbType = exports.getFilterInputName = exports.getField = exports.getDefaultStrategyNameForDbType = exports.getConnectionName = exports.getConditionInputName = exports.getArrayFields = exports.generateGetArgumentsInput = exports.fieldsWithSqlDirective = exports.DirectiveWrapper = exports.constructNonScalarFieldsStatement = exports.constructFieldMappingInput = exports.constructAuthFilterStatement = exports.constructArrayFieldsStatement = exports.collectDirectivesByTypeNames = exports.collectDirectives = exports.APICategory = exports.ConflictHandlerType = exports.validateModelSchema = exports.SyncUtils = exports.GraphQLTransform = exports.getModelTypeNames = exports.constructSqlDirectiveDataSourceStrategies = exports.constructDataSourceStrategies = void 0;
|
18
|
+
exports.ObjectDefinitionWrapper = exports.InputObjectDefinitionWrapper = exports.InputFieldWrapper = exports.FieldWrapper = exports.EnumWrapper = exports.MappingTemplate = exports.getAppSyncServiceExtraDirectives = exports.SQL_SCHEMA_FILE_NAME = exports.POSTGRES_DB_TYPE = exports.MYSQL_DB_TYPE = exports.ImportedRDSType = exports.DDB_DEFAULT_DATASOURCE_STRATEGY = exports.DDB_DB_TYPE = exports.DDB_AMPLIFY_MANAGED_DATASOURCE_STRATEGY = exports.StackManager = exports.TransformerResolver = exports.TransformerAuthBase = exports.TransformerPluginBase = exports.TransformerModelEnhancerBase = exports.TransformerModelBase = exports.convertNamedTypeToJSONSchema = exports.GraphQLScalarJSONSchemaDefinition = exports.supportedScalarTypes = exports.isDisallowedScalarType = exports.setResourceName = exports.normalizeDbType = exports.isSqlStrategy = exports.isSqlModel = exports.isSqlDbType = void 0;
|
19
19
|
const graphql_1 = require("graphql");
|
20
20
|
const validation_1 = require("./transformation/validation");
|
21
21
|
var transformation_1 = require("./transformation");
|
@@ -62,7 +62,6 @@ Object.defineProperty(exports, "getStrategyDbTypeFromTypeNode", { enumerable: tr
|
|
62
62
|
Object.defineProperty(exports, "getSubscriptionFilterInputName", { enumerable: true, get: function () { return utils_1.getSubscriptionFilterInputName; } });
|
63
63
|
Object.defineProperty(exports, "getTable", { enumerable: true, get: function () { return utils_1.getTable; } });
|
64
64
|
Object.defineProperty(exports, "getType", { enumerable: true, get: function () { return utils_1.getType; } });
|
65
|
-
Object.defineProperty(exports, "isImportedAmplifyDynamoDbModelDataSourceStrategy", { enumerable: true, get: function () { return utils_1.isImportedAmplifyDynamoDbModelDataSourceStrategy; } });
|
66
65
|
Object.defineProperty(exports, "isAmplifyDynamoDbModelDataSourceStrategy", { enumerable: true, get: function () { return utils_1.isAmplifyDynamoDbModelDataSourceStrategy; } });
|
67
66
|
Object.defineProperty(exports, "isBuiltInGraphqlNode", { enumerable: true, get: function () { return utils_1.isBuiltInGraphqlNode; } });
|
68
67
|
Object.defineProperty(exports, "isDefaultDynamoDbModelDataSourceStrategy", { enumerable: true, get: function () { return utils_1.isDefaultDynamoDbModelDataSourceStrategy; } });
|
@@ -72,11 +71,17 @@ Object.defineProperty(exports, "isModelType", { enumerable: true, get: function
|
|
72
71
|
Object.defineProperty(exports, "isMutationNode", { enumerable: true, get: function () { return utils_1.isMutationNode; } });
|
73
72
|
Object.defineProperty(exports, "isObjectTypeDefinitionNode", { enumerable: true, get: function () { return utils_1.isObjectTypeDefinitionNode; } });
|
74
73
|
Object.defineProperty(exports, "isQueryNode", { enumerable: true, get: function () { return utils_1.isQueryNode; } });
|
74
|
+
Object.defineProperty(exports, "isQueryType", { enumerable: true, get: function () { return utils_1.isQueryType; } });
|
75
75
|
Object.defineProperty(exports, "isSqlDbType", { enumerable: true, get: function () { return utils_1.isSqlDbType; } });
|
76
76
|
Object.defineProperty(exports, "isSqlModel", { enumerable: true, get: function () { return utils_1.isSqlModel; } });
|
77
77
|
Object.defineProperty(exports, "isSqlStrategy", { enumerable: true, get: function () { return utils_1.isSqlStrategy; } });
|
78
78
|
Object.defineProperty(exports, "normalizeDbType", { enumerable: true, get: function () { return utils_1.normalizeDbType; } });
|
79
79
|
Object.defineProperty(exports, "setResourceName", { enumerable: true, get: function () { return utils_1.setResourceName; } });
|
80
|
+
var ai_1 = require("./utils/ai");
|
81
|
+
Object.defineProperty(exports, "isDisallowedScalarType", { enumerable: true, get: function () { return ai_1.isDisallowedScalarType; } });
|
82
|
+
Object.defineProperty(exports, "supportedScalarTypes", { enumerable: true, get: function () { return ai_1.supportedScalarTypes; } });
|
83
|
+
Object.defineProperty(exports, "GraphQLScalarJSONSchemaDefinition", { enumerable: true, get: function () { return ai_1.GraphQLScalarJSONSchemaDefinition; } });
|
84
|
+
Object.defineProperty(exports, "convertNamedTypeToJSONSchema", { enumerable: true, get: function () { return ai_1.convertNamedTypeToJSONSchema; } });
|
80
85
|
__exportStar(require("./utils/operation-names"), exports);
|
81
86
|
__exportStar(require("./errors"), exports);
|
82
87
|
var transformer_plugin_base_1 = require("./transformation/transformer-plugin-base");
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA,qCAAgC;AAChC,4DAAwE;AAExE,mDAO0B;AANxB,+HAAA,6BAA6B,OAAA;AAC7B,2IAAA,yCAAyC,OAAA;AACzC,mHAAA,iBAAiB,OAAA;AACjB,kHAAA,gBAAgB,OAAA;AAEhB,2GAAA,SAAS,OAAA;AAGX,0DAAkE;AAAzD,iHAAA,mBAAmB,OAAA;AAC5B,wCASwB;AAPtB,4GAAA,mBAAmB,OAAA;AAQrB,iCAmDiB;AAlDf,oGAAA,WAAW,OAAA;AACX,0GAAA,iBAAiB,OAAA;AACjB,qHAAA,4BAA4B,OAAA;AAC5B,sHAAA,6BAA6B,OAAA;AAC7B,qHAAA,4BAA4B,OAAA;AAC5B,mHAAA,0BAA0B,OAAA;AAC1B,0HAAA,iCAAiC,OAAA;AACjC,yGAAA,gBAAgB,OAAA;AAChB,+GAAA,sBAAsB,OAAA;AACtB,kHAAA,yBAAyB,OAAA;AAEzB,uGAAA,cAAc,OAAA;AACd,8GAAA,qBAAqB,OAAA;AACrB,0GAAA,iBAAiB,OAAA;AACjB,wHAAA,+BAA+B,OAAA;AAC/B,iGAAA,QAAQ,OAAA;AACR,2GAAA,kBAAkB,OAAA;AAClB,6HAAA,oCAAoC,OAAA;AACpC,qGAAA,YAAY,OAAA;AACZ,0HAAA,iCAAiC,OAAA;AACjC,mHAAA,0BAA0B,OAAA;AAC1B,2GAAA,kBAAkB,OAAA;AAClB,oHAAA,2BAA2B,OAAA;AAC3B,gHAAA,uBAAuB,OAAA;AACvB,4GAAA,mBAAmB,OAAA;AACnB,wGAAA,eAAe,OAAA;AACf,oHAAA,2BAA2B,OAAA;AAC3B,wHAAA,+BAA+B,OAAA;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