@valbuild/shared 0.85.0 → 0.85.1
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/dist/declarations/src/internal/index.d.ts +1 -1
- package/dist/declarations/src/internal/sessionStorage.d.ts +1 -0
- package/internal/dist/valbuild-shared-internal.cjs.dev.js +2 -4
- package/internal/dist/valbuild-shared-internal.cjs.prod.js +2 -4
- package/internal/dist/valbuild-shared-internal.esm.js +2 -3
- package/package.json +2 -2
- package/dist/declarations/src/internal/listeners.d.ts +0 -2
|
@@ -4,7 +4,7 @@ export * from "./ValClient.js";
|
|
|
4
4
|
export * from "./ValUrls.js";
|
|
5
5
|
export * from "./ApiRoutes.js";
|
|
6
6
|
export * from "./zod/Patch.js";
|
|
7
|
-
export * from "./
|
|
7
|
+
export * from "./sessionStorage.js";
|
|
8
8
|
export * from "./SharedValConfig.js";
|
|
9
9
|
export * from "./zod/ValCommit.js";
|
|
10
10
|
export * from "./zod/ValDeployment.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const VAL_CONFIG_SESSION_STORAGE_KEY = "val-config";
|
|
@@ -2411,8 +2411,7 @@ var urlOf = function urlOf() {
|
|
|
2411
2411
|
return "".concat(route);
|
|
2412
2412
|
};
|
|
2413
2413
|
|
|
2414
|
-
var
|
|
2415
|
-
var VAL_CONFIG_RECEIVED_LISTENER = "val-config-received";
|
|
2414
|
+
var VAL_CONFIG_SESSION_STORAGE_KEY = "val-config";
|
|
2416
2415
|
|
|
2417
2416
|
var SharedValConfig = zod.z.object({
|
|
2418
2417
|
contentHostUrl: zod.z.string().optional(),
|
|
@@ -2626,8 +2625,7 @@ exports.RemirrorParagraph = RemirrorParagraph;
|
|
|
2626
2625
|
exports.RemirrorText = RemirrorText;
|
|
2627
2626
|
exports.RemirrorTextMark = RemirrorTextMark;
|
|
2628
2627
|
exports.SharedValConfig = SharedValConfig;
|
|
2629
|
-
exports.
|
|
2630
|
-
exports.VAL_CONFIG_RECEIVED_LISTENER = VAL_CONFIG_RECEIVED_LISTENER;
|
|
2628
|
+
exports.VAL_CONFIG_SESSION_STORAGE_KEY = VAL_CONFIG_SESSION_STORAGE_KEY;
|
|
2631
2629
|
exports.VAL_ENABLE_COOKIE_NAME = VAL_ENABLE_COOKIE_NAME;
|
|
2632
2630
|
exports.VAL_SESSION_COOKIE = VAL_SESSION_COOKIE;
|
|
2633
2631
|
exports.VAL_STATE_COOKIE = VAL_STATE_COOKIE;
|
|
@@ -2411,8 +2411,7 @@ var urlOf = function urlOf() {
|
|
|
2411
2411
|
return "".concat(route);
|
|
2412
2412
|
};
|
|
2413
2413
|
|
|
2414
|
-
var
|
|
2415
|
-
var VAL_CONFIG_RECEIVED_LISTENER = "val-config-received";
|
|
2414
|
+
var VAL_CONFIG_SESSION_STORAGE_KEY = "val-config";
|
|
2416
2415
|
|
|
2417
2416
|
var SharedValConfig = zod.z.object({
|
|
2418
2417
|
contentHostUrl: zod.z.string().optional(),
|
|
@@ -2626,8 +2625,7 @@ exports.RemirrorParagraph = RemirrorParagraph;
|
|
|
2626
2625
|
exports.RemirrorText = RemirrorText;
|
|
2627
2626
|
exports.RemirrorTextMark = RemirrorTextMark;
|
|
2628
2627
|
exports.SharedValConfig = SharedValConfig;
|
|
2629
|
-
exports.
|
|
2630
|
-
exports.VAL_CONFIG_RECEIVED_LISTENER = VAL_CONFIG_RECEIVED_LISTENER;
|
|
2628
|
+
exports.VAL_CONFIG_SESSION_STORAGE_KEY = VAL_CONFIG_SESSION_STORAGE_KEY;
|
|
2631
2629
|
exports.VAL_ENABLE_COOKIE_NAME = VAL_ENABLE_COOKIE_NAME;
|
|
2632
2630
|
exports.VAL_SESSION_COOKIE = VAL_SESSION_COOKIE;
|
|
2633
2631
|
exports.VAL_STATE_COOKIE = VAL_STATE_COOKIE;
|
|
@@ -2407,8 +2407,7 @@ var urlOf = function urlOf() {
|
|
|
2407
2407
|
return "".concat(route);
|
|
2408
2408
|
};
|
|
2409
2409
|
|
|
2410
|
-
var
|
|
2411
|
-
var VAL_CONFIG_RECEIVED_LISTENER = "val-config-received";
|
|
2410
|
+
var VAL_CONFIG_SESSION_STORAGE_KEY = "val-config";
|
|
2412
2411
|
|
|
2413
2412
|
var SharedValConfig = z.object({
|
|
2414
2413
|
contentHostUrl: z.string().optional(),
|
|
@@ -2604,4 +2603,4 @@ function getNextAppRouterSourceFolder(moduleFilePath) {
|
|
|
2604
2603
|
return null;
|
|
2605
2604
|
}
|
|
2606
2605
|
|
|
2607
|
-
export { Api, ParentRef$1 as ParentRef, Patch, PatchBlock, PatchId, PatchJSON, RemirrorBr, RemirrorBulletList, RemirrorHeading, RemirrorImage, RemirrorJSON, RemirrorLinkMark, RemirrorListItem, RemirrorOrderedList, RemirrorParagraph, RemirrorText, RemirrorTextMark, SharedValConfig,
|
|
2606
|
+
export { Api, ParentRef$1 as ParentRef, Patch, PatchBlock, PatchId, PatchJSON, RemirrorBr, RemirrorBulletList, RemirrorHeading, RemirrorImage, RemirrorJSON, RemirrorLinkMark, RemirrorListItem, RemirrorOrderedList, RemirrorParagraph, RemirrorText, RemirrorTextMark, SharedValConfig, VAL_CONFIG_SESSION_STORAGE_KEY, VAL_ENABLE_COOKIE_NAME, VAL_SESSION_COOKIE, VAL_STATE_COOKIE, ValCommit, ValDeployment, createValClient, getNextAppRouterSitemapTree, getNextAppRouterSourceFolder, getPatternFromModuleFilePath, parseRoutePattern, remirrorToRichTextSource, richTextToRemirror, urlOf };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@valbuild/shared",
|
|
3
|
-
"version": "0.85.
|
|
3
|
+
"version": "0.85.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Val shared types and utilities",
|
|
6
6
|
"scripts": {
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"exports": true
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@valbuild/core": "~0.85.
|
|
32
|
+
"@valbuild/core": "~0.85.1",
|
|
33
33
|
"zod": "^3.22.4",
|
|
34
34
|
"zod-validation-error": "^3.3.0"
|
|
35
35
|
},
|