@valbuild/core 0.148.7 → 0.150.2
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/CHANGELOG.md +55 -0
- package/dist/declarations/src/index.d.ts +2 -0
- package/dist/declarations/src/router.d.ts +1 -1
- package/dist/declarations/src/schema/galleryEntryMediaSchema.d.ts +26 -0
- package/dist/{index-dfea75c9.cjs.prod.js → index-b8bcdcd5.cjs.prod.js} +43 -3
- package/dist/{index-52c01907.esm.js → index-d9da87f6.esm.js} +43 -3
- package/dist/{index-66258256.cjs.dev.js → index-ee1cec64.cjs.dev.js} +43 -3
- package/dist/valbuild-core.cjs.dev.js +1 -1
- package/dist/valbuild-core.cjs.prod.js +1 -1
- package/dist/valbuild-core.esm.js +1 -1
- package/package.json +1 -1
- package/patch/dist/valbuild-core-patch.cjs.dev.js +1 -1
- package/patch/dist/valbuild-core-patch.cjs.prod.js +1 -1
- package/patch/dist/valbuild-core-patch.esm.js +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,60 @@
|
|
|
1
1
|
# @valbuild/core
|
|
2
2
|
|
|
3
|
+
## 0.150.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#944](https://github.com/valbuild/val/pull/944) [`155a079`](https://github.com/valbuild/val/commit/155a0792c2a437a1cbcdd6342131999be70e0d70) Thanks [@freekh](https://github.com/freekh)! - A TanStack splat route now has a page of its own. `src/routes/docs.$.tsx` serves `/docs` as well as everything under it, the way TanStack Router matches it, and `/docs` is now a valid key in its Val module. It used to be refused ("does not match `/docs/[..._splat]`"), so the page TanStack served at `/docs` could not be given content. `useValRoute` on that page reads the `/docs` entry.
|
|
8
|
+
|
|
9
|
+
## 0.150.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#894](https://github.com/valbuild/val/pull/894) [`9171baa`](https://github.com/valbuild/val/commit/9171baad7beb1b2a355c70724d2339467b126e02) Thanks [@freekh](https://github.com/freekh)! - `val validate` no longer fails a project just because some of its files are
|
|
14
|
+
local while the project stores files remotely (`files: { remote: true }` or
|
|
15
|
+
`.remote()`). Every project made from a template starts like that, and the
|
|
16
|
+
site serves those files from `public/` until they are uploaded. They are now
|
|
17
|
+
reported as **warnings**, grouped into one block per file with the command
|
|
18
|
+
that uploads them:
|
|
19
|
+
|
|
20
|
+
```
|
|
21
|
+
content/images.val.ts ⚠ 7 warnings (12ms)
|
|
22
|
+
│
|
|
23
|
+
│ ⚠ Local files in a project with remote files. Your site serves them from public/ for now; they move to remote storage when uploaded.
|
|
24
|
+
│
|
|
25
|
+
│ content/images.val.ts:7:5 /public/val/images/image-0_00000.png
|
|
26
|
+
│ content/images.val.ts:8:5 /public/val/images/image-1_00001.png
|
|
27
|
+
│ content/images.val.ts:9:5 /public/val/images/image-2_00002.png
|
|
28
|
+
│ content/images.val.ts:10:5 /public/val/images/image-3_00003.png
|
|
29
|
+
│ content/images.val.ts:11:5 /public/val/images/image-4_00004.png
|
|
30
|
+
│ … 2 more
|
|
31
|
+
│
|
|
32
|
+
│ → val validate --fix uploads them (needs val login)
|
|
33
|
+
│
|
|
34
|
+
|
|
35
|
+
✔ No validation errors · 7 warnings in 1 file
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
- `--strict` on `val validate` and `val publish` makes warnings fail too.
|
|
39
|
+
- `val validate --fix` still fails when it cannot upload them, for example
|
|
40
|
+
when you are not logged in.
|
|
41
|
+
- A local file that does not exist is still an error.
|
|
42
|
+
- The language server shows these as warnings.
|
|
43
|
+
- In the Studio, **Check everything** on the Validate page lists them with a
|
|
44
|
+
**Fix** button that uploads them, so a hosted project, which
|
|
45
|
+
has no command line, can move its template's images and files to remote
|
|
46
|
+
storage. That covers images, files and videos (a video's poster, captions
|
|
47
|
+
and HLS stream go up with it), images inside rich text included, and the
|
|
48
|
+
fields that picked a gallery image or a video from a set are updated with
|
|
49
|
+
it.
|
|
50
|
+
- On a hosted project, **Check everything** no longer reports the template's
|
|
51
|
+
images and videos as "The file is gone", and no longer offers a Fix that
|
|
52
|
+
would remove them from their gallery or video set.
|
|
53
|
+
|
|
54
|
+
Fixable errors are now printed with `✘`, like every other error, instead of
|
|
55
|
+
the `⚠` warnings use. They were always errors and still make `val validate`
|
|
56
|
+
fail.
|
|
57
|
+
|
|
3
58
|
## 0.148.7
|
|
4
59
|
|
|
5
60
|
### Patch Changes
|
|
@@ -8,6 +8,7 @@ export type { ImageMetadata, ImageEncodeOption, ImageEncodeOptions, } from "./sc
|
|
|
8
8
|
export type { FileMetadata } from "./schema/file.js";
|
|
9
9
|
export type { GalleryVideoOptions, VideoMetadata, VideoOptions, VideoStreamOption, VideoStreamOptions, } from "./schema/video.js";
|
|
10
10
|
import { videosetEntryVideoSchema } from "./schema/videodir.js";
|
|
11
|
+
import { galleryEntryMediaSchema } from "./schema/galleryEntryMediaSchema.js";
|
|
11
12
|
export type { VideodirEntryMetadata, VideodirOptions, SerializedVideodirSchema, VideosetEntryMetadata, VideosetOptions, SerializedVideosetSchema, } from "./schema/videodir.js";
|
|
12
13
|
export type { ImagedirEntryMetadata, ImagedirOptions, SerializedImagedirSchema, } from "./schema/imagedir.js";
|
|
13
14
|
export type { FiledirEntryMetadata, FiledirOptions, SerializedFiledirSchema, } from "./schema/filedir.js";
|
|
@@ -152,6 +153,7 @@ declare const Internal: {
|
|
|
152
153
|
core: string;
|
|
153
154
|
};
|
|
154
155
|
videosetEntryVideoSchema: typeof videosetEntryVideoSchema;
|
|
156
|
+
galleryEntryMediaSchema: typeof galleryEntryMediaSchema;
|
|
155
157
|
createViewHandle: typeof createViewHandle;
|
|
156
158
|
isViewHandle: typeof isViewHandle;
|
|
157
159
|
resolveViewedModule: typeof resolveViewedModule;
|
|
@@ -106,7 +106,7 @@ export declare function parseNextJsRoutePattern(moduleFilePath: string): string[
|
|
|
106
106
|
* - /src/routes/posts.$postId.val.ts -> ["posts", "[postId]"]
|
|
107
107
|
* - /routes/posts/$postId.val.ts -> ["posts", "[postId]"]
|
|
108
108
|
* - /src/routes/index.val.ts -> []
|
|
109
|
-
* - /src/routes/files.$.val.ts -> ["files", "[..._splat]"]
|
|
109
|
+
* - /src/routes/files.$.val.ts -> ["files", "[[..._splat]]"]
|
|
110
110
|
* - /src/routes/{-$locale}.about.val.ts -> ["[[locale]]", "about"]
|
|
111
111
|
* - /src/routes/(app)/_layout.about.val.ts -> ["about"]
|
|
112
112
|
*/
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { SerializedFileSchema } from "./file.js";
|
|
2
|
+
import type { SerializedImageSchema } from "./image.js";
|
|
3
|
+
/**
|
|
4
|
+
* The image or file schema an `s.imagedir()` / `s.filedir()` entry's remote
|
|
5
|
+
* ref is hashed against.
|
|
6
|
+
*
|
|
7
|
+
* A directory's item schema is an object, but a remote ref's validation hash
|
|
8
|
+
* is computed over a MEDIA schema, so one is synthesized from the directory:
|
|
9
|
+
* its `accept`, and for images its `dir`. The one definition every uploader
|
|
10
|
+
* of an entry uses -- the CLI's `--fix`, the Studio's Validate page and the
|
|
11
|
+
* MCP image tool -- because two copies are two hashes for the same file, and
|
|
12
|
+
* a ref hashed with the wrong one uploads and then never validates. The video
|
|
13
|
+
* set's equivalent is `videosetEntryVideoSchema`.
|
|
14
|
+
*/
|
|
15
|
+
export declare function galleryEntryMediaSchema(type: "image", record: {
|
|
16
|
+
accept?: string;
|
|
17
|
+
dir?: string;
|
|
18
|
+
}): SerializedImageSchema;
|
|
19
|
+
export declare function galleryEntryMediaSchema(type: "file", record: {
|
|
20
|
+
accept?: string;
|
|
21
|
+
dir?: string;
|
|
22
|
+
}): SerializedFileSchema;
|
|
23
|
+
export declare function galleryEntryMediaSchema(type: "image" | "file", record: {
|
|
24
|
+
accept?: string;
|
|
25
|
+
dir?: string;
|
|
26
|
+
}): SerializedImageSchema | SerializedFileSchema;
|
|
@@ -6286,7 +6286,7 @@ function parseNextJsRoutePattern(moduleFilePath) {
|
|
|
6286
6286
|
* - /src/routes/posts.$postId.val.ts -> ["posts", "[postId]"]
|
|
6287
6287
|
* - /routes/posts/$postId.val.ts -> ["posts", "[postId]"]
|
|
6288
6288
|
* - /src/routes/index.val.ts -> []
|
|
6289
|
-
* - /src/routes/files.$.val.ts -> ["files", "[..._splat]"]
|
|
6289
|
+
* - /src/routes/files.$.val.ts -> ["files", "[[..._splat]]"]
|
|
6290
6290
|
* - /src/routes/{-$locale}.about.val.ts -> ["[[locale]]", "about"]
|
|
6291
6291
|
* - /src/routes/(app)/_layout.about.val.ts -> ["about"]
|
|
6292
6292
|
*/
|
|
@@ -6354,7 +6354,12 @@ function tanStackSegmentsOfRoutePath(routePath) {
|
|
|
6354
6354
|
// A splat. Named `_splat` because that is the param name TanStack gives
|
|
6355
6355
|
// it, so `useValRoute(pageVal, params)` can be handed the route's own
|
|
6356
6356
|
// params object unchanged.
|
|
6357
|
-
|
|
6357
|
+
//
|
|
6358
|
+
// OPTIONAL, because TanStack's is: `/files/$` serves `/files` too, with
|
|
6359
|
+
// nothing in `_splat` (the matcher descends into the wildcard when the
|
|
6360
|
+
// path has run out). A required catch-all refused the key `/files` for
|
|
6361
|
+
// a page the site serves.
|
|
6362
|
+
segments.push("[[..._splat]]");
|
|
6358
6363
|
continue;
|
|
6359
6364
|
}
|
|
6360
6365
|
if (segment.startsWith("$")) {
|
|
@@ -15937,6 +15942,40 @@ function hasMediaSchema(schema) {
|
|
|
15937
15942
|
}
|
|
15938
15943
|
}
|
|
15939
15944
|
|
|
15945
|
+
/**
|
|
15946
|
+
* The image or file schema an `s.imagedir()` / `s.filedir()` entry's remote
|
|
15947
|
+
* ref is hashed against.
|
|
15948
|
+
*
|
|
15949
|
+
* A directory's item schema is an object, but a remote ref's validation hash
|
|
15950
|
+
* is computed over a MEDIA schema, so one is synthesized from the directory:
|
|
15951
|
+
* its `accept`, and for images its `dir`. The one definition every uploader
|
|
15952
|
+
* of an entry uses -- the CLI's `--fix`, the Studio's Validate page and the
|
|
15953
|
+
* MCP image tool -- because two copies are two hashes for the same file, and
|
|
15954
|
+
* a ref hashed with the wrong one uploads and then never validates. The video
|
|
15955
|
+
* set's equivalent is `videosetEntryVideoSchema`.
|
|
15956
|
+
*/
|
|
15957
|
+
|
|
15958
|
+
function galleryEntryMediaSchema(type, record) {
|
|
15959
|
+
if (type === "file") {
|
|
15960
|
+
return {
|
|
15961
|
+
type: "file",
|
|
15962
|
+
opt: false,
|
|
15963
|
+
options: _objectSpread2({}, record.accept ? {
|
|
15964
|
+
accept: record.accept
|
|
15965
|
+
} : {})
|
|
15966
|
+
};
|
|
15967
|
+
}
|
|
15968
|
+
return {
|
|
15969
|
+
type: "image",
|
|
15970
|
+
opt: false,
|
|
15971
|
+
options: _objectSpread2(_objectSpread2({}, record.accept ? {
|
|
15972
|
+
accept: record.accept
|
|
15973
|
+
} : {}), record.dir ? {
|
|
15974
|
+
dir: record.dir
|
|
15975
|
+
} : {})
|
|
15976
|
+
};
|
|
15977
|
+
}
|
|
15978
|
+
|
|
15940
15979
|
var DEFAULT_VAL_REMOTE_HOST = "https://remote.val.build";
|
|
15941
15980
|
|
|
15942
15981
|
var PatchError = /*#__PURE__*/_createClass(function PatchError(message) {
|
|
@@ -16937,7 +16976,7 @@ function isInlineRender(container) {
|
|
|
16937
16976
|
|
|
16938
16977
|
var corePackageJson = {
|
|
16939
16978
|
name: "@valbuild/core",
|
|
16940
|
-
version: "0.
|
|
16979
|
+
version: "0.150.2",
|
|
16941
16980
|
"private": false,
|
|
16942
16981
|
description: "Val - supercharged hard-coded content",
|
|
16943
16982
|
repository: {
|
|
@@ -17032,6 +17071,7 @@ var Internal = {
|
|
|
17032
17071
|
core: corePackageJson.version
|
|
17033
17072
|
},
|
|
17034
17073
|
videosetEntryVideoSchema: videosetEntryVideoSchema,
|
|
17074
|
+
galleryEntryMediaSchema: galleryEntryMediaSchema,
|
|
17035
17075
|
// A view's read-path plumbing: `Internal` rather than the public surface,
|
|
17036
17076
|
// because an app never builds or unwraps a handle — it passes one to
|
|
17037
17077
|
// `useVal`.
|
|
@@ -6284,7 +6284,7 @@ function parseNextJsRoutePattern(moduleFilePath) {
|
|
|
6284
6284
|
* - /src/routes/posts.$postId.val.ts -> ["posts", "[postId]"]
|
|
6285
6285
|
* - /routes/posts/$postId.val.ts -> ["posts", "[postId]"]
|
|
6286
6286
|
* - /src/routes/index.val.ts -> []
|
|
6287
|
-
* - /src/routes/files.$.val.ts -> ["files", "[..._splat]"]
|
|
6287
|
+
* - /src/routes/files.$.val.ts -> ["files", "[[..._splat]]"]
|
|
6288
6288
|
* - /src/routes/{-$locale}.about.val.ts -> ["[[locale]]", "about"]
|
|
6289
6289
|
* - /src/routes/(app)/_layout.about.val.ts -> ["about"]
|
|
6290
6290
|
*/
|
|
@@ -6352,7 +6352,12 @@ function tanStackSegmentsOfRoutePath(routePath) {
|
|
|
6352
6352
|
// A splat. Named `_splat` because that is the param name TanStack gives
|
|
6353
6353
|
// it, so `useValRoute(pageVal, params)` can be handed the route's own
|
|
6354
6354
|
// params object unchanged.
|
|
6355
|
-
|
|
6355
|
+
//
|
|
6356
|
+
// OPTIONAL, because TanStack's is: `/files/$` serves `/files` too, with
|
|
6357
|
+
// nothing in `_splat` (the matcher descends into the wildcard when the
|
|
6358
|
+
// path has run out). A required catch-all refused the key `/files` for
|
|
6359
|
+
// a page the site serves.
|
|
6360
|
+
segments.push("[[..._splat]]");
|
|
6356
6361
|
continue;
|
|
6357
6362
|
}
|
|
6358
6363
|
if (segment.startsWith("$")) {
|
|
@@ -15935,6 +15940,40 @@ function hasMediaSchema(schema) {
|
|
|
15935
15940
|
}
|
|
15936
15941
|
}
|
|
15937
15942
|
|
|
15943
|
+
/**
|
|
15944
|
+
* The image or file schema an `s.imagedir()` / `s.filedir()` entry's remote
|
|
15945
|
+
* ref is hashed against.
|
|
15946
|
+
*
|
|
15947
|
+
* A directory's item schema is an object, but a remote ref's validation hash
|
|
15948
|
+
* is computed over a MEDIA schema, so one is synthesized from the directory:
|
|
15949
|
+
* its `accept`, and for images its `dir`. The one definition every uploader
|
|
15950
|
+
* of an entry uses -- the CLI's `--fix`, the Studio's Validate page and the
|
|
15951
|
+
* MCP image tool -- because two copies are two hashes for the same file, and
|
|
15952
|
+
* a ref hashed with the wrong one uploads and then never validates. The video
|
|
15953
|
+
* set's equivalent is `videosetEntryVideoSchema`.
|
|
15954
|
+
*/
|
|
15955
|
+
|
|
15956
|
+
function galleryEntryMediaSchema(type, record) {
|
|
15957
|
+
if (type === "file") {
|
|
15958
|
+
return {
|
|
15959
|
+
type: "file",
|
|
15960
|
+
opt: false,
|
|
15961
|
+
options: _objectSpread2({}, record.accept ? {
|
|
15962
|
+
accept: record.accept
|
|
15963
|
+
} : {})
|
|
15964
|
+
};
|
|
15965
|
+
}
|
|
15966
|
+
return {
|
|
15967
|
+
type: "image",
|
|
15968
|
+
opt: false,
|
|
15969
|
+
options: _objectSpread2(_objectSpread2({}, record.accept ? {
|
|
15970
|
+
accept: record.accept
|
|
15971
|
+
} : {}), record.dir ? {
|
|
15972
|
+
dir: record.dir
|
|
15973
|
+
} : {})
|
|
15974
|
+
};
|
|
15975
|
+
}
|
|
15976
|
+
|
|
15938
15977
|
var DEFAULT_VAL_REMOTE_HOST = "https://remote.val.build";
|
|
15939
15978
|
|
|
15940
15979
|
var PatchError = /*#__PURE__*/_createClass(function PatchError(message) {
|
|
@@ -16935,7 +16974,7 @@ function isInlineRender(container) {
|
|
|
16935
16974
|
|
|
16936
16975
|
var corePackageJson = {
|
|
16937
16976
|
name: "@valbuild/core",
|
|
16938
|
-
version: "0.
|
|
16977
|
+
version: "0.150.2",
|
|
16939
16978
|
"private": false,
|
|
16940
16979
|
description: "Val - supercharged hard-coded content",
|
|
16941
16980
|
repository: {
|
|
@@ -17030,6 +17069,7 @@ var Internal = {
|
|
|
17030
17069
|
core: corePackageJson.version
|
|
17031
17070
|
},
|
|
17032
17071
|
videosetEntryVideoSchema: videosetEntryVideoSchema,
|
|
17072
|
+
galleryEntryMediaSchema: galleryEntryMediaSchema,
|
|
17033
17073
|
// A view's read-path plumbing: `Internal` rather than the public surface,
|
|
17034
17074
|
// because an app never builds or unwraps a handle — it passes one to
|
|
17035
17075
|
// `useVal`.
|
|
@@ -6286,7 +6286,7 @@ function parseNextJsRoutePattern(moduleFilePath) {
|
|
|
6286
6286
|
* - /src/routes/posts.$postId.val.ts -> ["posts", "[postId]"]
|
|
6287
6287
|
* - /routes/posts/$postId.val.ts -> ["posts", "[postId]"]
|
|
6288
6288
|
* - /src/routes/index.val.ts -> []
|
|
6289
|
-
* - /src/routes/files.$.val.ts -> ["files", "[..._splat]"]
|
|
6289
|
+
* - /src/routes/files.$.val.ts -> ["files", "[[..._splat]]"]
|
|
6290
6290
|
* - /src/routes/{-$locale}.about.val.ts -> ["[[locale]]", "about"]
|
|
6291
6291
|
* - /src/routes/(app)/_layout.about.val.ts -> ["about"]
|
|
6292
6292
|
*/
|
|
@@ -6354,7 +6354,12 @@ function tanStackSegmentsOfRoutePath(routePath) {
|
|
|
6354
6354
|
// A splat. Named `_splat` because that is the param name TanStack gives
|
|
6355
6355
|
// it, so `useValRoute(pageVal, params)` can be handed the route's own
|
|
6356
6356
|
// params object unchanged.
|
|
6357
|
-
|
|
6357
|
+
//
|
|
6358
|
+
// OPTIONAL, because TanStack's is: `/files/$` serves `/files` too, with
|
|
6359
|
+
// nothing in `_splat` (the matcher descends into the wildcard when the
|
|
6360
|
+
// path has run out). A required catch-all refused the key `/files` for
|
|
6361
|
+
// a page the site serves.
|
|
6362
|
+
segments.push("[[..._splat]]");
|
|
6358
6363
|
continue;
|
|
6359
6364
|
}
|
|
6360
6365
|
if (segment.startsWith("$")) {
|
|
@@ -15937,6 +15942,40 @@ function hasMediaSchema(schema) {
|
|
|
15937
15942
|
}
|
|
15938
15943
|
}
|
|
15939
15944
|
|
|
15945
|
+
/**
|
|
15946
|
+
* The image or file schema an `s.imagedir()` / `s.filedir()` entry's remote
|
|
15947
|
+
* ref is hashed against.
|
|
15948
|
+
*
|
|
15949
|
+
* A directory's item schema is an object, but a remote ref's validation hash
|
|
15950
|
+
* is computed over a MEDIA schema, so one is synthesized from the directory:
|
|
15951
|
+
* its `accept`, and for images its `dir`. The one definition every uploader
|
|
15952
|
+
* of an entry uses -- the CLI's `--fix`, the Studio's Validate page and the
|
|
15953
|
+
* MCP image tool -- because two copies are two hashes for the same file, and
|
|
15954
|
+
* a ref hashed with the wrong one uploads and then never validates. The video
|
|
15955
|
+
* set's equivalent is `videosetEntryVideoSchema`.
|
|
15956
|
+
*/
|
|
15957
|
+
|
|
15958
|
+
function galleryEntryMediaSchema(type, record) {
|
|
15959
|
+
if (type === "file") {
|
|
15960
|
+
return {
|
|
15961
|
+
type: "file",
|
|
15962
|
+
opt: false,
|
|
15963
|
+
options: _objectSpread2({}, record.accept ? {
|
|
15964
|
+
accept: record.accept
|
|
15965
|
+
} : {})
|
|
15966
|
+
};
|
|
15967
|
+
}
|
|
15968
|
+
return {
|
|
15969
|
+
type: "image",
|
|
15970
|
+
opt: false,
|
|
15971
|
+
options: _objectSpread2(_objectSpread2({}, record.accept ? {
|
|
15972
|
+
accept: record.accept
|
|
15973
|
+
} : {}), record.dir ? {
|
|
15974
|
+
dir: record.dir
|
|
15975
|
+
} : {})
|
|
15976
|
+
};
|
|
15977
|
+
}
|
|
15978
|
+
|
|
15940
15979
|
var DEFAULT_VAL_REMOTE_HOST = "https://remote.val.build";
|
|
15941
15980
|
|
|
15942
15981
|
var PatchError = /*#__PURE__*/_createClass(function PatchError(message) {
|
|
@@ -16937,7 +16976,7 @@ function isInlineRender(container) {
|
|
|
16937
16976
|
|
|
16938
16977
|
var corePackageJson = {
|
|
16939
16978
|
name: "@valbuild/core",
|
|
16940
|
-
version: "0.
|
|
16979
|
+
version: "0.150.2",
|
|
16941
16980
|
"private": false,
|
|
16942
16981
|
description: "Val - supercharged hard-coded content",
|
|
16943
16982
|
repository: {
|
|
@@ -17032,6 +17071,7 @@ var Internal = {
|
|
|
17032
17071
|
core: corePackageJson.version
|
|
17033
17072
|
},
|
|
17034
17073
|
videosetEntryVideoSchema: videosetEntryVideoSchema,
|
|
17074
|
+
galleryEntryMediaSchema: galleryEntryMediaSchema,
|
|
17035
17075
|
// A view's read-path plumbing: `Internal` rather than the public surface,
|
|
17036
17076
|
// because an app never builds or unwraps a handle — it passes one to
|
|
17037
17077
|
// `useVal`.
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { H as ASSISTANT_SETTINGS_MAX_LENGTH, A as ArraySchema, B as BooleanSchema, a4 as CODE_LANGUAGES, a5 as COLOR_FORMATS, a3 as CodeSchema, a2 as ColorSchema, e as DEFAULT_APP_HOST, a6 as DEFAULT_COLOR_FORMAT, D as DEFAULT_CONTENT_HOST, u as DEFAULT_FONT_ACCEPT, f as DEFAULT_STATIC_HOST, o as DEFAULT_VAL_REMOTE_HOST, x as DEFAULT_VIDEO_ACCEPT, y as DEFAULT_VIDEO_RENDITIONS, z as DEFAULT_VIDEO_SEGMENT_DURATION, C as DateSchema, a7 as DateTimeSchema, ad as DiscriminatedUnionSchema, ae as EnumSchema, F as FATAL_ERROR_TYPES, v as FONT_MIME_TYPES, t as FileSchema, G as GenericSelector, r as ImageSchema, I as Internal, a8 as KeyOfSchema, af as LiteralSchema, Z as LocaleSchema, M as ModuleFilePathSep, N as NumberSchema, O as ObjectSchema, R as RecordSchema, ac as RichTextSchema, ab as RouteSchema, Q as SETTINGS_MODULE_CONVENTION, S as Schema, E as SettingsSchema, q as StringSchema, T as THEME_LOGO_DIRECTORY, K as THEME_RADIUS_LENGTHS, J as THEME_RADIUS_STEPS, av as UNSAFE_URL_SCHEMES, V as VAL_EXTENSION, a9 as ValViewSchema, w as VideoSchema, L as assistantAvailability, k as computeSchemaSha, j as computeSourcesSha, h as computeValModuleShas, $ as declaredKeySetOf, p as derefPatch, ar as describeSchemeRejection, ag as deserializeSchema, a1 as discriminatedUnionBranchOf, g as extractValModules, ao as getSourcePathFromRoute, n as hasMediaSchema, l as hasRemoteFileSchema, i as initVal, as as isCheckableScheme, ai as isInlineRender, ap as isPageRouter, U as isRootModuleFilePath, aa as isValViewSource, Y as localeOfValue, X as localeTagError, an as matchRoutePattern, a0 as missingDeclaredKeys, m as modules, aj as parseNextJsRoutePattern, ak as parseTanStackRoutePattern, ah as previewScope, at as rejectScheme, W as resolveSettingsModule, aq as routePatternOf, au as schemeOf, al as tanStackSegmentsOfRoutePath, am as validateUrlAgainstPattern } from './index-
|
|
1
|
+
export { H as ASSISTANT_SETTINGS_MAX_LENGTH, A as ArraySchema, B as BooleanSchema, a4 as CODE_LANGUAGES, a5 as COLOR_FORMATS, a3 as CodeSchema, a2 as ColorSchema, e as DEFAULT_APP_HOST, a6 as DEFAULT_COLOR_FORMAT, D as DEFAULT_CONTENT_HOST, u as DEFAULT_FONT_ACCEPT, f as DEFAULT_STATIC_HOST, o as DEFAULT_VAL_REMOTE_HOST, x as DEFAULT_VIDEO_ACCEPT, y as DEFAULT_VIDEO_RENDITIONS, z as DEFAULT_VIDEO_SEGMENT_DURATION, C as DateSchema, a7 as DateTimeSchema, ad as DiscriminatedUnionSchema, ae as EnumSchema, F as FATAL_ERROR_TYPES, v as FONT_MIME_TYPES, t as FileSchema, G as GenericSelector, r as ImageSchema, I as Internal, a8 as KeyOfSchema, af as LiteralSchema, Z as LocaleSchema, M as ModuleFilePathSep, N as NumberSchema, O as ObjectSchema, R as RecordSchema, ac as RichTextSchema, ab as RouteSchema, Q as SETTINGS_MODULE_CONVENTION, S as Schema, E as SettingsSchema, q as StringSchema, T as THEME_LOGO_DIRECTORY, K as THEME_RADIUS_LENGTHS, J as THEME_RADIUS_STEPS, av as UNSAFE_URL_SCHEMES, V as VAL_EXTENSION, a9 as ValViewSchema, w as VideoSchema, L as assistantAvailability, k as computeSchemaSha, j as computeSourcesSha, h as computeValModuleShas, $ as declaredKeySetOf, p as derefPatch, ar as describeSchemeRejection, ag as deserializeSchema, a1 as discriminatedUnionBranchOf, g as extractValModules, ao as getSourcePathFromRoute, n as hasMediaSchema, l as hasRemoteFileSchema, i as initVal, as as isCheckableScheme, ai as isInlineRender, ap as isPageRouter, U as isRootModuleFilePath, aa as isValViewSource, Y as localeOfValue, X as localeTagError, an as matchRoutePattern, a0 as missingDeclaredKeys, m as modules, aj as parseNextJsRoutePattern, ak as parseTanStackRoutePattern, ah as previewScope, at as rejectScheme, W as resolveSettingsModule, aq as routePatternOf, au as schemeOf, al as tanStackSegmentsOfRoutePath, am as validateUrlAgainstPattern } from './index-d9da87f6.esm.js';
|
|
2
2
|
import './result-daff1cae.esm.js';
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var dist_valbuildCore = require('../../dist/index-
|
|
5
|
+
var dist_valbuildCore = require('../../dist/index-ee1cec64.cjs.dev.js');
|
|
6
6
|
var result = require('../../dist/result-bb1f436e.cjs.dev.js');
|
|
7
7
|
var util = require('../../dist/util-b213092b.cjs.dev.js');
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var dist_valbuildCore = require('../../dist/index-
|
|
5
|
+
var dist_valbuildCore = require('../../dist/index-b8bcdcd5.cjs.prod.js');
|
|
6
6
|
var result = require('../../dist/result-787e35f6.cjs.prod.js');
|
|
7
7
|
var util = require('../../dist/util-030d8a1f.cjs.prod.js');
|
|
8
8
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as _typeof, a as _slicedToArray, P as PatchError, s as splitModuleFilePathAndModulePath, b as _createClass, c as _classCallCheck, d as _toConsumableArray } from '../../dist/index-
|
|
2
|
-
export { P as PatchError } from '../../dist/index-
|
|
1
|
+
import { _ as _typeof, a as _slicedToArray, P as PatchError, s as splitModuleFilePathAndModulePath, b as _createClass, c as _classCallCheck, d as _toConsumableArray } from '../../dist/index-d9da87f6.esm.js';
|
|
2
|
+
export { P as PatchError } from '../../dist/index-d9da87f6.esm.js';
|
|
3
3
|
import { f as isNonEmpty, e as err, o as ok, m as map, g as flatMap, i as isErr, h as flatMapReduce, j as filterOrElse, k as mapErr, l as map$1, n as all, p as flatten, q as allT } from '../../dist/result-daff1cae.esm.js';
|
|
4
4
|
import { p as pipe } from '../../dist/util-18613e99.esm.js';
|
|
5
5
|
|