@blocklet/pages-kit-block-studio 0.6.18 → 0.6.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/plugins/vite-plugin-block-studio.js +1 -0
- package/lib/cjs/tsconfig.tsbuildinfo +1 -1
- package/lib/cjs/utils/zod-utils.js +7 -0
- package/lib/esm/plugins/vite-plugin-block-studio.js +1 -0
- package/lib/esm/tsconfig.tsbuildinfo +1 -1
- package/lib/esm/utils/zod-utils.js +7 -0
- package/lib/types/tsconfig.tsbuildinfo +1 -1
- package/lib/types/utils/zod-utils.d.ts +1 -6
- package/package.json +6 -6
|
@@ -44,10 +44,5 @@ export declare function zodSchemaToTypeString(schema: z.ZodTypeAny, typeName: st
|
|
|
44
44
|
/**
|
|
45
45
|
* 从Zod schema生成JSON Schema
|
|
46
46
|
*/
|
|
47
|
-
export declare function zodSchemaToJsonSchema(schema: z.ZodTypeAny):
|
|
48
|
-
$schema?: string | undefined;
|
|
49
|
-
definitions?: {
|
|
50
|
-
[key: string]: import("zod-to-json-schema").JsonSchema7Type;
|
|
51
|
-
} | undefined;
|
|
52
|
-
};
|
|
47
|
+
export declare function zodSchemaToJsonSchema(schema: z.ZodTypeAny): any;
|
|
53
48
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blocklet/pages-kit-block-studio",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.19",
|
|
4
4
|
"description": "Pages Kit block studio for blocklet(s)",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
},
|
|
109
109
|
"dependencies": {
|
|
110
110
|
"@blocklet/sdk": "^1.16.46",
|
|
111
|
-
"@blocklet/ui-react": "^3.0.
|
|
111
|
+
"@blocklet/ui-react": "^3.0.32",
|
|
112
112
|
"@blocklet/uploader-server": "^0.2.2",
|
|
113
113
|
"@mdx-js/react": "^3.1.0",
|
|
114
114
|
"@mui/material": "^7.1.2",
|
|
@@ -138,10 +138,10 @@
|
|
|
138
138
|
"vite-plugin-node-polyfills": "^0.23.0",
|
|
139
139
|
"vite-plugin-react-pages": "^5.0.0",
|
|
140
140
|
"yaml": "^2.5.0",
|
|
141
|
-
"zod": "^3.
|
|
141
|
+
"zod": "^3.25.76",
|
|
142
142
|
"zod-to-json-schema": "^3.24.4",
|
|
143
143
|
"zod-to-ts": "^1.2.0",
|
|
144
|
-
"@blocklet/pages-kit": "0.6.
|
|
144
|
+
"@blocklet/pages-kit": "0.6.19"
|
|
145
145
|
},
|
|
146
146
|
"devDependencies": {
|
|
147
147
|
"@rollup/plugin-typescript": "^11.1.6",
|
|
@@ -164,10 +164,10 @@
|
|
|
164
164
|
"react": "^19.1.0",
|
|
165
165
|
"react-dom": "^19.1.0",
|
|
166
166
|
"react-router-dom": "^6.26.1",
|
|
167
|
-
"zod": "^3.
|
|
167
|
+
"zod": "^3.25.76 || ^4.0.5",
|
|
168
168
|
"zod-to-json-schema": "^3.24.4",
|
|
169
169
|
"zod-to-ts": "^1.2.0",
|
|
170
|
-
"@blocklet/pages-kit": "0.6.
|
|
170
|
+
"@blocklet/pages-kit": "0.6.19"
|
|
171
171
|
},
|
|
172
172
|
"scripts": {
|
|
173
173
|
"lint": "eslint src --ext .mjs,.js,.jsx,.ts,.tsx",
|