@xnetjs/data 2.2.0 → 2.3.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/{account-ZD3HMRY6.js → account-LYZ3VDC4.js} +4 -4
- package/dist/{account-ledger-ZHBNVREV.js → account-ledger-7VF5SHTT.js} +2 -2
- package/dist/{agent-OFQJQMNB.js → agent-IJLOS2LA.js} +4 -4
- package/dist/auth/index.d.ts +4 -4
- package/dist/{budget-FTGZEXX6.js → budget-WXX7PAWQ.js} +4 -4
- package/dist/canvas-64KGRYXI.js +10 -0
- package/dist/channel-DXLP6PEJ.js +12 -0
- package/dist/chat-message-EZW77LY3.js +10 -0
- package/dist/{checkpoint-MZHJ7PCZ.js → checkpoint-SAKNGDI3.js} +4 -4
- package/dist/{chunk-4S73XDWH.js → chunk-27AF2RSY.js} +77 -4
- package/dist/{chunk-ZKMWJNDQ.js → chunk-2DAVPHDV.js} +1 -1
- package/dist/{chunk-KTPSQJ5L.js → chunk-2JROE7ML.js} +2 -2
- package/dist/{chunk-JWGS7JMA.js → chunk-2K6BLSNC.js} +2 -2
- package/dist/{chunk-OD2JYCVG.js → chunk-32IVMT6Z.js} +193 -190
- package/dist/{chunk-IKGUBSZP.js → chunk-37PXEMYQ.js} +1 -1
- package/dist/{chunk-M4KGY2PC.js → chunk-3FWYS6AW.js} +2 -2
- package/dist/chunk-3UOUVEZW.js +122 -0
- package/dist/{chunk-EYRZ6ZUB.js → chunk-4HJZJMPI.js} +14 -1
- package/dist/{chunk-T45PWXNA.js → chunk-4SIMTLCC.js} +2 -2
- package/dist/{chunk-II7WS264.js → chunk-56EXPOJ4.js} +47 -6
- package/dist/{chunk-5UJMY3AH.js → chunk-57AT2DT2.js} +2 -2
- package/dist/{chunk-4KJ4NAMC.js → chunk-5ECIKN6Z.js} +1 -1
- package/dist/{chunk-MEAIGK3W.js → chunk-6AKAZHVZ.js} +1 -1
- package/dist/{chunk-UUQVNDBG.js → chunk-7MSSPUMC.js} +2 -2
- package/dist/{chunk-OF6455OV.js → chunk-AKKBG7HW.js} +2 -2
- package/dist/{chunk-FWCM2TKJ.js → chunk-CM57A2GS.js} +2 -2
- package/dist/{chunk-HPUXHSKR.js → chunk-CTQALHJM.js} +2 -2
- package/dist/{chunk-WC7EDJHC.js → chunk-CY6EJUNV.js} +1 -1
- package/dist/{chunk-JLUFPUIL.js → chunk-EA2PZ3EU.js} +2 -2
- package/dist/{chunk-NSMSOIEW.js → chunk-EUJR5QQC.js} +2 -2
- package/dist/{chunk-RXBLWQQI.js → chunk-EZJ3OD5A.js} +2 -2
- package/dist/{chunk-SOXXBQ4P.js → chunk-F6ICOU6R.js} +2 -2
- package/dist/{chunk-D4EVJN2P.js → chunk-FTKHARBY.js} +2 -2
- package/dist/{chunk-LK5ZIAIE.js → chunk-GSLOK5KV.js} +8 -1
- package/dist/{chunk-EZTBWWMS.js → chunk-HSCGVBQN.js} +2 -2
- package/dist/{chunk-Z5I2T75Z.js → chunk-HXIEK5L6.js} +6 -2
- package/dist/{chunk-I7JMGCV6.js → chunk-ICBC5VLZ.js} +2 -2
- package/dist/{chunk-C4CQH7UD.js → chunk-IJZ5YPYT.js} +1 -1
- package/dist/{chunk-WWQO7QKV.js → chunk-IKREWSCX.js} +2 -2
- package/dist/{chunk-XQDXQ7WG.js → chunk-IVCHWQY7.js} +2 -2
- package/dist/{chunk-ZKJXGQCR.js → chunk-JB6BPIVP.js} +2 -2
- package/dist/{chunk-3PV6QTKF.js → chunk-JUTPAFDP.js} +1 -1
- package/dist/{chunk-HTZTBXKL.js → chunk-KHLOVRMQ.js} +2 -2
- package/dist/{chunk-IKI5FBNO.js → chunk-L6DF76E2.js} +2 -2
- package/dist/{chunk-7PCMTV6J.js → chunk-LDKJDNSW.js} +1 -1
- package/dist/{chunk-22FKOLMX.js → chunk-M6STMJ2V.js} +2 -2
- package/dist/{chunk-RRXJNZX5.js → chunk-NH6OLO3X.js} +46 -0
- package/dist/{chunk-26HTTVJN.js → chunk-O34JPX6Q.js} +2 -2
- package/dist/{chunk-YD2ZPFT7.js → chunk-PKLHOQSO.js} +2 -2
- package/dist/{chunk-DPJ4T2LQ.js → chunk-QH7RZEHT.js} +2 -2
- package/dist/{chunk-S6JWYPVW.js → chunk-QOTR4SGT.js} +2 -2
- package/dist/{chunk-52DR23IW.js → chunk-QVGTYLL3.js} +2 -2
- package/dist/{chunk-IA23CLGV.js → chunk-R2AZXT3D.js} +2 -2
- package/dist/{chunk-YSD4NSCE.js → chunk-RAJNAD64.js} +2 -2
- package/dist/{chunk-JA56EQJO.js → chunk-RLRAWZJE.js} +1 -1
- package/dist/{chunk-ZKVRGKLM.js → chunk-RRIRY7FP.js} +3 -3
- package/dist/{chunk-GCTONBF6.js → chunk-TH2BJPDZ.js} +1 -1
- package/dist/{chunk-6ZUJID52.js → chunk-TOQ2LBAN.js} +2 -2
- package/dist/{chunk-SMYZILJ6.js → chunk-UFV5QWCL.js} +3 -3
- package/dist/{chunk-QDLWTOII.js → chunk-WOBZDEKQ.js} +2 -2
- package/dist/{chunk-S5RP5RKY.js → chunk-WOEFYS7Y.js} +16 -1
- package/dist/{chunk-W3QOEPUN.js → chunk-WQRBUG65.js} +1 -1
- package/dist/{chunk-57UZYV3L.js → chunk-XFOUIAJF.js} +1 -1
- package/dist/{chunk-OIWW5TG3.js → chunk-XP3VSSXD.js} +2 -2
- package/dist/{chunk-YHO7GNZK.js → chunk-Y2XWK7AA.js} +2 -2
- package/dist/{chunk-Q6VTTPG4.js → chunk-YFLL3CME.js} +1 -1
- package/dist/{chunk-EN6XTVLZ.js → chunk-YRFCXKJC.js} +2 -2
- package/dist/{chunk-DP4Q2HMO.js → chunk-ZEMCCIIO.js} +2 -2
- package/dist/{chunk-XJBDESCX.js → chunk-ZNHLH7SC.js} +1 -1
- package/dist/{clone-CU6rTzC0.d.ts → clone-rOJgldM-.d.ts} +3 -3
- package/dist/comment-2AS6EGH3.js +10 -0
- package/dist/{crm-AFJSSPHK.js → crm-VIJIXKFO.js} +4 -4
- package/dist/dashboard-BDKJKEGQ.js +10 -0
- package/dist/database/index.d.ts +5 -5
- package/dist/database/index.js +12 -10
- package/dist/database-VJSYCFXH.js +10 -0
- package/dist/database-field-JTTDAN4A.js +10 -0
- package/dist/database-row-NFINK37Z.js +10 -0
- package/dist/database-select-option-TYDAHMXK.js +10 -0
- package/dist/database-view-3OHCI5YK.js +10 -0
- package/dist/debug-report-JFSUVHHJ.js +10 -0
- package/dist/{draft-KGHITKX2.js → draft-T5KDLPC4.js} +2 -2
- package/dist/experiment-ZEUCF3B7.js +10 -0
- package/dist/{external-item-ZVD33IXV.js → external-item-K7MZNXKZ.js} +4 -4
- package/dist/{external-reference-LGFNVEKC.js → external-reference-NWFUYRF3.js} +2 -2
- package/dist/feed-WR4A7XUF.js +12 -0
- package/dist/{feed-item-QXRIE6FU.js → feed-item-S7XTCRWW.js} +4 -4
- package/dist/{folder-NU5TJFOT.js → folder-D4IL7UHP.js} +2 -2
- package/dist/{form-types-xc7NdHaW.d.ts → form-types-BrHYdpi0.d.ts} +18 -3
- package/dist/{game-7WW2JX6O.js → game-NEQP7OFX.js} +4 -4
- package/dist/{grant-W772T6FE.js → grant-LNTRVBUG.js} +2 -2
- package/dist/{grant-expiration-cleaner-B_Q2pncC.d.ts → grant-expiration-cleaner-CRS9OyhV.d.ts} +2 -2
- package/dist/{import-batch-ZRU4FY6Y.js → import-batch-4AI3Q2HT.js} +4 -4
- package/dist/{inbox-state-IO5C7HVE.js → inbox-state-4XQSSHUQ.js} +2 -2
- package/dist/index.d.ts +8 -8
- package/dist/index.js +92 -76
- package/dist/map-TDNNBSMU.js +10 -0
- package/dist/{media-asset-VHFL65HI.js → media-asset-BQOGFRJZ.js} +2 -2
- package/dist/{meeting-PVNKBGTI.js → meeting-XQWTQK7J.js} +4 -4
- package/dist/{memory-5PD3XCKB.js → memory-PAPUIKWD.js} +2 -2
- package/dist/metric-ZZ3C6T2W.js +10 -0
- package/dist/{milestone-MZAZCWGR.js → milestone-HACU5NDB.js} +4 -4
- package/dist/{moderation-CXQB77CP.js → moderation-HRMMBFVH.js} +2 -2
- package/dist/observation-MVIQQNYJ.js +10 -0
- package/dist/page-RUS2BKMX.js +10 -0
- package/dist/{posting-5VZZMOKS.js → posting-ZQRTWYSE.js} +4 -4
- package/dist/{profile-USKJ6PN7.js → profile-5H6XWCK4.js} +2 -2
- package/dist/project-PBEJY4LU.js +10 -0
- package/dist/{query-ast-Bn3-oRUo.d.ts → query-ast-DQJO7yRV.d.ts} +1 -1
- package/dist/reaction-MRZHOGPW.js +10 -0
- package/dist/{registry-Wk8Rt0kh.d.ts → registry-C9IRLLeR.d.ts} +1 -1
- package/dist/saved-view-NQ7QS2YM.js +10 -0
- package/dist/schema/index.d.ts +144 -13
- package/dist/schema/index.js +87 -73
- package/dist/{schema-extension-DV5D7JCQ.js → schema-extension-3AYLTMFL.js} +4 -4
- package/dist/{space-THD2MWHR.js → space-GBTEHZOK.js} +5 -5
- package/dist/{space-membership-M3QFMONE.js → space-membership-PS2O5TEQ.js} +2 -2
- package/dist/store/index.d.ts +4 -4
- package/dist/store/index.js +6 -4
- package/dist/{store-CyGU48TX.d.ts → store-BYkdPZRJ.d.ts} +9 -1
- package/dist/{system-LFIMY3QQ.js → system-X2F6HN3K.js} +2 -2
- package/dist/{tag-W7ZYPXHK.js → tag-LHP2J53R.js} +2 -2
- package/dist/{task-DHTPD66H.js → task-YLRF5NBH.js} +4 -4
- package/dist/task-view-YUGGCX7N.js +10 -0
- package/dist/{transaction-ANNDXCJM.js → transaction-XVDTENOA.js} +4 -4
- package/dist/{transcription-DFTQ4FQ4.js → transcription-H5COCUFG.js} +4 -4
- package/dist/{types-BFnYlC8Z.d.ts → types-gws1tSf-.d.ts} +1 -1
- package/dist/{user-widget-5IRVORF3.js → user-widget-Q4A2BKRN.js} +2 -2
- package/dist/{workspace-RC4V4IF3.js → workspace-CGRCQCJN.js} +2 -2
- package/package.json +7 -7
- package/dist/canvas-NQBTRNLS.js +0 -10
- package/dist/channel-474QAZGP.js +0 -12
- package/dist/chat-message-LGLCITLE.js +0 -10
- package/dist/comment-IAZJHG6G.js +0 -10
- package/dist/dashboard-2DLFZM2J.js +0 -10
- package/dist/database-5M7ZA33U.js +0 -10
- package/dist/database-field-IFUWOK7X.js +0 -10
- package/dist/database-row-C52KCOPB.js +0 -10
- package/dist/database-select-option-AEAPKXEE.js +0 -10
- package/dist/database-view-NMG3AGXK.js +0 -10
- package/dist/debug-report-BTNZAKX3.js +0 -10
- package/dist/experiment-JXHENWXV.js +0 -10
- package/dist/feed-CLEHVA6Q.js +0 -12
- package/dist/map-BZAVGCR6.js +0 -10
- package/dist/metric-6IGGFJMB.js +0 -10
- package/dist/observation-O3DLKVIH.js +0 -10
- package/dist/page-UE5NPYEF.js +0 -10
- package/dist/project-UHGGEFLP.js +0 -10
- package/dist/reaction-KD3G75UH.js +0 -10
- package/dist/saved-view-AZTUINZA.js +0 -10
- package/dist/task-view-J2WRE62C.js +0 -10
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
spaceCascadeAuthorization
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RLRAWZJE.js";
|
|
4
4
|
import {
|
|
5
5
|
defineSchema,
|
|
6
6
|
file,
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
relation,
|
|
9
9
|
select,
|
|
10
10
|
text
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-NH6OLO3X.js";
|
|
12
12
|
|
|
13
13
|
// src/schema/schemas/database.ts
|
|
14
14
|
var DatabaseSchema = defineSchema({
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
spaceCascadeAuthorization
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RLRAWZJE.js";
|
|
4
4
|
import {
|
|
5
5
|
defineSchema,
|
|
6
6
|
money,
|
|
7
7
|
relation,
|
|
8
8
|
select,
|
|
9
9
|
text
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-NH6OLO3X.js";
|
|
11
11
|
|
|
12
12
|
// src/schema/schemas/budget.ts
|
|
13
13
|
var BUDGET_SCHEMA_IRI = "xnet://xnet.fyi/Budget@1.0.0";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
spaceCascadeAuthorization
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RLRAWZJE.js";
|
|
4
4
|
import {
|
|
5
5
|
checkbox,
|
|
6
6
|
defineSchema,
|
|
7
7
|
relation,
|
|
8
8
|
select,
|
|
9
9
|
text
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-NH6OLO3X.js";
|
|
11
11
|
|
|
12
12
|
// src/schema/schemas/account.ts
|
|
13
13
|
var ACCOUNT_SCHEMA_IRI = "xnet://xnet.fyi/Account@1.0.0";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
spaceCascadeAuthorization
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RLRAWZJE.js";
|
|
4
4
|
import {
|
|
5
5
|
date,
|
|
6
6
|
defineSchema,
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
relation,
|
|
9
9
|
select,
|
|
10
10
|
text
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-NH6OLO3X.js";
|
|
12
12
|
|
|
13
13
|
// src/schema/schemas/import-batch.ts
|
|
14
14
|
var IMPORT_BATCH_SCHEMA_IRI = "xnet://xnet.fyi/ImportBatch@1.0.0";
|
|
@@ -462,6 +462,50 @@ function dateRange(options = {}) {
|
|
|
462
462
|
};
|
|
463
463
|
}
|
|
464
464
|
|
|
465
|
+
// src/schema/properties/geo.ts
|
|
466
|
+
function isGeoPoint(value) {
|
|
467
|
+
if (value === null || typeof value !== "object") return false;
|
|
468
|
+
const v = value;
|
|
469
|
+
return typeof v.lat === "number" && Number.isFinite(v.lat) && Math.abs(v.lat) <= 90 && typeof v.lng === "number" && Number.isFinite(v.lng) && Math.abs(v.lng) <= 180;
|
|
470
|
+
}
|
|
471
|
+
function geo(options = {}) {
|
|
472
|
+
return {
|
|
473
|
+
definition: {
|
|
474
|
+
type: "geo",
|
|
475
|
+
required: options.required ?? false
|
|
476
|
+
},
|
|
477
|
+
validate(value) {
|
|
478
|
+
if (value === null || value === void 0) {
|
|
479
|
+
return !options.required;
|
|
480
|
+
}
|
|
481
|
+
return isGeoPoint(value);
|
|
482
|
+
},
|
|
483
|
+
coerce(value) {
|
|
484
|
+
if (value === null || value === void 0) return null;
|
|
485
|
+
if (isGeoPoint(value)) {
|
|
486
|
+
return { lat: value.lat, lng: value.lng };
|
|
487
|
+
}
|
|
488
|
+
if (typeof value === "object") {
|
|
489
|
+
const obj = value;
|
|
490
|
+
const candidate = {
|
|
491
|
+
lat: obj.lat ?? obj.latitude,
|
|
492
|
+
lng: obj.lng ?? obj.lon ?? obj.longitude
|
|
493
|
+
};
|
|
494
|
+
if (isGeoPoint(candidate)) return candidate;
|
|
495
|
+
}
|
|
496
|
+
if (typeof value === "string") {
|
|
497
|
+
const parts = value.split(",").map((s) => Number(s.trim()));
|
|
498
|
+
if (parts.length === 2) {
|
|
499
|
+
const candidate = { lat: parts[0], lng: parts[1] };
|
|
500
|
+
if (isGeoPoint(candidate)) return candidate;
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
return null;
|
|
504
|
+
},
|
|
505
|
+
_type: {}
|
|
506
|
+
};
|
|
507
|
+
}
|
|
508
|
+
|
|
465
509
|
// src/schema/properties/select.ts
|
|
466
510
|
function select(options) {
|
|
467
511
|
const validIds = new Set(options.options.map((o) => o.id));
|
|
@@ -882,6 +926,8 @@ export {
|
|
|
882
926
|
money,
|
|
883
927
|
date,
|
|
884
928
|
dateRange,
|
|
929
|
+
isGeoPoint,
|
|
930
|
+
geo,
|
|
885
931
|
select,
|
|
886
932
|
multiSelect,
|
|
887
933
|
person,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
spaceCascadeAuthorization
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RLRAWZJE.js";
|
|
4
4
|
import {
|
|
5
5
|
defineSchema,
|
|
6
6
|
relation,
|
|
7
7
|
select,
|
|
8
8
|
text
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-NH6OLO3X.js";
|
|
10
10
|
|
|
11
11
|
// src/schema/schemas/canvas.ts
|
|
12
12
|
var CanvasSchema = defineSchema({
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
spaceCascadeAuthorization
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RLRAWZJE.js";
|
|
4
4
|
import {
|
|
5
5
|
date,
|
|
6
6
|
defineSchema,
|
|
7
7
|
relation,
|
|
8
8
|
select,
|
|
9
9
|
text
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-NH6OLO3X.js";
|
|
11
11
|
|
|
12
12
|
// src/schema/schemas/transaction.ts
|
|
13
13
|
var TRANSACTION_SCHEMA_IRI = "xnet://xnet.fyi/Transaction@1.0.0";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
spaceCascadeAuthorization
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RLRAWZJE.js";
|
|
4
4
|
import {
|
|
5
5
|
created,
|
|
6
6
|
createdBy,
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
relation,
|
|
10
10
|
text,
|
|
11
11
|
url
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-NH6OLO3X.js";
|
|
13
13
|
|
|
14
14
|
// src/schema/schemas/feed-item.ts
|
|
15
15
|
var FEED_ITEM_SCHEMA_IRI = "xnet://xnet.fyi/FeedItem@1.0.0";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
spaceCascadeAuthorization
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RLRAWZJE.js";
|
|
4
4
|
import {
|
|
5
5
|
defineSchema,
|
|
6
6
|
file,
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
relation,
|
|
10
10
|
select,
|
|
11
11
|
text
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-NH6OLO3X.js";
|
|
13
13
|
|
|
14
14
|
// src/schema/schemas/meeting.ts
|
|
15
15
|
var MEETING_SCHEMA_IRI = "xnet://xnet.fyi/Meeting@1.0.0";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
spaceCascadeAuthorization
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RLRAWZJE.js";
|
|
4
4
|
import {
|
|
5
5
|
defineSchema,
|
|
6
6
|
json,
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
relation,
|
|
9
9
|
select,
|
|
10
10
|
text
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-NH6OLO3X.js";
|
|
12
12
|
|
|
13
13
|
// src/schema/schemas/metric.ts
|
|
14
14
|
var MetricSchema = defineSchema({
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
spaceCascadeAuthorization
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RLRAWZJE.js";
|
|
4
4
|
import {
|
|
5
5
|
date,
|
|
6
6
|
defineSchema,
|
|
7
7
|
relation,
|
|
8
8
|
select,
|
|
9
9
|
text
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-NH6OLO3X.js";
|
|
11
11
|
|
|
12
12
|
// src/schema/schemas/milestone.ts
|
|
13
13
|
var MILESTONE_SCHEMA_IRI = "xnet://xnet.fyi/Milestone@1.0.0";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
spaceCascadeAuthorization
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RLRAWZJE.js";
|
|
4
4
|
import {
|
|
5
5
|
created,
|
|
6
6
|
createdBy,
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
relation,
|
|
10
10
|
select,
|
|
11
11
|
text
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-NH6OLO3X.js";
|
|
13
13
|
|
|
14
14
|
// src/schema/schemas/reaction.ts
|
|
15
15
|
var reactionTypes = [
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
folderAncestorIds,
|
|
5
5
|
folderPathIds,
|
|
6
6
|
wouldCreateFolderCycle
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-IJZ5YPYT.js";
|
|
8
8
|
import {
|
|
9
9
|
spaceOwnAuthorization
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-RLRAWZJE.js";
|
|
11
11
|
import {
|
|
12
12
|
checkbox,
|
|
13
13
|
created,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
relation,
|
|
18
18
|
select,
|
|
19
19
|
text
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-NH6OLO3X.js";
|
|
21
21
|
|
|
22
22
|
// src/schema/schemas/space.ts
|
|
23
23
|
var SPACE_SCHEMA_IRI = "xnet://xnet.fyi/Space@1.0.0";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
spaceContributorAuthorization
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RLRAWZJE.js";
|
|
4
4
|
import {
|
|
5
5
|
created,
|
|
6
6
|
createdBy,
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
json,
|
|
9
9
|
relation,
|
|
10
10
|
text
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-NH6OLO3X.js";
|
|
12
12
|
|
|
13
13
|
// src/schema/schemas/checkpoint.ts
|
|
14
14
|
var CHECKPOINT_SCHEMA_IRI = "xnet://xnet.fyi/Checkpoint@1.0.0";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
spaceCascadeAuthorization
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RLRAWZJE.js";
|
|
4
4
|
import {
|
|
5
5
|
checkbox,
|
|
6
6
|
defineSchema,
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
relation,
|
|
9
9
|
select,
|
|
10
10
|
text
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-NH6OLO3X.js";
|
|
12
12
|
|
|
13
13
|
// src/schema/schemas/database-view.ts
|
|
14
14
|
var DatabaseViewSchema = defineSchema({
|
|
@@ -78,7 +78,7 @@ var DatabaseViewSchema = defineSchema({
|
|
|
78
78
|
dateField: text({ maxLength: 100 }),
|
|
79
79
|
/** End date field ID */
|
|
80
80
|
endDateField: text({ maxLength: 100 }),
|
|
81
|
-
// Map specific (exploration
|
|
81
|
+
// Map specific (exploration 0339)
|
|
82
82
|
/** Latitude field ID (number field) */
|
|
83
83
|
latField: text({ maxLength: 100 }),
|
|
84
84
|
/** Longitude field ID (number field) */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
spaceCascadeAuthorization
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RLRAWZJE.js";
|
|
4
4
|
import {
|
|
5
5
|
checkbox,
|
|
6
6
|
date,
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
select,
|
|
14
14
|
text,
|
|
15
15
|
url
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-NH6OLO3X.js";
|
|
17
17
|
|
|
18
18
|
// src/schema/schemas/crm.ts
|
|
19
19
|
var CRM_NAMESPACE = "xnet://xnet.fyi/";
|
|
@@ -227,7 +227,22 @@ function getNumericProperty(properties, key) {
|
|
|
227
227
|
return null;
|
|
228
228
|
}
|
|
229
229
|
const value = properties[key];
|
|
230
|
-
|
|
230
|
+
if (typeof value === "number" && Number.isFinite(value)) {
|
|
231
|
+
return value;
|
|
232
|
+
}
|
|
233
|
+
if (value === void 0) {
|
|
234
|
+
const dot = key.indexOf(".");
|
|
235
|
+
if (dot > 0) {
|
|
236
|
+
const parent = properties[key.slice(0, dot)];
|
|
237
|
+
if (typeof parent === "object" && parent !== null && !Array.isArray(parent)) {
|
|
238
|
+
const sub = parent[key.slice(dot + 1)];
|
|
239
|
+
if (typeof sub === "number" && Number.isFinite(sub)) {
|
|
240
|
+
return sub;
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
return null;
|
|
231
246
|
}
|
|
232
247
|
function matchesSpatialFilter(descriptor, node) {
|
|
233
248
|
const spatial = descriptor.spatial;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
spaceCascadeAuthorization
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RLRAWZJE.js";
|
|
4
4
|
import {
|
|
5
5
|
defineSchema,
|
|
6
6
|
relation,
|
|
7
7
|
text
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-NH6OLO3X.js";
|
|
9
9
|
|
|
10
10
|
// src/schema/schemas/database-select-option.ts
|
|
11
11
|
var DatabaseSelectOptionSchema = defineSchema({
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
spaceCascadeAuthorization
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RLRAWZJE.js";
|
|
4
4
|
import {
|
|
5
5
|
defineSchema,
|
|
6
6
|
file,
|
|
7
7
|
relation,
|
|
8
8
|
select,
|
|
9
9
|
text
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-NH6OLO3X.js";
|
|
11
11
|
|
|
12
12
|
// src/schema/schemas/page.ts
|
|
13
13
|
var PageSchema = defineSchema({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
spaceCascadeAuthorization
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RLRAWZJE.js";
|
|
4
4
|
import {
|
|
5
5
|
date,
|
|
6
6
|
defineSchema,
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
relation,
|
|
12
12
|
select,
|
|
13
13
|
text
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-NH6OLO3X.js";
|
|
15
15
|
|
|
16
16
|
// src/schema/schemas/game.ts
|
|
17
17
|
var GAME_NAMESPACE = "xnet://xnet.fyi/";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
spaceCascadeAuthorization
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RLRAWZJE.js";
|
|
4
4
|
import {
|
|
5
5
|
date,
|
|
6
6
|
defineSchema,
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
relation,
|
|
10
10
|
select,
|
|
11
11
|
text
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-NH6OLO3X.js";
|
|
13
13
|
|
|
14
14
|
// src/schema/schemas/observation.ts
|
|
15
15
|
var ObservationSchema = defineSchema({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { C as CellValue,
|
|
2
|
-
import { ar as NodeQueryMaterializedViewOptions, h as NodeState, E as PropertyType, S as SchemaIRI, a as Schema } from './types-
|
|
3
|
-
import { N as NodeStore } from './store-
|
|
1
|
+
import { C as CellValue, a9 as FormSubmissionMeta, H as ColumnDefinition, j as FieldType, k as FieldConfig, M as SelectColor, l as FieldNode, S as SelectOptionNode, W as ViewType, Y as FilterGroup, $ as SortConfig, X as ViewConfig, E as ColumnType, _ as FilterOperator, O as RollupAggregation, m as RollupColumnConfig } from './form-types-BrHYdpi0.js';
|
|
2
|
+
import { ar as NodeQueryMaterializedViewOptions, h as NodeState, E as PropertyType, S as SchemaIRI, a as Schema } from './types-gws1tSf-.js';
|
|
3
|
+
import { N as NodeStore } from './store-BYkdPZRJ.js';
|
|
4
4
|
import * as Y from 'yjs';
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -29,10 +29,10 @@ import {
|
|
|
29
29
|
STAGE_SCHEMA_IRI,
|
|
30
30
|
StageSchema,
|
|
31
31
|
crmSchemas
|
|
32
|
-
} from "./chunk-
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
32
|
+
} from "./chunk-WOBZDEKQ.js";
|
|
33
|
+
import "./chunk-RLRAWZJE.js";
|
|
34
|
+
import "./chunk-GSLOK5KV.js";
|
|
35
|
+
import "./chunk-NH6OLO3X.js";
|
|
36
36
|
import "./chunk-D4LUUZYD.js";
|
|
37
37
|
export {
|
|
38
38
|
ACTIVITY_KINDS,
|
package/dist/database/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { a as CELL_PREFIX, C as CellValue,
|
|
3
|
-
export { cD as CloneSchemaOptions, cE as CloneSchemaResult, cF as CloneSourceData, ax as ConvertContext, ay as ConvertedCell, cx as CreateDatabaseSchemaResolverOptions, O as CreateExtensionFieldOptions, w as CreateFieldOptions, C as CreateRowOptions, x as CreateSelectOptionOptions, Z as CreateViewOptions, b8 as CsvExportOptions, aV as CsvParseOptions, cm as DATABASE_SCHEMA_NAMESPACE, cn as DATABASE_SCHEMA_PREFIX, ag as DEFAULT_DATABASE_SCHEMA_VERSION, au as DatabaseDocumentModel, D as DatabaseRowNode, cp as DatabaseSchemaMetadata, cw as DocFetcher, N as EnsureExtensionOptions, b7 as ExportRow, bb as ExportedColumn, ba as ExportedJSON, bQ as FilterableRow, aH as FormulaRow, aF as FormulaService, aI as FormulaValidationResult, c2 as GroupAggregates, c0 as GroupConfig, b$ as GroupableRow, aX as InferredColumn, b9 as JsonExportOptions, aY as JsonParseOptions, M as MAX_KEY_LENGTH, co as MAX_VERSION_HISTORY, bF as OPERATORS_BY_TYPE, bG as OPERATOR_LABELS, aU as ParsedCSV, aW as ParsedJSON, ca as QueryOptions, cb as QueryResult, Q as QueryRowsOptions, a as QueryRowsResult, c9 as QueryableRow, R as RICHTEXT_PREFIX, aE as RollupContext, aD as RollupRow, c1 as RowGroup, cr as SchemaVersionEntry, af as SetupDatabaseResult, bW as SortableRow, cq as StoredColumn, U as UpdateFieldOptions, _ as UpdateViewOptions, cs as VersionBumpType, Y as ViewNode, ao as addDefaultTableView, an as addDefaultTitleColumn, bU as addOrToggleSort, bv as addViewSort, az as aggregate, aB as batchComputeRollups, ci as buildDatabaseSchema, ai as buildSchemaFromFields, cc as buildSchemaIRI, cg as bumpSchemaVersion, aw as cellValueToText, e as checkNeedsRebalancing, bt as clearViewFilters, bx as clearViewSorts, cz as cloneColumns, cA as cloneSampleRows, cy as cloneSchema, b_ as collapseAllGroups, bO as combineFiltersAnd, bP as combineFiltersOr, j as compareSortKeys, aA as computeRollup, av as convertCellValue, bN as createAnyOfFilter, bg as createColumn, b0 as createCsvBlob, ct as createDatabaseSchemaResolver, bM as createEqualsFilter, J as createExtensionField, B as createField, c4 as createFilterQuery, aG as createFormulaService, ch as createInitialSchemaMetadata, b5 as createJsonBlob, ak as createNodeDatabaseSchemaResolver, c6 as createPaginatedQuery, c as createRow, T as createSelectOption, bS as createSort, c5 as createSortQuery, cj as createVersionEntry, bo as createView, a1 as createViewNode, bi as deleteColumn, L as deleteExtensionField, F as deleteField, as as deleteMeta, t as deleteRichTextCell, d as deleteRow, W as deleteSelectOption, bq as deleteView, a3 as deleteViewNode, b1 as downloadCsv, b6 as downloadJson, bk as duplicateColumn, H as duplicateField, br as duplicateView, a4 as duplicateViewNode, ad as effectiveFieldSortKey, I as ensureSchemaExtension, a_ as escapeCSV, c3 as executeQuery, bZ as expandAllGroups, aZ as exportToCsv, b2 as exportToJson, b3 as exportToJsonArray, b4 as exportToNdjson, cu as extractSchemaFromDoc, ah as fieldsToStoredColumns, bL as filterRows, c7 as flattenGroups, a$ as formatValue, cB as generateColumnIdMap, f as generateSortKey, h as generateSortKeyWithJitter, cI as getAggregationResultType, bd as getColumn, be as getColumnIndex, bc as getColumns, at as getDatabaseDocumentModel, aj as getDatabaseSchemaIRI, S as getDatabaseSelectOptions, cG as getEmptyValue, z as getField, y as getFields, aq as getMeta, bJ as getOperatorLabel, bH as getOperatorsForType, l as getRichTextCell, s as getRichTextColumnIds, v as getRichTextPlainText, g as getRow, cv as getSchemaIRIFromDoc, P as getSelectOptions, bf as getTitleColumn, A as getTitleField, c8 as getTotalFromGroups, cl as getVersionBumpType, bm as getView, bn as getViewByType, a0 as getViewNode, $ as getViewNodes, bl as getViews, bX as groupRows, aL as guessColumnType, p as hasRichTextColumns, o as hasRichTextContent, bC as hideColumn, aO as inferColumnTypes, aQ as inferColumnsFromRows, aR as inferTypeFromValues, al as initializeDatabaseDoc, am as isDatabaseDocInitialized, ce as isDatabaseSchemaIRI, cH as isNumericAggregation, bI as isValidOperator, i as isValidSortKey, G as moveField, m as moveRow, X as moveSelectOption, a5 as moveView, n as needsRebalancing, bK as operatorRequiresValue, aJ as parseCSV, aK as parseCSVLine, cd as parseDatabaseSchemaIRI, aP as parseJSON, aN as parseRow, aM as parseValue, cf as parseVersion, ck as pruneVersionHistory, q as queryRows, r as rebalanceDatabase, k as rebalanceSortKeys, cC as remapViewColumnIds, bV as removeSort, bw as removeViewSort, K as renameExtensionField, bj as reorderColumn, bD as reorderViewColumns, bE as setColumnWidth, aa as setFieldHidden, ar as setMeta, ac as setViewFieldOrder, ab as setViewFieldWidth, bs as setViewFilters, by as setViewGroupBy, a6 as setViewNodeFilters, a8 as setViewNodeGroupBy, a7 as setViewNodeSorts, bu as setViewSorts, bA as setVisibleColumns, ae as setupDatabase, ap as setupNewDatabase, bB as showColumn, bR as sortRows, aS as toColumnDefinitions, bz as toggleGroupCollapsed, bY as toggleGroupCollapsedState, bT as toggleSortDirection, a9 as toggleViewGroupCollapsed, u as updateCell, b as updateCells, bh as updateColumn, E as updateField, V as updateSelectOption, bp as updateView, a2 as updateViewNode, aT as validateJsonData, aC as validateRollupConfig } from '../clone-
|
|
4
|
-
import '../types-
|
|
1
|
+
import { Y as FilterGroup, H as ColumnDefinition, E as ColumnType, W as ViewType, $ as SortConfig } from '../form-types-BrHYdpi0.js';
|
|
2
|
+
export { a as CELL_PREFIX, C as CellValue, I as ColumnConfig, as as ColumnSummaryResult, av as DEFAULT_ROW_HEIGHT, o as DateColumnConfig, o as DateFieldConfig, D as DateRange, J as EmptyConfig, q as FIELD_TYPES, k as FieldConfig, l as FieldNode, j as FieldType, p as FileColumnConfig, p as FileFieldConfig, F as FileRef, Z as FilterCondition, _ as FilterOperator, a8 as FormAudience, a5 as FormConfirmation, a7 as FormFieldRule, a4 as FormQuestion, a9 as FormSubmissionMeta, aa as FormValidationError, ab as FormValidationResult, a6 as FormViewConfig, n as FormulaColumnConfig, n as FormulaFieldConfig, G as GeoPoint, N as NumberColumnConfig, N as NumberFieldConfig, ae as PUBLIC_SAFE_FORM_FIELD_TYPES, ad as PublicFormDefinition, ac as PublicFormQuestion, au as ROW_HEIGHTS, at as ROW_HEIGHT_PX, R as RelationColumnConfig, R as RelationFieldConfig, O as RollupAggregation, m as RollupColumnConfig, m as RollupFieldConfig, az as RowHeight, r as SELECT_COLORS, al as SUMMARY_FUNCTIONS_BY_TYPE, M as SelectColor, K as SelectColumnConfig, L as SelectOption, S as SelectOptionNode, ar as SummaryColumnLike, ap as SummaryFunction, aq as SummaryRow, T as TextColumnConfig, T as TextFieldConfig, X as ViewConfig, ay as asRowHeight, v as autoColor, aj as buildPublicFormDefinition, c as cellKey, b as columnIdFromKey, ao as computeColumnSummary, f as fromCellProperties, U as isAutoColumnType, y as isAutoFieldType, i as isCellKey, h as isCellValue, Q as isComputedColumnType, x as isComputedFieldType, d as isDateRange, s as isFieldType, e as isFileRef, an as isFilledValue, a1 as isFilterCondition, a0 as isFilterGroup, af as isFormFieldTypeAllowed, ag as isFormQuestionVisible, g as isGeoPoint, P as isNodeStoreColumnType, w as isNodeStoreFieldType, u as isSelectColor, V as isYDocColumnType, z as isYDocFieldType, a3 as requiresDateColumn, ax as resolveRowHeightPx, aw as rowHeightLabel, ak as submissionRowId, am as summaryFunctionLabel, a2 as supportsGrouping, t as toCellProperties, A as toFieldNode, B as toSelectOptionNode, ai as validateFormSubmission, ah as visibleFormQuestions } from '../form-types-BrHYdpi0.js';
|
|
3
|
+
export { cD as CloneSchemaOptions, cE as CloneSchemaResult, cF as CloneSourceData, ax as ConvertContext, ay as ConvertedCell, cx as CreateDatabaseSchemaResolverOptions, O as CreateExtensionFieldOptions, w as CreateFieldOptions, C as CreateRowOptions, x as CreateSelectOptionOptions, Z as CreateViewOptions, b8 as CsvExportOptions, aV as CsvParseOptions, cm as DATABASE_SCHEMA_NAMESPACE, cn as DATABASE_SCHEMA_PREFIX, ag as DEFAULT_DATABASE_SCHEMA_VERSION, au as DatabaseDocumentModel, D as DatabaseRowNode, cp as DatabaseSchemaMetadata, cw as DocFetcher, N as EnsureExtensionOptions, b7 as ExportRow, bb as ExportedColumn, ba as ExportedJSON, bQ as FilterableRow, aH as FormulaRow, aF as FormulaService, aI as FormulaValidationResult, c2 as GroupAggregates, c0 as GroupConfig, b$ as GroupableRow, aX as InferredColumn, b9 as JsonExportOptions, aY as JsonParseOptions, M as MAX_KEY_LENGTH, co as MAX_VERSION_HISTORY, bF as OPERATORS_BY_TYPE, bG as OPERATOR_LABELS, aU as ParsedCSV, aW as ParsedJSON, ca as QueryOptions, cb as QueryResult, Q as QueryRowsOptions, a as QueryRowsResult, c9 as QueryableRow, R as RICHTEXT_PREFIX, aE as RollupContext, aD as RollupRow, c1 as RowGroup, cr as SchemaVersionEntry, af as SetupDatabaseResult, bW as SortableRow, cq as StoredColumn, U as UpdateFieldOptions, _ as UpdateViewOptions, cs as VersionBumpType, Y as ViewNode, ao as addDefaultTableView, an as addDefaultTitleColumn, bU as addOrToggleSort, bv as addViewSort, az as aggregate, aB as batchComputeRollups, ci as buildDatabaseSchema, ai as buildSchemaFromFields, cc as buildSchemaIRI, cg as bumpSchemaVersion, aw as cellValueToText, e as checkNeedsRebalancing, bt as clearViewFilters, bx as clearViewSorts, cz as cloneColumns, cA as cloneSampleRows, cy as cloneSchema, b_ as collapseAllGroups, bO as combineFiltersAnd, bP as combineFiltersOr, j as compareSortKeys, aA as computeRollup, av as convertCellValue, bN as createAnyOfFilter, bg as createColumn, b0 as createCsvBlob, ct as createDatabaseSchemaResolver, bM as createEqualsFilter, J as createExtensionField, B as createField, c4 as createFilterQuery, aG as createFormulaService, ch as createInitialSchemaMetadata, b5 as createJsonBlob, ak as createNodeDatabaseSchemaResolver, c6 as createPaginatedQuery, c as createRow, T as createSelectOption, bS as createSort, c5 as createSortQuery, cj as createVersionEntry, bo as createView, a1 as createViewNode, bi as deleteColumn, L as deleteExtensionField, F as deleteField, as as deleteMeta, t as deleteRichTextCell, d as deleteRow, W as deleteSelectOption, bq as deleteView, a3 as deleteViewNode, b1 as downloadCsv, b6 as downloadJson, bk as duplicateColumn, H as duplicateField, br as duplicateView, a4 as duplicateViewNode, ad as effectiveFieldSortKey, I as ensureSchemaExtension, a_ as escapeCSV, c3 as executeQuery, bZ as expandAllGroups, aZ as exportToCsv, b2 as exportToJson, b3 as exportToJsonArray, b4 as exportToNdjson, cu as extractSchemaFromDoc, ah as fieldsToStoredColumns, bL as filterRows, c7 as flattenGroups, a$ as formatValue, cB as generateColumnIdMap, f as generateSortKey, h as generateSortKeyWithJitter, cI as getAggregationResultType, bd as getColumn, be as getColumnIndex, bc as getColumns, at as getDatabaseDocumentModel, aj as getDatabaseSchemaIRI, S as getDatabaseSelectOptions, cG as getEmptyValue, z as getField, y as getFields, aq as getMeta, bJ as getOperatorLabel, bH as getOperatorsForType, l as getRichTextCell, s as getRichTextColumnIds, v as getRichTextPlainText, g as getRow, cv as getSchemaIRIFromDoc, P as getSelectOptions, bf as getTitleColumn, A as getTitleField, c8 as getTotalFromGroups, cl as getVersionBumpType, bm as getView, bn as getViewByType, a0 as getViewNode, $ as getViewNodes, bl as getViews, bX as groupRows, aL as guessColumnType, p as hasRichTextColumns, o as hasRichTextContent, bC as hideColumn, aO as inferColumnTypes, aQ as inferColumnsFromRows, aR as inferTypeFromValues, al as initializeDatabaseDoc, am as isDatabaseDocInitialized, ce as isDatabaseSchemaIRI, cH as isNumericAggregation, bI as isValidOperator, i as isValidSortKey, G as moveField, m as moveRow, X as moveSelectOption, a5 as moveView, n as needsRebalancing, bK as operatorRequiresValue, aJ as parseCSV, aK as parseCSVLine, cd as parseDatabaseSchemaIRI, aP as parseJSON, aN as parseRow, aM as parseValue, cf as parseVersion, ck as pruneVersionHistory, q as queryRows, r as rebalanceDatabase, k as rebalanceSortKeys, cC as remapViewColumnIds, bV as removeSort, bw as removeViewSort, K as renameExtensionField, bj as reorderColumn, bD as reorderViewColumns, bE as setColumnWidth, aa as setFieldHidden, ar as setMeta, ac as setViewFieldOrder, ab as setViewFieldWidth, bs as setViewFilters, by as setViewGroupBy, a6 as setViewNodeFilters, a8 as setViewNodeGroupBy, a7 as setViewNodeSorts, bu as setViewSorts, bA as setVisibleColumns, ae as setupDatabase, ap as setupNewDatabase, bB as showColumn, bR as sortRows, aS as toColumnDefinitions, bz as toggleGroupCollapsed, bY as toggleGroupCollapsedState, bT as toggleSortDirection, a9 as toggleViewGroupCollapsed, u as updateCell, b as updateCells, bh as updateColumn, E as updateField, V as updateSelectOption, bp as updateView, a2 as updateViewNode, aT as validateJsonData, aC as validateRollupConfig } from '../clone-rOJgldM-.js';
|
|
4
|
+
import '../types-gws1tSf-.js';
|
|
5
5
|
import '@xnetjs/core';
|
|
6
6
|
import '@xnetjs/crypto';
|
|
7
7
|
import '@xnetjs/sqlite';
|
|
8
8
|
import '@xnetjs/sync';
|
|
9
|
-
import '../store-
|
|
9
|
+
import '../store-BYkdPZRJ.js';
|
|
10
10
|
import 'yjs';
|
|
11
11
|
|
|
12
12
|
/**
|