@aws-amplify/graphql-api-construct 1.16.0-gen2-migration-1015.0 → 1.16.1-ai-streaming.0
Sign up to get free protection for your applications and to get access to all the features.
- package/.jsii +79 -152
- package/API.md +1 -11
- package/CHANGELOG.md +21 -1
- package/lib/amplify-dynamodb-table-wrapper.js +1 -1
- package/lib/amplify-graphql-api.js +9 -12
- package/lib/amplify-graphql-definition.js +1 -1
- package/lib/internal/metadata.d.ts +4 -0
- package/lib/internal/metadata.js +42 -0
- 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 +1 -1
- package/lib/types.js +1 -1
- package/node_modules/@aws-amplify/ai-constructs/lib/conversation/conversation_handler_construct.d.ts +19 -1
- package/node_modules/@aws-amplify/ai-constructs/lib/conversation/conversation_handler_construct.js +36 -2
- package/node_modules/@aws-amplify/ai-constructs/lib/conversation/index.d.ts +2 -2
- package/node_modules/@aws-amplify/ai-constructs/lib/conversation/index.js +1 -1
- package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/bedrock_converse_adapter.d.ts +11 -4
- package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/bedrock_converse_adapter.js +279 -67
- package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/conversation_message_history_retriever.js +34 -8
- package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/conversation_turn_executor.d.ts +2 -2
- package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/conversation_turn_executor.js +17 -4
- package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/conversation_turn_response_sender.d.ts +17 -3
- package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/conversation_turn_response_sender.js +56 -18
- package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/default_handler.d.ts +1 -1
- package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/event-tools-provider/event_tools_provider.js +2 -2
- package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/event-tools-provider/graphql_tool.d.ts +7 -7
- package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/event-tools-provider/graphql_tool.js +3 -2
- package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/executable_tool_factory.d.ts +7 -0
- package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/executable_tool_factory.js +16 -0
- package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/graphql_request_executor.d.ts +2 -1
- package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/graphql_request_executor.js +4 -2
- package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/index.d.ts +3 -2
- package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/index.js +4 -2
- package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/types.d.ts +71 -14
- package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/types.js +1 -1
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/README.md +4 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/ai/conversation/index.d.ts +23 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/ai/conversation/index.js +10 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/ai/conversation/v1.d.ts +22 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/ai/conversation/v1.js +11 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/auth/index.d.ts +118 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/auth/index.js +10 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/auth/v1.d.ts +117 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/auth/v1.js +31 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/custom/index.d.ts +23 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/custom/index.js +10 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/custom/v1.d.ts +22 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/custom/v1.js +11 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/function/index.d.ts +23 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/function/index.js +10 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/function/v1.d.ts +22 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/function/v1.js +11 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/graphql/index.d.ts +59 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/graphql/index.js +12 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/graphql/v1.d.ts +59 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/graphql/v1.js +25 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/index.d.ts +515 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/index.js +112 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/platform/index.d.ts +2 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/platform/index.js +18 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/platform/stack_metadata_schemas.d.ts +42 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/platform/stack_metadata_schemas.js +22 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/stack/index.d.ts +28 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/stack/index.js +10 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/stack/v1.d.ts +27 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/stack/v1.js +12 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/storage/index.d.ts +33 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/storage/index.js +10 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/storage/v1.d.ts +32 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/storage/v1.js +33 -0
- package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/package.json +27 -0
- package/node_modules/@aws-amplify/ai-constructs/package.json +9 -2
- package/node_modules/@aws-amplify/graphql-auth-transformer/CHANGELOG.md +9 -1
- package/node_modules/@aws-amplify/graphql-auth-transformer/package.json +14 -14
- package/node_modules/@aws-amplify/graphql-conversation-transformer/CHANGELOG.md +20 -2
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/conversation-directive-configuration.d.ts +48 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/conversation-directive-configuration.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/conversation-directive-configuration.js +3 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/conversation-directive-configuration.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/graphql-types/conversation-model.d.ts +10 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/graphql-types/conversation-model.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/graphql-types/{session-model.js → conversation-model.js} +18 -24
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/graphql-types/conversation-model.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/graphql-types/message-model.d.ts +14 -10
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/graphql-types/message-model.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/graphql-types/message-model.js +99 -46
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/graphql-types/message-model.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/graphql-types/name-values.d.ts +15 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/graphql-types/name-values.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/graphql-types/name-values.js +32 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/graphql-types/name-values.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/grapqhl-conversation-transformer.d.ts +1 -24
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/grapqhl-conversation-transformer.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/grapqhl-conversation-transformer.js +1 -7
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/grapqhl-conversation-transformer.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-response-pipeline-definition.d.ts +3 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-response-pipeline-definition.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-response-pipeline-definition.js +53 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-response-pipeline-definition.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-response-stream-pipeline-definition.d.ts +3 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-response-stream-pipeline-definition.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-response-stream-pipeline-definition.js +58 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-response-stream-pipeline-definition.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-response-subscription-pipeline-definition.d.ts +3 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-response-subscription-pipeline-definition.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-response-subscription-pipeline-definition.js +21 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-response-subscription-pipeline-definition.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/generate-resolver.d.ts +7 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/generate-resolver.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/generate-resolver.js +41 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/generate-resolver.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/index.d.ts +8 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/index.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/index.js +17 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/index.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/list-messages-init-resolver.d.ts +2 -3
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/list-messages-init-resolver.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/list-messages-init-resolver.js +11 -13
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/list-messages-init-resolver.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/resolver-function-definition.d.ts +23 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/resolver-function-definition.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/resolver-function-definition.js +18 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/resolver-function-definition.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/send-message-pipeline-definition.d.ts +3 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/send-message-pipeline-definition.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/send-message-pipeline-definition.js +88 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/send-message-pipeline-definition.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/{assistant-messages-subscription-resolver-fn.template.js → templates/assistant-messages-subscription-resolver-fn.template.js} +1 -1
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/templates/assistant-streaming-mutation-resolver-fn.template.js +96 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/{invoke-lambda-resolver-fn.template.js → templates/invoke-lambda-resolver-fn.template.js} +14 -7
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/{list-messages-init-resolver-fn.template.js → templates/list-messages-init-resolver-fn.template.js} +1 -1
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/{utils → tools}/graphql-json-schema-type.d.ts +1 -1
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/tools/graphql-json-schema-type.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/{utils → tools}/graphql-json-schema-type.js +1 -1
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/{utils → tools}/graphql-json-schema-type.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/{utils/tools.d.ts → tools/process-tools.d.ts} +8 -14
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/tools/process-tools.d.ts.map +1 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/{utils/tools.js → tools/process-tools.js} +21 -21
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/tools/process-tools.js.map +1 -0
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/transformer-steps/conversation-field-handler.d.ts +3 -1
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/transformer-steps/conversation-field-handler.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/transformer-steps/conversation-field-handler.js +72 -16
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/transformer-steps/conversation-field-handler.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/transformer-steps/conversation-prepare-handler.d.ts +2 -3
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/transformer-steps/conversation-prepare-handler.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/transformer-steps/conversation-prepare-handler.js +22 -19
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/transformer-steps/conversation-prepare-handler.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/transformer-steps/conversation-resolver-generator.d.ts +2 -7
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/transformer-steps/conversation-resolver-generator.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/transformer-steps/conversation-resolver-generator.js +50 -98
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/transformer-steps/conversation-resolver-generator.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-conversation-transformer/package.json +15 -14
- package/node_modules/@aws-amplify/graphql-default-value-transformer/CHANGELOG.md +9 -1
- package/node_modules/@aws-amplify/graphql-default-value-transformer/package.json +9 -9
- package/node_modules/@aws-amplify/graphql-directives/CHANGELOG.md +2 -2
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/belongs-to.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/belongs-to.js +1 -1
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/belongs-to.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/conversation.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/conversation.js +6 -0
- package/node_modules/@aws-amplify/graphql-directives/lib/directives/conversation.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-directives/package.json +2 -3
- package/node_modules/@aws-amplify/graphql-function-transformer/CHANGELOG.md +9 -1
- package/node_modules/@aws-amplify/graphql-function-transformer/package.json +8 -8
- package/node_modules/@aws-amplify/graphql-generation-transformer/CHANGELOG.md +9 -1
- package/node_modules/@aws-amplify/graphql-generation-transformer/package.json +8 -8
- package/node_modules/@aws-amplify/graphql-http-transformer/CHANGELOG.md +9 -1
- package/node_modules/@aws-amplify/graphql-http-transformer/package.json +8 -8
- package/node_modules/@aws-amplify/graphql-index-transformer/CHANGELOG.md +9 -1
- package/node_modules/@aws-amplify/graphql-index-transformer/package.json +9 -9
- package/node_modules/@aws-amplify/graphql-maps-to-transformer/CHANGELOG.md +9 -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 +12 -12
- package/node_modules/@aws-amplify/graphql-model-transformer/CHANGELOG.md +6 -11
- 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 -7
- 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/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 +3 -12
- 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.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 +1 -6
- 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/package.json +10 -13
- package/node_modules/@aws-amplify/graphql-predictions-transformer/CHANGELOG.md +9 -1
- package/node_modules/@aws-amplify/graphql-predictions-transformer/lib/predictionsLambdaFunction.zip +0 -0
- package/node_modules/@aws-amplify/graphql-predictions-transformer/package.json +8 -8
- package/node_modules/@aws-amplify/graphql-relational-transformer/CHANGELOG.md +9 -3
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-belongs-to-transformer.js +0 -3
- 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/has-many/has-many-directive-ddb-references-transformer.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-ddb-references-transformer.js +1 -7
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-ddb-references-transformer.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-ddb-references-transformer.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-ddb-references-transformer.js +1 -7
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-ddb-references-transformer.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/types.d.ts +0 -1
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/types.d.ts.map +1 -1
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/utils.d.ts +0 -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 +1 -9
- package/node_modules/@aws-amplify/graphql-relational-transformer/lib/utils.js.map +1 -1
- package/node_modules/@aws-amplify/graphql-relational-transformer/package.json +10 -10
- package/node_modules/@aws-amplify/graphql-searchable-transformer/CHANGELOG.md +9 -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 -9
- package/node_modules/@aws-amplify/graphql-sql-transformer/CHANGELOG.md +9 -1
- package/node_modules/@aws-amplify/graphql-sql-transformer/package.json +9 -9
- package/node_modules/@aws-amplify/graphql-transformer/CHANGELOG.md +9 -1
- package/node_modules/@aws-amplify/graphql-transformer/package.json +18 -18
- package/node_modules/@aws-amplify/graphql-transformer-core/API.md +0 -4
- package/node_modules/@aws-amplify/graphql-transformer-core/CHANGELOG.md +7 -6
- 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 +2 -3
- package/node_modules/@aws-amplify/graphql-transformer-core/lib/index.js.map +1 -1
- 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 +6 -6
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/API.md +1 -11
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/CHANGELOG.md +0 -11
- 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/package.json +2 -3
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/src/model-datasource/types.ts +0 -10
- 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 +1 -0
- package/node_modules/graphql-transformer-common/CHANGELOG.md +11 -3
- package/node_modules/graphql-transformer-common/lib/TypescriptSchemaConstants.d.ts +1 -0
- package/node_modules/graphql-transformer-common/lib/TypescriptSchemaConstants.d.ts.map +1 -1
- package/node_modules/graphql-transformer-common/lib/TypescriptSchemaConstants.js +1 -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 +23 -23
- package/src/amplify-graphql-api.ts +12 -12
- package/src/internal/metadata.ts +40 -0
- package/src/model-datasource-strategy-types.ts +0 -21
- package/src/types.ts +1 -1
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/graphql-types/session-model.d.ts +0 -10
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/graphql-types/session-model.d.ts.map +0 -1
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/graphql-types/session-model.js.map +0 -1
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-messages-subscription-resolver.d.ts +0 -4
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-messages-subscription-resolver.d.ts.map +0 -1
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-messages-subscription-resolver.js +0 -16
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-messages-subscription-resolver.js.map +0 -1
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-mutation-resolver.d.ts +0 -4
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-mutation-resolver.d.ts.map +0 -1
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-mutation-resolver.js +0 -25
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-mutation-resolver.js.map +0 -1
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/auth-resolver.d.ts +0 -4
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/auth-resolver.d.ts.map +0 -1
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/auth-resolver.js +0 -16
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/auth-resolver.js.map +0 -1
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/init-resolver.d.ts +0 -3
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/init-resolver.d.ts.map +0 -1
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/init-resolver.js +0 -22
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/init-resolver.js.map +0 -1
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/invoke-lambda-resolver.d.ts +0 -4
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/invoke-lambda-resolver.d.ts.map +0 -1
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/invoke-lambda-resolver.js +0 -77
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/invoke-lambda-resolver.js.map +0 -1
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/verify-session-owner-resolver.d.ts +0 -5
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/verify-session-owner-resolver.d.ts.map +0 -1
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/verify-session-owner-resolver.js +0 -34
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/verify-session-owner-resolver.js.map +0 -1
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/write-message-to-table-resolver.d.ts +0 -4
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/write-message-to-table-resolver.d.ts.map +0 -1
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/write-message-to-table-resolver.js +0 -25
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/write-message-to-table-resolver.js.map +0 -1
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/utils/graphql-json-schema-type.d.ts.map +0 -1
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/utils/tools.d.ts.map +0 -1
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/utils/tools.js.map +0 -1
- package/node_modules/@aws-amplify/graphql-directives/LICENSE +0 -201
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-table-manager-lambda/import-table.d.ts +0 -7
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-table-manager-lambda/import-table.d.ts.map +0 -1
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-table-manager-lambda/import-table.js +0 -205
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-table-manager-lambda/import-table.js.map +0 -1
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-table-manager-lambda/node_modules/.package-lock.json +0 -13
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-table-manager-lambda/node_modules/lodash.isequal/LICENSE +0 -47
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-table-manager-lambda/node_modules/lodash.isequal/README.md +0 -18
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-table-manager-lambda/node_modules/lodash.isequal/index.js +0 -1848
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-table-manager-lambda/node_modules/lodash.isequal/package.json +0 -16
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-table-manager-lambda/package-lock.json +0 -21
- package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-table-manager-lambda/package.json +0 -11
- package/node_modules/@aws-amplify/graphql-transformer-interfaces/LICENSE +0 -201
- package/node_modules/graphql-mapping-template/LICENSE +0 -201
- /package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/{assistant-mutation-resolver-fn.template.js → templates/assistant-mutation-resolver-fn.template.js} +0 -0
- /package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/{auth-resolver-fn.template.js → templates/auth-resolver-fn.template.js} +0 -0
- /package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/{init-resolver-fn.template.js → templates/init-resolver-fn.template.js} +0 -0
- /package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/{verify-session-owner-resolver-fn.template.js → templates/verify-session-owner-resolver-fn.template.js} +0 -0
- /package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/{write-message-to-table-resolver-fn.template.js → templates/write-message-to-table-resolver-fn.template.js} +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-amplify/graphql-conversation-transformer",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.5.1-ai-streaming.0",
|
4
4
|
"description": "Amplify GraphQL @conversation transformer",
|
5
5
|
"repository": {
|
6
6
|
"type": "git",
|
@@ -19,25 +19,26 @@
|
|
19
19
|
"build": "tsc && yarn copy-js-resolver-templates",
|
20
20
|
"watch": "tsc -w",
|
21
21
|
"clean": "rimraf ./lib",
|
22
|
-
"copy-js-resolver-templates": "cp
|
22
|
+
"copy-js-resolver-templates": "cd lib/resolvers && mkdir -p templates && cp ../../src/resolvers/templates/*.template.js templates",
|
23
23
|
"test": "jest",
|
24
24
|
"extract-api": "ts-node ../../scripts/extract-api.ts"
|
25
25
|
},
|
26
26
|
"dependencies": {
|
27
|
-
"@aws-amplify/ai-constructs": "
|
28
|
-
"@aws-amplify/graphql-directives": "2.4.0
|
29
|
-
"@aws-amplify/graphql-index-transformer": "3.0.
|
30
|
-
"@aws-amplify/graphql-model-transformer": "3.
|
31
|
-
"@aws-amplify/graphql-relational-transformer": "3.
|
32
|
-
"@aws-amplify/graphql-transformer-core": "3.3
|
33
|
-
"@aws-amplify/graphql-transformer-interfaces": "4.2
|
27
|
+
"@aws-amplify/ai-constructs": "0.0.0-test-20241029211113",
|
28
|
+
"@aws-amplify/graphql-directives": "2.4.0",
|
29
|
+
"@aws-amplify/graphql-index-transformer": "3.0.8-ai-streaming.0",
|
30
|
+
"@aws-amplify/graphql-model-transformer": "3.0.8-ai-streaming.0",
|
31
|
+
"@aws-amplify/graphql-relational-transformer": "3.0.8-ai-streaming.0",
|
32
|
+
"@aws-amplify/graphql-transformer-core": "3.2.3-ai-streaming.0",
|
33
|
+
"@aws-amplify/graphql-transformer-interfaces": "4.1.2",
|
34
34
|
"graphql": "^15.5.0",
|
35
|
-
"graphql-mapping-template": "5.0.
|
36
|
-
"graphql-transformer-common": "5.1.
|
37
|
-
"immer": "^9.0.12"
|
35
|
+
"graphql-mapping-template": "5.0.1",
|
36
|
+
"graphql-transformer-common": "5.1.1-ai-streaming.0",
|
37
|
+
"immer": "^9.0.12",
|
38
|
+
"semver": "^7.6.3"
|
38
39
|
},
|
39
40
|
"devDependencies": {
|
40
|
-
"@aws-amplify/graphql-transformer-test-utils": "1.0.
|
41
|
+
"@aws-amplify/graphql-transformer-test-utils": "1.0.7-ai-streaming.0",
|
41
42
|
"esbuild": "^0.24.0"
|
42
43
|
},
|
43
44
|
"peerDependencies": {
|
@@ -80,5 +81,5 @@
|
|
80
81
|
"/__tests__/"
|
81
82
|
]
|
82
83
|
},
|
83
|
-
"gitHead": "
|
84
|
+
"gitHead": "5b48b6e74d17216a54794a93273994706fc51b3e"
|
84
85
|
}
|
@@ -3,7 +3,15 @@
|
|
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
|
-
## [3.1.
|
6
|
+
## [3.1.3-ai-streaming.0](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-default-value-transformer@3.1.2...@aws-amplify/graphql-default-value-transformer@3.1.3-ai-streaming.0) (2024-10-30)
|
7
|
+
|
8
|
+
**Note:** Version bump only for package @aws-amplify/graphql-default-value-transformer
|
9
|
+
|
10
|
+
## [3.1.2](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-default-value-transformer@3.1.1...@aws-amplify/graphql-default-value-transformer@3.1.2) (2024-10-28)
|
11
|
+
|
12
|
+
**Note:** Version bump only for package @aws-amplify/graphql-default-value-transformer
|
13
|
+
|
14
|
+
## [3.1.1](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-default-value-transformer@3.1.0...@aws-amplify/graphql-default-value-transformer@3.1.1) (2024-10-17)
|
7
15
|
|
8
16
|
**Note:** Version bump only for package @aws-amplify/graphql-default-value-transformer
|
9
17
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-amplify/graphql-default-value-transformer",
|
3
|
-
"version": "3.1.
|
3
|
+
"version": "3.1.3-ai-streaming.0",
|
4
4
|
"description": "Amplify GraphQL default value transformer",
|
5
5
|
"repository": {
|
6
6
|
"type": "git",
|
@@ -30,17 +30,17 @@
|
|
30
30
|
"extract-api": "ts-node ../../scripts/extract-api.ts"
|
31
31
|
},
|
32
32
|
"dependencies": {
|
33
|
-
"@aws-amplify/graphql-directives": "2.4.0
|
34
|
-
"@aws-amplify/graphql-transformer-core": "3.3
|
35
|
-
"@aws-amplify/graphql-transformer-interfaces": "4.2
|
33
|
+
"@aws-amplify/graphql-directives": "2.4.0",
|
34
|
+
"@aws-amplify/graphql-transformer-core": "3.2.3-ai-streaming.0",
|
35
|
+
"@aws-amplify/graphql-transformer-interfaces": "4.1.2",
|
36
36
|
"graphql": "^15.5.0",
|
37
|
-
"graphql-mapping-template": "5.0.
|
38
|
-
"graphql-transformer-common": "5.1.
|
37
|
+
"graphql-mapping-template": "5.0.1",
|
38
|
+
"graphql-transformer-common": "5.1.1-ai-streaming.0",
|
39
39
|
"libphonenumber-js": "1.9.47"
|
40
40
|
},
|
41
41
|
"devDependencies": {
|
42
|
-
"@aws-amplify/graphql-model-transformer": "3.
|
43
|
-
"@aws-amplify/graphql-transformer-test-utils": "1.0.
|
42
|
+
"@aws-amplify/graphql-model-transformer": "3.0.8-ai-streaming.0",
|
43
|
+
"@aws-amplify/graphql-transformer-test-utils": "1.0.7-ai-streaming.0"
|
44
44
|
},
|
45
45
|
"jest": {
|
46
46
|
"transform": {
|
@@ -83,5 +83,5 @@
|
|
83
83
|
"printBasicPrototype": true
|
84
84
|
}
|
85
85
|
},
|
86
|
-
"gitHead": "
|
86
|
+
"gitHead": "5b48b6e74d17216a54794a93273994706fc51b3e"
|
87
87
|
}
|
@@ -3,11 +3,11 @@
|
|
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
|
-
# [2.4.0
|
6
|
+
# [2.4.0](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-directives@2.3.0...@aws-amplify/graphql-directives@2.4.0) (2024-10-17)
|
7
7
|
|
8
8
|
### Features
|
9
9
|
|
10
|
-
-
|
10
|
+
- constrain custom conversation handler event version ([#2958](https://github.com/aws-amplify/amplify-category-api/issues/2958)) ([083fe17](https://github.com/aws-amplify/amplify-category-api/commit/083fe173e32a06976300b36c20d91e3c55d19f2a))
|
11
11
|
|
12
12
|
# [2.3.0](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-directives@2.2.0...@aws-amplify/graphql-directives@2.3.0) (2024-10-10)
|
13
13
|
|
@@ -1 +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;
|
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"}
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.BelongsToDirective = void 0;
|
4
4
|
const name = 'belongsTo';
|
5
5
|
const definition = `
|
6
|
-
directive @${name}(fields: [String!], references: [String!]
|
6
|
+
directive @${name}(fields: [String!], references: [String!]) on FIELD_DEFINITION
|
7
7
|
`;
|
8
8
|
const defaults = {};
|
9
9
|
exports.BelongsToDirective = {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"belongs-to.js","sourceRoot":"","sources":["../../src/directives/belongs-to.ts"],"names":[],"mappings":";;;AAEA,MAAM,IAAI,GAAG,WAAW,CAAC;
|
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"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"conversation.d.ts","sourceRoot":"","sources":["../../src/directives/conversation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;
|
1
|
+
{"version":3,"file":"conversation.d.ts","sourceRoot":"","sources":["../../src/directives/conversation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAgCxC,eAAO,MAAM,qBAAqB,EAAE,SAInC,CAAC"}
|
@@ -7,9 +7,15 @@ const definition = `
|
|
7
7
|
aiModel: String!
|
8
8
|
systemPrompt: String!
|
9
9
|
functionName: String
|
10
|
+
handler: ConversationHandlerFunctionConfiguration
|
10
11
|
tools: [ToolMap]
|
11
12
|
inferenceConfiguration: ConversationInferenceConfiguration
|
12
13
|
) on FIELD_DEFINITION
|
14
|
+
|
15
|
+
input ConversationHandlerFunctionConfiguration {
|
16
|
+
functionName: String!
|
17
|
+
eventVersion: String!
|
18
|
+
}
|
13
19
|
|
14
20
|
input ToolMap {
|
15
21
|
name: String
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"conversation.js","sourceRoot":"","sources":["../../src/directives/conversation.ts"],"names":[],"mappings":";;;AAEA,MAAM,IAAI,GAAG,cAAc,CAAC;AAC5B,MAAM,UAAU,GAAiB;eAClB,IAAI
|
1
|
+
{"version":3,"file":"conversation.js","sourceRoot":"","sources":["../../src/directives/conversation.ts"],"names":[],"mappings":";;;AAEA,MAAM,IAAI,GAAG,cAAc,CAAC;AAC5B,MAAM,UAAU,GAAiB;eAClB,IAAI;;;;;;;;;;;;;;;;;;;;;;;;CAwBlB,CAAC;AAEF,MAAM,QAAQ,GAAG,EAAE,CAAC;AAEP,QAAA,qBAAqB,GAAc;IAC9C,IAAI;IACJ,UAAU;IACV,QAAQ;CACT,CAAC"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-amplify/graphql-directives",
|
3
|
-
"version": "2.4.0
|
3
|
+
"version": "2.4.0",
|
4
4
|
"description": "Directive definitions for Amplify GraphQL transformers.",
|
5
5
|
"repository": {
|
6
6
|
"type": "git",
|
@@ -67,6 +67,5 @@
|
|
67
67
|
"escapeString": true,
|
68
68
|
"printBasicPrototype": true
|
69
69
|
}
|
70
|
-
}
|
71
|
-
"gitHead": "3be96e2f9b1458117e458514e28a9bb19a21cbe8"
|
70
|
+
}
|
72
71
|
}
|
@@ -3,7 +3,15 @@
|
|
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
|
-
## [3.1.
|
6
|
+
## [3.1.5-ai-streaming.0](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-function-transformer@3.1.4...@aws-amplify/graphql-function-transformer@3.1.5-ai-streaming.0) (2024-10-30)
|
7
|
+
|
8
|
+
**Note:** Version bump only for package @aws-amplify/graphql-function-transformer
|
9
|
+
|
10
|
+
## [3.1.4](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-function-transformer@3.1.3...@aws-amplify/graphql-function-transformer@3.1.4) (2024-10-28)
|
11
|
+
|
12
|
+
**Note:** Version bump only for package @aws-amplify/graphql-function-transformer
|
13
|
+
|
14
|
+
## [3.1.3](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-function-transformer@3.1.2...@aws-amplify/graphql-function-transformer@3.1.3) (2024-10-17)
|
7
15
|
|
8
16
|
**Note:** Version bump only for package @aws-amplify/graphql-function-transformer
|
9
17
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-amplify/graphql-function-transformer",
|
3
|
-
"version": "3.1.
|
3
|
+
"version": "3.1.5-ai-streaming.0",
|
4
4
|
"description": "Amplify GraphQL @function transformer",
|
5
5
|
"repository": {
|
6
6
|
"type": "git",
|
@@ -29,15 +29,15 @@
|
|
29
29
|
"extract-api": "ts-node ../../scripts/extract-api.ts"
|
30
30
|
},
|
31
31
|
"dependencies": {
|
32
|
-
"@aws-amplify/graphql-directives": "2.4.0
|
33
|
-
"@aws-amplify/graphql-transformer-core": "3.3
|
34
|
-
"@aws-amplify/graphql-transformer-interfaces": "4.2
|
32
|
+
"@aws-amplify/graphql-directives": "2.4.0",
|
33
|
+
"@aws-amplify/graphql-transformer-core": "3.2.3-ai-streaming.0",
|
34
|
+
"@aws-amplify/graphql-transformer-interfaces": "4.1.2",
|
35
35
|
"graphql": "^15.5.0",
|
36
|
-
"graphql-mapping-template": "5.0.
|
37
|
-
"graphql-transformer-common": "5.1.
|
36
|
+
"graphql-mapping-template": "5.0.1",
|
37
|
+
"graphql-transformer-common": "5.1.1-ai-streaming.0"
|
38
38
|
},
|
39
39
|
"devDependencies": {
|
40
|
-
"@aws-amplify/graphql-transformer-test-utils": "1.0.
|
40
|
+
"@aws-amplify/graphql-transformer-test-utils": "1.0.7-ai-streaming.0"
|
41
41
|
},
|
42
42
|
"peerDependencies": {
|
43
43
|
"aws-cdk-lib": "^2.158.0",
|
@@ -83,5 +83,5 @@
|
|
83
83
|
"printBasicPrototype": true
|
84
84
|
}
|
85
85
|
},
|
86
|
-
"gitHead": "
|
86
|
+
"gitHead": "5b48b6e74d17216a54794a93273994706fc51b3e"
|
87
87
|
}
|
@@ -3,7 +3,15 @@
|
|
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
|
-
## [0.2.
|
6
|
+
## [0.2.6-ai-streaming.0](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-generation-transformer@0.2.5...@aws-amplify/graphql-generation-transformer@0.2.6-ai-streaming.0) (2024-10-30)
|
7
|
+
|
8
|
+
**Note:** Version bump only for package @aws-amplify/graphql-generation-transformer
|
9
|
+
|
10
|
+
## [0.2.5](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-generation-transformer@0.2.4...@aws-amplify/graphql-generation-transformer@0.2.5) (2024-10-28)
|
11
|
+
|
12
|
+
**Note:** Version bump only for package @aws-amplify/graphql-generation-transformer
|
13
|
+
|
14
|
+
## [0.2.4](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-generation-transformer@0.2.3...@aws-amplify/graphql-generation-transformer@0.2.4) (2024-10-17)
|
7
15
|
|
8
16
|
**Note:** Version bump only for package @aws-amplify/graphql-generation-transformer
|
9
17
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-amplify/graphql-generation-transformer",
|
3
|
-
"version": "0.2.
|
3
|
+
"version": "0.2.6-ai-streaming.0",
|
4
4
|
"description": "Amplify GraphQL @generation transformer",
|
5
5
|
"repository": {
|
6
6
|
"type": "git",
|
@@ -24,16 +24,16 @@
|
|
24
24
|
"extract-api": "ts-node ../../scripts/extract-api.ts"
|
25
25
|
},
|
26
26
|
"dependencies": {
|
27
|
-
"@aws-amplify/graphql-directives": "2.4.0
|
28
|
-
"@aws-amplify/graphql-transformer-core": "3.3
|
29
|
-
"@aws-amplify/graphql-transformer-interfaces": "4.2
|
27
|
+
"@aws-amplify/graphql-directives": "2.4.0",
|
28
|
+
"@aws-amplify/graphql-transformer-core": "3.2.3-ai-streaming.0",
|
29
|
+
"@aws-amplify/graphql-transformer-interfaces": "4.1.2",
|
30
30
|
"graphql": "^15.5.0",
|
31
|
-
"graphql-mapping-template": "5.0.
|
32
|
-
"graphql-transformer-common": "5.1.
|
31
|
+
"graphql-mapping-template": "5.0.1",
|
32
|
+
"graphql-transformer-common": "5.1.1-ai-streaming.0",
|
33
33
|
"immer": "^9.0.12"
|
34
34
|
},
|
35
35
|
"devDependencies": {
|
36
|
-
"@aws-amplify/graphql-transformer-test-utils": "1.0.
|
36
|
+
"@aws-amplify/graphql-transformer-test-utils": "1.0.7-ai-streaming.0"
|
37
37
|
},
|
38
38
|
"peerDependencies": {
|
39
39
|
"aws-cdk-lib": "^2.158.0",
|
@@ -75,5 +75,5 @@
|
|
75
75
|
"/__tests__/"
|
76
76
|
]
|
77
77
|
},
|
78
|
-
"gitHead": "
|
78
|
+
"gitHead": "5b48b6e74d17216a54794a93273994706fc51b3e"
|
79
79
|
}
|
@@ -3,7 +3,15 @@
|
|
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
|
-
## [3.0.
|
6
|
+
## [3.0.8-ai-streaming.0](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-http-transformer@3.0.7...@aws-amplify/graphql-http-transformer@3.0.8-ai-streaming.0) (2024-10-30)
|
7
|
+
|
8
|
+
**Note:** Version bump only for package @aws-amplify/graphql-http-transformer
|
9
|
+
|
10
|
+
## [3.0.7](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-http-transformer@3.0.6...@aws-amplify/graphql-http-transformer@3.0.7) (2024-10-28)
|
11
|
+
|
12
|
+
**Note:** Version bump only for package @aws-amplify/graphql-http-transformer
|
13
|
+
|
14
|
+
## [3.0.6](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-http-transformer@3.0.5...@aws-amplify/graphql-http-transformer@3.0.6) (2024-10-17)
|
7
15
|
|
8
16
|
**Note:** Version bump only for package @aws-amplify/graphql-http-transformer
|
9
17
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-amplify/graphql-http-transformer",
|
3
|
-
"version": "3.0.
|
3
|
+
"version": "3.0.8-ai-streaming.0",
|
4
4
|
"description": "Amplify GraphQL @http transformer",
|
5
5
|
"repository": {
|
6
6
|
"type": "git",
|
@@ -29,15 +29,15 @@
|
|
29
29
|
"extract-api": "ts-node ../../scripts/extract-api.ts"
|
30
30
|
},
|
31
31
|
"dependencies": {
|
32
|
-
"@aws-amplify/graphql-directives": "2.4.0
|
33
|
-
"@aws-amplify/graphql-transformer-core": "3.3
|
34
|
-
"@aws-amplify/graphql-transformer-interfaces": "4.2
|
32
|
+
"@aws-amplify/graphql-directives": "2.4.0",
|
33
|
+
"@aws-amplify/graphql-transformer-core": "3.2.3-ai-streaming.0",
|
34
|
+
"@aws-amplify/graphql-transformer-interfaces": "4.1.2",
|
35
35
|
"graphql": "^15.5.0",
|
36
|
-
"graphql-mapping-template": "5.0.
|
37
|
-
"graphql-transformer-common": "5.1.
|
36
|
+
"graphql-mapping-template": "5.0.1",
|
37
|
+
"graphql-transformer-common": "5.1.1-ai-streaming.0"
|
38
38
|
},
|
39
39
|
"devDependencies": {
|
40
|
-
"@aws-amplify/graphql-transformer-test-utils": "1.0.
|
40
|
+
"@aws-amplify/graphql-transformer-test-utils": "1.0.7-ai-streaming.0"
|
41
41
|
},
|
42
42
|
"peerDependencies": {
|
43
43
|
"aws-cdk-lib": "^2.158.0",
|
@@ -83,5 +83,5 @@
|
|
83
83
|
"printBasicPrototype": true
|
84
84
|
}
|
85
85
|
},
|
86
|
-
"gitHead": "
|
86
|
+
"gitHead": "5b48b6e74d17216a54794a93273994706fc51b3e"
|
87
87
|
}
|
@@ -3,7 +3,15 @@
|
|
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
|
-
## [3.0.
|
6
|
+
## [3.0.8-ai-streaming.0](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-index-transformer@3.0.7...@aws-amplify/graphql-index-transformer@3.0.8-ai-streaming.0) (2024-10-30)
|
7
|
+
|
8
|
+
**Note:** Version bump only for package @aws-amplify/graphql-index-transformer
|
9
|
+
|
10
|
+
## [3.0.7](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-index-transformer@3.0.6...@aws-amplify/graphql-index-transformer@3.0.7) (2024-10-28)
|
11
|
+
|
12
|
+
**Note:** Version bump only for package @aws-amplify/graphql-index-transformer
|
13
|
+
|
14
|
+
## [3.0.6](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-index-transformer@3.0.5...@aws-amplify/graphql-index-transformer@3.0.6) (2024-10-17)
|
7
15
|
|
8
16
|
**Note:** Version bump only for package @aws-amplify/graphql-index-transformer
|
9
17
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-amplify/graphql-index-transformer",
|
3
|
-
"version": "3.0.
|
3
|
+
"version": "3.0.8-ai-streaming.0",
|
4
4
|
"description": "Amplify GraphQL index and key transformers",
|
5
5
|
"repository": {
|
6
6
|
"type": "git",
|
@@ -29,16 +29,16 @@
|
|
29
29
|
"extract-api": "ts-node ../../scripts/extract-api.ts"
|
30
30
|
},
|
31
31
|
"dependencies": {
|
32
|
-
"@aws-amplify/graphql-directives": "2.4.0
|
33
|
-
"@aws-amplify/graphql-model-transformer": "3.
|
34
|
-
"@aws-amplify/graphql-transformer-core": "3.3
|
35
|
-
"@aws-amplify/graphql-transformer-interfaces": "4.2
|
32
|
+
"@aws-amplify/graphql-directives": "2.4.0",
|
33
|
+
"@aws-amplify/graphql-model-transformer": "3.0.8-ai-streaming.0",
|
34
|
+
"@aws-amplify/graphql-transformer-core": "3.2.3-ai-streaming.0",
|
35
|
+
"@aws-amplify/graphql-transformer-interfaces": "4.1.2",
|
36
36
|
"graphql": "^15.5.0",
|
37
|
-
"graphql-mapping-template": "5.0.
|
38
|
-
"graphql-transformer-common": "5.1.
|
37
|
+
"graphql-mapping-template": "5.0.1",
|
38
|
+
"graphql-transformer-common": "5.1.1-ai-streaming.0"
|
39
39
|
},
|
40
40
|
"devDependencies": {
|
41
|
-
"@aws-amplify/graphql-transformer-test-utils": "1.0.
|
41
|
+
"@aws-amplify/graphql-transformer-test-utils": "1.0.7-ai-streaming.0"
|
42
42
|
},
|
43
43
|
"peerDependencies": {
|
44
44
|
"aws-cdk-lib": "^2.158.0",
|
@@ -81,5 +81,5 @@
|
|
81
81
|
"printBasicPrototype": true
|
82
82
|
}
|
83
83
|
},
|
84
|
-
"gitHead": "
|
84
|
+
"gitHead": "5b48b6e74d17216a54794a93273994706fc51b3e"
|
85
85
|
}
|
@@ -3,7 +3,15 @@
|
|
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
|
-
## [4.0.
|
6
|
+
## [4.0.8-ai-streaming.0](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-maps-to-transformer@4.0.7...@aws-amplify/graphql-maps-to-transformer@4.0.8-ai-streaming.0) (2024-10-30)
|
7
|
+
|
8
|
+
**Note:** Version bump only for package @aws-amplify/graphql-maps-to-transformer
|
9
|
+
|
10
|
+
## [4.0.7](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-maps-to-transformer@4.0.6...@aws-amplify/graphql-maps-to-transformer@4.0.7) (2024-10-28)
|
11
|
+
|
12
|
+
**Note:** Version bump only for package @aws-amplify/graphql-maps-to-transformer
|
13
|
+
|
14
|
+
## [4.0.6](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-maps-to-transformer@4.0.5...@aws-amplify/graphql-maps-to-transformer@4.0.6) (2024-10-17)
|
7
15
|
|
8
16
|
**Note:** Version bump only for package @aws-amplify/graphql-maps-to-transformer
|
9
17
|
|
Binary file
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-amplify/graphql-maps-to-transformer",
|
3
|
-
"version": "4.0.
|
3
|
+
"version": "4.0.8-ai-streaming.0",
|
4
4
|
"description": "Amplify GraphQL @mapsTo transformer",
|
5
5
|
"repository": {
|
6
6
|
"type": "git",
|
@@ -31,22 +31,22 @@
|
|
31
31
|
"extract-api": "ts-node ../../scripts/extract-api.ts"
|
32
32
|
},
|
33
33
|
"dependencies": {
|
34
|
-
"@aws-amplify/graphql-directives": "2.4.0
|
35
|
-
"@aws-amplify/graphql-transformer-core": "3.3
|
36
|
-
"@aws-amplify/graphql-transformer-interfaces": "4.2
|
37
|
-
"graphql-mapping-template": "5.0.
|
38
|
-
"graphql-transformer-common": "5.1.
|
34
|
+
"@aws-amplify/graphql-directives": "2.4.0",
|
35
|
+
"@aws-amplify/graphql-transformer-core": "3.2.3-ai-streaming.0",
|
36
|
+
"@aws-amplify/graphql-transformer-interfaces": "4.1.2",
|
37
|
+
"graphql-mapping-template": "5.0.1",
|
38
|
+
"graphql-transformer-common": "5.1.1-ai-streaming.0"
|
39
39
|
},
|
40
40
|
"peerDependencies": {
|
41
41
|
"aws-cdk-lib": "^2.158.0",
|
42
42
|
"constructs": "^10.3.0"
|
43
43
|
},
|
44
44
|
"devDependencies": {
|
45
|
-
"@aws-amplify/graphql-index-transformer": "3.0.
|
46
|
-
"@aws-amplify/graphql-model-transformer": "3.
|
47
|
-
"@aws-amplify/graphql-relational-transformer": "3.
|
48
|
-
"@aws-amplify/graphql-searchable-transformer": "3.0.
|
49
|
-
"@aws-amplify/graphql-transformer-test-utils": "1.0.
|
45
|
+
"@aws-amplify/graphql-index-transformer": "3.0.8-ai-streaming.0",
|
46
|
+
"@aws-amplify/graphql-model-transformer": "3.0.8-ai-streaming.0",
|
47
|
+
"@aws-amplify/graphql-relational-transformer": "3.0.8-ai-streaming.0",
|
48
|
+
"@aws-amplify/graphql-searchable-transformer": "3.0.8-ai-streaming.0",
|
49
|
+
"@aws-amplify/graphql-transformer-test-utils": "1.0.7-ai-streaming.0",
|
50
50
|
"graphql": "^15.5.0"
|
51
51
|
},
|
52
52
|
"jest": {
|
@@ -86,5 +86,5 @@
|
|
86
86
|
"printBasicPrototype": true
|
87
87
|
}
|
88
88
|
},
|
89
|
-
"gitHead": "
|
89
|
+
"gitHead": "5b48b6e74d17216a54794a93273994706fc51b3e"
|
90
90
|
}
|
@@ -3,22 +3,17 @@
|
|
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.0.8-ai-streaming.0](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-model-transformer@3.0.7...@aws-amplify/graphql-model-transformer@3.0.8-ai-streaming.0) (2024-10-30)
|
7
7
|
|
8
|
-
|
9
|
-
|
10
|
-
- adjust default table properties ([#2726](https://github.com/aws-amplify/amplify-category-api/issues/2726)) ([df3a50b](https://github.com/aws-amplify/amplify-category-api/commit/df3a50b2effb88bc56525c628045c84e9d259a4c))
|
11
|
-
- allowlist comparison properties on imported table ([#2908](https://github.com/aws-amplify/amplify-category-api/issues/2908)) ([ae1f860](https://github.com/aws-amplify/amplify-category-api/commit/ae1f860a12dfd0cc4ae77675d6a6c9f6b45a920e))
|
8
|
+
**Note:** Version bump only for package @aws-amplify/graphql-model-transformer
|
12
9
|
|
13
|
-
|
10
|
+
## [3.0.7](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-model-transformer@3.0.6...@aws-amplify/graphql-model-transformer@3.0.7) (2024-10-28)
|
14
11
|
|
15
|
-
|
16
|
-
- import existing table to amplify managed table ([#2634](https://github.com/aws-amplify/amplify-category-api/issues/2634)) ([b3fb28f](https://github.com/aws-amplify/amplify-category-api/commit/b3fb28f6a253cae523625c0b2e93ec9ce2c37bab))
|
17
|
-
- validate imported tables ([#2696](https://github.com/aws-amplify/amplify-category-api/issues/2696)) ([8c684a9](https://github.com/aws-amplify/amplify-category-api/commit/8c684a9cfe140bc9c45e1ec1212d9bc423acf170))
|
12
|
+
**Note:** Version bump only for package @aws-amplify/graphql-model-transformer
|
18
13
|
|
19
|
-
|
14
|
+
## [3.0.6](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-model-transformer@3.0.5...@aws-amplify/graphql-model-transformer@3.0.6) (2024-10-17)
|
20
15
|
|
21
|
-
|
16
|
+
**Note:** Version bump only for package @aws-amplify/graphql-model-transformer
|
22
17
|
|
23
18
|
## [3.0.5](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-model-transformer@3.0.4...@aws-amplify/graphql-model-transformer@3.0.5) (2024-10-10)
|
24
19
|
|
package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-model-transformer.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"graphql-model-transformer.d.ts","sourceRoot":"","sources":["../src/graphql-model-transformer.ts"],"names":[],"mappings":"AAAA,OAAO,EAeL,oBAAoB,EAKrB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EACL,qBAAqB,EACrB,kBAAkB,EAClB,iBAAiB,EACjB,cAAc,EACd,qBAAqB,EACrB,oCAAoC,EACpC,0BAA0B,EAC1B,wBAAwB,EACxB,qCAAqC,EACrC,2BAA2B,EAC3B,yCAAyC,EACzC,6CAA6C,EAC7C,wCAAwC,EAEzC,MAAM,6CAA6C,CAAC;AAGrD,OAAO,KAAK,GAAG,MAAM,qBAAqB,CAAC;AAC3C,OAAO,KAAK,GAAG,MAAM,aAAa,CAAC;AACnC,OAAO,EACL,aAAa,EAGb,wBAAwB,EACxB,wBAAwB,EACzB,MAAM,SAAS,CAAC;AAiCjB,OAAO,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;
|
1
|
+
{"version":3,"file":"graphql-model-transformer.d.ts","sourceRoot":"","sources":["../src/graphql-model-transformer.ts"],"names":[],"mappings":"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"}
|
package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-model-transformer.js
CHANGED
@@ -11,7 +11,6 @@ const directive_1 = require("./directive");
|
|
11
11
|
const dynamo_model_resource_generator_1 = require("./resources/dynamo-model-resource-generator");
|
12
12
|
const rds_model_resource_generator_1 = require("./resources/rds-model-resource-generator");
|
13
13
|
const amplify_dynamo_model_resource_generator_1 = require("./resources/amplify-dynamodb-table/amplify-dynamo-model-resource-generator");
|
14
|
-
const graphql_transformer_core_2 = require("@aws-amplify/graphql-transformer-core");
|
15
14
|
const ITERATIVE_TABLE_GENERATOR = 'AmplifyDDB';
|
16
15
|
const SQL_LAMBDA_GENERATOR = 'SQL';
|
17
16
|
class ModelTransformer extends graphql_transformer_core_1.TransformerModelBase {
|
@@ -36,7 +35,7 @@ class ModelTransformer extends graphql_transformer_core_1.TransformerModelBase {
|
|
36
35
|
(_d = this.resourceGeneratorMap.get(SQL_LAMBDA_GENERATOR)) === null || _d === void 0 ? void 0 : _d.enableGenerator();
|
37
36
|
(_e = this.resourceGeneratorMap.get(SQL_LAMBDA_GENERATOR)) === null || _e === void 0 ? void 0 : _e.enableUnprovisioned();
|
38
37
|
}
|
39
|
-
if (strategies.some(graphql_transformer_core_1.isAmplifyDynamoDbModelDataSourceStrategy)
|
38
|
+
if (strategies.some(graphql_transformer_core_1.isAmplifyDynamoDbModelDataSourceStrategy)) {
|
40
39
|
(_f = this.resourceGeneratorMap.get(ITERATIVE_TABLE_GENERATOR)) === null || _f === void 0 ? void 0 : _f.enableGenerator();
|
41
40
|
(_g = this.resourceGeneratorMap.get(ITERATIVE_TABLE_GENERATOR)) === null || _g === void 0 ? void 0 : _g.enableProvisioned();
|
42
41
|
}
|
@@ -563,9 +562,6 @@ class ModelTransformer extends graphql_transformer_core_1.TransformerModelBase {
|
|
563
562
|
else if ((0, graphql_transformer_core_1.isSqlStrategy)(strategy)) {
|
564
563
|
generator = this.resourceGeneratorMap.get(SQL_LAMBDA_GENERATOR);
|
565
564
|
}
|
566
|
-
else if ((0, graphql_transformer_core_2.isImportedAmplifyDynamoDbModelDataSourceStrategy)(strategy)) {
|
567
|
-
generator = this.resourceGeneratorMap.get(ITERATIVE_TABLE_GENERATOR);
|
568
|
-
}
|
569
565
|
if (!generator) {
|
570
566
|
throw new Error(`No resource generator assigned for ${typeName} with dbType ${strategy.dbType}`);
|
571
567
|
}
|
@@ -574,8 +570,7 @@ class ModelTransformer extends graphql_transformer_core_1.TransformerModelBase {
|
|
574
570
|
this.options = this.getOptions(options);
|
575
571
|
this.resourceGeneratorMap.set(graphql_transformer_core_1.DDB_DB_TYPE, new dynamo_model_resource_generator_1.DynamoModelResourceGenerator());
|
576
572
|
this.resourceGeneratorMap.set(SQL_LAMBDA_GENERATOR, new rds_model_resource_generator_1.RdsModelResourceGenerator());
|
577
|
-
|
578
|
-
this.resourceGeneratorMap.set(ITERATIVE_TABLE_GENERATOR, amplifyTableDynamoModelResourceGenerator);
|
573
|
+
this.resourceGeneratorMap.set(ITERATIVE_TABLE_GENERATOR, new amplify_dynamo_model_resource_generator_1.AmplifyDynamoModelResourceGenerator());
|
579
574
|
}
|
580
575
|
}
|
581
576
|
exports.ModelTransformer = ModelTransformer;
|