@valbuild/next 0.60.20 → 0.60.21
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.
|
@@ -18,3 +18,33 @@ export { ValProvider } from "./ValProvider.js";
|
|
|
18
18
|
export { ValImage, type ValImageProps } from "./ValImage.js";
|
|
19
19
|
export { ValApp } from "./ValApp.js";
|
|
20
20
|
export type * as t from "./ValTypes.js";
|
|
21
|
+
export declare const Internal: {
|
|
22
|
+
VERSION: {
|
|
23
|
+
next: string | null;
|
|
24
|
+
core: string | null;
|
|
25
|
+
};
|
|
26
|
+
convertFileSource: typeof import("@valbuild/core/dist/declarations/src/schema/file").convertFileSource;
|
|
27
|
+
getSchema: typeof import("@valbuild/core/dist/declarations/src/selector").getSchema;
|
|
28
|
+
getValPath: typeof import("@valbuild/core/dist/declarations/src/val").getValPath;
|
|
29
|
+
getVal: typeof import("@valbuild/core/dist/declarations/src/future/fetchVal").getVal;
|
|
30
|
+
getSource: typeof import("@valbuild/core/dist/declarations/src/module").getSource;
|
|
31
|
+
resolvePath: typeof import("@valbuild/core/dist/declarations/src/module").resolvePath;
|
|
32
|
+
splitModuleIdAndModulePath: typeof import("@valbuild/core/dist/declarations/src/module").splitModuleIdAndModulePath;
|
|
33
|
+
isVal: typeof import("@valbuild/core/dist/declarations/src/val").isVal;
|
|
34
|
+
createValPathOfItem: typeof import("@valbuild/core/dist/declarations/src/selector/SelectorProxy").createValPathOfItem;
|
|
35
|
+
getSHA256Hash: (bits: Uint8Array) => string;
|
|
36
|
+
initSchema: typeof import("@valbuild/core/dist/declarations/src/initSchema").initSchema;
|
|
37
|
+
notFileOp: (op: import("@valbuild/core/patch").Operation) => boolean;
|
|
38
|
+
isFileOp: (op: import("@valbuild/core/patch").Operation) => op is {
|
|
39
|
+
op: "file";
|
|
40
|
+
path: string[];
|
|
41
|
+
filePath: string;
|
|
42
|
+
value: string;
|
|
43
|
+
};
|
|
44
|
+
createPatchJSONPath: (modulePath: import("@valbuild/core").ModulePath) => string;
|
|
45
|
+
createPatchPath: (modulePath: import("@valbuild/core").ModulePath) => string[];
|
|
46
|
+
patchPathToModulePath: (patchPath: string[]) => import("@valbuild/core").ModulePath;
|
|
47
|
+
VAL_ENABLE_COOKIE_NAME: "val_enable";
|
|
48
|
+
VAL_STATE_COOKIE: "val_state";
|
|
49
|
+
VAL_SESSION_COOKIE: "val_session";
|
|
50
|
+
};
|
|
@@ -162,13 +162,24 @@ function ValImage(props) {
|
|
|
162
162
|
}));
|
|
163
163
|
}
|
|
164
164
|
|
|
165
|
-
// Core (excluding initVal)
|
|
166
|
-
|
|
167
165
|
// NOTE! Side effects:
|
|
168
166
|
stega.autoTagJSX();
|
|
169
167
|
|
|
170
168
|
// Convenience types
|
|
171
169
|
|
|
170
|
+
var Internal = objectSpread2._objectSpread2(objectSpread2._objectSpread2({}, core.Internal), {}, {
|
|
171
|
+
VERSION: objectSpread2._objectSpread2(objectSpread2._objectSpread2({}, core.Internal.VERSION), {}, {
|
|
172
|
+
next: function () {
|
|
173
|
+
try {
|
|
174
|
+
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
|
175
|
+
return require("../package.json").version;
|
|
176
|
+
} catch (_unused) {
|
|
177
|
+
return null;
|
|
178
|
+
}
|
|
179
|
+
}()
|
|
180
|
+
})
|
|
181
|
+
});
|
|
182
|
+
|
|
172
183
|
Object.defineProperty(exports, 'FILE_REF_PROP', {
|
|
173
184
|
enumerable: true,
|
|
174
185
|
get: function () { return core.FILE_REF_PROP; }
|
|
@@ -198,6 +209,7 @@ Object.defineProperty(exports, 'ValApp', {
|
|
|
198
209
|
enumerable: true,
|
|
199
210
|
get: function () { return ValApp.ValApp; }
|
|
200
211
|
});
|
|
212
|
+
exports.Internal = Internal;
|
|
201
213
|
exports.ValImage = ValImage;
|
|
202
214
|
exports.ValProvider = ValProvider;
|
|
203
215
|
exports.initVal = initVal;
|
|
@@ -162,13 +162,24 @@ function ValImage(props) {
|
|
|
162
162
|
}));
|
|
163
163
|
}
|
|
164
164
|
|
|
165
|
-
// Core (excluding initVal)
|
|
166
|
-
|
|
167
165
|
// NOTE! Side effects:
|
|
168
166
|
stega.autoTagJSX();
|
|
169
167
|
|
|
170
168
|
// Convenience types
|
|
171
169
|
|
|
170
|
+
var Internal = objectSpread2._objectSpread2(objectSpread2._objectSpread2({}, core.Internal), {}, {
|
|
171
|
+
VERSION: objectSpread2._objectSpread2(objectSpread2._objectSpread2({}, core.Internal.VERSION), {}, {
|
|
172
|
+
next: function () {
|
|
173
|
+
try {
|
|
174
|
+
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
|
175
|
+
return require("../package.json").version;
|
|
176
|
+
} catch (_unused) {
|
|
177
|
+
return null;
|
|
178
|
+
}
|
|
179
|
+
}()
|
|
180
|
+
})
|
|
181
|
+
});
|
|
182
|
+
|
|
172
183
|
Object.defineProperty(exports, 'FILE_REF_PROP', {
|
|
173
184
|
enumerable: true,
|
|
174
185
|
get: function () { return core.FILE_REF_PROP; }
|
|
@@ -198,6 +209,7 @@ Object.defineProperty(exports, 'ValApp', {
|
|
|
198
209
|
enumerable: true,
|
|
199
210
|
get: function () { return ValApp.ValApp; }
|
|
200
211
|
});
|
|
212
|
+
exports.Internal = Internal;
|
|
201
213
|
exports.ValImage = ValImage;
|
|
202
214
|
exports.ValProvider = ValProvider;
|
|
203
215
|
exports.initVal = initVal;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as _objectSpread2 } from './objectSpread2-439bdcdd.esm.js';
|
|
2
|
-
import { initVal as initVal$1, Internal } from '@valbuild/core';
|
|
2
|
+
import { initVal as initVal$1, Internal as Internal$1 } from '@valbuild/core';
|
|
3
3
|
import * as core from '@valbuild/core';
|
|
4
4
|
export { core as expr };
|
|
5
5
|
export { FILE_REF_PROP, GenericSelector, Schema, VAL_EXTENSION, derefPatch } from '@valbuild/core';
|
|
@@ -46,7 +46,7 @@ var initVal = function initVal(config) {
|
|
|
46
46
|
if (target === null) {
|
|
47
47
|
return {};
|
|
48
48
|
}
|
|
49
|
-
path = Internal.getValPath(anyTarget);
|
|
49
|
+
path = Internal$1.getValPath(anyTarget);
|
|
50
50
|
if (!path && _typeof(anyTarget) === "object") {
|
|
51
51
|
path = anyTarget["valPath"];
|
|
52
52
|
}
|
|
@@ -138,11 +138,22 @@ function ValImage(props) {
|
|
|
138
138
|
}));
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
-
// Core (excluding initVal)
|
|
142
|
-
|
|
143
141
|
// NOTE! Side effects:
|
|
144
142
|
autoTagJSX();
|
|
145
143
|
|
|
146
144
|
// Convenience types
|
|
147
145
|
|
|
148
|
-
|
|
146
|
+
var Internal = _objectSpread2(_objectSpread2({}, Internal$1), {}, {
|
|
147
|
+
VERSION: _objectSpread2(_objectSpread2({}, Internal$1.VERSION), {}, {
|
|
148
|
+
next: function () {
|
|
149
|
+
try {
|
|
150
|
+
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
|
151
|
+
return require("../package.json").version;
|
|
152
|
+
} catch (_unused) {
|
|
153
|
+
return null;
|
|
154
|
+
}
|
|
155
|
+
}()
|
|
156
|
+
})
|
|
157
|
+
});
|
|
158
|
+
|
|
159
|
+
export { Internal, ValImage, ValProvider, initVal };
|
package/package.json
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"next",
|
|
9
9
|
"react"
|
|
10
10
|
],
|
|
11
|
-
"version": "0.60.
|
|
11
|
+
"version": "0.60.21",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"typecheck": "tsc --noEmit",
|
|
14
14
|
"test": "jest"
|
|
@@ -45,10 +45,10 @@
|
|
|
45
45
|
"exports": true
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@valbuild/core": "~0.60.
|
|
49
|
-
"@valbuild/react": "~0.60.
|
|
50
|
-
"@valbuild/server": "~0.60.
|
|
51
|
-
"@valbuild/ui": "~0.60.
|
|
48
|
+
"@valbuild/core": "~0.60.21",
|
|
49
|
+
"@valbuild/react": "~0.60.21",
|
|
50
|
+
"@valbuild/server": "~0.60.21",
|
|
51
|
+
"@valbuild/ui": "~0.60.21",
|
|
52
52
|
"client-only": "^0.0.1",
|
|
53
53
|
"server-only": "^0.0.1"
|
|
54
54
|
},
|