@aws-amplify/graphql-api-construct 1.16.1-ai-streaming.0 → 1.16.1-ai-next.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (165) hide show
  1. package/.jsii +19 -19
  2. package/CHANGELOG.md +5 -1
  3. package/lib/amplify-dynamodb-table-wrapper.js +1 -1
  4. package/lib/amplify-graphql-api.js +1 -1
  5. package/lib/amplify-graphql-definition.js +1 -1
  6. package/lib/sql-model-datasource-strategy.js +1 -1
  7. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/bedrock_converse_adapter.d.ts +3 -4
  8. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/bedrock_converse_adapter.js +174 -212
  9. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/conversation_message_history_retriever.d.ts +10 -0
  10. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/conversation_message_history_retriever.js +65 -2
  11. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/conversation_turn_executor.d.ts +4 -2
  12. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/conversation_turn_executor.js +29 -7
  13. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/conversation_turn_response_sender.d.ts +11 -8
  14. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/conversation_turn_response_sender.js +33 -25
  15. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/errors.d.ts +10 -0
  16. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/errors.js +17 -0
  17. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/lazy.d.ts +16 -0
  18. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/lazy.js +37 -0
  19. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/types.d.ts +0 -19
  20. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/types.js +1 -1
  21. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/README.md +9 -0
  22. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/amplify_function.d.ts +4 -0
  23. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/amplify_function.js +3 -0
  24. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/auth_resources.d.ts +66 -0
  25. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/auth_resources.js +3 -0
  26. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/aws_client_provider.d.ts +5 -0
  27. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/aws_client_provider.js +3 -0
  28. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/backend_identifier.d.ts +56 -0
  29. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/backend_identifier.js +3 -0
  30. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/backend_output.d.ts +6 -0
  31. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/backend_output.js +3 -0
  32. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/backend_secret_resolver.d.ts +22 -0
  33. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/backend_secret_resolver.js +3 -0
  34. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/backend_stack_creator.d.ts +8 -0
  35. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/backend_stack_creator.js +3 -0
  36. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/backend_stack_resolver.d.ts +7 -0
  37. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/backend_stack_resolver.js +3 -0
  38. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/construct_container.d.ts +35 -0
  39. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/construct_container.js +3 -0
  40. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/construct_factory.d.ts +24 -0
  41. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/construct_factory.js +3 -0
  42. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/deep_partial.d.ts +17 -0
  43. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/deep_partial.js +3 -0
  44. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/deployment_type.d.ts +8 -0
  45. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/deployment_type.js +3 -0
  46. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/function_resources.d.ts +8 -0
  47. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/function_resources.js +3 -0
  48. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/import_path_verifier.d.ts +14 -0
  49. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/import_path_verifier.js +3 -0
  50. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/index.d.ts +24 -0
  51. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/index.js +40 -0
  52. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/output_retrieval_strategy.d.ts +11 -0
  53. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/output_retrieval_strategy.js +3 -0
  54. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/output_storage_strategy.d.ts +10 -0
  55. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/output_storage_strategy.js +3 -0
  56. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/package_manager_controller.d.ts +16 -0
  57. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/package_manager_controller.js +3 -0
  58. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/resource_access_acceptor.d.ts +27 -0
  59. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/resource_access_acceptor.js +3 -0
  60. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/resource_name_validator.d.ts +10 -0
  61. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/resource_name_validator.js +3 -0
  62. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/resource_provider.d.ts +10 -0
  63. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/resource_provider.js +3 -0
  64. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/ssm_environment_entries_generator.d.ts +5 -0
  65. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/ssm_environment_entries_generator.js +3 -0
  66. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/stable_backend_identifiers.d.ts +4 -0
  67. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/stable_backend_identifiers.js +3 -0
  68. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/stack_provider.d.ts +5 -0
  69. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/lib/stack_provider.js +3 -0
  70. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/plugin-types/package.json +24 -0
  71. package/node_modules/@aws-amplify/ai-constructs/package.json +4 -4
  72. package/node_modules/@aws-amplify/graphql-auth-transformer/CHANGELOG.md +1 -1
  73. package/node_modules/@aws-amplify/graphql-auth-transformer/package.json +11 -12
  74. package/node_modules/@aws-amplify/graphql-conversation-transformer/CHANGELOG.md +5 -3
  75. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/graphql-types/name-values.d.ts +1 -0
  76. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/graphql-types/name-values.d.ts.map +1 -1
  77. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/graphql-types/name-values.js +2 -1
  78. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/graphql-types/name-values.js.map +1 -1
  79. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/index.d.ts +4 -2
  80. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/index.d.ts.map +1 -1
  81. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/index.js +7 -3
  82. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/index.js.map +1 -1
  83. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/list-conversations-init-resolver-definition.d.ts +3 -0
  84. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/list-conversations-init-resolver-definition.d.ts.map +1 -0
  85. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/list-conversations-init-resolver-definition.js +24 -0
  86. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/list-conversations-init-resolver-definition.js.map +1 -0
  87. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/{list-messages-init-resolver.d.ts → list-messages-init-resolver-definition.d.ts} +1 -1
  88. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/list-messages-init-resolver-definition.d.ts.map +1 -0
  89. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/{list-messages-init-resolver.js → list-messages-init-resolver-definition.js} +2 -2
  90. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/list-messages-init-resolver-definition.js.map +1 -0
  91. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/list-messages-post-processing-resolver-definition.d.ts +3 -0
  92. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/list-messages-post-processing-resolver-definition.d.ts.map +1 -0
  93. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/list-messages-post-processing-resolver-definition.js +10 -0
  94. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/list-messages-post-processing-resolver-definition.js.map +1 -0
  95. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/send-message-pipeline-definition.js +1 -1
  96. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/send-message-pipeline-definition.js.map +1 -1
  97. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/templates/assistant-streaming-mutation-resolver-fn.template.js +0 -1
  98. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/templates/list-conversations-init-set-index-resolver-fn.template.js +12 -0
  99. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/templates/list-messages-init-set-index-resolver-fn.template.js +36 -0
  100. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/templates/list-messages-post-processing-resolver-fn.template.js +12 -0
  101. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/templates/set-updated-at-conversation-table-fn.template.js +31 -0
  102. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/transformer-steps/conversation-prepare-handler.d.ts.map +1 -1
  103. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/transformer-steps/conversation-prepare-handler.js.map +1 -1
  104. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/transformer-steps/conversation-resolver-generator.d.ts +3 -1
  105. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/transformer-steps/conversation-resolver-generator.d.ts.map +1 -1
  106. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/transformer-steps/conversation-resolver-generator.js +24 -3
  107. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/transformer-steps/conversation-resolver-generator.js.map +1 -1
  108. package/node_modules/@aws-amplify/graphql-conversation-transformer/package.json +9 -9
  109. package/node_modules/@aws-amplify/graphql-default-value-transformer/CHANGELOG.md +1 -1
  110. package/node_modules/@aws-amplify/graphql-default-value-transformer/package.json +6 -7
  111. package/node_modules/@aws-amplify/graphql-function-transformer/CHANGELOG.md +1 -1
  112. package/node_modules/@aws-amplify/graphql-function-transformer/package.json +5 -6
  113. package/node_modules/@aws-amplify/graphql-generation-transformer/CHANGELOG.md +1 -1
  114. package/node_modules/@aws-amplify/graphql-generation-transformer/package.json +5 -6
  115. package/node_modules/@aws-amplify/graphql-http-transformer/CHANGELOG.md +1 -1
  116. package/node_modules/@aws-amplify/graphql-http-transformer/package.json +5 -6
  117. package/node_modules/@aws-amplify/graphql-index-transformer/CHANGELOG.md +1 -1
  118. package/node_modules/@aws-amplify/graphql-index-transformer/package.json +6 -7
  119. package/node_modules/@aws-amplify/graphql-maps-to-transformer/CHANGELOG.md +1 -1
  120. package/node_modules/@aws-amplify/graphql-maps-to-transformer/lib/assets/mapping-lambda.zip +0 -0
  121. package/node_modules/@aws-amplify/graphql-maps-to-transformer/package.json +9 -10
  122. package/node_modules/@aws-amplify/graphql-model-transformer/CHANGELOG.md +1 -1
  123. package/node_modules/@aws-amplify/graphql-model-transformer/lib/rds-lambda.zip +0 -0
  124. package/node_modules/@aws-amplify/graphql-model-transformer/lib/rds-notification-lambda.zip +0 -0
  125. package/node_modules/@aws-amplify/graphql-model-transformer/lib/rds-patching-lambda.zip +0 -0
  126. package/node_modules/@aws-amplify/graphql-model-transformer/package.json +5 -6
  127. package/node_modules/@aws-amplify/graphql-predictions-transformer/CHANGELOG.md +1 -1
  128. package/node_modules/@aws-amplify/graphql-predictions-transformer/lib/predictionsLambdaFunction.zip +0 -0
  129. package/node_modules/@aws-amplify/graphql-predictions-transformer/package.json +5 -6
  130. package/node_modules/@aws-amplify/graphql-relational-transformer/CHANGELOG.md +1 -1
  131. package/node_modules/@aws-amplify/graphql-relational-transformer/package.json +7 -8
  132. package/node_modules/@aws-amplify/graphql-searchable-transformer/CHANGELOG.md +1 -1
  133. package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/streaming-lambda.zip +0 -0
  134. package/node_modules/@aws-amplify/graphql-searchable-transformer/package.json +6 -7
  135. package/node_modules/@aws-amplify/graphql-sql-transformer/CHANGELOG.md +1 -1
  136. package/node_modules/@aws-amplify/graphql-sql-transformer/package.json +6 -7
  137. package/node_modules/@aws-amplify/graphql-transformer/CHANGELOG.md +5 -1
  138. package/node_modules/@aws-amplify/graphql-transformer/package.json +17 -17
  139. package/node_modules/@aws-amplify/graphql-transformer-core/CHANGELOG.md +1 -1
  140. package/node_modules/@aws-amplify/graphql-transformer-core/package.json +3 -4
  141. package/node_modules/graphql-transformer-common/API.md +1 -0
  142. package/node_modules/graphql-transformer-common/CHANGELOG.md +1 -1
  143. package/node_modules/graphql-transformer-common/lib/TypescriptSchemaConstants.d.ts +1 -0
  144. package/node_modules/graphql-transformer-common/lib/TypescriptSchemaConstants.d.ts.map +1 -1
  145. package/node_modules/graphql-transformer-common/lib/TypescriptSchemaConstants.js +1 -0
  146. package/node_modules/graphql-transformer-common/lib/TypescriptSchemaConstants.js.map +1 -1
  147. package/node_modules/graphql-transformer-common/package.json +2 -3
  148. package/package.json +20 -20
  149. package/node_modules/@aws-amplify/graphql-auth-transformer/LICENSE +0 -201
  150. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/list-messages-init-resolver.d.ts.map +0 -1
  151. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/list-messages-init-resolver.js.map +0 -1
  152. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/templates/list-messages-init-resolver-fn.template.js +0 -8
  153. package/node_modules/@aws-amplify/graphql-default-value-transformer/LICENSE +0 -201
  154. package/node_modules/@aws-amplify/graphql-function-transformer/LICENSE +0 -201
  155. package/node_modules/@aws-amplify/graphql-generation-transformer/LICENSE +0 -201
  156. package/node_modules/@aws-amplify/graphql-http-transformer/LICENSE +0 -201
  157. package/node_modules/@aws-amplify/graphql-index-transformer/LICENSE +0 -201
  158. package/node_modules/@aws-amplify/graphql-maps-to-transformer/LICENSE +0 -201
  159. package/node_modules/@aws-amplify/graphql-model-transformer/LICENSE +0 -201
  160. package/node_modules/@aws-amplify/graphql-predictions-transformer/LICENSE +0 -201
  161. package/node_modules/@aws-amplify/graphql-relational-transformer/LICENSE +0 -201
  162. package/node_modules/@aws-amplify/graphql-searchable-transformer/LICENSE +0 -201
  163. package/node_modules/@aws-amplify/graphql-sql-transformer/LICENSE +0 -201
  164. package/node_modules/@aws-amplify/graphql-transformer-core/LICENSE +0 -201
  165. package/node_modules/graphql-transformer-common/LICENSE +0 -201
@@ -1 +1 @@
1
- {"version":3,"file":"conversation-prepare-handler.js","sourceRoot":"","sources":["../../src/transformer-steps/conversation-prepare-handler.ts"],"names":[],"mappings":";;;AAEA,oFAAyH;AAEzH,kEAA+G;AAQ/G,MAAa,0BAA0B;IAarC,YACE,gBAAkC,EAClC,kBAAsC,EACtC,oBAA0C,EAC1C,YAAqC;QAErC,IAAI,CAAC,gBAAgB,GAAG,gBAAgB,CAAC;QACzC,IAAI,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;QAC7C,IAAI,CAAC,oBAAoB,GAAG,oBAAoB,CAAC;QACjD,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;IACnC,CAAC;IAaD,OAAO,CAAC,GAA0C,EAAE,UAAgD;QAElG,MAAM,0BAA0B,GAAG,IAAA,gDAAgC,GAAE,CAAC;QACtE,GAAG,CAAC,MAAM,CAAC,QAAQ,CAAC,0BAA0B,CAAC,CAAC;QAEhD,KAAK,MAAM,SAAS,IAAI,UAAU,EAAE;YAClC,IAAI,CAA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CAAC,YAAY,CAAC,KAAK,EAAE,YAAY,CAAC,cAAc,EAAE,GAAG,CAAC,CAAC;QACnF,IAAI,CAAC,gBAAgB,CAAC,MAAM,CAAC,OAAO,CAAC,KAAK,EAAE,OAAO,CAAC,cAAc,EAAE,GAAG,CAAC,CAAC;QAKzE,IAAI,CAAC,gBAAgB,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;QAGlC,IAAI,CAAC,oBAAoB,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,EAAE,OAAO,CAAC,iBAAiB,EAAE,OAAO,CAAC,8BAA8B,EAAE,GAAG,CAAC,CAAC;QACvH,IAAI,CAAC,kBAAkB,CAAC,KAAK,CAAC,YAAY,CAAC,KAAK,EAAE,YAAY,CAAC,aAAa,EAAE,YAAY,CAAC,wBAAwB,EAAE,GAAG,CAAC,CAAC;QAG1H,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,MAAM,EAAE;YAC7B,MAAM,IAAI,kDAAuB,CAAC,mCAAmC,CAAC,CAAC;SACxE;QACD,IAAI,CAAC,YAAY,CAAC,MAAM,CAAC,YAAY,CAAC,KAAK,EAAE,YAAY,CAAC,aAAa,EAAE,GAAG,CAAC,CAAC;QAC9E,IAAI,CAAC,YAAY,CAAC,MAAM,CAAC,OAAO,CAAC,KAAK,EAAE,OAAO,CAAC,aAAa,EAAE,GAAG,CAAC,CAAC;IACtE,CAAC;CACF;AA1GD,gEA0GC"}
1
+ {"version":3,"file":"conversation-prepare-handler.js","sourceRoot":"","sources":["../../src/transformer-steps/conversation-prepare-handler.ts"],"names":[],"mappings":";;;AAEA,oFAAyH;AAEzH,kEAA+G;AAQ/G,MAAa,0BAA0B;IAarC,YACE,gBAAkC,EAClC,kBAAsC,EACtC,oBAA0C,EAC1C,YAAqC;QAErC,IAAI,CAAC,gBAAgB,GAAG,gBAAgB,CAAC;QACzC,IAAI,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;QAC7C,IAAI,CAAC,oBAAoB,GAAG,oB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Source;
12
12
  private setupDefaultConversationHandler;
13
13
  private addLambdaDataSource;
14
- private addInitSlotToListMessagesPipeline;
14
+ private addSlotsToListMessagesPipeline;
15
+ private addInitSlotToListConversationsPipeline;
16
+ private setUpConversationTableIndex;
15
17
  private setupMessageTableIndex;
16
18
  private addGlobalSecondaryIndex;
17
19
  }
@@ -1 +1 @@
1
- {"version":3,"file":"conversation-resolver-generator.d.ts","sourceRoot":"","sources":["../../src/transformer-steps/conversation-resolver-generator.ts"],"names":[],"mappings":"AAGA,OAAO,EAAsB,0BAA0B,EAAE,MAAM,6CAA6C,CAAC;AAC7G,OAAO,KAAK,GAAG,MAAM,aAAa,CAAC;AAInC,OAAO,EAAE,kCAAkC,EAAoC,MAAM,yCAAyC,CAAC;AAiB/H,qBAAa,6BAA6B;IAC5B,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAC;gBAAhB,eAAe,CAAC,sDAA2B;IAQxE,iBAAiB,CAAC,UAAU,EAAE,kCAAkC,EAAE,EAAE,GAAG,EAAE,0BAA0B,GAAG,IAAI;IAuB1G,OAAO,CAAC,mBAAmB;IAmC3B,OAAO,CAAC,6BAA6B;IAqCrC,OAAO,CAAC,uBAAuB;IAoB/B,OAAO,CAAC,+BAA+B;IAmBvC,OAAO,CAAC,+BAA+B;IA+BvC,OAAO,CAAC,mBAAmB;IAuB3B,OAAO,CAAC,iCAAiC;IAazC,OAAO,CAAC,sBAAsB;IAoC9B,OAAO,CAAC,uBAAuB;CAgChC"}
1
+ {"version":3,"file":"conversation-resolver-generator.d.ts","sourceRoot":"","sources":["../../src/transformer-steps/conversation-resolver-generator.ts"],"names":[],"mappings":"AAGA,OAAO,EAAsB,0BAA0B,EAAE,MAAM,6CAA6C,CAAC;AAC7G,OAAO,KAAK,GAAG,MAAM,aAAa,CAAC;AAInC,OAAO,EAAE,kCAAkC,EAAoC,MAAM,yCAAyC,CAAC;AAoB/H,qBAAa,6BAA6B;IAC5B,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAC;gBAAhB,eAAe,CAAC,sDAA2B;IAQxE,iBAAiB,CAAC,UAAU,EAAE,kCAAkC,EAAE,EAAE,GAAG,EAAE,0BAA0B,GAAG,IAAI;IA6B1G,OAAO,CAAC,mBAAmB;IAmC3B,OAAO,CAAC,6BAA6B;IAqCrC,OAAO,CAAC,uBAAuB;IAoB/B,OAAO,CAAC,+BAA+B;IAmBvC,OAAO,CAAC,+BAA+B;IA+BvC,OAAO,CAAC,mBAAmB;IAgB3B,OAAO,CAAC,8BAA8B;IAYtC,OAAO,CAAC,sCAAsC;IAa9C,OAAO,CAAC,2BAA2B;IAyBnC,OAAO,CAAC,sBAAsB;IAoC9B,OAAO,CAAC,uBAAuB;CAgChC"}
@@ -44,9 +44,11 @@ class ConversationResolverGenerator {
44
44
  for (const directive of directives) {
45
45
  directive.toolSpec = (0, process_tools_1.processTools)(directive.tools, ctx);
46
46
  directive.dataSources = this.generateDataSources(directive, ctx);
47
+ this.setUpConversationTableIndex(ctx, directive);
47
48
  this.setupMessageTableIndex(ctx, directive);
48
49
  this.generateResolversForDirective(directive, ctx);
49
- this.addInitSlotToListMessagesPipeline(ctx, directive);
50
+ this.addInitSlotToListConversationsPipeline(ctx, directive);
51
+ this.addSlotsToListMessagesPipeline(ctx, directive);
50
52
  }
51
53
  }
52
54
  generateDataSources(directive, ctx) {
@@ -114,12 +116,31 @@ class ConversationResolverGenerator {
114
116
  const functionDataSourceScope = ctx.stackManager.getScopeFor(functionDataSourceId, functionStackName);
115
117
  return ctx.api.host.addLambdaDataSource(functionDataSourceId, referencedFunction, {}, functionDataSourceScope);
116
118
  }
117
- addInitSlotToListMessagesPipeline(ctx, directive) {
119
+ addSlotsToListMessagesPipeline(ctx, directive) {
118
120
  const messageName = directive.message.model.name.value;
119
121
  const pluralized = (0, pluralize_1.default)(messageName);
120
122
  const listMessagesResolver = ctx.resolvers.getResolver('Query', `list${pluralized}`);
121
123
  const initResolverFn = (0, resolvers_1.generateResolverFunction)(resolvers_1.listMessagesInitFunctionDefinition, directive, ctx);
122
- listMessagesResolver.addJsFunctionToSlot('init', initResolverFn);
124
+ listMessagesResolver.addJsFunctionToSlot(resolvers_1.listMessagesInitFunctionDefinition.slotName, initResolverFn);
125
+ const postProcessingResolverFn = (0, resolvers_1.generateResolverFunction)(resolvers_1.listMessagesPostProcessingFunctionDefinition, directive, ctx);
126
+ listMessagesResolver.addJsFunctionToSlot(resolvers_1.listMessagesPostProcessingFunctionDefinition.slotName, postProcessingResolverFn);
127
+ }
128
+ addInitSlotToListConversationsPipeline(ctx, directive) {
129
+ const conversationName = directive.conversation.model.name.value;
130
+ const pluralized = (0, pluralize_1.default)(conversationName);
131
+ const listConversationsResolver = ctx.resolvers.getResolver('Query', `list${pluralized}`);
132
+ const initResolverFn = (0, resolvers_1.generateResolverFunction)(resolvers_1.listConversationsInitFunctionDefinition, directive, ctx);
133
+ listConversationsResolver.addJsFunctionToSlot('init', initResolverFn);
134
+ }
135
+ setUpConversationTableIndex(ctx, directive) {
136
+ const conversationName = directive.conversation.model.name.value;
137
+ const conversation = directive.conversation.model;
138
+ const conversationTable = (0, graphql_transformer_core_1.getTable)(ctx, conversation);
139
+ const gsiPartitionKeyName = '__typename';
140
+ const gsiPartitionKeyType = 'S';
141
+ const gsiSortKeyName = 'updatedAt';
142
+ const gsiSortKeyType = 'S';
143
+ this.addGlobalSecondaryIndex(conversationTable, ctx, conversationName, name_values_1.LIST_CONVERSATIONS_INDEX_NAME, { name: gsiPartitionKeyName, type: gsiPartitionKeyType }, { name: gsiSortKeyName, type: gsiSortKeyType });
123
144
  }
124
145
  setupMessageTableIndex(ctx, directive) {
125
146
  const messageName = directive.message.model.name.value;
@@ -1 +1 @@
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;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C,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;AAtRD,sEAsRC"}
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,8DAMsC;AACtC,4CAUsB;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,2BAA2B,CAAC,GAAG,EAAE,SAAS,CAAC,CAAC;YAGjD,IAAI,CAAC,sBAAsB,CAAC,GAAG,EAAE,SAAS,CAAC,CAAC;YAG5C,IAAI,CAAC,6BAA6B,CAAC,SAAS,EAAE,GAAG,CAAC,CAAC;YAGnD,IAAI,CAAC,sCAAsC,CAAC,GAAG,EAAE,SAAS,CAAC,CAAC;YAI5D,IAAI,CA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EAChB,SAAiB,EACjB,YAAoC,EACpC,OAA+B;QAE/B,KAAK,CAAC,uBAAuB,CAAC;YAC5B,SAAS;YAET,cAAc,EAAE,KAAK;YACrB,YAAY;YACZ,OAAO;YACP,YAAY,EAAE,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,8CAAiB,CAAC,UAAU,CAAC,0BAA0B,CAAC;YACjF,aAAa,EAAE,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,8CAAiB,CAAC,UAAU,CAAC,2BAA2B,CAAC;SACpF,CAAC,CAAC;QAEH,MAAM,GAAG,GAAG,KAAK,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,CAAC,CAAC,SAAS,KAAK,SAAS,CAAC,CAAC;QAErF,MAAM,QAAQ,GAAG;YACf,SAAS;YACT,SAAS,EAAE,GAAG,CAAC,SAAS;YACxB,UAAU,EAAE,EAAE,cAAc,EAAE,KAAK,EAAE;YACrC,qBAAqB,EAAE,GAAG,CAAC,EAAE,CAAC,WAAW,CAAC,8CAAiB,CAAC,UAAU,CAAC,6BAA6B,EAAE,GAAG,CAAC,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;AA1TD,sEA0TC"}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-amplify/graphql-conversation-transformer",
3
- "version": "0.5.1-ai-streaming.0",
3
+ "version": "0.5.1-ai-next.1",
4
4
  "description": "Amplify GraphQL @conversation transformer",
5
5
  "repository": {
6
6
  "type": "git",
@@ -24,21 +24,21 @@
24
24
  "extract-api": "ts-node ../../scripts/extract-api.ts"
25
25
  },
26
26
  "dependencies": {
27
- "@aws-amplify/ai-constructs": "0.0.0-test-20241029211113",
27
+ "@aws-amplify/ai-constructs": "0.8.0",
28
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",
29
+ "@aws-amplify/graphql-index-transformer": "3.0.8-ai-next.0",
30
+ "@aws-amplify/graphql-model-transformer": "3.0.8-ai-next.0",
31
+ "@aws-amplify/graphql-relational-transformer": "3.0.8-ai-next.0",
32
+ "@aws-amplify/graphql-transformer-core": "3.2.3-ai-next.0",
33
33
  "@aws-amplify/graphql-transformer-interfaces": "4.1.2",
34
34
  "graphql": "^15.5.0",
35
35
  "graphql-mapping-template": "5.0.1",
36
- "graphql-transformer-common": "5.1.1-ai-streaming.0",
36
+ "graphql-transformer-common": "5.1.1-ai-next.0",
37
37
  "immer": "^9.0.12",
38
38
  "semver": "^7.6.3"
39
39
  },
40
40
  "devDependencies": {
41
- "@aws-amplify/graphql-transformer-test-utils": "1.0.7-ai-streaming.0",
41
+ "@aws-amplify/graphql-transformer-test-utils": "1.0.7-ai-next.0",
42
42
  "esbuild": "^0.24.0"
43
43
  },
44
44
  "peerDependencies": {
@@ -81,5 +81,5 @@
81
81
  "/__tests__/"
82
82
  ]
83
83
  },
84
- "gitHead": "5b48b6e74d17216a54794a93273994706fc51b3e"
84
+ "gitHead": "e21695f1b29d6e9cc8e76f8efbe7031eb06d80d6"
85
85
  }
@@ -3,7 +3,7 @@
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.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)
6
+ ## [3.1.3-ai-next.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-next.0) (2024-11-01)
7
7
 
8
8
  **Note:** Version bump only for package @aws-amplify/graphql-default-value-transformer
9
9
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-amplify/graphql-default-value-transformer",
3
- "version": "3.1.3-ai-streaming.0",
3
+ "version": "3.1.3-ai-next.0",
4
4
  "description": "Amplify GraphQL default value transformer",
5
5
  "repository": {
6
6
  "type": "git",
@@ -31,16 +31,16 @@
31
31
  },
32
32
  "dependencies": {
33
33
  "@aws-amplify/graphql-directives": "2.4.0",
34
- "@aws-amplify/graphql-transformer-core": "3.2.3-ai-streaming.0",
34
+ "@aws-amplify/graphql-transformer-core": "3.2.3-ai-next.0",
35
35
  "@aws-amplify/graphql-transformer-interfaces": "4.1.2",
36
36
  "graphql": "^15.5.0",
37
37
  "graphql-mapping-template": "5.0.1",
38
- "graphql-transformer-common": "5.1.1-ai-streaming.0",
38
+ "graphql-transformer-common": "5.1.1-ai-next.0",
39
39
  "libphonenumber-js": "1.9.47"
40
40
  },
41
41
  "devDependencies": {
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"
42
+ "@aws-amplify/graphql-model-transformer": "3.0.8-ai-next.0",
43
+ "@aws-amplify/graphql-transformer-test-utils": "1.0.7-ai-next.0"
44
44
  },
45
45
  "jest": {
46
46
  "transform": {
@@ -82,6 +82,5 @@
82
82
  "escapeString": true,
83
83
  "printBasicPrototype": true
84
84
  }
85
- },
86
- "gitHead": "5b48b6e74d17216a54794a93273994706fc51b3e"
85
+ }
87
86
  }
@@ -3,7 +3,7 @@
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.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)
6
+ ## [3.1.5-ai-next.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-next.0) (2024-11-01)
7
7
 
8
8
  **Note:** Version bump only for package @aws-amplify/graphql-function-transformer
9
9
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-amplify/graphql-function-transformer",
3
- "version": "3.1.5-ai-streaming.0",
3
+ "version": "3.1.5-ai-next.0",
4
4
  "description": "Amplify GraphQL @function transformer",
5
5
  "repository": {
6
6
  "type": "git",
@@ -30,14 +30,14 @@
30
30
  },
31
31
  "dependencies": {
32
32
  "@aws-amplify/graphql-directives": "2.4.0",
33
- "@aws-amplify/graphql-transformer-core": "3.2.3-ai-streaming.0",
33
+ "@aws-amplify/graphql-transformer-core": "3.2.3-ai-next.0",
34
34
  "@aws-amplify/graphql-transformer-interfaces": "4.1.2",
35
35
  "graphql": "^15.5.0",
36
36
  "graphql-mapping-template": "5.0.1",
37
- "graphql-transformer-common": "5.1.1-ai-streaming.0"
37
+ "graphql-transformer-common": "5.1.1-ai-next.0"
38
38
  },
39
39
  "devDependencies": {
40
- "@aws-amplify/graphql-transformer-test-utils": "1.0.7-ai-streaming.0"
40
+ "@aws-amplify/graphql-transformer-test-utils": "1.0.7-ai-next.0"
41
41
  },
42
42
  "peerDependencies": {
43
43
  "aws-cdk-lib": "^2.158.0",
@@ -82,6 +82,5 @@
82
82
  "escapeString": true,
83
83
  "printBasicPrototype": true
84
84
  }
85
- },
86
- "gitHead": "5b48b6e74d17216a54794a93273994706fc51b3e"
85
+ }
87
86
  }
@@ -3,7 +3,7 @@
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-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)
6
+ ## [0.2.6-ai-next.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-next.0) (2024-11-01)
7
7
 
8
8
  **Note:** Version bump only for package @aws-amplify/graphql-generation-transformer
9
9
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-amplify/graphql-generation-transformer",
3
- "version": "0.2.6-ai-streaming.0",
3
+ "version": "0.2.6-ai-next.0",
4
4
  "description": "Amplify GraphQL @generation transformer",
5
5
  "repository": {
6
6
  "type": "git",
@@ -25,15 +25,15 @@
25
25
  },
26
26
  "dependencies": {
27
27
  "@aws-amplify/graphql-directives": "2.4.0",
28
- "@aws-amplify/graphql-transformer-core": "3.2.3-ai-streaming.0",
28
+ "@aws-amplify/graphql-transformer-core": "3.2.3-ai-next.0",
29
29
  "@aws-amplify/graphql-transformer-interfaces": "4.1.2",
30
30
  "graphql": "^15.5.0",
31
31
  "graphql-mapping-template": "5.0.1",
32
- "graphql-transformer-common": "5.1.1-ai-streaming.0",
32
+ "graphql-transformer-common": "5.1.1-ai-next.0",
33
33
  "immer": "^9.0.12"
34
34
  },
35
35
  "devDependencies": {
36
- "@aws-amplify/graphql-transformer-test-utils": "1.0.7-ai-streaming.0"
36
+ "@aws-amplify/graphql-transformer-test-utils": "1.0.7-ai-next.0"
37
37
  },
38
38
  "peerDependencies": {
39
39
  "aws-cdk-lib": "^2.158.0",
@@ -74,6 +74,5 @@
74
74
  "coveragePathIgnorePatterns": [
75
75
  "/__tests__/"
76
76
  ]
77
- },
78
- "gitHead": "5b48b6e74d17216a54794a93273994706fc51b3e"
77
+ }
79
78
  }
@@ -3,7 +3,7 @@
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.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)
6
+ ## [3.0.8-ai-next.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-next.0) (2024-11-01)
7
7
 
8
8
  **Note:** Version bump only for package @aws-amplify/graphql-http-transformer
9
9
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-amplify/graphql-http-transformer",
3
- "version": "3.0.8-ai-streaming.0",
3
+ "version": "3.0.8-ai-next.0",
4
4
  "description": "Amplify GraphQL @http transformer",
5
5
  "repository": {
6
6
  "type": "git",
@@ -30,14 +30,14 @@
30
30
  },
31
31
  "dependencies": {
32
32
  "@aws-amplify/graphql-directives": "2.4.0",
33
- "@aws-amplify/graphql-transformer-core": "3.2.3-ai-streaming.0",
33
+ "@aws-amplify/graphql-transformer-core": "3.2.3-ai-next.0",
34
34
  "@aws-amplify/graphql-transformer-interfaces": "4.1.2",
35
35
  "graphql": "^15.5.0",
36
36
  "graphql-mapping-template": "5.0.1",
37
- "graphql-transformer-common": "5.1.1-ai-streaming.0"
37
+ "graphql-transformer-common": "5.1.1-ai-next.0"
38
38
  },
39
39
  "devDependencies": {
40
- "@aws-amplify/graphql-transformer-test-utils": "1.0.7-ai-streaming.0"
40
+ "@aws-amplify/graphql-transformer-test-utils": "1.0.7-ai-next.0"
41
41
  },
42
42
  "peerDependencies": {
43
43
  "aws-cdk-lib": "^2.158.0",
@@ -82,6 +82,5 @@
82
82
  "escapeString": true,
83
83
  "printBasicPrototype": true
84
84
  }
85
- },
86
- "gitHead": "5b48b6e74d17216a54794a93273994706fc51b3e"
85
+ }
87
86
  }
@@ -3,7 +3,7 @@
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.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)
6
+ ## [3.0.8-ai-next.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-next.0) (2024-11-01)
7
7
 
8
8
  **Note:** Version bump only for package @aws-amplify/graphql-index-transformer
9
9
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-amplify/graphql-index-transformer",
3
- "version": "3.0.8-ai-streaming.0",
3
+ "version": "3.0.8-ai-next.0",
4
4
  "description": "Amplify GraphQL index and key transformers",
5
5
  "repository": {
6
6
  "type": "git",
@@ -30,15 +30,15 @@
30
30
  },
31
31
  "dependencies": {
32
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",
33
+ "@aws-amplify/graphql-model-transformer": "3.0.8-ai-next.0",
34
+ "@aws-amplify/graphql-transformer-core": "3.2.3-ai-next.0",
35
35
  "@aws-amplify/graphql-transformer-interfaces": "4.1.2",
36
36
  "graphql": "^15.5.0",
37
37
  "graphql-mapping-template": "5.0.1",
38
- "graphql-transformer-common": "5.1.1-ai-streaming.0"
38
+ "graphql-transformer-common": "5.1.1-ai-next.0"
39
39
  },
40
40
  "devDependencies": {
41
- "@aws-amplify/graphql-transformer-test-utils": "1.0.7-ai-streaming.0"
41
+ "@aws-amplify/graphql-transformer-test-utils": "1.0.7-ai-next.0"
42
42
  },
43
43
  "peerDependencies": {
44
44
  "aws-cdk-lib": "^2.158.0",
@@ -80,6 +80,5 @@
80
80
  "escapeString": true,
81
81
  "printBasicPrototype": true
82
82
  }
83
- },
84
- "gitHead": "5b48b6e74d17216a54794a93273994706fc51b3e"
83
+ }
85
84
  }
@@ -3,7 +3,7 @@
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.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)
6
+ ## [4.0.8-ai-next.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-next.0) (2024-11-01)
7
7
 
8
8
  **Note:** Version bump only for package @aws-amplify/graphql-maps-to-transformer
9
9
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-amplify/graphql-maps-to-transformer",
3
- "version": "4.0.8-ai-streaming.0",
3
+ "version": "4.0.8-ai-next.0",
4
4
  "description": "Amplify GraphQL @mapsTo transformer",
5
5
  "repository": {
6
6
  "type": "git",
@@ -32,21 +32,21 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "@aws-amplify/graphql-directives": "2.4.0",
35
- "@aws-amplify/graphql-transformer-core": "3.2.3-ai-streaming.0",
35
+ "@aws-amplify/graphql-transformer-core": "3.2.3-ai-next.0",
36
36
  "@aws-amplify/graphql-transformer-interfaces": "4.1.2",
37
37
  "graphql-mapping-template": "5.0.1",
38
- "graphql-transformer-common": "5.1.1-ai-streaming.0"
38
+ "graphql-transformer-common": "5.1.1-ai-next.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.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",
45
+ "@aws-amplify/graphql-index-transformer": "3.0.8-ai-next.0",
46
+ "@aws-amplify/graphql-model-transformer": "3.0.8-ai-next.0",
47
+ "@aws-amplify/graphql-relational-transformer": "3.0.8-ai-next.0",
48
+ "@aws-amplify/graphql-searchable-transformer": "3.0.8-ai-next.0",
49
+ "@aws-amplify/graphql-transformer-test-utils": "1.0.7-ai-next.0",
50
50
  "graphql": "^15.5.0"
51
51
  },
52
52
  "jest": {
@@ -85,6 +85,5 @@
85
85
  "escapeString": true,
86
86
  "printBasicPrototype": true
87
87
  }
88
- },
89
- "gitHead": "5b48b6e74d17216a54794a93273994706fc51b3e"
88
+ }
90
89
  }
@@ -3,7 +3,7 @@
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.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)
6
+ ## [3.0.8-ai-next.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-next.0) (2024-11-01)
7
7
 
8
8
  **Note:** Version bump only for package @aws-amplify/graphql-model-transformer
9
9
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-amplify/graphql-model-transformer",
3
- "version": "3.0.8-ai-streaming.0",
3
+ "version": "3.0.8-ai-next.0",
4
4
  "description": "Amplify graphql @model transformer",
5
5
  "repository": {
6
6
  "type": "git",
@@ -34,18 +34,18 @@
34
34
  },
35
35
  "dependencies": {
36
36
  "@aws-amplify/graphql-directives": "2.4.0",
37
- "@aws-amplify/graphql-transformer-core": "3.2.3-ai-streaming.0",
37
+ "@aws-amplify/graphql-transformer-core": "3.2.3-ai-next.0",
38
38
  "@aws-amplify/graphql-transformer-interfaces": "4.1.2",
39
39
  "graphql": "^15.5.0",
40
40
  "graphql-mapping-template": "5.0.1",
41
- "graphql-transformer-common": "5.1.1-ai-streaming.0"
41
+ "graphql-transformer-common": "5.1.1-ai-next.0"
42
42
  },
43
43
  "peerDependencies": {
44
44
  "aws-cdk-lib": "^2.158.0",
45
45
  "constructs": "^10.3.0"
46
46
  },
47
47
  "devDependencies": {
48
- "@aws-amplify/graphql-transformer-test-utils": "1.0.7-ai-streaming.0",
48
+ "@aws-amplify/graphql-transformer-test-utils": "1.0.7-ai-next.0",
49
49
  "@aws-sdk/client-dynamodb": "^3.624.0",
50
50
  "@aws-sdk/client-lambda": "^3.624.0",
51
51
  "@aws-sdk/client-sfn": "^3.624.0",
@@ -92,6 +92,5 @@
92
92
  "escapeString": true,
93
93
  "printBasicPrototype": true
94
94
  }
95
- },
96
- "gitHead": "5b48b6e74d17216a54794a93273994706fc51b3e"
95
+ }
97
96
  }
@@ -3,7 +3,7 @@
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.8-ai-streaming.0](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-predictions-transformer@3.0.7...@aws-amplify/graphql-predictions-transformer@3.0.8-ai-streaming.0) (2024-10-30)
6
+ ## [3.0.8-ai-next.0](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-predictions-transformer@3.0.7...@aws-amplify/graphql-predictions-transformer@3.0.8-ai-next.0) (2024-11-01)
7
7
 
8
8
  **Note:** Version bump only for package @aws-amplify/graphql-predictions-transformer
9
9
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-amplify/graphql-predictions-transformer",
3
- "version": "3.0.8-ai-streaming.0",
3
+ "version": "3.0.8-ai-next.0",
4
4
  "description": "Amplify GraphQL @predictions transformer",
5
5
  "repository": {
6
6
  "type": "git",
@@ -30,18 +30,18 @@
30
30
  },
31
31
  "dependencies": {
32
32
  "@aws-amplify/graphql-directives": "2.4.0",
33
- "@aws-amplify/graphql-transformer-core": "3.2.3-ai-streaming.0",
33
+ "@aws-amplify/graphql-transformer-core": "3.2.3-ai-next.0",
34
34
  "@aws-amplify/graphql-transformer-interfaces": "4.1.2",
35
35
  "graphql": "^15.5.0",
36
36
  "graphql-mapping-template": "5.0.1",
37
- "graphql-transformer-common": "5.1.1-ai-streaming.0"
37
+ "graphql-transformer-common": "5.1.1-ai-next.0"
38
38
  },
39
39
  "peerDependencies": {
40
40
  "aws-cdk-lib": "^2.158.0",
41
41
  "constructs": "^10.3.0"
42
42
  },
43
43
  "devDependencies": {
44
- "@aws-amplify/graphql-transformer-test-utils": "1.0.7-ai-streaming.0",
44
+ "@aws-amplify/graphql-transformer-test-utils": "1.0.7-ai-next.0",
45
45
  "bestzip": "^2.1.5"
46
46
  },
47
47
  "jest": {
@@ -83,6 +83,5 @@
83
83
  "escapeString": true,
84
84
  "printBasicPrototype": true
85
85
  }
86
- },
87
- "gitHead": "5b48b6e74d17216a54794a93273994706fc51b3e"
86
+ }
88
87
  }
@@ -3,7 +3,7 @@
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.8-ai-streaming.0](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-relational-transformer@3.0.7...@aws-amplify/graphql-relational-transformer@3.0.8-ai-streaming.0) (2024-10-30)
6
+ ## [3.0.8-ai-next.0](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-relational-transformer@3.0.7...@aws-amplify/graphql-relational-transformer@3.0.8-ai-next.0) (2024-11-01)
7
7
 
8
8
  **Note:** Version bump only for package @aws-amplify/graphql-relational-transformer
9
9
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-amplify/graphql-relational-transformer",
3
- "version": "3.0.8-ai-streaming.0",
3
+ "version": "3.0.8-ai-next.0",
4
4
  "description": "Amplify GraphQL relational modeling transformers",
5
5
  "repository": {
6
6
  "type": "git",
@@ -30,17 +30,17 @@
30
30
  },
31
31
  "dependencies": {
32
32
  "@aws-amplify/graphql-directives": "2.4.0",
33
- "@aws-amplify/graphql-index-transformer": "3.0.8-ai-streaming.0",
34
- "@aws-amplify/graphql-model-transformer": "3.0.8-ai-streaming.0",
35
- "@aws-amplify/graphql-transformer-core": "3.2.3-ai-streaming.0",
33
+ "@aws-amplify/graphql-index-transformer": "3.0.8-ai-next.0",
34
+ "@aws-amplify/graphql-model-transformer": "3.0.8-ai-next.0",
35
+ "@aws-amplify/graphql-transformer-core": "3.2.3-ai-next.0",
36
36
  "@aws-amplify/graphql-transformer-interfaces": "4.1.2",
37
37
  "graphql": "^15.5.0",
38
38
  "graphql-mapping-template": "5.0.1",
39
- "graphql-transformer-common": "5.1.1-ai-streaming.0",
39
+ "graphql-transformer-common": "5.1.1-ai-next.0",
40
40
  "immer": "^9.0.12"
41
41
  },
42
42
  "devDependencies": {
43
- "@aws-amplify/graphql-transformer-test-utils": "1.0.7-ai-streaming.0"
43
+ "@aws-amplify/graphql-transformer-test-utils": "1.0.7-ai-next.0"
44
44
  },
45
45
  "peerDependencies": {
46
46
  "aws-cdk-lib": "^2.158.0",
@@ -82,6 +82,5 @@
82
82
  "escapeString": true,
83
83
  "printBasicPrototype": true
84
84
  }
85
- },
86
- "gitHead": "5b48b6e74d17216a54794a93273994706fc51b3e"
85
+ }
87
86
  }
@@ -3,7 +3,7 @@
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.8-ai-streaming.0](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-searchable-transformer@3.0.7...@aws-amplify/graphql-searchable-transformer@3.0.8-ai-streaming.0) (2024-10-30)
6
+ ## [3.0.8-ai-next.0](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-searchable-transformer@3.0.7...@aws-amplify/graphql-searchable-transformer@3.0.8-ai-next.0) (2024-11-01)
7
7
 
8
8
  **Note:** Version bump only for package @aws-amplify/graphql-searchable-transformer
9
9