@aws-amplify/graphql-api-construct 1.6.0-secrets-manager.0 → 1.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (139) hide show
  1. package/.jsii +298 -348
  2. package/API.md +14 -18
  3. package/CHANGELOG.md +11 -2
  4. package/README.md +17 -75
  5. package/lib/amplify-dynamodb-table-wrapper.d.ts +6 -1
  6. package/lib/amplify-dynamodb-table-wrapper.js +9 -2
  7. package/lib/amplify-graphql-api.d.ts +2 -2
  8. package/lib/amplify-graphql-api.js +10 -7
  9. package/lib/amplify-graphql-definition.js +1 -1
  10. package/lib/index.d.ts +1 -1
  11. package/lib/index.js +1 -1
  12. package/lib/internal/construct-exports.js +13 -3
  13. package/lib/internal/data-source-config.js +4 -37
  14. package/lib/model-datasource-strategy-types.d.ts +1 -25
  15. package/lib/model-datasource-strategy-types.js +1 -1
  16. package/lib/sql-model-datasource-strategy.d.ts +1 -13
  17. package/lib/sql-model-datasource-strategy.js +4 -26
  18. package/lib/types.d.ts +17 -5
  19. package/lib/types.js +1 -1
  20. package/node_modules/@aws-amplify/graphql-auth-transformer/CHANGELOG.md +13 -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 +34 -1
  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/validations.d.ts.map +1 -1
  25. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/validations.js +0 -3
  26. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/utils/validations.js.map +1 -1
  27. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/rds/resolvers/query.d.ts.map +1 -1
  28. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/rds/resolvers/query.js +3 -2
  29. package/node_modules/@aws-amplify/graphql-auth-transformer/lib/vtl-generator/rds/resolvers/query.js.map +1 -1
  30. package/node_modules/@aws-amplify/graphql-auth-transformer/package.json +20 -14
  31. package/node_modules/@aws-amplify/graphql-default-value-transformer/CHANGELOG.md +11 -1
  32. package/node_modules/@aws-amplify/graphql-default-value-transformer/package.json +15 -9
  33. package/node_modules/@aws-amplify/graphql-function-transformer/CHANGELOG.md +5 -1
  34. package/node_modules/@aws-amplify/graphql-function-transformer/package.json +14 -9
  35. package/node_modules/@aws-amplify/graphql-http-transformer/CHANGELOG.md +5 -1
  36. package/node_modules/@aws-amplify/graphql-http-transformer/package.json +14 -9
  37. package/node_modules/@aws-amplify/graphql-index-transformer/CHANGELOG.md +9 -1
  38. package/node_modules/@aws-amplify/graphql-index-transformer/package.json +15 -9
  39. package/node_modules/@aws-amplify/graphql-maps-to-transformer/CHANGELOG.md +9 -1
  40. package/node_modules/@aws-amplify/graphql-maps-to-transformer/lib/assets/mapping-lambda.zip +0 -0
  41. package/node_modules/@aws-amplify/graphql-maps-to-transformer/package.json +16 -14
  42. package/node_modules/@aws-amplify/graphql-model-transformer/API.md +1 -1
  43. package/node_modules/@aws-amplify/graphql-model-transformer/CHANGELOG.md +12 -3
  44. package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-model-transformer.d.ts.map +1 -1
  45. package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-model-transformer.js +12 -9
  46. package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-model-transformer.js.map +1 -1
  47. package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-types/common.d.ts.map +1 -1
  48. package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-types/common.js.map +1 -1
  49. package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-types/mutation.d.ts +1 -1
  50. package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-types/mutation.d.ts.map +1 -1
  51. package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-types/mutation.js +9 -1
  52. package/node_modules/@aws-amplify/graphql-model-transformer/lib/graphql-types/mutation.js.map +1 -1
  53. package/node_modules/@aws-amplify/graphql-model-transformer/lib/rds-lambda.zip +0 -0
  54. package/node_modules/@aws-amplify/graphql-model-transformer/lib/rds-notification-lambda.zip +0 -0
  55. package/node_modules/@aws-amplify/graphql-model-transformer/lib/rds-patching-lambda.zip +0 -0
  56. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/rds/resolver.d.ts +1 -5
  57. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/rds/resolver.d.ts.map +1 -1
  58. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/rds/resolver.js +26 -71
  59. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resolvers/rds/resolver.js.map +1 -1
  60. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-dynamo-model-resource-generator.d.ts.map +1 -1
  61. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-dynamo-model-resource-generator.js +1 -0
  62. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/amplify-dynamodb-table/amplify-dynamo-model-resource-generator.js.map +1 -1
  63. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/rds-model-resource-generator.d.ts.map +1 -1
  64. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/rds-model-resource-generator.js +7 -21
  65. package/node_modules/@aws-amplify/graphql-model-transformer/lib/resources/rds-model-resource-generator.js.map +1 -1
  66. package/node_modules/@aws-amplify/graphql-model-transformer/package.json +17 -11
  67. package/node_modules/@aws-amplify/graphql-predictions-transformer/CHANGELOG.md +5 -1
  68. package/node_modules/@aws-amplify/graphql-predictions-transformer/lib/predictionsLambdaFunction.zip +0 -0
  69. package/node_modules/@aws-amplify/graphql-predictions-transformer/package.json +14 -9
  70. package/node_modules/@aws-amplify/graphql-relational-transformer/CHANGELOG.md +11 -1
  71. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/schema.d.ts.map +1 -1
  72. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/schema.js +13 -3
  73. package/node_modules/@aws-amplify/graphql-relational-transformer/lib/schema.js.map +1 -1
  74. package/node_modules/@aws-amplify/graphql-relational-transformer/package.json +17 -11
  75. package/node_modules/@aws-amplify/graphql-searchable-transformer/CHANGELOG.md +11 -1
  76. package/node_modules/@aws-amplify/graphql-searchable-transformer/lib/streaming-lambda.zip +0 -0
  77. package/node_modules/@aws-amplify/graphql-searchable-transformer/package.json +15 -9
  78. package/node_modules/@aws-amplify/graphql-sql-transformer/CHANGELOG.md +9 -1
  79. package/node_modules/@aws-amplify/graphql-sql-transformer/package.json +16 -10
  80. package/node_modules/@aws-amplify/graphql-transformer/CHANGELOG.md +9 -3
  81. package/node_modules/@aws-amplify/graphql-transformer/package.json +23 -17
  82. package/node_modules/@aws-amplify/graphql-transformer-core/API.md +12 -0
  83. package/node_modules/@aws-amplify/graphql-transformer-core/CHANGELOG.md +7 -1
  84. package/node_modules/@aws-amplify/graphql-transformer-core/lib/index.d.ts +1 -1
  85. package/node_modules/@aws-amplify/graphql-transformer-core/lib/index.d.ts.map +1 -1
  86. package/node_modules/@aws-amplify/graphql-transformer-core/lib/index.js +6 -2
  87. package/node_modules/@aws-amplify/graphql-transformer-core/lib/index.js.map +1 -1
  88. package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/output.d.ts +2 -0
  89. package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/output.d.ts.map +1 -1
  90. package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/output.js +14 -0
  91. package/node_modules/@aws-amplify/graphql-transformer-core/lib/transformer-context/output.js.map +1 -1
  92. package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/index.d.ts +1 -1
  93. package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/index.d.ts.map +1 -1
  94. package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/index.js +5 -1
  95. package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/index.js.map +1 -1
  96. package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/model-util.d.ts +4 -0
  97. package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/model-util.d.ts.map +1 -1
  98. package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/model-util.js +18 -1
  99. package/node_modules/@aws-amplify/graphql-transformer-core/lib/utils/model-util.js.map +1 -1
  100. package/node_modules/@aws-amplify/graphql-transformer-core/package.json +14 -9
  101. package/node_modules/@aws-amplify/graphql-transformer-interfaces/API.md +5 -27
  102. package/node_modules/@aws-amplify/graphql-transformer-interfaces/CHANGELOG.md +2 -2
  103. package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/model-datasource/types.d.ts +1 -12
  104. package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/model-datasource/types.d.ts.map +1 -1
  105. package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/model-datasource/types.js +0 -22
  106. package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/model-datasource/types.js.map +1 -1
  107. package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/transformer-context-output-provider.d.ts +2 -0
  108. package/node_modules/@aws-amplify/graphql-transformer-interfaces/lib/transformer-context/transformer-context-output-provider.d.ts.map +1 -1
  109. package/node_modules/@aws-amplify/graphql-transformer-interfaces/package.json +8 -3
  110. package/node_modules/@aws-amplify/graphql-transformer-interfaces/src/model-datasource/types.ts +1 -76
  111. package/node_modules/@aws-amplify/graphql-transformer-interfaces/src/transformer-context/transformer-context-output-provider.ts +4 -0
  112. package/node_modules/@aws-amplify/graphql-transformer-interfaces/tsconfig.tsbuildinfo +1 -1
  113. package/node_modules/graphql-mapping-template/CHANGELOG.md +4 -0
  114. package/node_modules/graphql-mapping-template/package.json +10 -4
  115. package/node_modules/graphql-transformer-common/API.md +14 -0
  116. package/node_modules/graphql-transformer-common/CHANGELOG.md +10 -0
  117. package/node_modules/graphql-transformer-common/lib/TypescriptSchemaConstants.d.ts +13 -0
  118. package/node_modules/graphql-transformer-common/lib/TypescriptSchemaConstants.d.ts.map +1 -0
  119. package/node_modules/graphql-transformer-common/lib/TypescriptSchemaConstants.js +16 -0
  120. package/node_modules/graphql-transformer-common/lib/TypescriptSchemaConstants.js.map +1 -0
  121. package/node_modules/graphql-transformer-common/lib/index.d.ts +1 -0
  122. package/node_modules/graphql-transformer-common/lib/index.d.ts.map +1 -1
  123. package/node_modules/graphql-transformer-common/lib/index.js +1 -0
  124. package/node_modules/graphql-transformer-common/lib/index.js.map +1 -1
  125. package/node_modules/graphql-transformer-common/package.json +11 -5
  126. package/package.json +27 -21
  127. package/src/amplify-dynamodb-table-wrapper.ts +9 -1
  128. package/src/amplify-graphql-api.ts +15 -7
  129. package/src/index.ts +1 -0
  130. package/src/internal/construct-exports.ts +14 -4
  131. package/src/internal/data-source-config.ts +9 -42
  132. package/src/model-datasource-strategy-types.ts +1 -33
  133. package/src/sql-model-datasource-strategy.ts +1 -32
  134. package/src/types.ts +19 -6
  135. package/node_modules/@aws-amplify/graphql-function-transformer/LICENSE +0 -201
  136. package/node_modules/@aws-amplify/graphql-http-transformer/LICENSE +0 -201
  137. package/node_modules/@aws-amplify/graphql-predictions-transformer/LICENSE +0 -201
  138. package/node_modules/@aws-amplify/graphql-transformer-core/LICENSE +0 -201
  139. package/node_modules/@aws-amplify/graphql-transformer-interfaces/LICENSE +0 -201
@@ -1 +1 @@
1
- {"version":3,"file":"query.js","sourceRoot":"","sources":["../../../../src/vtl-generator/rds/resolvers/query.ts"],"names":[],"mappings":";;;AAAA,uEAAkI;AAGlI,sFAAuE;AAEvE,qCAA6G;AAEtG,MAAM,gCAAgC,GAAG,CAE9C,GAA+B,EAC/B,SAAkC,EAClC,KAA4B,EAC5B,MAA0C,EAE1C,GAA6B,EAE7B,SAA6B,EACrB,EAAE;IACV,MAAM,WAAW,GAAG,EAAE,CAAC;IACvB,WAAW,CAAC,IAAI,CAAC,IAAA,6CAAkB,EAAC,IAAA,mCAA0B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,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC;IACxG,WAAW,CAAC,IAAI,CAAC,IAAA,2BAAkB,GAAE,EAAE,IAAA,4BAAmB,GAAE,EAAE,qBAAY,CAAC,CAAC;IAC5E,OAAO,IAAA,qCAAU,EAAC,qBAAqB,CAAC,CAAC,IAAA,6CAAkB,EAAC,WAAW,CAAC,CAAC,CAAC;AAC5E,CAAC,CAAC;AAlBW,QAAA,sCAAsC,0CAkBjD"}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-amplify/graphql-auth-transformer",
3
- "version": "3.3.6-secrets-manager.0",
3
+ "version": "3.4.1",
4
4
  "description": "Amplify GraphQL @auth transformer",
5
5
  "repository": {
6
6
  "type": "git",
@@ -29,22 +29,22 @@
29
29
  "extract-api": "ts-node ../../scripts/extract-api.ts"
30
30
  },
31
31
  "dependencies": {
32
- "@aws-amplify/graphql-model-transformer": "2.5.0-secrets-manager.0",
33
- "@aws-amplify/graphql-relational-transformer": "2.3.6-secrets-manager.0",
34
- "@aws-amplify/graphql-transformer-core": "2.4.5-secrets-manager.0",
35
- "@aws-amplify/graphql-transformer-interfaces": "3.4.0-secrets-manager.0",
32
+ "@aws-amplify/graphql-model-transformer": "2.6.0",
33
+ "@aws-amplify/graphql-relational-transformer": "2.4.1",
34
+ "@aws-amplify/graphql-transformer-core": "2.5.0",
35
+ "@aws-amplify/graphql-transformer-interfaces": "3.4.0",
36
36
  "graphql": "^15.5.0",
37
- "graphql-mapping-template": "4.20.14",
38
- "graphql-transformer-common": "4.27.1",
37
+ "graphql-mapping-template": "4.20.15",
38
+ "graphql-transformer-common": "4.28.1",
39
39
  "lodash": "^4.17.21",
40
40
  "md5": "^2.3.0"
41
41
  },
42
42
  "devDependencies": {
43
- "@aws-amplify/graphql-function-transformer": "2.1.17-secrets-manager.0",
44
- "@aws-amplify/graphql-index-transformer": "2.3.5-secrets-manager.0",
45
- "@aws-amplify/graphql-searchable-transformer": "2.5.2-secrets-manager.0",
46
- "@aws-amplify/graphql-sql-transformer": "0.2.5-secrets-manager.0",
47
- "@aws-amplify/graphql-transformer-test-utils": "0.4.5-secrets-manager.0",
43
+ "@aws-amplify/graphql-function-transformer": "2.1.18",
44
+ "@aws-amplify/graphql-index-transformer": "2.3.7",
45
+ "@aws-amplify/graphql-searchable-transformer": "2.6.1",
46
+ "@aws-amplify/graphql-sql-transformer": "0.2.7",
47
+ "@aws-amplify/graphql-transformer-test-utils": "0.4.6",
48
48
  "@types/node": "^12.12.6"
49
49
  },
50
50
  "peerDependencies": {
@@ -78,7 +78,13 @@
78
78
  "clover",
79
79
  "text"
80
80
  ],
81
- "testEnvironment": "../../FixJestEnvironment.js"
81
+ "testEnvironment": "../../FixJestEnvironment.js",
82
+ "collectCoverageFrom": [
83
+ "src/**/*.ts"
84
+ ],
85
+ "coveragePathIgnorePatterns": [
86
+ "/__tests__/"
87
+ ]
82
88
  },
83
- "gitHead": "1b45d39e2064522f7bce51bd8bf5135742d4ce14"
89
+ "gitHead": "9a0fb53d5df94e76811cbbdc4f3fc98fc6278c41"
84
90
  }
@@ -3,7 +3,17 @@
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.2.5-secrets-manager.0](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-default-value-transformer@2.2.4...@aws-amplify/graphql-default-value-transformer@2.2.5-secrets-manager.0) (2024-02-21)
6
+ ## [2.3.1](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-default-value-transformer@2.3.0...@aws-amplify/graphql-default-value-transformer@2.3.1) (2024-03-13)
7
+
8
+ **Note:** Version bump only for package @aws-amplify/graphql-default-value-transformer
9
+
10
+ # [2.3.0](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-default-value-transformer@2.2.5...@aws-amplify/graphql-default-value-transformer@2.3.0) (2024-02-28)
11
+
12
+ ### Features
13
+
14
+ - add implicit fields to filter input ([#2236](https://github.com/aws-amplify/amplify-category-api/issues/2236)) ([f7ec601](https://github.com/aws-amplify/amplify-category-api/commit/f7ec6014d4eecfede186129a6ea19041780bafb3))
15
+
16
+ ## [2.2.5](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-default-value-transformer@2.2.4...@aws-amplify/graphql-default-value-transformer@2.2.5) (2024-02-05)
7
17
 
8
18
  **Note:** Version bump only for package @aws-amplify/graphql-default-value-transformer
9
19
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-amplify/graphql-default-value-transformer",
3
- "version": "2.2.5-secrets-manager.0",
3
+ "version": "2.3.1",
4
4
  "description": "Amplify GraphQL default value transformer",
5
5
  "repository": {
6
6
  "type": "git",
@@ -29,16 +29,16 @@
29
29
  "extract-api": "ts-node ../../scripts/extract-api.ts"
30
30
  },
31
31
  "dependencies": {
32
- "@aws-amplify/graphql-transformer-core": "2.4.5-secrets-manager.0",
33
- "@aws-amplify/graphql-transformer-interfaces": "3.4.0-secrets-manager.0",
32
+ "@aws-amplify/graphql-transformer-core": "2.5.0",
33
+ "@aws-amplify/graphql-transformer-interfaces": "3.4.0",
34
34
  "graphql": "^15.5.0",
35
- "graphql-mapping-template": "4.20.14",
36
- "graphql-transformer-common": "4.27.1",
35
+ "graphql-mapping-template": "4.20.15",
36
+ "graphql-transformer-common": "4.28.1",
37
37
  "libphonenumber-js": "1.9.47"
38
38
  },
39
39
  "devDependencies": {
40
- "@aws-amplify/graphql-model-transformer": "2.5.0-secrets-manager.0",
41
- "@aws-amplify/graphql-transformer-test-utils": "0.4.5-secrets-manager.0"
40
+ "@aws-amplify/graphql-model-transformer": "2.6.0",
41
+ "@aws-amplify/graphql-transformer-test-utils": "0.4.6"
42
42
  },
43
43
  "jest": {
44
44
  "transform": {
@@ -67,7 +67,13 @@
67
67
  "clover",
68
68
  "text"
69
69
  ],
70
- "testEnvironment": "../../FixJestEnvironment.js"
70
+ "testEnvironment": "../../FixJestEnvironment.js",
71
+ "collectCoverageFrom": [
72
+ "src/**/*.ts"
73
+ ],
74
+ "coveragePathIgnorePatterns": [
75
+ "/__tests__/"
76
+ ]
71
77
  },
72
- "gitHead": "1b45d39e2064522f7bce51bd8bf5135742d4ce14"
78
+ "gitHead": "9a0fb53d5df94e76811cbbdc4f3fc98fc6278c41"
73
79
  }
@@ -3,7 +3,11 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- ## [2.1.17-secrets-manager.0](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-function-transformer@2.1.16...@aws-amplify/graphql-function-transformer@2.1.17-secrets-manager.0) (2024-02-21)
6
+ ## [2.1.18](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-function-transformer@2.1.17...@aws-amplify/graphql-function-transformer@2.1.18) (2024-02-28)
7
+
8
+ **Note:** Version bump only for package @aws-amplify/graphql-function-transformer
9
+
10
+ ## [2.1.17](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-function-transformer@2.1.16...@aws-amplify/graphql-function-transformer@2.1.17) (2024-02-05)
7
11
 
8
12
  **Note:** Version bump only for package @aws-amplify/graphql-function-transformer
9
13
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-amplify/graphql-function-transformer",
3
- "version": "2.1.17-secrets-manager.0",
3
+ "version": "2.1.18",
4
4
  "description": "Amplify GraphQL @function transformer",
5
5
  "repository": {
6
6
  "type": "git",
@@ -28,14 +28,14 @@
28
28
  "extract-api": "ts-node ../../scripts/extract-api.ts"
29
29
  },
30
30
  "dependencies": {
31
- "@aws-amplify/graphql-transformer-core": "2.4.5-secrets-manager.0",
32
- "@aws-amplify/graphql-transformer-interfaces": "3.4.0-secrets-manager.0",
31
+ "@aws-amplify/graphql-transformer-core": "2.5.0",
32
+ "@aws-amplify/graphql-transformer-interfaces": "3.4.0",
33
33
  "graphql": "^15.5.0",
34
- "graphql-mapping-template": "4.20.14",
35
- "graphql-transformer-common": "4.27.1"
34
+ "graphql-mapping-template": "4.20.15",
35
+ "graphql-transformer-common": "4.28.1"
36
36
  },
37
37
  "devDependencies": {
38
- "@aws-amplify/graphql-transformer-test-utils": "0.4.5-secrets-manager.0"
38
+ "@aws-amplify/graphql-transformer-test-utils": "0.4.6"
39
39
  },
40
40
  "peerDependencies": {
41
41
  "aws-cdk-lib": "^2.80.0",
@@ -70,7 +70,12 @@
70
70
  "modulePathIgnorePatterns": [
71
71
  "overrides"
72
72
  ],
73
- "testEnvironment": "../../FixJestEnvironment.js"
74
- },
75
- "gitHead": "1b45d39e2064522f7bce51bd8bf5135742d4ce14"
73
+ "testEnvironment": "../../FixJestEnvironment.js",
74
+ "collectCoverageFrom": [
75
+ "src/**/*.ts"
76
+ ],
77
+ "coveragePathIgnorePatterns": [
78
+ "/__tests__/"
79
+ ]
80
+ }
76
81
  }
@@ -3,7 +3,11 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- ## [2.1.17-secrets-manager.0](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-http-transformer@2.1.16...@aws-amplify/graphql-http-transformer@2.1.17-secrets-manager.0) (2024-02-21)
6
+ ## [2.1.18](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-http-transformer@2.1.17...@aws-amplify/graphql-http-transformer@2.1.18) (2024-02-28)
7
+
8
+ **Note:** Version bump only for package @aws-amplify/graphql-http-transformer
9
+
10
+ ## [2.1.17](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-http-transformer@2.1.16...@aws-amplify/graphql-http-transformer@2.1.17) (2024-02-05)
7
11
 
8
12
  **Note:** Version bump only for package @aws-amplify/graphql-http-transformer
9
13
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-amplify/graphql-http-transformer",
3
- "version": "2.1.17-secrets-manager.0",
3
+ "version": "2.1.18",
4
4
  "description": "Amplify GraphQL @http transformer",
5
5
  "repository": {
6
6
  "type": "git",
@@ -28,14 +28,14 @@
28
28
  "extract-api": "ts-node ../../scripts/extract-api.ts"
29
29
  },
30
30
  "dependencies": {
31
- "@aws-amplify/graphql-transformer-core": "2.4.5-secrets-manager.0",
32
- "@aws-amplify/graphql-transformer-interfaces": "3.4.0-secrets-manager.0",
31
+ "@aws-amplify/graphql-transformer-core": "2.5.0",
32
+ "@aws-amplify/graphql-transformer-interfaces": "3.4.0",
33
33
  "graphql": "^15.5.0",
34
- "graphql-mapping-template": "4.20.14",
35
- "graphql-transformer-common": "4.27.1"
34
+ "graphql-mapping-template": "4.20.15",
35
+ "graphql-transformer-common": "4.28.1"
36
36
  },
37
37
  "devDependencies": {
38
- "@aws-amplify/graphql-transformer-test-utils": "0.4.5-secrets-manager.0"
38
+ "@aws-amplify/graphql-transformer-test-utils": "0.4.6"
39
39
  },
40
40
  "peerDependencies": {
41
41
  "aws-cdk-lib": "^2.80.0",
@@ -70,7 +70,12 @@
70
70
  "modulePathIgnorePatterns": [
71
71
  "overrides"
72
72
  ],
73
- "testEnvironment": "../../FixJestEnvironment.js"
74
- },
75
- "gitHead": "1b45d39e2064522f7bce51bd8bf5135742d4ce14"
73
+ "testEnvironment": "../../FixJestEnvironment.js",
74
+ "collectCoverageFrom": [
75
+ "src/**/*.ts"
76
+ ],
77
+ "coveragePathIgnorePatterns": [
78
+ "/__tests__/"
79
+ ]
80
+ }
76
81
  }
@@ -3,7 +3,15 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- ## [2.3.5-secrets-manager.0](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-index-transformer@2.3.4...@aws-amplify/graphql-index-transformer@2.3.5-secrets-manager.0) (2024-02-21)
6
+ ## [2.3.7](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-index-transformer@2.3.6...@aws-amplify/graphql-index-transformer@2.3.7) (2024-03-13)
7
+
8
+ **Note:** Version bump only for package @aws-amplify/graphql-index-transformer
9
+
10
+ ## [2.3.6](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-index-transformer@2.3.5...@aws-amplify/graphql-index-transformer@2.3.6) (2024-02-28)
11
+
12
+ **Note:** Version bump only for package @aws-amplify/graphql-index-transformer
13
+
14
+ ## [2.3.5](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-index-transformer@2.3.4...@aws-amplify/graphql-index-transformer@2.3.5) (2024-02-05)
7
15
 
8
16
  **Note:** Version bump only for package @aws-amplify/graphql-index-transformer
9
17
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-amplify/graphql-index-transformer",
3
- "version": "2.3.5-secrets-manager.0",
3
+ "version": "2.3.7",
4
4
  "description": "Amplify GraphQL index and key transformers",
5
5
  "repository": {
6
6
  "type": "git",
@@ -28,15 +28,15 @@
28
28
  "extract-api": "ts-node ../../scripts/extract-api.ts"
29
29
  },
30
30
  "dependencies": {
31
- "@aws-amplify/graphql-model-transformer": "2.5.0-secrets-manager.0",
32
- "@aws-amplify/graphql-transformer-core": "2.4.5-secrets-manager.0",
33
- "@aws-amplify/graphql-transformer-interfaces": "3.4.0-secrets-manager.0",
31
+ "@aws-amplify/graphql-model-transformer": "2.6.0",
32
+ "@aws-amplify/graphql-transformer-core": "2.5.0",
33
+ "@aws-amplify/graphql-transformer-interfaces": "3.4.0",
34
34
  "graphql": "^15.5.0",
35
- "graphql-mapping-template": "4.20.14",
36
- "graphql-transformer-common": "4.27.1"
35
+ "graphql-mapping-template": "4.20.15",
36
+ "graphql-transformer-common": "4.28.1"
37
37
  },
38
38
  "devDependencies": {
39
- "@aws-amplify/graphql-transformer-test-utils": "0.4.5-secrets-manager.0"
39
+ "@aws-amplify/graphql-transformer-test-utils": "0.4.6"
40
40
  },
41
41
  "peerDependencies": {
42
42
  "aws-cdk-lib": "^2.80.0",
@@ -68,7 +68,13 @@
68
68
  "clover",
69
69
  "text"
70
70
  ],
71
- "testEnvironment": "../../FixJestEnvironment.js"
71
+ "testEnvironment": "../../FixJestEnvironment.js",
72
+ "collectCoverageFrom": [
73
+ "src/**/*.ts"
74
+ ],
75
+ "coveragePathIgnorePatterns": [
76
+ "/__tests__/"
77
+ ]
72
78
  },
73
- "gitHead": "1b45d39e2064522f7bce51bd8bf5135742d4ce14"
79
+ "gitHead": "9a0fb53d5df94e76811cbbdc4f3fc98fc6278c41"
74
80
  }
@@ -3,7 +3,15 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- ## [3.4.6-secrets-manager.0](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-maps-to-transformer@3.4.5...@aws-amplify/graphql-maps-to-transformer@3.4.6-secrets-manager.0) (2024-02-21)
6
+ ## [3.4.8](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-maps-to-transformer@3.4.7...@aws-amplify/graphql-maps-to-transformer@3.4.8) (2024-03-13)
7
+
8
+ **Note:** Version bump only for package @aws-amplify/graphql-maps-to-transformer
9
+
10
+ ## [3.4.7](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-maps-to-transformer@3.4.6...@aws-amplify/graphql-maps-to-transformer@3.4.7) (2024-02-28)
11
+
12
+ **Note:** Version bump only for package @aws-amplify/graphql-maps-to-transformer
13
+
14
+ ## [3.4.6](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-maps-to-transformer@3.4.5...@aws-amplify/graphql-maps-to-transformer@3.4.6) (2024-02-05)
7
15
 
8
16
  **Note:** Version bump only for package @aws-amplify/graphql-maps-to-transformer
9
17
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-amplify/graphql-maps-to-transformer",
3
- "version": "3.4.6-secrets-manager.0",
3
+ "version": "3.4.8",
4
4
  "description": "Amplify GraphQL @mapsTo transformer",
5
5
  "repository": {
6
6
  "type": "git",
@@ -30,21 +30,21 @@
30
30
  "extract-api": "ts-node ../../scripts/extract-api.ts"
31
31
  },
32
32
  "dependencies": {
33
- "@aws-amplify/graphql-transformer-core": "2.4.5-secrets-manager.0",
34
- "@aws-amplify/graphql-transformer-interfaces": "3.4.0-secrets-manager.0",
35
- "graphql-mapping-template": "4.20.14",
36
- "graphql-transformer-common": "4.27.1"
33
+ "@aws-amplify/graphql-transformer-core": "2.5.0",
34
+ "@aws-amplify/graphql-transformer-interfaces": "3.4.0",
35
+ "graphql-mapping-template": "4.20.15",
36
+ "graphql-transformer-common": "4.28.1"
37
37
  },
38
38
  "peerDependencies": {
39
39
  "aws-cdk-lib": "^2.80.0",
40
40
  "constructs": "^10.0.5"
41
41
  },
42
42
  "devDependencies": {
43
- "@aws-amplify/graphql-index-transformer": "2.3.5-secrets-manager.0",
44
- "@aws-amplify/graphql-model-transformer": "2.5.0-secrets-manager.0",
45
- "@aws-amplify/graphql-relational-transformer": "2.3.6-secrets-manager.0",
46
- "@aws-amplify/graphql-searchable-transformer": "2.5.2-secrets-manager.0",
47
- "@aws-amplify/graphql-transformer-test-utils": "0.4.5-secrets-manager.0",
43
+ "@aws-amplify/graphql-index-transformer": "2.3.7",
44
+ "@aws-amplify/graphql-model-transformer": "2.6.0",
45
+ "@aws-amplify/graphql-relational-transformer": "2.4.1",
46
+ "@aws-amplify/graphql-searchable-transformer": "2.6.1",
47
+ "@aws-amplify/graphql-transformer-test-utils": "0.4.6",
48
48
  "graphql": "^15.5.0"
49
49
  },
50
50
  "jest": {
@@ -63,8 +63,7 @@
63
63
  "collectCoverage": true,
64
64
  "coverageProvider": "v8",
65
65
  "collectCoverageFrom": [
66
- "src/**",
67
- "!src/__tests__/**"
66
+ "src/**/*.ts"
68
67
  ],
69
68
  "coverageThreshold": {
70
69
  "global": {
@@ -77,7 +76,10 @@
77
76
  "clover",
78
77
  "text"
79
78
  ],
80
- "testEnvironment": "../../FixJestEnvironment.js"
79
+ "testEnvironment": "../../FixJestEnvironment.js",
80
+ "coveragePathIgnorePatterns": [
81
+ "/__tests__/"
82
+ ]
81
83
  },
82
- "gitHead": "1b45d39e2064522f7bce51bd8bf5135742d4ce14"
84
+ "gitHead": "9a0fb53d5df94e76811cbbdc4f3fc98fc6278c41"
83
85
  }
@@ -120,7 +120,7 @@ export function makeModelScalarFilterInputObject(type: string, supportsCondition
120
120
  export const makeModelSortDirectionEnumObject: () => EnumTypeDefinitionNode;
121
121
 
122
122
  // @public (undocumented)
123
- export const makeMutationConditionInput: (ctx: TransformerTransformSchemaStepContextProvider, name: string, object: ObjectTypeDefinitionNode) => InputObjectTypeDefinitionNode;
123
+ export const makeMutationConditionInput: (ctx: TransformerTransformSchemaStepContextProvider, name: string, object: ObjectTypeDefinitionNode, modelDirectiveConfig: ModelDirectiveConfiguration) => InputObjectTypeDefinitionNode;
124
124
 
125
125
  // @public (undocumented)
126
126
  export function makeSizeInputType(): InputObjectTypeDefinitionNode;
@@ -3,12 +3,21 @@
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.5.0-secrets-manager.0](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-model-transformer@2.4.4...@aws-amplify/graphql-model-transformer@2.5.0-secrets-manager.0) (2024-02-21)
6
+ # [2.6.0](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-model-transformer@2.5.0...@aws-amplify/graphql-model-transformer@2.6.0) (2024-03-13)
7
7
 
8
8
  ### Features
9
9
 
10
- - add credential retry logic to sql lambda ([#2233](https://github.com/aws-amplify/amplify-category-api/issues/2233)) ([e766f7d](https://github.com/aws-amplify/amplify-category-api/commit/e766f7d4f2ea669c45d47de50f6163154b29fb71))
11
- - add secrets manager support for sql lambda auth ([#2103](https://github.com/aws-amplify/amplify-category-api/issues/2103)) ([fde423b](https://github.com/aws-amplify/amplify-category-api/commit/fde423bba09403c6bfd6788cc63546d629d756b6))
10
+ - expose table representative & access refactor for amplify managed table in api construct ([8777cd1](https://github.com/aws-amplify/amplify-category-api/commit/8777cd1d9609ef4d85c5ea3c95b249cc13ade6e4))
11
+
12
+ # [2.5.0](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-model-transformer@2.4.5...@aws-amplify/graphql-model-transformer@2.5.0) (2024-02-28)
13
+
14
+ ### Features
15
+
16
+ - add implicit fields to filter input ([#2236](https://github.com/aws-amplify/amplify-category-api/issues/2236)) ([f7ec601](https://github.com/aws-amplify/amplify-category-api/commit/f7ec6014d4eecfede186129a6ea19041780bafb3))
17
+
18
+ ## [2.4.5](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-model-transformer@2.4.4...@aws-amplify/graphql-model-transformer@2.4.5) (2024-02-05)
19
+
20
+ **Note:** Version bump only for package @aws-amplify/graphql-model-transformer
12
21
 
13
22
  ## [2.4.4](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-model-transformer@2.4.3...@aws-amplify/graphql-model-transformer@2.4.4) (2024-01-30)
14
23
 
@@ -1 +1 @@
1
- {"version":3,"file":"graphql-model-transformer.d.ts","sourceRoot":"","sources":["../src/graphql-model-transformer.ts"],"names":[],"mappings":"AAAA,OAAO,EAeL,oBAAoB,EACrB,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EACL,qBAAqB,EACrB,kBAAkB,EAClB,iBAAiB,EACjB,cAAc,EACd,qBAAqB,EACrB,oCAAoC,EACpC,0BAA0B,EAC1B,wBAAwB,EACxB,qCAAqC,EACrC,2BAA2B,EAC3B,yCAAyC,EACzC,6CAA6C,EAC7C,wCAAwC,EAEzC,MAAM,6CAA6C,CAAC;AAErD,OAAO,KAAK,GAAG,MAAM,qBAAqB,CAAC;AAC3C,OAAO,KAAK,GAAG,MAAM,aAAa,CAAC;AACnC,OAAO,EACL,aAAa,EAGb,wBAAwB,EACxB,wBAAwB,EACzB,MAAM,SAAS,CAAC;AAk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AC,kBAAkB,CAYxB;IAEF,OAAO,CAAC,oCAAoC,CAc1C;IAEF,4BAA4B,QAAS,wCAAwC,KAAG,IAAI,CAMlF;IAEF,OAAO,CAAC,UAAU,CAGf;IAMH,OAAO,CAAC,oBAAoB,CAe1B;CACH"}
@@ -167,18 +167,21 @@ class ModelTransformer extends graphql_transformer_core_1.TransformerModelBase {
167
167
  (0, graphql_types_1.addModelConditionInputs)(ctx);
168
168
  this.ensureModelSortDirectionEnum(ctx);
169
169
  this.typesWithModelDirective.forEach((type) => {
170
+ const defBeforeImplicitFields = ctx.output.getObject(type);
171
+ const typeName = defBeforeImplicitFields.name.value;
172
+ if ((0, graphql_transformer_core_1.isDynamoDbModel)(ctx, typeName)) {
173
+ this.addAutoGeneratableFields(ctx, type);
174
+ }
170
175
  const def = ctx.output.getObject(type);
171
176
  const hasAuth = def.directives.some((dir) => dir.name.value === 'auth');
172
177
  this.createNonModelInputs(ctx, def);
173
178
  const queryFields = this.createQueryFields(ctx, def);
174
179
  ctx.output.addQueryFields(queryFields);
175
- const mutationFields = this.createMutationFields(ctx, def);
180
+ const mutationFields = this.createMutationFields(ctx, defBeforeImplicitFields);
176
181
  ctx.output.addMutationFields(mutationFields);
177
182
  const subscriptionsFields = this.createSubscriptionFields(ctx, def);
178
183
  ctx.output.addSubscriptionFields(subscriptionsFields);
179
- const typeName = def.name.value;
180
184
  if ((0, graphql_transformer_core_1.isDynamoDbModel)(ctx, typeName)) {
181
- this.addAutoGeneratableFields(ctx, type);
182
185
  if (ctx.isProjectUsingDataStore()) {
183
186
  this.addModelSyncFields(ctx, type);
184
187
  }
@@ -354,9 +357,9 @@ class ModelTransformer extends graphql_transformer_core_1.TransformerModelBase {
354
357
  const knownModels = this.typesWithModelDirective;
355
358
  let conditionInput;
356
359
  if ([graphql_transformer_interfaces_1.MutationFieldType.CREATE, graphql_transformer_interfaces_1.MutationFieldType.DELETE, graphql_transformer_interfaces_1.MutationFieldType.UPDATE].includes(operation.type)) {
357
- const conditionTypeName = (0, graphql_transformer_common_1.toPascalCase)(['Model', type.name.value, 'ConditionInput']);
360
+ const conditionTypeName = (0, graphql_transformer_core_1.getConditionInputName)(type.name.value);
358
361
  const filterInputs = (0, graphql_types_1.createEnumModelFilters)(ctx, type);
359
- conditionInput = (0, graphql_types_1.makeMutationConditionInput)(ctx, conditionTypeName, type);
362
+ conditionInput = (0, graphql_types_1.makeMutationConditionInput)(ctx, conditionTypeName, type, this.modelDirectiveConfig.get(type.name.value));
360
363
  filterInputs.push(conditionInput);
361
364
  filterInputs.forEach((input) => {
362
365
  const conditionInputName = input.name.value;
@@ -369,7 +372,7 @@ class ModelTransformer extends graphql_transformer_core_1.TransformerModelBase {
369
372
  case graphql_transformer_interfaces_1.QueryFieldType.GET:
370
373
  return [(0, graphql_transformer_common_1.makeInputValueDefinition)('id', (0, graphql_transformer_common_1.makeNonNullType)((0, graphql_transformer_common_1.makeNamedType)('ID')))];
371
374
  case graphql_transformer_interfaces_1.QueryFieldType.LIST: {
372
- const filterInputName = (0, graphql_transformer_common_1.toPascalCase)(['Model', type.name.value, 'FilterInput']);
375
+ const filterInputName = (0, graphql_transformer_core_1.getFilterInputName)(type.name.value);
373
376
  const filterInputs = (0, graphql_types_1.createEnumModelFilters)(ctx, type);
374
377
  filterInputs.push((0, graphql_types_1.makeListQueryFilterInput)(ctx, filterInputName, type));
375
378
  filterInputs.forEach((input) => {
@@ -385,7 +388,7 @@ class ModelTransformer extends graphql_transformer_core_1.TransformerModelBase {
385
388
  ];
386
389
  }
387
390
  case graphql_transformer_interfaces_1.QueryFieldType.SYNC: {
388
- const syncFilterInputName = (0, graphql_transformer_common_1.toPascalCase)(['Model', type.name.value, 'FilterInput']);
391
+ const syncFilterInputName = (0, graphql_transformer_core_1.getFilterInputName)(type.name.value);
389
392
  const syncFilterInputs = (0, graphql_types_1.makeListQueryFilterInput)(ctx, syncFilterInputName, type);
390
393
  const conditionInputName = syncFilterInputs.name.value;
391
394
  if (!ctx.output.getType(conditionInputName)) {
@@ -434,7 +437,7 @@ class ModelTransformer extends graphql_transformer_core_1.TransformerModelBase {
434
437
  case graphql_transformer_interfaces_1.SubscriptionFieldType.ON_CREATE:
435
438
  case graphql_transformer_interfaces_1.SubscriptionFieldType.ON_DELETE:
436
439
  case graphql_transformer_interfaces_1.SubscriptionFieldType.ON_UPDATE: {
437
- const filterInputName = (0, graphql_transformer_common_1.toPascalCase)(['ModelSubscription', type.name.value, 'FilterInput']);
440
+ const filterInputName = (0, graphql_transformer_core_1.getSubscriptionFilterInputName)(type.name.value);
438
441
  const filterInputs = (0, graphql_types_1.createEnumModelFilters)(ctx, type);
439
442
  filterInputs.push((0, graphql_types_1.makeSubscriptionQueryFilterInput)(ctx, filterInputName, type));
440
443
  filterInputs.forEach((input) => {
@@ -464,7 +467,7 @@ class ModelTransformer extends graphql_transformer_core_1.TransformerModelBase {
464
467
  case graphql_transformer_interfaces_1.QueryFieldType.SYNC:
465
468
  case graphql_transformer_interfaces_1.QueryFieldType.LIST: {
466
469
  const isSyncEnabled = ctx.isProjectUsingDataStore();
467
- const connectionFieldName = (0, graphql_transformer_common_1.toPascalCase)(['Model', type.name.value, 'Connection']);
470
+ const connectionFieldName = (0, graphql_transformer_core_1.getConnectionName)(type.name.value);
468
471
  outputType = (0, graphql_types_1.makeListQueryModel)(type, connectionFieldName, isSyncEnabled);
469
472
  break;
470
473
  }