@json-eval-rs/vanilla 0.0.47 → 0.0.49
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/package.json +1 -1
- package/pkg/json_eval_rs.d.ts +13 -13
- package/pkg/json_eval_rs.js +64 -227
- package/pkg/json_eval_rs_bg.wasm +0 -0
- package/pkg/json_eval_rs_bg.wasm.d.ts +6 -6
package/package.json
CHANGED
package/pkg/json_eval_rs.d.ts
CHANGED
|
@@ -58,7 +58,7 @@ export class JSONEvalWasm {
|
|
|
58
58
|
* @param reEvaluate - If true, performs full evaluation after processing dependents
|
|
59
59
|
* @returns Array of dependent change objects as JavaScript object
|
|
60
60
|
*/
|
|
61
|
-
evaluateDependentsJS(
|
|
61
|
+
evaluateDependentsJS(changed_paths_json: string, data: string | null | undefined, context: string | null | undefined, re_evaluate: boolean): any;
|
|
62
62
|
/**
|
|
63
63
|
* Evaluate schema with provided data (does not return schema - use getEvaluatedSchema() for that)
|
|
64
64
|
*
|
|
@@ -370,15 +370,15 @@ export class JSONEvalWasm {
|
|
|
370
370
|
*/
|
|
371
371
|
getSchemaByPathSubform(subform_path: string, schema_path: string): string | undefined;
|
|
372
372
|
/**
|
|
373
|
-
* Evaluate dependents in subform when
|
|
373
|
+
* Evaluate dependents in subform when fields change
|
|
374
374
|
*
|
|
375
375
|
* @param subformPath - Path to the subform
|
|
376
|
-
* @param
|
|
376
|
+
* @param changedPaths - JSON array of paths that changed
|
|
377
377
|
* @param data - Optional updated JSON data string
|
|
378
378
|
* @param context - Optional context data JSON string
|
|
379
379
|
* @returns Array of dependent change objects as JSON string
|
|
380
380
|
*/
|
|
381
|
-
evaluateDependentsSubform(subform_path: string,
|
|
381
|
+
evaluateDependentsSubform(subform_path: string, changed_paths_json: string, data?: string | null, context?: string | null): string;
|
|
382
382
|
/**
|
|
383
383
|
* Get schema by multiple paths from subform
|
|
384
384
|
* @param subformPath - Path to the subform
|
|
@@ -411,7 +411,7 @@ export class JSONEvalWasm {
|
|
|
411
411
|
* @param context - Optional context data JSON string
|
|
412
412
|
* @returns Array of dependent change objects as JavaScript object
|
|
413
413
|
*/
|
|
414
|
-
evaluateDependentsSubformJS(subform_path: string,
|
|
414
|
+
evaluateDependentsSubformJS(subform_path: string, changed_paths_json: string, data?: string | null, context?: string | null): any;
|
|
415
415
|
/**
|
|
416
416
|
* Get schema by multiple paths from subform (JS object)
|
|
417
417
|
* @param subformPath - Path to the subform
|
|
@@ -419,7 +419,7 @@ export class JSONEvalWasm {
|
|
|
419
419
|
* @param format - Return format (0=Nested, 1=Flat, 2=Array)
|
|
420
420
|
* @returns Data in specified format as JavaScript object
|
|
421
421
|
*/
|
|
422
|
-
getSchemaByPathsSubformJS(subform_path: string,
|
|
422
|
+
getSchemaByPathsSubformJS(subform_path: string, paths_json: string, format: number): any;
|
|
423
423
|
/**
|
|
424
424
|
* Get evaluated schema from subform as JavaScript object
|
|
425
425
|
*
|
|
@@ -463,7 +463,7 @@ export class JSONEvalWasm {
|
|
|
463
463
|
* @param format - Return format (0=Nested, 1=Flat, 2=Array)
|
|
464
464
|
* @returns Data in specified format as JavaScript object
|
|
465
465
|
*/
|
|
466
|
-
getEvaluatedSchemaByPathsSubformJS(subform_path: string,
|
|
466
|
+
getEvaluatedSchemaByPathsSubformJS(subform_path: string, paths_json: string, skip_layout: boolean, format: number): any;
|
|
467
467
|
/**
|
|
468
468
|
* Get evaluated schema without $params from subform
|
|
469
469
|
*
|
|
@@ -525,9 +525,9 @@ export interface InitOutput {
|
|
|
525
525
|
readonly jsonevalwasm_enableCache: (a: number) => void;
|
|
526
526
|
readonly jsonevalwasm_evaluate: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
|
|
527
527
|
readonly jsonevalwasm_evaluateDependents: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
|
|
528
|
-
readonly jsonevalwasm_evaluateDependentsJS: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
|
|
528
|
+
readonly jsonevalwasm_evaluateDependentsJS: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
|
|
529
529
|
readonly jsonevalwasm_evaluateDependentsSubform: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
|
|
530
|
-
readonly jsonevalwasm_evaluateDependentsSubformJS: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
|
|
530
|
+
readonly jsonevalwasm_evaluateDependentsSubformJS: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
|
|
531
531
|
readonly jsonevalwasm_evaluateJS: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
|
|
532
532
|
readonly jsonevalwasm_evaluateSubform: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
|
|
533
533
|
readonly jsonevalwasm_getEvaluatedSchema: (a: number, b: number, c: number) => void;
|
|
@@ -538,7 +538,7 @@ export interface InitOutput {
|
|
|
538
538
|
readonly jsonevalwasm_getEvaluatedSchemaByPaths: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
539
539
|
readonly jsonevalwasm_getEvaluatedSchemaByPathsJS: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
540
540
|
readonly jsonevalwasm_getEvaluatedSchemaByPathsSubform: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
|
|
541
|
-
readonly jsonevalwasm_getEvaluatedSchemaByPathsSubformJS: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
541
|
+
readonly jsonevalwasm_getEvaluatedSchemaByPathsSubformJS: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
|
|
542
542
|
readonly jsonevalwasm_getEvaluatedSchemaJS: (a: number, b: number, c: number) => void;
|
|
543
543
|
readonly jsonevalwasm_getEvaluatedSchemaMsgpack: (a: number, b: number, c: number) => void;
|
|
544
544
|
readonly jsonevalwasm_getEvaluatedSchemaSubform: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
@@ -554,7 +554,7 @@ export interface InitOutput {
|
|
|
554
554
|
readonly jsonevalwasm_getSchemaByPaths: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
555
555
|
readonly jsonevalwasm_getSchemaByPathsJS: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
556
556
|
readonly jsonevalwasm_getSchemaByPathsSubform: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
557
|
-
readonly jsonevalwasm_getSchemaByPathsSubformJS: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
557
|
+
readonly jsonevalwasm_getSchemaByPathsSubformJS: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
558
558
|
readonly jsonevalwasm_getSchemaValue: (a: number, b: number) => void;
|
|
559
559
|
readonly jsonevalwasm_getSchemaValueSubform: (a: number, b: number, c: number, d: number) => void;
|
|
560
560
|
readonly jsonevalwasm_getSubformPaths: (a: number, b: number) => void;
|
|
@@ -589,8 +589,8 @@ export interface InitOutput {
|
|
|
589
589
|
readonly version: (a: number) => void;
|
|
590
590
|
readonly __wbindgen_export_0: (a: number, b: number) => number;
|
|
591
591
|
readonly __wbindgen_export_1: (a: number, b: number, c: number, d: number) => number;
|
|
592
|
-
readonly __wbindgen_export_2: (a: number) => void;
|
|
593
|
-
readonly __wbindgen_export_3: (a: number
|
|
592
|
+
readonly __wbindgen_export_2: (a: number, b: number, c: number) => void;
|
|
593
|
+
readonly __wbindgen_export_3: (a: number) => void;
|
|
594
594
|
readonly __wbindgen_add_to_stack_pointer: (a: number) => number;
|
|
595
595
|
readonly __wbindgen_start: () => void;
|
|
596
596
|
}
|
package/pkg/json_eval_rs.js
CHANGED
|
@@ -110,19 +110,19 @@ function getDataViewMemory0() {
|
|
|
110
110
|
return cachedDataViewMemory0;
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
+
function getArrayU8FromWasm0(ptr, len) {
|
|
114
|
+
ptr = ptr >>> 0;
|
|
115
|
+
return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
|
|
116
|
+
}
|
|
117
|
+
|
|
113
118
|
function handleError(f, args) {
|
|
114
119
|
try {
|
|
115
120
|
return f.apply(this, args);
|
|
116
121
|
} catch (e) {
|
|
117
|
-
wasm.
|
|
122
|
+
wasm.__wbindgen_export_3(addHeapObject(e));
|
|
118
123
|
}
|
|
119
124
|
}
|
|
120
125
|
|
|
121
|
-
function getArrayU8FromWasm0(ptr, len) {
|
|
122
|
-
ptr = ptr >>> 0;
|
|
123
|
-
return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
|
|
124
|
-
}
|
|
125
|
-
|
|
126
126
|
function dropObject(idx) {
|
|
127
127
|
if (idx < 132) return;
|
|
128
128
|
heap[idx] = heap_next;
|
|
@@ -139,71 +139,6 @@ function isLikeNone(x) {
|
|
|
139
139
|
return x === undefined || x === null;
|
|
140
140
|
}
|
|
141
141
|
|
|
142
|
-
function debugString(val) {
|
|
143
|
-
// primitive types
|
|
144
|
-
const type = typeof val;
|
|
145
|
-
if (type == 'number' || type == 'boolean' || val == null) {
|
|
146
|
-
return `${val}`;
|
|
147
|
-
}
|
|
148
|
-
if (type == 'string') {
|
|
149
|
-
return `"${val}"`;
|
|
150
|
-
}
|
|
151
|
-
if (type == 'symbol') {
|
|
152
|
-
const description = val.description;
|
|
153
|
-
if (description == null) {
|
|
154
|
-
return 'Symbol';
|
|
155
|
-
} else {
|
|
156
|
-
return `Symbol(${description})`;
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
if (type == 'function') {
|
|
160
|
-
const name = val.name;
|
|
161
|
-
if (typeof name == 'string' && name.length > 0) {
|
|
162
|
-
return `Function(${name})`;
|
|
163
|
-
} else {
|
|
164
|
-
return 'Function';
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
// objects
|
|
168
|
-
if (Array.isArray(val)) {
|
|
169
|
-
const length = val.length;
|
|
170
|
-
let debug = '[';
|
|
171
|
-
if (length > 0) {
|
|
172
|
-
debug += debugString(val[0]);
|
|
173
|
-
}
|
|
174
|
-
for(let i = 1; i < length; i++) {
|
|
175
|
-
debug += ', ' + debugString(val[i]);
|
|
176
|
-
}
|
|
177
|
-
debug += ']';
|
|
178
|
-
return debug;
|
|
179
|
-
}
|
|
180
|
-
// Test for built-in
|
|
181
|
-
const builtInMatches = /\[object ([^\]]+)\]/.exec(toString.call(val));
|
|
182
|
-
let className;
|
|
183
|
-
if (builtInMatches && builtInMatches.length > 1) {
|
|
184
|
-
className = builtInMatches[1];
|
|
185
|
-
} else {
|
|
186
|
-
// Failed to match the standard '[object ClassName]'
|
|
187
|
-
return toString.call(val);
|
|
188
|
-
}
|
|
189
|
-
if (className == 'Object') {
|
|
190
|
-
// we're a user defined class or Object
|
|
191
|
-
// JSON.stringify avoids problems with cycles, and is generally much
|
|
192
|
-
// easier than looping through ownProperties of `val`.
|
|
193
|
-
try {
|
|
194
|
-
return 'Object(' + JSON.stringify(val) + ')';
|
|
195
|
-
} catch (_) {
|
|
196
|
-
return 'Object';
|
|
197
|
-
}
|
|
198
|
-
}
|
|
199
|
-
// errors
|
|
200
|
-
if (val instanceof Error) {
|
|
201
|
-
return `${val.name}: ${val.message}\n${val.stack}`;
|
|
202
|
-
}
|
|
203
|
-
// TODO we could test for more things here, like `Set`s and `Map`s.
|
|
204
|
-
return className;
|
|
205
|
-
}
|
|
206
|
-
|
|
207
142
|
function passArrayJsValueToWasm0(array, malloc) {
|
|
208
143
|
const ptr = malloc(array.length * 4, 4) >>> 0;
|
|
209
144
|
const mem = getDataViewMemory0();
|
|
@@ -237,7 +172,7 @@ export function version() {
|
|
|
237
172
|
return getStringFromWasm0(r0, r1);
|
|
238
173
|
} finally {
|
|
239
174
|
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
240
|
-
wasm.
|
|
175
|
+
wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
|
|
241
176
|
}
|
|
242
177
|
}
|
|
243
178
|
|
|
@@ -258,7 +193,7 @@ export function getVersion() {
|
|
|
258
193
|
return getStringFromWasm0(r0, r1);
|
|
259
194
|
} finally {
|
|
260
195
|
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
261
|
-
wasm.
|
|
196
|
+
wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
|
|
262
197
|
}
|
|
263
198
|
}
|
|
264
199
|
|
|
@@ -401,7 +336,7 @@ export class JSONEvalWasm {
|
|
|
401
336
|
return getStringFromWasm0(ptr4, len4);
|
|
402
337
|
} finally {
|
|
403
338
|
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
404
|
-
wasm.
|
|
339
|
+
wasm.__wbindgen_export_2(deferred5_0, deferred5_1, 1);
|
|
405
340
|
}
|
|
406
341
|
}
|
|
407
342
|
/**
|
|
@@ -444,20 +379,22 @@ export class JSONEvalWasm {
|
|
|
444
379
|
* @param context - Optional context data JSON string
|
|
445
380
|
* @param reEvaluate - If true, performs full evaluation after processing dependents
|
|
446
381
|
* @returns Array of dependent change objects as JavaScript object
|
|
447
|
-
* @param {
|
|
382
|
+
* @param {string} changed_paths_json
|
|
448
383
|
* @param {string | null | undefined} data
|
|
449
384
|
* @param {string | null | undefined} context
|
|
450
385
|
* @param {boolean} re_evaluate
|
|
451
386
|
* @returns {any}
|
|
452
387
|
*/
|
|
453
|
-
evaluateDependentsJS(
|
|
388
|
+
evaluateDependentsJS(changed_paths_json, data, context, re_evaluate) {
|
|
454
389
|
try {
|
|
455
390
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
var ptr1 = isLikeNone(
|
|
391
|
+
const ptr0 = passStringToWasm0(changed_paths_json, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
|
|
392
|
+
const len0 = WASM_VECTOR_LEN;
|
|
393
|
+
var ptr1 = isLikeNone(data) ? 0 : passStringToWasm0(data, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
|
|
459
394
|
var len1 = WASM_VECTOR_LEN;
|
|
460
|
-
|
|
395
|
+
var ptr2 = isLikeNone(context) ? 0 : passStringToWasm0(context, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
|
|
396
|
+
var len2 = WASM_VECTOR_LEN;
|
|
397
|
+
wasm.jsonevalwasm_evaluateDependentsJS(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, re_evaluate);
|
|
461
398
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
462
399
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
463
400
|
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
@@ -911,7 +848,7 @@ export class JSONEvalWasm {
|
|
|
911
848
|
let v2;
|
|
912
849
|
if (r0 !== 0) {
|
|
913
850
|
v2 = getStringFromWasm0(r0, r1).slice();
|
|
914
|
-
wasm.
|
|
851
|
+
wasm.__wbindgen_export_2(r0, r1 * 1, 1);
|
|
915
852
|
}
|
|
916
853
|
return v2;
|
|
917
854
|
} finally {
|
|
@@ -950,7 +887,7 @@ export class JSONEvalWasm {
|
|
|
950
887
|
return getStringFromWasm0(ptr2, len2);
|
|
951
888
|
} finally {
|
|
952
889
|
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
953
|
-
wasm.
|
|
890
|
+
wasm.__wbindgen_export_2(deferred3_0, deferred3_1, 1);
|
|
954
891
|
}
|
|
955
892
|
}
|
|
956
893
|
/**
|
|
@@ -974,7 +911,7 @@ export class JSONEvalWasm {
|
|
|
974
911
|
return getStringFromWasm0(r0, r1);
|
|
975
912
|
} finally {
|
|
976
913
|
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
977
|
-
wasm.
|
|
914
|
+
wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
|
|
978
915
|
}
|
|
979
916
|
}
|
|
980
917
|
/**
|
|
@@ -1130,7 +1067,7 @@ export class JSONEvalWasm {
|
|
|
1130
1067
|
let v2;
|
|
1131
1068
|
if (r0 !== 0) {
|
|
1132
1069
|
v2 = getStringFromWasm0(r0, r1).slice();
|
|
1133
|
-
wasm.
|
|
1070
|
+
wasm.__wbindgen_export_2(r0, r1 * 1, 1);
|
|
1134
1071
|
}
|
|
1135
1072
|
return v2;
|
|
1136
1073
|
} finally {
|
|
@@ -1166,7 +1103,7 @@ export class JSONEvalWasm {
|
|
|
1166
1103
|
throw takeObject(r2);
|
|
1167
1104
|
}
|
|
1168
1105
|
var v1 = getArrayU8FromWasm0(r0, r1).slice();
|
|
1169
|
-
wasm.
|
|
1106
|
+
wasm.__wbindgen_export_2(r0, r1 * 1, 1);
|
|
1170
1107
|
return v1;
|
|
1171
1108
|
} finally {
|
|
1172
1109
|
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
@@ -1206,7 +1143,7 @@ export class JSONEvalWasm {
|
|
|
1206
1143
|
return getStringFromWasm0(ptr2, len2);
|
|
1207
1144
|
} finally {
|
|
1208
1145
|
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
1209
|
-
wasm.
|
|
1146
|
+
wasm.__wbindgen_export_2(deferred3_0, deferred3_1, 1);
|
|
1210
1147
|
}
|
|
1211
1148
|
}
|
|
1212
1149
|
/**
|
|
@@ -1285,7 +1222,7 @@ export class JSONEvalWasm {
|
|
|
1285
1222
|
return getStringFromWasm0(r0, r1);
|
|
1286
1223
|
} finally {
|
|
1287
1224
|
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
1288
|
-
wasm.
|
|
1225
|
+
wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
|
|
1289
1226
|
}
|
|
1290
1227
|
}
|
|
1291
1228
|
/**
|
|
@@ -1405,7 +1342,7 @@ export class JSONEvalWasm {
|
|
|
1405
1342
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
1406
1343
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
1407
1344
|
var v1 = getArrayJsValueFromWasm0(r0, r1).slice();
|
|
1408
|
-
wasm.
|
|
1345
|
+
wasm.__wbindgen_export_2(r0, r1 * 4, 4);
|
|
1409
1346
|
return v1;
|
|
1410
1347
|
} finally {
|
|
1411
1348
|
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
@@ -1482,7 +1419,7 @@ export class JSONEvalWasm {
|
|
|
1482
1419
|
let v3;
|
|
1483
1420
|
if (r0 !== 0) {
|
|
1484
1421
|
v3 = getStringFromWasm0(r0, r1).slice();
|
|
1485
|
-
wasm.
|
|
1422
|
+
wasm.__wbindgen_export_2(r0, r1 * 1, 1);
|
|
1486
1423
|
}
|
|
1487
1424
|
return v3;
|
|
1488
1425
|
} finally {
|
|
@@ -1490,27 +1427,27 @@ export class JSONEvalWasm {
|
|
|
1490
1427
|
}
|
|
1491
1428
|
}
|
|
1492
1429
|
/**
|
|
1493
|
-
* Evaluate dependents in subform when
|
|
1430
|
+
* Evaluate dependents in subform when fields change
|
|
1494
1431
|
*
|
|
1495
1432
|
* @param subformPath - Path to the subform
|
|
1496
|
-
* @param
|
|
1433
|
+
* @param changedPaths - JSON array of paths that changed
|
|
1497
1434
|
* @param data - Optional updated JSON data string
|
|
1498
1435
|
* @param context - Optional context data JSON string
|
|
1499
1436
|
* @returns Array of dependent change objects as JSON string
|
|
1500
1437
|
* @param {string} subform_path
|
|
1501
|
-
* @param {string}
|
|
1438
|
+
* @param {string} changed_paths_json
|
|
1502
1439
|
* @param {string | null} [data]
|
|
1503
1440
|
* @param {string | null} [context]
|
|
1504
1441
|
* @returns {string}
|
|
1505
1442
|
*/
|
|
1506
|
-
evaluateDependentsSubform(subform_path,
|
|
1443
|
+
evaluateDependentsSubform(subform_path, changed_paths_json, data, context) {
|
|
1507
1444
|
let deferred6_0;
|
|
1508
1445
|
let deferred6_1;
|
|
1509
1446
|
try {
|
|
1510
1447
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
1511
1448
|
const ptr0 = passStringToWasm0(subform_path, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
|
|
1512
1449
|
const len0 = WASM_VECTOR_LEN;
|
|
1513
|
-
const ptr1 = passStringToWasm0(
|
|
1450
|
+
const ptr1 = passStringToWasm0(changed_paths_json, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
|
|
1514
1451
|
const len1 = WASM_VECTOR_LEN;
|
|
1515
1452
|
var ptr2 = isLikeNone(data) ? 0 : passStringToWasm0(data, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
|
|
1516
1453
|
var len2 = WASM_VECTOR_LEN;
|
|
@@ -1532,7 +1469,7 @@ export class JSONEvalWasm {
|
|
|
1532
1469
|
return getStringFromWasm0(ptr5, len5);
|
|
1533
1470
|
} finally {
|
|
1534
1471
|
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
1535
|
-
wasm.
|
|
1472
|
+
wasm.__wbindgen_export_2(deferred6_0, deferred6_1, 1);
|
|
1536
1473
|
}
|
|
1537
1474
|
}
|
|
1538
1475
|
/**
|
|
@@ -1571,7 +1508,7 @@ export class JSONEvalWasm {
|
|
|
1571
1508
|
return getStringFromWasm0(ptr3, len3);
|
|
1572
1509
|
} finally {
|
|
1573
1510
|
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
1574
|
-
wasm.
|
|
1511
|
+
wasm.__wbindgen_export_2(deferred4_0, deferred4_1, 1);
|
|
1575
1512
|
}
|
|
1576
1513
|
}
|
|
1577
1514
|
/**
|
|
@@ -1599,7 +1536,7 @@ export class JSONEvalWasm {
|
|
|
1599
1536
|
return getStringFromWasm0(r0, r1);
|
|
1600
1537
|
} finally {
|
|
1601
1538
|
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
1602
|
-
wasm.
|
|
1539
|
+
wasm.__wbindgen_export_2(deferred2_0, deferred2_1, 1);
|
|
1603
1540
|
}
|
|
1604
1541
|
}
|
|
1605
1542
|
/**
|
|
@@ -1639,21 +1576,23 @@ export class JSONEvalWasm {
|
|
|
1639
1576
|
* @param context - Optional context data JSON string
|
|
1640
1577
|
* @returns Array of dependent change objects as JavaScript object
|
|
1641
1578
|
* @param {string} subform_path
|
|
1642
|
-
* @param {
|
|
1579
|
+
* @param {string} changed_paths_json
|
|
1643
1580
|
* @param {string | null} [data]
|
|
1644
1581
|
* @param {string | null} [context]
|
|
1645
1582
|
* @returns {any}
|
|
1646
1583
|
*/
|
|
1647
|
-
evaluateDependentsSubformJS(subform_path,
|
|
1584
|
+
evaluateDependentsSubformJS(subform_path, changed_paths_json, data, context) {
|
|
1648
1585
|
try {
|
|
1649
1586
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
1650
1587
|
const ptr0 = passStringToWasm0(subform_path, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
|
|
1651
1588
|
const len0 = WASM_VECTOR_LEN;
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
var ptr2 = isLikeNone(
|
|
1589
|
+
const ptr1 = passStringToWasm0(changed_paths_json, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
|
|
1590
|
+
const len1 = WASM_VECTOR_LEN;
|
|
1591
|
+
var ptr2 = isLikeNone(data) ? 0 : passStringToWasm0(data, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
|
|
1655
1592
|
var len2 = WASM_VECTOR_LEN;
|
|
1656
|
-
|
|
1593
|
+
var ptr3 = isLikeNone(context) ? 0 : passStringToWasm0(context, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
|
|
1594
|
+
var len3 = WASM_VECTOR_LEN;
|
|
1595
|
+
wasm.jsonevalwasm_evaluateDependentsSubformJS(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
|
|
1657
1596
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
1658
1597
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
1659
1598
|
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
@@ -1672,16 +1611,18 @@ export class JSONEvalWasm {
|
|
|
1672
1611
|
* @param format - Return format (0=Nested, 1=Flat, 2=Array)
|
|
1673
1612
|
* @returns Data in specified format as JavaScript object
|
|
1674
1613
|
* @param {string} subform_path
|
|
1675
|
-
* @param {
|
|
1614
|
+
* @param {string} paths_json
|
|
1676
1615
|
* @param {number} format
|
|
1677
1616
|
* @returns {any}
|
|
1678
1617
|
*/
|
|
1679
|
-
getSchemaByPathsSubformJS(subform_path,
|
|
1618
|
+
getSchemaByPathsSubformJS(subform_path, paths_json, format) {
|
|
1680
1619
|
try {
|
|
1681
1620
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
1682
1621
|
const ptr0 = passStringToWasm0(subform_path, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
|
|
1683
1622
|
const len0 = WASM_VECTOR_LEN;
|
|
1684
|
-
|
|
1623
|
+
const ptr1 = passStringToWasm0(paths_json, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
|
|
1624
|
+
const len1 = WASM_VECTOR_LEN;
|
|
1625
|
+
wasm.jsonevalwasm_getSchemaByPathsSubformJS(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, format);
|
|
1685
1626
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
1686
1627
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
1687
1628
|
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
@@ -1745,7 +1686,7 @@ export class JSONEvalWasm {
|
|
|
1745
1686
|
let v3;
|
|
1746
1687
|
if (r0 !== 0) {
|
|
1747
1688
|
v3 = getStringFromWasm0(r0, r1).slice();
|
|
1748
|
-
wasm.
|
|
1689
|
+
wasm.__wbindgen_export_2(r0, r1 * 1, 1);
|
|
1749
1690
|
}
|
|
1750
1691
|
return v3;
|
|
1751
1692
|
} finally {
|
|
@@ -1790,7 +1731,7 @@ export class JSONEvalWasm {
|
|
|
1790
1731
|
return getStringFromWasm0(ptr3, len3);
|
|
1791
1732
|
} finally {
|
|
1792
1733
|
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
1793
|
-
wasm.
|
|
1734
|
+
wasm.__wbindgen_export_2(deferred4_0, deferred4_1, 1);
|
|
1794
1735
|
}
|
|
1795
1736
|
}
|
|
1796
1737
|
/**
|
|
@@ -1832,17 +1773,19 @@ export class JSONEvalWasm {
|
|
|
1832
1773
|
* @param format - Return format (0=Nested, 1=Flat, 2=Array)
|
|
1833
1774
|
* @returns Data in specified format as JavaScript object
|
|
1834
1775
|
* @param {string} subform_path
|
|
1835
|
-
* @param {
|
|
1776
|
+
* @param {string} paths_json
|
|
1836
1777
|
* @param {boolean} skip_layout
|
|
1837
1778
|
* @param {number} format
|
|
1838
1779
|
* @returns {any}
|
|
1839
1780
|
*/
|
|
1840
|
-
getEvaluatedSchemaByPathsSubformJS(subform_path,
|
|
1781
|
+
getEvaluatedSchemaByPathsSubformJS(subform_path, paths_json, skip_layout, format) {
|
|
1841
1782
|
try {
|
|
1842
1783
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
1843
1784
|
const ptr0 = passStringToWasm0(subform_path, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
|
|
1844
1785
|
const len0 = WASM_VECTOR_LEN;
|
|
1845
|
-
|
|
1786
|
+
const ptr1 = passStringToWasm0(paths_json, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
|
|
1787
|
+
const len1 = WASM_VECTOR_LEN;
|
|
1788
|
+
wasm.jsonevalwasm_getEvaluatedSchemaByPathsSubformJS(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, skip_layout, format);
|
|
1846
1789
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
1847
1790
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
1848
1791
|
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
@@ -1879,7 +1822,7 @@ export class JSONEvalWasm {
|
|
|
1879
1822
|
return getStringFromWasm0(r0, r1);
|
|
1880
1823
|
} finally {
|
|
1881
1824
|
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
1882
|
-
wasm.
|
|
1825
|
+
wasm.__wbindgen_export_2(deferred2_0, deferred2_1, 1);
|
|
1883
1826
|
}
|
|
1884
1827
|
}
|
|
1885
1828
|
/**
|
|
@@ -1951,7 +1894,7 @@ export class ValidationError {
|
|
|
1951
1894
|
let v1;
|
|
1952
1895
|
if (r0 !== 0) {
|
|
1953
1896
|
v1 = getStringFromWasm0(r0, r1).slice();
|
|
1954
|
-
wasm.
|
|
1897
|
+
wasm.__wbindgen_export_2(r0, r1 * 1, 1);
|
|
1955
1898
|
}
|
|
1956
1899
|
return v1;
|
|
1957
1900
|
} finally {
|
|
@@ -1970,7 +1913,7 @@ export class ValidationError {
|
|
|
1970
1913
|
let v1;
|
|
1971
1914
|
if (r0 !== 0) {
|
|
1972
1915
|
v1 = getStringFromWasm0(r0, r1).slice();
|
|
1973
|
-
wasm.
|
|
1916
|
+
wasm.__wbindgen_export_2(r0, r1 * 1, 1);
|
|
1974
1917
|
}
|
|
1975
1918
|
return v1;
|
|
1976
1919
|
} finally {
|
|
@@ -2000,7 +1943,7 @@ export class ValidationError {
|
|
|
2000
1943
|
return getStringFromWasm0(r0, r1);
|
|
2001
1944
|
} finally {
|
|
2002
1945
|
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
2003
|
-
wasm.
|
|
1946
|
+
wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
|
|
2004
1947
|
}
|
|
2005
1948
|
}
|
|
2006
1949
|
/**
|
|
@@ -2019,7 +1962,7 @@ export class ValidationError {
|
|
|
2019
1962
|
return getStringFromWasm0(r0, r1);
|
|
2020
1963
|
} finally {
|
|
2021
1964
|
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
2022
|
-
wasm.
|
|
1965
|
+
wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
|
|
2023
1966
|
}
|
|
2024
1967
|
}
|
|
2025
1968
|
/**
|
|
@@ -2034,7 +1977,7 @@ export class ValidationError {
|
|
|
2034
1977
|
let v1;
|
|
2035
1978
|
if (r0 !== 0) {
|
|
2036
1979
|
v1 = getStringFromWasm0(r0, r1).slice();
|
|
2037
|
-
wasm.
|
|
1980
|
+
wasm.__wbindgen_export_2(r0, r1 * 1, 1);
|
|
2038
1981
|
}
|
|
2039
1982
|
return v1;
|
|
2040
1983
|
} finally {
|
|
@@ -2057,7 +2000,7 @@ export class ValidationError {
|
|
|
2057
2000
|
return getStringFromWasm0(r0, r1);
|
|
2058
2001
|
} finally {
|
|
2059
2002
|
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
2060
|
-
wasm.
|
|
2003
|
+
wasm.__wbindgen_export_2(deferred1_0, deferred1_1, 1);
|
|
2061
2004
|
}
|
|
2062
2005
|
}
|
|
2063
2006
|
}
|
|
@@ -2100,7 +2043,7 @@ export class ValidationResult {
|
|
|
2100
2043
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
2101
2044
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
2102
2045
|
var v1 = getArrayJsValueFromWasm0(r0, r1).slice();
|
|
2103
|
-
wasm.
|
|
2046
|
+
wasm.__wbindgen_export_2(r0, r1 * 4, 4);
|
|
2104
2047
|
return v1;
|
|
2105
2048
|
} finally {
|
|
2106
2049
|
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
@@ -2183,14 +2126,6 @@ function __wbg_get_imports() {
|
|
|
2183
2126
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
2184
2127
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
2185
2128
|
};
|
|
2186
|
-
imports.wbg.__wbg_call_13410aac570ffff7 = function() { return handleError(function (arg0, arg1) {
|
|
2187
|
-
const ret = getObject(arg0).call(getObject(arg1));
|
|
2188
|
-
return addHeapObject(ret);
|
|
2189
|
-
}, arguments) };
|
|
2190
|
-
imports.wbg.__wbg_done_75ed0ee6dd243d9d = function(arg0) {
|
|
2191
|
-
const ret = getObject(arg0).done;
|
|
2192
|
-
return ret;
|
|
2193
|
-
};
|
|
2194
2129
|
imports.wbg.__wbg_error_7534b8e9a36f1ab4 = function(arg0, arg1) {
|
|
2195
2130
|
let deferred0_0;
|
|
2196
2131
|
let deferred0_1;
|
|
@@ -2199,7 +2134,7 @@ function __wbg_get_imports() {
|
|
|
2199
2134
|
deferred0_1 = arg1;
|
|
2200
2135
|
console.error(getStringFromWasm0(arg0, arg1));
|
|
2201
2136
|
} finally {
|
|
2202
|
-
wasm.
|
|
2137
|
+
wasm.__wbindgen_export_2(deferred0_0, deferred0_1, 1);
|
|
2203
2138
|
}
|
|
2204
2139
|
};
|
|
2205
2140
|
imports.wbg.__wbg_getRandomValues_1c61fac11405ffdc = function() { return handleError(function (arg0, arg1) {
|
|
@@ -2209,51 +2144,7 @@ function __wbg_get_imports() {
|
|
|
2209
2144
|
const ret = getObject(arg0).getTime();
|
|
2210
2145
|
return ret;
|
|
2211
2146
|
};
|
|
2212
|
-
imports.wbg.
|
|
2213
|
-
const ret = getObject(arg0)[arg1 >>> 0];
|
|
2214
|
-
return addHeapObject(ret);
|
|
2215
|
-
};
|
|
2216
|
-
imports.wbg.__wbg_get_458e874b43b18b25 = function() { return handleError(function (arg0, arg1) {
|
|
2217
|
-
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
2218
|
-
return addHeapObject(ret);
|
|
2219
|
-
}, arguments) };
|
|
2220
|
-
imports.wbg.__wbg_instanceof_ArrayBuffer_67f3012529f6a2dd = function(arg0) {
|
|
2221
|
-
let result;
|
|
2222
|
-
try {
|
|
2223
|
-
result = getObject(arg0) instanceof ArrayBuffer;
|
|
2224
|
-
} catch (_) {
|
|
2225
|
-
result = false;
|
|
2226
|
-
}
|
|
2227
|
-
const ret = result;
|
|
2228
|
-
return ret;
|
|
2229
|
-
};
|
|
2230
|
-
imports.wbg.__wbg_instanceof_Uint8Array_9a8378d955933db7 = function(arg0) {
|
|
2231
|
-
let result;
|
|
2232
|
-
try {
|
|
2233
|
-
result = getObject(arg0) instanceof Uint8Array;
|
|
2234
|
-
} catch (_) {
|
|
2235
|
-
result = false;
|
|
2236
|
-
}
|
|
2237
|
-
const ret = result;
|
|
2238
|
-
return ret;
|
|
2239
|
-
};
|
|
2240
|
-
imports.wbg.__wbg_isArray_030cce220591fb41 = function(arg0) {
|
|
2241
|
-
const ret = Array.isArray(getObject(arg0));
|
|
2242
|
-
return ret;
|
|
2243
|
-
};
|
|
2244
|
-
imports.wbg.__wbg_iterator_f370b34483c71a1c = function() {
|
|
2245
|
-
const ret = Symbol.iterator;
|
|
2246
|
-
return addHeapObject(ret);
|
|
2247
|
-
};
|
|
2248
|
-
imports.wbg.__wbg_length_186546c51cd61acd = function(arg0) {
|
|
2249
|
-
const ret = getObject(arg0).length;
|
|
2250
|
-
return ret;
|
|
2251
|
-
};
|
|
2252
|
-
imports.wbg.__wbg_length_6bb7e81f9d7713e4 = function(arg0) {
|
|
2253
|
-
const ret = getObject(arg0).length;
|
|
2254
|
-
return ret;
|
|
2255
|
-
};
|
|
2256
|
-
imports.wbg.__wbg_log_4b6ed0b139485439 = function(arg0, arg1) {
|
|
2147
|
+
imports.wbg.__wbg_log_bb412d517df4ef42 = function(arg0, arg1) {
|
|
2257
2148
|
console.log(getStringFromWasm0(arg0, arg1));
|
|
2258
2149
|
};
|
|
2259
2150
|
imports.wbg.__wbg_new0_b0a0a38c201e6df5 = function() {
|
|
@@ -2272,29 +2163,10 @@ function __wbg_get_imports() {
|
|
|
2272
2163
|
const ret = new Map();
|
|
2273
2164
|
return addHeapObject(ret);
|
|
2274
2165
|
};
|
|
2275
|
-
imports.wbg.__wbg_new_638ebfaedbf32a5e = function(arg0) {
|
|
2276
|
-
const ret = new Uint8Array(getObject(arg0));
|
|
2277
|
-
return addHeapObject(ret);
|
|
2278
|
-
};
|
|
2279
2166
|
imports.wbg.__wbg_new_8a6f238a6ece86ea = function() {
|
|
2280
2167
|
const ret = new Error();
|
|
2281
2168
|
return addHeapObject(ret);
|
|
2282
2169
|
};
|
|
2283
|
-
imports.wbg.__wbg_next_5b3530e612fde77d = function(arg0) {
|
|
2284
|
-
const ret = getObject(arg0).next;
|
|
2285
|
-
return addHeapObject(ret);
|
|
2286
|
-
};
|
|
2287
|
-
imports.wbg.__wbg_next_692e82279131b03c = function() { return handleError(function (arg0) {
|
|
2288
|
-
const ret = getObject(arg0).next();
|
|
2289
|
-
return addHeapObject(ret);
|
|
2290
|
-
}, arguments) };
|
|
2291
|
-
imports.wbg.__wbg_parse_442f5ba02e5eaf8b = function() { return handleError(function (arg0, arg1) {
|
|
2292
|
-
const ret = JSON.parse(getStringFromWasm0(arg0, arg1));
|
|
2293
|
-
return addHeapObject(ret);
|
|
2294
|
-
}, arguments) };
|
|
2295
|
-
imports.wbg.__wbg_prototypesetcall_3d4a26c1ed734349 = function(arg0, arg1, arg2) {
|
|
2296
|
-
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), getObject(arg2));
|
|
2297
|
-
};
|
|
2298
2170
|
imports.wbg.__wbg_set_3f1d0b984ed272ed = function(arg0, arg1, arg2) {
|
|
2299
2171
|
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
2300
2172
|
};
|
|
@@ -2316,45 +2188,10 @@ function __wbg_get_imports() {
|
|
|
2316
2188
|
const ret = ValidationError.__wrap(arg0);
|
|
2317
2189
|
return addHeapObject(ret);
|
|
2318
2190
|
};
|
|
2319
|
-
imports.wbg.__wbg_value_dd9372230531eade = function(arg0) {
|
|
2320
|
-
const ret = getObject(arg0).value;
|
|
2321
|
-
return addHeapObject(ret);
|
|
2322
|
-
};
|
|
2323
|
-
imports.wbg.__wbg_wbindgenbooleanget_3fe6f642c7d97746 = function(arg0) {
|
|
2324
|
-
const v = getObject(arg0);
|
|
2325
|
-
const ret = typeof(v) === 'boolean' ? v : undefined;
|
|
2326
|
-
return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
|
|
2327
|
-
};
|
|
2328
|
-
imports.wbg.__wbg_wbindgendebugstring_99ef257a3ddda34d = function(arg0, arg1) {
|
|
2329
|
-
const ret = debugString(getObject(arg1));
|
|
2330
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export_0, wasm.__wbindgen_export_1);
|
|
2331
|
-
const len1 = WASM_VECTOR_LEN;
|
|
2332
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
2333
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
2334
|
-
};
|
|
2335
|
-
imports.wbg.__wbg_wbindgenisfunction_8cee7dce3725ae74 = function(arg0) {
|
|
2336
|
-
const ret = typeof(getObject(arg0)) === 'function';
|
|
2337
|
-
return ret;
|
|
2338
|
-
};
|
|
2339
|
-
imports.wbg.__wbg_wbindgenisobject_307a53c6bd97fbf8 = function(arg0) {
|
|
2340
|
-
const val = getObject(arg0);
|
|
2341
|
-
const ret = typeof(val) === 'object' && val !== null;
|
|
2342
|
-
return ret;
|
|
2343
|
-
};
|
|
2344
2191
|
imports.wbg.__wbg_wbindgenisstring_d4fa939789f003b0 = function(arg0) {
|
|
2345
2192
|
const ret = typeof(getObject(arg0)) === 'string';
|
|
2346
2193
|
return ret;
|
|
2347
2194
|
};
|
|
2348
|
-
imports.wbg.__wbg_wbindgenjsvallooseeq_9bec8c9be826bed1 = function(arg0, arg1) {
|
|
2349
|
-
const ret = getObject(arg0) == getObject(arg1);
|
|
2350
|
-
return ret;
|
|
2351
|
-
};
|
|
2352
|
-
imports.wbg.__wbg_wbindgennumberget_f74b4c7525ac05cb = function(arg0, arg1) {
|
|
2353
|
-
const obj = getObject(arg1);
|
|
2354
|
-
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
2355
|
-
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
2356
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
2357
|
-
};
|
|
2358
2195
|
imports.wbg.__wbg_wbindgenstringget_0f16a6ddddef376f = function(arg0, arg1) {
|
|
2359
2196
|
const obj = getObject(arg1);
|
|
2360
2197
|
const ret = typeof(obj) === 'string' ? obj : undefined;
|
package/pkg/json_eval_rs_bg.wasm
CHANGED
|
Binary file
|
|
@@ -14,9 +14,9 @@ export const jsonevalwasm_disableCache: (a: number) => void;
|
|
|
14
14
|
export const jsonevalwasm_enableCache: (a: number) => void;
|
|
15
15
|
export const jsonevalwasm_evaluate: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
|
|
16
16
|
export const jsonevalwasm_evaluateDependents: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
|
|
17
|
-
export const jsonevalwasm_evaluateDependentsJS: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
|
|
17
|
+
export const jsonevalwasm_evaluateDependentsJS: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
|
|
18
18
|
export const jsonevalwasm_evaluateDependentsSubform: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
|
|
19
|
-
export const jsonevalwasm_evaluateDependentsSubformJS: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
|
|
19
|
+
export const jsonevalwasm_evaluateDependentsSubformJS: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
|
|
20
20
|
export const jsonevalwasm_evaluateJS: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
|
|
21
21
|
export const jsonevalwasm_evaluateSubform: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
|
|
22
22
|
export const jsonevalwasm_getEvaluatedSchema: (a: number, b: number, c: number) => void;
|
|
@@ -27,7 +27,7 @@ export const jsonevalwasm_getEvaluatedSchemaByPathSubformJS: (a: number, b: numb
|
|
|
27
27
|
export const jsonevalwasm_getEvaluatedSchemaByPaths: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
28
28
|
export const jsonevalwasm_getEvaluatedSchemaByPathsJS: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
29
29
|
export const jsonevalwasm_getEvaluatedSchemaByPathsSubform: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
|
|
30
|
-
export const jsonevalwasm_getEvaluatedSchemaByPathsSubformJS: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
30
|
+
export const jsonevalwasm_getEvaluatedSchemaByPathsSubformJS: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
|
|
31
31
|
export const jsonevalwasm_getEvaluatedSchemaJS: (a: number, b: number, c: number) => void;
|
|
32
32
|
export const jsonevalwasm_getEvaluatedSchemaMsgpack: (a: number, b: number, c: number) => void;
|
|
33
33
|
export const jsonevalwasm_getEvaluatedSchemaSubform: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
@@ -43,7 +43,7 @@ export const jsonevalwasm_getSchemaByPathSubformJS: (a: number, b: number, c: nu
|
|
|
43
43
|
export const jsonevalwasm_getSchemaByPaths: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
44
44
|
export const jsonevalwasm_getSchemaByPathsJS: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
45
45
|
export const jsonevalwasm_getSchemaByPathsSubform: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
46
|
-
export const jsonevalwasm_getSchemaByPathsSubformJS: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
46
|
+
export const jsonevalwasm_getSchemaByPathsSubformJS: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
47
47
|
export const jsonevalwasm_getSchemaValue: (a: number, b: number) => void;
|
|
48
48
|
export const jsonevalwasm_getSchemaValueSubform: (a: number, b: number, c: number, d: number) => void;
|
|
49
49
|
export const jsonevalwasm_getSubformPaths: (a: number, b: number) => void;
|
|
@@ -78,7 +78,7 @@ export const init: () => void;
|
|
|
78
78
|
export const version: (a: number) => void;
|
|
79
79
|
export const __wbindgen_export_0: (a: number, b: number) => number;
|
|
80
80
|
export const __wbindgen_export_1: (a: number, b: number, c: number, d: number) => number;
|
|
81
|
-
export const __wbindgen_export_2: (a: number) => void;
|
|
82
|
-
export const __wbindgen_export_3: (a: number
|
|
81
|
+
export const __wbindgen_export_2: (a: number, b: number, c: number) => void;
|
|
82
|
+
export const __wbindgen_export_3: (a: number) => void;
|
|
83
83
|
export const __wbindgen_add_to_stack_pointer: (a: number) => number;
|
|
84
84
|
export const __wbindgen_start: () => void;
|