zeed 1.4.0 → 1.5.0
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/dist/{args-FLoL3OKJ.d.cts → args-CEjib9V9.d.mts} +1 -1
- package/dist/{args-WC9q5kz2.d.mts → args-DEig-jw4.d.cts} +1 -1
- package/dist/{clipboard-BkUO-syY.d.mts → clipboard-BusqmLLY.d.cts} +1 -1
- package/dist/{clipboard-Cfpr331X.d.cts → clipboard-DcuuFRwa.d.mts} +1 -1
- package/dist/common/exec/index.d.cts +2 -2
- package/dist/common/exec/index.d.mts +2 -2
- package/dist/common/exec/promise.d.cts +1 -1
- package/dist/common/exec/promise.d.mts +1 -1
- package/dist/common/exec/throttle-debounce.d.cts +1 -1
- package/dist/common/exec/throttle-debounce.d.mts +1 -1
- package/dist/common/index.cjs +21 -0
- package/dist/common/index.d.cts +14 -11
- package/dist/common/index.d.mts +15 -12
- package/dist/common/index.mjs +4 -1
- package/dist/common/msg/rpc.cjs +8 -8
- package/dist/common/msg/rpc.cjs.map +1 -1
- package/dist/common/msg/rpc.mjs +8 -8
- package/dist/common/msg/rpc.mjs.map +1 -1
- package/dist/common/schema/export-json-schema.cjs +40 -31
- package/dist/common/schema/export-json-schema.cjs.map +1 -1
- package/dist/common/schema/export-json-schema.mjs +40 -31
- package/dist/common/schema/export-json-schema.mjs.map +1 -1
- package/dist/common/schema/index.cjs +21 -0
- package/dist/common/schema/index.d.cts +6 -3
- package/dist/common/schema/index.d.mts +7 -4
- package/dist/common/schema/index.mjs +4 -1
- package/dist/common/schema/sql/expr.cjs +128 -0
- package/dist/common/schema/sql/expr.cjs.map +1 -0
- package/dist/common/schema/sql/expr.d.cts +2 -0
- package/dist/common/schema/sql/expr.d.mts +2 -0
- package/dist/common/schema/sql/expr.mjs +115 -0
- package/dist/common/schema/sql/expr.mjs.map +1 -0
- package/dist/common/schema/sql/index.cjs +23 -0
- package/dist/common/schema/sql/index.d.cts +4 -0
- package/dist/common/schema/sql/index.d.mts +4 -0
- package/dist/common/schema/sql/index.mjs +5 -0
- package/dist/common/schema/sql/select.cjs +143 -0
- package/dist/common/schema/sql/select.cjs.map +1 -0
- package/dist/common/schema/sql/select.d.cts +2 -0
- package/dist/common/schema/sql/select.d.mts +2 -0
- package/dist/common/schema/sql/select.mjs +139 -0
- package/dist/common/schema/sql/select.mjs.map +1 -0
- package/dist/common/schema/sql/table.cjs +23 -0
- package/dist/common/schema/sql/table.cjs.map +1 -0
- package/dist/common/schema/sql/table.d.cts +2 -0
- package/dist/common/schema/sql/table.d.mts +2 -0
- package/dist/common/schema/sql/table.mjs +20 -0
- package/dist/common/schema/sql/table.mjs.map +1 -0
- package/dist/common/schema/type-test.d.cts +1 -1
- package/dist/common/schema/type-test.d.mts +1 -1
- package/dist/common/schema/utils.d.cts +1 -1
- package/dist/common/schema/utils.d.mts +1 -1
- package/dist/common/schema/z.d.mts +1 -1
- package/dist/common/storage/index.d.cts +1 -1
- package/dist/common/storage/index.d.mts +1 -1
- package/dist/common/storage/memstorage.d.cts +1 -1
- package/dist/common/storage/memstorage.d.mts +1 -1
- package/dist/common/test.d.cts +1 -1
- package/dist/common/test.d.mts +1 -1
- package/dist/common/time.d.cts +1 -1
- package/dist/common/time.d.mts +1 -1
- package/dist/common/timeout.d.cts +1 -1
- package/dist/common/timeout.d.mts +1 -1
- package/dist/common/utils.d.cts +1 -1
- package/dist/common/utils.d.mts +1 -1
- package/dist/common/uuid.d.cts +1 -1
- package/dist/common/uuid.d.mts +1 -1
- package/dist/{crypto-CyTV7Qce.d.cts → crypto-D68rVmvU.d.mts} +1 -1
- package/dist/{crypto-LT7EC5_d.d.mts → crypto-KzGHoCJE.d.cts} +1 -1
- package/dist/{env-B3vOiVY8.d.cts → env-BJXdwBKq.d.mts} +1 -1
- package/dist/{env-C3npYe8w.d.mts → env-HsOnA_yK.d.cts} +1 -1
- package/dist/expr-CCKrqOw1.d.mts +25 -0
- package/dist/expr-yYgSeBZ3.d.cts +25 -0
- package/dist/{files-CDNKX9VI.d.mts → files-4O-PxnAC.d.cts} +1 -1
- package/dist/{files-DdI9UZvg.d.cts → files-BlpxqSTT.d.mts} +1 -1
- package/dist/{files-async-1V0bu_ca.d.cts → files-async-DFLC-Nkd.d.cts} +1 -1
- package/dist/{files-async-cBMkRwsu.d.mts → files-async-DfuEEDjH.d.mts} +1 -1
- package/dist/{filestorage-CXQ9MzeW.d.cts → filestorage-BjeBZEAs.d.cts} +1 -1
- package/dist/{filestorage-YzM2z9sU.d.mts → filestorage-CmfztpWm.d.mts} +1 -1
- package/dist/{fs-DHJ9AqUk.d.cts → fs-D837bjRT.d.cts} +1 -1
- package/dist/{fs-DgjZdpuF.d.mts → fs-DlYLapik.d.mts} +1 -1
- package/dist/{glob-Bfs7ZS_i.d.mts → glob-5yW09dkR.d.mts} +1 -1
- package/dist/{glob-Bt150jOY.d.cts → glob-CZaZPqiy.d.cts} +1 -1
- package/dist/index.all.cjs +21 -0
- package/dist/index.all.d.cts +28 -25
- package/dist/index.all.d.mts +29 -26
- package/dist/index.all.mjs +4 -1
- package/dist/index.browser.cjs +21 -0
- package/dist/index.browser.d.cts +14 -11
- package/dist/index.browser.d.mts +15 -12
- package/dist/index.browser.mjs +4 -1
- package/dist/index.jsr.d.cts +4 -4
- package/dist/index.jsr.d.mts +4 -4
- package/dist/index.node.cjs +21 -0
- package/dist/index.node.d.cts +28 -25
- package/dist/index.node.d.mts +29 -26
- package/dist/index.node.mjs +4 -1
- package/dist/{log-file-bsTsc9KM.d.cts → log-file-DwEDms1F.d.cts} +2 -2
- package/dist/{log-file-DTuImomJ.d.mts → log-file-QV1unm3z.d.mts} +2 -2
- package/dist/{log-file-rotation-_YruAcNc.d.cts → log-file-rotation-BpZxXYlU.d.cts} +2 -2
- package/dist/{log-file-rotation-FBmtp_Uz.d.mts → log-file-rotation-DanrO_2y.d.mts} +2 -2
- package/dist/{log-node-DlrXl3QO.d.mts → log-node-BSn7RqAc.d.mts} +1 -1
- package/dist/{log-node-Dk948mHX.d.cts → log-node-D_fiJL6x.d.cts} +1 -1
- package/dist/{log-rotation-CkyjZbK5.d.mts → log-rotation-BdGakFya.d.cts} +1 -1
- package/dist/{log-rotation-_d7iRm9s.d.cts → log-rotation-Ce4e-8LN.d.mts} +1 -1
- package/dist/{log-util-2Ls76P-0.d.cts → log-util-C0U3zCjw.d.cts} +1 -1
- package/dist/{log-util-Da_d19f8.d.mts → log-util-Da_UCcmt.d.mts} +1 -1
- package/dist/{memstorage-D5A9FwiP.d.mts → memstorage-BhWXthO8.d.mts} +1 -1
- package/dist/{memstorage-BcjQLdaQ.d.cts → memstorage-tvlWDYgS.d.cts} +1 -1
- package/dist/node/args.d.cts +1 -1
- package/dist/node/args.d.mts +1 -1
- package/dist/node/clipboard.d.cts +1 -1
- package/dist/node/clipboard.d.mts +1 -1
- package/dist/node/crypto.d.cts +1 -1
- package/dist/node/crypto.d.mts +1 -1
- package/dist/node/env.d.cts +1 -1
- package/dist/node/env.d.mts +1 -1
- package/dist/node/files-async.d.cts +1 -1
- package/dist/node/files-async.d.mts +1 -1
- package/dist/node/files.d.cts +1 -1
- package/dist/node/files.d.mts +1 -1
- package/dist/node/filestorage.d.cts +1 -1
- package/dist/node/filestorage.d.mts +1 -1
- package/dist/node/fs.d.cts +1 -1
- package/dist/node/fs.d.mts +1 -1
- package/dist/node/glob.d.cts +1 -1
- package/dist/node/glob.d.mts +1 -1
- package/dist/node/index.d.cts +14 -14
- package/dist/node/index.d.mts +14 -14
- package/dist/node/log/index.d.cts +5 -5
- package/dist/node/log/index.d.mts +5 -5
- package/dist/node/log/log-file-rotation.d.cts +1 -1
- package/dist/node/log/log-file-rotation.d.mts +1 -1
- package/dist/node/log/log-file.d.cts +1 -1
- package/dist/node/log/log-file.d.mts +1 -1
- package/dist/node/log/log-node.cjs +4 -13
- package/dist/node/log/log-node.cjs.map +1 -1
- package/dist/node/log/log-node.d.cts +1 -1
- package/dist/node/log/log-node.d.mts +1 -1
- package/dist/node/log/log-node.mjs +4 -13
- package/dist/node/log/log-node.mjs.map +1 -1
- package/dist/node/log/log-rotation.d.cts +1 -1
- package/dist/node/log/log-rotation.d.mts +1 -1
- package/dist/node/log/log-util.d.cts +1 -1
- package/dist/node/log/log-util.d.mts +1 -1
- package/dist/{promise-DGgiRckN.d.cts → promise-CU_CENbU.d.cts} +1 -1
- package/dist/{promise-MH3xAy4S.d.mts → promise-CoWXgo4w.d.mts} +1 -1
- package/dist/select-DrciHdk_.d.cts +52 -0
- package/dist/select-F2KpP6mo.d.mts +52 -0
- package/dist/table-Cr8tjDIL.d.mts +19 -0
- package/dist/table-IkLXirT-.d.cts +19 -0
- package/dist/{test-CAhm15f4.d.mts → test-DcXa0MeX.d.cts} +1 -1
- package/dist/{test-D2plOVHF.d.cts → test-jZsc7P2c.d.mts} +1 -1
- package/dist/{throttle-debounce-BLFxAZ8W.d.mts → throttle-debounce-CCh0F100.d.mts} +1 -1
- package/dist/{throttle-debounce-Psb0ay1r.d.cts → throttle-debounce-DyFiyoAk.d.cts} +1 -1
- package/dist/{time-BfKJBbym.d.cts → time-BgFZe9ys.d.cts} +1 -1
- package/dist/{time-DxE-vjjw.d.mts → time-DSV_k3mG.d.mts} +1 -1
- package/dist/{timeout-CnUk6Ruj.d.mts → timeout-DDSSNZY8.d.mts} +1 -1
- package/dist/{timeout-CpFcK8MD.d.cts → timeout-E3ZQbJgK.d.cts} +1 -1
- package/dist/{type-test-BiKyEZkc.d.mts → type-test-BvzWDJz3.d.mts} +1 -1
- package/dist/{type-test-sM7QpfQU.d.cts → type-test-CBK-iJ9d.d.cts} +1 -1
- package/dist/{utils-B8DsVgFr.d.mts → utils-1RyCGkpQ.d.mts} +1 -1
- package/dist/{utils-BfZkD2Pt.d.mts → utils-6Culwiaf.d.cts} +1 -1
- package/dist/{utils-DHQBNh-Z.d.cts → utils-CDJihcg3.d.mts} +1 -1
- package/dist/{utils-Bctk_WhH.d.cts → utils-nCQklGHV.d.cts} +1 -1
- package/dist/{uuid-Cusm2nIK.d.cts → uuid-CKFZfSff.d.mts} +1 -1
- package/dist/{uuid-ININPGKB.d.mts → uuid-D42A8UdP.d.cts} +1 -1
- package/dist/z-C0fpNWZg.d.cts +1 -0
- package/dist/z-D_jezYmm.d.mts +1 -0
- package/dist/{z-collection-BmuBin--.d.mts → z-collection-BSfgRU0Q.d.mts} +1 -1
- package/package.json +7 -8
- package/src/common/schema/export-json-schema.spec.ts +11 -7
- package/src/common/schema/export-json-schema.ts +59 -52
- package/src/common/schema/index.ts +1 -0
- package/src/common/schema/sql/README.md +254 -0
- package/src/common/schema/sql/expr.ts +99 -0
- package/src/common/schema/sql/index.ts +3 -0
- package/src/common/schema/sql/select.spec.ts +144 -0
- package/src/common/schema/sql/select.ts +207 -0
- package/src/common/schema/sql/table.ts +36 -0
- /package/dist/{index-BH1nuHdZ.d.cts → index-CIABef8t.d.mts} +0 -0
- /package/dist/{index-BL7o4fG9.d.cts → index-CliqZ9rj.d.mts} +0 -0
- /package/dist/{index-CP2eJYlK.d.mts → index-D6xqj1Qx.d.cts} +0 -0
- /package/dist/{index-DjOaHFU3.d.mts → index-DHFfG4yr.d.cts} +0 -0
- /package/dist/{index-sViox9YW.d.mts → index-N-OgGgfF.d.mts} +0 -0
- /package/dist/{z-ClMox7qS.d.mts → index-WOw4GVZo.d.cts} +0 -0
- /package/dist/{z-dtM4F8Lo.d.cts → index-luywJTzJ.d.mts} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as safeTimeout } from "../timeout-
|
|
1
|
+
import { t as safeTimeout } from "../timeout-DDSSNZY8.mjs";
|
|
2
2
|
export { safeTimeout };
|
package/dist/common/utils.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as noop } from "../utils-
|
|
1
|
+
import { t as noop } from "../utils-6Culwiaf.cjs";
|
|
2
2
|
export { noop };
|
package/dist/common/utils.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as noop } from "../utils-
|
|
1
|
+
import { t as noop } from "../utils-CDJihcg3.mjs";
|
|
2
2
|
export { noop };
|
package/dist/common/uuid.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as uuidv4, S as uuidIsValid, _ as uuidDecodeV4, a as suidBytesDate, b as uuidEncodeB62, c as unameReset, d as uuidB32, f as uuidB62, g as uuidDecodeB62, h as uuidDecodeB32, i as suidBytes, l as uuid, m as uuidDecode, n as setUuidDefaultEncoding, o as suidDate, p as uuidBytes, r as suid, s as uname, t as qid, u as uuid32bit, v as uuidEncode, x as uuidEncodeV4, y as uuidEncodeB32 } from "../uuid-
|
|
1
|
+
import { C as uuidv4, S as uuidIsValid, _ as uuidDecodeV4, a as suidBytesDate, b as uuidEncodeB62, c as unameReset, d as uuidB32, f as uuidB62, g as uuidDecodeB62, h as uuidDecodeB32, i as suidBytes, l as uuid, m as uuidDecode, n as setUuidDefaultEncoding, o as suidDate, p as uuidBytes, r as suid, s as uname, t as qid, u as uuid32bit, v as uuidEncode, x as uuidEncodeV4, y as uuidEncodeB32 } from "../uuid-D42A8UdP.cjs";
|
|
2
2
|
export { qid, setUuidDefaultEncoding, suid, suidBytes, suidBytesDate, suidDate, uname, unameReset, uuid, uuid32bit, uuidB32, uuidB62, uuidBytes, uuidDecode, uuidDecodeB32, uuidDecodeB62, uuidDecodeV4, uuidEncode, uuidEncodeB32, uuidEncodeB62, uuidEncodeV4, uuidIsValid, uuidv4 };
|
package/dist/common/uuid.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as uuidv4, S as uuidIsValid, _ as uuidDecodeV4, a as suidBytesDate, b as uuidEncodeB62, c as unameReset, d as uuidB32, f as uuidB62, g as uuidDecodeB62, h as uuidDecodeB32, i as suidBytes, l as uuid, m as uuidDecode, n as setUuidDefaultEncoding, o as suidDate, p as uuidBytes, r as suid, s as uname, t as qid, u as uuid32bit, v as uuidEncode, x as uuidEncodeV4, y as uuidEncodeB32 } from "../uuid-
|
|
1
|
+
import { C as uuidv4, S as uuidIsValid, _ as uuidDecodeV4, a as suidBytesDate, b as uuidEncodeB62, c as unameReset, d as uuidB32, f as uuidB62, g as uuidDecodeB62, h as uuidDecodeB32, i as suidBytes, l as uuid, m as uuidDecode, n as setUuidDefaultEncoding, o as suidDate, p as uuidBytes, r as suid, s as uname, t as qid, u as uuid32bit, v as uuidEncode, x as uuidEncodeV4, y as uuidEncodeB32 } from "../uuid-CKFZfSff.mjs";
|
|
2
2
|
export { qid, setUuidDefaultEncoding, suid, suidBytes, suidBytesDate, suidDate, uname, unameReset, uuid, uuid32bit, uuidB32, uuidB62, uuidBytes, uuidDecode, uuidDecodeB32, uuidDecodeB62, uuidDecodeV4, uuidEncode, uuidEncodeB32, uuidEncodeB62, uuidEncodeV4, uuidIsValid, uuidv4 };
|
|
@@ -28,4 +28,4 @@ declare function setupEnv(options?: EnvOptions): {
|
|
|
28
28
|
};
|
|
29
29
|
//#endregion
|
|
30
30
|
export { setupEnv as a, valueToPath as c, parseEnvStringAlt as i, getEnvVariableRelaxed as n, stringToPath as o, parseEnvString as r, toPath as s, EnvOptions as t };
|
|
31
|
-
//# sourceMappingURL=env-
|
|
31
|
+
//# sourceMappingURL=env-BJXdwBKq.d.mts.map
|
|
@@ -28,4 +28,4 @@ declare function setupEnv(options?: EnvOptions): {
|
|
|
28
28
|
};
|
|
29
29
|
//#endregion
|
|
30
30
|
export { setupEnv as a, valueToPath as c, parseEnvStringAlt as i, getEnvVariableRelaxed as n, stringToPath as o, parseEnvString as r, toPath as s, EnvOptions as t };
|
|
31
|
-
//# sourceMappingURL=env-
|
|
31
|
+
//# sourceMappingURL=env-HsOnA_yK.d.cts.map
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { t as Column } from "./table-Cr8tjDIL.mjs";
|
|
2
|
+
|
|
3
|
+
//#region src/common/schema/sql/expr.d.ts
|
|
4
|
+
interface Expr {
|
|
5
|
+
readonly kind: 'expr';
|
|
6
|
+
readonly sql: string;
|
|
7
|
+
readonly params: unknown[];
|
|
8
|
+
readonly refs: Column[];
|
|
9
|
+
}
|
|
10
|
+
declare const eq: (a: Column | Expr | unknown, b: Column | Expr | unknown) => Expr;
|
|
11
|
+
declare const ne: (a: Column | Expr | unknown, b: Column | Expr | unknown) => Expr;
|
|
12
|
+
declare const gt: (a: Column | Expr | unknown, b: Column | Expr | unknown) => Expr;
|
|
13
|
+
declare const gte: (a: Column | Expr | unknown, b: Column | Expr | unknown) => Expr;
|
|
14
|
+
declare const lt: (a: Column | Expr | unknown, b: Column | Expr | unknown) => Expr;
|
|
15
|
+
declare const lte: (a: Column | Expr | unknown, b: Column | Expr | unknown) => Expr;
|
|
16
|
+
declare const like: (a: Column | Expr | unknown, b: Column | Expr | unknown) => Expr;
|
|
17
|
+
declare function and(...parts: (Expr | undefined | false | null)[]): Expr;
|
|
18
|
+
declare function or(...parts: (Expr | undefined | false | null)[]): Expr;
|
|
19
|
+
declare function not(e: Expr): Expr;
|
|
20
|
+
declare function sqlIsNull(col: Column | Expr): Expr;
|
|
21
|
+
declare function sqlIsNotNull(col: Column | Expr): Expr;
|
|
22
|
+
declare function inArray(col: Column | Expr, values: unknown[]): Expr;
|
|
23
|
+
//#endregion
|
|
24
|
+
export { gte as a, lt as c, not as d, or as f, gt as i, lte as l, sqlIsNull as m, and as n, inArray as o, sqlIsNotNull as p, eq as r, like as s, Expr as t, ne as u };
|
|
25
|
+
//# sourceMappingURL=expr-CCKrqOw1.d.mts.map
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { t as Column } from "./table-IkLXirT-.cjs";
|
|
2
|
+
|
|
3
|
+
//#region src/common/schema/sql/expr.d.ts
|
|
4
|
+
interface Expr {
|
|
5
|
+
readonly kind: 'expr';
|
|
6
|
+
readonly sql: string;
|
|
7
|
+
readonly params: unknown[];
|
|
8
|
+
readonly refs: Column[];
|
|
9
|
+
}
|
|
10
|
+
declare const eq: (a: Column | Expr | unknown, b: Column | Expr | unknown) => Expr;
|
|
11
|
+
declare const ne: (a: Column | Expr | unknown, b: Column | Expr | unknown) => Expr;
|
|
12
|
+
declare const gt: (a: Column | Expr | unknown, b: Column | Expr | unknown) => Expr;
|
|
13
|
+
declare const gte: (a: Column | Expr | unknown, b: Column | Expr | unknown) => Expr;
|
|
14
|
+
declare const lt: (a: Column | Expr | unknown, b: Column | Expr | unknown) => Expr;
|
|
15
|
+
declare const lte: (a: Column | Expr | unknown, b: Column | Expr | unknown) => Expr;
|
|
16
|
+
declare const like: (a: Column | Expr | unknown, b: Column | Expr | unknown) => Expr;
|
|
17
|
+
declare function and(...parts: (Expr | undefined | false | null)[]): Expr;
|
|
18
|
+
declare function or(...parts: (Expr | undefined | false | null)[]): Expr;
|
|
19
|
+
declare function not(e: Expr): Expr;
|
|
20
|
+
declare function sqlIsNull(col: Column | Expr): Expr;
|
|
21
|
+
declare function sqlIsNotNull(col: Column | Expr): Expr;
|
|
22
|
+
declare function inArray(col: Column | Expr, values: unknown[]): Expr;
|
|
23
|
+
//#endregion
|
|
24
|
+
export { gte as a, lt as c, not as d, or as f, gt as i, lte as l, sqlIsNull as m, and as n, inArray as o, sqlIsNotNull as p, eq as r, like as s, Expr as t, ne as u };
|
|
25
|
+
//# sourceMappingURL=expr-yYgSeBZ3.d.cts.map
|
|
@@ -53,4 +53,4 @@ declare function filesAsync(opt?: {
|
|
|
53
53
|
}): Promise<string[]>;
|
|
54
54
|
//#endregion
|
|
55
55
|
export { walkSyncAsync as a, getStatAsync as i, filesAsync as n, getFingerprintAsync as r, StatsBase as t };
|
|
56
|
-
//# sourceMappingURL=files-async-
|
|
56
|
+
//# sourceMappingURL=files-async-DFLC-Nkd.d.cts.map
|
|
@@ -53,4 +53,4 @@ declare function filesAsync(opt?: {
|
|
|
53
53
|
}): Promise<string[]>;
|
|
54
54
|
//#endregion
|
|
55
55
|
export { walkSyncAsync as a, getStatAsync as i, filesAsync as n, getFingerprintAsync as r, StatsBase as t };
|
|
56
|
-
//# sourceMappingURL=files-async-
|
|
56
|
+
//# sourceMappingURL=files-async-DfuEEDjH.d.mts.map
|
|
@@ -31,4 +31,4 @@ declare function writeJson<T = object>(path: string, content: T, info?: {
|
|
|
31
31
|
}): Promise<void>;
|
|
32
32
|
//#endregion
|
|
33
33
|
export { isFolder as a, readData as c, removeFolder as d, toHumanReadableFilePath as f, writeText as g, writeJson as h, isFile as i, readJson as l, writeData as m, ensureFolderForFile as n, isHiddenPath as o, writeBin as p, exists as r, readBin as s, ensureFolder as t, readText as u };
|
|
34
|
-
//# sourceMappingURL=fs-
|
|
34
|
+
//# sourceMappingURL=fs-D837bjRT.d.cts.map
|
|
@@ -31,4 +31,4 @@ declare function writeJson<T = object>(path: string, content: T, info?: {
|
|
|
31
31
|
}): Promise<void>;
|
|
32
32
|
//#endregion
|
|
33
33
|
export { isFolder as a, readData as c, removeFolder as d, toHumanReadableFilePath as f, writeText as g, writeJson as h, isFile as i, readJson as l, writeData as m, ensureFolderForFile as n, isHiddenPath as o, writeBin as p, exists as r, readBin as s, ensureFolder as t, readText as u };
|
|
34
|
-
//# sourceMappingURL=fs-
|
|
34
|
+
//# sourceMappingURL=fs-DlYLapik.d.mts.map
|
package/dist/index.all.cjs
CHANGED
|
@@ -90,6 +90,9 @@ const require_common_schema_parse_args = require('./common/schema/parse-args.cjs
|
|
|
90
90
|
const require_common_schema_parse_env = require('./common/schema/parse-env.cjs');
|
|
91
91
|
const require_common_schema_schema = require('./common/schema/schema.cjs');
|
|
92
92
|
const require_common_schema_serialize = require('./common/schema/serialize.cjs');
|
|
93
|
+
const require_common_schema_sql_table = require('./common/schema/sql/table.cjs');
|
|
94
|
+
const require_common_schema_sql_expr = require('./common/schema/sql/expr.cjs');
|
|
95
|
+
const require_common_schema_sql_select = require('./common/schema/sql/select.cjs');
|
|
93
96
|
const require_common_schema_z_collection = require('./common/schema/z-collection.cjs');
|
|
94
97
|
const require_common_storage_memstorage = require('./common/storage/memstorage.cjs');
|
|
95
98
|
const require_common_test = require('./common/test.cjs');
|
|
@@ -152,6 +155,7 @@ exports.PubSub = require_common_msg_pubsub.PubSub;
|
|
|
152
155
|
exports.RPCMode = require_common_msg_rpc.RPCMode;
|
|
153
156
|
exports.RX_URL = require_common_data_url.RX_URL;
|
|
154
157
|
exports.ResillientChannel = require_common_msg_channel_resilient.ResillientChannel;
|
|
158
|
+
exports.SelectBuilder = require_common_schema_sql_select.SelectBuilder;
|
|
155
159
|
exports.SerialQueue = require_common_exec_queue.SerialQueue;
|
|
156
160
|
exports.TIME_DAY_MS = require_common_time.TIME_DAY_MS;
|
|
157
161
|
exports.TIME_DAY_S = require_common_time.TIME_DAY_S;
|
|
@@ -175,6 +179,7 @@ exports.XRX = require_common_data_xrx.XRX;
|
|
|
175
179
|
exports._decodeUtf8Polyfill = require_bin._decodeUtf8Polyfill;
|
|
176
180
|
exports._encodeUtf8Polyfill = require_bin._encodeUtf8Polyfill;
|
|
177
181
|
exports._useBase = require_common_data_basex._useBase;
|
|
182
|
+
exports.and = require_common_schema_sql_expr.and;
|
|
178
183
|
exports.any = require_common_schema_schema.any;
|
|
179
184
|
exports.array = require_common_schema_schema.array;
|
|
180
185
|
exports.arrayAvg = require_common_data_array.arrayAvg;
|
|
@@ -329,6 +334,7 @@ exports.ensureFolderForFile = require_node_fs.ensureFolderForFile;
|
|
|
329
334
|
exports.ensureKey = require_common_data_utils.ensureKey;
|
|
330
335
|
exports.ensureKeyAsync = require_common_data_utils.ensureKeyAsync;
|
|
331
336
|
exports.ensureUint8Array = require_bin.ensureUint8Array;
|
|
337
|
+
exports.eq = require_common_schema_sql_expr.eq;
|
|
332
338
|
exports.equalBinary = require_bin.equalBinary;
|
|
333
339
|
exports.escapeHTML = require_common_data_html.escapeHTML;
|
|
334
340
|
exports.escapeRegExp = require_common_data_regexp.escapeRegExp;
|
|
@@ -354,6 +360,7 @@ exports.formatBytesToHumanBase1024 = require_common_data_format.formatBytesToHum
|
|
|
354
360
|
exports.formatMessages = require_common_data_message.formatMessages;
|
|
355
361
|
exports.formatMilliseconds = require_common_time.formatMilliseconds;
|
|
356
362
|
exports.formatSecondsToTime = require_common_data_format.formatSecondsToTime;
|
|
363
|
+
exports.from = require_common_schema_sql_select.from;
|
|
357
364
|
exports.fromBase64 = require_bin.fromBase64;
|
|
358
365
|
exports.fromBase64String = require_bin.fromBase64String;
|
|
359
366
|
exports.fromCamelCase = require_common_data_camelcase.fromCamelCase;
|
|
@@ -392,15 +399,19 @@ exports.getWindow = require_common_platform.getWindow;
|
|
|
392
399
|
exports.globToRegExp = require_node_glob.globToRegExp;
|
|
393
400
|
exports.globalAny = require_common_global.globalAny;
|
|
394
401
|
exports.gravatarURLByEmail = require_browser_gravatar.gravatarURLByEmail;
|
|
402
|
+
exports.gt = require_common_schema_sql_expr.gt;
|
|
403
|
+
exports.gte = require_common_schema_sql_expr.gte;
|
|
395
404
|
exports.helpSchemaArgs = require_common_schema_parse_args.helpSchemaArgs;
|
|
396
405
|
exports.hex = require_bin.hex;
|
|
397
406
|
exports.immediate = require_common_exec_promise.immediate;
|
|
398
407
|
exports.importKeyXAES = require_common_crypto_xaes.importKeyXAES;
|
|
408
|
+
exports.inArray = require_common_schema_sql_expr.inArray;
|
|
399
409
|
exports.int = require_common_schema_schema.int;
|
|
400
410
|
exports.isArray = require_common_data_is.isArray;
|
|
401
411
|
exports.isBinaryArray = require_common_data_is.isBinaryArray;
|
|
402
412
|
exports.isBoolean = require_common_data_is.isBoolean;
|
|
403
413
|
exports.isBrowser = require_common_platform.isBrowser;
|
|
414
|
+
exports.isColumn = require_common_schema_sql_table.isColumn;
|
|
404
415
|
exports.isEmpty = require_common_data_is.isEmpty;
|
|
405
416
|
exports.isEven = require_common_data_rounding.isEven;
|
|
406
417
|
exports.isFile = require_node_fs.isFile;
|
|
@@ -442,6 +453,7 @@ exports.jsonStringifySafe = require_common_data_json.jsonStringifySafe;
|
|
|
442
453
|
exports.jsonStringifySorted = require_common_data_json.jsonStringifySorted;
|
|
443
454
|
exports.jsonToUint8Array = require_bin.jsonToUint8Array;
|
|
444
455
|
exports.last = require_common_data_utils.last;
|
|
456
|
+
exports.like = require_common_schema_sql_expr.like;
|
|
445
457
|
exports.linkifyPlainText = require_common_data_url.linkifyPlainText;
|
|
446
458
|
exports.linkifyPlainTextSimple = require_common_data_url.linkifyPlainTextSimple;
|
|
447
459
|
exports.linkifyPlainTextWithLineBreaks = require_common_data_url.linkifyPlainTextWithLineBreaks;
|
|
@@ -453,12 +465,16 @@ exports.literal = require_common_schema_schema.literal;
|
|
|
453
465
|
exports.logCaptureConsole = require_common_log_log_console_capture.logCaptureConsole;
|
|
454
466
|
exports.logMessageFromCompact = require_common_log_log_memory.logMessageFromCompact;
|
|
455
467
|
exports.loggerStackTraceDebug = require_node_log_log_node.loggerStackTraceDebug;
|
|
468
|
+
exports.lt = require_common_schema_sql_expr.lt;
|
|
469
|
+
exports.lte = require_common_schema_sql_expr.lte;
|
|
456
470
|
exports.memoize = require_common_data_utils.memoize;
|
|
457
471
|
exports.memoizeAsync = require_common_data_utils.memoizeAsync;
|
|
458
472
|
exports.moveSortWeight = require_common_data_sortable.moveSortWeight;
|
|
473
|
+
exports.ne = require_common_schema_sql_expr.ne;
|
|
459
474
|
exports.none = require_common_schema_schema.none;
|
|
460
475
|
exports.noop = require_common_utils.noop;
|
|
461
476
|
exports.noopDisposer = require_common_dispose_utils.noopDisposer;
|
|
477
|
+
exports.not = require_common_schema_sql_expr.not;
|
|
462
478
|
exports.number = require_common_schema_schema.number;
|
|
463
479
|
exports.numberToBase32 = require_common_data_math.numberToBase32;
|
|
464
480
|
exports.object = require_common_schema_schema.object;
|
|
@@ -473,6 +489,7 @@ exports.objectMergeDisposable = require_common_data_object.objectMergeDisposable
|
|
|
473
489
|
exports.objectOmit = require_common_data_object.objectOmit;
|
|
474
490
|
exports.objectPick = require_common_data_object.objectPick;
|
|
475
491
|
exports.objectPlain = require_common_data_object.objectPlain;
|
|
492
|
+
exports.or = require_common_schema_sql_expr.or;
|
|
476
493
|
exports.parseArgs = require_node_args.parseArgs;
|
|
477
494
|
exports.parseBasicAuth = require_common_network.parseBasicAuth;
|
|
478
495
|
exports.parseDate = require_common_time.parseDate;
|
|
@@ -524,6 +541,7 @@ exports.schemaExportTypescriptInterface = require_common_schema_export_typescrip
|
|
|
524
541
|
exports.schemaParseObject = require_common_schema_parse_object.schemaParseObject;
|
|
525
542
|
exports.schemaValidateObject = require_common_schema_parse_object.schemaValidateObject;
|
|
526
543
|
exports.seededRandom = require_common_data_math.seededRandom;
|
|
544
|
+
exports.select = require_common_schema_sql_select.select;
|
|
527
545
|
exports.serializeSchema = require_common_schema_serialize.serializeSchema;
|
|
528
546
|
exports.setDayTest = require_common_data_day.setDayTest;
|
|
529
547
|
exports.setTestMode = require_common_test.setTestMode;
|
|
@@ -535,6 +553,8 @@ exports.size = require_common_data_utils.size;
|
|
|
535
553
|
exports.sleep = require_common_exec_promise.sleep;
|
|
536
554
|
exports.sortedItems = require_common_data_sortable.sortedItems;
|
|
537
555
|
exports.sortedOrderby = require_common_data_orderby.sortedOrderby;
|
|
556
|
+
exports.sqlIsNotNull = require_common_schema_sql_expr.sqlIsNotNull;
|
|
557
|
+
exports.sqlIsNull = require_common_schema_sql_expr.sqlIsNull;
|
|
538
558
|
exports.startSortWeight = require_common_data_sortable.startSortWeight;
|
|
539
559
|
exports.str = require_bin.str;
|
|
540
560
|
exports.string = require_common_schema_schema.string;
|
|
@@ -552,6 +572,7 @@ exports.suidBytes = require_common_uuid.suidBytes;
|
|
|
552
572
|
exports.suidBytesDate = require_common_uuid.suidBytesDate;
|
|
553
573
|
exports.suidDate = require_common_uuid.suidDate;
|
|
554
574
|
exports.sum = require_common_data_math.sum;
|
|
575
|
+
exports.table = require_common_schema_sql_table.table;
|
|
555
576
|
exports.throttle = require_common_exec_throttle_debounce.throttle;
|
|
556
577
|
exports.timeout = require_common_exec_promise.timeout;
|
|
557
578
|
exports.timestampMillisecondsToSeconds = require_common_time.timestampMillisecondsToSeconds;
|
package/dist/index.all.d.cts
CHANGED
|
@@ -80,28 +80,31 @@ import { i as stringFromSchemaEnv, n as SchemaEnvType, r as parseSchemaEnv, t as
|
|
|
80
80
|
import { i as schemaValidateObject, n as schemaCreateObject, r as schemaParseObject, t as SchemaValidateMessage } from "./parse-object-D_fCDXxd.cjs";
|
|
81
81
|
import { t as StandardSchemaV1 } from "./schema-standard-BxRHxZeM.cjs";
|
|
82
82
|
import { n as deserializeSchema, r as serializeSchema, t as SerializedType } from "./serialize-9GhlcFMv.cjs";
|
|
83
|
-
import { n as
|
|
84
|
-
import { a as
|
|
85
|
-
import { n as
|
|
86
|
-
import { t as
|
|
87
|
-
import {
|
|
88
|
-
import { t as
|
|
89
|
-
import { t as
|
|
90
|
-
import { C as
|
|
91
|
-
import {
|
|
92
|
-
import {
|
|
93
|
-
import { n as
|
|
94
|
-
import { t as
|
|
95
|
-
import { n as
|
|
96
|
-
import {
|
|
97
|
-
import {
|
|
98
|
-
import {
|
|
99
|
-
import { n as
|
|
100
|
-
import {
|
|
101
|
-
import { t as
|
|
102
|
-
import {
|
|
103
|
-
import { i as
|
|
104
|
-
import {
|
|
105
|
-
import {
|
|
106
|
-
import { i as
|
|
107
|
-
|
|
83
|
+
import { a as table, i as isColumn, n as TableColumns, r as TableShape, t as Column } from "./table-IkLXirT-.cjs";
|
|
84
|
+
import { a as gte, c as lt, d as not, f as or, i as gt, l as lte, m as sqlIsNull, n as and, o as inArray, p as sqlIsNotNull, r as eq, s as like, t as Expr, u as ne } from "./expr-yYgSeBZ3.cjs";
|
|
85
|
+
import { a as RowFromTable, c as select, i as RowFromSelection, n as InferRow, o as SelectBuilder, r as QueryDependencies, s as from, t as CompiledQuery } from "./select-DrciHdk_.cjs";
|
|
86
|
+
import { n as IsEqual, t as Expect } from "./type-test-CBK-iJ9d.cjs";
|
|
87
|
+
import { a as isSchemaPrimitive, i as isSchemaOptional, n as isSchemaObject, r as isSchemaObjectFlat, t as isSchemaDefault } from "./utils-nCQklGHV.cjs";
|
|
88
|
+
import { n as MemStorageOptions, t as MemStorage } from "./memstorage-tvlWDYgS.cjs";
|
|
89
|
+
import { t as setTestMode } from "./test-DcXa0MeX.cjs";
|
|
90
|
+
import { C as parseDate, E as timestampSecondsToMilliseconds, S as getTimestampInSeconds, T as timestampMillisecondsToSeconds, _ as formatMilliseconds, a as TIME_MINUTE_MS, b as getSecondsFromBuildNumber, c as TIME_MONTH_S, d as TIME_YEAR_MS, f as TIME_YEAR_S, g as duration, h as datetimeToUTC, i as TIME_HOUR_S, l as TIME_WEEK_MS, m as datetimeToLocal, n as TIME_DAY_S, o as TIME_MINUTE_S, p as dateFromSeconds, r as TIME_HOUR_MS, s as TIME_MONTH_MS, t as TIME_DAY_MS, u as TIME_WEEK_S, v as getBuildNumber, w as setTimestampTest, x as getTimestamp, y as getPerformanceTimestamp } from "./time-BgFZe9ys.cjs";
|
|
91
|
+
import { t as safeTimeout } from "./timeout-E3ZQbJgK.cjs";
|
|
92
|
+
import { t as noop } from "./utils-6Culwiaf.cjs";
|
|
93
|
+
import { C as uuidv4, S as uuidIsValid, _ as uuidDecodeV4, a as suidBytesDate, b as uuidEncodeB62, c as unameReset, d as uuidB32, f as uuidB62, g as uuidDecodeB62, h as uuidDecodeB32, i as suidBytes, l as uuid, m as uuidDecode, n as setUuidDefaultEncoding, o as suidDate, p as uuidBytes, r as suid, s as uname, t as qid, u as uuid32bit, v as uuidEncode, x as uuidEncodeV4, y as uuidEncodeB32 } from "./uuid-D42A8UdP.cjs";
|
|
94
|
+
import { a as isTimeout, c as timeout, i as isPromise, l as tryTimeout, n as createPromise, o as promisify, r as immediate, s as sleep, t as AsyncReturnType, u as waitOn } from "./promise-CU_CENbU.cjs";
|
|
95
|
+
import { n as throttle, t as debounce } from "./throttle-debounce-DyFiyoAk.cjs";
|
|
96
|
+
import { n as parseArgs, t as ParseConfig } from "./args-DEig-jw4.cjs";
|
|
97
|
+
import { t as pbcopy } from "./clipboard-BusqmLLY.cjs";
|
|
98
|
+
import { n as setupWebCrypto, t as getWebCrypto } from "./crypto-KzGHoCJE.cjs";
|
|
99
|
+
import { a as setupEnv, c as valueToPath, i as parseEnvStringAlt, n as getEnvVariableRelaxed, o as stringToPath, r as parseEnvString, s as toPath, t as EnvOptions } from "./env-HsOnA_yK.cjs";
|
|
100
|
+
import { i as walkSync, n as getFingerprint, r as getStat, t as files } from "./files-4O-PxnAC.cjs";
|
|
101
|
+
import { a as walkSyncAsync, i as getStatAsync, n as filesAsync, r as getFingerprintAsync, t as StatsBase } from "./files-async-DFLC-Nkd.cjs";
|
|
102
|
+
import { n as FileStorageOptions, t as FileStorage } from "./filestorage-BjeBZEAs.cjs";
|
|
103
|
+
import { a as isFolder, c as readData, d as removeFolder, f as toHumanReadableFilePath, g as writeText, h as writeJson, i as isFile, l as readJson, m as writeData, n as ensureFolderForFile, o as isHiddenPath, p as writeBin, r as exists, s as readBin, t as ensureFolder, u as readText } from "./fs-D837bjRT.cjs";
|
|
104
|
+
import { t as globToRegExp } from "./glob-CZaZPqiy.cjs";
|
|
105
|
+
import { u as createRotationStream } from "./log-rotation-BdGakFya.cjs";
|
|
106
|
+
import { i as parseLogRotationConfigEnv, n as getLogFileRotationConfigSchemaOptions, r as getLogRotationConfig, t as LogRotationOptions } from "./log-file-rotation-BpZxXYlU.cjs";
|
|
107
|
+
import { n as LoggerFileHandler, t as LogFileHandlerOptions } from "./log-file-DwEDms1F.cjs";
|
|
108
|
+
import { i as loggerStackTraceDebug, n as colorString, r as colorStringList, t as LoggerNodeHandler } from "./log-node-D_fiJL6x.cjs";
|
|
109
|
+
import { i as getStackLlocationList, n as getSourceLocationByPrecedingPattern, r as getStack, t as getSourceLocation } from "./log-util-C0U3zCjw.cjs";
|
|
110
|
+
export { ArgumentsType, AsyncMutex, AsyncReturnType, BaseXAlphabet, BaseXAsChain, BaseXChain, BaseXDecodeFunction, BaseXEncodeFunction, BaseXFirst, BaseXInput, BaseXLast, BaseXOutput, BaseXTail, Bech32, Bech32Decoded, Bech32DecodedWithArray, BinInput, BinaryEncoder, BytesCoder, CRYPTO_DEFAULT_ALG, CRYPTO_DEFAULT_DERIVE_ALG, CRYPTO_DEFAULT_DERIVE_ITERATIONS, CRYPTO_DEFAULT_HASH_ALG, CRYPTO_DEFAULT_IV_LENGTH, Channel, ChannelMessageEvent, Coder, Column, CompiledQuery, CryptoEncoder, DAY_MS, Day, DayInput, DayInputLegacy, DayValue, DebugChannel, DecimalInput, DecimalValue, DefaultListener, DefaultLogger, DiffOptions, Difference, DifferenceType, Disposer, DisposerFunction, Emitter, EmitterAllHandler, EmitterHandler, EmitterSubscriberOptions, Encoder, EnvOptions, Expect, Expr, FileStorage, FileStorageOptions, FilterFunction, Infer, InferRow, IsEqual, Json, JsonEncoder, JsonEntryProcessor, LinkifyOptions, ListenerSignature, LocalChannel, LocalStorage, LocalStorageOptions, LogConfig, LogFileHandlerOptions, LogHandler, LogHandlerOptions, LogLevel, LogLevelAlias, LogLevelAliasKey, LogLevelAliasType, LogLevelAll, LogLevelDebug, LogLevelError, LogLevelFatal, LogLevelInfo, LogLevelOff, LogLevelWarn, LogMessage, LogMessageCompact, LogOriginalConsole, LogRotationOptions, Logger, LoggerBrowserHandler, LoggerBrowserSetupDebugFactory, LoggerConsoleHandler, LoggerContext, LoggerContextInterface, LoggerFileHandler, LoggerFromConfig, LoggerInterface, LoggerMemoryHandler, LoggerNodeHandler, MapperFunction, MemStorage, MemStorageOptions, Message, MessageAction, MessageDefinitions, MessageHub, MessageResult, MessagesDefaultMethods, MessagesMethods, MessagesOptions, Mutex, NamespaceFilter, NestedArray, NoopEncoder, ObjectStorage, ParseConfig, PoolConfig, PoolTask, PoolTaskEvents, PoolTaskFn, PoolTaskIdConflictResolution, PoolTaskState, Primitive, Progress, ProgressOptions, PubSub, PubSubConfig, QueryDependencies, RPCFn, RPCMessage, RPCMode, RPCOptions, RPCOptionsBasic, RPCReturn, RX_URL, RenderMessagesOptions, ResillientChannel, ReturnType, RoundingMode, RowFromSelection, RowFromTable, SchemaEnvOptions, SchemaEnvType, SchemaValidateMessage, SelectBuilder, SerialQueue, SerializedType, Signal, SignalWatcher, SortableItem, StandardSchemaV1, StatsBase, TIME_DAY_MS, TIME_DAY_S, TIME_HOUR_MS, TIME_HOUR_S, TIME_MINUTE_MS, TIME_MINUTE_S, TIME_MONTH_MS, TIME_MONTH_S, TIME_WEEK_MS, TIME_WEEK_S, TIME_YEAR_MS, TIME_YEAR_S, TableColumns, TableShape, TaskEvents, TaskFn, TimerExecFunction, Type, TypeArray, TypeArrayOutput, TypeLiterals, TypeMeta, TypeObjectFixOptional, TypeTuple, TypeUnion, Uint8ArrayToDataUri, Uint8ArrayToHexDump, Uint8ArrayToJson, Uint8ArrayToString, Uint8ArrayToWords, UseDefer, UseDispose, UseDisposeConfig, UseDisposeWithUtils, UseRPCHubType, UseStringHashPool, XRX, ZeedGlobalContext, ZeedGlobalEmitter, _decodeUtf8Polyfill, _encodeUtf8Polyfill, _useBase, and, any, array, arrayAvg, arrayBatches, arrayEmptyInPlace, arrayFilterInPlace, arrayFlatten, arrayIntersection, arrayIsEqual, arrayMax, arrayMin, arrayMinus, arrayRandomElement, arrayRemoveElement, arraySetArrayInPlace, arraySetElement, arrayShuffle, arrayShuffleForce, arrayShuffleInPlace, arraySorted, arraySortedNumbers, arraySum, arraySymmetricDifference, arrayToggleInPlace, arrayUnion, arrayUnique, assert, assertCondition, assertNumber, avg, base16, base32, base32ToNumber, base32agnoster, base32crockford, base32hex, base32hexnopad, base32nopad, base58, base58check, base58flickr, base58xmr, base58xrp, base64, base64nopad, base64url, base64urlnopad, bech32, bech32m, between, bitfield, blobToArrayBuffer, blobToDataUri, blobToUint8Array, boolean, browserSelectColorByName, browserSupportsColors, bytes, bytesToString, cloneJsonObject, cloneObject, cmp, colorString, colorStringList, composeOrderby, createArray, createBase58check, createBinaryStreamDecoder, createBinaryStreamEncoder, createLocalChannelPair, createPromise, createPromiseProxy, createRotationStream, csvParse, csvParseToObjects, csvStringify, dataUriToBlob, dataUriToMimeType, dataUriToUint8Array, dateFromSeconds, dateStringToDays, datetimeToLocal, datetimeToUTC, day, dayDay, dayDaysInMonth, dayDiff, dayFromAny, dayFromDate, dayFromDateGMT, dayFromDateUTC, dayFromParts, dayFromString, dayFromTimestamp, dayFromTimestampSeconds, dayFromToday, dayIterator, dayMonth, dayMonthOffset, dayMonthStart, dayOffset, dayRange, dayToDate, dayToDateGMT, dayToDateUTC, dayToParts, dayToString, dayToTimestamp, dayToTimestampSeconds, dayYear, dayYearOffset, dayYearStart, debounce, deburr, decimal, decimalCentsPart, decimalFromCents, decimalToCents, decodeBase16, decodeBase32, decodeBase58, decodeBase62, decodeJson, decrypt, decryptAesGcm, decryptXAES, deepEqual, deepMerge, deepStripUndefinedInPlace, deriveKeyPbkdf2, deriveKeyPbkdf2CBC, deserializeSchema, detect, diffObjects, digest, distributedFilePath, double, duration, empty, encodeBase16, encodeBase32, encodeBase58, encodeBase62, encodeJson, encodeQuery, encrypt, encryptAesGcm, encryptXAES, endSortWeight, ensureFolder, ensureFolderForFile, ensureKey, ensureKeyAsync, ensureUint8Array, eq, equalBinary, escapeHTML, escapeRegExp, estimateSizeForBase, exists, exportKeyXAES, fatal, fetchBasic, fetchJson, fetchOptionType, fetchOptionsBasicAuth, fetchOptionsFormURLEncoded, fetchOptionsJson, fetchOptionsType, fetchText, files, filesAsync, first, fixBrokenUtf8String, float, forEachDay, forTimes, formatBytesToHumanBase1000, formatBytesToHumanBase1024, formatMessages, formatMilliseconds, formatSecondsToTime, from, fromBase64, fromBase64String, fromCamelCase, fromHex, func, generateKeyXAES, getBuildNumber, getEnvVariableRelaxed, getFingerprint, getFingerprintAsync, getGlobal, getGlobalConsole, getGlobalContext, getGlobalEmitter, getGlobalLogger, getGlobalLoggerIfExists, getLocalStorage, getLogFileRotationConfigSchemaOptions, getLogRotationConfig, getNamespaceFilterString, getNavigator, getPerformanceTimestamp, getSecondsFromBuildNumber, getSecureRandom, getSecureRandomIfPossible, getSourceLocation, getSourceLocationByPrecedingPattern, getStack, getStackLlocationList, getStat, getStatAsync, getTimestamp, getTimestampInSeconds, getWebCrypto, getWindow, globToRegExp, globalAny, gravatarURLByEmail, gt, gte, helpSchemaArgs, hex, httpMethod, immediate, importKeyXAES, inArray, int, isArray, isBinaryArray, isBoolean, isBrowser, isColumn, isEmpty, isEven, isFile, isFolder, isFunction, isHalf, isHiddenPath, isInteger, isLocalHost, isNotEmpty, isNotNull, isNull, isNullOrUndefined, isNumber, isObject, isPrime, isPrimeRX, isPrimitive, isPromise, isRecord, isRecordPlain, isSafeInteger, isSchemaDefault, isSchemaObject, isSchemaObjectFlat, isSchemaOptional, isSchemaPrimitive, isString, isSymbol, isTimeout, isTruthy, isUint8Array, isValue, joinLogStrings, joinToUint8Array, jsonParse, jsonStringify, jsonStringifySafe, jsonStringifySorted, jsonToUint8Array, last, like, linkifyPlainText, linkifyPlainTextSimple, linkifyPlainTextWithLineBreaks, listDistinctUnion, listGroupBy, listOfKey, listQuery, literal, logCaptureConsole, logMessageFromCompact, loggerStackTraceDebug, lt, lte, memoize, memoizeAsync, moveSortWeight, ne, none, noop, noopDisposer, not, number, numberToBase32, object, objectAssignDeepInPlace, objectAssignDescriptionInPlace, objectDescribeChange, objectFilter, objectInclusivePick, objectIsEmpty, objectMap, objectMergeDisposable, objectOmit, objectPick, objectPlain, or, parseArgs, parseBasicAuth, parseDate, parseEnvString, parseEnvStringAlt, parseFloat, parseInt, parseLogLevel, parseLogRotationConfigEnv, parseOrderby, parseQuery, parseSchemaArgs, parseSchemaEnv, pbcopy, polyfillUsing, promisify, qid, randomBoolean, randomFloat, randomInt, randomUint8Array, readBin, readData, readJson, readText, real, record, regExpEscape, regExpString, removeFolder, renderMessages, roundArrayOfNumbersToMatchSum, roundArrayOfObjectsToMatchSum, roundDown, roundHalfAwayFromZero, roundHalfDown, roundHalfEven, roundHalfOdd, roundHalfTowardsZero, roundHalfUp, roundUp, rpc, safeTimeout, schemaCreateObject, schemaExportJsonSchema, schemaExportJsonSchemaString, schemaExportSwiftStruct, schemaExportTypescriptInterface, schemaParseObject, schemaValidateObject, seededRandom, select, serializeSchema, setDayTest, setTestMode, setTimestampTest, setUuidDefaultEncoding, setupEnv, setupWebCrypto, size, sleep, sortedItems, sortedOrderby, sqlIsNotNull, sqlIsNull, startSortWeight, str, string, stringFromSchemaEnv, stringHashFNV1a, stringLiterals, stringToBoolean, stringToBytes, stringToFloat, stringToInteger, stringToPath, stringToUInt8Array, suid, suidBytes, suidBytesDate, suidDate, sum, table, throttle, timeout, timestampMillisecondsToSeconds, timestampSecondsToMilliseconds, toArrayBuffer, toBase64, toBase64Url, toBool, toCamelCase, toCapitalize, toCapitalizeWords, toFloat, toHex, toHumanReadableFilePath, toHumanReadableUrl, toInt, toPath, toString, toUint8Array, toValidFilename, today, tryTimeout, tuple, uname, unameReset, unescapeHTML, union, urlBase64ToUint8Array, useAsyncMutex, useBase, useDefer, useDispose, useDisposeWithUtils, useEventListener, useEventListenerOnce, useExitHandler, useInterval, useIntervalPause, useLevelFilter, useMessageHub, useMutex, useNamespaceFilter, usePool, usePubSub, useRPC, useRPCHub, useSignal, useSorted, useStringHashPool, useTimeout, utf8, utils, uuid, uuid32bit, uuidB32, uuidB62, uuidBytes, uuidDecode, uuidDecodeB32, uuidDecodeB62, uuidDecodeV4, uuidEncode, uuidEncodeB32, uuidEncodeB62, uuidEncodeV4, uuidIsValid, uuidv4, valueToBoolean, valueToBooleanNotFalse, valueToFloat, valueToInteger, valueToPath, valueToString, waitOn, walkSync, walkSyncAsync, wordsToUint8Array, writeBin, writeData, writeJson, writeText, z_collection_d_exports as z };
|
package/dist/index.all.d.mts
CHANGED
|
@@ -79,29 +79,32 @@ import { i as stringFromSchemaEnv, n as SchemaEnvType, r as parseSchemaEnv, t as
|
|
|
79
79
|
import { i as schemaValidateObject, n as schemaCreateObject, r as schemaParseObject, t as SchemaValidateMessage } from "./parse-object-BRWSD2uh.mjs";
|
|
80
80
|
import { t as StandardSchemaV1 } from "./schema-standard-Q-bdIO6s.mjs";
|
|
81
81
|
import { n as deserializeSchema, r as serializeSchema, t as SerializedType } from "./serialize-rRk9F-zH.mjs";
|
|
82
|
-
import { n as
|
|
83
|
-
import { a as
|
|
84
|
-
import { t as
|
|
85
|
-
import { n as
|
|
86
|
-
import { t as
|
|
87
|
-
import {
|
|
88
|
-
import { t as
|
|
89
|
-
import { t as
|
|
90
|
-
import { C as
|
|
91
|
-
import {
|
|
92
|
-
import {
|
|
93
|
-
import { n as
|
|
94
|
-
import { t as
|
|
95
|
-
import { n as
|
|
96
|
-
import {
|
|
97
|
-
import {
|
|
98
|
-
import {
|
|
99
|
-
import { n as
|
|
100
|
-
import {
|
|
101
|
-
import { t as
|
|
102
|
-
import {
|
|
103
|
-
import { i as
|
|
104
|
-
import {
|
|
105
|
-
import {
|
|
106
|
-
import { i as
|
|
107
|
-
|
|
82
|
+
import { a as table, i as isColumn, n as TableColumns, r as TableShape, t as Column } from "./table-Cr8tjDIL.mjs";
|
|
83
|
+
import { a as gte, c as lt, d as not, f as or, i as gt, l as lte, m as sqlIsNull, n as and, o as inArray, p as sqlIsNotNull, r as eq, s as like, t as Expr, u as ne } from "./expr-CCKrqOw1.mjs";
|
|
84
|
+
import { a as RowFromTable, c as select, i as RowFromSelection, n as InferRow, o as SelectBuilder, r as QueryDependencies, s as from, t as CompiledQuery } from "./select-F2KpP6mo.mjs";
|
|
85
|
+
import { n as IsEqual, t as Expect } from "./type-test-BvzWDJz3.mjs";
|
|
86
|
+
import { a as isSchemaPrimitive, i as isSchemaOptional, n as isSchemaObject, r as isSchemaObjectFlat, t as isSchemaDefault } from "./utils-1RyCGkpQ.mjs";
|
|
87
|
+
import { t as z_collection_d_exports } from "./z-collection-BSfgRU0Q.mjs";
|
|
88
|
+
import { n as MemStorageOptions, t as MemStorage } from "./memstorage-BhWXthO8.mjs";
|
|
89
|
+
import { t as setTestMode } from "./test-jZsc7P2c.mjs";
|
|
90
|
+
import { C as parseDate, E as timestampSecondsToMilliseconds, S as getTimestampInSeconds, T as timestampMillisecondsToSeconds, _ as formatMilliseconds, a as TIME_MINUTE_MS, b as getSecondsFromBuildNumber, c as TIME_MONTH_S, d as TIME_YEAR_MS, f as TIME_YEAR_S, g as duration, h as datetimeToUTC, i as TIME_HOUR_S, l as TIME_WEEK_MS, m as datetimeToLocal, n as TIME_DAY_S, o as TIME_MINUTE_S, p as dateFromSeconds, r as TIME_HOUR_MS, s as TIME_MONTH_MS, t as TIME_DAY_MS, u as TIME_WEEK_S, v as getBuildNumber, w as setTimestampTest, x as getTimestamp, y as getPerformanceTimestamp } from "./time-DSV_k3mG.mjs";
|
|
91
|
+
import { t as safeTimeout } from "./timeout-DDSSNZY8.mjs";
|
|
92
|
+
import { t as noop } from "./utils-CDJihcg3.mjs";
|
|
93
|
+
import { C as uuidv4, S as uuidIsValid, _ as uuidDecodeV4, a as suidBytesDate, b as uuidEncodeB62, c as unameReset, d as uuidB32, f as uuidB62, g as uuidDecodeB62, h as uuidDecodeB32, i as suidBytes, l as uuid, m as uuidDecode, n as setUuidDefaultEncoding, o as suidDate, p as uuidBytes, r as suid, s as uname, t as qid, u as uuid32bit, v as uuidEncode, x as uuidEncodeV4, y as uuidEncodeB32 } from "./uuid-CKFZfSff.mjs";
|
|
94
|
+
import { a as isTimeout, c as timeout, i as isPromise, l as tryTimeout, n as createPromise, o as promisify, r as immediate, s as sleep, t as AsyncReturnType, u as waitOn } from "./promise-CoWXgo4w.mjs";
|
|
95
|
+
import { n as throttle, t as debounce } from "./throttle-debounce-CCh0F100.mjs";
|
|
96
|
+
import { n as parseArgs, t as ParseConfig } from "./args-CEjib9V9.mjs";
|
|
97
|
+
import { t as pbcopy } from "./clipboard-DcuuFRwa.mjs";
|
|
98
|
+
import { n as setupWebCrypto, t as getWebCrypto } from "./crypto-D68rVmvU.mjs";
|
|
99
|
+
import { a as setupEnv, c as valueToPath, i as parseEnvStringAlt, n as getEnvVariableRelaxed, o as stringToPath, r as parseEnvString, s as toPath, t as EnvOptions } from "./env-BJXdwBKq.mjs";
|
|
100
|
+
import { i as walkSync, n as getFingerprint, r as getStat, t as files } from "./files-BlpxqSTT.mjs";
|
|
101
|
+
import { a as walkSyncAsync, i as getStatAsync, n as filesAsync, r as getFingerprintAsync, t as StatsBase } from "./files-async-DfuEEDjH.mjs";
|
|
102
|
+
import { n as FileStorageOptions, t as FileStorage } from "./filestorage-CmfztpWm.mjs";
|
|
103
|
+
import { a as isFolder, c as readData, d as removeFolder, f as toHumanReadableFilePath, g as writeText, h as writeJson, i as isFile, l as readJson, m as writeData, n as ensureFolderForFile, o as isHiddenPath, p as writeBin, r as exists, s as readBin, t as ensureFolder, u as readText } from "./fs-DlYLapik.mjs";
|
|
104
|
+
import { t as globToRegExp } from "./glob-5yW09dkR.mjs";
|
|
105
|
+
import { u as createRotationStream } from "./log-rotation-Ce4e-8LN.mjs";
|
|
106
|
+
import { i as parseLogRotationConfigEnv, n as getLogFileRotationConfigSchemaOptions, r as getLogRotationConfig, t as LogRotationOptions } from "./log-file-rotation-DanrO_2y.mjs";
|
|
107
|
+
import { n as LoggerFileHandler, t as LogFileHandlerOptions } from "./log-file-QV1unm3z.mjs";
|
|
108
|
+
import { i as loggerStackTraceDebug, n as colorString, r as colorStringList, t as LoggerNodeHandler } from "./log-node-BSn7RqAc.mjs";
|
|
109
|
+
import { i as getStackLlocationList, n as getSourceLocationByPrecedingPattern, r as getStack, t as getSourceLocation } from "./log-util-Da_UCcmt.mjs";
|
|
110
|
+
export { ArgumentsType, AsyncMutex, AsyncReturnType, BaseXAlphabet, BaseXAsChain, BaseXChain, BaseXDecodeFunction, BaseXEncodeFunction, BaseXFirst, BaseXInput, BaseXLast, BaseXOutput, BaseXTail, Bech32, Bech32Decoded, Bech32DecodedWithArray, BinInput, BinaryEncoder, BytesCoder, CRYPTO_DEFAULT_ALG, CRYPTO_DEFAULT_DERIVE_ALG, CRYPTO_DEFAULT_DERIVE_ITERATIONS, CRYPTO_DEFAULT_HASH_ALG, CRYPTO_DEFAULT_IV_LENGTH, Channel, ChannelMessageEvent, Coder, Column, CompiledQuery, CryptoEncoder, DAY_MS, Day, DayInput, DayInputLegacy, DayValue, DebugChannel, DecimalInput, DecimalValue, DefaultListener, DefaultLogger, DiffOptions, Difference, DifferenceType, Disposer, DisposerFunction, Emitter, EmitterAllHandler, EmitterHandler, EmitterSubscriberOptions, Encoder, EnvOptions, Expect, Expr, FileStorage, FileStorageOptions, FilterFunction, Infer, InferRow, IsEqual, Json, JsonEncoder, JsonEntryProcessor, LinkifyOptions, ListenerSignature, LocalChannel, LocalStorage, LocalStorageOptions, LogConfig, LogFileHandlerOptions, LogHandler, LogHandlerOptions, LogLevel, LogLevelAlias, LogLevelAliasKey, LogLevelAliasType, LogLevelAll, LogLevelDebug, LogLevelError, LogLevelFatal, LogLevelInfo, LogLevelOff, LogLevelWarn, LogMessage, LogMessageCompact, LogOriginalConsole, LogRotationOptions, Logger, LoggerBrowserHandler, LoggerBrowserSetupDebugFactory, LoggerConsoleHandler, LoggerContext, LoggerContextInterface, LoggerFileHandler, LoggerFromConfig, LoggerInterface, LoggerMemoryHandler, LoggerNodeHandler, MapperFunction, MemStorage, MemStorageOptions, Message, MessageAction, MessageDefinitions, MessageHub, MessageResult, MessagesDefaultMethods, MessagesMethods, MessagesOptions, Mutex, NamespaceFilter, NestedArray, NoopEncoder, ObjectStorage, ParseConfig, PoolConfig, PoolTask, PoolTaskEvents, PoolTaskFn, PoolTaskIdConflictResolution, PoolTaskState, Primitive, Progress, ProgressOptions, PubSub, PubSubConfig, QueryDependencies, RPCFn, RPCMessage, RPCMode, RPCOptions, RPCOptionsBasic, RPCReturn, RX_URL, RenderMessagesOptions, ResillientChannel, ReturnType, RoundingMode, RowFromSelection, RowFromTable, SchemaEnvOptions, SchemaEnvType, SchemaValidateMessage, SelectBuilder, SerialQueue, SerializedType, Signal, SignalWatcher, SortableItem, StandardSchemaV1, StatsBase, TIME_DAY_MS, TIME_DAY_S, TIME_HOUR_MS, TIME_HOUR_S, TIME_MINUTE_MS, TIME_MINUTE_S, TIME_MONTH_MS, TIME_MONTH_S, TIME_WEEK_MS, TIME_WEEK_S, TIME_YEAR_MS, TIME_YEAR_S, TableColumns, TableShape, TaskEvents, TaskFn, TimerExecFunction, Type, TypeArray, TypeArrayOutput, TypeLiterals, TypeMeta, TypeObjectFixOptional, TypeTuple, TypeUnion, Uint8ArrayToDataUri, Uint8ArrayToHexDump, Uint8ArrayToJson, Uint8ArrayToString, Uint8ArrayToWords, UseDefer, UseDispose, UseDisposeConfig, UseDisposeWithUtils, UseRPCHubType, UseStringHashPool, XRX, ZeedGlobalContext, ZeedGlobalEmitter, _decodeUtf8Polyfill, _encodeUtf8Polyfill, _useBase, and, any, array, arrayAvg, arrayBatches, arrayEmptyInPlace, arrayFilterInPlace, arrayFlatten, arrayIntersection, arrayIsEqual, arrayMax, arrayMin, arrayMinus, arrayRandomElement, arrayRemoveElement, arraySetArrayInPlace, arraySetElement, arrayShuffle, arrayShuffleForce, arrayShuffleInPlace, arraySorted, arraySortedNumbers, arraySum, arraySymmetricDifference, arrayToggleInPlace, arrayUnion, arrayUnique, assert, assertCondition, assertNumber, avg, base16, base32, base32ToNumber, base32agnoster, base32crockford, base32hex, base32hexnopad, base32nopad, base58, base58check, base58flickr, base58xmr, base58xrp, base64, base64nopad, base64url, base64urlnopad, bech32, bech32m, between, bitfield, blobToArrayBuffer, blobToDataUri, blobToUint8Array, boolean, browserSelectColorByName, browserSupportsColors, bytes, bytesToString, cloneJsonObject, cloneObject, cmp, colorString, colorStringList, composeOrderby, createArray, createBase58check, createBinaryStreamDecoder, createBinaryStreamEncoder, createLocalChannelPair, createPromise, createPromiseProxy, createRotationStream, csvParse, csvParseToObjects, csvStringify, dataUriToBlob, dataUriToMimeType, dataUriToUint8Array, dateFromSeconds, dateStringToDays, datetimeToLocal, datetimeToUTC, day, dayDay, dayDaysInMonth, dayDiff, dayFromAny, dayFromDate, dayFromDateGMT, dayFromDateUTC, dayFromParts, dayFromString, dayFromTimestamp, dayFromTimestampSeconds, dayFromToday, dayIterator, dayMonth, dayMonthOffset, dayMonthStart, dayOffset, dayRange, dayToDate, dayToDateGMT, dayToDateUTC, dayToParts, dayToString, dayToTimestamp, dayToTimestampSeconds, dayYear, dayYearOffset, dayYearStart, debounce, deburr, decimal, decimalCentsPart, decimalFromCents, decimalToCents, decodeBase16, decodeBase32, decodeBase58, decodeBase62, decodeJson, decrypt, decryptAesGcm, decryptXAES, deepEqual, deepMerge, deepStripUndefinedInPlace, deriveKeyPbkdf2, deriveKeyPbkdf2CBC, deserializeSchema, detect, diffObjects, digest, distributedFilePath, double, duration, empty, encodeBase16, encodeBase32, encodeBase58, encodeBase62, encodeJson, encodeQuery, encrypt, encryptAesGcm, encryptXAES, endSortWeight, ensureFolder, ensureFolderForFile, ensureKey, ensureKeyAsync, ensureUint8Array, eq, equalBinary, escapeHTML, escapeRegExp, estimateSizeForBase, exists, exportKeyXAES, fatal, fetchBasic, fetchJson, fetchOptionType, fetchOptionsBasicAuth, fetchOptionsFormURLEncoded, fetchOptionsJson, fetchOptionsType, fetchText, files, filesAsync, first, fixBrokenUtf8String, float, forEachDay, forTimes, formatBytesToHumanBase1000, formatBytesToHumanBase1024, formatMessages, formatMilliseconds, formatSecondsToTime, from, fromBase64, fromBase64String, fromCamelCase, fromHex, func, generateKeyXAES, getBuildNumber, getEnvVariableRelaxed, getFingerprint, getFingerprintAsync, getGlobal, getGlobalConsole, getGlobalContext, getGlobalEmitter, getGlobalLogger, getGlobalLoggerIfExists, getLocalStorage, getLogFileRotationConfigSchemaOptions, getLogRotationConfig, getNamespaceFilterString, getNavigator, getPerformanceTimestamp, getSecondsFromBuildNumber, getSecureRandom, getSecureRandomIfPossible, getSourceLocation, getSourceLocationByPrecedingPattern, getStack, getStackLlocationList, getStat, getStatAsync, getTimestamp, getTimestampInSeconds, getWebCrypto, getWindow, globToRegExp, globalAny, gravatarURLByEmail, gt, gte, helpSchemaArgs, hex, httpMethod, immediate, importKeyXAES, inArray, int, isArray, isBinaryArray, isBoolean, isBrowser, isColumn, isEmpty, isEven, isFile, isFolder, isFunction, isHalf, isHiddenPath, isInteger, isLocalHost, isNotEmpty, isNotNull, isNull, isNullOrUndefined, isNumber, isObject, isPrime, isPrimeRX, isPrimitive, isPromise, isRecord, isRecordPlain, isSafeInteger, isSchemaDefault, isSchemaObject, isSchemaObjectFlat, isSchemaOptional, isSchemaPrimitive, isString, isSymbol, isTimeout, isTruthy, isUint8Array, isValue, joinLogStrings, joinToUint8Array, jsonParse, jsonStringify, jsonStringifySafe, jsonStringifySorted, jsonToUint8Array, last, like, linkifyPlainText, linkifyPlainTextSimple, linkifyPlainTextWithLineBreaks, listDistinctUnion, listGroupBy, listOfKey, listQuery, literal, logCaptureConsole, logMessageFromCompact, loggerStackTraceDebug, lt, lte, memoize, memoizeAsync, moveSortWeight, ne, none, noop, noopDisposer, not, number, numberToBase32, object, objectAssignDeepInPlace, objectAssignDescriptionInPlace, objectDescribeChange, objectFilter, objectInclusivePick, objectIsEmpty, objectMap, objectMergeDisposable, objectOmit, objectPick, objectPlain, or, parseArgs, parseBasicAuth, parseDate, parseEnvString, parseEnvStringAlt, parseFloat, parseInt, parseLogLevel, parseLogRotationConfigEnv, parseOrderby, parseQuery, parseSchemaArgs, parseSchemaEnv, pbcopy, polyfillUsing, promisify, qid, randomBoolean, randomFloat, randomInt, randomUint8Array, readBin, readData, readJson, readText, real, record, regExpEscape, regExpString, removeFolder, renderMessages, roundArrayOfNumbersToMatchSum, roundArrayOfObjectsToMatchSum, roundDown, roundHalfAwayFromZero, roundHalfDown, roundHalfEven, roundHalfOdd, roundHalfTowardsZero, roundHalfUp, roundUp, rpc, safeTimeout, schemaCreateObject, schemaExportJsonSchema, schemaExportJsonSchemaString, schemaExportSwiftStruct, schemaExportTypescriptInterface, schemaParseObject, schemaValidateObject, seededRandom, select, serializeSchema, setDayTest, setTestMode, setTimestampTest, setUuidDefaultEncoding, setupEnv, setupWebCrypto, size, sleep, sortedItems, sortedOrderby, sqlIsNotNull, sqlIsNull, startSortWeight, str, string, stringFromSchemaEnv, stringHashFNV1a, stringLiterals, stringToBoolean, stringToBytes, stringToFloat, stringToInteger, stringToPath, stringToUInt8Array, suid, suidBytes, suidBytesDate, suidDate, sum, table, throttle, timeout, timestampMillisecondsToSeconds, timestampSecondsToMilliseconds, toArrayBuffer, toBase64, toBase64Url, toBool, toCamelCase, toCapitalize, toCapitalizeWords, toFloat, toHex, toHumanReadableFilePath, toHumanReadableUrl, toInt, toPath, toString, toUint8Array, toValidFilename, today, tryTimeout, tuple, uname, unameReset, unescapeHTML, union, urlBase64ToUint8Array, useAsyncMutex, useBase, useDefer, useDispose, useDisposeWithUtils, useEventListener, useEventListenerOnce, useExitHandler, useInterval, useIntervalPause, useLevelFilter, useMessageHub, useMutex, useNamespaceFilter, usePool, usePubSub, useRPC, useRPCHub, useSignal, useSorted, useStringHashPool, useTimeout, utf8, utils, uuid, uuid32bit, uuidB32, uuidB62, uuidBytes, uuidDecode, uuidDecodeB32, uuidDecodeB62, uuidDecodeV4, uuidEncode, uuidEncodeB32, uuidEncodeB62, uuidEncodeV4, uuidIsValid, uuidv4, valueToBoolean, valueToBooleanNotFalse, valueToFloat, valueToInteger, valueToPath, valueToString, waitOn, walkSync, walkSyncAsync, wordsToUint8Array, writeBin, writeData, writeJson, writeText, z_collection_d_exports as z };
|
package/dist/index.all.mjs
CHANGED
|
@@ -89,6 +89,9 @@ import { helpSchemaArgs, parseSchemaArgs } from "./common/schema/parse-args.mjs"
|
|
|
89
89
|
import { parseSchemaEnv, stringFromSchemaEnv } from "./common/schema/parse-env.mjs";
|
|
90
90
|
import { Type, any, array, boolean, double, float, func, int, literal, none, number, object, real, record, rpc, string, stringLiterals, tuple, union } from "./common/schema/schema.mjs";
|
|
91
91
|
import { deserializeSchema, serializeSchema } from "./common/schema/serialize.mjs";
|
|
92
|
+
import { isColumn, table } from "./common/schema/sql/table.mjs";
|
|
93
|
+
import { and, eq, gt, gte, inArray, like, lt, lte, ne, not, or, sqlIsNotNull, sqlIsNull } from "./common/schema/sql/expr.mjs";
|
|
94
|
+
import { SelectBuilder, from, select } from "./common/schema/sql/select.mjs";
|
|
92
95
|
import { t as z_collection_exports } from "./common/schema/z-collection.mjs";
|
|
93
96
|
import { MemStorage } from "./common/storage/memstorage.mjs";
|
|
94
97
|
import { setTestMode } from "./common/test.mjs";
|
|
@@ -110,4 +113,4 @@ import { getSourceLocation, getSourceLocationByPrecedingPattern, getStack, getSt
|
|
|
110
113
|
import { LoggerNodeHandler, colorString, colorStringList, loggerStackTraceDebug } from "./node/log/log-node.mjs";
|
|
111
114
|
import "./node/index.mjs";
|
|
112
115
|
|
|
113
|
-
export { BinaryEncoder, CRYPTO_DEFAULT_ALG, CRYPTO_DEFAULT_DERIVE_ALG, CRYPTO_DEFAULT_DERIVE_ITERATIONS, CRYPTO_DEFAULT_HASH_ALG, CRYPTO_DEFAULT_IV_LENGTH, Channel, CryptoEncoder, DAY_MS, Day, DebugChannel, DefaultLogger, Emitter, FileStorage, JsonEncoder, LocalChannel, LocalStorage, LogLevelAlias, LogLevelAll, LogLevelDebug, LogLevelError, LogLevelFatal, LogLevelInfo, LogLevelOff, LogLevelWarn, Logger, LoggerBrowserHandler, LoggerBrowserSetupDebugFactory, LoggerConsoleHandler, LoggerContext, LoggerFileHandler, LoggerFromConfig, LoggerMemoryHandler, LoggerNodeHandler, MemStorage, NoopEncoder, Progress, PubSub, RPCMode, RX_URL, ResillientChannel, SerialQueue, TIME_DAY_MS, TIME_DAY_S, TIME_HOUR_MS, TIME_HOUR_S, TIME_MINUTE_MS, TIME_MINUTE_S, TIME_MONTH_MS, TIME_MONTH_S, TIME_WEEK_MS, TIME_WEEK_S, TIME_YEAR_MS, TIME_YEAR_S, Type, Uint8ArrayToDataUri, Uint8ArrayToHexDump, Uint8ArrayToJson, Uint8ArrayToString, Uint8ArrayToWords, XRX, _decodeUtf8Polyfill, _encodeUtf8Polyfill, _useBase, any, array, arrayAvg, arrayBatches, arrayEmptyInPlace, arrayFilterInPlace, arrayFlatten, arrayIntersection, arrayIsEqual, arrayMax, arrayMin, arrayMinus, arrayRandomElement, arrayRemoveElement, arraySetArrayInPlace, arraySetElement, arrayShuffle, arrayShuffleForce, arrayShuffleInPlace, arraySorted, arraySortedNumbers, arraySum, arraySymmetricDifference, arrayToggleInPlace, arrayUnion, arrayUnique, assert, assertCondition, assertNumber, avg, base16, base32, base32ToNumber, base32agnoster, base32crockford, base32hex, base32hexnopad, base32nopad, base58, base58check, base58flickr, base58xmr, base58xrp, base64, base64nopad, base64url, base64urlnopad, bech32, bech32m, between, bitfield, blobToArrayBuffer, blobToDataUri, blobToUint8Array, boolean, browserSelectColorByName, browserSupportsColors, bytes, bytesToString, cloneJsonObject, cloneObject, cmp, colorString, colorStringList, composeOrderby, createArray, createBase58check, createBinaryStreamDecoder, createBinaryStreamEncoder, createLocalChannelPair, createPromise, createPromiseProxy, createRotationStream, csvParse, csvParseToObjects, csvStringify, dataUriToBlob, dataUriToMimeType, dataUriToUint8Array, dateFromSeconds, dateStringToDays, datetimeToLocal, datetimeToUTC, day, dayDay, dayDaysInMonth, dayDiff, dayFromAny, dayFromDate, dayFromDateGMT, dayFromDateUTC, dayFromParts, dayFromString, dayFromTimestamp, dayFromTimestampSeconds, dayFromToday, dayIterator, dayMonth, dayMonthOffset, dayMonthStart, dayOffset, dayRange, dayToDate, dayToDateGMT, dayToDateUTC, dayToParts, dayToString, dayToTimestamp, dayToTimestampSeconds, dayYear, dayYearOffset, dayYearStart, debounce, deburr, decimal, decimalCentsPart, decimalFromCents, decimalToCents, decodeBase16, decodeBase32, decodeBase58, decodeBase62, decodeJson, decrypt, decryptAesGcm, decryptXAES, deepEqual, deepMerge, deepStripUndefinedInPlace, deriveKeyPbkdf2, deriveKeyPbkdf2CBC, deserializeSchema, detect, diffObjects, digest, distributedFilePath, double, duration, empty, encodeBase16, encodeBase32, encodeBase58, encodeBase62, encodeJson, encodeQuery, encrypt, encryptAesGcm, encryptXAES, endSortWeight, ensureFolder, ensureFolderForFile, ensureKey, ensureKeyAsync, ensureUint8Array, equalBinary, escapeHTML, escapeRegExp, estimateSizeForBase, exists, exportKeyXAES, fatal, fetchBasic, fetchJson, fetchOptionsBasicAuth, fetchOptionsFormURLEncoded, fetchOptionsJson, fetchText, files, filesAsync, first, fixBrokenUtf8String, float, forEachDay, forTimes, formatBytesToHumanBase1000, formatBytesToHumanBase1024, formatMessages, formatMilliseconds, formatSecondsToTime, fromBase64, fromBase64String, fromCamelCase, fromHex, func, generateKeyXAES, getBuildNumber, getEnvVariableRelaxed, getFingerprint, getFingerprintAsync, getGlobal, getGlobalConsole, getGlobalContext, getGlobalEmitter, getGlobalLogger, getGlobalLoggerIfExists, getLocalStorage, getLogFileRotationConfigSchemaOptions, getLogRotationConfig, getNamespaceFilterString, getNavigator, getPerformanceTimestamp, getSecondsFromBuildNumber, getSecureRandom, getSecureRandomIfPossible, getSourceLocation, getSourceLocationByPrecedingPattern, getStack, getStackLlocationList, getStat, getStatAsync, getTimestamp, getTimestampInSeconds, getWebCrypto, getWindow, globToRegExp, globalAny, gravatarURLByEmail, helpSchemaArgs, hex, immediate, importKeyXAES, int, isArray, isBinaryArray, isBoolean, isBrowser, isEmpty, isEven, isFile, isFolder, isFunction, isHalf, isHiddenPath, isInteger, isLocalHost, isNotEmpty, isNotNull, isNull, isNullOrUndefined, isNumber, isObject, isPrime, isPrimeRX, isPrimitive, isPromise, isRecord, isRecordPlain, isSafeInteger, isSchemaDefault, isSchemaObject, isSchemaObjectFlat, isSchemaOptional, isSchemaPrimitive, isString, isSymbol, isTimeout, isTruthy, isUint8Array, isValue, joinLogStrings, joinToUint8Array, jsonParse, jsonStringify, jsonStringifySafe, jsonStringifySorted, jsonToUint8Array, last, linkifyPlainText, linkifyPlainTextSimple, linkifyPlainTextWithLineBreaks, listDistinctUnion, listGroupBy, listOfKey, listQuery, literal, logCaptureConsole, logMessageFromCompact, loggerStackTraceDebug, memoize, memoizeAsync, moveSortWeight, none, noop, noopDisposer, number, numberToBase32, object, objectAssignDeepInPlace, objectAssignDescriptionInPlace, objectDescribeChange, objectFilter, objectInclusivePick, objectIsEmpty, objectMap, objectMergeDisposable, objectOmit, objectPick, objectPlain, parseArgs, parseBasicAuth, parseDate, parseEnvString, parseEnvStringAlt, parseFloat, parseInt, parseLogLevel, parseLogRotationConfigEnv, parseOrderby, parseQuery, parseSchemaArgs, parseSchemaEnv, pbcopy, polyfillUsing, promisify, qid, randomBoolean, randomFloat, randomInt, randomUint8Array, readBin, readData, readJson, readText, real, record, regExpEscape, regExpString, removeFolder, renderMessages, roundArrayOfNumbersToMatchSum, roundArrayOfObjectsToMatchSum, roundDown, roundHalfAwayFromZero, roundHalfDown, roundHalfEven, roundHalfOdd, roundHalfTowardsZero, roundHalfUp, roundUp, rpc, safeTimeout, schemaCreateObject, schemaExportJsonSchema, schemaExportJsonSchemaString, schemaExportSwiftStruct, schemaExportTypescriptInterface, schemaParseObject, schemaValidateObject, seededRandom, serializeSchema, setDayTest, setTestMode, setTimestampTest, setUuidDefaultEncoding, setupEnv, setupWebCrypto, size, sleep, sortedItems, sortedOrderby, startSortWeight, str, string, stringFromSchemaEnv, stringHashFNV1a, stringLiterals, stringToBoolean, stringToBytes, stringToFloat, stringToInteger, stringToPath, stringToUInt8Array, suid, suidBytes, suidBytesDate, suidDate, sum, throttle, timeout, timestampMillisecondsToSeconds, timestampSecondsToMilliseconds, toArrayBuffer, toBase64, toBase64Url, toBool, toCamelCase, toCapitalize, toCapitalizeWords, toFloat, toHex, toHumanReadableFilePath, toHumanReadableUrl, toInt, toPath, toString, toUint8Array, toValidFilename, today, tryTimeout, tuple, uname, unameReset, unescapeHTML, union, urlBase64ToUint8Array, useAsyncMutex, useBase, useDefer, useDispose, useDisposeWithUtils, useEventListener, useEventListenerOnce, useExitHandler, useInterval, useIntervalPause, useLevelFilter, useMessageHub, useMutex, useNamespaceFilter, usePool, usePubSub, useRPC, useRPCHub, useSignal, useSorted, useStringHashPool, useTimeout, utf8, utils, uuid, uuid32bit, uuidB32, uuidB62, uuidBytes, uuidDecode, uuidDecodeB32, uuidDecodeB62, uuidDecodeV4, uuidEncode, uuidEncodeB32, uuidEncodeB62, uuidEncodeV4, uuidIsValid, uuidv4, valueToBoolean, valueToBooleanNotFalse, valueToFloat, valueToInteger, valueToPath, valueToString, waitOn, walkSync, walkSyncAsync, wordsToUint8Array, writeBin, writeData, writeJson, writeText, z_collection_exports as z };
|
|
116
|
+
export { BinaryEncoder, CRYPTO_DEFAULT_ALG, CRYPTO_DEFAULT_DERIVE_ALG, CRYPTO_DEFAULT_DERIVE_ITERATIONS, CRYPTO_DEFAULT_HASH_ALG, CRYPTO_DEFAULT_IV_LENGTH, Channel, CryptoEncoder, DAY_MS, Day, DebugChannel, DefaultLogger, Emitter, FileStorage, JsonEncoder, LocalChannel, LocalStorage, LogLevelAlias, LogLevelAll, LogLevelDebug, LogLevelError, LogLevelFatal, LogLevelInfo, LogLevelOff, LogLevelWarn, Logger, LoggerBrowserHandler, LoggerBrowserSetupDebugFactory, LoggerConsoleHandler, LoggerContext, LoggerFileHandler, LoggerFromConfig, LoggerMemoryHandler, LoggerNodeHandler, MemStorage, NoopEncoder, Progress, PubSub, RPCMode, RX_URL, ResillientChannel, SelectBuilder, SerialQueue, TIME_DAY_MS, TIME_DAY_S, TIME_HOUR_MS, TIME_HOUR_S, TIME_MINUTE_MS, TIME_MINUTE_S, TIME_MONTH_MS, TIME_MONTH_S, TIME_WEEK_MS, TIME_WEEK_S, TIME_YEAR_MS, TIME_YEAR_S, Type, Uint8ArrayToDataUri, Uint8ArrayToHexDump, Uint8ArrayToJson, Uint8ArrayToString, Uint8ArrayToWords, XRX, _decodeUtf8Polyfill, _encodeUtf8Polyfill, _useBase, and, any, array, arrayAvg, arrayBatches, arrayEmptyInPlace, arrayFilterInPlace, arrayFlatten, arrayIntersection, arrayIsEqual, arrayMax, arrayMin, arrayMinus, arrayRandomElement, arrayRemoveElement, arraySetArrayInPlace, arraySetElement, arrayShuffle, arrayShuffleForce, arrayShuffleInPlace, arraySorted, arraySortedNumbers, arraySum, arraySymmetricDifference, arrayToggleInPlace, arrayUnion, arrayUnique, assert, assertCondition, assertNumber, avg, base16, base32, base32ToNumber, base32agnoster, base32crockford, base32hex, base32hexnopad, base32nopad, base58, base58check, base58flickr, base58xmr, base58xrp, base64, base64nopad, base64url, base64urlnopad, bech32, bech32m, between, bitfield, blobToArrayBuffer, blobToDataUri, blobToUint8Array, boolean, browserSelectColorByName, browserSupportsColors, bytes, bytesToString, cloneJsonObject, cloneObject, cmp, colorString, colorStringList, composeOrderby, createArray, createBase58check, createBinaryStreamDecoder, createBinaryStreamEncoder, createLocalChannelPair, createPromise, createPromiseProxy, createRotationStream, csvParse, csvParseToObjects, csvStringify, dataUriToBlob, dataUriToMimeType, dataUriToUint8Array, dateFromSeconds, dateStringToDays, datetimeToLocal, datetimeToUTC, day, dayDay, dayDaysInMonth, dayDiff, dayFromAny, dayFromDate, dayFromDateGMT, dayFromDateUTC, dayFromParts, dayFromString, dayFromTimestamp, dayFromTimestampSeconds, dayFromToday, dayIterator, dayMonth, dayMonthOffset, dayMonthStart, dayOffset, dayRange, dayToDate, dayToDateGMT, dayToDateUTC, dayToParts, dayToString, dayToTimestamp, dayToTimestampSeconds, dayYear, dayYearOffset, dayYearStart, debounce, deburr, decimal, decimalCentsPart, decimalFromCents, decimalToCents, decodeBase16, decodeBase32, decodeBase58, decodeBase62, decodeJson, decrypt, decryptAesGcm, decryptXAES, deepEqual, deepMerge, deepStripUndefinedInPlace, deriveKeyPbkdf2, deriveKeyPbkdf2CBC, deserializeSchema, detect, diffObjects, digest, distributedFilePath, double, duration, empty, encodeBase16, encodeBase32, encodeBase58, encodeBase62, encodeJson, encodeQuery, encrypt, encryptAesGcm, encryptXAES, endSortWeight, ensureFolder, ensureFolderForFile, ensureKey, ensureKeyAsync, ensureUint8Array, eq, equalBinary, escapeHTML, escapeRegExp, estimateSizeForBase, exists, exportKeyXAES, fatal, fetchBasic, fetchJson, fetchOptionsBasicAuth, fetchOptionsFormURLEncoded, fetchOptionsJson, fetchText, files, filesAsync, first, fixBrokenUtf8String, float, forEachDay, forTimes, formatBytesToHumanBase1000, formatBytesToHumanBase1024, formatMessages, formatMilliseconds, formatSecondsToTime, from, fromBase64, fromBase64String, fromCamelCase, fromHex, func, generateKeyXAES, getBuildNumber, getEnvVariableRelaxed, getFingerprint, getFingerprintAsync, getGlobal, getGlobalConsole, getGlobalContext, getGlobalEmitter, getGlobalLogger, getGlobalLoggerIfExists, getLocalStorage, getLogFileRotationConfigSchemaOptions, getLogRotationConfig, getNamespaceFilterString, getNavigator, getPerformanceTimestamp, getSecondsFromBuildNumber, getSecureRandom, getSecureRandomIfPossible, getSourceLocation, getSourceLocationByPrecedingPattern, getStack, getStackLlocationList, getStat, getStatAsync, getTimestamp, getTimestampInSeconds, getWebCrypto, getWindow, globToRegExp, globalAny, gravatarURLByEmail, gt, gte, helpSchemaArgs, hex, immediate, importKeyXAES, inArray, int, isArray, isBinaryArray, isBoolean, isBrowser, isColumn, isEmpty, isEven, isFile, isFolder, isFunction, isHalf, isHiddenPath, isInteger, isLocalHost, isNotEmpty, isNotNull, isNull, isNullOrUndefined, isNumber, isObject, isPrime, isPrimeRX, isPrimitive, isPromise, isRecord, isRecordPlain, isSafeInteger, isSchemaDefault, isSchemaObject, isSchemaObjectFlat, isSchemaOptional, isSchemaPrimitive, isString, isSymbol, isTimeout, isTruthy, isUint8Array, isValue, joinLogStrings, joinToUint8Array, jsonParse, jsonStringify, jsonStringifySafe, jsonStringifySorted, jsonToUint8Array, last, like, linkifyPlainText, linkifyPlainTextSimple, linkifyPlainTextWithLineBreaks, listDistinctUnion, listGroupBy, listOfKey, listQuery, literal, logCaptureConsole, logMessageFromCompact, loggerStackTraceDebug, lt, lte, memoize, memoizeAsync, moveSortWeight, ne, none, noop, noopDisposer, not, number, numberToBase32, object, objectAssignDeepInPlace, objectAssignDescriptionInPlace, objectDescribeChange, objectFilter, objectInclusivePick, objectIsEmpty, objectMap, objectMergeDisposable, objectOmit, objectPick, objectPlain, or, parseArgs, parseBasicAuth, parseDate, parseEnvString, parseEnvStringAlt, parseFloat, parseInt, parseLogLevel, parseLogRotationConfigEnv, parseOrderby, parseQuery, parseSchemaArgs, parseSchemaEnv, pbcopy, polyfillUsing, promisify, qid, randomBoolean, randomFloat, randomInt, randomUint8Array, readBin, readData, readJson, readText, real, record, regExpEscape, regExpString, removeFolder, renderMessages, roundArrayOfNumbersToMatchSum, roundArrayOfObjectsToMatchSum, roundDown, roundHalfAwayFromZero, roundHalfDown, roundHalfEven, roundHalfOdd, roundHalfTowardsZero, roundHalfUp, roundUp, rpc, safeTimeout, schemaCreateObject, schemaExportJsonSchema, schemaExportJsonSchemaString, schemaExportSwiftStruct, schemaExportTypescriptInterface, schemaParseObject, schemaValidateObject, seededRandom, select, serializeSchema, setDayTest, setTestMode, setTimestampTest, setUuidDefaultEncoding, setupEnv, setupWebCrypto, size, sleep, sortedItems, sortedOrderby, sqlIsNotNull, sqlIsNull, startSortWeight, str, string, stringFromSchemaEnv, stringHashFNV1a, stringLiterals, stringToBoolean, stringToBytes, stringToFloat, stringToInteger, stringToPath, stringToUInt8Array, suid, suidBytes, suidBytesDate, suidDate, sum, table, throttle, timeout, timestampMillisecondsToSeconds, timestampSecondsToMilliseconds, toArrayBuffer, toBase64, toBase64Url, toBool, toCamelCase, toCapitalize, toCapitalizeWords, toFloat, toHex, toHumanReadableFilePath, toHumanReadableUrl, toInt, toPath, toString, toUint8Array, toValidFilename, today, tryTimeout, tuple, uname, unameReset, unescapeHTML, union, urlBase64ToUint8Array, useAsyncMutex, useBase, useDefer, useDispose, useDisposeWithUtils, useEventListener, useEventListenerOnce, useExitHandler, useInterval, useIntervalPause, useLevelFilter, useMessageHub, useMutex, useNamespaceFilter, usePool, usePubSub, useRPC, useRPCHub, useSignal, useSorted, useStringHashPool, useTimeout, utf8, utils, uuid, uuid32bit, uuidB32, uuidB62, uuidBytes, uuidDecode, uuidDecodeB32, uuidDecodeB62, uuidDecodeV4, uuidEncode, uuidEncodeB32, uuidEncodeB62, uuidEncodeV4, uuidIsValid, uuidv4, valueToBoolean, valueToBooleanNotFalse, valueToFloat, valueToInteger, valueToPath, valueToString, waitOn, walkSync, walkSyncAsync, wordsToUint8Array, writeBin, writeData, writeJson, writeText, z_collection_exports as z };
|