@aws-amplify/graphql-transformer-interfaces 1.14.9-alpha.7 → 2.1.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +43 -165
- package/lib/graphql-api-provider.d.ts +4 -3
- package/lib/graphql-api-provider.d.ts.map +1 -1
- package/lib/graphql-api-provider.js.map +1 -1
- package/lib/transform-host-provider.d.ts +6 -5
- package/lib/transform-host-provider.d.ts.map +1 -1
- package/lib/transformer-context/stack-manager-provider.d.ts +1 -1
- package/lib/transformer-context/stack-manager-provider.d.ts.map +1 -1
- package/lib/transformer-context/transformer-datasource-provider.d.ts +4 -4
- package/lib/transformer-context/transformer-datasource-provider.d.ts.map +1 -1
- package/lib/transformer-context/transformer-resolver-provider.d.ts +1 -1
- package/lib/transformer-context/transformer-resolver-provider.d.ts.map +1 -1
- package/package.json +5 -18
- package/src/graphql-api-provider.ts +7 -4
- package/src/transform-host-provider.ts +6 -6
- package/src/transformer-context/stack-manager-provider.ts +1 -1
- package/src/transformer-context/transformer-datasource-provider.ts +4 -4
- package/src/transformer-context/transformer-resolver-provider.ts +1 -1
- package/tsconfig.tsbuildinfo +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,333 +3,211 @@
|
|
|
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
|
-
|
|
6
|
+
# [2.1.0-beta.0](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-transformer-interfaces@2.1.0-cdkv2.2...@aws-amplify/graphql-transformer-interfaces@2.1.0-beta.0) (2022-11-18)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @aws-amplify/graphql-transformer-interfaces
|
|
9
9
|
|
|
10
|
+
# [2.1.0-cdkv2.2](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-transformer-interfaces@1.14.9...@aws-amplify/graphql-transformer-interfaces@2.1.0-cdkv2.2) (2022-11-15)
|
|
10
11
|
|
|
12
|
+
### Bug Fixes
|
|
11
13
|
|
|
14
|
+
- lock CDK v2 version ([#923](https://github.com/aws-amplify/amplify-category-api/issues/923)) ([2afe40c](https://github.com/aws-amplify/amplify-category-api/commit/2afe40cf13e7d1ee7db37988b9b3297768c7bd0a))
|
|
12
15
|
|
|
16
|
+
### Features
|
|
13
17
|
|
|
14
|
-
|
|
18
|
+
- migrate index and model transformers to CDK v2 ([#860](https://github.com/aws-amplify/amplify-category-api/issues/860)) ([886ab6c](https://github.com/aws-amplify/amplify-category-api/commit/886ab6c1eb699f9a09f273c76b3c419c73004f9b))
|
|
15
19
|
|
|
20
|
+
# [2.1.0-cdkv2.1](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-transformer-interfaces@2.1.0-cdkv2.0...@aws-amplify/graphql-transformer-interfaces@2.1.0-cdkv2.1) (2022-10-24)
|
|
16
21
|
|
|
17
22
|
### Bug Fixes
|
|
18
23
|
|
|
19
|
-
|
|
20
|
-
|
|
24
|
+
- lock CDK v2 version ([#923](https://github.com/aws-amplify/amplify-category-api/issues/923)) ([2afe40c](https://github.com/aws-amplify/amplify-category-api/commit/2afe40cf13e7d1ee7db37988b9b3297768c7bd0a))
|
|
21
25
|
|
|
26
|
+
# [2.1.0-cdkv2.0](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-transformer-interfaces@1.14.7...@aws-amplify/graphql-transformer-interfaces@2.1.0-cdkv2.0) (2022-10-24)
|
|
22
27
|
|
|
28
|
+
### Features
|
|
23
29
|
|
|
30
|
+
- migrate index and model transformers to CDK v2 ([#860](https://github.com/aws-amplify/amplify-category-api/issues/860)) ([886ab6c](https://github.com/aws-amplify/amplify-category-api/commit/886ab6c1eb699f9a09f273c76b3c419c73004f9b))
|
|
24
31
|
|
|
25
|
-
## [1.14.
|
|
32
|
+
## [1.14.9](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-transformer-interfaces@1.14.8...@aws-amplify/graphql-transformer-interfaces@1.14.9) (2022-11-08)
|
|
26
33
|
|
|
27
34
|
**Note:** Version bump only for package @aws-amplify/graphql-transformer-interfaces
|
|
28
35
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
## [1.14.5](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-transformer-interfaces@1.14.4...@aws-amplify/graphql-transformer-interfaces@1.14.5) (2022-07-14)
|
|
36
|
+
## [1.14.8](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-transformer-interfaces@1.14.7...@aws-amplify/graphql-transformer-interfaces@1.14.8) (2022-10-24)
|
|
34
37
|
|
|
35
38
|
**Note:** Version bump only for package @aws-amplify/graphql-transformer-interfaces
|
|
36
39
|
|
|
40
|
+
## [1.14.7](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-transformer-interfaces@1.14.6...@aws-amplify/graphql-transformer-interfaces@1.14.7) (2022-08-16)
|
|
37
41
|
|
|
42
|
+
### Bug Fixes
|
|
38
43
|
|
|
44
|
+
- set cfn values correctly when applying lambda-based conflict resolution ([4542759](https://github.com/aws-amplify/amplify-category-api/commit/45427596bbcfcb83bda18a037b0b540bff812b25))
|
|
39
45
|
|
|
40
|
-
|
|
41
|
-
## [1.14.4](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-transformer-interfaces@1.14.3...@aws-amplify/graphql-transformer-interfaces@1.14.4) (2022-06-13)
|
|
46
|
+
## [1.14.6](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-transformer-interfaces@1.14.4...@aws-amplify/graphql-transformer-interfaces@1.14.6) (2022-07-20)
|
|
42
47
|
|
|
43
48
|
**Note:** Version bump only for package @aws-amplify/graphql-transformer-interfaces
|
|
44
49
|
|
|
50
|
+
## [1.14.5](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-transformer-interfaces@1.14.4...@aws-amplify/graphql-transformer-interfaces@1.14.5) (2022-07-14)
|
|
45
51
|
|
|
52
|
+
**Note:** Version bump only for package @aws-amplify/graphql-transformer-interfaces
|
|
46
53
|
|
|
54
|
+
## [1.14.4](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-transformer-interfaces@1.14.3...@aws-amplify/graphql-transformer-interfaces@1.14.4) (2022-06-13)
|
|
47
55
|
|
|
56
|
+
**Note:** Version bump only for package @aws-amplify/graphql-transformer-interfaces
|
|
48
57
|
|
|
49
58
|
## [1.14.3](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-transformer-interfaces@1.14.0...@aws-amplify/graphql-transformer-interfaces@1.14.3) (2022-06-07)
|
|
50
59
|
|
|
51
60
|
**Note:** Version bump only for package @aws-amplify/graphql-transformer-interfaces
|
|
52
61
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
62
|
## [1.14.2](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-transformer-interfaces@1.14.0...@aws-amplify/graphql-transformer-interfaces@1.14.2) (2022-05-31)
|
|
58
63
|
|
|
59
64
|
**Note:** Version bump only for package @aws-amplify/graphql-transformer-interfaces
|
|
60
65
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
66
|
## [1.14.1](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/graphql-transformer-interfaces@1.14.0...@aws-amplify/graphql-transformer-interfaces@1.14.1) (2022-05-02)
|
|
66
67
|
|
|
67
68
|
**Note:** Version bump only for package @aws-amplify/graphql-transformer-interfaces
|
|
68
69
|
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
70
|
# [1.14.0](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/graphql-transformer-interfaces@1.13.1...@aws-amplify/graphql-transformer-interfaces@1.14.0) (2022-04-29)
|
|
74
71
|
|
|
75
|
-
|
|
76
72
|
### Features
|
|
77
73
|
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
74
|
+
- dedup appsync functions ([#10289](https://github.com/aws-amplify/amplify-cli/issues/10289)) ([1a5607c](https://github.com/aws-amplify/amplify-cli/commit/1a5607c3e40d3a8144fc5f66a1632d90f061ed99))
|
|
83
75
|
|
|
84
76
|
## [1.13.1](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/graphql-transformer-interfaces@1.13.0...@aws-amplify/graphql-transformer-interfaces@1.13.1) (2022-04-18)
|
|
85
77
|
|
|
86
|
-
|
|
87
78
|
### Bug Fixes
|
|
88
79
|
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
80
|
+
- **graphql-model-transformer:** fix create mutation when index field is null ([#10073](https://github.com/aws-amplify/amplify-cli/issues/10073)) ([1e9d140](https://github.com/aws-amplify/amplify-cli/commit/1e9d140a529e5a2474968feb26b53ac7c9bb5750))
|
|
94
81
|
|
|
95
82
|
# [1.13.0](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/graphql-transformer-interfaces@1.12.6...@aws-amplify/graphql-transformer-interfaces@1.13.0) (2022-01-31)
|
|
96
83
|
|
|
97
|
-
|
|
98
84
|
### Features
|
|
99
85
|
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
86
|
+
- `[@maps](https://github.com/maps)To` directive to enable renaming models while retaining data ([#9340](https://github.com/aws-amplify/amplify-cli/issues/9340)) ([aedf45d](https://github.com/aws-amplify/amplify-cli/commit/aedf45d9237812d71bb8b56164efe0222ad3d534))
|
|
105
87
|
|
|
106
88
|
## [1.12.6](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/graphql-transformer-interfaces@1.12.5...@aws-amplify/graphql-transformer-interfaces@1.12.6) (2022-01-13)
|
|
107
89
|
|
|
108
|
-
|
|
109
90
|
### Bug Fixes
|
|
110
91
|
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
92
|
+
- clean up missing and unused GraphQL v2 dependencies ([#9486](https://github.com/aws-amplify/amplify-cli/issues/9486)) ([a6ca44e](https://github.com/aws-amplify/amplify-cli/commit/a6ca44e6ea0ec0a70b648e399fc3e849ccc2a7c9))
|
|
116
93
|
|
|
117
94
|
## [1.12.5](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/graphql-transformer-interfaces@1.12.3...@aws-amplify/graphql-transformer-interfaces@1.12.5) (2022-01-10)
|
|
118
95
|
|
|
119
|
-
|
|
120
|
-
|
|
121
96
|
## 7.6.7 (2022-01-10)
|
|
122
97
|
|
|
123
98
|
**Note:** Version bump only for package @aws-amplify/graphql-transformer-interfaces
|
|
124
99
|
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
100
|
## [1.12.3](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/graphql-transformer-interfaces@1.12.2...@aws-amplify/graphql-transformer-interfaces@1.12.3) (2021-11-21)
|
|
130
101
|
|
|
131
|
-
|
|
132
102
|
### Bug Fixes
|
|
133
103
|
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
104
|
+
- group response and request resolvers by slot ([#8980](https://github.com/aws-amplify/amplify-cli/issues/8980)) ([74cbcc3](https://github.com/aws-amplify/amplify-cli/commit/74cbcc3799201eea4b68c26f4e44ad6bee6704ad))
|
|
139
105
|
|
|
140
106
|
## [1.12.2](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/graphql-transformer-interfaces@1.12.1...@aws-amplify/graphql-transformer-interfaces@1.12.2) (2021-11-17)
|
|
141
107
|
|
|
142
|
-
|
|
143
108
|
### Bug Fixes
|
|
144
109
|
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
110
|
+
- append apiKey if global auth is enabled and its not default auth ([#8843](https://github.com/aws-amplify/amplify-cli/issues/8843)) ([3aadcde](https://github.com/aws-amplify/amplify-cli/commit/3aadcde2225f0ede5c5d94c2a4cd9d1afece5288))
|
|
111
|
+
- passing ddb params from root to nested model stacks ([#8766](https://github.com/aws-amplify/amplify-cli/issues/8766)) ([7124cc0](https://github.com/aws-amplify/amplify-cli/commit/7124cc0c8df9fa3261b51141184c0c635bdff738))
|
|
151
112
|
|
|
152
113
|
## [1.12.1](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/graphql-transformer-interfaces@1.10.1...@aws-amplify/graphql-transformer-interfaces@1.12.1) (2021-11-15)
|
|
153
114
|
|
|
154
115
|
**Note:** Version bump only for package @aws-amplify/graphql-transformer-interfaces
|
|
155
116
|
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
117
|
## [1.10.1](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/graphql-transformer-interfaces@1.10.0...@aws-amplify/graphql-transformer-interfaces@1.10.1) (2021-11-11)
|
|
161
118
|
|
|
162
|
-
|
|
163
119
|
### Bug Fixes
|
|
164
120
|
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
121
|
+
- **graphql-model-transformer:** override resource logical id to fix v1 to v2 transformer migration ([#8597](https://github.com/aws-amplify/amplify-cli/issues/8597)) ([e3a2afb](https://github.com/aws-amplify/amplify-cli/commit/e3a2afbbed6e97f143fc7c83064e2193f4c91bdd))
|
|
122
|
+
- move [@model](https://github.com/model) params to root stack and fix ds logical id ([#8736](https://github.com/aws-amplify/amplify-cli/issues/8736)) ([df4408c](https://github.com/aws-amplify/amplify-cli/commit/df4408c4080949ddd638778df9ae20e763dd5824))
|
|
171
123
|
|
|
172
124
|
# [1.10.0](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/graphql-transformer-interfaces@1.9.1...@aws-amplify/graphql-transformer-interfaces@1.10.0) (2021-10-10)
|
|
173
125
|
|
|
174
|
-
|
|
175
126
|
### Features
|
|
176
127
|
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
128
|
+
- **graphql-model-transformer:** index/primarykey datastore selective sync capability ([#8240](https://github.com/aws-amplify/amplify-cli/issues/8240)) ([e108783](https://github.com/aws-amplify/amplify-cli/commit/e10878370a4785a412b561002d78b5cec9859346))
|
|
182
129
|
|
|
183
130
|
## [1.9.1](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/graphql-transformer-interfaces@1.9.0...@aws-amplify/graphql-transformer-interfaces@1.9.1) (2021-09-27)
|
|
184
131
|
|
|
185
|
-
|
|
186
132
|
### Bug Fixes
|
|
187
133
|
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
134
|
+
- **graphql-model-transformer:** [@model](https://github.com/model) conflict resolution ([#8035](https://github.com/aws-amplify/amplify-cli/issues/8035)) ([f3bdc4a](https://github.com/aws-amplify/amplify-cli/commit/f3bdc4ac1fcf596f634d9d2e968785e76f7b138c))
|
|
135
|
+
- **graphql-model-transformer:** iam role name does not exceed 64 characters ([#8244](https://github.com/aws-amplify/amplify-cli/issues/8244)) ([812a671](https://github.com/aws-amplify/amplify-cli/commit/812a67163d6dd33160bf7ace9afd538c83a7af1a))
|
|
194
136
|
|
|
195
137
|
# [1.9.0](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/graphql-transformer-interfaces@1.8.2...@aws-amplify/graphql-transformer-interfaces@1.9.0) (2021-09-02)
|
|
196
138
|
|
|
197
|
-
|
|
198
139
|
### Features
|
|
199
140
|
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
141
|
+
- add new relational modeling directives ([#7997](https://github.com/aws-amplify/amplify-cli/issues/7997)) ([e9cdb7a](https://github.com/aws-amplify/amplify-cli/commit/e9cdb7a1a45b8f16546952a469ab2d45f82e855c))
|
|
205
142
|
|
|
206
143
|
## [1.8.2](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/graphql-transformer-interfaces@1.8.1...@aws-amplify/graphql-transformer-interfaces@1.8.2) (2021-08-24)
|
|
207
144
|
|
|
208
145
|
**Note:** Version bump only for package @aws-amplify/graphql-transformer-interfaces
|
|
209
146
|
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
147
|
## [1.8.1](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/graphql-transformer-interfaces@1.8.0...@aws-amplify/graphql-transformer-interfaces@1.8.1) (2021-08-06)
|
|
215
148
|
|
|
216
149
|
**Note:** Version bump only for package @aws-amplify/graphql-transformer-interfaces
|
|
217
150
|
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
151
|
# [1.8.0](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/graphql-transformer-interfaces@1.7.0...@aws-amplify/graphql-transformer-interfaces@1.8.0) (2021-07-30)
|
|
223
152
|
|
|
224
|
-
|
|
225
153
|
### Features
|
|
226
154
|
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
155
|
+
- capability injection for the vNext GraphQL Transformer ([#7735](https://github.com/aws-amplify/amplify-cli/issues/7735)) ([f3eae13](https://github.com/aws-amplify/amplify-cli/commit/f3eae13ab2848df398e26429abf985b756abcff2))
|
|
232
156
|
|
|
233
157
|
# [1.7.0](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/graphql-transformer-interfaces@1.6.1...@aws-amplify/graphql-transformer-interfaces@1.7.0) (2021-07-12)
|
|
234
158
|
|
|
235
|
-
|
|
236
159
|
### Features
|
|
237
160
|
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
161
|
+
- port [@predictions](https://github.com/predictions) to GraphQL Transformer v2 ([#7387](https://github.com/aws-amplify/amplify-cli/issues/7387)) ([3f2e647](https://github.com/aws-amplify/amplify-cli/commit/3f2e647b9dfe14aa5919b46f53342937dd0c7fa9))
|
|
243
162
|
|
|
244
163
|
## [1.6.1](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/graphql-transformer-interfaces@1.6.0...@aws-amplify/graphql-transformer-interfaces@1.6.1) (2021-06-24)
|
|
245
164
|
|
|
246
|
-
|
|
247
165
|
### Bug Fixes
|
|
248
166
|
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
167
|
+
- correct 'tranformer' typo ([#7408](https://github.com/aws-amplify/amplify-cli/issues/7408)) ([9420f1b](https://github.com/aws-amplify/amplify-cli/commit/9420f1b29137fd7621d7d902a147e596776357df))
|
|
254
168
|
|
|
255
169
|
# [1.6.0](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/graphql-transformer-interfaces@1.5.0...@aws-amplify/graphql-transformer-interfaces@1.6.0) (2021-05-18)
|
|
256
170
|
|
|
257
|
-
|
|
258
171
|
### Features
|
|
259
172
|
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
173
|
+
- port [@searchable](https://github.com/searchable) to GraphQL Transformer v2 ([#7291](https://github.com/aws-amplify/amplify-cli/issues/7291)) ([37a2df2](https://github.com/aws-amplify/amplify-cli/commit/37a2df2365fe4bf0eddf285a159221e34f695fe2))
|
|
265
174
|
|
|
266
175
|
# [1.5.0](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/graphql-transformer-interfaces@1.3.1...@aws-amplify/graphql-transformer-interfaces@1.5.0) (2021-05-03)
|
|
267
176
|
|
|
268
|
-
|
|
269
|
-
|
|
270
177
|
## 4.50.1 (2021-05-03)
|
|
271
178
|
|
|
272
|
-
|
|
273
179
|
### Features
|
|
274
180
|
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
181
|
+
- **graphql-function-transformer:** port [@function](https://github.com/function) to v2 ([#7055](https://github.com/aws-amplify/amplify-cli/issues/7055)) ([463e975](https://github.com/aws-amplify/amplify-cli/commit/463e97593d5486d1f9d10bcabde26d3e36dee7f2))
|
|
280
182
|
|
|
281
183
|
# [1.4.0](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/graphql-transformer-interfaces@1.3.1...@aws-amplify/graphql-transformer-interfaces@1.4.0) (2021-05-03)
|
|
282
184
|
|
|
283
|
-
|
|
284
185
|
### Features
|
|
285
186
|
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
187
|
+
- **graphql-function-transformer:** port [@function](https://github.com/function) to v2 ([#7055](https://github.com/aws-amplify/amplify-cli/issues/7055)) ([463e975](https://github.com/aws-amplify/amplify-cli/commit/463e97593d5486d1f9d10bcabde26d3e36dee7f2))
|
|
291
188
|
|
|
292
189
|
## [1.3.1](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/graphql-transformer-interfaces@1.3.0...@aws-amplify/graphql-transformer-interfaces@1.3.1) (2021-02-11)
|
|
293
190
|
|
|
294
191
|
**Note:** Version bump only for package @aws-amplify/graphql-transformer-interfaces
|
|
295
192
|
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
193
|
# [1.3.0](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/graphql-transformer-interfaces@1.2.1...@aws-amplify/graphql-transformer-interfaces@1.3.0) (2020-12-11)
|
|
301
194
|
|
|
302
|
-
|
|
303
195
|
### Features
|
|
304
196
|
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
197
|
+
- container-based deployments([#5727](https://github.com/aws-amplify/amplify-cli/issues/5727)) ([fad6377](https://github.com/aws-amplify/amplify-cli/commit/fad6377bd384862ca4429cb1a83eee90efd62b58))
|
|
310
198
|
|
|
311
199
|
## [1.2.1](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/graphql-transformer-interfaces@1.1.0...@aws-amplify/graphql-transformer-interfaces@1.2.1) (2020-11-22)
|
|
312
200
|
|
|
313
201
|
**Note:** Version bump only for package @aws-amplify/graphql-transformer-interfaces
|
|
314
202
|
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
203
|
# 1.2.0 (2020-11-22)
|
|
320
204
|
|
|
321
|
-
|
|
322
205
|
### Features
|
|
323
206
|
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
207
|
+
- transformer redesign ([#5534](https://github.com/aws-amplify/amplify-cli/issues/5534)) ([a93c685](https://github.com/aws-amplify/amplify-cli/commit/a93c6852f6588898ebc52b0574f4fcc3d2e87948))
|
|
329
208
|
|
|
330
209
|
# 1.1.0 (2020-11-08)
|
|
331
210
|
|
|
332
|
-
|
|
333
211
|
### Features
|
|
334
212
|
|
|
335
|
-
|
|
213
|
+
- transformer redesign ([#5534](https://github.com/aws-amplify/amplify-cli/issues/5534)) ([a93c685](https://github.com/aws-amplify/amplify-cli/commit/a93c6852f6588898ebc52b0574f4fcc3d2e87948))
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { CfnResource,
|
|
2
|
-
import {
|
|
1
|
+
import { CfnResource, IAsset } from 'aws-cdk-lib';
|
|
2
|
+
import { Construct, IConstruct } from 'constructs';
|
|
3
|
+
import { Grant, IGrantable, IRole } from 'aws-cdk-lib/aws-iam';
|
|
3
4
|
import { TransformHostProvider } from './transform-host-provider';
|
|
4
5
|
export declare type AppSyncAuthMode = 'API_KEY' | 'AMAZON_COGNITO_USER_POOLS' | 'AWS_IAM' | 'OPENID_CONNECT' | 'AWS_LAMBDA';
|
|
5
6
|
export declare type AppSyncAuthConfiguration = {
|
|
@@ -75,7 +76,7 @@ export interface S3MappingFunctionCodeProvider {
|
|
|
75
76
|
bind: (scope: Construct) => IAsset;
|
|
76
77
|
}
|
|
77
78
|
export declare type MappingTemplateProvider = InlineMappingTemplateProvider | S3MappingTemplateProvider;
|
|
78
|
-
export interface GraphQLAPIProvider {
|
|
79
|
+
export interface GraphQLAPIProvider extends IConstruct {
|
|
79
80
|
readonly apiId: string;
|
|
80
81
|
readonly host: TransformHostProvider;
|
|
81
82
|
addToSchema: (addition: string) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"graphql-api-provider.d.ts","sourceRoot":"","sources":["../src/graphql-api-provider.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"graphql-api-provider.d.ts","sourceRoot":"","sources":["../src/graphql-api-provider.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EAAE,MAAM,EACpB,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,SAAS,EAAE,UAAU,EACtB,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAGlE,oBAAY,eAAe,GAAG,SAAS,GAAG,2BAA2B,GAAG,SAAS,GAAG,gBAAgB,GAAG,YAAY,CAAC;AACpH,oBAAY,wBAAwB,GAAG;IACrC,qBAAqB,EAAE,6BAA6B,CAAC;IACrD,iCAAiC,EAAE,KAAK,CAAC,6BAA6B,CAAC,CAAC;CACzE,CAAC;AAEF,oBAAY,6BAA6B,GACrC,qCAAqC,GACrC,mCAAmC,GACnC,gCAAgC,GAChC,iCAAiC,GACjC,mCAAmC,CAAC;AAExC,oBAAY,mCAAmC,GAAG;IAChD,kBAAkB,EAAE,SAAS,CAAC;IAC9B,YAAY,CAAC,EAAE,YAAY,CAAC;CAC7B,CAAC;AACF,oBAAY,qCAAqC,GAAG;IAClD,kBAAkB,EAAE,2BAA2B,CAAC;IAChD,cAAc,CAAC,EAAE,cAAc,CAAC;CACjC,CAAC;AACF,oBAAY,gCAAgC,GAAG;IAC7C,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E,kBAAkB,KAAK,MAAM,EAAE,CAAC;CACrD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"graphql-api-provider.js","sourceRoot":"","sources":["../src/graphql-api-provider.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"graphql-api-provider.js","sourceRoot":"","sources":["../src/graphql-api-provider.ts"],"names":[],"mappings":";;;AA4FA,IAAY,YAGX;AAHD,WAAY,YAAY;IACtB,iCAAiB,CAAA;IACjB,2CAA2B,CAAA;AAC7B,CAAC,EAHW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAGvB"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { Duration, Stack } from '
|
|
2
|
-
import { BaseDataSource,
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { Duration, Stack } from 'aws-cdk-lib';
|
|
2
|
+
import { BaseDataSource, DynamoDbDataSource, GraphqlApiBase, HttpDataSource, LambdaDataSource, NoneDataSource } from '@aws-cdk/aws-appsync-alpha';
|
|
3
|
+
import { CfnResolver } from 'aws-cdk-lib/aws-appsync';
|
|
4
|
+
import { ITable } from 'aws-cdk-lib/aws-dynamodb';
|
|
5
|
+
import { IFunction, ILayerVersion, Runtime } from 'aws-cdk-lib/aws-lambda';
|
|
6
|
+
import { IRole } from 'aws-cdk-lib/aws-iam';
|
|
5
7
|
import { AppSyncFunctionConfigurationProvider, DataSourceOptions, SearchableDataSourceOptions, MappingTemplateProvider } from './graphql-api-provider';
|
|
6
|
-
import { IRole } from '@aws-cdk/aws-iam';
|
|
7
8
|
export interface DynamoDbDataSourceOptions extends DataSourceOptions {
|
|
8
9
|
readonly serviceRole: IRole;
|
|
9
10
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transform-host-provider.d.ts","sourceRoot":"","sources":["../src/transform-host-provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,
|
|
1
|
+
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,EAAE,SAAS,EAAE,MAAM,KAAK,WAAW,GAAG,IAAI,CAAC;IACzE,WAAW,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,KAAK,OAAO,CAAC;CAC/D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stack-manager-provider.d.ts","sourceRoot":"","sources":["../../src/transformer-context/stack-manager-provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,KAAK,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"stack-manager-provider.d.ts","sourceRoot":"","sources":["../../src/transformer-context/stack-manager-provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAErE,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,SAAS,EAAE,KAAK,CAAC;IAC1B,QAAQ,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,KAAK,CAAC;IACvC,WAAW,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,KAAK,CAAC;IAC1C,QAAQ,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,OAAO,CAAC;IACzC,WAAW,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,gBAAgB,CAAC,EAAE,MAAM,KAAK,KAAK,CAAC;IACtE,YAAY,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,iBAAiB,KAAK,YAAY,CAAC;IACvE,YAAY,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,YAAY,GAAG,IAAI,CAAC;CACrD"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { BackedDataSource, HttpDataSource } from '@aws-cdk/aws-appsync';
|
|
2
|
-
import { ITable } from '
|
|
3
|
-
import { CfnDomain } from '
|
|
4
|
-
import { IFunction } from '
|
|
1
|
+
import { BackedDataSource, HttpDataSource } from '@aws-cdk/aws-appsync-alpha';
|
|
2
|
+
import { ITable } from 'aws-cdk-lib/aws-dynamodb';
|
|
3
|
+
import { CfnDomain } from 'aws-cdk-lib/aws-elasticsearch';
|
|
4
|
+
import { IFunction } from 'aws-cdk-lib/aws-lambda';
|
|
5
5
|
import { InterfaceTypeDefinitionNode, ObjectTypeDefinitionNode } from 'graphql';
|
|
6
6
|
export declare enum AppSyncDataSourceType {
|
|
7
7
|
AMAZON_DYNAMODB = "AMAZON_DYNAMODB",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transformer-datasource-provider.d.ts","sourceRoot":"","sources":["../../src/transformer-context/transformer-datasource-provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"transformer-datasource-provider.d.ts","sourceRoot":"","sources":["../../src/transformer-context/transformer-datasource-provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC9E,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,2BAA2B,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC;AAEhF,oBAAY,qBAAqB;IAC/B,eAAe,oBAAoB;IACnC,oBAAoB,yBAAyB;IAC7C,UAAU,eAAe;IACzB,mBAAmB,wBAAwB;IAC3C,IAAI,SAAS;IACb,IAAI,SAAS;CACd;AAED,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACvB;AAED,oBAAY,kBAAkB,GAAG,MAAM,GAAG,SAAS,GAAG,cAAc,GAAG,SAAS,GAAG,sBAAsB,CAAC;AAE1G,MAAM,WAAW,oCAAoC;IACnD,GAAG,CAAC,IAAI,EAAE,wBAAwB,GAAG,2BAA2B,EAAE,kBAAkB,EAAE,kBAAkB,GAAG,IAAI,CAAC;IAChH,GAAG,CAAC,IAAI,EAAE,wBAAwB,GAAG,2BAA2B,GAAG,kBAAkB,CAAC;IACtF,GAAG,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC;CAC5B;AAED,MAAM,WAAW,kBAAmB,SAAQ,gBAAgB;CAAG"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Stack } from '
|
|
1
|
+
import { Stack } from 'aws-cdk-lib';
|
|
2
2
|
import { GraphQLAPIProvider, MappingTemplateProvider } from '../graphql-api-provider';
|
|
3
3
|
import { DataSourceProvider } from './transformer-datasource-provider';
|
|
4
4
|
import { TransformerContextProvider } from './transformer-context-provider';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transformer-resolver-provider.d.ts","sourceRoot":"","sources":["../../src/transformer-context/transformer-resolver-provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"transformer-resolver-provider.d.ts","sourceRoot":"","sources":["../../src/transformer-context/transformer-resolver-provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,kBAAkB,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AACtF,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AACvE,OAAO,EAAE,0BAA0B,EAAE,MAAM,gCAAgC,CAAC;AAE5E,MAAM,WAAW,2BAA2B;IAC1C,SAAS,EAAE,CACT,QAAQ,EAAE,MAAM,EAChB,sBAAsB,CAAC,EAAE,uBAAuB,EAChD,uBAAuB,CAAC,EAAE,uBAAuB,EACjD,UAAU,CAAC,EAAE,kBAAkB,KAC5B,IAAI,CAAC;IACV,UAAU,EAAE,CAAC,OAAO,EAAE,0BAA0B,EAAE,GAAG,EAAE,kBAAkB,KAAK,IAAI,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ws-amplify/graphql-transformer-interfaces",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "2.1.0-beta.0",
|
|
4
4
|
"description": "Amplify GraphQL transformer interface definitions",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -26,22 +26,9 @@
|
|
|
26
26
|
"clean": "rimraf ./lib"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@aws-cdk/aws-appsync": "
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"@aws-cdk/aws-ec2": "^1.159.0",
|
|
33
|
-
"@aws-cdk/aws-elasticsearch": "^1.159.0",
|
|
34
|
-
"@aws-cdk/aws-events": "^1.159.0",
|
|
35
|
-
"@aws-cdk/aws-iam": "^1.159.0",
|
|
36
|
-
"@aws-cdk/aws-kms": "^1.159.0",
|
|
37
|
-
"@aws-cdk/aws-lambda": "^1.159.0",
|
|
38
|
-
"@aws-cdk/aws-logs": "^1.159.0",
|
|
39
|
-
"@aws-cdk/aws-rds": "^1.159.0",
|
|
40
|
-
"@aws-cdk/aws-s3": "^1.159.0",
|
|
41
|
-
"@aws-cdk/aws-secretsmanager": "^1.159.0",
|
|
42
|
-
"@aws-cdk/core": "^1.159.0",
|
|
43
|
-
"@aws-cdk/custom-resources": "^1.159.0",
|
|
44
|
-
"constructs": "^3.3.125",
|
|
29
|
+
"@aws-cdk/aws-appsync-alpha": "~2.44.0-alpha.0",
|
|
30
|
+
"aws-cdk-lib": "~2.44.0",
|
|
31
|
+
"constructs": "^10.0.5",
|
|
45
32
|
"graphql": "^14.5.8"
|
|
46
33
|
},
|
|
47
34
|
"jest": {
|
|
@@ -60,5 +47,5 @@
|
|
|
60
47
|
],
|
|
61
48
|
"collectCoverage": true
|
|
62
49
|
},
|
|
63
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "1587b44fa0e9f3cffe613d6df384af1f8ce40355"
|
|
64
51
|
}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
CfnResource,
|
|
3
|
-
} from '
|
|
4
|
-
import {
|
|
2
|
+
CfnResource, IAsset,
|
|
3
|
+
} from 'aws-cdk-lib';
|
|
4
|
+
import {
|
|
5
|
+
Construct, IConstruct,
|
|
6
|
+
} from 'constructs';
|
|
7
|
+
import { Grant, IGrantable, IRole } from 'aws-cdk-lib/aws-iam';
|
|
5
8
|
import { TransformHostProvider } from './transform-host-provider';
|
|
6
9
|
|
|
7
10
|
// Auth Config
|
|
@@ -110,7 +113,7 @@ export interface S3MappingFunctionCodeProvider {
|
|
|
110
113
|
|
|
111
114
|
export type MappingTemplateProvider = InlineMappingTemplateProvider | S3MappingTemplateProvider;
|
|
112
115
|
|
|
113
|
-
export interface GraphQLAPIProvider {
|
|
116
|
+
export interface GraphQLAPIProvider extends IConstruct {
|
|
114
117
|
readonly apiId: string;
|
|
115
118
|
readonly host: TransformHostProvider;
|
|
116
119
|
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { Duration, Stack } from '
|
|
1
|
+
import { Duration, Stack } from 'aws-cdk-lib';
|
|
2
2
|
import {
|
|
3
3
|
BaseDataSource,
|
|
4
|
-
CfnResolver,
|
|
5
4
|
DynamoDbDataSource,
|
|
6
5
|
GraphqlApiBase,
|
|
7
6
|
HttpDataSource,
|
|
8
7
|
LambdaDataSource,
|
|
9
8
|
NoneDataSource,
|
|
10
|
-
} from '@aws-cdk/aws-appsync';
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
9
|
+
} from '@aws-cdk/aws-appsync-alpha';
|
|
10
|
+
import { CfnResolver } from 'aws-cdk-lib/aws-appsync';
|
|
11
|
+
import { ITable } from 'aws-cdk-lib/aws-dynamodb';
|
|
12
|
+
import { IFunction, ILayerVersion, Runtime } from 'aws-cdk-lib/aws-lambda';
|
|
13
|
+
import { IRole } from 'aws-cdk-lib/aws-iam';
|
|
13
14
|
import {
|
|
14
15
|
AppSyncFunctionConfigurationProvider,
|
|
15
16
|
DataSourceOptions,
|
|
16
17
|
SearchableDataSourceOptions,
|
|
17
18
|
MappingTemplateProvider,
|
|
18
19
|
} from './graphql-api-provider';
|
|
19
|
-
import { IRole } from '@aws-cdk/aws-iam';
|
|
20
20
|
|
|
21
21
|
export interface DynamoDbDataSourceOptions extends DataSourceOptions {
|
|
22
22
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { BackedDataSource, HttpDataSource } from '@aws-cdk/aws-appsync';
|
|
2
|
-
import { ITable } from '
|
|
3
|
-
import { CfnDomain } from '
|
|
4
|
-
import { IFunction } from '
|
|
1
|
+
import { BackedDataSource, HttpDataSource } from '@aws-cdk/aws-appsync-alpha';
|
|
2
|
+
import { ITable } from 'aws-cdk-lib/aws-dynamodb';
|
|
3
|
+
import { CfnDomain } from 'aws-cdk-lib/aws-elasticsearch';
|
|
4
|
+
import { IFunction } from 'aws-cdk-lib/aws-lambda';
|
|
5
5
|
import { InterfaceTypeDefinitionNode, ObjectTypeDefinitionNode } from 'graphql';
|
|
6
6
|
|
|
7
7
|
export enum AppSyncDataSourceType {
|