@aws-amplify/graphql-api-construct 1.16.0-gen2-migration-1015.0 → 1.16.0
Sign up to get free protection for your applications and to get access to all the features.
- package/.jsii +78 -151
- package/API.md +1 -11
- package/CHANGELOG.md +17 -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/graphql-auth-transformer/CHANGELOG.md +5 -1
- package/node_modules/@aws-amplify/graphql-auth-transformer/package.json +14 -14
- package/node_modules/@aws-amplify/graphql-conversation-transformer/CHANGELOG.md +14 -2
- package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/conversation-directive-configuration.d.ts +44 -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 +10 -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 +46 -51
- 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 +14 -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 +30 -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-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 +7 -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 +15 -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 +85 -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/{invoke-lambda-resolver-fn.template.js → templates/invoke-lambda-resolver-fn.template.js} +8 -3
- 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 +65 -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 +18 -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 +48 -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 +14 -13
- package/node_modules/@aws-amplify/graphql-default-value-transformer/CHANGELOG.md +5 -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 +5 -1
- package/node_modules/@aws-amplify/graphql-function-transformer/package.json +8 -8
- package/node_modules/@aws-amplify/graphql-generation-transformer/CHANGELOG.md +5 -1
- package/node_modules/@aws-amplify/graphql-generation-transformer/package.json +8 -8
- package/node_modules/@aws-amplify/graphql-http-transformer/CHANGELOG.md +5 -1
- package/node_modules/@aws-amplify/graphql-http-transformer/package.json +8 -8
- package/node_modules/@aws-amplify/graphql-index-transformer/CHANGELOG.md +5 -1
- package/node_modules/@aws-amplify/graphql-index-transformer/package.json +9 -9
- package/node_modules/@aws-amplify/graphql-maps-to-transformer/CHANGELOG.md +5 -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 +4 -13
- 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 +5 -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 +5 -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 +5 -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 +5 -1
- package/node_modules/@aws-amplify/graphql-sql-transformer/package.json +9 -9
- package/node_modules/@aws-amplify/graphql-transformer/CHANGELOG.md +5 -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 +4 -7
- 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 +7 -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 +22 -22
- 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
@@ -27,63 +27,58 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
27
27
|
};
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
29
29
|
exports.ConversationResolverGenerator = void 0;
|
30
|
-
const tools_1 = require("../utils/tools");
|
31
|
-
const graphql_transformer_core_1 = require("@aws-amplify/graphql-transformer-core");
|
32
|
-
const graphql_transformer_common_1 = require("graphql-transformer-common");
|
33
|
-
const cdk = __importStar(require("aws-cdk-lib"));
|
34
30
|
const ai_constructs_1 = require("@aws-amplify/ai-constructs");
|
35
|
-
const graphql_transformer_core_2 = require("@aws-amplify/graphql-transformer-core");
|
36
|
-
const init_resolver_1 = require("../resolvers/init-resolver");
|
37
|
-
const auth_resolver_1 = require("../resolvers/auth-resolver");
|
38
|
-
const verify_session_owner_resolver_1 = require("../resolvers/verify-session-owner-resolver");
|
39
|
-
const write_message_to_table_resolver_1 = require("../resolvers/write-message-to-table-resolver");
|
40
|
-
const invoke_lambda_resolver_1 = require("../resolvers/invoke-lambda-resolver");
|
41
|
-
const assistant_mutation_resolver_1 = require("../resolvers/assistant-mutation-resolver");
|
42
|
-
const assistant_messages_subscription_resolver_1 = require("../resolvers/assistant-messages-subscription-resolver");
|
43
31
|
const graphql_index_transformer_1 = require("@aws-amplify/graphql-index-transformer");
|
32
|
+
const graphql_transformer_core_1 = require("@aws-amplify/graphql-transformer-core");
|
33
|
+
const cdk = __importStar(require("aws-cdk-lib"));
|
34
|
+
const graphql_transformer_common_1 = require("graphql-transformer-common");
|
44
35
|
const pluralize_1 = __importDefault(require("pluralize"));
|
45
|
-
const
|
36
|
+
const name_values_1 = require("../graphql-types/name-values");
|
37
|
+
const resolvers_1 = require("../resolvers");
|
38
|
+
const process_tools_1 = require("../tools/process-tools");
|
46
39
|
class ConversationResolverGenerator {
|
47
40
|
constructor(functionNameMap) {
|
48
41
|
this.functionNameMap = functionNameMap;
|
49
42
|
}
|
50
43
|
generateResolvers(directives, ctx) {
|
51
44
|
for (const directive of directives) {
|
52
|
-
|
45
|
+
directive.toolSpec = (0, process_tools_1.processTools)(directive.tools, ctx);
|
46
|
+
directive.dataSources = this.generateDataSources(directive, ctx);
|
47
|
+
this.setupMessageTableIndex(ctx, directive);
|
53
48
|
this.generateResolversForDirective(directive, ctx);
|
54
49
|
this.addInitSlotToListMessagesPipeline(ctx, directive);
|
55
50
|
}
|
56
51
|
}
|
57
|
-
|
58
|
-
const
|
59
|
-
|
60
|
-
|
61
|
-
|
52
|
+
generateDataSources(directive, ctx) {
|
53
|
+
const functionStackName = (0, name_values_1.getFunctionStackName)(directive);
|
54
|
+
const functionStack = ctx.stackManager.createStack(functionStackName);
|
55
|
+
const { functionDataSourceId, referencedFunction } = this.setupFunctionDataSource(directive, functionStack, (0, name_values_1.upperCaseConversationFieldName)(directive));
|
56
|
+
const lambdaFunctionDataSource = this.addLambdaDataSource(ctx, functionDataSourceId, referencedFunction, functionStackName);
|
57
|
+
const conversationMessageTableDataSourceName = (0, graphql_transformer_core_1.getModelDataSourceNameForTypeName)(ctx, directive.message.model.name.value);
|
58
|
+
const messageTableDataSource = ctx.api.host.getDataSource(conversationMessageTableDataSourceName);
|
59
|
+
const conversationTableDataSourceName = (0, graphql_transformer_core_1.getModelDataSourceNameForTypeName)(ctx, directive.conversation.model.name.value);
|
60
|
+
const conversationTableDataSource = ctx.api.host.getDataSource(conversationTableDataSourceName);
|
61
|
+
return {
|
62
|
+
lambdaFunctionDataSource,
|
63
|
+
messageTableDataSource,
|
64
|
+
conversationTableDataSource,
|
65
|
+
};
|
62
66
|
}
|
63
67
|
generateResolversForDirective(directive, ctx) {
|
64
|
-
const
|
65
|
-
const
|
66
|
-
const
|
67
|
-
|
68
|
-
const
|
69
|
-
|
70
|
-
const
|
71
|
-
|
72
|
-
this.setupMessageTableIndex(ctx, directive);
|
73
|
-
const initResolverFunction = (0, init_resolver_1.initMappingTemplate)(ctx);
|
74
|
-
const authResolverFunction = (0, auth_resolver_1.authMappingTemplate)(directive);
|
75
|
-
const verifySessionOwnerSendMessageResolverFunction = (0, verify_session_owner_resolver_1.verifySessionOwnerSendMessageMappingTemplate)(directive);
|
76
|
-
const verifySessionOwnerAssistantResponseResolverFunction = (0, verify_session_owner_resolver_1.verifySessionOwnerAssistantResponseMappingTemplate)(directive);
|
77
|
-
const writeMessageToTableFunction = (0, write_message_to_table_resolver_1.writeMessageToTableMappingTemplate)(directive);
|
78
|
-
this.createConversationPipelineResolver(ctx, parentName, fieldName, capitalizedFieldName, functionDataSource, invokeLambdaFunction, initResolverFunction, authResolverFunction, verifySessionOwnerSendMessageResolverFunction, writeMessageToTableFunction);
|
79
|
-
this.createAssistantResponseResolver(ctx, directive, capitalizedFieldName, initResolverFunction, authResolverFunction, verifySessionOwnerAssistantResponseResolverFunction);
|
80
|
-
this.createAssistantResponseSubscriptionResolver(ctx, directive, capitalizedFieldName);
|
81
|
-
}
|
82
|
-
createFunctionStack(ctx, capitalizedFieldName) {
|
83
|
-
return ctx.stackManager.createStack(`${capitalizedFieldName}ConversationDirectiveLambdaStack`);
|
68
|
+
const parentName = directive.parent.name.value;
|
69
|
+
const fieldName = directive.field.name.value;
|
70
|
+
const conversationPipelineResolver = (0, resolvers_1.generateResolverPipeline)(resolvers_1.sendMessagePipelineDefinition, directive, ctx);
|
71
|
+
ctx.resolvers.addResolver(parentName, fieldName, conversationPipelineResolver);
|
72
|
+
const assistantResponsePipelineResolver = (0, resolvers_1.generateResolverPipeline)(resolvers_1.assistantResponsePipelineDefinition, directive, ctx);
|
73
|
+
ctx.resolvers.addResolver(parentName, directive.assistantResponseMutation.field.name.value, assistantResponsePipelineResolver);
|
74
|
+
const assistantResponseSubscriptionPipelineResolver = (0, resolvers_1.generateResolverPipeline)(resolvers_1.assistantResponseSubscriptionPipelineDefinition, directive, ctx);
|
75
|
+
ctx.resolvers.addResolver('Subscription', directive.assistantResponseSubscriptionField.name.value, assistantResponseSubscriptionPipelineResolver);
|
84
76
|
}
|
85
77
|
setupFunctionDataSource(directive, functionStack, capitalizedFieldName) {
|
86
|
-
if (directive.
|
78
|
+
if (directive.handler) {
|
79
|
+
return this.setupExistingFunctionDataSource(directive.handler.functionName);
|
80
|
+
}
|
81
|
+
else if (directive.functionName) {
|
87
82
|
return this.setupExistingFunctionDataSource(directive.functionName);
|
88
83
|
}
|
89
84
|
else {
|
@@ -101,11 +96,11 @@ class ConversationResolverGenerator {
|
|
101
96
|
}
|
102
97
|
return { functionDataSourceId, referencedFunction };
|
103
98
|
}
|
104
|
-
setupDefaultConversationHandler(functionStack, capitalizedFieldName,
|
99
|
+
setupDefaultConversationHandler(functionStack, capitalizedFieldName, modelId) {
|
105
100
|
const defaultConversationHandler = new ai_constructs_1.conversation.ConversationHandlerFunction(functionStack, `${capitalizedFieldName}DefaultConversationHandler`, {
|
106
101
|
models: [
|
107
102
|
{
|
108
|
-
modelId
|
103
|
+
modelId,
|
109
104
|
},
|
110
105
|
],
|
111
106
|
});
|
@@ -113,73 +108,28 @@ class ConversationResolverGenerator {
|
|
113
108
|
const referencedFunction = defaultConversationHandler.resources.lambda;
|
114
109
|
return { functionDataSourceId, referencedFunction };
|
115
110
|
}
|
116
|
-
|
117
|
-
const
|
118
|
-
const runtime = graphql_transformer_core_1.APPSYNC_JS_RUNTIME;
|
119
|
-
const conversationPipelineResolver = new graphql_transformer_core_1.TransformerResolver(parentName, fieldName, resolverResourceId, { codeMappingTemplate: invokeLambdaFunction }, ['init', 'auth', 'verifySessionOwner', 'writeMessageToTable'], ['handleLambdaResponse', 'finish'], functionDataSource, runtime);
|
120
|
-
this.addPipelineResolverFunctions(ctx, conversationPipelineResolver, capitalizedFieldName, initResolverFunction, authResolverFunction, verifySessionOwnerResolverFunction, writeMessageToTableFunction);
|
121
|
-
ctx.resolvers.addResolver(parentName, fieldName, conversationPipelineResolver);
|
122
|
-
}
|
123
|
-
addPipelineResolverFunctions(ctx, resolver, capitalizedFieldName, initResolverFunction, authResolverFunction, verifySessionOwnerResolverFunction, writeMessageToTableFunction) {
|
124
|
-
resolver.addJsFunctionToSlot('init', initResolverFunction);
|
125
|
-
resolver.addJsFunctionToSlot('auth', authResolverFunction);
|
126
|
-
const sessionModelName = `Conversation${capitalizedFieldName}`;
|
127
|
-
const sessionModelDDBDataSourceName = (0, graphql_transformer_core_2.getModelDataSourceNameForTypeName)(ctx, sessionModelName);
|
128
|
-
const conversationSessionDDBDataSource = ctx.api.host.getDataSource(sessionModelDDBDataSourceName);
|
129
|
-
resolver.addJsFunctionToSlot('verifySessionOwner', verifySessionOwnerResolverFunction, conversationSessionDDBDataSource);
|
130
|
-
const messageModelName = `ConversationMessage${capitalizedFieldName}`;
|
131
|
-
const messageModelDDBDataSourceName = (0, graphql_transformer_core_2.getModelDataSourceNameForTypeName)(ctx, messageModelName);
|
132
|
-
const messageDDBDataSource = ctx.api.host.getDataSource(messageModelDDBDataSourceName);
|
133
|
-
resolver.addJsFunctionToSlot('writeMessageToTable', writeMessageToTableFunction, messageDDBDataSource);
|
134
|
-
}
|
135
|
-
createAssistantResponseResolver(ctx, directive, capitalizedFieldName, initResolverFunction, authResolverFunction, verifySessionOwnerResolverFunction) {
|
136
|
-
const assistantResponseResolverResourceId = graphql_transformer_common_1.ResolverResourceIDs.ResolverResourceID('Mutation', directive.responseMutationName);
|
137
|
-
const assistantResponseResolverFunction = (0, assistant_mutation_resolver_1.assistantMutationResolver)(directive);
|
138
|
-
const conversationMessageDataSourceName = (0, graphql_transformer_core_2.getModelDataSourceNameForTypeName)(ctx, `ConversationMessage${capitalizedFieldName}`);
|
139
|
-
const conversationMessageDataSource = ctx.api.host.getDataSource(conversationMessageDataSourceName);
|
140
|
-
const resolver = new graphql_transformer_core_1.TransformerResolver('Mutation', directive.responseMutationName, assistantResponseResolverResourceId, { codeMappingTemplate: assistantResponseResolverFunction }, ['init', 'auth', 'verifySessionOwner'], [], conversationMessageDataSource, graphql_transformer_core_1.APPSYNC_JS_RUNTIME);
|
141
|
-
resolver.addJsFunctionToSlot('init', initResolverFunction);
|
142
|
-
resolver.addJsFunctionToSlot('auth', authResolverFunction);
|
143
|
-
const sessionModelName = `Conversation${capitalizedFieldName}`;
|
144
|
-
const sessionModelDDBDataSourceName = (0, graphql_transformer_core_2.getModelDataSourceNameForTypeName)(ctx, sessionModelName);
|
145
|
-
const conversationSessionDDBDataSource = ctx.api.host.getDataSource(sessionModelDDBDataSourceName);
|
146
|
-
resolver.addJsFunctionToSlot('verifySessionOwner', verifySessionOwnerResolverFunction, conversationSessionDDBDataSource);
|
147
|
-
ctx.resolvers.addResolver('Mutation', directive.responseMutationName, resolver);
|
148
|
-
}
|
149
|
-
createAssistantResponseSubscriptionResolver(ctx, directive, capitalizedFieldName) {
|
150
|
-
const onAssistantResponseSubscriptionFieldName = `onCreateAssistantResponse${capitalizedFieldName}`;
|
151
|
-
const onAssistantResponseSubscriptionResolverResourceId = graphql_transformer_common_1.ResolverResourceIDs.ResolverResourceID('Subscription', onAssistantResponseSubscriptionFieldName);
|
152
|
-
const onAssistantResponseSubscriptionResolverFunction = (0, assistant_messages_subscription_resolver_1.conversationMessageSubscriptionMappingTamplate)(directive);
|
153
|
-
const mappingTemplate = {
|
154
|
-
codeMappingTemplate: onAssistantResponseSubscriptionResolverFunction,
|
155
|
-
};
|
156
|
-
const onAssistantResponseSubscriptionResolver = new graphql_transformer_core_1.TransformerResolver('Subscription', onAssistantResponseSubscriptionFieldName, onAssistantResponseSubscriptionResolverResourceId, mappingTemplate, [], [], undefined, graphql_transformer_core_1.APPSYNC_JS_RUNTIME);
|
157
|
-
ctx.resolvers.addResolver('Subscription', onAssistantResponseSubscriptionFieldName, onAssistantResponseSubscriptionResolver);
|
158
|
-
}
|
159
|
-
addLambdaDataSource(ctx, functionDataSourceId, referencedFunction, capitalizedFieldName) {
|
160
|
-
const functionDataSourceScope = ctx.stackManager.getScopeFor(functionDataSourceId, `${capitalizedFieldName}ConversationDirectiveLambdaStack`);
|
111
|
+
addLambdaDataSource(ctx, functionDataSourceId, referencedFunction, functionStackName) {
|
112
|
+
const functionDataSourceScope = ctx.stackManager.getScopeFor(functionDataSourceId, functionStackName);
|
161
113
|
return ctx.api.host.addLambdaDataSource(functionDataSourceId, referencedFunction, {}, functionDataSourceScope);
|
162
114
|
}
|
163
115
|
addInitSlotToListMessagesPipeline(ctx, directive) {
|
164
|
-
const
|
165
|
-
const pluralized = (0, pluralize_1.default)(
|
116
|
+
const messageName = directive.message.model.name.value;
|
117
|
+
const pluralized = (0, pluralize_1.default)(messageName);
|
166
118
|
const listMessagesResolver = ctx.resolvers.getResolver('Query', `list${pluralized}`);
|
167
|
-
const initResolverFn = (0,
|
119
|
+
const initResolverFn = (0, resolvers_1.generateResolverFunction)(resolvers_1.listMessagesInitFunctionDefinition, directive, ctx);
|
168
120
|
listMessagesResolver.addJsFunctionToSlot('init', initResolverFn);
|
169
121
|
}
|
170
122
|
setupMessageTableIndex(ctx, directive) {
|
171
|
-
const
|
172
|
-
const
|
173
|
-
const
|
174
|
-
const
|
175
|
-
const gsiPartitionKeyName = referenceFieldName;
|
123
|
+
const messageName = directive.message.model.name.value;
|
124
|
+
const message = directive.message.model;
|
125
|
+
const conversationMessagesTable = (0, graphql_transformer_core_1.getTable)(ctx, message);
|
126
|
+
const gsiPartitionKeyName = name_values_1.CONVERSATION_MESSAGES_REFERENCE_FIELD_NAME;
|
176
127
|
const gsiPartitionKeyType = 'S';
|
177
128
|
const gsiSortKeyName = 'createdAt';
|
178
129
|
const gsiSortKeyType = 'S';
|
179
|
-
|
180
|
-
this.addGlobalSecondaryIndex(conversationMessagesTable, indexName, { name: gsiPartitionKeyName, type: gsiPartitionKeyType }, { name: gsiSortKeyName, type: gsiSortKeyType }, ctx, messageModelName);
|
130
|
+
this.addGlobalSecondaryIndex(conversationMessagesTable, ctx, messageName, name_values_1.LIST_MESSAGES_INDEX_NAME, { name: gsiPartitionKeyName, type: gsiPartitionKeyType }, { name: gsiSortKeyName, type: gsiSortKeyType });
|
181
131
|
}
|
182
|
-
addGlobalSecondaryIndex(table,
|
132
|
+
addGlobalSecondaryIndex(table, ctx, typeName, indexName, partitionKey, sortKey) {
|
183
133
|
table.addGlobalSecondaryIndex({
|
184
134
|
indexName,
|
185
135
|
projectionType: 'ALL',
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"conversation-resolver-generator.js","sourceRoot":"","sources":["../../src/transformer-steps/conversation-resolver-generator.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
1
|
+
{"version":3,"file":"conversation-resolver-generator.js","sourceRoot":"","sources":["../../src/transformer-steps/conversation-resolver-generator.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,8DAA0D;AAC1D,sFAAiF;AACjF,oFAAyH;AAEzH,iDAAmC;AAEnC,2EAAoF;AACpF,0DAAkC;AAElC,8DAKsC;AACtC,4CAOsB;AACtB,0DAAsD;AACtD,MAAa,6BAA6B;IACxC,YAA6B,eAA2C;QAA3C,oBAAe,GAAf,eAAe,CAA4B;IAAG,CAAC;IAQ5E,iBAAiB,CAAC,UAAgD,EAAE,GAA+B;QACjG,KAAK,MAAM,SAAS,IAAI,UAAU,EAAE;YAIlC,SAAS,CAAC,QAAQ,GAAG,IAAA,4BAAY,EAAC,SAAS,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;YAIxD,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,mBAAmB,CAAC,SAAS,EAAE,GAAG,CAAC,CAAC;YAGjE,IAAI,CAAC,sBAAsB,CAAC,GAAG,EAAE,SAAS,CAAC,CAAC;YAG5C,IAAI,CAAC,6BAA6B,CAAC,SAAS,EAAE,GAAG,CAAC,CAAC;YAInD,IAAI,CAAC,iCAAiC,CAAC,GAAG,EAAE,SAAS,CAAC,CAAC;SACxD;IACH,CAAC;IAEO,mBAAmB,CACzB,SAA6C,EAC7C,GAA+B;QAG/B,MAAM,iBAAiB,GAAG,IAAA,kCAAoB,EAAC,SAAS,CAAC,CAAC;QAC1D,MAAM,aAAa,GAAG,GAAG,CAAC,YAAY,CAAC,WAAW,CAAC,iBAAiB,CAAC,CAAC;QAGtE,MAAM,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,GAAG,IAAI,CAAC,uBAAuB,CAC/E,SAAS,EACT,aAAa,EACb,IAAA,4CAA8B,EAAC,SAAS,CAAC,CAC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AAC,EAAE,CAAC,GAAG,CAAC,cAAc,CAAC,EAAE;gBAChI,iBAAiB,EAAE,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,8CAAiB,CAAC,UAAU,CAAC,0BAA0B,CAAC;gBACtF,kBAAkB,EAAE,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,8CAAiB,CAAC,UAAU,CAAC,2BAA2B,CAAC;aACzF,CAAC;SACH,CAAC;QAEF,IAAA,mDAAuB,EAAC,GAAG,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,CAAC,CAAC;IAC1D,CAAC;CACF;AA/QD,sEA+QC"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-amplify/graphql-conversation-transformer",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.5.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
27
|
"@aws-amplify/ai-constructs": "^0.2.0",
|
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.
|
33
|
-
"@aws-amplify/graphql-transformer-interfaces": "4.2
|
28
|
+
"@aws-amplify/graphql-directives": "2.4.0",
|
29
|
+
"@aws-amplify/graphql-index-transformer": "3.0.7",
|
30
|
+
"@aws-amplify/graphql-model-transformer": "3.0.7",
|
31
|
+
"@aws-amplify/graphql-relational-transformer": "3.0.7",
|
32
|
+
"@aws-amplify/graphql-transformer-core": "3.2.2",
|
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.0
|
37
|
-
"immer": "^9.0.12"
|
35
|
+
"graphql-mapping-template": "5.0.1",
|
36
|
+
"graphql-transformer-common": "5.1.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.6",
|
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": "b5f095c196b28065ff2c82b6e89894890f887bcc"
|
84
85
|
}
|
@@ -3,7 +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
|
-
## [3.1.
|
6
|
+
## [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)
|
7
|
+
|
8
|
+
**Note:** Version bump only for package @aws-amplify/graphql-default-value-transformer
|
9
|
+
|
10
|
+
## [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
11
|
|
8
12
|
**Note:** Version bump only for package @aws-amplify/graphql-default-value-transformer
|
9
13
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-amplify/graphql-default-value-transformer",
|
3
|
-
"version": "3.1.
|
3
|
+
"version": "3.1.2",
|
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.
|
35
|
-
"@aws-amplify/graphql-transformer-interfaces": "4.2
|
33
|
+
"@aws-amplify/graphql-directives": "2.4.0",
|
34
|
+
"@aws-amplify/graphql-transformer-core": "3.2.2",
|
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.0
|
37
|
+
"graphql-mapping-template": "5.0.1",
|
38
|
+
"graphql-transformer-common": "5.1.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.7",
|
43
|
+
"@aws-amplify/graphql-transformer-test-utils": "1.0.6"
|
44
44
|
},
|
45
45
|
"jest": {
|
46
46
|
"transform": {
|
@@ -83,5 +83,5 @@
|
|
83
83
|
"printBasicPrototype": true
|
84
84
|
}
|
85
85
|
},
|
86
|
-
"gitHead": "
|
86
|
+
"gitHead": "b5f095c196b28065ff2c82b6e89894890f887bcc"
|
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,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
|
-
## [3.1.
|
6
|
+
## [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)
|
7
|
+
|
8
|
+
**Note:** Version bump only for package @aws-amplify/graphql-function-transformer
|
9
|
+
|
10
|
+
## [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
11
|
|
8
12
|
**Note:** Version bump only for package @aws-amplify/graphql-function-transformer
|
9
13
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-amplify/graphql-function-transformer",
|
3
|
-
"version": "3.1.
|
3
|
+
"version": "3.1.4",
|
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.
|
34
|
-
"@aws-amplify/graphql-transformer-interfaces": "4.2
|
32
|
+
"@aws-amplify/graphql-directives": "2.4.0",
|
33
|
+
"@aws-amplify/graphql-transformer-core": "3.2.2",
|
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.0
|
36
|
+
"graphql-mapping-template": "5.0.1",
|
37
|
+
"graphql-transformer-common": "5.1.0"
|
38
38
|
},
|
39
39
|
"devDependencies": {
|
40
|
-
"@aws-amplify/graphql-transformer-test-utils": "1.0.
|
40
|
+
"@aws-amplify/graphql-transformer-test-utils": "1.0.6"
|
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": "b5f095c196b28065ff2c82b6e89894890f887bcc"
|
87
87
|
}
|
@@ -3,7 +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
|
-
## [0.2.
|
6
|
+
## [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)
|
7
|
+
|
8
|
+
**Note:** Version bump only for package @aws-amplify/graphql-generation-transformer
|
9
|
+
|
10
|
+
## [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
11
|
|
8
12
|
**Note:** Version bump only for package @aws-amplify/graphql-generation-transformer
|
9
13
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-amplify/graphql-generation-transformer",
|
3
|
-
"version": "0.2.
|
3
|
+
"version": "0.2.5",
|
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.
|
29
|
-
"@aws-amplify/graphql-transformer-interfaces": "4.2
|
27
|
+
"@aws-amplify/graphql-directives": "2.4.0",
|
28
|
+
"@aws-amplify/graphql-transformer-core": "3.2.2",
|
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.0
|
31
|
+
"graphql-mapping-template": "5.0.1",
|
32
|
+
"graphql-transformer-common": "5.1.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.6"
|
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": "b5f095c196b28065ff2c82b6e89894890f887bcc"
|
79
79
|
}
|
@@ -3,7 +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
|
-
## [3.0.
|
6
|
+
## [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)
|
7
|
+
|
8
|
+
**Note:** Version bump only for package @aws-amplify/graphql-http-transformer
|
9
|
+
|
10
|
+
## [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
11
|
|
8
12
|
**Note:** Version bump only for package @aws-amplify/graphql-http-transformer
|
9
13
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-amplify/graphql-http-transformer",
|
3
|
-
"version": "3.0.
|
3
|
+
"version": "3.0.7",
|
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.
|
34
|
-
"@aws-amplify/graphql-transformer-interfaces": "4.2
|
32
|
+
"@aws-amplify/graphql-directives": "2.4.0",
|
33
|
+
"@aws-amplify/graphql-transformer-core": "3.2.2",
|
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.0
|
36
|
+
"graphql-mapping-template": "5.0.1",
|
37
|
+
"graphql-transformer-common": "5.1.0"
|
38
38
|
},
|
39
39
|
"devDependencies": {
|
40
|
-
"@aws-amplify/graphql-transformer-test-utils": "1.0.
|
40
|
+
"@aws-amplify/graphql-transformer-test-utils": "1.0.6"
|
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": "b5f095c196b28065ff2c82b6e89894890f887bcc"
|
87
87
|
}
|
@@ -3,7 +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
|
-
## [3.0.
|
6
|
+
## [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)
|
7
|
+
|
8
|
+
**Note:** Version bump only for package @aws-amplify/graphql-index-transformer
|
9
|
+
|
10
|
+
## [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
11
|
|
8
12
|
**Note:** Version bump only for package @aws-amplify/graphql-index-transformer
|
9
13
|
|