@aws-amplify/graphql-model-transformer 0.10.0-GqlExtensibility.0 → 0.10.0-apiext1.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 +2 -10
- package/package.json +3 -3
- package/src/__tests__/__snapshots__/{model-transformer1.test.ts.snap → model-transformer-override.test.ts.snap} +0 -0
- package/src/__tests__/{model-transformer1.test.ts → model-transformer-override.test.ts} +0 -0
- package/src/__tests__/overrides/build/override.js +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,20 +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
|
-
# [0.10.0-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
### Bug Fixes
|
|
10
|
-
|
|
11
|
-
* merged with extOverrides3 ([7f3f468](https://github.com/aws-amplify/amplify-cli/commit/7f3f4683594ae3b63f96704387d9332222d7f79c))
|
|
12
|
-
* rebase with gql release branch ([afe065a](https://github.com/aws-amplify/amplify-cli/commit/afe065a83637bb689c9a19d9b092d463c9fd35e4))
|
|
13
|
-
* update gitignore to include test files ([66d003a](https://github.com/aws-amplify/amplify-cli/commit/66d003a82a013478cabb437c7279f12cab051fd9))
|
|
6
|
+
# [0.10.0-apiext1.0](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/graphql-model-transformer@0.9.2...@aws-amplify/graphql-model-transformer@0.10.0-apiext1.0) (2021-11-19)
|
|
14
7
|
|
|
15
8
|
|
|
16
9
|
### Features
|
|
17
10
|
|
|
18
|
-
*
|
|
19
|
-
* overrides functionality for appsync api ([c088265](https://github.com/aws-amplify/amplify-cli/commit/c088265e71f9393ef6f927671bb727a72b3232a3))
|
|
11
|
+
* extensibility for Amplify API ([#8954](https://github.com/aws-amplify/amplify-cli/issues/8954)) ([d662316](https://github.com/aws-amplify/amplify-cli/commit/d66231697abc7db86e4e6a7c66e78e88a332dd22))
|
|
20
12
|
|
|
21
13
|
|
|
22
14
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-amplify/graphql-model-transformer",
|
|
3
|
-
"version": "0.10.0-
|
|
3
|
+
"version": "0.10.0-apiext1.0",
|
|
4
4
|
"description": "Amplify graphql @model transformer",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"test-watch": "jest --watch"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@aws-amplify/graphql-transformer-core": "0.14.0-
|
|
31
|
+
"@aws-amplify/graphql-transformer-core": "0.14.0-apiext1.0",
|
|
32
32
|
"@aws-amplify/graphql-transformer-interfaces": "1.12.2",
|
|
33
33
|
"@aws-cdk/assets": "~1.124.0",
|
|
34
34
|
"@aws-cdk/aws-applicationautoscaling": "~1.124.0",
|
|
@@ -86,5 +86,5 @@
|
|
|
86
86
|
"overrides"
|
|
87
87
|
]
|
|
88
88
|
},
|
|
89
|
-
"gitHead": "
|
|
89
|
+
"gitHead": "7c4b88c06d0a034f7259e86a97bff4093f5e5991"
|
|
90
90
|
}
|
|
File without changes
|
|
File without changes
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
function override(resource) {
|
|
2
|
-
/* TODO: Add snippet of how to override in comments */
|
|
3
2
|
resource.api.GraphQLAPI.xrayEnabled = true;
|
|
4
3
|
resource.models['Post'].modelDDBTable.billingMode = 'PROVISIONED';
|
|
5
4
|
resource.models['Comment'].modelDDBTable.billingMode = 'PROVISIONED';
|