@aws-amplify/graphql-transformer-interfaces 2.1.0-cdkv2.1 → 2.1.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 CHANGED
@@ -3,347 +3,257 @@
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.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)
7
-
6
+ # [2.1.0](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-transformer-interfaces@2.1.0-beta.4...@aws-amplify/graphql-transformer-interfaces@2.1.0) (2023-03-01)
8
7
 
9
- ### Bug Fixes
8
+ **Note:** Version bump only for package @aws-amplify/graphql-transformer-interfaces
10
9
 
11
- * 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))
10
+ # [2.1.0-beta.6](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-transformer-interfaces@2.1.0-beta.4...@aws-amplify/graphql-transformer-interfaces@2.1.0-beta.6) (2023-02-21)
12
11
 
12
+ **Note:** Version bump only for package @aws-amplify/graphql-transformer-interfaces
13
13
 
14
+ # [2.1.0-beta.5](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-transformer-interfaces@2.1.0-beta.4...@aws-amplify/graphql-transformer-interfaces@2.1.0-beta.5) (2023-02-15)
14
15
 
16
+ **Note:** Version bump only for package @aws-amplify/graphql-transformer-interfaces
15
17
 
18
+ # [2.1.0-beta.4](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-transformer-interfaces@1.14.12...@aws-amplify/graphql-transformer-interfaces@2.1.0-beta.4) (2023-02-03)
16
19
 
17
- # [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)
20
+ ### Bug Fixes
18
21
 
22
+ - 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))
19
23
 
20
24
  ### Features
21
25
 
22
- * 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))
23
-
24
-
25
-
26
+ - 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))
26
27
 
28
+ # [2.1.0-beta.3](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-transformer-interfaces@2.1.0-beta.0...@aws-amplify/graphql-transformer-interfaces@2.1.0-beta.3) (2022-12-27)
27
29
 
28
- ## [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)
30
+ **Note:** Version bump only for package @aws-amplify/graphql-transformer-interfaces
29
31
 
32
+ # [2.1.0-beta.2](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-transformer-interfaces@2.1.0-beta.0...@aws-amplify/graphql-transformer-interfaces@2.1.0-beta.2) (2022-12-12)
30
33
 
31
- ### Bug Fixes
34
+ **Note:** Version bump only for package @aws-amplify/graphql-transformer-interfaces
32
35
 
33
- * set cfn values correctly when applying lambda-based conflict resolution ([4542759](https://github.com/aws-amplify/amplify-category-api/commit/45427596bbcfcb83bda18a037b0b540bff812b25))
36
+ # [2.1.0-beta.1](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-transformer-interfaces@2.1.0-beta.0...@aws-amplify/graphql-transformer-interfaces@2.1.0-beta.1) (2022-11-30)
34
37
 
38
+ **Note:** Version bump only for package @aws-amplify/graphql-transformer-interfaces
35
39
 
40
+ # [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)
36
41
 
42
+ **Note:** Version bump only for package @aws-amplify/graphql-transformer-interfaces
37
43
 
44
+ # [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)
38
45
 
39
- ## [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)
46
+ ### Bug Fixes
40
47
 
41
- **Note:** Version bump only for package @aws-amplify/graphql-transformer-interfaces
48
+ - 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))
42
49
 
50
+ ### Features
43
51
 
52
+ - 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))
44
53
 
54
+ # [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)
45
55
 
56
+ ### Bug Fixes
46
57
 
47
- ## [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)
58
+ - 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))
48
59
 
49
- **Note:** Version bump only for package @aws-amplify/graphql-transformer-interfaces
60
+ # [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)
50
61
 
62
+ ### Features
51
63
 
64
+ - 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))
52
65
 
66
+ ## [1.14.12](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-transformer-interfaces@1.14.11...@aws-amplify/graphql-transformer-interfaces@1.14.12) (2023-01-26)
53
67
 
68
+ **Note:** Version bump only for package @aws-amplify/graphql-transformer-interfaces
54
69
 
55
- ## [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)
70
+ ## [1.14.11](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-transformer-interfaces@1.14.10...@aws-amplify/graphql-transformer-interfaces@1.14.11) (2023-01-12)
56
71
 
57
72
  **Note:** Version bump only for package @aws-amplify/graphql-transformer-interfaces
58
73
 
74
+ ## [1.14.10](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-transformer-interfaces@1.14.9...@aws-amplify/graphql-transformer-interfaces@1.14.10) (2023-01-12)
59
75
 
76
+ **Note:** Version bump only for package @aws-amplify/graphql-transformer-interfaces
60
77
 
78
+ ## [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)
61
79
 
80
+ **Note:** Version bump only for package @aws-amplify/graphql-transformer-interfaces
62
81
 
63
- ## [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)
82
+ ## [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)
64
83
 
65
84
  **Note:** Version bump only for package @aws-amplify/graphql-transformer-interfaces
66
85
 
86
+ ## [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)
67
87
 
88
+ ### Bug Fixes
68
89
 
90
+ - set cfn values correctly when applying lambda-based conflict resolution ([4542759](https://github.com/aws-amplify/amplify-category-api/commit/45427596bbcfcb83bda18a037b0b540bff812b25))
69
91
 
70
-
71
- ## [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)
92
+ ## [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)
72
93
 
73
94
  **Note:** Version bump only for package @aws-amplify/graphql-transformer-interfaces
74
95
 
96
+ ## [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)
75
97
 
98
+ **Note:** Version bump only for package @aws-amplify/graphql-transformer-interfaces
76
99
 
100
+ ## [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)
77
101
 
102
+ **Note:** Version bump only for package @aws-amplify/graphql-transformer-interfaces
78
103
 
79
- ## [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)
104
+ ## [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)
80
105
 
81
106
  **Note:** Version bump only for package @aws-amplify/graphql-transformer-interfaces
82
107
 
108
+ ## [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)
83
109
 
110
+ **Note:** Version bump only for package @aws-amplify/graphql-transformer-interfaces
84
111
 
112
+ ## [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)
85
113
 
114
+ **Note:** Version bump only for package @aws-amplify/graphql-transformer-interfaces
86
115
 
87
116
  # [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)
88
117
 
89
-
90
118
  ### Features
91
119
 
92
- * dedup appsync functions ([#10289](https://github.com/aws-amplify/amplify-cli/issues/10289)) ([1a5607c](https://github.com/aws-amplify/amplify-cli/commit/1a5607c3e40d3a8144fc5f66a1632d90f061ed99))
93
-
94
-
95
-
96
-
120
+ - dedup appsync functions ([#10289](https://github.com/aws-amplify/amplify-cli/issues/10289)) ([1a5607c](https://github.com/aws-amplify/amplify-cli/commit/1a5607c3e40d3a8144fc5f66a1632d90f061ed99))
97
121
 
98
122
  ## [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)
99
123
 
100
-
101
124
  ### Bug Fixes
102
125
 
103
- * **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))
104
-
105
-
106
-
107
-
126
+ - **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))
108
127
 
109
128
  # [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)
110
129
 
111
-
112
130
  ### Features
113
131
 
114
- * `[@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))
115
-
116
-
117
-
118
-
132
+ - `[@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))
119
133
 
120
134
  ## [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)
121
135
 
122
-
123
136
  ### Bug Fixes
124
137
 
125
- * 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))
126
-
127
-
128
-
129
-
138
+ - 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))
130
139
 
131
140
  ## [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)
132
141
 
133
-
134
-
135
142
  ## 7.6.7 (2022-01-10)
136
143
 
137
144
  **Note:** Version bump only for package @aws-amplify/graphql-transformer-interfaces
138
145
 
139
-
140
-
141
-
142
-
143
146
  ## [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)
144
147
 
145
-
146
148
  ### Bug Fixes
147
149
 
148
- * 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))
149
-
150
-
151
-
152
-
150
+ - 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))
153
151
 
154
152
  ## [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)
155
153
 
156
-
157
154
  ### Bug Fixes
158
155
 
159
- * 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))
160
- * 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))
161
-
162
-
163
-
164
-
156
+ - 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))
157
+ - 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))
165
158
 
166
159
  ## [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)
167
160
 
168
161
  **Note:** Version bump only for package @aws-amplify/graphql-transformer-interfaces
169
162
 
170
-
171
-
172
-
173
-
174
163
  ## [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)
175
164
 
176
-
177
165
  ### Bug Fixes
178
166
 
179
- * **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))
180
- * 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))
181
-
182
-
183
-
184
-
167
+ - **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))
168
+ - 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))
185
169
 
186
170
  # [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)
187
171
 
188
-
189
172
  ### Features
190
173
 
191
- * **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))
192
-
193
-
194
-
195
-
174
+ - **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))
196
175
 
197
176
  ## [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)
198
177
 
199
-
200
178
  ### Bug Fixes
201
179
 
202
- * **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))
203
- * **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))
204
-
205
-
206
-
207
-
180
+ - **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))
181
+ - **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))
208
182
 
209
183
  # [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)
210
184
 
211
-
212
185
  ### Features
213
186
 
214
- * 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))
215
-
216
-
217
-
218
-
187
+ - 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))
219
188
 
220
189
  ## [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)
221
190
 
222
191
  **Note:** Version bump only for package @aws-amplify/graphql-transformer-interfaces
223
192
 
224
-
225
-
226
-
227
-
228
193
  ## [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)
229
194
 
230
195
  **Note:** Version bump only for package @aws-amplify/graphql-transformer-interfaces
231
196
 
232
-
233
-
234
-
235
-
236
197
  # [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)
237
198
 
238
-
239
199
  ### Features
240
200
 
241
- * 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))
242
-
243
-
244
-
245
-
201
+ - 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))
246
202
 
247
203
  # [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)
248
204
 
249
-
250
205
  ### Features
251
206
 
252
- * 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))
253
-
254
-
255
-
256
-
207
+ - 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))
257
208
 
258
209
  ## [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)
259
210
 
260
-
261
211
  ### Bug Fixes
262
212
 
263
- * correct 'tranformer' typo ([#7408](https://github.com/aws-amplify/amplify-cli/issues/7408)) ([9420f1b](https://github.com/aws-amplify/amplify-cli/commit/9420f1b29137fd7621d7d902a147e596776357df))
264
-
265
-
266
-
267
-
213
+ - correct 'tranformer' typo ([#7408](https://github.com/aws-amplify/amplify-cli/issues/7408)) ([9420f1b](https://github.com/aws-amplify/amplify-cli/commit/9420f1b29137fd7621d7d902a147e596776357df))
268
214
 
269
215
  # [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)
270
216
 
271
-
272
217
  ### Features
273
218
 
274
- * 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))
275
-
276
-
277
-
278
-
219
+ - 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))
279
220
 
280
221
  # [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)
281
222
 
282
-
283
-
284
223
  ## 4.50.1 (2021-05-03)
285
224
 
286
-
287
225
  ### Features
288
226
 
289
- * **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))
290
-
291
-
292
-
293
-
227
+ - **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))
294
228
 
295
229
  # [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)
296
230
 
297
-
298
231
  ### Features
299
232
 
300
- * **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))
301
-
302
-
303
-
304
-
233
+ - **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))
305
234
 
306
235
  ## [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)
307
236
 
308
237
  **Note:** Version bump only for package @aws-amplify/graphql-transformer-interfaces
309
238
 
310
-
311
-
312
-
313
-
314
239
  # [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)
315
240
 
316
-
317
241
  ### Features
318
242
 
319
- * container-based deployments([#5727](https://github.com/aws-amplify/amplify-cli/issues/5727)) ([fad6377](https://github.com/aws-amplify/amplify-cli/commit/fad6377bd384862ca4429cb1a83eee90efd62b58))
320
-
321
-
322
-
323
-
243
+ - container-based deployments([#5727](https://github.com/aws-amplify/amplify-cli/issues/5727)) ([fad6377](https://github.com/aws-amplify/amplify-cli/commit/fad6377bd384862ca4429cb1a83eee90efd62b58))
324
244
 
325
245
  ## [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)
326
246
 
327
247
  **Note:** Version bump only for package @aws-amplify/graphql-transformer-interfaces
328
248
 
329
-
330
-
331
-
332
-
333
249
  # 1.2.0 (2020-11-22)
334
250
 
335
-
336
251
  ### Features
337
252
 
338
- * transformer redesign ([#5534](https://github.com/aws-amplify/amplify-cli/issues/5534)) ([a93c685](https://github.com/aws-amplify/amplify-cli/commit/a93c6852f6588898ebc52b0574f4fcc3d2e87948))
339
-
340
-
341
-
342
-
253
+ - transformer redesign ([#5534](https://github.com/aws-amplify/amplify-cli/issues/5534)) ([a93c685](https://github.com/aws-amplify/amplify-cli/commit/a93c6852f6588898ebc52b0574f4fcc3d2e87948))
343
254
 
344
255
  # 1.1.0 (2020-11-08)
345
256
 
346
-
347
257
  ### Features
348
258
 
349
- * transformer redesign ([#5534](https://github.com/aws-amplify/amplify-cli/issues/5534)) ([a93c685](https://github.com/aws-amplify/amplify-cli/commit/a93c6852f6588898ebc52b0574f4fcc3d2e87948))
259
+ - transformer redesign ([#5534](https://github.com/aws-amplify/amplify-cli/issues/5534)) ([a93c685](https://github.com/aws-amplify/amplify-cli/commit/a93c6852f6588898ebc52b0574f4fcc3d2e87948))
@@ -0,0 +1,34 @@
1
+ export interface Template {
2
+ AWSTemplateFormatVersion?: string;
3
+ Description?: string;
4
+ Metadata?: Record<string, any>;
5
+ Parameters?: Record<string, any>;
6
+ Mappings?: {
7
+ [key: string]: {
8
+ [key: string]: Record<string, string | number | string[]>;
9
+ };
10
+ };
11
+ Conditions?: Record<string, any>;
12
+ Transform?: any;
13
+ Resources?: Record<string, any>;
14
+ Outputs?: Record<string, any>;
15
+ }
16
+ export interface StackMapping {
17
+ [resourceId: string]: string;
18
+ }
19
+ export interface ResolversFunctionsAndSchema {
20
+ resolvers: Record<string, string>;
21
+ pipelineFunctions: Record<string, string>;
22
+ functions: Record<string, string>;
23
+ schema: string;
24
+ userOverriddenSlots: string[];
25
+ }
26
+ export interface NestedStacks {
27
+ rootStack: Template;
28
+ stacks: Record<string, Template>;
29
+ stackMapping: Record<string, string>;
30
+ }
31
+ export interface DeploymentResources extends ResolversFunctionsAndSchema, NestedStacks {
32
+ stackMapping: StackMapping;
33
+ }
34
+ //# sourceMappingURL=deployment-resources.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deployment-resources.d.ts","sourceRoot":"","sources":["../src/deployment-resources.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,QAAQ;IACvB,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC/B,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACjC,QAAQ,CAAC,EAAE;QACT,CAAC,GAAG,EAAE,MAAM,GAAG;YACb,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,CAAC,CAAC;SAC3D,CAAC;KACH,CAAC;IACF,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACjC,SAAS,CAAC,EAAE,GAAG,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAChC,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAC/B;AAED,MAAM,WAAW,YAAY;IAC3B,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAAC;CAC9B;AAED,MAAM,WAAW,2BAA2B;IAE1C,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAElC,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAE1C,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAElC,MAAM,EAAE,MAAM,CAAC;IAEf,mBAAmB,EAAE,MAAM,EAAE,CAAC;CAC/B;AAED,MAAM,WAAW,YAAY;IAE3B,SAAS,EAAE,QAAQ,CAAC;IAEpB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;IAEjC,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACtC;AAKD,MAAM,WAAW,mBAAoB,SAAQ,2BAA2B,EAAE,YAAY;IAEpF,YAAY,EAAE,YAAY,CAAC;CAC5B"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=deployment-resources.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deployment-resources.js","sourceRoot":"","sources":["../src/deployment-resources.ts"],"names":[],"mappings":""}
package/lib/index.d.ts CHANGED
@@ -4,4 +4,5 @@ export { MutationFieldType, QueryFieldType, SubscriptionFieldType, TransformerMo
4
4
  export { FeatureFlagProvider } from './feature-flag-provider';
5
5
  export { GraphQLAPIProvider, AppSyncFunctionConfigurationProvider, DataSourceOptions, MappingTemplateProvider, S3MappingTemplateProvider, S3MappingFunctionCodeProvider, InlineMappingTemplateProvider, APIIAMResourceProvider, TemplateType as MappingTemplateType, AppSyncAuthConfiguration, AppSyncAuthConfigurationAPIKeyEntry, AppSyncAuthConfigurationEntry, AppSyncAuthConfigurationIAMEntry, ApiKeyConfig, AppSyncAuthConfigurationOIDCEntry, AppSyncAuthConfigurationUserPoolEntry, AppSyncAuthMode, UserPoolConfig, SearchableDataSourceOptions, } from './graphql-api-provider';
6
6
  export { TransformHostProvider, DynamoDbDataSourceOptions } from './transform-host-provider';
7
+ export { DeploymentResources, NestedStacks, ResolversFunctionsAndSchema, StackMapping, Template, } from './deployment-resources';
7
8
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,OAAO,EAAE,yBAAyB,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AACjG,OAAO,EACL,iBAAiB,EACjB,cAAc,EACd,qBAAqB,EACrB,wBAAwB,EACxB,mCAAmC,EACnC,uBAAuB,GACxB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAE9D,OAAO,EACL,kBAAkB,EAClB,oCAAoC,EACpC,iBAAiB,EACjB,uBAAuB,EACvB,yBAAyB,EACzB,6BAA6B,EAC7B,6BAA6B,EAC7B,sBAAsB,EACtB,YAAY,IAAI,mBAAmB,EACnC,wBAAwB,EACxB,mCAAmC,EACnC,6BAA6B,EAC7B,gCAAgC,EAChC,YAAY,EACZ,iCAAiC,EACjC,qCAAqC,EACrC,eAAe,EACf,cAAc,EACd,2BAA2B,GAC5B,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EAAE,qBAAqB,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,OAAO,EAAE,yBAAyB,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AACjG,OAAO,EACL,iBAAiB,EACjB,cAAc,EACd,qBAAqB,EACrB,wBAAwB,EACxB,mCAAmC,EACnC,uBAAuB,GACxB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAE9D,OAAO,EACL,kBAAkB,EAClB,oCAAoC,EACpC,iBAAiB,EACjB,uBAAuB,EACvB,yBAAyB,EACzB,6BAA6B,EAC7B,6BAA6B,EAC7B,sBAAsB,EACtB,YAAY,IAAI,mBAAmB,EACnC,wBAAwB,EACxB,mCAAmC,EACnC,6BAA6B,EAC7B,gCAAgC,EAChC,YAAY,EACZ,iCAAiC,EACjC,qCAAqC,EACrC,eAAe,EACf,cAAc,EACd,2BAA2B,GAC5B,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EAAE,qBAAqB,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AAE7F,OAAO,EACL,mBAAmB,EACnB,YAAY,EACZ,2BAA2B,EAC3B,YAAY,EACZ,QAAQ,GACT,MAAM,wBAAwB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-amplify/graphql-transformer-interfaces",
3
- "version": "2.1.0-cdkv2.1",
3
+ "version": "2.1.0",
4
4
  "description": "Amplify GraphQL transformer interface definitions",
5
5
  "repository": {
6
6
  "type": "git",
@@ -23,13 +23,14 @@
23
23
  "scripts": {
24
24
  "build": "tsc",
25
25
  "watch": "tsc -w",
26
- "clean": "rimraf ./lib"
26
+ "clean": "rimraf ./lib",
27
+ "extract-api": "ts-node ../../scripts/extract-api.ts"
27
28
  },
28
29
  "dependencies": {
29
- "@aws-cdk/aws-appsync-alpha": "~2.44.0-alpha.0",
30
- "aws-cdk-lib": "~2.44.0",
30
+ "@aws-cdk/aws-appsync-alpha": "~2.53.0-alpha.0",
31
+ "aws-cdk-lib": "~2.53.0",
31
32
  "constructs": "^10.0.5",
32
- "graphql": "^14.5.8"
33
+ "graphql": "^15.5.0"
33
34
  },
34
35
  "jest": {
35
36
  "transform": {
@@ -47,5 +48,5 @@
47
48
  ],
48
49
  "collectCoverage": true
49
50
  },
50
- "gitHead": "56732e657c7e35c13de3b2c0d0797315942438de"
51
+ "gitHead": "195aa005c8f203f5ed96c57c468bc2dc837a078c"
51
52
  }
@@ -0,0 +1,49 @@
1
+ export interface Template {
2
+ AWSTemplateFormatVersion?: string;
3
+ Description?: string;
4
+ Metadata?: Record<string, any>;
5
+ Parameters?: Record<string, any>;
6
+ Mappings?: {
7
+ [key: string]: {
8
+ [key: string]: Record<string, string | number | string[]>;
9
+ };
10
+ };
11
+ Conditions?: Record<string, any>;
12
+ Transform?: any;
13
+ Resources?: Record<string, any>;
14
+ Outputs?: Record<string, any>;
15
+ }
16
+
17
+ export interface StackMapping {
18
+ [resourceId: string]: string;
19
+ }
20
+
21
+ export interface ResolversFunctionsAndSchema {
22
+ // Resolver templates keyed by their filename.
23
+ resolvers: Record<string, string>;
24
+ // Contains mapping templates for pipeline functions.
25
+ pipelineFunctions: Record<string, string>;
26
+ // Code for any functions that need to be deployed.
27
+ functions: Record<string, string>;
28
+ // The full GraphQL schema.
29
+ schema: string;
30
+ // List of the user overridden slots
31
+ userOverriddenSlots: string[];
32
+ }
33
+
34
+ export interface NestedStacks {
35
+ // The root stack template.
36
+ rootStack: Template;
37
+ // All the nested stack templates.
38
+ stacks: Record<string, Template>;
39
+ // The full stack mapping for the deployment.
40
+ stackMapping: Record<string, string>;
41
+ }
42
+
43
+ /**
44
+ * The full set of resources needed for the deployment.
45
+ */
46
+ export interface DeploymentResources extends ResolversFunctionsAndSchema, NestedStacks {
47
+ // The full stack mapping for the deployment.
48
+ stackMapping: StackMapping;
49
+ }
@@ -7,7 +7,7 @@ import {
7
7
  import { Grant, IGrantable, IRole } from 'aws-cdk-lib/aws-iam';
8
8
  import { TransformHostProvider } from './transform-host-provider';
9
9
 
10
- // Auth Config
10
+ // Auth Config Modes
11
11
  export type AppSyncAuthMode = 'API_KEY' | 'AMAZON_COGNITO_USER_POOLS' | 'AWS_IAM' | 'OPENID_CONNECT' | 'AWS_LAMBDA';
12
12
  export type AppSyncAuthConfiguration = {
13
13
  defaultAuthentication: AppSyncAuthConfigurationEntry;
package/src/index.ts CHANGED
@@ -33,3 +33,11 @@ export {
33
33
  } from './graphql-api-provider';
34
34
 
35
35
  export { TransformHostProvider, DynamoDbDataSourceOptions } from './transform-host-provider';
36
+
37
+ export {
38
+ DeploymentResources,
39
+ NestedStacks,
40
+ ResolversFunctionsAndSchema,
41
+ StackMapping,
42
+ Template,
43
+ } from './deployment-resources';