@aws-amplify/graphql-api-construct 1.7.1-gen2-release.1 → 1.8.0-data-schema-generator.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (323) hide show
  1. package/.jsii +256 -331
  2. package/API.md +9 -17
  3. package/CHANGELOG.md +6 -5
  4. package/lib/amplify-dynamodb-table-wrapper.js +1 -1
  5. package/lib/amplify-graphql-api.js +3 -3
  6. package/lib/amplify-graphql-definition.js +1 -1
  7. package/lib/index.d.ts +1 -1
  8. package/lib/index.js +1 -1
  9. package/lib/internal/authorization-modes.d.ts +1 -12
  10. package/lib/internal/authorization-modes.js +7 -47
  11. package/lib/internal/codegen-assets.js +1 -10
  12. package/lib/internal/data-source-config.js +3 -2
  13. package/lib/model-datasource-strategy-types.d.ts +9 -1
  14. package/lib/model-datasource-strategy-types.js +1 -1
  15. package/lib/sql-model-datasource-strategy.d.ts +7 -1
  16. package/lib/sql-model-datasource-strategy.js +15 -4
  17. package/lib/types.d.ts +5 -51
  18. package/lib/types.js +1 -1
  19. package/node_modules/@aws-amplify/graphql-auth-transformer/API.md +1 -3
  20. package/node_modules/@aws-amplify/graphql-auth-transformer/CHANGELOG.md +4 -2
  21. package/node_modules/@aws-amplify/graphql-auth-transformer/LICENSE +201 -0
  22. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/graphql-auth-transformer.d.ts.map +1 -1
  23. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/graphql-auth-transformer.js +43 -52
  24. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/graphql-auth-transformer.js.map +1 -1
  25. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/constants.d.ts.map +1 -1
  26. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/constants.js +0 -1
  27. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/constants.js.map +1 -1
  28. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/definitions.d.ts +1 -2
  29. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/definitions.d.ts.map +1 -1
  30. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/definitions.js.map +1 -1
  31. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/index.d.ts +1 -2
  32. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/index.d.ts.map +1 -1
  33. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/index.js +11 -22
  34. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/index.js.map +1 -1
  35. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/validations.d.ts.map +1 -1
  36. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/validations.js +4 -11
  37. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/validations.js.map +1 -1
  38. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/warnings.d.ts +0 -1
  39. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/warnings.d.ts.map +1 -1
  40. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/warnings.js +1 -10
  41. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/warnings.js.map +1 -1
  42. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/ddb-vtl-generator.d.ts +1 -1
  43. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/ddb-vtl-generator.d.ts.map +1 -1
  44. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/ddb-vtl-generator.js +1 -1
  45. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/ddb-vtl-generator.js.map +1 -1
  46. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/field.d.ts +1 -1
  47. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/field.d.ts.map +1 -1
  48. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/field.js +10 -20
  49. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/field.js.map +1 -1
  50. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/helpers.d.ts +2 -9
  51. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/helpers.d.ts.map +1 -1
  52. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/helpers.js +9 -16
  53. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/helpers.js.map +1 -1
  54. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/index.d.ts +1 -1
  55. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/index.d.ts.map +1 -1
  56. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/index.js +2 -2
  57. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/index.js.map +1 -1
  58. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/mutation.create.d.ts.map +1 -1
  59. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/mutation.create.js +4 -5
  60. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/mutation.create.js.map +1 -1
  61. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/mutation.delete.d.ts.map +1 -1
  62. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/mutation.delete.js +4 -5
  63. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/mutation.delete.js.map +1 -1
  64. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/mutation.update.d.ts.map +1 -1
  65. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/mutation.update.js +4 -5
  66. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/mutation.update.js.map +1 -1
  67. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/query.d.ts.map +1 -1
  68. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/query.js +4 -15
  69. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/query.js.map +1 -1
  70. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/search.d.ts.map +1 -1
  71. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/search.js +4 -5
  72. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/search.js.map +1 -1
  73. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/subscriptions.d.ts.map +1 -1
  74. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/subscriptions.js +2 -8
  75. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/subscriptions.js.map +1 -1
  76. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/rds/rds-vtl-generator.d.ts +1 -1
  77. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/rds/rds-vtl-generator.d.ts.map +1 -1
  78. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/rds/rds-vtl-generator.js +2 -2
  79. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/rds/rds-vtl-generator.js.map +1 -1
  80. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/rds/resolvers/common.d.ts +2 -3
  81. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/rds/resolvers/common.d.ts.map +1 -1
  82. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/rds/resolvers/common.js +16 -27
  83. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/rds/resolvers/common.js.map +1 -1
  84. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/rds/resolvers/mutation.d.ts.map +1 -1
  85. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/rds/resolvers/mutation.js +5 -5
  86. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/rds/resolvers/mutation.js.map +1 -1
  87. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/rds/resolvers/query.js +3 -3
  88. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/rds/resolvers/query.js.map +1 -1
  89. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/rds/resolvers/subscription.js +1 -1
  90. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/rds/resolvers/subscription.js.map +1 -1
  91. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/vtl-generator.d.ts +1 -1
  92. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/vtl-generator.d.ts.map +1 -1
  93. package/node_modules/@aws-amplify/graphql-auth-transformer/package.json +14 -13
  94. package/node_modules/@aws-amplify/graphql-default-value-transformer/CHANGELOG.md +1 -1
  95. package/node_modules/@aws-amplify/graphql-default-value-transformer/LICENSE +201 -0
  96. package/node_modules/@aws-amplify/graphql-default-value-transformer/package.json +9 -8
  97. package/node_modules/@aws-amplify/graphql-directives/CHANGELOG.md +0 -6
  98. package/node_modules/@aws-amplify/graphql-directives/lib/directives/auth.d.ts.map +1 -1
  99. package/node_modules/@aws-amplify/graphql-directives/lib/directives/auth.js +0 -1
  100. package/node_modules/@aws-amplify/graphql-directives/lib/directives/auth.js.map +1 -1
  101. package/node_modules/@aws-amplify/graphql-directives/package.json +1 -1
  102. package/node_modules/@aws-amplify/graphql-function-transformer/CHANGELOG.md +1 -1
  103. package/node_modules/@aws-amplify/graphql-function-transformer/LICENSE +201 -0
  104. package/node_modules/@aws-amplify/graphql-function-transformer/package.json +8 -7
  105. package/node_modules/@aws-amplify/graphql-http-transformer/CHANGELOG.md +1 -1
  106. package/node_modules/@aws-amplify/graphql-http-transformer/LICENSE +201 -0
  107. package/node_modules/@aws-amplify/graphql-http-transformer/package.json +8 -7
  108. package/node_modules/@aws-amplify/graphql-index-transformer/CHANGELOG.md +1 -1
  109. package/node_modules/@aws-amplify/graphql-index-transformer/LICENSE +201 -0
  110. package/node_modules/@aws-amplify/graphql-index-transformer/lib/resolvers/resolvers.d.ts +1 -1
  111. package/node_modules/@aws-amplify/graphql-index-transformer/lib/resolvers/resolvers.d.ts.map +1 -1
  112. package/node_modules/@aws-amplify/graphql-index-transformer/lib/resolvers/resolvers.js +10 -19
  113. package/node_modules/@aws-amplify/graphql-index-transformer/lib/resolvers/resolvers.js.map +1 -1
  114. package/node_modules/@aws-amplify/graphql-index-transformer/lib/schema.d.ts.map +1 -1
  115. package/node_modules/@aws-amplify/graphql-index-transformer/lib/schema.js +2 -13
  116. package/node_modules/@aws-amplify/graphql-index-transformer/lib/schema.js.map +1 -1
  117. package/node_modules/@aws-amplify/graphql-index-transformer/package.json +9 -8
  118. package/node_modules/@aws-amplify/graphql-maps-to-transformer/CHANGELOG.md +1 -1
  119. package/node_modules/@aws-amplify/graphql-maps-to-transformer/LICENSE +201 -0
  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 +12 -11
  122. package/node_modules/@aws-amplify/graphql-model-transformer/API.md +3 -3
  123. package/node_modules/@aws-amplify/graphql-model-transformer/CHANGELOG.md +5 -2
  124. package/node_modules/@aws-amplify/graphql-model-transformer/LICENSE +201 -0
  125. package/node_modules/@aws-amplify/graphql-model-transformer/lib/definitions.d.ts +0 -1
  126. package/node_modules/@aws-amplify/graphql-model-transformer/lib/definitions.d.ts.map +1 -1
  127. package/node_modules/@aws-amplify/graphql-model-transformer/lib/definitions.js +1 -2
  128. package/node_modules/@aws-amplify/graphql-model-transformer/lib/definitions.js.map +1 -1
  129. package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-model-transformer.d.ts.map +1 -1
  130. package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-model-transformer.js +16 -29
  131. package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-model-transformer.js.map +1 -1
  132. package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-types/common.d.ts +1 -1
  133. package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-types/common.d.ts.map +1 -1
  134. package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-types/common.js +7 -11
  135. package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-types/common.js.map +1 -1
  136. package/node_modules/@aws-amplify/graphql-model-transformer/lib/rds-lambda.zip +0 -0
  137. package/node_modules/@aws-amplify/graphql-model-transformer/lib/rds-notification-lambda.zip +0 -0
  138. package/node_modules/@aws-amplify/graphql-model-transformer/lib/rds-patching-lambda.zip +0 -0
  139. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/common.d.ts +1 -1
  140. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/common.d.ts.map +1 -1
  141. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/common.js +9 -18
  142. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/common.js.map +1 -1
  143. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/rds/resolver.d.ts +3 -1
  144. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/rds/resolver.d.ts.map +1 -1
  145. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/rds/resolver.js +40 -5
  146. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/rds/resolver.js.map +1 -1
  147. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/model-resource-generator.d.ts.map +1 -1
  148. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/model-resource-generator.js +3 -3
  149. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/model-resource-generator.js.map +1 -1
  150. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/rds-model-resource-generator.d.ts.map +1 -1
  151. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/rds-model-resource-generator.js +14 -10
  152. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/rds-model-resource-generator.js.map +1 -1
  153. package/node_modules/@aws-amplify/graphql-model-transformer/package.json +8 -7
  154. package/node_modules/@aws-amplify/graphql-predictions-transformer/CHANGELOG.md +1 -1
  155. package/node_modules/@aws-amplify/graphql-predictions-transformer/LICENSE +201 -0
  156. package/node_modules/@aws-amplify/graphql-predictions-transformer/lib/predictionsLambdaFunction.zip +0 -0
  157. package/node_modules/@aws-amplify/graphql-predictions-transformer/package.json +8 -7
  158. package/node_modules/@aws-amplify/graphql-relational-transformer/CHANGELOG.md +2 -4
  159. package/node_modules/@aws-amplify/graphql-relational-transformer/LICENSE +201 -0
  160. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/belongs-to/belongs-to-directive-ddb-fields-transformer.d.ts +4 -3
  161. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/belongs-to/belongs-to-directive-ddb-fields-transformer.d.ts.map +1 -1
  162. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/belongs-to/belongs-to-directive-ddb-fields-transformer.js +4 -7
  163. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/belongs-to/belongs-to-directive-ddb-fields-transformer.js.map +1 -1
  164. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/belongs-to/belongs-to-directive-sql-transformer.d.ts +5 -4
  165. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/belongs-to/belongs-to-directive-sql-transformer.d.ts.map +1 -1
  166. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/belongs-to/belongs-to-directive-sql-transformer.js +5 -8
  167. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/belongs-to/belongs-to-directive-sql-transformer.js.map +1 -1
  168. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/belongs-to/belongs-to-directive-transformer-factory.d.ts +1 -1
  169. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/belongs-to/belongs-to-directive-transformer-factory.d.ts.map +1 -1
  170. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/belongs-to/belongs-to-directive-transformer-factory.js +3 -18
  171. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/belongs-to/belongs-to-directive-transformer-factory.js.map +1 -1
  172. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-belongs-to-transformer.js +6 -5
  173. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-belongs-to-transformer.js.map +1 -1
  174. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-has-many-transformer.d.ts.map +1 -1
  175. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-has-many-transformer.js +7 -4
  176. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-has-many-transformer.js.map +1 -1
  177. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-has-one-transformer.js +6 -5
  178. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-has-one-transformer.js.map +1 -1
  179. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-many-to-many-transformer.js.map +1 -1
  180. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-ddb-fields-transformer.d.ts +3 -2
  181. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-ddb-fields-transformer.d.ts.map +1 -1
  182. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-ddb-fields-transformer.js +2 -6
  183. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-ddb-fields-transformer.js.map +1 -1
  184. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-sql-transformer.d.ts +5 -4
  185. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-sql-transformer.d.ts.map +1 -1
  186. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-sql-transformer.js +4 -7
  187. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-sql-transformer.js.map +1 -1
  188. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-transformer-factory.d.ts +1 -1
  189. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-transformer-factory.d.ts.map +1 -1
  190. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-transformer-factory.js +3 -18
  191. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-transformer-factory.js.map +1 -1
  192. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-ddb-fields-transformer.d.ts +4 -3
  193. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-ddb-fields-transformer.d.ts.map +1 -1
  194. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-ddb-fields-transformer.js +4 -7
  195. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-ddb-fields-transformer.js.map +1 -1
  196. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-sql-transformer.d.ts +5 -4
  197. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-sql-transformer.d.ts.map +1 -1
  198. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-sql-transformer.js +4 -7
  199. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-sql-transformer.js.map +1 -1
  200. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-transformer-factory.d.ts +1 -1
  201. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-transformer-factory.d.ts.map +1 -1
  202. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-transformer-factory.js +3 -18
  203. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-transformer-factory.js.map +1 -1
  204. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolver/ddb-generator.d.ts +2 -3
  205. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolver/ddb-generator.d.ts.map +1 -1
  206. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolver/ddb-generator.js +3 -6
  207. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolver/ddb-generator.js.map +1 -1
  208. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolver/generator.d.ts +2 -2
  209. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolver/generator.d.ts.map +1 -1
  210. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolver/generator.js.map +1 -1
  211. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolvers.d.ts +1 -2
  212. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolvers.d.ts.map +1 -1
  213. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolvers.js +17 -72
  214. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolvers.js.map +1 -1
  215. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/schema.d.ts +1 -1
  216. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/schema.d.ts.map +1 -1
  217. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/schema.js.map +1 -1
  218. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/types.d.ts +0 -5
  219. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/types.d.ts.map +1 -1
  220. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/utils.d.ts +1 -2
  221. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/utils.d.ts.map +1 -1
  222. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/utils.js +1 -7
  223. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/utils.js.map +1 -1
  224. package/node_modules/@aws-amplify/graphql-relational-transformer/package.json +10 -9
  225. package/node_modules/@aws-amplify/graphql-searchable-transformer/CHANGELOG.md +1 -1
  226. package/node_modules/@aws-amplify/graphql-searchable-transformer/LICENSE +201 -0
  227. package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/generate-resolver-vtl.d.ts +1 -1
  228. package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/generate-resolver-vtl.d.ts.map +1 -1
  229. package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/generate-resolver-vtl.js +9 -20
  230. package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/generate-resolver-vtl.js.map +1 -1
  231. package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/graphql-searchable-transformer.d.ts.map +1 -1
  232. package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/graphql-searchable-transformer.js +3 -14
  233. package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/graphql-searchable-transformer.js.map +1 -1
  234. package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/streaming-lambda.zip +0 -0
  235. package/node_modules/@aws-amplify/graphql-searchable-transformer/package.json +9 -8
  236. package/node_modules/@aws-amplify/graphql-sql-transformer/CHANGELOG.md +1 -1
  237. package/node_modules/@aws-amplify/graphql-sql-transformer/LICENSE +201 -0
  238. package/node_modules/@aws-amplify/graphql-sql-transformer/lib/graphql-sql-transformer.d.ts.map +1 -1
  239. package/node_modules/@aws-amplify/graphql-sql-transformer/lib/graphql-sql-transformer.js +8 -17
  240. package/node_modules/@aws-amplify/graphql-sql-transformer/lib/graphql-sql-transformer.js.map +1 -1
  241. package/node_modules/@aws-amplify/graphql-sql-transformer/package.json +9 -8
  242. package/node_modules/@aws-amplify/graphql-transformer/API.md +2 -1
  243. package/node_modules/@aws-amplify/graphql-transformer/CHANGELOG.md +4 -2
  244. package/node_modules/@aws-amplify/graphql-transformer/LICENSE +201 -0
  245. package/node_modules/@aws-amplify/graphql-transformer/lib/graphql-transformer.d.ts +2 -2
  246. package/node_modules/@aws-amplify/graphql-transformer/lib/graphql-transformer.d.ts.map +1 -1
  247. package/node_modules/@aws-amplify/graphql-transformer/lib/graphql-transformer.js +2 -1
  248. package/node_modules/@aws-amplify/graphql-transformer/lib/graphql-transformer.js.map +1 -1
  249. package/node_modules/@aws-amplify/graphql-transformer/package.json +16 -15
  250. package/node_modules/@aws-amplify/graphql-transformer/src/graphql-transformer.ts +5 -1
  251. package/node_modules/@aws-amplify/graphql-transformer-core/API.md +7 -1
  252. package/node_modules/@aws-amplify/graphql-transformer-core/CHANGELOG.md +5 -2
  253. package/node_modules/@aws-amplify/graphql-transformer-core/LICENSE +201 -0
  254. package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformation/transform.d.ts +4 -3
  255. package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformation/transform.d.ts.map +1 -1
  256. package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformation/transform.js +11 -1
  257. package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformation/transform.js.map +1 -1
  258. package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/index.d.ts +4 -3
  259. package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/index.d.ts.map +1 -1
  260. package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/index.js +4 -2
  261. package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/index.js.map +1 -1
  262. package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/resolver.d.ts +1 -0
  263. package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/resolver.d.ts.map +1 -1
  264. package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/resolver.js +7 -7
  265. package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/resolver.js.map +1 -1
  266. package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/resource-name.d.ts +2 -0
  267. package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/resource-name.d.ts.map +1 -1
  268. package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/resource-name.js +2 -0
  269. package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/resource-name.js.map +1 -1
  270. package/node_modules/@aws-amplify/graphql-transformer-core/package.json +6 -5
  271. package/node_modules/@aws-amplify/graphql-transformer-interfaces/API.md +26 -4
  272. package/node_modules/@aws-amplify/graphql-transformer-interfaces/CHANGELOG.md +5 -2
  273. package/node_modules/@aws-amplify/graphql-transformer-interfaces/LICENSE +201 -0
  274. package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/model-datasource/types.d.ts +13 -1
  275. package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/model-datasource/types.d.ts.map +1 -1
  276. package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/model-datasource/types.js +5 -1
  277. package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/model-datasource/types.js.map +1 -1
  278. package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/synth-parameters.d.ts +0 -1
  279. package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/synth-parameters.d.ts.map +1 -1
  280. package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/transformer-context-provider.d.ts +3 -3
  281. package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/transformer-context-provider.d.ts.map +1 -1
  282. package/node_modules/@aws-amplify/graphql-transformer-interfaces/package.json +3 -2
  283. package/node_modules/@aws-amplify/graphql-transformer-interfaces/src/model-datasource/types.ts +39 -1
  284. package/node_modules/@aws-amplify/graphql-transformer-interfaces/src/transformer-context/synth-parameters.ts +0 -1
  285. package/node_modules/@aws-amplify/graphql-transformer-interfaces/src/transformer-context/transformer-context-provider.ts +2 -3
  286. package/node_modules/@aws-amplify/graphql-transformer-interfaces/tsconfig.tsbuildinfo +1 -1
  287. package/node_modules/graphql-transformer-common/API.md +3 -4
  288. package/node_modules/graphql-transformer-common/CHANGELOG.md +4 -2
  289. package/node_modules/graphql-transformer-common/LICENSE +201 -0
  290. package/node_modules/graphql-transformer-common/lib/ResourceConstants.d.ts +3 -4
  291. package/node_modules/graphql-transformer-common/lib/ResourceConstants.d.ts.map +1 -1
  292. package/node_modules/graphql-transformer-common/lib/ResourceConstants.js +3 -4
  293. package/node_modules/graphql-transformer-common/lib/ResourceConstants.js.map +1 -1
  294. package/node_modules/graphql-transformer-common/package.json +3 -2
  295. package/package.json +19 -19
  296. package/src/amplify-graphql-api.ts +1 -2
  297. package/src/index.ts +0 -1
  298. package/src/internal/authorization-modes.ts +8 -57
  299. package/src/internal/codegen-assets.ts +2 -11
  300. package/src/internal/data-source-config.ts +5 -1
  301. package/src/model-datasource-strategy-types.ts +11 -1
  302. package/src/sql-model-datasource-strategy.ts +15 -1
  303. package/src/types.ts +5 -56
  304. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/common.d.ts +0 -4
  305. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/common.d.ts.map +0 -1
  306. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/common.js +0 -12
  307. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/common.js.map +0 -1
  308. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/belongs-to/belongs-to-directive-ddb-references-transformer.d.ts +0 -11
  309. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/belongs-to/belongs-to-directive-ddb-references-transformer.d.ts.map +0 -1
  310. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/belongs-to/belongs-to-directive-ddb-references-transformer.js +0 -36
  311. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/belongs-to/belongs-to-directive-ddb-references-transformer.js.map +0 -1
  312. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-ddb-references-transformer.d.ts +0 -11
  313. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-ddb-references-transformer.d.ts.map +0 -1
  314. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-ddb-references-transformer.js +0 -37
  315. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-ddb-references-transformer.js.map +0 -1
  316. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-ddb-references-transformer.d.ts +0 -11
  317. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-ddb-references-transformer.d.ts.map +0 -1
  318. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-ddb-references-transformer.js +0 -37
  319. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-ddb-references-transformer.js.map +0 -1
  320. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolver/ddb-references-generator.d.ts +0 -9
  321. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolver/ddb-references-generator.d.ts.map +0 -1
  322. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolver/ddb-references-generator.js +0 -172
  323. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/resolver/ddb-references-generator.js.map +0 -1
@@ -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
- ## [2.6.3-gen2-release.0](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-searchable-transformer@2.7.0-gen2-release.0...@aws-amplify/graphql-searchable-transformer@2.6.3-gen2-release.0) (2024-03-29)
6
+ ## [2.6.3-data-schema-generator.0](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-searchable-transformer@2.6.2...@aws-amplify/graphql-searchable-transformer@2.6.3-data-schema-generator.0) (2024-04-05)
7
7
 
8
8
  **Note:** Version bump only for package @aws-amplify/graphql-searchable-transformer
9
9
 
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "{}"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright 2017 - 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
@@ -1,5 +1,5 @@
1
1
  import { Expression } from 'graphql-mapping-template';
2
- export declare const postAuthMappingTemplate: (isSandboxModeEnabled: boolean, genericIamAccessEnabled: boolean | undefined, fields: Array<string>) => string;
2
+ export declare const sandboxMappingTemplate: (enabled: boolean, fields: Array<string>) => string;
3
3
  export declare const requestTemplate: (primaryKey: string, nonKeywordFields: Expression[], includeVersion: boolean | undefined, indexName: string, keyFields?: Expression[]) => string;
4
4
  export declare const generateAddAggregateValues: () => Expression;
5
5
  export declare const responseTemplate: (includeVersion?: boolean) => string;
@@ -1 +1 @@
1
- {"version":3,"file":"generate-resolver-vtl.d.ts","sourceRoot":"","sources":["../src/generate-resolver-vtl.ts"],"names":[],"mappings":"AACA,OAAO,EAgBL,UAAU,EAUX,MAAM,0BAA0B,CAAC;AAqBlC,eAAO,MAAM,uBAAuB,yBACZ,OAAO,2BACJ,OAAO,GAAG,SAAS,UACpC,MAAM,MAAM,CAAC,KACpB,MAsBF,CAAC;AAaF,eAAO,MAAM,eAAe,eACd,MAAM,oBACA,UAAU,EAAE,kDAEnB,MAAM,cACN,UAAU,EAAE,KACtB,MAyGA,CAAC;AAEJ,eAAO,MAAM,0BAA0B,QAAO,UAe7C,CAAC;AAEF,eAAO,MAAM,gBAAgB,gCAA6B,MA6CvD,CAAC"}
1
+ {"version":3,"file":"generate-resolver-vtl.d.ts","sourceRoot":"","sources":["../src/generate-resolver-vtl.ts"],"names":[],"mappings":"AACA,OAAO,EAgBL,UAAU,EAOX,MAAM,0BAA0B,CAAC;AAOlC,eAAO,MAAM,sBAAsB,YAAa,OAAO,UAAU,MAAM,MAAM,CAAC,KAAG,MAchF,CAAC;AAaF,eAAO,MAAM,eAAe,eACd,MAAM,oBACA,UAAU,EAAE,kDAEnB,MAAM,cACN,UAAU,EAAE,KACtB,MAyGA,CAAC;AAEJ,eAAO,MAAM,0BAA0B,QAAO,UAe7C,CAAC;AAEF,eAAO,MAAM,gBAAgB,gCAA6B,MA6CvD,CAAC"}
@@ -1,33 +1,22 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.responseTemplate = exports.generateAddAggregateValues = exports.requestTemplate = exports.postAuthMappingTemplate = void 0;
3
+ exports.responseTemplate = exports.generateAddAggregateValues = exports.requestTemplate = exports.sandboxMappingTemplate = void 0;
4
4
  const graphql_mapping_template_1 = require("graphql-mapping-template");
5
5
  const graphql_transformer_common_1 = require("graphql-transformer-common");
6
6
  const authFilter = (0, graphql_mapping_template_1.ref)('ctx.stash.authFilter');
7
7
  const API_KEY = 'API Key Authorization';
8
- const IAM_AUTH_TYPE = 'IAM Authorization';
9
8
  const allowedAggFieldsList = 'allowedAggFields';
10
- const postAuthMappingTemplate = (isSandboxModeEnabled, genericIamAccessEnabled, fields) => {
11
- const expressions = [];
12
- const ifAuthorizedExpression = (0, graphql_mapping_template_1.compoundExpression)([
13
- (0, graphql_mapping_template_1.qref)((0, graphql_mapping_template_1.methodCall)((0, graphql_mapping_template_1.ref)('ctx.stash.put'), (0, graphql_mapping_template_1.str)(allowedAggFieldsList), (0, graphql_mapping_template_1.raw)(JSON.stringify(fields)))),
14
- (0, graphql_mapping_template_1.ret)((0, graphql_mapping_template_1.toJson)((0, graphql_mapping_template_1.obj)({}))),
15
- ]);
16
- if (isSandboxModeEnabled) {
17
- expressions.push((0, graphql_mapping_template_1.iff)((0, graphql_mapping_template_1.equals)((0, graphql_mapping_template_1.methodCall)((0, graphql_mapping_template_1.ref)('util.authType')), (0, graphql_mapping_template_1.str)(API_KEY)), ifAuthorizedExpression));
9
+ const sandboxMappingTemplate = (enabled, fields) => {
10
+ let sandboxExp;
11
+ if (enabled) {
12
+ sandboxExp = (0, graphql_mapping_template_1.ifElse)((0, graphql_mapping_template_1.notEquals)((0, graphql_mapping_template_1.methodCall)((0, graphql_mapping_template_1.ref)('util.authType')), (0, graphql_mapping_template_1.str)(API_KEY)), (0, graphql_mapping_template_1.methodCall)((0, graphql_mapping_template_1.ref)('util.unauthorized')), (0, graphql_mapping_template_1.qref)((0, graphql_mapping_template_1.methodCall)((0, graphql_mapping_template_1.ref)('ctx.stash.put'), (0, graphql_mapping_template_1.str)(allowedAggFieldsList), (0, graphql_mapping_template_1.raw)(JSON.stringify(fields)))));
18
13
  }
19
- if (genericIamAccessEnabled) {
20
- const isNonCognitoIAMPrincipal = (0, graphql_mapping_template_1.and)([
21
- (0, graphql_mapping_template_1.equals)((0, graphql_mapping_template_1.ref)('util.authType()'), (0, graphql_mapping_template_1.str)(IAM_AUTH_TYPE)),
22
- (0, graphql_mapping_template_1.methodCall)((0, graphql_mapping_template_1.ref)('util.isNull'), (0, graphql_mapping_template_1.ref)('ctx.identity.cognitoIdentityPoolId')),
23
- (0, graphql_mapping_template_1.methodCall)((0, graphql_mapping_template_1.ref)('util.isNull'), (0, graphql_mapping_template_1.ref)('ctx.identity.cognitoIdentityId')),
24
- ]);
25
- expressions.push((0, graphql_mapping_template_1.iff)(isNonCognitoIAMPrincipal, ifAuthorizedExpression));
14
+ else {
15
+ sandboxExp = (0, graphql_mapping_template_1.methodCall)((0, graphql_mapping_template_1.ref)('util.unauthorized'));
26
16
  }
27
- expressions.push((0, graphql_mapping_template_1.methodCall)((0, graphql_mapping_template_1.ref)('util.unauthorized')));
28
- return (0, graphql_mapping_template_1.printBlock)(`Sandbox Mode ${isSandboxModeEnabled ? 'Enabled' : 'Disabled'}, IAM Access ${genericIamAccessEnabled ? 'Enabled' : 'Disabled'}`)((0, graphql_mapping_template_1.compoundExpression)([(0, graphql_mapping_template_1.iff)((0, graphql_mapping_template_1.not)((0, graphql_mapping_template_1.ref)('ctx.stash.get("hasAuth")')), (0, graphql_mapping_template_1.compoundExpression)(expressions)), (0, graphql_mapping_template_1.toJson)((0, graphql_mapping_template_1.obj)({}))]));
17
+ return (0, graphql_mapping_template_1.printBlock)(`Sandbox Mode ${enabled ? 'Enabled' : 'Disabled'}`)((0, graphql_mapping_template_1.compoundExpression)([(0, graphql_mapping_template_1.iff)((0, graphql_mapping_template_1.not)((0, graphql_mapping_template_1.ref)('ctx.stash.get("hasAuth")')), sandboxExp), (0, graphql_mapping_template_1.toJson)((0, graphql_mapping_template_1.obj)({}))]));
29
18
  };
30
- exports.postAuthMappingTemplate = postAuthMappingTemplate;
19
+ exports.sandboxMappingTemplate = sandboxMappingTemplate;
31
20
  const getSourceMapper = (includeVersion) => {
32
21
  if (includeVersion) {
33
22
  return [
@@ -1 +1 @@
1
- {"version":3,"file":"generate-resolver-vtl.js","sourceRoot":"","sources":["../src/generate-resolver-vtl.ts"],"names":[],"mappings":";;;AACA,uEA0BkC;AAClC,2EAAwE;AAExE,MAAM,UAAU,GAAG,IAAA,8BAAG,EAAC,sBAAsB,CAAC,CAAC;AAC/C,MAAM,OAAO,GAAG,uBAAuB,CAAC;AACxC,MAAM,aAAa,GAAG,mBAAmB,CAAC;AAC1C,MAAM,oBAAoB,GAAG,kBAAkB,CAAC;AAezC,MAAM,uBAAuB,GAAG,CACrC,oBAA6B,EAC7B,uBAA4C,EAC5C,MAAqB,EACb,EAAE;IACV,MAAM,WAAW,GAAsB,EAAE,CAAC;IAC1C,MAAM,sBAAsB,GAAe,IAAA,6CAAkB,EAAC;QAC5D,IAAA,+BAAI,EAAC,IAAA,qCAAU,EAAC,IAAA,8BAAG,EAAC,eAAe,CAAC,EAAE,IAAA,8BAAG,EAAC,oBAAoB,CAAC,EAAE,IAAA,8BAAG,EAAC,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;QAC9F,IAAA,8BAAG,EAAC,IAAA,iCAAM,EAAC,IAAA,8BAAG,EAAC,EAAE,CAAC,CAAC,CAAC;KACrB,CAAC,CAAC;IACH,IAAI,oBAAoB,EAAE;QACxB,WAAW,CAAC,IAAI,CAAC,IAAA,8BAAG,EAAC,IA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EACD,IAAA,8BAAG,EAAC,6DAA6D,CAAC,EAClE,IAAA,6CAAkB,EAAC;gBACjB,IAAA,+BAAI,EAAC,sEAAsE,CAAC;gBAC5E,IAAA,+BAAI,EAAC,uEAAuE,CAAC;aAC9E,CAAC,CACH;YACD,IAAA,8BAAG,EACD,IAAA,8BAAG,EAAC,2DAA2D,CAAC,EAChE,IAAA,6CAAkB,EAAC;gBACjB,IAAA,+BAAI,EAAC,sEAAsE,CAAC;gBAC5E,IAAA,+BAAI,EAAC,mEAAmE,CAAC;aAC1E,CAAC,CACH;SACF,CAAC,CACH;QACD,IAAA,+BAAI,EAAC,2CAA2C,CAAC;QACjD,IAAA,+BAAI,EAAC,kCAAkC,CAAC;KACzC,CAAC;IACF,IAAA,iCAAM,EACJ,IAAA,8BAAG,EAAC;QACF,KAAK,EAAE,IAAA,8BAAG,EAAC,UAAU,CAAC;QACtB,KAAK,EAAE,IAAA,8BAAG,EAAC,6BAA6B,CAAC;QACzC,SAAS,EAAE,IAAA,8BAAG,EAAC,WAAW,CAAC;QAC3B,cAAc,EAAE,IAAA,8BAAG,EAAC,iBAAiB,CAAC;KACvC,CAAC,CACH;CACF,CAAC,CACH,CAAC;AA7CS,QAAA,gBAAgB,oBA6CzB"}
@@ -1 +1 @@
1
- {"version":3,"file":"graphql-searchable-transformer.d.ts","sourceRoot":"","sources":["../src/graphql-searchable-transformer.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,qBAAqB,EAEtB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAEL,0BAA0B,EAC1B,qCAAqC,EACrC,yCAAyC,EACzC,6CAA6C,EAC9C,MAAM,6CAA6C,CAAC;AAMrD,OAAO,EAAE,aAAa,EAAiC,wBAAwB,EAAE,MAAM,SAAS,CAAC;AAoPjG,qBAAa,0BAA2B,SAAQ,qBAAqB;IACnE,+BAA+B,EAAE;QAAE,IAAI,EAAE,wBAAwB,CAAC;QAAC,SAAS,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAEzF,qBAAqB,EAAE,MAAM,EAAE,CAAC;;IAWhC,OAAO,CAAC,sBAAsB;IAI9B,iBAAiB,YAAa,0BAA0B,KAAG,IAAI,CA2G7D;IAEF,MAAM,eAAgB,wBAAwB,aAAa,aAAa,OAAO,yCAAyC,KAAG,IAAI,CAyD7H;IAEF,OAAO,QAAS,qCAAqC,KAAG,IAAI,CAW1D;IAEF,eAAe,QAAS,6CAA6C,KAAG,IAAI,CAmB1E;CACH"}
1
+ {"version":3,"file":"graphql-searchable-transformer.d.ts","sourceRoot":"","sources":["../src/graphql-searchable-transformer.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,qBAAqB,EAEtB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAEL,0BAA0B,EAC1B,qCAAqC,EACrC,yCAAyC,EACzC,6CAA6C,EAC9C,MAAM,6CAA6C,CAAC;AAMrD,OAAO,EAAE,aAAa,EAAiC,wBAAwB,EAAE,MAAM,SAAS,CAAC;AAkPjG,qBAAa,0BAA2B,SAAQ,qBAAqB;IACnE,+BAA+B,EAAE;QAAE,IAAI,EAAE,wBAAwB,CAAC;QAAC,SAAS,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAEzF,qBAAqB,EAAE,MAAM,EAAE,CAAC;;IAWhC,OAAO,CAAC,sBAAsB;IAI9B,iBAAiB,YAAa,0BAA0B,KAAG,IAAI,CA2G7D;IAEF,MAAM,eAAgB,wBAAwB,aAAa,aAAa,OAAO,yCAAyC,KAAG,IAAI,CAgD7H;IAEF,OAAO,QAAS,qCAAqC,KAAG,IAAI,CAW1D;IAEF,eAAe,QAAS,6CAA6C,KAAG,IAAI,CAmB1E;CACH"}
@@ -16,8 +16,6 @@ const create_streaming_lambda_1 = require("./cdk/create-streaming-lambda");
16
16
  const create_cfnOutput_1 = require("./cdk/create-cfnOutput");
17
17
  const nonKeywordTypes = ['Int', 'Float', 'Boolean', 'AWSTimestamp', 'AWSDate', 'AWSDateTime'];
18
18
  const STACK_NAME = 'SearchableStack';
19
- const API_KEY_DIRECTIVE = 'aws_api_key';
20
- const AWS_IAM_DIRECTIVE = 'aws_iam';
21
19
  const getTable = (context, definition) => {
22
20
  const ddbDataSource = context.dataSources.get(definition);
23
21
  const tableName = graphql_transformer_common_1.ModelResourceIDs.ModelTableResourceID(definition.name.value);
@@ -215,7 +213,7 @@ class SearchableModelTransformer extends graphql_transformer_core_1.TransformerP
215
213
  throw new Error('Query type name not found');
216
214
  }
217
215
  const resolver = context.resolvers.generateQueryResolver(typeName, def.fieldName, graphql_transformer_common_1.ResolverResourceIDs.ElasticsearchSearchResolverResourceID(type), datasource, graphql_transformer_core_1.MappingTemplate.s3MappingTemplateFromString((0, generate_resolver_vtl_1.requestTemplate)(attributeName, getNonKeywordFields(context.output.getObject(type)), context.isProjectUsingDataStore(), openSearchIndexName, keyFields), `${typeName}.${def.fieldName}.req.vtl`), graphql_transformer_core_1.MappingTemplate.s3MappingTemplateFromString((0, generate_resolver_vtl_1.responseTemplate)(context.isProjectUsingDataStore()), `${typeName}.${def.fieldName}.res.vtl`));
218
- resolver.addToSlot('postAuth', graphql_transformer_core_1.MappingTemplate.s3MappingTemplateFromString((0, generate_resolver_vtl_1.postAuthMappingTemplate)(context.transformParameters.sandboxModeEnabled, context.synthParameters.enableIamAccess, fields), `${typeName}.${def.fieldName}.{slotName}.{slotIndex}.res.vtl`));
216
+ resolver.addToSlot('postAuth', graphql_transformer_core_1.MappingTemplate.s3MappingTemplateFromString((0, generate_resolver_vtl_1.sandboxMappingTemplate)(context.transformParameters.sandboxModeEnabled, fields), `${typeName}.${def.fieldName}.{slotName}.{slotIndex}.res.vtl`));
219
217
  resolver.setScope(stack);
220
218
  context.resolvers.addResolver(typeName, def.fieldName, resolver);
221
219
  }
@@ -252,17 +250,8 @@ class SearchableModelTransformer extends graphql_transformer_core_1.TransformerP
252
250
  generateSearchableXConnectionType(ctx, definition);
253
251
  generateSearchableAggregateTypes(ctx);
254
252
  const directives = [];
255
- if (!hasAuth) {
256
- if (ctx.transformParameters.sandboxModeEnabled && ctx.synthParameters.enableIamAccess) {
257
- directives.push((0, graphql_transformer_common_1.makeDirective)(API_KEY_DIRECTIVE, []));
258
- directives.push((0, graphql_transformer_common_1.makeDirective)(AWS_IAM_DIRECTIVE, []));
259
- }
260
- else if (ctx.transformParameters.sandboxModeEnabled && ctx.authConfig.defaultAuthentication.authenticationType !== 'API_KEY') {
261
- directives.push((0, graphql_transformer_common_1.makeDirective)(API_KEY_DIRECTIVE, []));
262
- }
263
- else if (ctx.synthParameters.enableIamAccess && ctx.authConfig.defaultAuthentication.authenticationType !== 'AWS_IAM') {
264
- directives.push((0, graphql_transformer_common_1.makeDirective)(AWS_IAM_DIRECTIVE, []));
265
- }
253
+ if (!hasAuth && ctx.transformParameters.sandboxModeEnabled && ctx.authConfig.defaultAuthentication.authenticationType !== 'API_KEY') {
254
+ directives.push((0, graphql_transformer_common_1.makeDirective)('aws_api_key', []));
266
255
  }
267
256
  const queryField = (0, graphql_transformer_common_1.makeField)(fieldName, [
268
257
  (0, graphql_transformer_common_1.makeInputValueDefinition)('filter', (0, graphql_transformer_common_1.makeNamedType)(`Searchable${definition.name.value}FilterInput`)),
@@ -1 +1 @@
1
- {"version":3,"file":"graphql-searchable-transformer.js","sourceRoot":"","sources":["../src/graphql-searchable-transformer.ts"],"names":[],"mappings":";;;AAAA,oFAO+C;AAQ/C,wEAAsE;AAGtE,6CAA0D;AAG1D,uEAA2D;AAC3D,2EAmBoC;AACpC,qEAA8F;AAC9F,mEAAqG;AACrG,+CAYuB;AACvB,2EAA4D;AAC5D,6EAAoG;AACpG,qFAAgF;AAChF,2EAAyG;AACzG,6DAA4D;AAE5D,MAAM,eAAe,GAAG,CAAC,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,SAAS,EAAE,aAAa,CAAC,CAAC;AAC9F,MAAM,UAAU,GAAG,iBAAiB,CAAC;AACrC,MAAM,iBAAiB,GAAG,aAAa,CAAC;AACxC,MAA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1
1
  {
2
2
  "name": "@aws-amplify/graphql-searchable-transformer",
3
- "version": "2.6.3-gen2-release.0",
3
+ "version": "2.6.3-data-schema-generator.0",
4
4
  "description": "Amplfy GraphQL @searchable transformer",
5
5
  "repository": {
6
6
  "type": "git",
@@ -28,20 +28,20 @@
28
28
  "extract-api": "ts-node ../../scripts/extract-api.ts"
29
29
  },
30
30
  "dependencies": {
31
- "@aws-amplify/graphql-directives": "1.1.0-gen2-release.0",
32
- "@aws-amplify/graphql-model-transformer": "2.7.1-gen2-release.0",
33
- "@aws-amplify/graphql-transformer-core": "2.5.2-gen2-release.0",
34
- "@aws-amplify/graphql-transformer-interfaces": "3.5.1-gen2-release.0",
31
+ "@aws-amplify/graphql-directives": "1.0.1",
32
+ "@aws-amplify/graphql-model-transformer": "2.8.0-data-schema-generator.0",
33
+ "@aws-amplify/graphql-transformer-core": "2.6.0-data-schema-generator.0",
34
+ "@aws-amplify/graphql-transformer-interfaces": "3.6.0-data-schema-generator.0",
35
35
  "graphql": "^15.5.0",
36
36
  "graphql-mapping-template": "4.20.15",
37
- "graphql-transformer-common": "4.29.1-gen2-release.0"
37
+ "graphql-transformer-common": "4.30.0-data-schema-generator.0"
38
38
  },
39
39
  "peerDependencies": {
40
40
  "aws-cdk-lib": "^2.80.0",
41
41
  "constructs": "^10.0.5"
42
42
  },
43
43
  "devDependencies": {
44
- "@aws-amplify/graphql-transformer-test-utils": "0.4.8-gen2-release.0",
44
+ "@aws-amplify/graphql-transformer-test-utils": "0.5.0-data-schema-generator.0",
45
45
  "@types/node": "^12.12.6"
46
46
  },
47
47
  "jest": {
@@ -81,5 +81,6 @@
81
81
  "coveragePathIgnorePatterns": [
82
82
  "/__tests__/"
83
83
  ]
84
- }
84
+ },
85
+ "gitHead": "e79bb1ea55434aa986c86d888ee011318f46be14"
85
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.9-gen2-release.0](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-sql-transformer@0.3.0-gen2-release.0...@aws-amplify/graphql-sql-transformer@0.2.9-gen2-release.0) (2024-03-29)
6
+ ## [0.2.9-data-schema-generator.0](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-sql-transformer@0.2.8...@aws-amplify/graphql-sql-transformer@0.2.9-data-schema-generator.0) (2024-04-05)
7
7
 
8
8
  **Note:** Version bump only for package @aws-amplify/graphql-sql-transformer
9
9