Skip to content

Commit 7790373

Browse files
committed
chore: update to latest ZenStack
1 parent 41fcb89 commit 7790373

File tree

4 files changed

+88
-115
lines changed

4 files changed

+88
-115
lines changed

lib/hooks/__model_meta.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -214,9 +214,9 @@ const metadata = {
214214
name: "ownerId",
215215
type: "String",
216216
attributes: [{ "name": "@default", "args": [] }],
217+
defaultValueProvider: $default$List$ownerId,
217218
isForeignKey: true,
218219
relationField: 'owner',
219-
defaultValueProvider: $default$List$ownerId,
220220
}, title: {
221221
name: "title",
222222
type: "String",
@@ -267,9 +267,9 @@ const metadata = {
267267
name: "ownerId",
268268
type: "String",
269269
attributes: [{ "name": "@default", "args": [] }],
270+
defaultValueProvider: $default$Todo$ownerId,
270271
isForeignKey: true,
271272
relationField: 'owner',
272-
defaultValueProvider: $default$Todo$ownerId,
273273
}, list: {
274274
name: "list",
275275
type: "List",

package-lock.json

+82-82
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
"@prisma/client": "^5.19.1",
2525
"@tanstack/react-query": "^5.8.4",
2626
"@tanstack/react-query-devtools": "^5.8.3",
27-
"@zenstackhq/runtime": "^2.7.5",
28-
"@zenstackhq/server": "^2.7.5",
29-
"@zenstackhq/tanstack-query": "^2.7.5",
27+
"@zenstackhq/runtime": "^2.8.0",
28+
"@zenstackhq/server": "^2.8.0",
29+
"@zenstackhq/tanstack-query": "^2.8.0",
3030
"babel-plugin-superjson-next": "^0.4.5",
3131
"bcryptjs": "^2.4.3",
3232
"daisyui": "^4.0.7",
@@ -56,6 +56,6 @@
5656
"prisma": "^5.19.1",
5757
"tailwindcss": "^3.1.8",
5858
"typescript": "^5.3.2",
59-
"zenstack": "^2.7.5"
59+
"zenstack": "^2.8.0"
6060
}
6161
}

0 commit comments

Comments
 (0)