Skip to content

Commit d903d73

Browse files
committed
Merge remote-tracking branch 'origin/dev' into chore/test-zod-4
2 parents 1a256c6 + 25da0c7 commit d903d73

File tree

27 files changed

+823
-1501
lines changed

27 files changed

+823
-1501
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "zenstack-monorepo",
3-
"version": "2.18.1",
3+
"version": "2.19.0",
44
"description": "",
55
"scripts": {
66
"build": "pnpm -r --filter=\"!./packages/ide/*\" build",

packages/ide/jetbrains/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ plugins {
99
}
1010

1111
group = "dev.zenstack"
12-
version = "2.18.1"
12+
version = "2.19.0"
1313

1414
repositories {
1515
mavenCentral()

packages/ide/jetbrains/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jetbrains",
3-
"version": "2.18.1",
3+
"version": "2.19.0",
44
"displayName": "ZenStack JetBrains IDE Plugin",
55
"description": "ZenStack JetBrains IDE plugin",
66
"homepage": "https://zenstack.dev",

packages/language/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@zenstackhq/language",
3-
"version": "2.18.1",
3+
"version": "2.19.0",
44
"displayName": "ZenStack modeling language compiler",
55
"description": "ZenStack modeling language compiler",
66
"homepage": "https://zenstack.dev",

packages/misc/redwood/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@zenstackhq/redwood",
33
"displayName": "ZenStack RedwoodJS Integration",
4-
"version": "2.18.1",
4+
"version": "2.19.0",
55
"description": "CLI and runtime for integrating ZenStack with RedwoodJS projects.",
66
"repository": {
77
"type": "git",

packages/plugins/openapi/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@zenstackhq/openapi",
33
"displayName": "ZenStack Plugin and Runtime for OpenAPI",
4-
"version": "2.18.1",
4+
"version": "2.19.0",
55
"description": "ZenStack plugin and runtime supporting OpenAPI",
66
"main": "index.js",
77
"repository": {

packages/plugins/openapi/src/schema.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import z from 'zod';
44
* Zod schema for OpenAPI security schemes: https://swagger.io/docs/specification/authentication/
55
*/
66
export const SecuritySchemesSchema = z.record(
7+
z.string(),
78
z.union([
89
z.object({ type: z.literal('http'), scheme: z.literal('basic') }),
910
z.object({ type: z.literal('http'), scheme: z.literal('bearer'), bearerFormat: z.string().optional() }),
@@ -20,22 +21,22 @@ export const SecuritySchemesSchema = z.record(
2021
authorizationUrl: z.string(),
2122
tokenUrl: z.string(),
2223
refreshUrl: z.string(),
23-
scopes: z.record(z.string()),
24+
scopes: z.record(z.string(), z.string()),
2425
}),
2526
implicit: z.object({
2627
authorizationUrl: z.string(),
2728
refreshUrl: z.string(),
28-
scopes: z.record(z.string()),
29+
scopes: z.record(z.string(), z.string()),
2930
}),
3031
password: z.object({
3132
tokenUrl: z.string(),
3233
refreshUrl: z.string(),
33-
scopes: z.record(z.string()),
34+
scopes: z.record(z.string(), z.string()),
3435
}),
3536
clientCredentials: z.object({
3637
tokenUrl: z.string(),
3738
refreshUrl: z.string(),
38-
scopes: z.record(z.string()),
39+
scopes: z.record(z.string(), z.string()),
3940
}),
4041
}),
4142
}),

packages/plugins/swr/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@zenstackhq/swr",
33
"displayName": "ZenStack plugin for generating SWR hooks",
4-
"version": "2.18.1",
4+
"version": "2.19.0",
55
"description": "ZenStack plugin for generating SWR hooks",
66
"main": "index.js",
77
"repository": {

packages/plugins/tanstack-query/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@zenstackhq/tanstack-query",
33
"displayName": "ZenStack plugin for generating tanstack-query hooks",
4-
"version": "2.18.1",
4+
"version": "2.19.0",
55
"description": "ZenStack plugin for generating tanstack-query hooks",
66
"main": "index.js",
77
"exports": {

packages/plugins/trpc/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@zenstackhq/trpc",
33
"displayName": "ZenStack plugin for tRPC",
4-
"version": "2.18.1",
4+
"version": "2.19.0",
55
"description": "ZenStack plugin for tRPC",
66
"main": "index.js",
77
"repository": {

0 commit comments

Comments
 (0)