@aws-amplify/graphql-model-transformer 1.2.1-alpha.3 → 1.2.1-ownerfield-pk-fix.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,6 +3,12 @@
|
|
|
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
|
+
## [1.2.1-ownerfield-pk-fix.0](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-model-transformer@1.2.0...@aws-amplify/graphql-model-transformer@1.2.1-ownerfield-pk-fix.0) (2023-04-10)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- **auth:** ownerfield as pk in relational models ([#1389](https://github.com/aws-amplify/amplify-category-api/issues/1389)) ([34d7958](https://github.com/aws-amplify/amplify-category-api/commit/34d79580433548d615302274f89896764d587a6b))
|
|
11
|
+
|
|
6
12
|
# [1.2.0](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-model-transformer@1.1.1...@aws-amplify/graphql-model-transformer@1.2.0) (2023-03-30)
|
|
7
13
|
|
|
8
14
|
### Features
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-amplify/graphql-model-transformer",
|
|
3
|
-
"version": "1.2.1-
|
|
3
|
+
"version": "1.2.1-ownerfield-pk-fix.0",
|
|
4
4
|
"description": "Amplify graphql @model transformer",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -29,13 +29,13 @@
|
|
|
29
29
|
"extract-api": "ts-node ../../scripts/extract-api.ts"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@aws-amplify/graphql-transformer-core": "1.2.1-
|
|
33
|
-
"@aws-amplify/graphql-transformer-interfaces": "2.1.
|
|
32
|
+
"@aws-amplify/graphql-transformer-core": "1.2.1-ownerfield-pk-fix.0",
|
|
33
|
+
"@aws-amplify/graphql-transformer-interfaces": "2.1.1",
|
|
34
34
|
"aws-cdk-lib": "~2.68.0",
|
|
35
35
|
"constructs": "^10.0.5",
|
|
36
36
|
"graphql": "^15.5.0",
|
|
37
|
-
"graphql-mapping-template": "4.20.
|
|
38
|
-
"graphql-transformer-common": "4.24.
|
|
37
|
+
"graphql-mapping-template": "4.20.8",
|
|
38
|
+
"graphql-transformer-common": "4.24.5"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@types/node": "^12.12.6"
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"overrides"
|
|
59
59
|
]
|
|
60
60
|
},
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "a2e2c02d6dccf8e1bb2b96ae2e5f89d22b868d38"
|
|
62
62
|
}
|
|
@@ -235,6 +235,7 @@ $util.qr($ctx.stash.metadata.put(\\"apiId\\", \\"",
|
|
|
235
235
|
"Ref": "referencetotransformerrootstackGraphQLAPI20497F53ApiId",
|
|
236
236
|
},
|
|
237
237
|
"\\"))
|
|
238
|
+
$util.qr($ctx.stash.put(\\"connectionAttributes\\", {}))
|
|
238
239
|
$util.qr($ctx.stash.put(\\"tableName\\", \\"",
|
|
239
240
|
Object {
|
|
240
241
|
"Ref": "PostTable",
|
|
@@ -286,6 +287,7 @@ $util.qr($ctx.stash.metadata.put(\\"apiId\\", \\"",
|
|
|
286
287
|
"Ref": "referencetotransformerrootstackGraphQLAPI20497F53ApiId",
|
|
287
288
|
},
|
|
288
289
|
"\\"))
|
|
290
|
+
$util.qr($ctx.stash.put(\\"connectionAttributes\\", {}))
|
|
289
291
|
$util.qr($ctx.stash.put(\\"tableName\\", \\"",
|
|
290
292
|
Object {
|
|
291
293
|
"Ref": "PostTable",
|
|
@@ -412,6 +414,7 @@ $util.qr($ctx.stash.metadata.put(\\"apiId\\", \\"",
|
|
|
412
414
|
"Ref": "referencetotransformerrootstackGraphQLAPI20497F53ApiId",
|
|
413
415
|
},
|
|
414
416
|
"\\"))
|
|
417
|
+
$util.qr($ctx.stash.put(\\"connectionAttributes\\", {}))
|
|
415
418
|
$util.qr($ctx.stash.put(\\"tableName\\", \\"",
|
|
416
419
|
Object {
|
|
417
420
|
"Ref": "PostTable",
|
|
@@ -463,6 +466,7 @@ $util.qr($ctx.stash.metadata.put(\\"apiId\\", \\"",
|
|
|
463
466
|
"Ref": "referencetotransformerrootstackGraphQLAPI20497F53ApiId",
|
|
464
467
|
},
|
|
465
468
|
"\\"))
|
|
469
|
+
$util.qr($ctx.stash.put(\\"connectionAttributes\\", {}))
|
|
466
470
|
$util.qr($ctx.stash.put(\\"tableName\\", \\"",
|
|
467
471
|
Object {
|
|
468
472
|
"Ref": "PostTable",
|
|
@@ -1089,6 +1093,7 @@ $util.qr($ctx.stash.metadata.put(\\"apiId\\", \\"",
|
|
|
1089
1093
|
"Ref": "referencetotransformerrootstackGraphQLAPI20497F53ApiId",
|
|
1090
1094
|
},
|
|
1091
1095
|
"\\"))
|
|
1096
|
+
$util.qr($ctx.stash.put(\\"connectionAttributes\\", {}))
|
|
1092
1097
|
|
|
1093
1098
|
$util.toJson({})",
|
|
1094
1099
|
],
|
|
@@ -1136,6 +1141,7 @@ $util.qr($ctx.stash.metadata.put(\\"apiId\\", \\"",
|
|
|
1136
1141
|
"Ref": "referencetotransformerrootstackGraphQLAPI20497F53ApiId",
|
|
1137
1142
|
},
|
|
1138
1143
|
"\\"))
|
|
1144
|
+
$util.qr($ctx.stash.put(\\"connectionAttributes\\", {}))
|
|
1139
1145
|
|
|
1140
1146
|
$util.toJson({})",
|
|
1141
1147
|
],
|
|
@@ -1183,6 +1189,7 @@ $util.qr($ctx.stash.metadata.put(\\"apiId\\", \\"",
|
|
|
1183
1189
|
"Ref": "referencetotransformerrootstackGraphQLAPI20497F53ApiId",
|
|
1184
1190
|
},
|
|
1185
1191
|
"\\"))
|
|
1192
|
+
$util.qr($ctx.stash.put(\\"connectionAttributes\\", {}))
|
|
1186
1193
|
|
|
1187
1194
|
$util.toJson({})",
|
|
1188
1195
|
],
|
|
@@ -1236,6 +1243,7 @@ $util.qr($ctx.stash.metadata.put(\\"apiId\\", \\"",
|
|
|
1236
1243
|
"Ref": "referencetotransformerrootstackGraphQLAPI20497F53ApiId",
|
|
1237
1244
|
},
|
|
1238
1245
|
"\\"))
|
|
1246
|
+
$util.qr($ctx.stash.put(\\"connectionAttributes\\", {}))
|
|
1239
1247
|
$util.qr($ctx.stash.put(\\"tableName\\", \\"",
|
|
1240
1248
|
Object {
|
|
1241
1249
|
"Ref": "PostTable",
|
|
@@ -1645,6 +1653,7 @@ $util.qr($ctx.stash.metadata.put(\\"apiId\\", \\"",
|
|
|
1645
1653
|
"Ref": "referencetotransformerrootstackGraphQLAPI20497F53ApiId",
|
|
1646
1654
|
},
|
|
1647
1655
|
"\\"))
|
|
1656
|
+
$util.qr($ctx.stash.put(\\"connectionAttributes\\", {}))
|
|
1648
1657
|
$util.qr($ctx.stash.put(\\"tableName\\", \\"",
|
|
1649
1658
|
Object {
|
|
1650
1659
|
"Ref": "CommentTable",
|
|
@@ -1693,6 +1702,7 @@ $util.qr($ctx.stash.metadata.put(\\"apiId\\", \\"",
|
|
|
1693
1702
|
"Ref": "referencetotransformerrootstackGraphQLAPI20497F53ApiId",
|
|
1694
1703
|
},
|
|
1695
1704
|
"\\"))
|
|
1705
|
+
$util.qr($ctx.stash.put(\\"connectionAttributes\\", {}))
|
|
1696
1706
|
$util.qr($ctx.stash.put(\\"tableName\\", \\"",
|
|
1697
1707
|
Object {
|
|
1698
1708
|
"Ref": "CommentTable",
|
|
@@ -1816,6 +1826,7 @@ $util.qr($ctx.stash.metadata.put(\\"apiId\\", \\"",
|
|
|
1816
1826
|
"Ref": "referencetotransformerrootstackGraphQLAPI20497F53ApiId",
|
|
1817
1827
|
},
|
|
1818
1828
|
"\\"))
|
|
1829
|
+
$util.qr($ctx.stash.put(\\"connectionAttributes\\", {}))
|
|
1819
1830
|
$util.qr($ctx.stash.put(\\"tableName\\", \\"",
|
|
1820
1831
|
Object {
|
|
1821
1832
|
"Ref": "CommentTable",
|
|
@@ -1864,6 +1875,7 @@ $util.qr($ctx.stash.metadata.put(\\"apiId\\", \\"",
|
|
|
1864
1875
|
"Ref": "referencetotransformerrootstackGraphQLAPI20497F53ApiId",
|
|
1865
1876
|
},
|
|
1866
1877
|
"\\"))
|
|
1878
|
+
$util.qr($ctx.stash.put(\\"connectionAttributes\\", {}))
|
|
1867
1879
|
$util.qr($ctx.stash.put(\\"tableName\\", \\"",
|
|
1868
1880
|
Object {
|
|
1869
1881
|
"Ref": "CommentTable",
|
|
@@ -2164,6 +2176,7 @@ $util.qr($ctx.stash.metadata.put(\\"apiId\\", \\"",
|
|
|
2164
2176
|
"Ref": "referencetotransformerrootstackGraphQLAPI20497F53ApiId",
|
|
2165
2177
|
},
|
|
2166
2178
|
"\\"))
|
|
2179
|
+
$util.qr($ctx.stash.put(\\"connectionAttributes\\", {}))
|
|
2167
2180
|
|
|
2168
2181
|
$util.toJson({})",
|
|
2169
2182
|
],
|
|
@@ -2205,6 +2218,7 @@ $util.qr($ctx.stash.metadata.put(\\"apiId\\", \\"",
|
|
|
2205
2218
|
"Ref": "referencetotransformerrootstackGraphQLAPI20497F53ApiId",
|
|
2206
2219
|
},
|
|
2207
2220
|
"\\"))
|
|
2221
|
+
$util.qr($ctx.stash.put(\\"connectionAttributes\\", {}))
|
|
2208
2222
|
|
|
2209
2223
|
$util.toJson({})",
|
|
2210
2224
|
],
|
|
@@ -2246,6 +2260,7 @@ $util.qr($ctx.stash.metadata.put(\\"apiId\\", \\"",
|
|
|
2246
2260
|
"Ref": "referencetotransformerrootstackGraphQLAPI20497F53ApiId",
|
|
2247
2261
|
},
|
|
2248
2262
|
"\\"))
|
|
2263
|
+
$util.qr($ctx.stash.put(\\"connectionAttributes\\", {}))
|
|
2249
2264
|
|
|
2250
2265
|
$util.toJson({})",
|
|
2251
2266
|
],
|
|
@@ -2293,6 +2308,7 @@ $util.qr($ctx.stash.metadata.put(\\"apiId\\", \\"",
|
|
|
2293
2308
|
"Ref": "referencetotransformerrootstackGraphQLAPI20497F53ApiId",
|
|
2294
2309
|
},
|
|
2295
2310
|
"\\"))
|
|
2311
|
+
$util.qr($ctx.stash.put(\\"connectionAttributes\\", {}))
|
|
2296
2312
|
$util.qr($ctx.stash.put(\\"tableName\\", \\"",
|
|
2297
2313
|
Object {
|
|
2298
2314
|
"Ref": "CommentTable",
|
|
@@ -2546,6 +2562,7 @@ $util.qr($ctx.stash.metadata.put(\\"apiId\\", \\"",
|
|
|
2546
2562
|
"Ref": "referencetotransformerrootstackGraphQLAPI20497F53ApiId",
|
|
2547
2563
|
},
|
|
2548
2564
|
"\\"))
|
|
2565
|
+
$util.qr($ctx.stash.put(\\"connectionAttributes\\", {}))
|
|
2549
2566
|
$util.qr($ctx.stash.put(\\"tableName\\", \\"",
|
|
2550
2567
|
Object {
|
|
2551
2568
|
"Ref": "PostTable",
|
|
@@ -2597,6 +2614,7 @@ $util.qr($ctx.stash.metadata.put(\\"apiId\\", \\"",
|
|
|
2597
2614
|
"Ref": "referencetotransformerrootstackGraphQLAPI20497F53ApiId",
|
|
2598
2615
|
},
|
|
2599
2616
|
"\\"))
|
|
2617
|
+
$util.qr($ctx.stash.put(\\"connectionAttributes\\", {}))
|
|
2600
2618
|
$util.qr($ctx.stash.put(\\"tableName\\", \\"",
|
|
2601
2619
|
Object {
|
|
2602
2620
|
"Ref": "PostTable",
|
|
@@ -2723,6 +2741,7 @@ $util.qr($ctx.stash.metadata.put(\\"apiId\\", \\"",
|
|
|
2723
2741
|
"Ref": "referencetotransformerrootstackGraphQLAPI20497F53ApiId",
|
|
2724
2742
|
},
|
|
2725
2743
|
"\\"))
|
|
2744
|
+
$util.qr($ctx.stash.put(\\"connectionAttributes\\", {}))
|
|
2726
2745
|
$util.qr($ctx.stash.put(\\"tableName\\", \\"",
|
|
2727
2746
|
Object {
|
|
2728
2747
|
"Ref": "PostTable",
|
|
@@ -2774,6 +2793,7 @@ $util.qr($ctx.stash.metadata.put(\\"apiId\\", \\"",
|
|
|
2774
2793
|
"Ref": "referencetotransformerrootstackGraphQLAPI20497F53ApiId",
|
|
2775
2794
|
},
|
|
2776
2795
|
"\\"))
|
|
2796
|
+
$util.qr($ctx.stash.put(\\"connectionAttributes\\", {}))
|
|
2777
2797
|
$util.qr($ctx.stash.put(\\"tableName\\", \\"",
|
|
2778
2798
|
Object {
|
|
2779
2799
|
"Ref": "PostTable",
|
|
@@ -3392,6 +3412,7 @@ $util.qr($ctx.stash.metadata.put(\\"apiId\\", \\"",
|
|
|
3392
3412
|
"Ref": "referencetotransformerrootstackGraphQLAPI20497F53ApiId",
|
|
3393
3413
|
},
|
|
3394
3414
|
"\\"))
|
|
3415
|
+
$util.qr($ctx.stash.put(\\"connectionAttributes\\", {}))
|
|
3395
3416
|
|
|
3396
3417
|
$util.toJson({})",
|
|
3397
3418
|
],
|
|
@@ -3439,6 +3460,7 @@ $util.qr($ctx.stash.metadata.put(\\"apiId\\", \\"",
|
|
|
3439
3460
|
"Ref": "referencetotransformerrootstackGraphQLAPI20497F53ApiId",
|
|
3440
3461
|
},
|
|
3441
3462
|
"\\"))
|
|
3463
|
+
$util.qr($ctx.stash.put(\\"connectionAttributes\\", {}))
|
|
3442
3464
|
|
|
3443
3465
|
$util.toJson({})",
|
|
3444
3466
|
],
|
|
@@ -3521,6 +3543,7 @@ $util.qr($ctx.stash.metadata.put(\\"apiId\\", \\"",
|
|
|
3521
3543
|
"Ref": "referencetotransformerrootstackGraphQLAPI20497F53ApiId",
|
|
3522
3544
|
},
|
|
3523
3545
|
"\\"))
|
|
3546
|
+
$util.qr($ctx.stash.put(\\"connectionAttributes\\", {}))
|
|
3524
3547
|
$util.qr($ctx.stash.put(\\"tableName\\", \\"",
|
|
3525
3548
|
Object {
|
|
3526
3549
|
"Ref": "PostTable",
|
|
@@ -3922,6 +3945,7 @@ $util.qr($ctx.stash.metadata.put(\\"apiId\\", \\"",
|
|
|
3922
3945
|
"Ref": "referencetotransformerrootstackGraphQLAPI20497F53ApiId",
|
|
3923
3946
|
},
|
|
3924
3947
|
"\\"))
|
|
3948
|
+
$util.qr($ctx.stash.put(\\"connectionAttributes\\", {}))
|
|
3925
3949
|
$util.qr($ctx.stash.put(\\"tableName\\", \\"",
|
|
3926
3950
|
Object {
|
|
3927
3951
|
"Ref": "CommentTable",
|
|
@@ -3970,6 +3994,7 @@ $util.qr($ctx.stash.metadata.put(\\"apiId\\", \\"",
|
|
|
3970
3994
|
"Ref": "referencetotransformerrootstackGraphQLAPI20497F53ApiId",
|
|
3971
3995
|
},
|
|
3972
3996
|
"\\"))
|
|
3997
|
+
$util.qr($ctx.stash.put(\\"connectionAttributes\\", {}))
|
|
3973
3998
|
$util.qr($ctx.stash.put(\\"tableName\\", \\"",
|
|
3974
3999
|
Object {
|
|
3975
4000
|
"Ref": "CommentTable",
|
|
@@ -4093,6 +4118,7 @@ $util.qr($ctx.stash.metadata.put(\\"apiId\\", \\"",
|
|
|
4093
4118
|
"Ref": "referencetotransformerrootstackGraphQLAPI20497F53ApiId",
|
|
4094
4119
|
},
|
|
4095
4120
|
"\\"))
|
|
4121
|
+
$util.qr($ctx.stash.put(\\"connectionAttributes\\", {}))
|
|
4096
4122
|
$util.qr($ctx.stash.put(\\"tableName\\", \\"",
|
|
4097
4123
|
Object {
|
|
4098
4124
|
"Ref": "CommentTable",
|
|
@@ -4141,6 +4167,7 @@ $util.qr($ctx.stash.metadata.put(\\"apiId\\", \\"",
|
|
|
4141
4167
|
"Ref": "referencetotransformerrootstackGraphQLAPI20497F53ApiId",
|
|
4142
4168
|
},
|
|
4143
4169
|
"\\"))
|
|
4170
|
+
$util.qr($ctx.stash.put(\\"connectionAttributes\\", {}))
|
|
4144
4171
|
$util.qr($ctx.stash.put(\\"tableName\\", \\"",
|
|
4145
4172
|
Object {
|
|
4146
4173
|
"Ref": "CommentTable",
|
|
@@ -4441,6 +4468,7 @@ $util.qr($ctx.stash.metadata.put(\\"apiId\\", \\"",
|
|
|
4441
4468
|
"Ref": "referencetotransformerrootstackGraphQLAPI20497F53ApiId",
|
|
4442
4469
|
},
|
|
4443
4470
|
"\\"))
|
|
4471
|
+
$util.qr($ctx.stash.put(\\"connectionAttributes\\", {}))
|
|
4444
4472
|
|
|
4445
4473
|
$util.toJson({})",
|
|
4446
4474
|
],
|
|
@@ -4482,6 +4510,7 @@ $util.qr($ctx.stash.metadata.put(\\"apiId\\", \\"",
|
|
|
4482
4510
|
"Ref": "referencetotransformerrootstackGraphQLAPI20497F53ApiId",
|
|
4483
4511
|
},
|
|
4484
4512
|
"\\"))
|
|
4513
|
+
$util.qr($ctx.stash.put(\\"connectionAttributes\\", {}))
|
|
4485
4514
|
|
|
4486
4515
|
$util.toJson({})",
|
|
4487
4516
|
],
|
|
@@ -4523,6 +4552,7 @@ $util.qr($ctx.stash.metadata.put(\\"apiId\\", \\"",
|
|
|
4523
4552
|
"Ref": "referencetotransformerrootstackGraphQLAPI20497F53ApiId",
|
|
4524
4553
|
},
|
|
4525
4554
|
"\\"))
|
|
4555
|
+
$util.qr($ctx.stash.put(\\"connectionAttributes\\", {}))
|
|
4526
4556
|
|
|
4527
4557
|
$util.toJson({})",
|
|
4528
4558
|
],
|
|
@@ -4570,6 +4600,7 @@ $util.qr($ctx.stash.metadata.put(\\"apiId\\", \\"",
|
|
|
4570
4600
|
"Ref": "referencetotransformerrootstackGraphQLAPI20497F53ApiId",
|
|
4571
4601
|
},
|
|
4572
4602
|
"\\"))
|
|
4603
|
+
$util.qr($ctx.stash.put(\\"connectionAttributes\\", {}))
|
|
4573
4604
|
$util.qr($ctx.stash.put(\\"tableName\\", \\"",
|
|
4574
4605
|
Object {
|
|
4575
4606
|
"Ref": "CommentTable",
|