@qaecy/cue-sdk 0.0.10 → 0.0.11
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/{cue-CE1bYaia.js → cue-BY7UdQjW.js} +27 -12
- package/index.d.ts +1 -0
- package/index.js +11 -9
- package/node.js +2 -2
- package/package.json +1 -1
|
@@ -2958,7 +2958,10 @@ function Tt(l, t, e, s, i, n, a, c = !1, r = !1) {
|
|
|
2958
2958
|
};
|
|
2959
2959
|
}
|
|
2960
2960
|
async function O() {
|
|
2961
|
-
return import(
|
|
2961
|
+
return import(
|
|
2962
|
+
/* webpackIgnore: true */
|
|
2963
|
+
"fs/promises"
|
|
2964
|
+
);
|
|
2962
2965
|
}
|
|
2963
2966
|
async function At(l) {
|
|
2964
2967
|
if (typeof window < "u")
|
|
@@ -2984,13 +2987,25 @@ async function Ve() {
|
|
|
2984
2987
|
const t = new Uint8Array(await l.arrayBuffer()), s = await import(`${j}/dir_scanner_wasm.mjs`);
|
|
2985
2988
|
await s.default({ module_or_path: t }), D = s.scan;
|
|
2986
2989
|
} else {
|
|
2987
|
-
const { readFile: l } = await O(), { join: t } = await import(
|
|
2990
|
+
const { readFile: l } = await O(), { join: t } = await import(
|
|
2991
|
+
/* webpackIgnore: true */
|
|
2992
|
+
"path"
|
|
2993
|
+
), { pathToFileURL: e } = await import(
|
|
2994
|
+
/* webpackIgnore: true */
|
|
2995
|
+
"url"
|
|
2996
|
+
), s = t(__dirname, "assets", "wasm"), i = await l(t(s, "dir_scanner_wasm_bg.wasm")), a = await import(e(t(s, "dir_scanner_wasm.mjs")).href);
|
|
2988
2997
|
await a.default({ module_or_path: i }), D = a.scan;
|
|
2989
2998
|
}
|
|
2990
2999
|
}
|
|
2991
3000
|
const Xe = "fuseki", L = 1e3, Z = "cue:pending:";
|
|
2992
3001
|
async function tt(l) {
|
|
2993
|
-
const { tmpdir: t } = await import(
|
|
3002
|
+
const { tmpdir: t } = await import(
|
|
3003
|
+
/* webpackIgnore: true */
|
|
3004
|
+
"os"
|
|
3005
|
+
), { join: e } = await import(
|
|
3006
|
+
/* webpackIgnore: true */
|
|
3007
|
+
"path"
|
|
3008
|
+
);
|
|
2994
3009
|
return e(t(), `cue-sync-pending-${l}.json`);
|
|
2995
3010
|
}
|
|
2996
3011
|
async function St(l) {
|
|
@@ -3586,14 +3601,14 @@ export {
|
|
|
3586
3601
|
Fe as i,
|
|
3587
3602
|
yt as j,
|
|
3588
3603
|
I as k,
|
|
3589
|
-
|
|
3590
|
-
|
|
3591
|
-
|
|
3592
|
-
|
|
3593
|
-
|
|
3594
|
-
|
|
3595
|
-
|
|
3604
|
+
Je as l,
|
|
3605
|
+
hs as m,
|
|
3606
|
+
X as n,
|
|
3607
|
+
Re as o,
|
|
3608
|
+
Ae as p,
|
|
3609
|
+
ct as q,
|
|
3610
|
+
Se as r,
|
|
3596
3611
|
Y as s,
|
|
3597
|
-
|
|
3598
|
-
|
|
3612
|
+
xe as t,
|
|
3613
|
+
Ee as u
|
|
3599
3614
|
};
|
package/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export { Cue } from './lib/cue';
|
|
2
2
|
export { CueAuth } from './lib/auth';
|
|
3
3
|
export { CueApi } from './lib/api';
|
|
4
|
+
export { CueSyncApi, configureScanWasm } from './lib/sync';
|
|
4
5
|
export { CueProjectSchema } from './lib/schema';
|
|
5
6
|
export { CueProjectEntities } from './lib/entities';
|
|
6
7
|
export { CueProjectDocuments } from './lib/documents';
|
package/index.js
CHANGED
|
@@ -1,18 +1,20 @@
|
|
|
1
|
-
import { C as s, a as u, b as C, c
|
|
1
|
+
import { C as s, a as u, b as C, c, d as i, e as t, f as o, g as r, h as l, i as n, j as P, k as j, l as m, R as h, m as R, n as S, s as f } from "./cue-BY7UdQjW.js";
|
|
2
2
|
export {
|
|
3
3
|
s as Cue,
|
|
4
4
|
u as CueApi,
|
|
5
5
|
C as CueAuth,
|
|
6
|
-
|
|
6
|
+
c as CueCache,
|
|
7
7
|
i as CuePrivileges,
|
|
8
|
-
|
|
8
|
+
t as CueProfile,
|
|
9
9
|
o as CueProjectDocuments,
|
|
10
10
|
r as CueProjectEntities,
|
|
11
11
|
l as CueProjectSchema,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
12
|
+
n as CueProjectView,
|
|
13
|
+
P as CueProjects,
|
|
14
|
+
j as CueSignal,
|
|
15
|
+
m as CueSyncApi,
|
|
16
|
+
h as REQUIRED_ROLES,
|
|
17
|
+
R as configureScanWasm,
|
|
18
|
+
S as cueComputed,
|
|
19
|
+
f as staleWhileRevalidate
|
|
18
20
|
};
|
package/node.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as _, B as E,
|
|
2
|
-
import { b as y, c as I, d as L, e as O, f as x, g as D, h as H, i as N, j as W, k as v, R as k,
|
|
1
|
+
import { C as _, B as E, o as l, p as S, q as m, r as P, t as d, l as U, u as B, a as R } from "./cue-BY7UdQjW.js";
|
|
2
|
+
import { b as y, c as I, d as L, e as O, f as x, g as D, h as H, i as N, j as W, k as v, R as k, m as q, n as G, s as Q } from "./cue-BY7UdQjW.js";
|
|
3
3
|
import { getStorage as s, connectStorageEmulator as o } from "firebase/storage";
|
|
4
4
|
import "firebase/firestore";
|
|
5
5
|
class w extends _ {
|