@aws-amplify/graphql-api-construct 1.16.0-gen2-migration-1015.0 → 1.16.1-ai-streaming.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (304) hide show
  1. package/.jsii +79 -152
  2. package/API.md +1 -11
  3. package/CHANGELOG.md +21 -1
  4. package/lib/amplify-dynamodb-table-wrapper.js +1 -1
  5. package/lib/amplify-graphql-api.js +9 -12
  6. package/lib/amplify-graphql-definition.js +1 -1
  7. package/lib/internal/metadata.d.ts +4 -0
  8. package/lib/internal/metadata.js +42 -0
  9. package/lib/model-datasource-strategy-types.d.ts +1 -19
  10. package/lib/model-datasource-strategy-types.js +1 -1
  11. package/lib/sql-model-datasource-strategy.js +1 -1
  12. package/lib/types.d.ts +1 -1
  13. package/lib/types.js +1 -1
  14. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/conversation_handler_construct.d.ts +19 -1
  15. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/conversation_handler_construct.js +36 -2
  16. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/index.d.ts +2 -2
  17. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/index.js +1 -1
  18. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/bedrock_converse_adapter.d.ts +11 -4
  19. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/bedrock_converse_adapter.js +279 -67
  20. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/conversation_message_history_retriever.js +34 -8
  21. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/conversation_turn_executor.d.ts +2 -2
  22. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/conversation_turn_executor.js +17 -4
  23. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/conversation_turn_response_sender.d.ts +17 -3
  24. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/conversation_turn_response_sender.js +56 -18
  25. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/default_handler.d.ts +1 -1
  26. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/event-tools-provider/event_tools_provider.js +2 -2
  27. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/event-tools-provider/graphql_tool.d.ts +7 -7
  28. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/event-tools-provider/graphql_tool.js +3 -2
  29. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/executable_tool_factory.d.ts +7 -0
  30. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/executable_tool_factory.js +16 -0
  31. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/graphql_request_executor.d.ts +2 -1
  32. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/graphql_request_executor.js +4 -2
  33. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/index.d.ts +3 -2
  34. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/index.js +4 -2
  35. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/types.d.ts +71 -14
  36. package/node_modules/@aws-amplify/ai-constructs/lib/conversation/runtime/types.js +1 -1
  37. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/README.md +4 -0
  38. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/ai/conversation/index.d.ts +23 -0
  39. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/ai/conversation/index.js +10 -0
  40. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/ai/conversation/v1.d.ts +22 -0
  41. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/ai/conversation/v1.js +11 -0
  42. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/auth/index.d.ts +118 -0
  43. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/auth/index.js +10 -0
  44. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/auth/v1.d.ts +117 -0
  45. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/auth/v1.js +31 -0
  46. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/custom/index.d.ts +23 -0
  47. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/custom/index.js +10 -0
  48. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/custom/v1.d.ts +22 -0
  49. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/custom/v1.js +11 -0
  50. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/function/index.d.ts +23 -0
  51. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/function/index.js +10 -0
  52. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/function/v1.d.ts +22 -0
  53. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/function/v1.js +11 -0
  54. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/graphql/index.d.ts +59 -0
  55. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/graphql/index.js +12 -0
  56. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/graphql/v1.d.ts +59 -0
  57. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/graphql/v1.js +25 -0
  58. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/index.d.ts +515 -0
  59. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/index.js +112 -0
  60. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/platform/index.d.ts +2 -0
  61. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/platform/index.js +18 -0
  62. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/platform/stack_metadata_schemas.d.ts +42 -0
  63. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/platform/stack_metadata_schemas.js +22 -0
  64. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/stack/index.d.ts +28 -0
  65. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/stack/index.js +10 -0
  66. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/stack/v1.d.ts +27 -0
  67. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/stack/v1.js +12 -0
  68. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/storage/index.d.ts +33 -0
  69. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/storage/index.js +10 -0
  70. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/storage/v1.d.ts +32 -0
  71. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/lib/storage/v1.js +33 -0
  72. package/node_modules/@aws-amplify/ai-constructs/node_modules/@aws-amplify/backend-output-schemas/package.json +27 -0
  73. package/node_modules/@aws-amplify/ai-constructs/package.json +9 -2
  74. package/node_modules/@aws-amplify/graphql-auth-transformer/CHANGELOG.md +9 -1
  75. package/node_modules/@aws-amplify/graphql-auth-transformer/package.json +14 -14
  76. package/node_modules/@aws-amplify/graphql-conversation-transformer/CHANGELOG.md +20 -2
  77. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/conversation-directive-configuration.d.ts +48 -0
  78. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/conversation-directive-configuration.d.ts.map +1 -0
  79. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/conversation-directive-configuration.js +3 -0
  80. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/conversation-directive-configuration.js.map +1 -0
  81. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/graphql-types/conversation-model.d.ts +10 -0
  82. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/graphql-types/conversation-model.d.ts.map +1 -0
  83. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/graphql-types/{session-model.js → conversation-model.js} +18 -24
  84. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/graphql-types/conversation-model.js.map +1 -0
  85. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/graphql-types/message-model.d.ts +14 -10
  86. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/graphql-types/message-model.d.ts.map +1 -1
  87. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/graphql-types/message-model.js +99 -46
  88. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/graphql-types/message-model.js.map +1 -1
  89. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/graphql-types/name-values.d.ts +15 -0
  90. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/graphql-types/name-values.d.ts.map +1 -0
  91. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/graphql-types/name-values.js +32 -0
  92. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/graphql-types/name-values.js.map +1 -0
  93. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/grapqhl-conversation-transformer.d.ts +1 -24
  94. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/grapqhl-conversation-transformer.d.ts.map +1 -1
  95. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/grapqhl-conversation-transformer.js +1 -7
  96. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/grapqhl-conversation-transformer.js.map +1 -1
  97. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-response-pipeline-definition.d.ts +3 -0
  98. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-response-pipeline-definition.d.ts.map +1 -0
  99. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-response-pipeline-definition.js +53 -0
  100. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-response-pipeline-definition.js.map +1 -0
  101. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-response-stream-pipeline-definition.d.ts +3 -0
  102. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-response-stream-pipeline-definition.d.ts.map +1 -0
  103. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-response-stream-pipeline-definition.js +58 -0
  104. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-response-stream-pipeline-definition.js.map +1 -0
  105. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-response-subscription-pipeline-definition.d.ts +3 -0
  106. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-response-subscription-pipeline-definition.d.ts.map +1 -0
  107. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-response-subscription-pipeline-definition.js +21 -0
  108. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-response-subscription-pipeline-definition.js.map +1 -0
  109. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/generate-resolver.d.ts +7 -0
  110. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/generate-resolver.d.ts.map +1 -0
  111. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/generate-resolver.js +41 -0
  112. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/generate-resolver.js.map +1 -0
  113. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/index.d.ts +8 -0
  114. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/index.d.ts.map +1 -0
  115. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/index.js +17 -0
  116. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/index.js.map +1 -0
  117. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/list-messages-init-resolver.d.ts +2 -3
  118. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/list-messages-init-resolver.d.ts.map +1 -1
  119. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/list-messages-init-resolver.js +11 -13
  120. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/list-messages-init-resolver.js.map +1 -1
  121. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/resolver-function-definition.d.ts +23 -0
  122. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/resolver-function-definition.d.ts.map +1 -0
  123. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/resolver-function-definition.js +18 -0
  124. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/resolver-function-definition.js.map +1 -0
  125. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/send-message-pipeline-definition.d.ts +3 -0
  126. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/send-message-pipeline-definition.d.ts.map +1 -0
  127. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/send-message-pipeline-definition.js +88 -0
  128. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/send-message-pipeline-definition.js.map +1 -0
  129. 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
  130. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/templates/assistant-streaming-mutation-resolver-fn.template.js +96 -0
  131. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/{invoke-lambda-resolver-fn.template.js → templates/invoke-lambda-resolver-fn.template.js} +14 -7
  132. 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
  133. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/{utils → tools}/graphql-json-schema-type.d.ts +1 -1
  134. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/tools/graphql-json-schema-type.d.ts.map +1 -0
  135. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/{utils → tools}/graphql-json-schema-type.js +1 -1
  136. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/{utils → tools}/graphql-json-schema-type.js.map +1 -1
  137. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/{utils/tools.d.ts → tools/process-tools.d.ts} +8 -14
  138. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/tools/process-tools.d.ts.map +1 -0
  139. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/{utils/tools.js → tools/process-tools.js} +21 -21
  140. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/tools/process-tools.js.map +1 -0
  141. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/transformer-steps/conversation-field-handler.d.ts +3 -1
  142. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/transformer-steps/conversation-field-handler.d.ts.map +1 -1
  143. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/transformer-steps/conversation-field-handler.js +72 -16
  144. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/transformer-steps/conversation-field-handler.js.map +1 -1
  145. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/transformer-steps/conversation-prepare-handler.d.ts +2 -3
  146. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/transformer-steps/conversation-prepare-handler.d.ts.map +1 -1
  147. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/transformer-steps/conversation-prepare-handler.js +22 -19
  148. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/transformer-steps/conversation-prepare-handler.js.map +1 -1
  149. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/transformer-steps/conversation-resolver-generator.d.ts +2 -7
  150. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/transformer-steps/conversation-resolver-generator.d.ts.map +1 -1
  151. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/transformer-steps/conversation-resolver-generator.js +50 -98
  152. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/transformer-steps/conversation-resolver-generator.js.map +1 -1
  153. package/node_modules/@aws-amplify/graphql-conversation-transformer/package.json +15 -14
  154. package/node_modules/@aws-amplify/graphql-default-value-transformer/CHANGELOG.md +9 -1
  155. package/node_modules/@aws-amplify/graphql-default-value-transformer/package.json +9 -9
  156. package/node_modules/@aws-amplify/graphql-directives/CHANGELOG.md +2 -2
  157. package/node_modules/@aws-amplify/graphql-directives/lib/directives/belongs-to.d.ts.map +1 -1
  158. package/node_modules/@aws-amplify/graphql-directives/lib/directives/belongs-to.js +1 -1
  159. package/node_modules/@aws-amplify/graphql-directives/lib/directives/belongs-to.js.map +1 -1
  160. package/node_modules/@aws-amplify/graphql-directives/lib/directives/conversation.d.ts.map +1 -1
  161. package/node_modules/@aws-amplify/graphql-directives/lib/directives/conversation.js +6 -0
  162. package/node_modules/@aws-amplify/graphql-directives/lib/directives/conversation.js.map +1 -1
  163. package/node_modules/@aws-amplify/graphql-directives/package.json +2 -3
  164. package/node_modules/@aws-amplify/graphql-function-transformer/CHANGELOG.md +9 -1
  165. package/node_modules/@aws-amplify/graphql-function-transformer/package.json +8 -8
  166. package/node_modules/@aws-amplify/graphql-generation-transformer/CHANGELOG.md +9 -1
  167. package/node_modules/@aws-amplify/graphql-generation-transformer/package.json +8 -8
  168. package/node_modules/@aws-amplify/graphql-http-transformer/CHANGELOG.md +9 -1
  169. package/node_modules/@aws-amplify/graphql-http-transformer/package.json +8 -8
  170. package/node_modules/@aws-amplify/graphql-index-transformer/CHANGELOG.md +9 -1
  171. package/node_modules/@aws-amplify/graphql-index-transformer/package.json +9 -9
  172. package/node_modules/@aws-amplify/graphql-maps-to-transformer/CHANGELOG.md +9 -1
  173. package/node_modules/@aws-amplify/graphql-maps-to-transformer/lib/assets/mapping-lambda.zip +0 -0
  174. package/node_modules/@aws-amplify/graphql-maps-to-transformer/package.json +12 -12
  175. package/node_modules/@aws-amplify/graphql-model-transformer/CHANGELOG.md +6 -11
  176. package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-model-transformer.d.ts.map +1 -1
  177. package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-model-transformer.js +2 -7
  178. package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-model-transformer.js.map +1 -1
  179. package/node_modules/@aws-amplify/graphql-model-transformer/lib/rds-lambda.zip +0 -0
  180. package/node_modules/@aws-amplify/graphql-model-transformer/lib/rds-notification-lambda.zip +0 -0
  181. package/node_modules/@aws-amplify/graphql-model-transformer/lib/rds-patching-lambda.zip +0 -0
  182. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-dynamo-model-resource-generator.d.ts.map +1 -1
  183. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-dynamo-model-resource-generator.js +3 -12
  184. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-dynamo-model-resource-generator.js.map +1 -1
  185. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-dynamodb-table-construct/index.d.ts +0 -2
  186. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-dynamodb-table-construct/index.d.ts.map +1 -1
  187. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-dynamodb-table-construct/index.js +2 -4
  188. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-dynamodb-table-construct/index.js.map +1 -1
  189. 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
  190. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-table-manager-lambda/amplify-table-manager-handler.js +1 -6
  191. 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
  192. package/node_modules/@aws-amplify/graphql-model-transformer/package.json +10 -13
  193. package/node_modules/@aws-amplify/graphql-predictions-transformer/CHANGELOG.md +9 -1
  194. package/node_modules/@aws-amplify/graphql-predictions-transformer/lib/predictionsLambdaFunction.zip +0 -0
  195. package/node_modules/@aws-amplify/graphql-predictions-transformer/package.json +8 -8
  196. package/node_modules/@aws-amplify/graphql-relational-transformer/CHANGELOG.md +9 -3
  197. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-belongs-to-transformer.js +0 -3
  198. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-belongs-to-transformer.js.map +1 -1
  199. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-ddb-references-transformer.d.ts.map +1 -1
  200. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-ddb-references-transformer.js +1 -7
  201. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-ddb-references-transformer.js.map +1 -1
  202. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-ddb-references-transformer.d.ts.map +1 -1
  203. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-ddb-references-transformer.js +1 -7
  204. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-ddb-references-transformer.js.map +1 -1
  205. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/types.d.ts +0 -1
  206. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/types.d.ts.map +1 -1
  207. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/utils.d.ts +0 -1
  208. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/utils.d.ts.map +1 -1
  209. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/utils.js +1 -9
  210. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/utils.js.map +1 -1
  211. package/node_modules/@aws-amplify/graphql-relational-transformer/package.json +10 -10
  212. package/node_modules/@aws-amplify/graphql-searchable-transformer/CHANGELOG.md +9 -1
  213. package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/streaming-lambda.zip +0 -0
  214. package/node_modules/@aws-amplify/graphql-searchable-transformer/package.json +9 -9
  215. package/node_modules/@aws-amplify/graphql-sql-transformer/CHANGELOG.md +9 -1
  216. package/node_modules/@aws-amplify/graphql-sql-transformer/package.json +9 -9
  217. package/node_modules/@aws-amplify/graphql-transformer/CHANGELOG.md +9 -1
  218. package/node_modules/@aws-amplify/graphql-transformer/package.json +18 -18
  219. package/node_modules/@aws-amplify/graphql-transformer-core/API.md +0 -4
  220. package/node_modules/@aws-amplify/graphql-transformer-core/CHANGELOG.md +7 -6
  221. package/node_modules/@aws-amplify/graphql-transformer-core/lib/index.d.ts +1 -1
  222. package/node_modules/@aws-amplify/graphql-transformer-core/lib/index.d.ts.map +1 -1
  223. package/node_modules/@aws-amplify/graphql-transformer-core/lib/index.js +2 -3
  224. package/node_modules/@aws-amplify/graphql-transformer-core/lib/index.js.map +1 -1
  225. package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/model-datasource-strategy-utils.d.ts +1 -2
  226. package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/model-datasource-strategy-utils.d.ts.map +1 -1
  227. package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/model-datasource-strategy-utils.js +1 -9
  228. package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/model-datasource-strategy-utils.js.map +1 -1
  229. package/node_modules/@aws-amplify/graphql-transformer-core/package.json +6 -6
  230. package/node_modules/@aws-amplify/graphql-transformer-interfaces/API.md +1 -11
  231. package/node_modules/@aws-amplify/graphql-transformer-interfaces/CHANGELOG.md +0 -11
  232. package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/model-datasource/types.d.ts +1 -6
  233. package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/model-datasource/types.d.ts.map +1 -1
  234. package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/model-datasource/types.js.map +1 -1
  235. package/node_modules/@aws-amplify/graphql-transformer-interfaces/package.json +2 -3
  236. package/node_modules/@aws-amplify/graphql-transformer-interfaces/src/model-datasource/types.ts +0 -10
  237. package/node_modules/@aws-amplify/graphql-transformer-interfaces/tsconfig.tsbuildinfo +1 -1
  238. package/node_modules/graphql-mapping-template/CHANGELOG.md +0 -4
  239. package/node_modules/graphql-mapping-template/package.json +2 -3
  240. package/node_modules/graphql-transformer-common/API.md +1 -0
  241. package/node_modules/graphql-transformer-common/CHANGELOG.md +11 -3
  242. package/node_modules/graphql-transformer-common/lib/TypescriptSchemaConstants.d.ts +1 -0
  243. package/node_modules/graphql-transformer-common/lib/TypescriptSchemaConstants.d.ts.map +1 -1
  244. package/node_modules/graphql-transformer-common/lib/TypescriptSchemaConstants.js +1 -0
  245. package/node_modules/graphql-transformer-common/lib/TypescriptSchemaConstants.js.map +1 -1
  246. package/node_modules/graphql-transformer-common/package.json +3 -3
  247. package/package.json +23 -23
  248. package/src/amplify-graphql-api.ts +12 -12
  249. package/src/internal/metadata.ts +40 -0
  250. package/src/model-datasource-strategy-types.ts +0 -21
  251. package/src/types.ts +1 -1
  252. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/graphql-types/session-model.d.ts +0 -10
  253. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/graphql-types/session-model.d.ts.map +0 -1
  254. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/graphql-types/session-model.js.map +0 -1
  255. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-messages-subscription-resolver.d.ts +0 -4
  256. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-messages-subscription-resolver.d.ts.map +0 -1
  257. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-messages-subscription-resolver.js +0 -16
  258. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-messages-subscription-resolver.js.map +0 -1
  259. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-mutation-resolver.d.ts +0 -4
  260. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-mutation-resolver.d.ts.map +0 -1
  261. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-mutation-resolver.js +0 -25
  262. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/assistant-mutation-resolver.js.map +0 -1
  263. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/auth-resolver.d.ts +0 -4
  264. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/auth-resolver.d.ts.map +0 -1
  265. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/auth-resolver.js +0 -16
  266. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/auth-resolver.js.map +0 -1
  267. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/init-resolver.d.ts +0 -3
  268. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/init-resolver.d.ts.map +0 -1
  269. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/init-resolver.js +0 -22
  270. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/init-resolver.js.map +0 -1
  271. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/invoke-lambda-resolver.d.ts +0 -4
  272. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/invoke-lambda-resolver.d.ts.map +0 -1
  273. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/invoke-lambda-resolver.js +0 -77
  274. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/invoke-lambda-resolver.js.map +0 -1
  275. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/verify-session-owner-resolver.d.ts +0 -5
  276. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/verify-session-owner-resolver.d.ts.map +0 -1
  277. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/verify-session-owner-resolver.js +0 -34
  278. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/verify-session-owner-resolver.js.map +0 -1
  279. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/write-message-to-table-resolver.d.ts +0 -4
  280. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/write-message-to-table-resolver.d.ts.map +0 -1
  281. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/write-message-to-table-resolver.js +0 -25
  282. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/write-message-to-table-resolver.js.map +0 -1
  283. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/utils/graphql-json-schema-type.d.ts.map +0 -1
  284. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/utils/tools.d.ts.map +0 -1
  285. package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/utils/tools.js.map +0 -1
  286. package/node_modules/@aws-amplify/graphql-directives/LICENSE +0 -201
  287. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-table-manager-lambda/import-table.d.ts +0 -7
  288. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-table-manager-lambda/import-table.d.ts.map +0 -1
  289. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-table-manager-lambda/import-table.js +0 -205
  290. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-table-manager-lambda/import-table.js.map +0 -1
  291. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-table-manager-lambda/node_modules/.package-lock.json +0 -13
  292. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-table-manager-lambda/node_modules/lodash.isequal/LICENSE +0 -47
  293. 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
  294. 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
  295. 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
  296. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-table-manager-lambda/package-lock.json +0 -21
  297. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-table-manager-lambda/package.json +0 -11
  298. package/node_modules/@aws-amplify/graphql-transformer-interfaces/LICENSE +0 -201
  299. package/node_modules/graphql-mapping-template/LICENSE +0 -201
  300. /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
  301. /package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/{auth-resolver-fn.template.js → templates/auth-resolver-fn.template.js} +0 -0
  302. /package/node_modules/@aws-amplify/graphql-conversation-transformer/lib/resolvers/{init-resolver-fn.template.js → templates/init-resolver-fn.template.js} +0 -0
  303. /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
  304. /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
@@ -0,0 +1,42 @@
1
+ import { z } from 'zod';
2
+ /**
3
+ * The types here are meant to be used internally when reading / writing backend output to stack metadata.
4
+ *
5
+ * They represent broader metadata types than the category-specific metadata objects that allows the platform to interact with metadata in a category-agnostic way
6
+ * They should not be exposed in public APIs (although they currently are under the "platform" submodule export so they can be consumed by both the backend and client-config packages
7
+ */
8
+ /**
9
+ * Data schema for storing a backend output entry using stack metadata
10
+ */
11
+ export declare const backendOutputEntryStackMetadataSchema: z.ZodObject<{
12
+ version: z.ZodString;
13
+ stackOutputs: z.ZodArray<z.ZodString, "many">;
14
+ }, "strip", z.ZodTypeAny, {
15
+ version: string;
16
+ stackOutputs: string[];
17
+ }, {
18
+ version: string;
19
+ stackOutputs: string[];
20
+ }>;
21
+ /**
22
+ * Inferred type from backendOutputEntryStackMetadataSchema
23
+ */
24
+ export type BackendOutputEntryStackMetadata = z.infer<typeof backendOutputEntryStackMetadataSchema>;
25
+ /**
26
+ * Data schema for storing backend output using stack metadata
27
+ */
28
+ export declare const backendOutputStackMetadataSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
29
+ version: z.ZodString;
30
+ stackOutputs: z.ZodArray<z.ZodString, "many">;
31
+ }, "strip", z.ZodTypeAny, {
32
+ version: string;
33
+ stackOutputs: string[];
34
+ }, {
35
+ version: string;
36
+ stackOutputs: string[];
37
+ }>>;
38
+ /**
39
+ * Inferred type from backendOutputStackMetadataSchema
40
+ */
41
+ export type BackendOutputStackMetadata = z.infer<typeof backendOutputStackMetadataSchema>;
42
+ //# sourceMappingURL=stack_metadata_schemas.d.ts.map
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.backendOutputStackMetadataSchema = exports.backendOutputEntryStackMetadataSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ /**
6
+ * The types here are meant to be used internally when reading / writing backend output to stack metadata.
7
+ *
8
+ * They represent broader metadata types than the category-specific metadata objects that allows the platform to interact with metadata in a category-agnostic way
9
+ * They should not be exposed in public APIs (although they currently are under the "platform" submodule export so they can be consumed by both the backend and client-config packages
10
+ */
11
+ /**
12
+ * Data schema for storing a backend output entry using stack metadata
13
+ */
14
+ exports.backendOutputEntryStackMetadataSchema = zod_1.z.object({
15
+ version: zod_1.z.string(),
16
+ stackOutputs: zod_1.z.array(zod_1.z.string()),
17
+ });
18
+ /**
19
+ * Data schema for storing backend output using stack metadata
20
+ */
21
+ exports.backendOutputStackMetadataSchema = zod_1.z.record(exports.backendOutputEntryStackMetadataSchema);
22
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RhY2tfbWV0YWRhdGFfc2NoZW1hcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9wbGF0Zm9ybS9zdGFja19tZXRhZGF0YV9zY2hlbWFzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLDZCQUF3QjtBQUV4Qjs7Ozs7R0FLRztBQUVIOztHQUVHO0FBQ1UsUUFBQSxxQ0FBcUMsR0FBRyxPQUFDLENBQUMsTUFBTSxDQUFDO0lBQzVELE9BQU8sRUFBRSxPQUFDLENBQUMsTUFBTSxFQUFFO0lBQ25CLFlBQVksRUFBRSxPQUFDLENBQUMsS0FBSyxDQUFDLE9BQUMsQ0FBQyxNQUFNLEVBQUUsQ0FBQztDQUNsQyxDQUFDLENBQUM7QUFTSDs7R0FFRztBQUNVLFFBQUEsZ0NBQWdDLEdBQUcsT0FBQyxDQUFDLE1BQU0sQ0FDdEQsNkNBQXFDLENBQ3RDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyB6IH0gZnJvbSAnem9kJztc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hID0gei5pbmZlcjxcbiAgdHlwZW9mIGJhY2tlbmRPdXRwdXRFbnRyeVN0YWNrTWV0YWRhdGFTY2hlbWFcbj47XG5cbi8qKlxuICogRGF0YSBzY2hlbWEgZm9yIHN0b3JpbmcgYmFja2VuZCBvdXRwdXQgdXNpbmcgc3RhY2sgbWV0YWRhdGFcbiAqL1xuZXhwb3J0IGNvbnN0IGJhY2tlbmRPdXRwdXRTdGFja01ldGFkYXRhU2NoZW1hID0gei5yZWNvcmQoXG4gIGJhY2tlbmRPdXRwdXRFbnRyeVN0YWNrTWV0YWRhdGFTY2hlbWFcbik7XG5cbi8qKlxuICogSW5mZXJyZWQgdHlwZSBmcm9tIGJhY2tlbmRPdXRwdXRTdGFja01ldGFkYXRhU2NoZW1hXG4gKi9cbmV4cG9ydCB0eXBlIEJhY2tlbmRPdXRwdXRTdGFja01ldGFkYXRhID0gei5pbmZlcjxcbiAgdHlwZW9mIGJhY2tlbmRPdXRwdXRTdGFja01ldGFkYXRhU2NoZW1hXG4+O1xuIl19
@@ -0,0 +1,28 @@
1
+ import { z } from 'zod';
2
+ export declare const versionedStackOutputSchema: z.ZodDiscriminatedUnion<"version", [z.ZodObject<{
3
+ version: z.ZodLiteral<"1">;
4
+ payload: z.ZodObject<{
5
+ deploymentType: z.ZodString;
6
+ region: z.ZodString;
7
+ }, "strip", z.ZodTypeAny, {
8
+ deploymentType: string;
9
+ region: string;
10
+ }, {
11
+ deploymentType: string;
12
+ region: string;
13
+ }>;
14
+ }, "strip", z.ZodTypeAny, {
15
+ version: "1";
16
+ payload: {
17
+ deploymentType: string;
18
+ region: string;
19
+ };
20
+ }, {
21
+ version: "1";
22
+ payload: {
23
+ deploymentType: string;
24
+ region: string;
25
+ };
26
+ }>]>;
27
+ export type StackOutput = z.infer<typeof versionedStackOutputSchema>;
28
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.versionedStackOutputSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ const v1_js_1 = require("./v1.js");
6
+ exports.versionedStackOutputSchema = zod_1.z.discriminatedUnion('version', [
7
+ v1_js_1.stackOutputSchema,
8
+ // this is where additional stack major version schemas would go
9
+ ]);
10
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvc3RhY2svaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsNkJBQXdCO0FBQ3hCLG1DQUFtRTtBQUV0RCxRQUFBLDBCQUEwQixHQUFHLE9BQUMsQ0FBQyxrQkFBa0IsQ0FBQyxTQUFTLEVBQUU7SUFDeEUseUJBQW1CO0lBQ25CLGdFQUFnRTtDQUNqRSxDQUFDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyB6IH0gZnJvbSAnem9kJztcbmltcG9ydCB7IHN0YWNrT3V0cHV0U2NoZW1hIGFzIHN0YWNrT3V0cHV0U2NoZW1hVjEgfSBmcm9tICcuL3YxLmpzJztcblxuZXhwb3J0IGNvbnN0IHZlcnNpb25lZFN0YWNrT3V0cHV0U2NoZW1hID0gei5kaXNjcmltaW5hdGVkVW5pb24oJ3ZlcnNpb24nLCBbXG4gIHN0YWNrT3V0cHV0U2NoZW1hVjEsXG4gIC8vIHRoaXMgaXMgd2hlcmUgYWRkaXRpb25hbCBzdGFjayBtYWpvciB2ZXJzaW9uIHNjaGVtYXMgd291bGQgZ29cbl0pO1xuXG5leHBvcnQgdHlwZSBTdGFja091dHB1dCA9IHouaW5mZXI8dHlwZW9mIHZlcnNpb25lZFN0YWNrT3V0cHV0U2NoZW1hPjtcbiJdfQ==
@@ -0,0 +1,27 @@
1
+ import { z } from 'zod';
2
+ export declare const stackOutputSchema: z.ZodObject<{
3
+ version: z.ZodLiteral<"1">;
4
+ payload: z.ZodObject<{
5
+ deploymentType: z.ZodString;
6
+ region: z.ZodString;
7
+ }, "strip", z.ZodTypeAny, {
8
+ deploymentType: string;
9
+ region: string;
10
+ }, {
11
+ deploymentType: string;
12
+ region: string;
13
+ }>;
14
+ }, "strip", z.ZodTypeAny, {
15
+ version: "1";
16
+ payload: {
17
+ deploymentType: string;
18
+ region: string;
19
+ };
20
+ }, {
21
+ version: "1";
22
+ payload: {
23
+ deploymentType: string;
24
+ region: string;
25
+ };
26
+ }>;
27
+ //# sourceMappingURL=v1.d.ts.map
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.stackOutputSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ exports.stackOutputSchema = zod_1.z.object({
6
+ version: zod_1.z.literal('1'),
7
+ payload: zod_1.z.object({
8
+ deploymentType: zod_1.z.string(),
9
+ region: zod_1.z.string(),
10
+ }),
11
+ });
12
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidjEuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvc3RhY2svdjEudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsNkJBQXdCO0FBRVgsUUFBQSxpQkFBaUIsR0FBRyxPQUFDLENBQUMsTUFBTSxDQUFDO0lBQ3hDLE9BQU8sRUFBRSxPQUFDLENBQUMsT0FBTyxDQUFDLEdBQUcsQ0FBQztJQUN2QixPQUFPLEVBQUUsT0FBQyxDQUFDLE1BQU0sQ0FBQztRQUNoQixjQUFjLEVBQUUsT0FBQyxDQUFDLE1BQU0sRUFBRTtRQUMxQixNQUFNLEVBQUUsT0FBQyxDQUFDLE1BQU0sRUFBRTtLQUNuQixDQUFDO0NBQ0gsQ0FBQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgeiB9IGZyb20gJ3pvZCc7XG5cbmV4cG9ydCBjb25zdCBzdGFja091dHB1dFNjaGVtYSA9IHoub2JqZWN0KHtcbiAgdmVyc2lvbjogei5saXRlcmFsKCcxJyksXG4gIHBheWxvYWQ6IHoub2JqZWN0KHtcbiAgICBkZXBsb3ltZW50VHlwZTogei5zdHJpbmcoKSxcbiAgICByZWdpb246IHouc3RyaW5nKCksXG4gIH0pLFxufSk7XG4iXX0=
@@ -0,0 +1,33 @@
1
+ import { z } from 'zod';
2
+ export declare const versionedStorageOutputSchema: z.ZodDiscriminatedUnion<"version", [z.ZodObject<{
3
+ version: z.ZodLiteral<"1">;
4
+ payload: z.ZodObject<{
5
+ bucketName: z.ZodString;
6
+ storageRegion: z.ZodString;
7
+ buckets: z.ZodOptional<z.ZodString>;
8
+ }, "strip", z.ZodTypeAny, {
9
+ bucketName: string;
10
+ storageRegion: string;
11
+ buckets?: string | undefined;
12
+ }, {
13
+ bucketName: string;
14
+ storageRegion: string;
15
+ buckets?: string | undefined;
16
+ }>;
17
+ }, "strip", z.ZodTypeAny, {
18
+ version: "1";
19
+ payload: {
20
+ bucketName: string;
21
+ storageRegion: string;
22
+ buckets?: string | undefined;
23
+ };
24
+ }, {
25
+ version: "1";
26
+ payload: {
27
+ bucketName: string;
28
+ storageRegion: string;
29
+ buckets?: string | undefined;
30
+ };
31
+ }>]>;
32
+ export type StorageOutput = z.infer<typeof versionedStorageOutputSchema>;
33
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.versionedStorageOutputSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ const v1_js_1 = require("./v1.js");
6
+ exports.versionedStorageOutputSchema = zod_1.z.discriminatedUnion('version', [
7
+ v1_js_1.storageOutputSchema,
8
+ // this is where additional storage major version schemas would go
9
+ ]);
10
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvc3RvcmFnZS9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSw2QkFBd0I7QUFDeEIsbUNBQXVFO0FBRTFELFFBQUEsNEJBQTRCLEdBQUcsT0FBQyxDQUFDLGtCQUFrQixDQUFDLFNBQVMsRUFBRTtJQUMxRSwyQkFBcUI7SUFDckIsa0VBQWtFO0NBQ25FLENBQUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IHogfSBmcm9tICd6b2QnO1xuaW1wb3J0IHsgc3RvcmFnZU91dHB1dFNjaGVtYSBhcyBzdG9yYWdlT3V0cHV0U2NoZW1hVjEgfSBmcm9tICcuL3YxLmpzJztcblxuZXhwb3J0IGNvbnN0IHZlcnNpb25lZFN0b3JhZ2VPdXRwdXRTY2hlbWEgPSB6LmRpc2NyaW1pbmF0ZWRVbmlvbigndmVyc2lvbicsIFtcbiAgc3RvcmFnZU91dHB1dFNjaGVtYVYxLFxuICAvLyB0aGlzIGlzIHdoZXJlIGFkZGl0aW9uYWwgc3RvcmFnZSBtYWpvciB2ZXJzaW9uIHNjaGVtYXMgd291bGQgZ29cbl0pO1xuXG5leHBvcnQgdHlwZSBTdG9yYWdlT3V0cHV0ID0gei5pbmZlcjx0eXBlb2YgdmVyc2lvbmVkU3RvcmFnZU91dHB1dFNjaGVtYT47XG4iXX0=
@@ -0,0 +1,32 @@
1
+ import { z } from 'zod';
2
+ export declare const storageOutputSchema: z.ZodObject<{
3
+ version: z.ZodLiteral<"1">;
4
+ payload: z.ZodObject<{
5
+ bucketName: z.ZodString;
6
+ storageRegion: z.ZodString;
7
+ buckets: z.ZodOptional<z.ZodString>;
8
+ }, "strip", z.ZodTypeAny, {
9
+ bucketName: string;
10
+ storageRegion: string;
11
+ buckets?: string | undefined;
12
+ }, {
13
+ bucketName: string;
14
+ storageRegion: string;
15
+ buckets?: string | undefined;
16
+ }>;
17
+ }, "strip", z.ZodTypeAny, {
18
+ version: "1";
19
+ payload: {
20
+ bucketName: string;
21
+ storageRegion: string;
22
+ buckets?: string | undefined;
23
+ };
24
+ }, {
25
+ version: "1";
26
+ payload: {
27
+ bucketName: string;
28
+ storageRegion: string;
29
+ buckets?: string | undefined;
30
+ };
31
+ }>;
32
+ //# sourceMappingURL=v1.d.ts.map
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.storageOutputSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ const storageAccessActionEnum = zod_1.z.enum([
6
+ 'read',
7
+ 'get',
8
+ 'list',
9
+ 'write',
10
+ 'delete',
11
+ ]);
12
+ const pathSchema = zod_1.z.record(zod_1.z.string(), zod_1.z.object({
13
+ guest: zod_1.z.array(storageAccessActionEnum).optional(),
14
+ authenticated: zod_1.z.array(storageAccessActionEnum).optional(),
15
+ groups: zod_1.z.array(storageAccessActionEnum).optional(),
16
+ entity: zod_1.z.array(storageAccessActionEnum).optional(),
17
+ resource: zod_1.z.array(storageAccessActionEnum).optional(),
18
+ }));
19
+ const bucketSchema = zod_1.z.object({
20
+ name: zod_1.z.string(),
21
+ bucketName: zod_1.z.string(),
22
+ storageRegion: zod_1.z.string(),
23
+ paths: pathSchema.optional(),
24
+ });
25
+ exports.storageOutputSchema = zod_1.z.object({
26
+ version: zod_1.z.literal('1'),
27
+ payload: zod_1.z.object({
28
+ bucketName: zod_1.z.string(),
29
+ storageRegion: zod_1.z.string(),
30
+ buckets: zod_1.z.string(zod_1.z.array(bucketSchema)).optional(), // JSON serialized array of bucketSchema
31
+ }),
32
+ });
33
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidjEuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvc3RvcmFnZS92MS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSw2QkFBd0I7QUFFeEIsTU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XG5cbmNvbnN0IGJ1Y2tldFNjaGVtYSA9IHoub2JqZWN0KHtcbiAgbmFtZTogei5zdHJpbmcoKSxcbiAgYnVja2V0TmFtZTogei5zdHJpbmcoKSxcbiAgc3RvcmFnZVJlZ2lvbjogei5zdHJpbmcoKSxcbiAgcGF0aHM6IHBhdGhTY2hlbWEub3B0aW9uYWwoKSxcbn0pO1xuXG5leHBvcnQgY29uc3Qgc3RvcmFnZU91dHB1dFNjaGVtYSA9IHoub2JqZWN0KHtcbiAgdmVyc2lvbjogei5saXRlcmFsKCcxJyksXG4gIHBheWxvYWQ6IHoub2JqZWN0KHtcbiAgICBidWNrZXROYW1lOiB6LnN0cmluZygpLFxuICAgIHN0b3JhZ2VSZWdpb246IHouc3RyaW5nKCksXG4gICAgYnVja2V0czogei5zdHJpbmcoei5hcnJheShidWNrZXRTY2hlbWEpKS5vcHRpb25hbCgpLCAvLyBKU09OIHNlcmlhbGl6ZWQgYXJyYXkgb2YgYnVja2V0U2NoZW1hXG4gIH0pLFxufSk7XG4iXX0=
@@ -0,0 +1,27 @@
1
+ {
2
+ "name": "@aws-amplify/backend-output-schemas",
3
+ "version": "1.4.0",
4
+ "type": "commonjs",
5
+ "publishConfig": {
6
+ "access": "public"
7
+ },
8
+ "exports": {
9
+ ".": {
10
+ "types": "./lib/index.d.ts",
11
+ "import": "./lib/index.js",
12
+ "require": "./lib/index.js"
13
+ }
14
+ },
15
+ "main": "lib/index.js",
16
+ "types": "lib/index.d.ts",
17
+ "scripts": {
18
+ "update:api": "api-extractor run --local"
19
+ },
20
+ "license": "Apache-2.0",
21
+ "devDependencies": {
22
+ "@aws-amplify/plugin-types": "^1.2.0"
23
+ },
24
+ "peerDependencies": {
25
+ "zod": "^3.22.2"
26
+ }
27
+ }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-amplify/ai-constructs",
3
- "version": "0.2.0",
3
+ "version": "0.0.0-test-20241029211113",
4
4
  "type": "commonjs",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -26,9 +26,16 @@
26
26
  },
27
27
  "license": "Apache-2.0",
28
28
  "dependencies": {
29
+ "@aws-amplify/backend-output-schemas": "^1.4.0",
30
+ "@aws-amplify/platform-core": "^1.1.0",
29
31
  "@aws-amplify/plugin-types": "^1.0.1",
30
32
  "@aws-sdk/client-bedrock-runtime": "^3.622.0",
31
- "@smithy/types": "^3.3.0"
33
+ "@smithy/types": "^3.3.0",
34
+ "json-schema-to-ts": "^3.1.1"
35
+ },
36
+ "devDependencies": {
37
+ "@aws-amplify/backend-output-storage": "^1.1.2",
38
+ "typescript": "^5.0.0"
32
39
  },
33
40
  "peerDependencies": {
34
41
  "aws-cdk-lib": "^2.152.0",
@@ -3,7 +3,15 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- ## [4.1.4-gen2-migration-1015.0](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-auth-transformer@4.1.3...@aws-amplify/graphql-auth-transformer@4.1.4-gen2-migration-1015.0) (2024-10-15)
6
+ ## [4.1.6-ai-streaming.0](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-auth-transformer@4.1.5...@aws-amplify/graphql-auth-transformer@4.1.6-ai-streaming.0) (2024-10-30)
7
+
8
+ **Note:** Version bump only for package @aws-amplify/graphql-auth-transformer
9
+
10
+ ## [4.1.5](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-auth-transformer@4.1.4...@aws-amplify/graphql-auth-transformer@4.1.5) (2024-10-28)
11
+
12
+ **Note:** Version bump only for package @aws-amplify/graphql-auth-transformer
13
+
14
+ ## [4.1.4](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-auth-transformer@4.1.3...@aws-amplify/graphql-auth-transformer@4.1.4) (2024-10-17)
7
15
 
8
16
  **Note:** Version bump only for package @aws-amplify/graphql-auth-transformer
9
17
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-amplify/graphql-auth-transformer",
3
- "version": "4.1.4-gen2-migration-1015.0",
3
+ "version": "4.1.6-ai-streaming.0",
4
4
  "description": "Amplify GraphQL @auth transformer",
5
5
  "repository": {
6
6
  "type": "git",
@@ -30,23 +30,23 @@
30
30
  "extract-api": "ts-node ../../scripts/extract-api.ts"
31
31
  },
32
32
  "dependencies": {
33
- "@aws-amplify/graphql-directives": "2.4.0-gen2-migration-1015.0",
34
- "@aws-amplify/graphql-model-transformer": "3.1.0-gen2-migration-1015.0",
35
- "@aws-amplify/graphql-relational-transformer": "3.1.0-gen2-migration-1015.0",
36
- "@aws-amplify/graphql-transformer-core": "3.3.0-gen2-migration-1015.0",
37
- "@aws-amplify/graphql-transformer-interfaces": "4.2.0-gen2-migration-1015.0",
33
+ "@aws-amplify/graphql-directives": "2.4.0",
34
+ "@aws-amplify/graphql-model-transformer": "3.0.8-ai-streaming.0",
35
+ "@aws-amplify/graphql-relational-transformer": "3.0.8-ai-streaming.0",
36
+ "@aws-amplify/graphql-transformer-core": "3.2.3-ai-streaming.0",
37
+ "@aws-amplify/graphql-transformer-interfaces": "4.1.2",
38
38
  "graphql": "^15.5.0",
39
- "graphql-mapping-template": "5.0.2-gen2-migration-1015.0",
40
- "graphql-transformer-common": "5.1.0-gen2-migration-1015.0",
39
+ "graphql-mapping-template": "5.0.1",
40
+ "graphql-transformer-common": "5.1.1-ai-streaming.0",
41
41
  "lodash": "^4.17.21",
42
42
  "md5": "^2.3.0"
43
43
  },
44
44
  "devDependencies": {
45
- "@aws-amplify/graphql-function-transformer": "3.1.3-gen2-migration-1015.0",
46
- "@aws-amplify/graphql-index-transformer": "3.0.6-gen2-migration-1015.0",
47
- "@aws-amplify/graphql-searchable-transformer": "3.0.6-gen2-migration-1015.0",
48
- "@aws-amplify/graphql-sql-transformer": "0.4.6-gen2-migration-1015.0",
49
- "@aws-amplify/graphql-transformer-test-utils": "1.0.5-gen2-migration-1015.0",
45
+ "@aws-amplify/graphql-function-transformer": "3.1.5-ai-streaming.0",
46
+ "@aws-amplify/graphql-index-transformer": "3.0.8-ai-streaming.0",
47
+ "@aws-amplify/graphql-searchable-transformer": "3.0.8-ai-streaming.0",
48
+ "@aws-amplify/graphql-sql-transformer": "0.4.8-ai-streaming.0",
49
+ "@aws-amplify/graphql-transformer-test-utils": "1.0.7-ai-streaming.0",
50
50
  "@types/node": "^18.0.0"
51
51
  },
52
52
  "peerDependencies": {
@@ -93,5 +93,5 @@
93
93
  "printBasicPrototype": true
94
94
  }
95
95
  },
96
- "gitHead": "3be96e2f9b1458117e458514e28a9bb19a21cbe8"
96
+ "gitHead": "5b48b6e74d17216a54794a93273994706fc51b3e"
97
97
  }
@@ -3,9 +3,27 @@
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.3.1-gen2-migration-1015.0](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-conversation-transformer@0.3.0...@aws-amplify/graphql-conversation-transformer@0.3.1-gen2-migration-1015.0) (2024-10-15)
6
+ ## [0.5.1-ai-streaming.0](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-conversation-transformer@0.5.0...@aws-amplify/graphql-conversation-transformer@0.5.1-ai-streaming.0) (2024-10-30)
7
7
 
8
- **Note:** Version bump only for package @aws-amplify/graphql-conversation-transformer
8
+ ### Bug Fixes
9
+
10
+ - resolver logic for determining streaming based on exp env var ([329e4ab](https://github.com/aws-amplify/amplify-category-api/commit/329e4ab4a6981424f273f56a31732f9cfad6b331))
11
+
12
+ # [0.5.0](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-conversation-transformer@0.4.0...@aws-amplify/graphql-conversation-transformer@0.5.0) (2024-10-28)
13
+
14
+ ### Bug Fixes
15
+
16
+ - **conversation:** inline template for init slot and correct datasource in assistant response mutation ([#2980](https://github.com/aws-amplify/amplify-category-api/issues/2980)) ([5136377](https://github.com/aws-amplify/amplify-category-api/commit/513637700ab5f1b42a9e62de1b00e63d0b8f47c3))
17
+
18
+ ### Features
19
+
20
+ - **conversation:** enable update mutations on conversation model ([#2948](https://github.com/aws-amplify/amplify-category-api/issues/2948)) ([c90ac7d](https://github.com/aws-amplify/amplify-category-api/commit/c90ac7d9aad6ac2a9b30d44e65211b689d2c7109))
21
+
22
+ # [0.4.0](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-conversation-transformer@0.3.0...@aws-amplify/graphql-conversation-transformer@0.4.0) (2024-10-17)
23
+
24
+ ### Features
25
+
26
+ - 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))
9
27
 
10
28
  # [0.3.0](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-conversation-transformer@0.2.2...@aws-amplify/graphql-conversation-transformer@0.3.0) (2024-10-10)
11
29
 
@@ -0,0 +1,48 @@
1
+ import { DataSourceProvider } from '@aws-amplify/graphql-transformer-interfaces';
2
+ import { DirectiveNode, FieldDefinitionNode, InputObjectTypeDefinitionNode, ObjectTypeDefinitionNode } from 'graphql';
3
+ import { ConversationModel } from './graphql-types/conversation-model';
4
+ import { MessageModel } from './graphql-types/message-model';
5
+ import { Tool } from './tools/process-tools';
6
+ export type ConversationDirectiveConfiguration = {
7
+ parent: ObjectTypeDefinitionNode;
8
+ field: FieldDefinitionNode;
9
+ directive: DirectiveNode;
10
+ aiModel: string;
11
+ systemPrompt: string;
12
+ inferenceConfiguration: ConversationInferenceConfiguration | undefined;
13
+ tools: ToolDefinition[];
14
+ functionName: string | undefined;
15
+ handler: ConversationHandlerFunctionConfiguration | undefined;
16
+ toolSpec: Tool[] | undefined;
17
+ conversation: ConversationModel;
18
+ message: MessageModel;
19
+ assistantResponseMutation: {
20
+ field: FieldDefinitionNode;
21
+ input: InputObjectTypeDefinitionNode;
22
+ };
23
+ assistantResponseStreamingMutation: {
24
+ field: FieldDefinitionNode;
25
+ input: InputObjectTypeDefinitionNode;
26
+ };
27
+ assistantResponseSubscriptionField: FieldDefinitionNode;
28
+ dataSources: ConversationDirectiveDataSources;
29
+ };
30
+ export type ConversationHandlerFunctionConfiguration = {
31
+ functionName: string;
32
+ eventVersion: string;
33
+ };
34
+ export type ConversationInferenceConfiguration = {
35
+ maxTokens?: number;
36
+ temperature?: number;
37
+ topP?: number;
38
+ };
39
+ export type ToolDefinition = {
40
+ name: string;
41
+ description: string;
42
+ };
43
+ export type ConversationDirectiveDataSources = {
44
+ lambdaFunctionDataSource: DataSourceProvider;
45
+ messageTableDataSource: DataSourceProvider;
46
+ conversationTableDataSource: DataSourceProvider;
47
+ };
48
+ //# sourceMappingURL=conversation-directive-configuration.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"conversation-directive-configuration.d.ts","sourceRoot":"","sources":["../src/conversation-directive-configuration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,6CAA6C,CAAC;AACjF,OAAO,EAAE,aAAa,EAAE,mBAAmB,EAAE,6BAA6B,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC;AACtH,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AACvE,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAC7D,OAAO,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAK7C,MAAM,MAAM,kCAAkC,GAAG;IAE/C,MAAM,EAAE,wBAAwB,CAAC;IACjC,KAAK,EAAE,mBAAmB,CAAC;IAC3B,SAAS,EAAE,aAAa,CAAC;IAGzB,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,MAAM,CAAC;IACrB,sBAAsB,EAAE,kCAAkC,GAAG,SAAS,CAAC;IACvE,KAAK,EAAE,cAAc,EAAE,CAAC;IAMxB,YAAY,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,OAAO,EAAE,wCAAwC,GAAG,SAAS,CAAC;IAG9D,QAAQ,EAAE,IAAI,EAAE,GAAG,SAAS,CAAC;IAC7B,YAAY,EAAE,iBAAiB,CAAC;IAChC,OAAO,EAAE,YAAY,CAAC;IACtB,yBAAyB,EAAE;QAAE,KAAK,EAAE,mBAAmB,CAAC;QAAC,KAAK,EAAE,6BAA6B,CAAA;KAAE,CAAC;IAChG,kCAAkC,EAAE;QAAE,KAAK,EAAE,mBAAmB,CAAC;QAAC,KAAK,EAAE,6BAA6B,CAAA;KAAE,CAAC;IACzG,kCAAkC,EAAE,mBAAmB,CAAC;IACxD,WAAW,EAAE,gCAAgC,CAAC;CAC/C,CAAC;AAKF,MAAM,MAAM,wCAAwC,GAAG;IACrD,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAKF,MAAM,MAAM,kCAAkC,GAAG;IAC/C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAKF,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAKF,MAAM,MAAM,gCAAgC,GAAG;IAC7C,wBAAwB,EAAE,kBAAkB,CAAC;IAC7C,sBAAsB,EAAE,kBAAkB,CAAC;IAC3C,2BAA2B,EAAE,kBAAkB,CAAC;CACjD,CAAC"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=conversation-directive-configuration.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"conversation-directive-configuration.js","sourceRoot":"","sources":["../src/conversation-directive-configuration.ts"],"names":[],"mappings":""}
@@ -0,0 +1,10 @@
1
+ import { DirectiveNode, FieldDefinitionNode, ObjectTypeDefinitionNode } from 'graphql';
2
+ export type ConversationModel = {
3
+ authDirective: DirectiveNode;
4
+ modelDirective: DirectiveNode;
5
+ hasManyMessagesDirective: DirectiveNode;
6
+ messagesField: FieldDefinitionNode;
7
+ model: ObjectTypeDefinitionNode;
8
+ };
9
+ export declare const createConversationModel: (conversationName: string, messageName: string, referenceFieldName: string) => ConversationModel;
10
+ //# sourceMappingURL=conversation-model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"conversation-model.d.ts","sourceRoot":"","sources":["../../src/graphql-types/conversation-model.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,mBAAmB,EAAQ,wBAAwB,EAAmB,MAAM,SAAS,CAAC;AAoB9G,MAAM,MAAM,iBAAiB,GAAG;IAC9B,aAAa,EAAE,aAAa,CAAC;IAC7B,cAAc,EAAE,aAAa,CAAC;IAC9B,wBAAwB,EAAE,aAAa,CAAC;IACxC,aAAa,EAAE,mBAAmB,CAAC;IACnC,KAAK,EAAE,wBAAwB,CAAC;CACjC,CAAC;AAsBF,eAAO,MAAM,uBAAuB,qBAAsB,MAAM,eAAe,MAAM,sBAAsB,MAAM,KAAG,iBAcnH,CAAC"}
@@ -4,25 +4,22 @@ exports.createConversationModel = void 0;
4
4
  const graphql_directives_1 = require("@aws-amplify/graphql-directives");
5
5
  const graphql_1 = require("graphql");
6
6
  const graphql_transformer_common_1 = require("graphql-transformer-common");
7
- const createConversationModel = (conversationModelName, messageModelName, referenceFieldName) => {
8
- const conversationAuthDirective = createSessionAuthDirective();
9
- const conversationModelDirective = createSessionModelDirective();
10
- const conversationHasManyMessagesDirective = createSessionModelMessagesFieldHasManyDirective(referenceFieldName);
11
- const conversationMessagesField = createSessionModelMessagesField(conversationHasManyMessagesDirective, messageModelName);
12
- const conversationModel = makeConversationSessionModel(conversationModelName, conversationMessagesField, [
13
- conversationAuthDirective,
14
- conversationModelDirective,
15
- ]);
7
+ const createConversationModel = (conversationName, messageName, referenceFieldName) => {
8
+ const authDirective = createConversationAuthDirective();
9
+ const modelDirective = createConversationModelDirective();
10
+ const hasManyMessagesDirective = createConversationModelMessagesFieldHasManyDirective(referenceFieldName);
11
+ const messagesField = createConversationModelMessagesField(hasManyMessagesDirective, messageName);
12
+ const model = makeConversationModel(conversationName, messagesField, [authDirective, modelDirective]);
16
13
  return {
17
- conversationAuthDirective,
18
- conversationModelDirective,
19
- conversationHasManyMessagesDirective,
20
- conversationMessagesField,
21
- conversationModel,
14
+ authDirective,
15
+ modelDirective,
16
+ hasManyMessagesDirective,
17
+ messagesField,
18
+ model,
22
19
  };
23
20
  };
24
21
  exports.createConversationModel = createConversationModel;
25
- const createSessionAuthDirective = () => {
22
+ const createConversationAuthDirective = () => {
26
23
  const rules = (0, graphql_transformer_common_1.makeArgument)('rules', {
27
24
  kind: graphql_1.Kind.LIST,
28
25
  values: [
@@ -45,7 +42,7 @@ const createSessionAuthDirective = () => {
45
42
  });
46
43
  return (0, graphql_transformer_common_1.makeDirective)('auth', [rules]);
47
44
  };
48
- const createSessionModelDirective = () => {
45
+ const createConversationModelDirective = () => {
49
46
  const subscriptionsOffValue = {
50
47
  kind: graphql_1.Kind.OBJECT,
51
48
  fields: [
@@ -56,19 +53,16 @@ const createSessionModelDirective = () => {
56
53
  },
57
54
  ],
58
55
  };
59
- return (0, graphql_transformer_common_1.makeDirective)('model', [
60
- (0, graphql_transformer_common_1.makeArgument)('subscriptions', subscriptionsOffValue),
61
- (0, graphql_transformer_common_1.makeArgument)('mutations', (0, graphql_transformer_common_1.makeValueNode)({ update: null })),
62
- ]);
56
+ return (0, graphql_transformer_common_1.makeDirective)('model', [(0, graphql_transformer_common_1.makeArgument)('subscriptions', subscriptionsOffValue)]);
63
57
  };
64
- const createSessionModelMessagesFieldHasManyDirective = (fieldName) => {
58
+ const createConversationModelMessagesFieldHasManyDirective = (fieldName) => {
65
59
  const referencesArg = (0, graphql_transformer_common_1.makeArgument)('references', (0, graphql_transformer_common_1.makeValueNode)(fieldName));
66
60
  return (0, graphql_transformer_common_1.makeDirective)(graphql_directives_1.HasManyDirective.name, [referencesArg]);
67
61
  };
68
- const createSessionModelMessagesField = (hasManyDirective, typeName) => {
62
+ const createConversationModelMessagesField = (hasManyDirective, typeName) => {
69
63
  return (0, graphql_transformer_common_1.makeField)('messages', [], (0, graphql_transformer_common_1.makeListType)((0, graphql_transformer_common_1.makeNamedType)(typeName)), [hasManyDirective]);
70
64
  };
71
- const makeConversationSessionModel = (modelName, messagesField, typeLevelDirectives) => {
65
+ const makeConversationModel = (modelName, messagesField, typeLevelDirectives) => {
72
66
  const id = (0, graphql_transformer_common_1.makeField)('id', [], (0, graphql_transformer_common_1.wrapNonNull)((0, graphql_transformer_common_1.makeNamedType)('ID')));
73
67
  const name = (0, graphql_transformer_common_1.makeField)('name', [], (0, graphql_transformer_common_1.makeNamedType)('String'));
74
68
  const metadata = (0, graphql_transformer_common_1.makeField)('metadata', [], (0, graphql_transformer_common_1.makeNamedType)('AWSJSON'));
@@ -78,4 +72,4 @@ const makeConversationSessionModel = (modelName, messagesField, typeLevelDirecti
78
72
  directives: typeLevelDirectives,
79
73
  };
80
74
  };
81
- //# sourceMappingURL=session-model.js.map
75
+ //# sourceMappingURL=conversation-model.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"conversation-model.js","sourceRoot":"","sources":["../../src/graphql-types/conversation-model.ts"],"names":[],"mappings":";;;AAAA,wEAAmE;AACnE,qCAA8G;AAC9G,2EASoC;AAsC7B,MAAM,uBAAuB,GAAG,CAAC,gBAAwB,EAAE,WAAmB,EAAE,kBAA0B,EAAqB,EAAE;IACtI,MAAM,aAAa,GAAG,+BAA+B,EAAE,CAAC;IACxD,MAAM,cAAc,GAAG,gCAAgC,EAAE,CAAC;IAC1D,MAAM,wBAAwB,GAAG,oDAAoD,CAAC,kBAAkB,CAAC,CAAC;IAC1G,MAAM,aAAa,GAAG,oCAAoC,CAAC,wBAAwB,EAAE,WAAW,CAAC,CAAC;IAClG,MAAM,KAAK,GAAG,qBAAqB,CAAC,gBA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EAAE,CAAC,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,aAAa,CAAC;QAC3C,UAAU,EAAE,mBAAmB;KAChC,CAAC;AACJ,CAAC,CAAC"}
@@ -1,13 +1,17 @@
1
- import { DirectiveNode, FieldDefinitionNode, ObjectTypeDefinitionNode, NamedTypeNode, InputObjectTypeDefinitionNode } from 'graphql';
1
+ import { DirectiveNode, FieldDefinitionNode, InputObjectTypeDefinitionNode, NamedTypeNode, ObjectTypeDefinitionNode } from 'graphql';
2
2
  export type MessageModel = {
3
- messageAuthDirective: DirectiveNode;
4
- messageModelDirective: DirectiveNode;
5
- messageBelongsToConversationDirective: DirectiveNode;
6
- messageConversationField: FieldDefinitionNode;
7
- messageModel: ObjectTypeDefinitionNode;
8
- messageSubscription: FieldDefinitionNode;
9
- assistantMutationInput: InputObjectTypeDefinitionNode;
10
- assistantMutationField: FieldDefinitionNode;
3
+ authDirective: DirectiveNode;
4
+ modelDirective: DirectiveNode;
5
+ belongsToConversationDirective: DirectiveNode;
6
+ conversationField: FieldDefinitionNode;
7
+ model: ObjectTypeDefinitionNode;
11
8
  };
12
- export declare const createMessageModel: (conversationModelName: string, messageModelName: string, referenceFieldName: string, capitalizedFieldName: string, conversationMessageInterface: NamedTypeNode) => MessageModel;
9
+ export declare const createMessageModel: (conversationName: string, messageName: string, referenceFieldName: string, conversationMessageInterface: NamedTypeNode) => MessageModel;
10
+ export declare const createMessageSubscription: (subscriptionName: string, onMutationName: string) => FieldDefinitionNode;
11
+ export declare const createAssistantMutationField: (fieldName: string, messageName: string, inputTypeName: string) => FieldDefinitionNode;
12
+ export declare const createAssistantResponseMutationInput: (messageName: string) => InputObjectTypeDefinitionNode;
13
+ export declare const createAssistantResponseStreamingMutationInput: (messageModelName: string) => InputObjectTypeDefinitionNode;
14
+ export declare const createConversationTurnErrorInput: () => InputObjectTypeDefinitionNode;
15
+ export declare const createAssistantStreamingMutationField: (fieldName: string, inputTypeName: string) => FieldDefinitionNode;
16
+ export declare const constructStreamResponseType: () => ObjectTypeDefinitionNode;
13
17
  //# sourceMappingURL=message-model.d.ts.map