Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: bump data-schema deps to latest #1399

Merged
merged 1 commit into from
Apr 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading