@valbuild/shared 0.110.0 → 0.113.0
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import { type SerializedSchema as SerializedSchemaT, type SerializedStringSchema as SerializedStringSchemaT, type SerializedLiteralSchema as SerializedLiteralSchemaT, type SerializedBooleanSchema as SerializedBooleanSchemaT, type SerializedNumberSchema as SerializedNumberSchemaT, type SerializedObjectSchema as SerializedObjectSchemaT, type SerializedArraySchema as SerializedArraySchemaT, type SerializedUnionSchema as SerializedUnionSchemaT, type SerializedRichTextSchema as SerializedRichTextSchemaT, type SerializedRichTextOptions as SerializedRichTextOptionsT, type SerializedRecordSchema as SerializedRecordSchemaT, type SerializedKeyOfSchema as SerializedKeyOfSchemaT, type SerializedRouteSchema as SerializedRouteSchemaT, type SerializedFileSchema as SerializedFileSchemaT, type SerializedDateSchema as SerializedDateSchemaT, type SerializedDateTimeSchema as SerializedDateTimeSchemaT, type SerializedColorSchema as SerializedColorSchemaT, type SerializedImageSchema as SerializedImageSchemaT } from "@valbuild/core";
|
|
2
|
+
import { type SerializedSchema as SerializedSchemaT, type SerializedStringSchema as SerializedStringSchemaT, type SerializedLiteralSchema as SerializedLiteralSchemaT, type SerializedBooleanSchema as SerializedBooleanSchemaT, type SerializedNumberSchema as SerializedNumberSchemaT, type SerializedObjectSchema as SerializedObjectSchemaT, type SerializedArraySchema as SerializedArraySchemaT, type SerializedUnionSchema as SerializedUnionSchemaT, type SerializedRichTextSchema as SerializedRichTextSchemaT, type SerializedRichTextOptions as SerializedRichTextOptionsT, type SerializedRecordSchema as SerializedRecordSchemaT, type SerializedKeyOfSchema as SerializedKeyOfSchemaT, type SerializedRouteSchema as SerializedRouteSchemaT, type SerializedFileSchema as SerializedFileSchemaT, type SerializedDateSchema as SerializedDateSchemaT, type SerializedDateTimeSchema as SerializedDateTimeSchemaT, type SerializedColorSchema as SerializedColorSchemaT, type SerializedCodeSchema as SerializedCodeSchemaT, type SerializedImageSchema as SerializedImageSchemaT } from "@valbuild/core";
|
|
3
3
|
export declare const SerializedStringSchema: z.ZodType<SerializedStringSchemaT>;
|
|
4
4
|
export declare const SerializedLiteralSchema: z.ZodType<SerializedLiteralSchemaT>;
|
|
5
5
|
export declare const SerializedBooleanSchema: z.ZodType<SerializedBooleanSchemaT>;
|
|
@@ -48,5 +48,29 @@ export declare const ColorOptions: z.ZodObject<{
|
|
|
48
48
|
alpha: z.ZodOptional<z.ZodBoolean>;
|
|
49
49
|
}, z.core.$strip>;
|
|
50
50
|
export declare const SerializedColorSchema: z.ZodType<SerializedColorSchemaT>;
|
|
51
|
+
export declare const CodeOptions: z.ZodObject<{
|
|
52
|
+
language: z.ZodOptional<z.ZodEnum<{
|
|
53
|
+
json: "json";
|
|
54
|
+
typescript: "typescript";
|
|
55
|
+
javascript: "javascript";
|
|
56
|
+
javascriptreact: "javascriptreact";
|
|
57
|
+
typescriptreact: "typescriptreact";
|
|
58
|
+
java: "java";
|
|
59
|
+
html: "html";
|
|
60
|
+
css: "css";
|
|
61
|
+
xml: "xml";
|
|
62
|
+
markdown: "markdown";
|
|
63
|
+
sql: "sql";
|
|
64
|
+
python: "python";
|
|
65
|
+
rust: "rust";
|
|
66
|
+
php: "php";
|
|
67
|
+
go: "go";
|
|
68
|
+
cpp: "cpp";
|
|
69
|
+
sass: "sass";
|
|
70
|
+
vue: "vue";
|
|
71
|
+
angular: "angular";
|
|
72
|
+
}>>;
|
|
73
|
+
}, z.core.$strip>;
|
|
74
|
+
export declare const SerializedCodeSchema: z.ZodType<SerializedCodeSchemaT>;
|
|
51
75
|
export declare const SerializedRouteSchema: z.ZodType<SerializedRouteSchemaT>;
|
|
52
76
|
export declare const SerializedSchema: z.ZodType<SerializedSchemaT>;
|
|
@@ -1001,22 +1001,20 @@ var SourcePath = zod.z.string().transform(function (path) {
|
|
|
1001
1001
|
|
|
1002
1002
|
// A render is static config, so unlike a `preview` it travels WHOLE — this
|
|
1003
1003
|
// is the field the editor reads the layout from. See `core/src/render.ts`.
|
|
1004
|
-
// Every field can carry `{ as: "inline" }
|
|
1005
|
-
//
|
|
1006
|
-
//
|
|
1007
|
-
//
|
|
1004
|
+
// Every field can carry `{ as: "inline" }`, and that is all a render says.
|
|
1005
|
+
// NB: these z.objects STRIP unknown keys, so a render variant that is not
|
|
1006
|
+
// declared here is silently dropped in transit — add it here when it is added
|
|
1007
|
+
// to `render.ts`.
|
|
1008
1008
|
var InlineRender = zod.z.object({
|
|
1009
1009
|
as: zod.z.literal("inline")
|
|
1010
1010
|
});
|
|
1011
1011
|
var FieldRender = InlineRender.optional();
|
|
1012
1012
|
var SerializedStringSchema = zod.z.object({
|
|
1013
1013
|
type: zod.z.literal("string"),
|
|
1014
|
-
render:
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
language: zod.z["enum"](core.CODE_LANGUAGES)
|
|
1019
|
-
}), InlineRender]).optional(),
|
|
1014
|
+
render: FieldRender,
|
|
1015
|
+
// `.multiline()`. Stripped like any undeclared key if it goes missing here,
|
|
1016
|
+
// which is a single-line input where the author asked for a text box.
|
|
1017
|
+
multiline: zod.z["boolean"]().optional(),
|
|
1020
1018
|
preview: zod.z.literal(true).optional(),
|
|
1021
1019
|
options: zod.z.object({
|
|
1022
1020
|
maxLength: zod.z.number().optional(),
|
|
@@ -1248,6 +1246,20 @@ var SerializedColorSchema = zod.z.object({
|
|
|
1248
1246
|
hidden: zod.z["boolean"]().optional(),
|
|
1249
1247
|
description: zod.z.string().optional()
|
|
1250
1248
|
});
|
|
1249
|
+
var CodeOptions = zod.z.object({
|
|
1250
|
+
language: zod.z["enum"](core.CODE_LANGUAGES).optional()
|
|
1251
|
+
});
|
|
1252
|
+
var SerializedCodeSchema = zod.z.object({
|
|
1253
|
+
type: zod.z.literal("code"),
|
|
1254
|
+
render: FieldRender,
|
|
1255
|
+
preview: zod.z.literal(true).optional(),
|
|
1256
|
+
options: CodeOptions.optional(),
|
|
1257
|
+
opt: zod.z["boolean"](),
|
|
1258
|
+
customValidate: zod.z["boolean"]().optional(),
|
|
1259
|
+
readonly: zod.z["boolean"]().optional(),
|
|
1260
|
+
hidden: zod.z["boolean"]().optional(),
|
|
1261
|
+
description: zod.z.string().optional()
|
|
1262
|
+
});
|
|
1251
1263
|
var SerializedRouteSchema = zod.z.object({
|
|
1252
1264
|
type: zod.z.literal("route"),
|
|
1253
1265
|
render: FieldRender,
|
|
@@ -1268,7 +1280,7 @@ var SerializedRouteSchema = zod.z.object({
|
|
|
1268
1280
|
readonly: zod.z["boolean"]().optional(),
|
|
1269
1281
|
hidden: zod.z["boolean"]().optional()
|
|
1270
1282
|
});
|
|
1271
|
-
var SerializedSchema = zod.z.union([SerializedStringSchema, SerializedLiteralSchema, SerializedBooleanSchema, SerializedNumberSchema, SerializedObjectSchema, SerializedArraySchema, SerializedUnionSchema, SerializedRichTextSchema, SerializedRecordSchema, SerializedKeyOfSchema, SerializedRouteSchema, SerializedFileSchema, SerializedDateSchema, SerializedDateTimeSchema, SerializedColorSchema, SerializedImageSchema]);
|
|
1283
|
+
var SerializedSchema = zod.z.union([SerializedStringSchema, SerializedLiteralSchema, SerializedBooleanSchema, SerializedNumberSchema, SerializedObjectSchema, SerializedArraySchema, SerializedUnionSchema, SerializedRichTextSchema, SerializedRecordSchema, SerializedKeyOfSchema, SerializedRouteSchema, SerializedFileSchema, SerializedDateSchema, SerializedDateTimeSchema, SerializedColorSchema, SerializedCodeSchema, SerializedImageSchema]);
|
|
1272
1284
|
|
|
1273
1285
|
var ValCommit = zod.z.object({
|
|
1274
1286
|
commitSha: zod.z.string(),
|
|
@@ -3449,6 +3461,7 @@ function withValCanvasParam(url) {
|
|
|
3449
3461
|
}
|
|
3450
3462
|
|
|
3451
3463
|
exports.Api = Api;
|
|
3464
|
+
exports.CodeOptions = CodeOptions;
|
|
3452
3465
|
exports.ColorOptions = ColorOptions;
|
|
3453
3466
|
exports.DEFAULT_ERROR_MESSAGE = DEFAULT_ERROR_MESSAGE;
|
|
3454
3467
|
exports.DateOptions = DateOptions;
|
|
@@ -3475,6 +3488,7 @@ exports.RemirrorTextMark = RemirrorTextMark;
|
|
|
3475
3488
|
exports.RichTextOptions = RichTextOptions;
|
|
3476
3489
|
exports.SerializedArraySchema = SerializedArraySchema;
|
|
3477
3490
|
exports.SerializedBooleanSchema = SerializedBooleanSchema;
|
|
3491
|
+
exports.SerializedCodeSchema = SerializedCodeSchema;
|
|
3478
3492
|
exports.SerializedColorSchema = SerializedColorSchema;
|
|
3479
3493
|
exports.SerializedDateSchema = SerializedDateSchema;
|
|
3480
3494
|
exports.SerializedDateTimeSchema = SerializedDateTimeSchema;
|
|
@@ -1001,22 +1001,20 @@ var SourcePath = zod.z.string().transform(function (path) {
|
|
|
1001
1001
|
|
|
1002
1002
|
// A render is static config, so unlike a `preview` it travels WHOLE — this
|
|
1003
1003
|
// is the field the editor reads the layout from. See `core/src/render.ts`.
|
|
1004
|
-
// Every field can carry `{ as: "inline" }
|
|
1005
|
-
//
|
|
1006
|
-
//
|
|
1007
|
-
//
|
|
1004
|
+
// Every field can carry `{ as: "inline" }`, and that is all a render says.
|
|
1005
|
+
// NB: these z.objects STRIP unknown keys, so a render variant that is not
|
|
1006
|
+
// declared here is silently dropped in transit — add it here when it is added
|
|
1007
|
+
// to `render.ts`.
|
|
1008
1008
|
var InlineRender = zod.z.object({
|
|
1009
1009
|
as: zod.z.literal("inline")
|
|
1010
1010
|
});
|
|
1011
1011
|
var FieldRender = InlineRender.optional();
|
|
1012
1012
|
var SerializedStringSchema = zod.z.object({
|
|
1013
1013
|
type: zod.z.literal("string"),
|
|
1014
|
-
render:
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
language: zod.z["enum"](core.CODE_LANGUAGES)
|
|
1019
|
-
}), InlineRender]).optional(),
|
|
1014
|
+
render: FieldRender,
|
|
1015
|
+
// `.multiline()`. Stripped like any undeclared key if it goes missing here,
|
|
1016
|
+
// which is a single-line input where the author asked for a text box.
|
|
1017
|
+
multiline: zod.z["boolean"]().optional(),
|
|
1020
1018
|
preview: zod.z.literal(true).optional(),
|
|
1021
1019
|
options: zod.z.object({
|
|
1022
1020
|
maxLength: zod.z.number().optional(),
|
|
@@ -1248,6 +1246,20 @@ var SerializedColorSchema = zod.z.object({
|
|
|
1248
1246
|
hidden: zod.z["boolean"]().optional(),
|
|
1249
1247
|
description: zod.z.string().optional()
|
|
1250
1248
|
});
|
|
1249
|
+
var CodeOptions = zod.z.object({
|
|
1250
|
+
language: zod.z["enum"](core.CODE_LANGUAGES).optional()
|
|
1251
|
+
});
|
|
1252
|
+
var SerializedCodeSchema = zod.z.object({
|
|
1253
|
+
type: zod.z.literal("code"),
|
|
1254
|
+
render: FieldRender,
|
|
1255
|
+
preview: zod.z.literal(true).optional(),
|
|
1256
|
+
options: CodeOptions.optional(),
|
|
1257
|
+
opt: zod.z["boolean"](),
|
|
1258
|
+
customValidate: zod.z["boolean"]().optional(),
|
|
1259
|
+
readonly: zod.z["boolean"]().optional(),
|
|
1260
|
+
hidden: zod.z["boolean"]().optional(),
|
|
1261
|
+
description: zod.z.string().optional()
|
|
1262
|
+
});
|
|
1251
1263
|
var SerializedRouteSchema = zod.z.object({
|
|
1252
1264
|
type: zod.z.literal("route"),
|
|
1253
1265
|
render: FieldRender,
|
|
@@ -1268,7 +1280,7 @@ var SerializedRouteSchema = zod.z.object({
|
|
|
1268
1280
|
readonly: zod.z["boolean"]().optional(),
|
|
1269
1281
|
hidden: zod.z["boolean"]().optional()
|
|
1270
1282
|
});
|
|
1271
|
-
var SerializedSchema = zod.z.union([SerializedStringSchema, SerializedLiteralSchema, SerializedBooleanSchema, SerializedNumberSchema, SerializedObjectSchema, SerializedArraySchema, SerializedUnionSchema, SerializedRichTextSchema, SerializedRecordSchema, SerializedKeyOfSchema, SerializedRouteSchema, SerializedFileSchema, SerializedDateSchema, SerializedDateTimeSchema, SerializedColorSchema, SerializedImageSchema]);
|
|
1283
|
+
var SerializedSchema = zod.z.union([SerializedStringSchema, SerializedLiteralSchema, SerializedBooleanSchema, SerializedNumberSchema, SerializedObjectSchema, SerializedArraySchema, SerializedUnionSchema, SerializedRichTextSchema, SerializedRecordSchema, SerializedKeyOfSchema, SerializedRouteSchema, SerializedFileSchema, SerializedDateSchema, SerializedDateTimeSchema, SerializedColorSchema, SerializedCodeSchema, SerializedImageSchema]);
|
|
1272
1284
|
|
|
1273
1285
|
var ValCommit = zod.z.object({
|
|
1274
1286
|
commitSha: zod.z.string(),
|
|
@@ -3449,6 +3461,7 @@ function withValCanvasParam(url) {
|
|
|
3449
3461
|
}
|
|
3450
3462
|
|
|
3451
3463
|
exports.Api = Api;
|
|
3464
|
+
exports.CodeOptions = CodeOptions;
|
|
3452
3465
|
exports.ColorOptions = ColorOptions;
|
|
3453
3466
|
exports.DEFAULT_ERROR_MESSAGE = DEFAULT_ERROR_MESSAGE;
|
|
3454
3467
|
exports.DateOptions = DateOptions;
|
|
@@ -3475,6 +3488,7 @@ exports.RemirrorTextMark = RemirrorTextMark;
|
|
|
3475
3488
|
exports.RichTextOptions = RichTextOptions;
|
|
3476
3489
|
exports.SerializedArraySchema = SerializedArraySchema;
|
|
3477
3490
|
exports.SerializedBooleanSchema = SerializedBooleanSchema;
|
|
3491
|
+
exports.SerializedCodeSchema = SerializedCodeSchema;
|
|
3478
3492
|
exports.SerializedColorSchema = SerializedColorSchema;
|
|
3479
3493
|
exports.SerializedDateSchema = SerializedDateSchema;
|
|
3480
3494
|
exports.SerializedDateTimeSchema = SerializedDateTimeSchema;
|
|
@@ -997,22 +997,20 @@ var SourcePath = z.string().transform(function (path) {
|
|
|
997
997
|
|
|
998
998
|
// A render is static config, so unlike a `preview` it travels WHOLE — this
|
|
999
999
|
// is the field the editor reads the layout from. See `core/src/render.ts`.
|
|
1000
|
-
// Every field can carry `{ as: "inline" }
|
|
1001
|
-
//
|
|
1002
|
-
//
|
|
1003
|
-
//
|
|
1000
|
+
// Every field can carry `{ as: "inline" }`, and that is all a render says.
|
|
1001
|
+
// NB: these z.objects STRIP unknown keys, so a render variant that is not
|
|
1002
|
+
// declared here is silently dropped in transit — add it here when it is added
|
|
1003
|
+
// to `render.ts`.
|
|
1004
1004
|
var InlineRender = z.object({
|
|
1005
1005
|
as: z.literal("inline")
|
|
1006
1006
|
});
|
|
1007
1007
|
var FieldRender = InlineRender.optional();
|
|
1008
1008
|
var SerializedStringSchema = z.object({
|
|
1009
1009
|
type: z.literal("string"),
|
|
1010
|
-
render:
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
language: z["enum"](CODE_LANGUAGES)
|
|
1015
|
-
}), InlineRender]).optional(),
|
|
1010
|
+
render: FieldRender,
|
|
1011
|
+
// `.multiline()`. Stripped like any undeclared key if it goes missing here,
|
|
1012
|
+
// which is a single-line input where the author asked for a text box.
|
|
1013
|
+
multiline: z["boolean"]().optional(),
|
|
1016
1014
|
preview: z.literal(true).optional(),
|
|
1017
1015
|
options: z.object({
|
|
1018
1016
|
maxLength: z.number().optional(),
|
|
@@ -1244,6 +1242,20 @@ var SerializedColorSchema = z.object({
|
|
|
1244
1242
|
hidden: z["boolean"]().optional(),
|
|
1245
1243
|
description: z.string().optional()
|
|
1246
1244
|
});
|
|
1245
|
+
var CodeOptions = z.object({
|
|
1246
|
+
language: z["enum"](CODE_LANGUAGES).optional()
|
|
1247
|
+
});
|
|
1248
|
+
var SerializedCodeSchema = z.object({
|
|
1249
|
+
type: z.literal("code"),
|
|
1250
|
+
render: FieldRender,
|
|
1251
|
+
preview: z.literal(true).optional(),
|
|
1252
|
+
options: CodeOptions.optional(),
|
|
1253
|
+
opt: z["boolean"](),
|
|
1254
|
+
customValidate: z["boolean"]().optional(),
|
|
1255
|
+
readonly: z["boolean"]().optional(),
|
|
1256
|
+
hidden: z["boolean"]().optional(),
|
|
1257
|
+
description: z.string().optional()
|
|
1258
|
+
});
|
|
1247
1259
|
var SerializedRouteSchema = z.object({
|
|
1248
1260
|
type: z.literal("route"),
|
|
1249
1261
|
render: FieldRender,
|
|
@@ -1264,7 +1276,7 @@ var SerializedRouteSchema = z.object({
|
|
|
1264
1276
|
readonly: z["boolean"]().optional(),
|
|
1265
1277
|
hidden: z["boolean"]().optional()
|
|
1266
1278
|
});
|
|
1267
|
-
var SerializedSchema = z.union([SerializedStringSchema, SerializedLiteralSchema, SerializedBooleanSchema, SerializedNumberSchema, SerializedObjectSchema, SerializedArraySchema, SerializedUnionSchema, SerializedRichTextSchema, SerializedRecordSchema, SerializedKeyOfSchema, SerializedRouteSchema, SerializedFileSchema, SerializedDateSchema, SerializedDateTimeSchema, SerializedColorSchema, SerializedImageSchema]);
|
|
1279
|
+
var SerializedSchema = z.union([SerializedStringSchema, SerializedLiteralSchema, SerializedBooleanSchema, SerializedNumberSchema, SerializedObjectSchema, SerializedArraySchema, SerializedUnionSchema, SerializedRichTextSchema, SerializedRecordSchema, SerializedKeyOfSchema, SerializedRouteSchema, SerializedFileSchema, SerializedDateSchema, SerializedDateTimeSchema, SerializedColorSchema, SerializedCodeSchema, SerializedImageSchema]);
|
|
1268
1280
|
|
|
1269
1281
|
var ValCommit = z.object({
|
|
1270
1282
|
commitSha: z.string(),
|
|
@@ -3444,4 +3456,4 @@ function withValCanvasParam(url) {
|
|
|
3444
3456
|
return "".concat(url).concat(separator).concat(VAL_CANVAS_PARAM, "=1");
|
|
3445
3457
|
}
|
|
3446
3458
|
|
|
3447
|
-
export { Api, ColorOptions, DEFAULT_ERROR_MESSAGE, DateOptions, FileOptions, ImageEncodeOption, ImageOptions, JSON_ENTRIES_BATCH_MAX, ParentRef$1 as ParentRef, Patch, PatchBlock, PatchId, PatchJSON, RemirrorBr, RemirrorBulletList, RemirrorHeading, RemirrorImage, RemirrorJSON, RemirrorLinkMark, RemirrorListItem, RemirrorOrderedList, RemirrorParagraph, RemirrorText, RemirrorTextMark, RichTextOptions, SerializedArraySchema, SerializedBooleanSchema, SerializedColorSchema, SerializedDateSchema, SerializedDateTimeSchema, SerializedFileSchema, SerializedImageSchema, SerializedKeyOfSchema, SerializedLiteralSchema, SerializedNumberSchema, SerializedObjectSchema, SerializedRecordSchema, SerializedRichTextSchema, SerializedRouteSchema, SerializedSchema, SerializedStringSchema, SerializedUnionSchema, SharedValConfig, VAL_AI_SESSION_STORAGE_KEY, VAL_CANVAS_MESSAGE, VAL_CANVAS_PARAM, VAL_CONFIG_SESSION_STORAGE_KEY, VAL_ENABLE_COOKIE_NAME, VAL_SESSION_COOKIE, VAL_STATE_COOKIE, VAL_THEME_SESSION_STORAGE_KEY, ValCommit, ValDeployment, createRegExpFromPattern, createValClient, filterRoutesByPatterns, findSimilar, getErrorMessageFromUnknownJson, getNextAppRouterSitemapTree, getNextAppRouterSourceFolder, getPatternFromModuleFilePath, getRoutesOf, getRoutesWithModulePaths, isValCanvasFrame, isValCanvasPageMessage, isValCanvasStudioMessage, levenshtein, parseRoutePattern, remirrorToRichTextSource, resolveSchemaSourceFixForError, resolveSchemaSourceFixes, richTextToRemirror, urlOf, validateRoutePatterns, withValCanvasParam };
|
|
3459
|
+
export { Api, CodeOptions, ColorOptions, DEFAULT_ERROR_MESSAGE, DateOptions, FileOptions, ImageEncodeOption, ImageOptions, JSON_ENTRIES_BATCH_MAX, ParentRef$1 as ParentRef, Patch, PatchBlock, PatchId, PatchJSON, RemirrorBr, RemirrorBulletList, RemirrorHeading, RemirrorImage, RemirrorJSON, RemirrorLinkMark, RemirrorListItem, RemirrorOrderedList, RemirrorParagraph, RemirrorText, RemirrorTextMark, RichTextOptions, SerializedArraySchema, SerializedBooleanSchema, SerializedCodeSchema, SerializedColorSchema, SerializedDateSchema, SerializedDateTimeSchema, SerializedFileSchema, SerializedImageSchema, SerializedKeyOfSchema, SerializedLiteralSchema, SerializedNumberSchema, SerializedObjectSchema, SerializedRecordSchema, SerializedRichTextSchema, SerializedRouteSchema, SerializedSchema, SerializedStringSchema, SerializedUnionSchema, SharedValConfig, VAL_AI_SESSION_STORAGE_KEY, VAL_CANVAS_MESSAGE, VAL_CANVAS_PARAM, VAL_CONFIG_SESSION_STORAGE_KEY, VAL_ENABLE_COOKIE_NAME, VAL_SESSION_COOKIE, VAL_STATE_COOKIE, VAL_THEME_SESSION_STORAGE_KEY, ValCommit, ValDeployment, createRegExpFromPattern, createValClient, filterRoutesByPatterns, findSimilar, getErrorMessageFromUnknownJson, getNextAppRouterSitemapTree, getNextAppRouterSourceFolder, getPatternFromModuleFilePath, getRoutesOf, getRoutesWithModulePaths, isValCanvasFrame, isValCanvasPageMessage, isValCanvasStudioMessage, levenshtein, parseRoutePattern, remirrorToRichTextSource, resolveSchemaSourceFixForError, resolveSchemaSourceFixes, richTextToRemirror, urlOf, validateRoutePatterns, withValCanvasParam };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@valbuild/shared",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.113.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Val shared types and utilities",
|
|
6
6
|
"repository": {
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"zod": "^4.4.3",
|
|
33
33
|
"zod-validation-error": "^5.0.0",
|
|
34
|
-
"@valbuild/core": "0.
|
|
34
|
+
"@valbuild/core": "0.111.0"
|
|
35
35
|
},
|
|
36
36
|
"files": [
|
|
37
37
|
"dist",
|