@aws-amplify/graphql-api-construct 1.7.0-iam-auth.0 → 1.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (422) hide show
  1. package/.jsii +330 -331
  2. package/API.md +16 -17
  3. package/CHANGELOG.md +2 -2
  4. package/README.md +75 -17
  5. package/lib/amplify-dynamodb-table-wrapper.js +1 -1
  6. package/lib/amplify-graphql-api.js +2 -3
  7. package/lib/amplify-graphql-definition.js +1 -1
  8. package/lib/index.d.ts +1 -1
  9. package/lib/index.js +1 -1
  10. package/lib/internal/authorization-modes.d.ts +1 -2
  11. package/lib/internal/authorization-modes.js +7 -37
  12. package/lib/internal/data-source-config.js +37 -4
  13. package/lib/model-datasource-strategy-types.d.ts +25 -1
  14. package/lib/model-datasource-strategy-types.js +1 -1
  15. package/lib/sql-model-datasource-strategy.d.ts +13 -1
  16. package/lib/sql-model-datasource-strategy.js +26 -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 +1 -1
  21. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/graphql-auth-transformer.d.ts.map +1 -1
  22. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/graphql-auth-transformer.js +4 -3
  23. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/graphql-auth-transformer.js.map +1 -1
  24. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/definitions.d.ts +1 -2
  25. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/definitions.d.ts.map +1 -1
  26. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/definitions.js +2 -38
  27. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/definitions.js.map +1 -1
  28. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/index.d.ts.map +1 -1
  29. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/index.js +1 -2
  30. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/index.js.map +1 -1
  31. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/ddb-vtl-generator.d.ts +1 -1
  32. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/ddb-vtl-generator.d.ts.map +1 -1
  33. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/ddb-vtl-generator.js +1 -1
  34. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/ddb-vtl-generator.js.map +1 -1
  35. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/field.d.ts +1 -1
  36. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/field.d.ts.map +1 -1
  37. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/field.js +7 -14
  38. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/field.js.map +1 -1
  39. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/helpers.d.ts +1 -2
  40. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/helpers.d.ts.map +1 -1
  41. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/helpers.js +3 -14
  42. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/helpers.js.map +1 -1
  43. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/mutation.create.d.ts.map +1 -1
  44. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/mutation.create.js +3 -3
  45. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/mutation.create.js.map +1 -1
  46. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/mutation.delete.d.ts.map +1 -1
  47. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/mutation.delete.js +3 -3
  48. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/mutation.delete.js.map +1 -1
  49. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/mutation.update.d.ts.map +1 -1
  50. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/mutation.update.js +3 -3
  51. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/mutation.update.js.map +1 -1
  52. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/query.d.ts.map +1 -1
  53. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/query.js +2 -2
  54. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/query.js.map +1 -1
  55. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/search.d.ts.map +1 -1
  56. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/search.js +3 -3
  57. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/search.js.map +1 -1
  58. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/subscriptions.d.ts.map +1 -1
  59. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/subscriptions.js +1 -1
  60. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/ddb/resolvers/subscriptions.js.map +1 -1
  61. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/rds/rds-vtl-generator.d.ts +1 -1
  62. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/rds/rds-vtl-generator.d.ts.map +1 -1
  63. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/rds/rds-vtl-generator.js +2 -2
  64. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/rds/rds-vtl-generator.js.map +1 -1
  65. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/rds/resolvers/common.d.ts +2 -3
  66. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/rds/resolvers/common.d.ts.map +1 -1
  67. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/rds/resolvers/common.js +9 -29
  68. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/rds/resolvers/common.js.map +1 -1
  69. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/rds/resolvers/mutation.d.ts.map +1 -1
  70. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/rds/resolvers/mutation.js +5 -5
  71. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/rds/resolvers/mutation.js.map +1 -1
  72. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/rds/resolvers/query.js +3 -3
  73. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/rds/resolvers/query.js.map +1 -1
  74. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/rds/resolvers/subscription.js +1 -1
  75. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/rds/resolvers/subscription.js.map +1 -1
  76. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/vtl-generator.d.ts +1 -1
  77. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/vtl-generator.d.ts.map +1 -1
  78. package/node_modules/@aws-amplify/graphql-auth-transformer/package.json +14 -13
  79. package/node_modules/@aws-amplify/graphql-default-value-transformer/CHANGELOG.md +1 -1
  80. package/node_modules/@aws-amplify/graphql-default-value-transformer/lib/graphql-default-value-transformer.d.ts.map +1 -1
  81. package/node_modules/@aws-amplify/graphql-default-value-transformer/lib/graphql-default-value-transformer.js +2 -5
  82. package/node_modules/@aws-amplify/graphql-default-value-transformer/lib/graphql-default-value-transformer.js.map +1 -1
  83. package/node_modules/@aws-amplify/graphql-default-value-transformer/package.json +9 -8
  84. package/node_modules/@aws-amplify/graphql-directives/API.md +158 -0
  85. package/node_modules/@aws-amplify/graphql-directives/CHANGELOG.md +8 -0
  86. package/node_modules/@aws-amplify/graphql-directives/Readme.md +19 -0
  87. package/node_modules/@aws-amplify/graphql-directives/lib/directives/appsync/aws-api-key.d.ts +3 -0
  88. package/node_modules/@aws-amplify/graphql-directives/lib/directives/appsync/aws-api-key.d.ts.map +1 -0
  89. package/node_modules/@aws-amplify/graphql-directives/lib/directives/appsync/aws-api-key.js +14 -0
  90. package/node_modules/@aws-amplify/graphql-directives/lib/directives/appsync/aws-api-key.js.map +1 -0
  91. package/node_modules/@aws-amplify/graphql-directives/lib/directives/appsync/aws-auth.d.ts +3 -0
  92. package/node_modules/@aws-amplify/graphql-directives/lib/directives/appsync/aws-auth.d.ts.map +1 -0
  93. package/node_modules/@aws-amplify/graphql-directives/lib/directives/appsync/aws-auth.js +14 -0
  94. package/node_modules/@aws-amplify/graphql-directives/lib/directives/appsync/aws-auth.js.map +1 -0
  95. package/node_modules/@aws-amplify/graphql-directives/lib/directives/appsync/aws-cognito-user-pools.d.ts +3 -0
  96. package/node_modules/@aws-amplify/graphql-directives/lib/directives/appsync/aws-cognito-user-pools.d.ts.map +1 -0
  97. package/node_modules/@aws-amplify/graphql-directives/lib/directives/appsync/aws-cognito-user-pools.js +14 -0
  98. package/node_modules/@aws-amplify/graphql-directives/lib/directives/appsync/aws-cognito-user-pools.js.map +1 -0
  99. package/node_modules/@aws-amplify/graphql-directives/lib/directives/appsync/aws-iam.d.ts +3 -0
  100. package/node_modules/@aws-amplify/graphql-directives/lib/directives/appsync/aws-iam.d.ts.map +1 -0
  101. package/node_modules/@aws-amplify/graphql-directives/lib/directives/appsync/aws-iam.js +14 -0
  102. package/node_modules/@aws-amplify/graphql-directives/lib/directives/appsync/aws-iam.js.map +1 -0
  103. package/node_modules/@aws-amplify/graphql-directives/lib/directives/appsync/aws-lambda.d.ts +3 -0
  104. package/node_modules/@aws-amplify/graphql-directives/lib/directives/appsync/aws-lambda.d.ts.map +1 -0
  105. package/node_modules/@aws-amplify/graphql-directives/lib/directives/appsync/aws-lambda.js +14 -0
  106. package/node_modules/@aws-amplify/graphql-directives/lib/directives/appsync/aws-lambda.js.map +1 -0
  107. package/node_modules/@aws-amplify/graphql-directives/lib/directives/appsync/aws-oidc.d.ts +3 -0
  108. package/node_modules/@aws-amplify/graphql-directives/lib/directives/appsync/aws-oidc.d.ts.map +1 -0
  109. package/node_modules/@aws-amplify/graphql-directives/lib/directives/appsync/aws-oidc.js +14 -0
  110. package/node_modules/@aws-amplify/graphql-directives/lib/directives/appsync/aws-oidc.js.map +1 -0
  111. package/node_modules/@aws-amplify/graphql-directives/lib/directives/appsync/aws-subscribe.d.ts +3 -0
  112. package/node_modules/@aws-amplify/graphql-directives/lib/directives/appsync/aws-subscribe.d.ts.map +1 -0
  113. package/node_modules/@aws-amplify/graphql-directives/lib/directives/appsync/aws-subscribe.js +14 -0
  114. package/node_modules/@aws-amplify/graphql-directives/lib/directives/appsync/aws-subscribe.js.map +1 -0
  115. package/node_modules/@aws-amplify/graphql-directives/lib/directives/appsync/index.d.ts +8 -0
  116. package/node_modules/@aws-amplify/graphql-directives/lib/directives/appsync/index.d.ts.map +1 -0
  117. package/node_modules/@aws-amplify/graphql-directives/lib/directives/appsync/index.js +18 -0
  118. package/node_modules/@aws-amplify/graphql-directives/lib/directives/appsync/index.js.map +1 -0
  119. package/node_modules/@aws-amplify/graphql-directives/lib/directives/auth.d.ts +3 -0
  120. package/node_modules/@aws-amplify/graphql-directives/lib/directives/auth.d.ts.map +1 -0
  121. package/node_modules/@aws-amplify/graphql-directives/lib/directives/auth.js +49 -0
  122. package/node_modules/@aws-amplify/graphql-directives/lib/directives/auth.js.map +1 -0
  123. package/node_modules/@aws-amplify/graphql-directives/lib/directives/belongs-to.d.ts +3 -0
  124. package/node_modules/@aws-amplify/graphql-directives/lib/directives/belongs-to.d.ts.map +1 -0
  125. package/node_modules/@aws-amplify/graphql-directives/lib/directives/belongs-to.js +14 -0
  126. package/node_modules/@aws-amplify/graphql-directives/lib/directives/belongs-to.js.map +1 -0
  127. package/node_modules/@aws-amplify/graphql-directives/lib/directives/default.d.ts +3 -0
  128. package/node_modules/@aws-amplify/graphql-directives/lib/directives/default.d.ts.map +1 -0
  129. package/node_modules/@aws-amplify/graphql-directives/lib/directives/default.js +14 -0
  130. package/node_modules/@aws-amplify/graphql-directives/lib/directives/default.js.map +1 -0
  131. package/node_modules/@aws-amplify/graphql-directives/lib/directives/deprecated.d.ts +3 -0
  132. package/node_modules/@aws-amplify/graphql-directives/lib/directives/deprecated.d.ts.map +1 -0
  133. package/node_modules/@aws-amplify/graphql-directives/lib/directives/deprecated.js +14 -0
  134. package/node_modules/@aws-amplify/graphql-directives/lib/directives/deprecated.js.map +1 -0
  135. package/node_modules/@aws-amplify/graphql-directives/lib/directives/directive.d.ts +8 -0
  136. package/node_modules/@aws-amplify/graphql-directives/lib/directives/directive.d.ts.map +1 -0
  137. package/node_modules/@aws-amplify/graphql-directives/lib/directives/directive.js +3 -0
  138. package/node_modules/@aws-amplify/graphql-directives/lib/directives/directive.js.map +1 -0
  139. package/node_modules/@aws-amplify/graphql-directives/lib/directives/function.d.ts +3 -0
  140. package/node_modules/@aws-amplify/graphql-directives/lib/directives/function.d.ts.map +1 -0
  141. package/node_modules/@aws-amplify/graphql-directives/lib/directives/function.js +14 -0
  142. package/node_modules/@aws-amplify/graphql-directives/lib/directives/function.js.map +1 -0
  143. package/node_modules/@aws-amplify/graphql-directives/lib/directives/has-many.d.ts +6 -0
  144. package/node_modules/@aws-amplify/graphql-directives/lib/directives/has-many.d.ts.map +1 -0
  145. package/node_modules/@aws-amplify/graphql-directives/lib/directives/has-many.js +16 -0
  146. package/node_modules/@aws-amplify/graphql-directives/lib/directives/has-many.js.map +1 -0
  147. package/node_modules/@aws-amplify/graphql-directives/lib/directives/has-one.d.ts +3 -0
  148. package/node_modules/@aws-amplify/graphql-directives/lib/directives/has-one.d.ts.map +1 -0
  149. package/node_modules/@aws-amplify/graphql-directives/lib/directives/has-one.js +14 -0
  150. package/node_modules/@aws-amplify/graphql-directives/lib/directives/has-one.js.map +1 -0
  151. package/node_modules/@aws-amplify/graphql-directives/lib/directives/http.d.ts +7 -0
  152. package/node_modules/@aws-amplify/graphql-directives/lib/directives/http.d.ts.map +1 -0
  153. package/node_modules/@aws-amplify/graphql-directives/lib/directives/http.js +28 -0
  154. package/node_modules/@aws-amplify/graphql-directives/lib/directives/http.js.map +1 -0
  155. package/node_modules/@aws-amplify/graphql-directives/lib/directives/index-directive.d.ts +3 -0
  156. package/node_modules/@aws-amplify/graphql-directives/lib/directives/index-directive.d.ts.map +1 -0
  157. package/node_modules/@aws-amplify/graphql-directives/lib/directives/index-directive.js +14 -0
  158. package/node_modules/@aws-amplify/graphql-directives/lib/directives/index-directive.js.map +1 -0
  159. package/node_modules/@aws-amplify/graphql-directives/lib/directives/index.d.ts +21 -0
  160. package/node_modules/@aws-amplify/graphql-directives/lib/directives/index.d.ts.map +1 -0
  161. package/node_modules/@aws-amplify/graphql-directives/lib/directives/index.js +54 -0
  162. package/node_modules/@aws-amplify/graphql-directives/lib/directives/index.js.map +1 -0
  163. package/node_modules/@aws-amplify/graphql-directives/lib/directives/many-to-many.d.ts +6 -0
  164. package/node_modules/@aws-amplify/graphql-directives/lib/directives/many-to-many.d.ts.map +1 -0
  165. package/node_modules/@aws-amplify/graphql-directives/lib/directives/many-to-many.js +16 -0
  166. package/node_modules/@aws-amplify/graphql-directives/lib/directives/many-to-many.js.map +1 -0
  167. package/node_modules/@aws-amplify/graphql-directives/lib/directives/maps-to.d.ts +3 -0
  168. package/node_modules/@aws-amplify/graphql-directives/lib/directives/maps-to.d.ts.map +1 -0
  169. package/node_modules/@aws-amplify/graphql-directives/lib/directives/maps-to.js +14 -0
  170. package/node_modules/@aws-amplify/graphql-directives/lib/directives/maps-to.js.map +1 -0
  171. package/node_modules/@aws-amplify/graphql-directives/lib/directives/model.d.ts +3 -0
  172. package/node_modules/@aws-amplify/graphql-directives/lib/directives/model.d.ts.map +1 -0
  173. package/node_modules/@aws-amplify/graphql-directives/lib/directives/model.js +43 -0
  174. package/node_modules/@aws-amplify/graphql-directives/lib/directives/model.js.map +1 -0
  175. package/node_modules/@aws-amplify/graphql-directives/lib/directives/predictions.d.ts +3 -0
  176. package/node_modules/@aws-amplify/graphql-directives/lib/directives/predictions.d.ts.map +1 -0
  177. package/node_modules/@aws-amplify/graphql-directives/lib/directives/predictions.js +20 -0
  178. package/node_modules/@aws-amplify/graphql-directives/lib/directives/predictions.js.map +1 -0
  179. package/node_modules/@aws-amplify/graphql-directives/lib/directives/primary-key.d.ts +3 -0
  180. package/node_modules/@aws-amplify/graphql-directives/lib/directives/primary-key.d.ts.map +1 -0
  181. package/node_modules/@aws-amplify/graphql-directives/lib/directives/primary-key.js +14 -0
  182. package/node_modules/@aws-amplify/graphql-directives/lib/directives/primary-key.js.map +1 -0
  183. package/node_modules/@aws-amplify/graphql-directives/lib/directives/refers-to.d.ts +3 -0
  184. package/node_modules/@aws-amplify/graphql-directives/lib/directives/refers-to.d.ts.map +1 -0
  185. package/node_modules/@aws-amplify/graphql-directives/lib/directives/refers-to.js +14 -0
  186. package/node_modules/@aws-amplify/graphql-directives/lib/directives/refers-to.js.map +1 -0
  187. package/node_modules/@aws-amplify/graphql-directives/lib/directives/searchable.d.ts +3 -0
  188. package/node_modules/@aws-amplify/graphql-directives/lib/directives/searchable.d.ts.map +1 -0
  189. package/node_modules/@aws-amplify/graphql-directives/lib/directives/searchable.js +17 -0
  190. package/node_modules/@aws-amplify/graphql-directives/lib/directives/searchable.js.map +1 -0
  191. package/node_modules/@aws-amplify/graphql-directives/lib/directives/sql.d.ts +3 -0
  192. package/node_modules/@aws-amplify/graphql-directives/lib/directives/sql.d.ts.map +1 -0
  193. package/node_modules/@aws-amplify/graphql-directives/lib/directives/sql.js +14 -0
  194. package/node_modules/@aws-amplify/graphql-directives/lib/directives/sql.js.map +1 -0
  195. package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/auth.d.ts +3 -0
  196. package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/auth.d.ts.map +1 -0
  197. package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/auth.js +85 -0
  198. package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/auth.js.map +1 -0
  199. package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/connection.d.ts +3 -0
  200. package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/connection.d.ts.map +1 -0
  201. package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/connection.js +21 -0
  202. package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/connection.js.map +1 -0
  203. package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/function.d.ts +3 -0
  204. package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/function.d.ts.map +1 -0
  205. package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/function.js +14 -0
  206. package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/function.js.map +1 -0
  207. package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/http.d.ts +7 -0
  208. package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/http.d.ts.map +1 -0
  209. package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/http.js +28 -0
  210. package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/http.js.map +1 -0
  211. package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/index.d.ts +10 -0
  212. package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/index.d.ts.map +1 -0
  213. package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/index.js +22 -0
  214. package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/index.js.map +1 -0
  215. package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/key.d.ts +3 -0
  216. package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/key.d.ts.map +1 -0
  217. package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/key.js +14 -0
  218. package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/key.js.map +1 -0
  219. package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/model.d.ts +3 -0
  220. package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/model.d.ts.map +1 -0
  221. package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/model.js +43 -0
  222. package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/model.js.map +1 -0
  223. package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/predictions.d.ts +3 -0
  224. package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/predictions.d.ts.map +1 -0
  225. package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/predictions.js +20 -0
  226. package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/predictions.js.map +1 -0
  227. package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/searchable.d.ts +3 -0
  228. package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/searchable.d.ts.map +1 -0
  229. package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/searchable.js +17 -0
  230. package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/searchable.js.map +1 -0
  231. package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/versioned.d.ts +7 -0
  232. package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/versioned.d.ts.map +1 -0
  233. package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/versioned.js +17 -0
  234. package/node_modules/@aws-amplify/graphql-directives/lib/directives/v1/versioned.js.map +1 -0
  235. package/node_modules/@aws-amplify/graphql-directives/lib/index.d.ts +7 -0
  236. package/node_modules/@aws-amplify/graphql-directives/lib/index.d.ts.map +1 -0
  237. package/node_modules/@aws-amplify/graphql-directives/lib/index.js +60 -0
  238. package/node_modules/@aws-amplify/graphql-directives/lib/index.js.map +1 -0
  239. package/node_modules/@aws-amplify/graphql-directives/package.json +66 -0
  240. package/node_modules/@aws-amplify/graphql-function-transformer/CHANGELOG.md +1 -1
  241. package/node_modules/@aws-amplify/graphql-function-transformer/lib/graphql-function-transformer.d.ts.map +1 -1
  242. package/node_modules/@aws-amplify/graphql-function-transformer/lib/graphql-function-transformer.js +2 -4
  243. package/node_modules/@aws-amplify/graphql-function-transformer/lib/graphql-function-transformer.js.map +1 -1
  244. package/node_modules/@aws-amplify/graphql-function-transformer/package.json +8 -7
  245. package/node_modules/@aws-amplify/graphql-http-transformer/CHANGELOG.md +1 -1
  246. package/node_modules/@aws-amplify/graphql-http-transformer/lib/graphql-http-transformer.d.ts.map +1 -1
  247. package/node_modules/@aws-amplify/graphql-http-transformer/lib/graphql-http-transformer.js +2 -15
  248. package/node_modules/@aws-amplify/graphql-http-transformer/lib/graphql-http-transformer.js.map +1 -1
  249. package/node_modules/@aws-amplify/graphql-http-transformer/package.json +8 -7
  250. package/node_modules/@aws-amplify/graphql-index-transformer/CHANGELOG.md +1 -1
  251. package/node_modules/@aws-amplify/graphql-index-transformer/lib/graphql-index-transformer.d.ts.map +1 -1
  252. package/node_modules/@aws-amplify/graphql-index-transformer/lib/graphql-index-transformer.js +5 -8
  253. package/node_modules/@aws-amplify/graphql-index-transformer/lib/graphql-index-transformer.js.map +1 -1
  254. package/node_modules/@aws-amplify/graphql-index-transformer/lib/graphql-primary-key-transformer.d.ts.map +1 -1
  255. package/node_modules/@aws-amplify/graphql-index-transformer/lib/graphql-primary-key-transformer.js +4 -7
  256. package/node_modules/@aws-amplify/graphql-index-transformer/lib/graphql-primary-key-transformer.js.map +1 -1
  257. package/node_modules/@aws-amplify/graphql-index-transformer/package.json +9 -8
  258. package/node_modules/@aws-amplify/graphql-maps-to-transformer/CHANGELOG.md +1 -1
  259. package/node_modules/@aws-amplify/graphql-maps-to-transformer/lib/assets/mapping-lambda.zip +0 -0
  260. package/node_modules/@aws-amplify/graphql-maps-to-transformer/lib/graphql-maps-to-transformer.d.ts.map +1 -1
  261. package/node_modules/@aws-amplify/graphql-maps-to-transformer/lib/graphql-maps-to-transformer.js +6 -9
  262. package/node_modules/@aws-amplify/graphql-maps-to-transformer/lib/graphql-maps-to-transformer.js.map +1 -1
  263. package/node_modules/@aws-amplify/graphql-maps-to-transformer/lib/graphql-refers-to-transformer.d.ts.map +1 -1
  264. package/node_modules/@aws-amplify/graphql-maps-to-transformer/lib/graphql-refers-to-transformer.js +9 -12
  265. package/node_modules/@aws-amplify/graphql-maps-to-transformer/lib/graphql-refers-to-transformer.js.map +1 -1
  266. package/node_modules/@aws-amplify/graphql-maps-to-transformer/package.json +12 -11
  267. package/node_modules/@aws-amplify/graphql-model-transformer/API.md +2 -2
  268. package/node_modules/@aws-amplify/graphql-model-transformer/CHANGELOG.md +4 -2
  269. package/node_modules/@aws-amplify/graphql-model-transformer/lib/definitions.d.ts +0 -2
  270. package/node_modules/@aws-amplify/graphql-model-transformer/lib/definitions.d.ts.map +1 -1
  271. package/node_modules/@aws-amplify/graphql-model-transformer/lib/definitions.js +1 -9
  272. package/node_modules/@aws-amplify/graphql-model-transformer/lib/definitions.js.map +1 -1
  273. package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-model-transformer.d.ts +0 -1
  274. package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-model-transformer.d.ts.map +1 -1
  275. package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-model-transformer.js +19 -73
  276. package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-model-transformer.js.map +1 -1
  277. package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-types/common.d.ts +1 -1
  278. package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-types/common.d.ts.map +1 -1
  279. package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-types/common.js +7 -11
  280. package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-types/common.js.map +1 -1
  281. package/node_modules/@aws-amplify/graphql-model-transformer/lib/rds-lambda.zip +0 -0
  282. package/node_modules/@aws-amplify/graphql-model-transformer/lib/rds-notification-lambda.zip +0 -0
  283. package/node_modules/@aws-amplify/graphql-model-transformer/lib/rds-patching-lambda.zip +0 -0
  284. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/common.d.ts +1 -1
  285. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/common.d.ts.map +1 -1
  286. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/common.js +7 -15
  287. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/common.js.map +1 -1
  288. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/rds/resolver.d.ts +5 -1
  289. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/rds/resolver.d.ts.map +1 -1
  290. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/rds/resolver.js +71 -26
  291. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/rds/resolver.js.map +1 -1
  292. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/model-resource-generator.d.ts.map +1 -1
  293. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/model-resource-generator.js +3 -3
  294. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/model-resource-generator.js.map +1 -1
  295. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/rds-model-resource-generator.d.ts.map +1 -1
  296. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/rds-model-resource-generator.js +21 -7
  297. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/rds-model-resource-generator.js.map +1 -1
  298. package/node_modules/@aws-amplify/graphql-model-transformer/package.json +8 -7
  299. package/node_modules/@aws-amplify/graphql-predictions-transformer/CHANGELOG.md +1 -1
  300. package/node_modules/@aws-amplify/graphql-predictions-transformer/lib/graphql-predictions-transformer.d.ts.map +1 -1
  301. package/node_modules/@aws-amplify/graphql-predictions-transformer/lib/graphql-predictions-transformer.js +2 -1
  302. package/node_modules/@aws-amplify/graphql-predictions-transformer/lib/graphql-predictions-transformer.js.map +1 -1
  303. package/node_modules/@aws-amplify/graphql-predictions-transformer/lib/predictionsLambdaFunction.zip +0 -0
  304. package/node_modules/@aws-amplify/graphql-predictions-transformer/lib/utils/constants.d.ts +0 -1
  305. package/node_modules/@aws-amplify/graphql-predictions-transformer/lib/utils/constants.d.ts.map +1 -1
  306. package/node_modules/@aws-amplify/graphql-predictions-transformer/lib/utils/constants.js +1 -10
  307. package/node_modules/@aws-amplify/graphql-predictions-transformer/lib/utils/constants.js.map +1 -1
  308. package/node_modules/@aws-amplify/graphql-predictions-transformer/package.json +8 -7
  309. package/node_modules/@aws-amplify/graphql-relational-transformer/CHANGELOG.md +1 -1
  310. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/belongs-to/belongs-to-directive-ddb-fields-transformer.d.ts +12 -0
  311. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/belongs-to/belongs-to-directive-ddb-fields-transformer.d.ts.map +1 -0
  312. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/belongs-to/belongs-to-directive-ddb-fields-transformer.js +34 -0
  313. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/belongs-to/belongs-to-directive-ddb-fields-transformer.js.map +1 -0
  314. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/belongs-to/belongs-to-directive-sql-transformer.d.ts +12 -0
  315. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/belongs-to/belongs-to-directive-sql-transformer.d.ts.map +1 -0
  316. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/belongs-to/belongs-to-directive-sql-transformer.js +27 -0
  317. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/belongs-to/belongs-to-directive-sql-transformer.js.map +1 -0
  318. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/belongs-to/belongs-to-directive-transformer-factory.d.ts +5 -0
  319. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/belongs-to/belongs-to-directive-transformer-factory.d.ts.map +1 -0
  320. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/belongs-to/belongs-to-directive-transformer-factory.js +16 -0
  321. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/belongs-to/belongs-to-directive-transformer-factory.js.map +1 -0
  322. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/data-source-based-directive-transformer.d.ts +11 -0
  323. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/data-source-based-directive-transformer.d.ts.map +1 -0
  324. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/data-source-based-directive-transformer.js +3 -0
  325. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/data-source-based-directive-transformer.js.map +1 -0
  326. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-belongs-to-transformer.d.ts.map +1 -1
  327. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-belongs-to-transformer.js +15 -49
  328. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-belongs-to-transformer.js.map +1 -1
  329. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-has-many-transformer.d.ts.map +1 -1
  330. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-has-many-transformer.js +18 -45
  331. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-has-many-transformer.js.map +1 -1
  332. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-has-one-transformer.d.ts.map +1 -1
  333. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-has-one-transformer.js +13 -35
  334. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-has-one-transformer.js.map +1 -1
  335. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-many-to-many-transformer.d.ts.map +1 -1
  336. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-many-to-many-transformer.js +13 -17
  337. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/graphql-many-to-many-transformer.js.map +1 -1
  338. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-ddb-fields-transformer.d.ts +12 -0
  339. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-ddb-fields-transformer.d.ts.map +1 -0
  340. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-ddb-fields-transformer.js +32 -0
  341. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-ddb-fields-transformer.js.map +1 -0
  342. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-sql-transformer.d.ts +12 -0
  343. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-sql-transformer.d.ts.map +1 -0
  344. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-sql-transformer.js +27 -0
  345. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-sql-transformer.js.map +1 -0
  346. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-transformer-factory.d.ts +5 -0
  347. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-transformer-factory.d.ts.map +1 -0
  348. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-transformer-factory.js +16 -0
  349. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-many/has-many-directive-transformer-factory.js.map +1 -0
  350. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-ddb-fields-transformer.d.ts +12 -0
  351. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-ddb-fields-transformer.d.ts.map +1 -0
  352. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-ddb-fields-transformer.js +31 -0
  353. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-ddb-fields-transformer.js.map +1 -0
  354. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-sql-transformer.d.ts +12 -0
  355. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-sql-transformer.d.ts.map +1 -0
  356. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-sql-transformer.js +27 -0
  357. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-sql-transformer.js.map +1 -0
  358. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-transformer-factory.d.ts +5 -0
  359. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-transformer-factory.d.ts.map +1 -0
  360. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-transformer-factory.js +16 -0
  361. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/has-one/has-one-directive-transformer-factory.js.map +1 -0
  362. package/node_modules/@aws-amplify/graphql-relational-transformer/package.json +10 -9
  363. package/node_modules/@aws-amplify/graphql-searchable-transformer/CHANGELOG.md +1 -1
  364. package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/graphql-searchable-transformer.d.ts.map +1 -1
  365. package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/graphql-searchable-transformer.js +2 -6
  366. package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/graphql-searchable-transformer.js.map +1 -1
  367. package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/streaming-lambda.zip +0 -0
  368. package/node_modules/@aws-amplify/graphql-searchable-transformer/package.json +9 -8
  369. package/node_modules/@aws-amplify/graphql-sql-transformer/CHANGELOG.md +1 -1
  370. package/node_modules/@aws-amplify/graphql-sql-transformer/lib/graphql-sql-transformer.d.ts.map +1 -1
  371. package/node_modules/@aws-amplify/graphql-sql-transformer/lib/graphql-sql-transformer.js +2 -4
  372. package/node_modules/@aws-amplify/graphql-sql-transformer/lib/graphql-sql-transformer.js.map +1 -1
  373. package/node_modules/@aws-amplify/graphql-sql-transformer/package.json +9 -8
  374. package/node_modules/@aws-amplify/graphql-transformer/CHANGELOG.md +4 -2
  375. package/node_modules/@aws-amplify/graphql-transformer/lib/graphql-transformer.d.ts.map +1 -1
  376. package/node_modules/@aws-amplify/graphql-transformer/lib/graphql-transformer.js.map +1 -1
  377. package/node_modules/@aws-amplify/graphql-transformer/package.json +16 -16
  378. package/node_modules/@aws-amplify/graphql-transformer/src/graphql-transformer.ts +1 -0
  379. package/node_modules/@aws-amplify/graphql-transformer-core/API.md +3 -0
  380. package/node_modules/@aws-amplify/graphql-transformer-core/CHANGELOG.md +1 -1
  381. package/node_modules/@aws-amplify/graphql-transformer-core/lib/index.d.ts +1 -1
  382. package/node_modules/@aws-amplify/graphql-transformer-core/lib/index.d.ts.map +1 -1
  383. package/node_modules/@aws-amplify/graphql-transformer-core/lib/index.js +3 -2
  384. package/node_modules/@aws-amplify/graphql-transformer-core/lib/index.js.map +1 -1
  385. package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformation/validation.d.ts.map +1 -1
  386. package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformation/validation.js +11 -12
  387. package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformation/validation.js.map +1 -1
  388. package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/model-datasource-strategy-utils.d.ts +1 -0
  389. package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/model-datasource-strategy-utils.d.ts.map +1 -1
  390. package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/model-datasource-strategy-utils.js +8 -1
  391. package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/model-datasource-strategy-utils.js.map +1 -1
  392. package/node_modules/@aws-amplify/graphql-transformer-core/package.json +5 -4
  393. package/node_modules/@aws-amplify/graphql-transformer-interfaces/API.md +27 -2
  394. package/node_modules/@aws-amplify/graphql-transformer-interfaces/CHANGELOG.md +4 -2
  395. package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/model-datasource/types.d.ts +12 -1
  396. package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/model-datasource/types.d.ts.map +1 -1
  397. package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/model-datasource/types.js +22 -0
  398. package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/model-datasource/types.js.map +1 -1
  399. package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/synth-parameters.d.ts +0 -1
  400. package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/synth-parameters.d.ts.map +1 -1
  401. package/node_modules/@aws-amplify/graphql-transformer-interfaces/package.json +2 -2
  402. package/node_modules/@aws-amplify/graphql-transformer-interfaces/src/model-datasource/types.ts +76 -1
  403. package/node_modules/@aws-amplify/graphql-transformer-interfaces/src/transformer-context/synth-parameters.ts +0 -1
  404. package/node_modules/@aws-amplify/graphql-transformer-interfaces/tsconfig.tsbuildinfo +1 -1
  405. package/node_modules/graphql-mapping-template/CHANGELOG.md +0 -4
  406. package/node_modules/graphql-mapping-template/package.json +2 -3
  407. package/node_modules/graphql-transformer-common/API.md +13 -0
  408. package/node_modules/graphql-transformer-common/CHANGELOG.md +4 -2
  409. package/node_modules/graphql-transformer-common/lib/TypescriptSchemaConstants.d.ts +13 -0
  410. package/node_modules/graphql-transformer-common/lib/TypescriptSchemaConstants.d.ts.map +1 -1
  411. package/node_modules/graphql-transformer-common/lib/TypescriptSchemaConstants.js +13 -0
  412. package/node_modules/graphql-transformer-common/lib/TypescriptSchemaConstants.js.map +1 -1
  413. package/node_modules/graphql-transformer-common/package.json +3 -3
  414. package/package.json +21 -19
  415. package/src/amplify-graphql-api.ts +0 -2
  416. package/src/index.ts +0 -1
  417. package/src/internal/authorization-modes.ts +8 -47
  418. package/src/internal/data-source-config.ts +42 -9
  419. package/src/model-datasource-strategy-types.ts +33 -1
  420. package/src/sql-model-datasource-strategy.ts +32 -1
  421. package/src/types.ts +5 -56
  422. /package/node_modules/{graphql-mapping-template → @aws-amplify/graphql-directives}/LICENSE +0 -0
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ModelDirective = void 0;
4
+ const name = 'model';
5
+ const definition = `
6
+ directive @model(
7
+ queries: ModelQueryMap
8
+ mutations: ModelMutationMap
9
+ subscriptions: ModelSubscriptionMap
10
+ timestamps: TimestampConfiguration
11
+ ) on OBJECT
12
+ input ModelMutationMap {
13
+ create: String
14
+ update: String
15
+ delete: String
16
+ }
17
+ input ModelQueryMap {
18
+ get: String
19
+ list: String
20
+ }
21
+ input ModelSubscriptionMap {
22
+ onCreate: [String]
23
+ onUpdate: [String]
24
+ onDelete: [String]
25
+ level: ModelSubscriptionLevel
26
+ }
27
+ enum ModelSubscriptionLevel {
28
+ off
29
+ public
30
+ on
31
+ }
32
+ input TimestampConfiguration {
33
+ createdAt: String
34
+ updatedAt: String
35
+ }
36
+ `;
37
+ const defaults = {};
38
+ exports.ModelDirective = {
39
+ name,
40
+ definition,
41
+ defaults,
42
+ };
43
+ //# sourceMappingURL=model.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"model.js","sourceRoot":"","sources":["../../src/directives/model.ts"],"names":[],"mappings":";;;AAEA,MAAM,IAAI,GAAG,OAAO,CAAC;AACrB,MAAM,UAAU,GAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+BhC,CAAC;AACF,MAAM,QAAQ,GAAG,EAAE,CAAC;AAEP,QAAA,cAAc,GAAc;IACvC,IAAI;IACJ,UAAU;IACV,QAAQ;CACT,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { Directive } from './directive';
2
+ export declare const PredictionsDirective: Directive;
3
+ //# sourceMappingURL=predictions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"predictions.d.ts","sourceRoot":"","sources":["../../src/directives/predictions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAcxC,eAAO,MAAM,oBAAoB,EAAE,SAIlC,CAAC"}
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PredictionsDirective = void 0;
4
+ const name = 'predictions';
5
+ const definition = `
6
+ directive @${name}(actions: [PredictionsActions!]!) on FIELD_DEFINITION
7
+ enum PredictionsActions {
8
+ identifyText
9
+ identifyLabels
10
+ convertTextToSpeech
11
+ translateText
12
+ }
13
+ `;
14
+ const defaults = {};
15
+ exports.PredictionsDirective = {
16
+ name,
17
+ definition,
18
+ defaults,
19
+ };
20
+ //# sourceMappingURL=predictions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"predictions.js","sourceRoot":"","sources":["../../src/directives/predictions.ts"],"names":[],"mappings":";;;AAEA,MAAM,IAAI,GAAG,aAAa,CAAC;AAC3B,MAAM,UAAU,GAAiB;eAClB,IAAI;;;;;;;CAOlB,CAAC;AACF,MAAM,QAAQ,GAAG,EAAE,CAAC;AAEP,QAAA,oBAAoB,GAAc;IAC7C,IAAI;IACJ,UAAU;IACV,QAAQ;CACT,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { Directive } from './directive';
2
+ export declare const PrimaryKeyDirective: Directive;
3
+ //# sourceMappingURL=primary-key.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"primary-key.d.ts","sourceRoot":"","sources":["../../src/directives/primary-key.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAQxC,eAAO,MAAM,mBAAmB,EAAE,SAIjC,CAAC"}
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PrimaryKeyDirective = void 0;
4
+ const name = 'primaryKey';
5
+ const definition = `
6
+ directive @${name}(sortKeyFields: [String]) on FIELD_DEFINITION
7
+ `;
8
+ const defaults = {};
9
+ exports.PrimaryKeyDirective = {
10
+ name,
11
+ definition,
12
+ defaults,
13
+ };
14
+ //# sourceMappingURL=primary-key.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"primary-key.js","sourceRoot":"","sources":["../../src/directives/primary-key.ts"],"names":[],"mappings":";;;AAEA,MAAM,IAAI,GAAG,YAAY,CAAC;AAC1B,MAAM,UAAU,GAAiB;eAClB,IAAI;CAClB,CAAC;AACF,MAAM,QAAQ,GAAG,EAAE,CAAC;AAEP,QAAA,mBAAmB,GAAc;IAC5C,IAAI;IACJ,UAAU;IACV,QAAQ;CACT,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { Directive } from './directive';
2
+ export declare const RefersToDirective: Directive;
3
+ //# sourceMappingURL=refers-to.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"refers-to.d.ts","sourceRoot":"","sources":["../../src/directives/refers-to.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAQxC,eAAO,MAAM,iBAAiB,EAAE,SAI/B,CAAC"}
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RefersToDirective = void 0;
4
+ const name = 'refersTo';
5
+ const definition = `
6
+ directive @${name}(name: String!) on OBJECT | FIELD_DEFINITION
7
+ `;
8
+ const defaults = {};
9
+ exports.RefersToDirective = {
10
+ name,
11
+ definition,
12
+ defaults,
13
+ };
14
+ //# sourceMappingURL=refers-to.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"refers-to.js","sourceRoot":"","sources":["../../src/directives/refers-to.ts"],"names":[],"mappings":";;;AAEA,MAAM,IAAI,GAAG,UAAU,CAAC;AACxB,MAAM,UAAU,GAAiB;eAClB,IAAI;CAClB,CAAC;AACF,MAAM,QAAQ,GAAG,EAAE,CAAC;AAEP,QAAA,iBAAiB,GAAc;IAC1C,IAAI;IACJ,UAAU;IACV,QAAQ;CACT,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { Directive } from './directive';
2
+ export declare const SearchableDirective: Directive;
3
+ //# sourceMappingURL=searchable.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"searchable.d.ts","sourceRoot":"","sources":["../../src/directives/searchable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAWxC,eAAO,MAAM,mBAAmB,EAAE,SAIjC,CAAC"}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SearchableDirective = void 0;
4
+ const name = 'searchable';
5
+ const definition = `
6
+ directive @${name}(queries: SearchableQueryMap) on OBJECT
7
+ input SearchableQueryMap {
8
+ search: String
9
+ }
10
+ `;
11
+ const defaults = {};
12
+ exports.SearchableDirective = {
13
+ name,
14
+ definition,
15
+ defaults,
16
+ };
17
+ //# sourceMappingURL=searchable.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"searchable.js","sourceRoot":"","sources":["../../src/directives/searchable.ts"],"names":[],"mappings":";;;AAEA,MAAM,IAAI,GAAG,YAAY,CAAC;AAC1B,MAAM,UAAU,GAAiB;eAClB,IAAI;;;;CAIlB,CAAC;AACF,MAAM,QAAQ,GAAG,EAAE,CAAC;AAEP,QAAA,mBAAmB,GAAc;IAC5C,IAAI;IACJ,UAAU;IACV,QAAQ;CACT,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { Directive } from './directive';
2
+ export declare const SqlDirective: Directive;
3
+ //# sourceMappingURL=sql.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sql.d.ts","sourceRoot":"","sources":["../../src/directives/sql.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAQxC,eAAO,MAAM,YAAY,EAAE,SAI1B,CAAC"}
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SqlDirective = void 0;
4
+ const name = 'sql';
5
+ const definition = `
6
+ directive @${name}(statement: String, reference: String) on FIELD_DEFINITION
7
+ `;
8
+ const defaults = {};
9
+ exports.SqlDirective = {
10
+ name,
11
+ definition,
12
+ defaults,
13
+ };
14
+ //# sourceMappingURL=sql.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sql.js","sourceRoot":"","sources":["../../src/directives/sql.ts"],"names":[],"mappings":";;;AAEA,MAAM,IAAI,GAAG,KAAK,CAAC;AACnB,MAAM,UAAU,GAAiB;eAClB,IAAI;CAClB,CAAC;AACF,MAAM,QAAQ,GAAG,EAAE,CAAC;AAEP,QAAA,YAAY,GAAc;IACrC,IAAI;IACJ,UAAU;IACV,QAAQ;CACT,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { Directive } from '../directive';
2
+ export declare const AuthDirectiveV1: Directive;
3
+ //# sourceMappingURL=auth.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../../src/directives/v1/auth.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AA+EzC,eAAO,MAAM,eAAe,EAAE,SAI7B,CAAC"}
@@ -0,0 +1,85 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AuthDirectiveV1 = void 0;
4
+ const name = 'auth';
5
+ const definition = `
6
+ directive @${name}(rules: [AuthRule!]!) on OBJECT | FIELD_DEFINITION
7
+ input AuthRule {
8
+ # Specifies the auth rule's strategy. Allowed values are 'owner', 'groups', 'public', 'private'.
9
+ allow: AuthStrategy!
10
+
11
+ # Legacy name for identityClaim
12
+ identityField: String @deprecated(reason: "The 'identityField' argument is replaced by the 'identityClaim'.")
13
+
14
+ # Specifies the name of the provider to use for the rule. This overrides the default provider
15
+ # when 'public' and 'private' AuthStrategy is used. Specifying a provider for 'owner' or 'groups'
16
+ # are not allowed.
17
+ provider: AuthProvider
18
+
19
+ # Specifies the name of the claim to look for on the request's JWT token
20
+ # from Cognito User Pools (and in the future OIDC) that contains the identity
21
+ # of the user. If 'allow' is 'groups', this value should point to a list of groups
22
+ # in the claims. If 'allow' is 'owner', this value should point to the logged in user identity string.
23
+ # Defaults to "cognito:username" for Cognito User Pools auth.
24
+ identityClaim: String
25
+
26
+ # Allows for custom config of 'groups' which is validated against the JWT
27
+ # Specifies a static list of groups that should have access to the object
28
+ groupClaim: String
29
+
30
+ # Allowed when the 'allow' argument is 'owner'.
31
+ # Specifies the field of type String or [String] that contains owner(s) that can access the object.
32
+ ownerField: String # defaults to "owner"
33
+ # Allowed when the 'allow' argument is 'groups'.
34
+ # Specifies the field of type String or [String] that contains group(s) that can access the object.
35
+ groupsField: String
36
+
37
+ # Allowed when the 'allow' argument is 'groups'.
38
+ # Specifies a static list of groups that should have access to the object.
39
+ groups: [String]
40
+
41
+ # Specifies operations to which this auth rule should be applied.
42
+ operations: [ModelOperation]
43
+
44
+ # Deprecated. It is recommended to use the 'operations' arguments.
45
+ queries: [ModelQuery] @deprecated(reason: "The 'queries' argument will be replaced by the 'operations' argument in a future release.")
46
+
47
+ # Deprecated. It is recommended to use the 'operations' arguments.
48
+ mutations: [ModelMutation]
49
+ @deprecated(reason: "The 'mutations' argument will be replaced by the 'operations' argument in a future release.")
50
+ }
51
+ enum AuthStrategy {
52
+ owner
53
+ groups
54
+ private
55
+ public
56
+ }
57
+ enum AuthProvider {
58
+ apiKey
59
+ iam
60
+ oidc
61
+ userPools
62
+ }
63
+ enum ModelOperation {
64
+ create
65
+ update
66
+ delete
67
+ read
68
+ }
69
+ enum ModelQuery @deprecated(reason: "ModelQuery will be replaced by the 'ModelOperation' in a future release.") {
70
+ get
71
+ list
72
+ }
73
+ enum ModelMutation @deprecated(reason: "ModelMutation will be replaced by the 'ModelOperation' in a future release.") {
74
+ create
75
+ update
76
+ delete
77
+ }
78
+ `;
79
+ const defaults = {};
80
+ exports.AuthDirectiveV1 = {
81
+ name,
82
+ definition,
83
+ defaults,
84
+ };
85
+ //# sourceMappingURL=auth.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"auth.js","sourceRoot":"","sources":["../../../src/directives/v1/auth.ts"],"names":[],"mappings":";;;AAEA,MAAM,IAAI,GAAG,MAAM,CAAC;AACpB,MAAM,UAAU,GAAiB;eAClB,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwElB,CAAC;AACF,MAAM,QAAQ,GAAG,EAAE,CAAC;AAEP,QAAA,eAAe,GAAc;IACxC,IAAI;IACJ,UAAU;IACV,QAAQ;CACT,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { Directive } from '../directive';
2
+ export declare const ConnectionDirectiveV1: Directive;
3
+ //# sourceMappingURL=connection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"connection.d.ts","sourceRoot":"","sources":["../../../src/directives/v1/connection.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAezC,eAAO,MAAM,qBAAqB,EAAE,SAInC,CAAC"}
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ConnectionDirectiveV1 = void 0;
4
+ const name = 'connection';
5
+ const definition = `
6
+ directive @${name}(
7
+ name: String
8
+ keyField: String
9
+ sortField: String
10
+ keyName: String
11
+ limit: Int
12
+ fields: [String!]
13
+ ) on FIELD_DEFINITION
14
+ `;
15
+ const defaults = {};
16
+ exports.ConnectionDirectiveV1 = {
17
+ name,
18
+ definition,
19
+ defaults,
20
+ };
21
+ //# sourceMappingURL=connection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"connection.js","sourceRoot":"","sources":["../../../src/directives/v1/connection.ts"],"names":[],"mappings":";;;AAEA,MAAM,IAAI,GAAG,YAAY,CAAC;AAC1B,MAAM,UAAU,GAAiB;eAClB,IAAI;;;;;;;;CAQlB,CAAC;AACF,MAAM,QAAQ,GAAG,EAAE,CAAC;AAEP,QAAA,qBAAqB,GAAc;IAC9C,IAAI;IACJ,UAAU;IACV,QAAQ;CACT,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { Directive } from '../directive';
2
+ export declare const FunctionDirectiveV1: Directive;
3
+ //# sourceMappingURL=function.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"function.d.ts","sourceRoot":"","sources":["../../../src/directives/v1/function.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAQzC,eAAO,MAAM,mBAAmB,EAAE,SAIjC,CAAC"}
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FunctionDirectiveV1 = void 0;
4
+ const name = 'function';
5
+ const definition = `
6
+ directive @function(name: String!, region: String) repeatable on FIELD_DEFINITION
7
+ `;
8
+ const defaults = {};
9
+ exports.FunctionDirectiveV1 = {
10
+ name,
11
+ definition,
12
+ defaults,
13
+ };
14
+ //# sourceMappingURL=function.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"function.js","sourceRoot":"","sources":["../../../src/directives/v1/function.ts"],"names":[],"mappings":";;;AAEA,MAAM,IAAI,GAAG,UAAU,CAAC;AACxB,MAAM,UAAU,GAAiB;;CAEhC,CAAC;AACF,MAAM,QAAQ,GAAG,EAAE,CAAC;AAEP,QAAA,mBAAmB,GAAc;IAC5C,IAAI;IACJ,UAAU;IACV,QAAQ;CACT,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { Directive } from '../directive';
2
+ export type HttpDirectiveV1Defaults = {
3
+ method: string;
4
+ headers: string[];
5
+ };
6
+ export declare const HttpDirectiveV1: Directive<HttpDirectiveV1Defaults>;
7
+ //# sourceMappingURL=http.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"http.d.ts","sourceRoot":"","sources":["../../../src/directives/v1/http.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,MAAM,MAAM,uBAAuB,GAAG;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,EAAE,CAAA;CAAE,CAAC;AAuB5E,eAAO,MAAM,eAAe,EAAE,SAAS,CAAC,uBAAuB,CAI9D,CAAC"}
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.HttpDirectiveV1 = void 0;
4
+ const name = 'http';
5
+ const defaults = {
6
+ method: 'GET',
7
+ headers: [],
8
+ };
9
+ const definition = `
10
+ directive @${name}(method: HttpMethod = ${defaults.method}, url: String!, headers: [HttpHeader] = ${JSON.stringify(defaults.headers)}) on FIELD_DEFINITION
11
+ enum HttpMethod {
12
+ GET
13
+ POST
14
+ PUT
15
+ DELETE
16
+ PATCH
17
+ }
18
+ input HttpHeader {
19
+ key: String
20
+ value: String
21
+ }
22
+ `;
23
+ exports.HttpDirectiveV1 = {
24
+ name,
25
+ definition,
26
+ defaults,
27
+ };
28
+ //# sourceMappingURL=http.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"http.js","sourceRoot":"","sources":["../../../src/directives/v1/http.ts"],"names":[],"mappings":";;;AAGA,MAAM,IAAI,GAAG,MAAM,CAAC;AACpB,MAAM,QAAQ,GAA4B;IACxC,MAAM,EAAE,KAAK;IACb,OAAO,EAAE,EAAE;CACZ,CAAC;AACF,MAAM,UAAU,GAAiB;eAClB,IAAI,yBAAyB,QAAQ,CAAC,MAAM,2CAA2C,IAAI,CAAC,SAAS,CAClH,QAAQ,CAAC,OAAO,CACjB;;;;;;;;;;;;CAYA,CAAC;AAEW,QAAA,eAAe,GAAuC;IACjE,IAAI;IACJ,UAAU;IACV,QAAQ;CACT,CAAC"}
@@ -0,0 +1,10 @@
1
+ export { AuthDirectiveV1 } from './auth';
2
+ export { ConnectionDirectiveV1 } from './connection';
3
+ export { FunctionDirectiveV1 } from './function';
4
+ export { HttpDirectiveV1 } from './http';
5
+ export { KeyDirectiveV1 } from './key';
6
+ export { ModelDirectiveV1 } from './model';
7
+ export { PredictionsDirectiveV1 } from './predictions';
8
+ export { SearchableDirectiveV1 } from './searchable';
9
+ export { VersionedDirectiveV1, VersionedDirectiveV1Defaults } from './versioned';
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/directives/v1/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,QAAQ,CAAC;AACzC,OAAO,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,QAAQ,CAAC;AACzC,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,sBAAsB,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAAE,oBAAoB,EAAE,4BAA4B,EAAE,MAAM,aAAa,CAAC"}
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.VersionedDirectiveV1 = exports.SearchableDirectiveV1 = exports.PredictionsDirectiveV1 = exports.ModelDirectiveV1 = exports.KeyDirectiveV1 = exports.HttpDirectiveV1 = exports.FunctionDirectiveV1 = exports.ConnectionDirectiveV1 = exports.AuthDirectiveV1 = void 0;
4
+ var auth_1 = require("./auth");
5
+ Object.defineProperty(exports, "AuthDirectiveV1", { enumerable: true, get: function () { return auth_1.AuthDirectiveV1; } });
6
+ var connection_1 = require("./connection");
7
+ Object.defineProperty(exports, "ConnectionDirectiveV1", { enumerable: true, get: function () { return connection_1.ConnectionDirectiveV1; } });
8
+ var function_1 = require("./function");
9
+ Object.defineProperty(exports, "FunctionDirectiveV1", { enumerable: true, get: function () { return function_1.FunctionDirectiveV1; } });
10
+ var http_1 = require("./http");
11
+ Object.defineProperty(exports, "HttpDirectiveV1", { enumerable: true, get: function () { return http_1.HttpDirectiveV1; } });
12
+ var key_1 = require("./key");
13
+ Object.defineProperty(exports, "KeyDirectiveV1", { enumerable: true, get: function () { return key_1.KeyDirectiveV1; } });
14
+ var model_1 = require("./model");
15
+ Object.defineProperty(exports, "ModelDirectiveV1", { enumerable: true, get: function () { return model_1.ModelDirectiveV1; } });
16
+ var predictions_1 = require("./predictions");
17
+ Object.defineProperty(exports, "PredictionsDirectiveV1", { enumerable: true, get: function () { return predictions_1.PredictionsDirectiveV1; } });
18
+ var searchable_1 = require("./searchable");
19
+ Object.defineProperty(exports, "SearchableDirectiveV1", { enumerable: true, get: function () { return searchable_1.SearchableDirectiveV1; } });
20
+ var versioned_1 = require("./versioned");
21
+ Object.defineProperty(exports, "VersionedDirectiveV1", { enumerable: true, get: function () { return versioned_1.VersionedDirectiveV1; } });
22
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/directives/v1/index.ts"],"names":[],"mappings":";;;AAAA,+BAAyC;AAAhC,uGAAA,eAAe,OAAA;AACxB,2CAAqD;AAA5C,mHAAA,qBAAqB,OAAA;AAC9B,uCAAiD;AAAxC,+GAAA,mBAAmB,OAAA;AAC5B,+BAAyC;AAAhC,uGAAA,eAAe,OAAA;AACxB,6BAAuC;AAA9B,qGAAA,cAAc,OAAA;AACvB,iCAA2C;AAAlC,yGAAA,gBAAgB,OAAA;AACzB,6CAAuD;AAA9C,qHAAA,sBAAsB,OAAA;AAC/B,2CAAqD;AAA5C,mHAAA,qBAAqB,OAAA;AAC9B,yCAAiF;AAAxE,iHAAA,oBAAoB,OAAA"}
@@ -0,0 +1,3 @@
1
+ import { Directive } from '../directive';
2
+ export declare const KeyDirectiveV1: Directive;
3
+ //# sourceMappingURL=key.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"key.d.ts","sourceRoot":"","sources":["../../../src/directives/v1/key.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAQzC,eAAO,MAAM,cAAc,EAAE,SAI5B,CAAC"}
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.KeyDirectiveV1 = void 0;
4
+ const name = 'key';
5
+ const definition = `
6
+ directive @${name}(name: String, fields: [String!]!, queryField: String) repeatable on OBJECT
7
+ `;
8
+ const defaults = {};
9
+ exports.KeyDirectiveV1 = {
10
+ name,
11
+ definition,
12
+ defaults,
13
+ };
14
+ //# sourceMappingURL=key.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"key.js","sourceRoot":"","sources":["../../../src/directives/v1/key.ts"],"names":[],"mappings":";;;AAEA,MAAM,IAAI,GAAG,KAAK,CAAC;AACnB,MAAM,UAAU,GAAiB;eAClB,IAAI;CAClB,CAAC;AACF,MAAM,QAAQ,GAAG,EAAE,CAAC;AAEP,QAAA,cAAc,GAAc;IACvC,IAAI;IACJ,UAAU;IACV,QAAQ;CACT,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { Directive } from '../directive';
2
+ export declare const ModelDirectiveV1: Directive;
3
+ //# sourceMappingURL=model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../../../src/directives/v1/model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAqCzC,eAAO,MAAM,gBAAgB,EAAE,SAI9B,CAAC"}
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ModelDirectiveV1 = void 0;
4
+ const name = 'model';
5
+ const definition = `
6
+ directive @${name}(
7
+ queries: ModelQueryMap
8
+ mutations: ModelMutationMap
9
+ subscriptions: ModelSubscriptionMap
10
+ timestamps: TimestampConfiguration
11
+ ) on OBJECT
12
+ input ModelMutationMap {
13
+ create: String
14
+ update: String
15
+ delete: String
16
+ }
17
+ input ModelQueryMap {
18
+ get: String
19
+ list: String
20
+ }
21
+ input ModelSubscriptionMap {
22
+ onCreate: [String]
23
+ onUpdate: [String]
24
+ onDelete: [String]
25
+ level: ModelSubscriptionLevel
26
+ }
27
+ enum ModelSubscriptionLevel {
28
+ off
29
+ public
30
+ on
31
+ }
32
+ input TimestampConfiguration {
33
+ createdAt: String
34
+ updatedAt: String
35
+ }
36
+ `;
37
+ const defaults = {};
38
+ exports.ModelDirectiveV1 = {
39
+ name,
40
+ definition,
41
+ defaults,
42
+ };
43
+ //# sourceMappingURL=model.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"model.js","sourceRoot":"","sources":["../../../src/directives/v1/model.ts"],"names":[],"mappings":";;;AAEA,MAAM,IAAI,GAAG,OAAO,CAAC;AACrB,MAAM,UAAU,GAAiB;eAClB,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8BlB,CAAC;AACF,MAAM,QAAQ,GAAG,EAAE,CAAC;AAEP,QAAA,gBAAgB,GAAc;IACzC,IAAI;IACJ,UAAU;IACV,QAAQ;CACT,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { Directive } from '../directive';
2
+ export declare const PredictionsDirectiveV1: Directive;
3
+ //# sourceMappingURL=predictions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"predictions.d.ts","sourceRoot":"","sources":["../../../src/directives/v1/predictions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAczC,eAAO,MAAM,sBAAsB,EAAE,SAIpC,CAAC"}
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PredictionsDirectiveV1 = void 0;
4
+ const name = 'predictions';
5
+ const definition = `
6
+ directive @${name}(actions: [PredictionsActions!]!) on FIELD_DEFINITION
7
+ enum PredictionsActions {
8
+ identifyText
9
+ identifyLabels
10
+ convertTextToSpeech
11
+ translateText
12
+ }
13
+ `;
14
+ const defaults = {};
15
+ exports.PredictionsDirectiveV1 = {
16
+ name,
17
+ definition,
18
+ defaults,
19
+ };
20
+ //# sourceMappingURL=predictions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"predictions.js","sourceRoot":"","sources":["../../../src/directives/v1/predictions.ts"],"names":[],"mappings":";;;AAEA,MAAM,IAAI,GAAG,aAAa,CAAC;AAC3B,MAAM,UAAU,GAAiB;eAClB,IAAI;;;;;;;CAOlB,CAAC;AACF,MAAM,QAAQ,GAAG,EAAE,CAAC;AAEP,QAAA,sBAAsB,GAAc;IAC/C,IAAI;IACJ,UAAU;IACV,QAAQ;CACT,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { Directive } from '../directive';
2
+ export declare const SearchableDirectiveV1: Directive;
3
+ //# sourceMappingURL=searchable.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"searchable.d.ts","sourceRoot":"","sources":["../../../src/directives/v1/searchable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAWzC,eAAO,MAAM,qBAAqB,EAAE,SAInC,CAAC"}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SearchableDirectiveV1 = void 0;
4
+ const name = 'searchable';
5
+ const definition = `
6
+ directive @${name}(queries: SearchableQueryMap) on OBJECT
7
+ input SearchableQueryMap {
8
+ search: String
9
+ }
10
+ `;
11
+ const defaults = {};
12
+ exports.SearchableDirectiveV1 = {
13
+ name,
14
+ definition,
15
+ defaults,
16
+ };
17
+ //# sourceMappingURL=searchable.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"searchable.js","sourceRoot":"","sources":["../../../src/directives/v1/searchable.ts"],"names":[],"mappings":";;;AAEA,MAAM,IAAI,GAAG,YAAY,CAAC;AAC1B,MAAM,UAAU,GAAiB;eAClB,IAAI;;;;CAIlB,CAAC;AACF,MAAM,QAAQ,GAAG,EAAE,CAAC;AAEP,QAAA,qBAAqB,GAAc;IAC9C,IAAI;IACJ,UAAU;IACV,QAAQ;CACT,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { Directive } from '../directive';
2
+ export type VersionedDirectiveV1Defaults = {
3
+ versionField: string;
4
+ versionInput: string;
5
+ };
6
+ export declare const VersionedDirectiveV1: Directive<VersionedDirectiveV1Defaults>;
7
+ //# sourceMappingURL=versioned.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"versioned.d.ts","sourceRoot":"","sources":["../../../src/directives/v1/versioned.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,MAAM,MAAM,4BAA4B,GAAG;IAAE,YAAY,EAAE,MAAM,CAAC;IAAC,YAAY,EAAE,MAAM,CAAA;CAAE,CAAC;AAU1F,eAAO,MAAM,oBAAoB,EAAE,SAAS,CAAC,4BAA4B,CAIxE,CAAC"}