Skip to content

Commit e028cf0

Browse files
committed
Merge remote-tracking branch 'origin/dev' into fix/exclude-unsupported-fields
2 parents 8d2aad3 + 12aeb7b commit e028cf0

94 files changed

Lines changed: 6539 additions & 3797 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "zenstack-v3",
3-
"version": "3.4.5",
3+
"version": "3.4.6",
44
"description": "ZenStack",
55
"packageManager": "pnpm@10.23.0",
66
"type": "module",

packages/auth-adapters/better-auth/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@zenstackhq/better-auth",
3-
"version": "3.4.5",
3+
"version": "3.4.6",
44
"description": "ZenStack Better Auth Adapter. This adapter is modified from better-auth's Prisma adapter.",
55
"type": "module",
66
"scripts": {

packages/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"publisher": "zenstack",
44
"displayName": "ZenStack CLI",
55
"description": "FullStack database toolkit with built-in access control and automatic API generation.",
6-
"version": "3.4.5",
6+
"version": "3.4.6",
77
"type": "module",
88
"author": {
99
"name": "ZenStack Team"

packages/clients/client-helpers/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@zenstackhq/client-helpers",
3-
"version": "3.4.5",
3+
"version": "3.4.6",
44
"description": "Helpers for implementing clients that consume ZenStack's CRUD service",
55
"type": "module",
66
"scripts": {

packages/clients/tanstack-query/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@zenstackhq/tanstack-query",
3-
"version": "3.4.5",
3+
"version": "3.4.6",
44
"description": "TanStack Query Client for consuming ZenStack v3's CRUD service",
55
"type": "module",
66
"scripts": {

packages/clients/tanstack-query/test/schemas/basic/schema-lite.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
/* eslint-disable */
77

8-
import { type SchemaDef, ExpressionUtils } from "@zenstackhq/schema";
8+
import { type SchemaDef, type FieldDefault, ExpressionUtils } from "@zenstackhq/schema";
99
export class SchemaType implements SchemaDef {
1010
provider = {
1111
type: "sqlite"
@@ -18,7 +18,7 @@ export class SchemaType implements SchemaDef {
1818
name: "id",
1919
type: "String",
2020
id: true,
21-
default: ExpressionUtils.call("cuid")
21+
default: ExpressionUtils.call("cuid") as FieldDefault
2222
},
2323
email: {
2424
name: "email",
@@ -50,7 +50,7 @@ export class SchemaType implements SchemaDef {
5050
name: "id",
5151
type: "String",
5252
id: true,
53-
default: ExpressionUtils.call("cuid")
53+
default: ExpressionUtils.call("cuid") as FieldDefault
5454
},
5555
title: {
5656
name: "title",
@@ -68,7 +68,7 @@ export class SchemaType implements SchemaDef {
6868
optional: true,
6969
foreignKeyFor: [
7070
"owner"
71-
]
71+
] as readonly string[]
7272
},
7373
category: {
7474
name: "category",
@@ -82,7 +82,7 @@ export class SchemaType implements SchemaDef {
8282
optional: true,
8383
foreignKeyFor: [
8484
"category"
85-
]
85+
] as readonly string[]
8686
}
8787
},
8888
idFields: ["id"],
@@ -97,7 +97,7 @@ export class SchemaType implements SchemaDef {
9797
name: "id",
9898
type: "String",
9999
id: true,
100-
default: ExpressionUtils.call("cuid")
100+
default: ExpressionUtils.call("cuid") as FieldDefault
101101
},
102102
name: {
103103
name: "name",
@@ -124,7 +124,7 @@ export class SchemaType implements SchemaDef {
124124
name: "id",
125125
type: "String",
126126
id: true,
127-
default: ExpressionUtils.call("cuid")
127+
default: ExpressionUtils.call("cuid") as FieldDefault
128128
},
129129
type: {
130130
name: "type",
@@ -147,7 +147,7 @@ export class SchemaType implements SchemaDef {
147147
name: "id",
148148
type: "String",
149149
id: true,
150-
default: ExpressionUtils.call("cuid")
150+
default: ExpressionUtils.call("cuid") as FieldDefault
151151
},
152152
type: {
153153
name: "type",

packages/common-helpers/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@zenstackhq/common-helpers",
3-
"version": "3.4.5",
3+
"version": "3.4.6",
44
"description": "ZenStack Common Helpers",
55
"type": "module",
66
"scripts": {

packages/config/eslint-config/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@zenstackhq/eslint-config",
3-
"version": "3.4.5",
3+
"version": "3.4.6",
44
"type": "module",
55
"private": true,
66
"license": "MIT"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@zenstackhq/typescript-config",
3-
"version": "3.4.5",
3+
"version": "3.4.6",
44
"private": true,
55
"license": "MIT"
66
}

packages/config/vitest-config/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@zenstackhq/vitest-config",
33
"type": "module",
4-
"version": "3.4.5",
4+
"version": "3.4.6",
55
"private": true,
66
"license": "MIT",
77
"exports": {

0 commit comments

Comments
 (0)