@valbuild/shared 0.50.0 → 0.51.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.
@@ -43,7 +43,7 @@ export type ValServerJsonResult<Body extends Json | ApiTreeResponse | never = ne
|
|
43
43
|
json: Body;
|
44
44
|
} | ValServerError;
|
45
45
|
export type ValServerGenericResult = ValServerJsonResult<Json> | ValServerError | ValServerRedirectResult<ValCookiesNames> | ValServerResult<ValCookiesNames, string | ReadableStream<Uint8Array>>;
|
46
|
-
export type ValUIRequestHandler = (url: string) => Promise<ValServerGenericResult>;
|
46
|
+
export type ValUIRequestHandler = (path: string, url: string) => Promise<ValServerGenericResult>;
|
47
47
|
export type ValSession = {
|
48
48
|
mode: "unauthorized";
|
49
49
|
enabled?: boolean;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@valbuild/shared",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.51.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.
|
32
|
+
"@valbuild/core": "~0.51.1",
|
33
33
|
"marked": "^9.0.3",
|
34
34
|
"zod": "^3.22.4"
|
35
35
|
},
|