@trust0/ridb-core 1.7.24 → 1.7.26
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/build/ridb_core.d.ts +10 -10
- package/build/ridb_core.js +11 -11
- package/build/ridb_core.mjs +11 -11
- package/build/ridb_core_bg.mjs +1 -1
- package/package.json +2 -2
package/build/ridb_core.d.ts
CHANGED
|
@@ -38,16 +38,6 @@ declare function __wbgtest_console_warn(args: Array<any>): void;
|
|
|
38
38
|
*/
|
|
39
39
|
declare function __wbgtest_console_error(args: Array<any>): void;
|
|
40
40
|
/**
|
|
41
|
-
*/
|
|
42
|
-
declare enum Errors {
|
|
43
|
-
Error = 0,
|
|
44
|
-
HookError = 1,
|
|
45
|
-
QueryError = 2,
|
|
46
|
-
SerializationError = 3,
|
|
47
|
-
ValidationError = 4,
|
|
48
|
-
AuthenticationError = 5,
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
41
|
* Represents the type of operation to be performed on the collection.
|
|
52
42
|
*/
|
|
53
43
|
declare enum OpType {
|
|
@@ -72,6 +62,16 @@ declare enum OpType {
|
|
|
72
62
|
*/
|
|
73
63
|
COUNT = 4,
|
|
74
64
|
}
|
|
65
|
+
/**
|
|
66
|
+
*/
|
|
67
|
+
declare enum Errors {
|
|
68
|
+
Error = 0,
|
|
69
|
+
HookError = 1,
|
|
70
|
+
QueryError = 2,
|
|
71
|
+
SerializationError = 3,
|
|
72
|
+
ValidationError = 4,
|
|
73
|
+
AuthenticationError = 5,
|
|
74
|
+
}
|
|
75
75
|
|
|
76
76
|
declare class CoreStorage {
|
|
77
77
|
/**
|
package/build/ridb_core.js
CHANGED
|
@@ -403,7 +403,6 @@ function __wbg_adapter_337(arg0, arg1, arg2, arg3, arg4) {
|
|
|
403
403
|
function __wbg_adapter_394(arg0, arg1, arg2, arg3) {
|
|
404
404
|
wasm.wasm_bindgen__convert__closures__invoke2_mut__hdfe55fa2a247d1ac(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
405
405
|
}
|
|
406
|
-
var Errors = Object.freeze({ Error: 0, "0": "Error", HookError: 1, "1": "HookError", QueryError: 2, "2": "QueryError", SerializationError: 3, "3": "SerializationError", ValidationError: 4, "4": "ValidationError", AuthenticationError: 5, "5": "AuthenticationError" });
|
|
407
406
|
var OpType = Object.freeze({
|
|
408
407
|
/**
|
|
409
408
|
* Create operation.
|
|
@@ -431,6 +430,7 @@ var OpType = Object.freeze({
|
|
|
431
430
|
COUNT: 4,
|
|
432
431
|
"4": "COUNT"
|
|
433
432
|
});
|
|
433
|
+
var Errors = Object.freeze({ Error: 0, "0": "Error", HookError: 1, "1": "HookError", QueryError: 2, "2": "QueryError", SerializationError: 3, "3": "SerializationError", ValidationError: 4, "4": "ValidationError", AuthenticationError: 5, "5": "AuthenticationError" });
|
|
434
434
|
var BasePluginFinalization = typeof FinalizationRegistry === "undefined" ? { register: () => {
|
|
435
435
|
}, unregister: () => {
|
|
436
436
|
} } : new FinalizationRegistry((ptr) => wasm.__wbg_baseplugin_free(ptr >>> 0));
|
|
@@ -2232,12 +2232,6 @@ function __wbg_get_imports() {
|
|
|
2232
2232
|
const ret = InMemory.__wrap(arg0);
|
|
2233
2233
|
return addHeapObject(ret);
|
|
2234
2234
|
};
|
|
2235
|
-
imports.wbg.__wbg_find_567c5c9f064fe3d2 = function() {
|
|
2236
|
-
return handleError(function(arg0, arg1, arg2, arg3, arg4) {
|
|
2237
|
-
const ret = getObject(arg0).find(getStringFromWasm0(arg1, arg2), takeObject(arg3), QueryOptions.__wrap(arg4));
|
|
2238
|
-
return addHeapObject(ret);
|
|
2239
|
-
}, arguments);
|
|
2240
|
-
};
|
|
2241
2235
|
imports.wbg.__wbindgen_is_null = function(arg0) {
|
|
2242
2236
|
const ret = getObject(arg0) === null;
|
|
2243
2237
|
return ret;
|
|
@@ -2275,6 +2269,12 @@ function __wbg_get_imports() {
|
|
|
2275
2269
|
getFloat64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? 0 : ret;
|
|
2276
2270
|
getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
|
|
2277
2271
|
};
|
|
2272
|
+
imports.wbg.__wbg_find_567c5c9f064fe3d2 = function() {
|
|
2273
|
+
return handleError(function(arg0, arg1, arg2, arg3, arg4) {
|
|
2274
|
+
const ret = getObject(arg0).find(getStringFromWasm0(arg1, arg2), takeObject(arg3), QueryOptions.__wrap(arg4));
|
|
2275
|
+
return addHeapObject(ret);
|
|
2276
|
+
}, arguments);
|
|
2277
|
+
};
|
|
2278
2278
|
imports.wbg.__wbg_findDocumentById_2edf7350e5f12657 = function() {
|
|
2279
2279
|
return handleError(function(arg0, arg1, arg2, arg3) {
|
|
2280
2280
|
const ret = getObject(arg0).findDocumentById(getStringFromWasm0(arg1, arg2), takeObject(arg3));
|
|
@@ -3070,19 +3070,19 @@ function __wbg_get_imports() {
|
|
|
3070
3070
|
const ret = wasm.memory;
|
|
3071
3071
|
return addHeapObject(ret);
|
|
3072
3072
|
};
|
|
3073
|
-
imports.wbg.
|
|
3073
|
+
imports.wbg.__wbindgen_closure_wrapper987 = function(arg0, arg1, arg2) {
|
|
3074
3074
|
const ret = makeClosure(arg0, arg1, 326, __wbg_adapter_56);
|
|
3075
3075
|
return addHeapObject(ret);
|
|
3076
3076
|
};
|
|
3077
|
-
imports.wbg.
|
|
3077
|
+
imports.wbg.__wbindgen_closure_wrapper989 = function(arg0, arg1, arg2) {
|
|
3078
3078
|
const ret = makeMutClosure(arg0, arg1, 326, __wbg_adapter_59);
|
|
3079
3079
|
return addHeapObject(ret);
|
|
3080
3080
|
};
|
|
3081
|
-
imports.wbg.
|
|
3081
|
+
imports.wbg.__wbindgen_closure_wrapper991 = function(arg0, arg1, arg2) {
|
|
3082
3082
|
const ret = makeMutClosure(arg0, arg1, 326, __wbg_adapter_62);
|
|
3083
3083
|
return addHeapObject(ret);
|
|
3084
3084
|
};
|
|
3085
|
-
imports.wbg.
|
|
3085
|
+
imports.wbg.__wbindgen_closure_wrapper1640 = function(arg0, arg1, arg2) {
|
|
3086
3086
|
const ret = makeMutClosure(arg0, arg1, 456, __wbg_adapter_65);
|
|
3087
3087
|
return addHeapObject(ret);
|
|
3088
3088
|
};
|
package/build/ridb_core.mjs
CHANGED
|
@@ -356,7 +356,6 @@ function __wbg_adapter_337(arg0, arg1, arg2, arg3, arg4) {
|
|
|
356
356
|
function __wbg_adapter_394(arg0, arg1, arg2, arg3) {
|
|
357
357
|
wasm.wasm_bindgen__convert__closures__invoke2_mut__hdfe55fa2a247d1ac(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
358
358
|
}
|
|
359
|
-
var Errors = Object.freeze({ Error: 0, "0": "Error", HookError: 1, "1": "HookError", QueryError: 2, "2": "QueryError", SerializationError: 3, "3": "SerializationError", ValidationError: 4, "4": "ValidationError", AuthenticationError: 5, "5": "AuthenticationError" });
|
|
360
359
|
var OpType = Object.freeze({
|
|
361
360
|
/**
|
|
362
361
|
* Create operation.
|
|
@@ -384,6 +383,7 @@ var OpType = Object.freeze({
|
|
|
384
383
|
COUNT: 4,
|
|
385
384
|
"4": "COUNT"
|
|
386
385
|
});
|
|
386
|
+
var Errors = Object.freeze({ Error: 0, "0": "Error", HookError: 1, "1": "HookError", QueryError: 2, "2": "QueryError", SerializationError: 3, "3": "SerializationError", ValidationError: 4, "4": "ValidationError", AuthenticationError: 5, "5": "AuthenticationError" });
|
|
387
387
|
var BasePluginFinalization = typeof FinalizationRegistry === "undefined" ? { register: () => {
|
|
388
388
|
}, unregister: () => {
|
|
389
389
|
} } : new FinalizationRegistry((ptr) => wasm.__wbg_baseplugin_free(ptr >>> 0));
|
|
@@ -2185,12 +2185,6 @@ function __wbg_get_imports() {
|
|
|
2185
2185
|
const ret = InMemory.__wrap(arg0);
|
|
2186
2186
|
return addHeapObject(ret);
|
|
2187
2187
|
};
|
|
2188
|
-
imports.wbg.__wbg_find_567c5c9f064fe3d2 = function() {
|
|
2189
|
-
return handleError(function(arg0, arg1, arg2, arg3, arg4) {
|
|
2190
|
-
const ret = getObject(arg0).find(getStringFromWasm0(arg1, arg2), takeObject(arg3), QueryOptions.__wrap(arg4));
|
|
2191
|
-
return addHeapObject(ret);
|
|
2192
|
-
}, arguments);
|
|
2193
|
-
};
|
|
2194
2188
|
imports.wbg.__wbindgen_is_null = function(arg0) {
|
|
2195
2189
|
const ret = getObject(arg0) === null;
|
|
2196
2190
|
return ret;
|
|
@@ -2228,6 +2222,12 @@ function __wbg_get_imports() {
|
|
|
2228
2222
|
getFloat64Memory0()[arg0 / 8 + 1] = isLikeNone(ret) ? 0 : ret;
|
|
2229
2223
|
getInt32Memory0()[arg0 / 4 + 0] = !isLikeNone(ret);
|
|
2230
2224
|
};
|
|
2225
|
+
imports.wbg.__wbg_find_567c5c9f064fe3d2 = function() {
|
|
2226
|
+
return handleError(function(arg0, arg1, arg2, arg3, arg4) {
|
|
2227
|
+
const ret = getObject(arg0).find(getStringFromWasm0(arg1, arg2), takeObject(arg3), QueryOptions.__wrap(arg4));
|
|
2228
|
+
return addHeapObject(ret);
|
|
2229
|
+
}, arguments);
|
|
2230
|
+
};
|
|
2231
2231
|
imports.wbg.__wbg_findDocumentById_2edf7350e5f12657 = function() {
|
|
2232
2232
|
return handleError(function(arg0, arg1, arg2, arg3) {
|
|
2233
2233
|
const ret = getObject(arg0).findDocumentById(getStringFromWasm0(arg1, arg2), takeObject(arg3));
|
|
@@ -3023,19 +3023,19 @@ function __wbg_get_imports() {
|
|
|
3023
3023
|
const ret = wasm.memory;
|
|
3024
3024
|
return addHeapObject(ret);
|
|
3025
3025
|
};
|
|
3026
|
-
imports.wbg.
|
|
3026
|
+
imports.wbg.__wbindgen_closure_wrapper987 = function(arg0, arg1, arg2) {
|
|
3027
3027
|
const ret = makeClosure(arg0, arg1, 326, __wbg_adapter_56);
|
|
3028
3028
|
return addHeapObject(ret);
|
|
3029
3029
|
};
|
|
3030
|
-
imports.wbg.
|
|
3030
|
+
imports.wbg.__wbindgen_closure_wrapper989 = function(arg0, arg1, arg2) {
|
|
3031
3031
|
const ret = makeMutClosure(arg0, arg1, 326, __wbg_adapter_59);
|
|
3032
3032
|
return addHeapObject(ret);
|
|
3033
3033
|
};
|
|
3034
|
-
imports.wbg.
|
|
3034
|
+
imports.wbg.__wbindgen_closure_wrapper991 = function(arg0, arg1, arg2) {
|
|
3035
3035
|
const ret = makeMutClosure(arg0, arg1, 326, __wbg_adapter_62);
|
|
3036
3036
|
return addHeapObject(ret);
|
|
3037
3037
|
};
|
|
3038
|
-
imports.wbg.
|
|
3038
|
+
imports.wbg.__wbindgen_closure_wrapper1640 = function(arg0, arg1, arg2) {
|
|
3039
3039
|
const ret = makeMutClosure(arg0, arg1, 456, __wbg_adapter_65);
|
|
3040
3040
|
return addHeapObject(ret);
|
|
3041
3041
|
};
|