Skip to content

Commit

Permalink
chore: bump data-schema deps to latest
Browse files Browse the repository at this point in the history
  • Loading branch information
iartemiev committed Apr 29, 2024
1 parent a817f2d commit 78528ee
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 33 deletions.
6 changes: 6 additions & 0 deletions .changeset/ninety-beds-tan.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@aws-amplify/backend-data': minor
'@aws-amplify/backend': minor
---

use latest data-schema
36 changes: 8 additions & 28 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/backend-data/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
},
"license": "Apache-2.0",
"devDependencies": {
"@aws-amplify/data-schema": "^0.16.0",
"@aws-amplify/data-schema": "^1.0.0",
"@aws-amplify/backend-platform-test-stubs": "^0.3.3",
"@aws-amplify/platform-core": "^0.5.1"
},
Expand All @@ -31,6 +31,6 @@
"@aws-amplify/backend-output-schemas": "^0.7.0",
"@aws-amplify/data-construct": "^1.8.0",
"@aws-amplify/plugin-types": "^0.10.0",
"@aws-amplify/data-schema-types": "^0.9.0"
"@aws-amplify/data-schema-types": "^1.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
},
"license": "Apache-2.0",
"dependencies": {
"@aws-amplify/data-schema": "^0.16.0",
"@aws-amplify/data-schema": "^1.0.0",
"@aws-amplify/backend-auth": "^0.7.0",
"@aws-amplify/backend-function": "^0.9.1",
"@aws-amplify/backend-data": "^0.12.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/integration-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"@aws-amplify/backend": "^0.13.4",
"@aws-amplify/backend-secret": "^0.4.6",
"@aws-amplify/client-config": "^0.9.4",
"@aws-amplify/data-schema": "^0.16.0",
"@aws-amplify/data-schema": "^1.0.0",
"@aws-amplify/platform-core": "^0.5.1",
"@aws-sdk/client-amplify": "^3.465.0",
"@aws-sdk/client-cloudformation": "^3.465.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const schema = a.schema({
.model({
content: a.string(),
})
.authorization((allow) => [allow.authenticated('iam')]),
.authorization((allow) => [allow.authenticated('identityPool')]),
}) as never; // Not 100% sure why TS is complaining here. The error I'm getting is "The inferred type of 'schema' references an inaccessible 'unique symbol' type. A type annotation is necessary."

// ^ appears to be caused by these 2 rules in tsconfig.base.json: https://github.com/aws-amplify/amplify-backend/blob/8d9a7a4c3033c474b0fc78379cdd4c1854d890ce/tsconfig.base.json#L7-L8
Expand Down

0 comments on commit 78528ee

Please sign in to comment.