@xnetjs/data 0.12.0 → 2.0.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 +12 -0
- package/dist/{account-ledger-R2GAFJL6.js → account-ledger-ZHBNVREV.js} +3 -3
- package/dist/auth/index.d.ts +15 -5
- package/dist/auth/index.js +1 -1
- package/dist/budget-FTGZEXX6.js +12 -0
- package/dist/canvas-NQBTRNLS.js +10 -0
- package/dist/channel-474QAZGP.js +12 -0
- package/dist/chat-message-LGLCITLE.js +10 -0
- package/dist/checkpoint-MZHJ7PCZ.js +12 -0
- package/dist/{chunk-VQ7JHB67.js → chunk-22FKOLMX.js} +2 -2
- package/dist/{chunk-LYSWLCOI.js → chunk-26HTTVJN.js} +2 -2
- package/dist/{chunk-PH3PVAR6.js → chunk-3PV6QTKF.js} +2 -2
- package/dist/{chunk-KQUALW4O.js → chunk-4KJ4NAMC.js} +1 -1
- package/dist/{chunk-JFMLCFZJ.js → chunk-4S73XDWH.js} +585 -230
- package/dist/{chunk-U64CW73O.js → chunk-52DR23IW.js} +2 -2
- package/dist/{chunk-SVNGSZZA.js → chunk-57UZYV3L.js} +2 -2
- package/dist/{chunk-QVQVKZ3U.js → chunk-5UJMY3AH.js} +6 -5
- package/dist/chunk-6ZUJID52.js +41 -0
- package/dist/{chunk-3J3HILXO.js → chunk-7PCMTV6J.js} +2 -2
- package/dist/{chunk-YSUIXD2Y.js → chunk-C4CQH7UD.js} +2 -2
- package/dist/{chunk-PNESGUH5.js → chunk-D4EVJN2P.js} +2 -2
- package/dist/{chunk-RL64OJJ5.js → chunk-D4LUUZYD.js} +36 -9
- package/dist/{chunk-Q67VT5XL.js → chunk-DESSPQBS.js} +59 -10
- package/dist/{chunk-W7EBL7ZU.js → chunk-DP4Q2HMO.js} +2 -2
- package/dist/{chunk-5EXHNXPL.js → chunk-DPJ4T2LQ.js} +2 -2
- package/dist/{chunk-BQLQSWKZ.js → chunk-EN6XTVLZ.js} +2 -2
- package/dist/{chunk-TORDOOJ5.js → chunk-EYRZ6ZUB.js} +1 -1
- package/dist/{chunk-NI4FHG2K.js → chunk-EZTBWWMS.js} +2 -2
- package/dist/{chunk-UQM3G5A2.js → chunk-FWCM2TKJ.js} +2 -2
- package/dist/{chunk-OSAWNZVM.js → chunk-GCTONBF6.js} +1 -1
- package/dist/{chunk-2ZNJWIQG.js → chunk-HPUXHSKR.js} +2 -2
- package/dist/{chunk-ZPZ7XDA6.js → chunk-HTZTBXKL.js} +2 -2
- package/dist/{chunk-MCKP4F72.js → chunk-I7JMGCV6.js} +26 -5
- package/dist/{chunk-OGJCRNGE.js → chunk-IA23CLGV.js} +2 -2
- package/dist/{chunk-YEFKQYKA.js → chunk-IKGUBSZP.js} +2 -2
- package/dist/{chunk-XMSKJ5PV.js → chunk-IKI5FBNO.js} +2 -2
- package/dist/{chunk-OCMSAKWV.js → chunk-JA56EQJO.js} +15 -3
- package/dist/{chunk-TCTZW4A6.js → chunk-JLUFPUIL.js} +2 -2
- package/dist/{chunk-WEPK7SZF.js → chunk-KTPSQJ5L.js} +2 -2
- package/dist/{chunk-T5AZAOG5.js → chunk-LK5ZIAIE.js} +1 -1
- package/dist/{chunk-XROI44ZP.js → chunk-M4KGY2PC.js} +2 -2
- package/dist/chunk-MEAIGK3W.js +58 -0
- package/dist/{chunk-QJW5LDP4.js → chunk-NSMSOIEW.js} +2 -2
- package/dist/{chunk-FB63TZVI.js → chunk-OF6455OV.js} +2 -2
- package/dist/{chunk-6OMG4I7M.js → chunk-OIWW5TG3.js} +2 -2
- package/dist/{chunk-6KLGA6IR.js → chunk-Q6VTTPG4.js} +2 -2
- package/dist/{chunk-J4ANIXIV.js → chunk-QDLWTOII.js} +2 -2
- package/dist/{chunk-EBNMV2VO.js → chunk-RRXJNZX5.js} +1 -1
- package/dist/{chunk-FVEACSKE.js → chunk-RXBLWQQI.js} +2 -2
- package/dist/{chunk-L7NRPLE5.js → chunk-S6JWYPVW.js} +2 -2
- package/dist/{chunk-JDFNMFOZ.js → chunk-SOXXBQ4P.js} +2 -2
- package/dist/{chunk-4EYKGTSQ.js → chunk-T45PWXNA.js} +2 -2
- package/dist/{chunk-MD553LDL.js → chunk-TRPXLCND.js} +2 -2
- package/dist/{chunk-ZMZSBJBC.js → chunk-U223J425.js} +174 -170
- package/dist/{chunk-ZCOFZY5M.js → chunk-UUQVNDBG.js} +2 -2
- package/dist/{chunk-53F4PRNC.js → chunk-W3QOEPUN.js} +2 -2
- package/dist/{chunk-S6U6TCMN.js → chunk-WC7EDJHC.js} +2 -2
- package/dist/{chunk-KQAT4XBL.js → chunk-WWQO7QKV.js} +2 -2
- package/dist/{chunk-BY5O6LNC.js → chunk-XJBDESCX.js} +1 -1
- package/dist/{chunk-ZZ6TWKGS.js → chunk-XQDXQ7WG.js} +2 -2
- package/dist/{chunk-MBTUO3ZL.js → chunk-YD2ZPFT7.js} +2 -2
- package/dist/{chunk-ZLU4Y3O2.js → chunk-YHO7GNZK.js} +2 -2
- package/dist/{chunk-Y3S5SRVM.js → chunk-YSD4NSCE.js} +2 -2
- package/dist/chunk-Z5I2T75Z.js +70 -0
- package/dist/{chunk-IJ44LR7N.js → chunk-ZKJXGQCR.js} +2 -2
- package/dist/{chunk-GU6THOAB.js → chunk-ZKMWJNDQ.js} +2 -2
- package/dist/{chunk-OPPHF3TF.js → chunk-ZKVRGKLM.js} +3 -3
- package/dist/{clone-CbmoWwu4.d.ts → clone-DNcpkYAA.d.ts} +2 -2
- package/dist/comment-IAZJHG6G.js +10 -0
- package/dist/{crm-L5RYAAF3.js → crm-AFJSSPHK.js} +5 -5
- package/dist/dashboard-2DLFZM2J.js +10 -0
- package/dist/database/index.d.ts +3 -3
- package/dist/database/index.js +11 -11
- package/dist/database-5M7ZA33U.js +10 -0
- package/dist/database-field-IFUWOK7X.js +10 -0
- package/dist/database-row-C52KCOPB.js +10 -0
- package/dist/database-select-option-AEAPKXEE.js +10 -0
- package/dist/database-view-GUGJHS7J.js +10 -0
- package/dist/debug-report-BTNZAKX3.js +10 -0
- package/dist/draft-KGHITKX2.js +10 -0
- package/dist/experiment-JXHENWXV.js +10 -0
- package/dist/{external-item-P2E5X7BZ.js → external-item-ZVD33IXV.js} +5 -5
- package/dist/external-reference-LGFNVEKC.js +8 -0
- package/dist/feed-CLEHVA6Q.js +12 -0
- package/dist/feed-item-QXRIE6FU.js +12 -0
- package/dist/{folder-6KM3KYD5.js → folder-NU5TJFOT.js} +3 -3
- package/dist/{game-5AK5XWBR.js → game-7WW2JX6O.js} +5 -5
- package/dist/grant-W772T6FE.js +8 -0
- package/dist/{grant-expiration-cleaner-Bm1fSG42.d.ts → grant-expiration-cleaner-1by9wRlb.d.ts} +7 -2
- package/dist/import-batch-ZRU4FY6Y.js +12 -0
- package/dist/{inbox-state-E5NSVOGP.js → inbox-state-IO5C7HVE.js} +3 -3
- package/dist/index.d.ts +8 -7
- package/dist/index.js +175 -157
- package/dist/map-BZAVGCR6.js +10 -0
- package/dist/media-asset-VHFL65HI.js +8 -0
- package/dist/{meeting-LMUYTZBF.js → meeting-PVNKBGTI.js} +5 -5
- package/dist/{memory-PNRTMBZO.js → memory-5PD3XCKB.js} +3 -3
- package/dist/metric-6IGGFJMB.js +10 -0
- package/dist/milestone-MZAZCWGR.js +12 -0
- package/dist/{moderation-FFHETMRB.js → moderation-CXQB77CP.js} +3 -3
- package/dist/observation-O3DLKVIH.js +10 -0
- package/dist/page-UE5NPYEF.js +10 -0
- package/dist/posting-5VZZMOKS.js +12 -0
- package/dist/{profile-XBPZQA3C.js → profile-USKJ6PN7.js} +3 -3
- package/dist/project-UHGGEFLP.js +10 -0
- package/dist/{query-ast-Bvg0Wolx.d.ts → query-ast-NV5StnHo.d.ts} +1 -1
- package/dist/reaction-KD3G75UH.js +10 -0
- package/dist/{registry-_49rC6IG.d.ts → registry-s1fYgCSj.d.ts} +1 -1
- package/dist/saved-view-AZTUINZA.js +10 -0
- package/dist/schema/index.d.ts +173 -12
- package/dist/schema/index.js +96 -80
- package/dist/{schema-extension-LNRF2YRD.js → schema-extension-DV5D7JCQ.js} +5 -5
- package/dist/{space-IJU24PBH.js → space-THD2MWHR.js} +6 -6
- package/dist/{space-membership-DEUMM7NV.js → space-membership-M3QFMONE.js} +3 -3
- package/dist/store/index.d.ts +18 -5
- package/dist/store/index.js +4 -4
- package/dist/{store-DEWnip2G.d.ts → store-BIDKtpjW.d.ts} +56 -1
- package/dist/{system-ILHCZOVO.js → system-LFIMY3QQ.js} +3 -3
- package/dist/{tag-SKCHM3U5.js → tag-W7ZYPXHK.js} +3 -3
- package/dist/{task-7AOBP7WC.js → task-DHTPD66H.js} +5 -5
- package/dist/task-view-J2WRE62C.js +10 -0
- package/dist/transaction-ANNDXCJM.js +12 -0
- package/dist/transcription-DFTQ4FQ4.js +12 -0
- package/dist/{types-BB8-SLEa.d.ts → types-C64g-IXg.d.ts} +87 -2
- package/dist/user-widget-5IRVORF3.js +8 -0
- package/dist/workspace-RC4V4IF3.js +8 -0
- package/package.json +7 -7
- package/dist/account-MWNCH4GJ.js +0 -12
- package/dist/budget-NN7P35XP.js +0 -12
- package/dist/canvas-6WYBNH53.js +0 -10
- package/dist/channel-AT3LQF4A.js +0 -12
- package/dist/chat-message-47LETTYF.js +0 -10
- package/dist/comment-NIMFL4XB.js +0 -10
- package/dist/dashboard-JMKTTRA7.js +0 -10
- package/dist/database-GIXSPZJW.js +0 -10
- package/dist/database-field-3EPAMZUR.js +0 -10
- package/dist/database-row-5MEIOJ52.js +0 -10
- package/dist/database-select-option-BBBJFLLH.js +0 -10
- package/dist/database-view-DM7YCTZT.js +0 -10
- package/dist/experiment-DOVOZ34Y.js +0 -10
- package/dist/external-reference-7BSFF6SA.js +0 -8
- package/dist/feed-2IXHHP6O.js +0 -12
- package/dist/feed-item-DPE6LN7I.js +0 -12
- package/dist/grant-WTQSNT5A.js +0 -8
- package/dist/import-batch-IXBJLQPJ.js +0 -12
- package/dist/map-RG5Y3CPC.js +0 -10
- package/dist/media-asset-QTCGLIZA.js +0 -8
- package/dist/metric-65SVOX5C.js +0 -10
- package/dist/milestone-XEO6ZGDG.js +0 -12
- package/dist/observation-2Y3QKUXM.js +0 -10
- package/dist/page-2V27JGKJ.js +0 -10
- package/dist/posting-GBOSZCMZ.js +0 -12
- package/dist/project-CQL5LN26.js +0 -10
- package/dist/reaction-T2DTJBBV.js +0 -10
- package/dist/saved-view-4R2DBCL3.js +0 -10
- package/dist/task-view-NUGKELJP.js +0 -10
- package/dist/transaction-ZDSEGDIR.js +0 -12
- package/dist/transcription-PSCLDAGX.js +0 -12
- package/dist/user-widget-RLY2N46A.js +0 -8
- package/dist/workspace-WDKSQMOK.js +0 -8
package/dist/schema/index.js
CHANGED
|
@@ -66,19 +66,7 @@ import {
|
|
|
66
66
|
taskBranchName,
|
|
67
67
|
transform,
|
|
68
68
|
when
|
|
69
|
-
} from "../chunk-
|
|
70
|
-
import {
|
|
71
|
-
SavedViewSchema
|
|
72
|
-
} from "../chunk-ZZ6TWKGS.js";
|
|
73
|
-
import {
|
|
74
|
-
WorkspaceSchema
|
|
75
|
-
} from "../chunk-PH3PVAR6.js";
|
|
76
|
-
import {
|
|
77
|
-
UserWidgetSchema
|
|
78
|
-
} from "../chunk-53F4PRNC.js";
|
|
79
|
-
import {
|
|
80
|
-
DashboardSchema
|
|
81
|
-
} from "../chunk-QJW5LDP4.js";
|
|
69
|
+
} from "../chunk-U223J425.js";
|
|
82
70
|
import {
|
|
83
71
|
AbuseReportSchema,
|
|
84
72
|
AppealSchema,
|
|
@@ -92,7 +80,7 @@ import {
|
|
|
92
80
|
PublicInteractionPolicySchema,
|
|
93
81
|
QualitySignalSchema,
|
|
94
82
|
ReviewTaskSchema
|
|
95
|
-
} from "../chunk-
|
|
83
|
+
} from "../chunk-WC7EDJHC.js";
|
|
96
84
|
import {
|
|
97
85
|
ACHIEVEMENT_SCHEMA_IRI,
|
|
98
86
|
AchievementSchema,
|
|
@@ -115,40 +103,20 @@ import {
|
|
|
115
103
|
PLAYER_IDENTITY_SCHEMA_IRI,
|
|
116
104
|
PlayerIdentitySchema,
|
|
117
105
|
gameSchemas
|
|
118
|
-
} from "../chunk-
|
|
106
|
+
} from "../chunk-EN6XTVLZ.js";
|
|
119
107
|
import {
|
|
120
108
|
MEMORY_ITEM_SCHEMA_IRI,
|
|
121
109
|
MEMORY_KINDS,
|
|
122
110
|
MemoryItemSchema
|
|
123
|
-
} from "../chunk-
|
|
124
|
-
import {
|
|
125
|
-
CHANNEL_KINDS,
|
|
126
|
-
ChannelSchema
|
|
127
|
-
} from "../chunk-ZCOFZY5M.js";
|
|
128
|
-
import {
|
|
129
|
-
ChatMessageSchema
|
|
130
|
-
} from "../chunk-QVQVKZ3U.js";
|
|
131
|
-
import {
|
|
132
|
-
FEED_SCHEMA_IRI,
|
|
133
|
-
FeedSchema
|
|
134
|
-
} from "../chunk-TCTZW4A6.js";
|
|
135
|
-
import {
|
|
136
|
-
FEED_ITEM_SCHEMA_IRI,
|
|
137
|
-
FeedItemSchema
|
|
138
|
-
} from "../chunk-5EXHNXPL.js";
|
|
139
|
-
import {
|
|
140
|
-
EXTERNAL_ITEM_SCHEMA_IRI,
|
|
141
|
-
EXTERNAL_ITEM_SOURCES,
|
|
142
|
-
ExternalItemSchema
|
|
143
|
-
} from "../chunk-PNESGUH5.js";
|
|
111
|
+
} from "../chunk-ZKMWJNDQ.js";
|
|
144
112
|
import {
|
|
145
113
|
DEFAULT_CHANNEL_TIER,
|
|
146
114
|
InboxStateSchema,
|
|
147
115
|
inboxStateNodeId
|
|
148
|
-
} from "../chunk-
|
|
116
|
+
} from "../chunk-IKGUBSZP.js";
|
|
149
117
|
import {
|
|
150
118
|
GrantSchema
|
|
151
|
-
} from "../chunk-
|
|
119
|
+
} from "../chunk-GCTONBF6.js";
|
|
152
120
|
import {
|
|
153
121
|
ACCOUNT_RECORD_SCHEMA_IRI,
|
|
154
122
|
AccountRecordSchema,
|
|
@@ -166,14 +134,57 @@ import {
|
|
|
166
134
|
resolveActiveDevices,
|
|
167
135
|
revocationRecordId,
|
|
168
136
|
revokedSubjects
|
|
169
|
-
} from "../chunk-
|
|
137
|
+
} from "../chunk-4KJ4NAMC.js";
|
|
138
|
+
import {
|
|
139
|
+
SavedViewSchema
|
|
140
|
+
} from "../chunk-XQDXQ7WG.js";
|
|
141
|
+
import {
|
|
142
|
+
WorkspaceSchema
|
|
143
|
+
} from "../chunk-3PV6QTKF.js";
|
|
144
|
+
import {
|
|
145
|
+
UserWidgetSchema
|
|
146
|
+
} from "../chunk-W3QOEPUN.js";
|
|
147
|
+
import {
|
|
148
|
+
DashboardSchema
|
|
149
|
+
} from "../chunk-NSMSOIEW.js";
|
|
150
|
+
import {
|
|
151
|
+
ReactionSchema
|
|
152
|
+
} from "../chunk-YSD4NSCE.js";
|
|
153
|
+
import {
|
|
154
|
+
DebugReportSchema
|
|
155
|
+
} from "../chunk-Z5I2T75Z.js";
|
|
156
|
+
import {
|
|
157
|
+
ProfileSchema,
|
|
158
|
+
didFromProfileNodeId,
|
|
159
|
+
profileNodeId
|
|
160
|
+
} from "../chunk-EYRZ6ZUB.js";
|
|
161
|
+
import {
|
|
162
|
+
CHANNEL_KINDS,
|
|
163
|
+
ChannelSchema
|
|
164
|
+
} from "../chunk-UUQVNDBG.js";
|
|
165
|
+
import {
|
|
166
|
+
ChatMessageSchema
|
|
167
|
+
} from "../chunk-5UJMY3AH.js";
|
|
168
|
+
import {
|
|
169
|
+
FEED_SCHEMA_IRI,
|
|
170
|
+
FeedSchema
|
|
171
|
+
} from "../chunk-JLUFPUIL.js";
|
|
172
|
+
import {
|
|
173
|
+
FEED_ITEM_SCHEMA_IRI,
|
|
174
|
+
FeedItemSchema
|
|
175
|
+
} from "../chunk-DPJ4T2LQ.js";
|
|
176
|
+
import {
|
|
177
|
+
EXTERNAL_ITEM_SCHEMA_IRI,
|
|
178
|
+
EXTERNAL_ITEM_SOURCES,
|
|
179
|
+
ExternalItemSchema
|
|
180
|
+
} from "../chunk-D4EVJN2P.js";
|
|
170
181
|
import {
|
|
171
182
|
MediaAssetSchema
|
|
172
|
-
} from "../chunk-
|
|
183
|
+
} from "../chunk-7PCMTV6J.js";
|
|
173
184
|
import {
|
|
174
185
|
TRANSCRIPTION_SCHEMA_IRI,
|
|
175
186
|
TranscriptionSchema
|
|
176
|
-
} from "../chunk-
|
|
187
|
+
} from "../chunk-HPUXHSKR.js";
|
|
177
188
|
import {
|
|
178
189
|
MEETING_CHANNELS,
|
|
179
190
|
MEETING_SCHEMA_IRI,
|
|
@@ -181,24 +192,24 @@ import {
|
|
|
181
192
|
MEETING_TRANSCRIPT_SCHEMA_IRI,
|
|
182
193
|
MeetingSchema,
|
|
183
194
|
MeetingTranscriptSchema
|
|
184
|
-
} from "../chunk-
|
|
195
|
+
} from "../chunk-S6JWYPVW.js";
|
|
185
196
|
import {
|
|
186
197
|
CanvasSchema
|
|
187
|
-
} from "../chunk-
|
|
198
|
+
} from "../chunk-26HTTVJN.js";
|
|
188
199
|
import {
|
|
189
200
|
MapSchema
|
|
190
|
-
} from "../chunk-
|
|
201
|
+
} from "../chunk-EZTBWWMS.js";
|
|
191
202
|
import {
|
|
192
203
|
CommentSchema
|
|
193
|
-
} from "../chunk-
|
|
204
|
+
} from "../chunk-I7JMGCV6.js";
|
|
194
205
|
import {
|
|
195
|
-
|
|
196
|
-
|
|
206
|
+
CHECKPOINT_SCHEMA_IRI,
|
|
207
|
+
CheckpointSchema
|
|
208
|
+
} from "../chunk-6ZUJID52.js";
|
|
197
209
|
import {
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
} from "../chunk-TORDOOJ5.js";
|
|
210
|
+
DRAFT_SCHEMA_IRI,
|
|
211
|
+
DraftSchema
|
|
212
|
+
} from "../chunk-MEAIGK3W.js";
|
|
202
213
|
import {
|
|
203
214
|
ACTIVITY_KINDS,
|
|
204
215
|
ACTIVITY_SCHEMA_IRI,
|
|
@@ -230,27 +241,27 @@ import {
|
|
|
230
241
|
STAGE_SCHEMA_IRI,
|
|
231
242
|
StageSchema,
|
|
232
243
|
crmSchemas
|
|
233
|
-
} from "../chunk-
|
|
244
|
+
} from "../chunk-QDLWTOII.js";
|
|
234
245
|
import {
|
|
235
246
|
ACCOUNT_SCHEMA_IRI,
|
|
236
247
|
AccountSchema
|
|
237
|
-
} from "../chunk-
|
|
248
|
+
} from "../chunk-IKI5FBNO.js";
|
|
238
249
|
import {
|
|
239
250
|
TRANSACTION_SCHEMA_IRI,
|
|
240
251
|
TransactionSchema
|
|
241
|
-
} from "../chunk-
|
|
252
|
+
} from "../chunk-YD2ZPFT7.js";
|
|
242
253
|
import {
|
|
243
254
|
POSTING_SCHEMA_IRI,
|
|
244
255
|
PostingSchema
|
|
245
|
-
} from "../chunk-
|
|
256
|
+
} from "../chunk-SOXXBQ4P.js";
|
|
246
257
|
import {
|
|
247
258
|
BUDGET_SCHEMA_IRI,
|
|
248
259
|
BudgetSchema
|
|
249
|
-
} from "../chunk-
|
|
260
|
+
} from "../chunk-HTZTBXKL.js";
|
|
250
261
|
import {
|
|
251
262
|
IMPORT_BATCH_SCHEMA_IRI,
|
|
252
263
|
ImportBatchSchema
|
|
253
|
-
} from "../chunk-
|
|
264
|
+
} from "../chunk-22FKOLMX.js";
|
|
254
265
|
import {
|
|
255
266
|
NODE_VISIBILITY,
|
|
256
267
|
SPACE_KINDS,
|
|
@@ -268,38 +279,38 @@ import {
|
|
|
268
279
|
spaceRoleGrantActions,
|
|
269
280
|
spaceRoleToShareRole,
|
|
270
281
|
wouldCreateSpaceCycle
|
|
271
|
-
} from "../chunk-
|
|
282
|
+
} from "../chunk-ZKVRGKLM.js";
|
|
272
283
|
import {
|
|
273
284
|
ExternalReferenceSchema
|
|
274
|
-
} from "../chunk-
|
|
285
|
+
} from "../chunk-57UZYV3L.js";
|
|
275
286
|
import {
|
|
276
287
|
TASK_STATUS_CATEGORIES,
|
|
277
288
|
TaskSchema,
|
|
278
289
|
getTaskStatusCategory,
|
|
279
290
|
isCompletedTaskStatus
|
|
280
|
-
} from "../chunk-
|
|
291
|
+
} from "../chunk-FWCM2TKJ.js";
|
|
281
292
|
import {
|
|
282
293
|
TaskViewSchema
|
|
283
|
-
} from "../chunk-
|
|
294
|
+
} from "../chunk-T45PWXNA.js";
|
|
284
295
|
import {
|
|
285
296
|
ProjectSchema
|
|
286
|
-
} from "../chunk-
|
|
297
|
+
} from "../chunk-M4KGY2PC.js";
|
|
287
298
|
import {
|
|
288
299
|
MetricSchema
|
|
289
|
-
} from "../chunk-
|
|
300
|
+
} from "../chunk-52DR23IW.js";
|
|
290
301
|
import {
|
|
291
302
|
ObservationSchema
|
|
292
|
-
} from "../chunk-
|
|
303
|
+
} from "../chunk-DP4Q2HMO.js";
|
|
293
304
|
import {
|
|
294
305
|
ExperimentSchema
|
|
295
|
-
} from "../chunk-
|
|
306
|
+
} from "../chunk-RXBLWQQI.js";
|
|
296
307
|
import {
|
|
297
308
|
MILESTONE_SCHEMA_IRI,
|
|
298
309
|
MilestoneSchema
|
|
299
|
-
} from "../chunk-
|
|
310
|
+
} from "../chunk-IA23CLGV.js";
|
|
300
311
|
import {
|
|
301
312
|
PageSchema
|
|
302
|
-
} from "../chunk-
|
|
313
|
+
} from "../chunk-YHO7GNZK.js";
|
|
303
314
|
import {
|
|
304
315
|
FOLDER_SCHEMA_IRI,
|
|
305
316
|
FolderSchema,
|
|
@@ -308,17 +319,17 @@ import {
|
|
|
308
319
|
folderAncestorIds,
|
|
309
320
|
folderPathIds,
|
|
310
321
|
wouldCreateFolderCycle
|
|
311
|
-
} from "../chunk-
|
|
322
|
+
} from "../chunk-C4CQH7UD.js";
|
|
312
323
|
import {
|
|
313
324
|
MAX_TAG_NAME_LENGTH,
|
|
314
325
|
TAG_SCHEMA_IRI,
|
|
315
326
|
TagSchema,
|
|
316
327
|
isValidTagName,
|
|
317
328
|
normalizeTagName
|
|
318
|
-
} from "../chunk-
|
|
329
|
+
} from "../chunk-Q6VTTPG4.js";
|
|
319
330
|
import {
|
|
320
331
|
DatabaseSchema
|
|
321
|
-
} from "../chunk-
|
|
332
|
+
} from "../chunk-ZKJXGQCR.js";
|
|
322
333
|
import {
|
|
323
334
|
EXT_PREFIX,
|
|
324
335
|
extKey,
|
|
@@ -331,21 +342,21 @@ import {
|
|
|
331
342
|
SCHEMA_EXTENSION_SCHEMA_IRI,
|
|
332
343
|
SchemaExtensionSchema,
|
|
333
344
|
schemaExtensionId
|
|
334
|
-
} from "../chunk-
|
|
345
|
+
} from "../chunk-KTPSQJ5L.js";
|
|
335
346
|
import "../chunk-QWFTRZQT.js";
|
|
336
347
|
import {
|
|
337
348
|
DatabaseRowSchema
|
|
338
|
-
} from "../chunk-
|
|
349
|
+
} from "../chunk-OF6455OV.js";
|
|
339
350
|
import {
|
|
340
351
|
DatabaseFieldSchema
|
|
341
|
-
} from "../chunk-
|
|
352
|
+
} from "../chunk-WWQO7QKV.js";
|
|
342
353
|
import {
|
|
343
354
|
DatabaseSelectOptionSchema
|
|
344
|
-
} from "../chunk-
|
|
355
|
+
} from "../chunk-OIWW5TG3.js";
|
|
345
356
|
import {
|
|
346
357
|
DatabaseViewSchema
|
|
347
|
-
} from "../chunk-
|
|
348
|
-
import "../chunk-
|
|
358
|
+
} from "../chunk-TRPXLCND.js";
|
|
359
|
+
import "../chunk-JA56EQJO.js";
|
|
349
360
|
import {
|
|
350
361
|
PresenceSummarySchema,
|
|
351
362
|
SYSTEM_NAMESPACE_KINDS,
|
|
@@ -363,13 +374,13 @@ import {
|
|
|
363
374
|
parseSystemNamespaceResource,
|
|
364
375
|
resolveSchemaAuthority,
|
|
365
376
|
validateSchemaDefinitionNode
|
|
366
|
-
} from "../chunk-
|
|
377
|
+
} from "../chunk-XJBDESCX.js";
|
|
367
378
|
import {
|
|
368
379
|
SPACE_MEMBERSHIP_SCHEMA_IRI,
|
|
369
380
|
SpaceMembershipSchema,
|
|
370
381
|
isSpaceRole,
|
|
371
382
|
spaceMembershipId
|
|
372
|
-
} from "../chunk-
|
|
383
|
+
} from "../chunk-LK5ZIAIE.js";
|
|
373
384
|
import {
|
|
374
385
|
DEFAULT_SCHEMA_VERSION,
|
|
375
386
|
DEFAULT_SCHEMA_VERSION2,
|
|
@@ -401,8 +412,8 @@ import {
|
|
|
401
412
|
text,
|
|
402
413
|
updated,
|
|
403
414
|
url
|
|
404
|
-
} from "../chunk-
|
|
405
|
-
import "../chunk-
|
|
415
|
+
} from "../chunk-RRXJNZX5.js";
|
|
416
|
+
import "../chunk-D4LUUZYD.js";
|
|
406
417
|
export {
|
|
407
418
|
ACCOUNT_RECORD_SCHEMA_IRI,
|
|
408
419
|
ACCOUNT_SCHEMA_IRI,
|
|
@@ -418,12 +429,14 @@ export {
|
|
|
418
429
|
BUDGET_SCHEMA_IRI,
|
|
419
430
|
BudgetSchema,
|
|
420
431
|
CHANNEL_KINDS,
|
|
432
|
+
CHECKPOINT_SCHEMA_IRI,
|
|
421
433
|
CONTACT_LIFECYCLE,
|
|
422
434
|
CONTACT_SCHEMA_IRI,
|
|
423
435
|
CRM_NAMESPACE,
|
|
424
436
|
CanvasSchema,
|
|
425
437
|
ChannelSchema,
|
|
426
438
|
ChatMessageSchema,
|
|
439
|
+
CheckpointSchema,
|
|
427
440
|
CommentSchema,
|
|
428
441
|
CommunityNoteSchema,
|
|
429
442
|
ContactSchema,
|
|
@@ -435,6 +448,7 @@ export {
|
|
|
435
448
|
DEFAULT_CHANNEL_TIER,
|
|
436
449
|
DEFAULT_SCHEMA_VERSION,
|
|
437
450
|
DEVICE_RECORD_SCHEMA_IRI,
|
|
451
|
+
DRAFT_SCHEMA_IRI,
|
|
438
452
|
DashboardSchema,
|
|
439
453
|
DatabaseFieldSchema,
|
|
440
454
|
DatabaseRowSchema,
|
|
@@ -443,7 +457,9 @@ export {
|
|
|
443
457
|
DatabaseViewSchema,
|
|
444
458
|
DealContactRoleSchema,
|
|
445
459
|
DealSchema,
|
|
460
|
+
DebugReportSchema,
|
|
446
461
|
DeviceRecordSchema,
|
|
462
|
+
DraftSchema,
|
|
447
463
|
EXTENSION_FIELD_SCHEMA_IRI,
|
|
448
464
|
EXTERNAL_ITEM_SCHEMA_IRI,
|
|
449
465
|
EXTERNAL_ITEM_SOURCES,
|
|
@@ -4,11 +4,11 @@ import {
|
|
|
4
4
|
SCHEMA_EXTENSION_SCHEMA_IRI,
|
|
5
5
|
SchemaExtensionSchema,
|
|
6
6
|
schemaExtensionId
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-KTPSQJ5L.js";
|
|
8
|
+
import "./chunk-JA56EQJO.js";
|
|
9
|
+
import "./chunk-LK5ZIAIE.js";
|
|
10
|
+
import "./chunk-RRXJNZX5.js";
|
|
11
|
+
import "./chunk-D4LUUZYD.js";
|
|
12
12
|
export {
|
|
13
13
|
EXTENSION_FIELD_SCHEMA_IRI,
|
|
14
14
|
ExtensionFieldSchema,
|
|
@@ -15,13 +15,13 @@ import {
|
|
|
15
15
|
spaceRoleGrantActions,
|
|
16
16
|
spaceRoleToShareRole,
|
|
17
17
|
wouldCreateSpaceCycle
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-ZKVRGKLM.js";
|
|
19
|
+
import "./chunk-C4CQH7UD.js";
|
|
20
20
|
import "./chunk-QWFTRZQT.js";
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-JA56EQJO.js";
|
|
22
|
+
import "./chunk-LK5ZIAIE.js";
|
|
23
|
+
import "./chunk-RRXJNZX5.js";
|
|
24
|
+
import "./chunk-D4LUUZYD.js";
|
|
25
25
|
export {
|
|
26
26
|
NODE_VISIBILITY,
|
|
27
27
|
SPACE_KINDS,
|
|
@@ -3,9 +3,9 @@ import {
|
|
|
3
3
|
SpaceMembershipSchema,
|
|
4
4
|
isSpaceRole,
|
|
5
5
|
spaceMembershipId
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-LK5ZIAIE.js";
|
|
7
|
+
import "./chunk-RRXJNZX5.js";
|
|
8
|
+
import "./chunk-D4LUUZYD.js";
|
|
9
9
|
export {
|
|
10
10
|
SPACE_MEMBERSHIP_SCHEMA_IRI,
|
|
11
11
|
SpaceMembershipSchema,
|
package/dist/store/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { g as NodeStorageAdapter,
|
|
2
|
-
export {
|
|
3
|
-
export { G as QUERY_AST_VERSION, r as QueryAST, n as QueryASTAggregate, A as QueryASTAggregateExecution, m as QueryASTAggregateFunction, y as QueryASTAggregateGroup, x as QueryASTAggregatePlan, z as QueryASTAggregateResult, d as QueryASTComparisonPredicate, e as QueryASTCompoundPredicate, a as QueryASTField, l as QueryASTIncludes, p as QueryASTNodeQuery, s as QueryASTNodeQueryOptions, f as QueryASTNotPredicate, c as QueryASTOperator, h as QueryASTOrderBy, i as QueryASTPage, B as QueryASTPlannerGate, g as QueryASTPredicate, q as QueryASTQuerySet, o as QueryASTQuerySetAggregate, j as QueryASTRelationDirection, k as QueryASTRelationInclude, t as QueryASTRelationIncludeOptions, w as QueryASTRelationIndexRequirement, b as QueryASTSchemaInput, u as QueryASTValidationError, v as QueryASTValidationResult, Q as QueryASTVersion, S as SavedViewDescriptor, F as SavedViewFeedDensity, E as SavedViewFeedLayout, C as SavedViewPresentationHint, D as SavedViewPresentationHintMode, V as and, a3 as avg, N as between, P as contains, a0 as count, a1 as countDistinct, a9 as dashboardQuerySet, Z as defineNodeQueryAST, a8 as defineQuerySetAST, ab as defineSavedViewDescriptor, H as eq, aj as evaluateQueryASTPlannerGate, af as executeQueryASTLoadedAggregates, ag as filterQueryASTLoadedRows, _ as follow, $ as from, ah as getQueryASTRelationIndexRequirements, a6 as groupBy, J as gt, K as gte, a7 as having, O as includesAny, U as isNotNull, T as isNull, L as lt, M as lte, ai as matchesQueryASTLoadedRow, a5 as max, a4 as min, I as neq, X as not, W as or, ae as planQueryASTAggregates, Y as queryOperators, aa as querySetCount, R as startsWith, a2 as sum, ac as validateQueryAST, ad as validateSavedViewDescriptor } from '../query-ast-
|
|
4
|
-
export { N as NodeStore } from '../store-
|
|
1
|
+
import { g as NodeStorageAdapter, s as NodeChange, i as NodeId, h as NodeState, ad as NodeBatchPreflightResult, a6 as ImportNodesOptions, a8 as ApplyNodeBatchInput, a9 as ApplyNodeBatchResult, L as ListNodesOptions, ah as CountNodesOptions, a4 as PinRegistry, a5 as SetNodeOptions, k as NodeQueryDescriptor, l as NodeQueryResult, S as SchemaIRI, a7 as RebuildNodeIndexesOptions, bd as NodeReadAuthorizer, be as AuthorizationStateVersion } from '../types-C64g-IXg.js';
|
|
2
|
+
export { j as CheckedOutDraftOverlay, ay as ConflictResult, aB as ContentKeyCache, C as CreateNodeOptions, ae as DeterministicNodeBatchWriteInput, n as DeterministicNodeImportDraft, G as GetWithMigrationOptions, o as ImportDeterministicNodesOptions, p as ImportDeterministicNodesResult, t as MergeConflict, M as MigratedNodeState, aC as MigrationInfo, az as NodeBatchChangeEvent, v as NodeBatchChangeListener, aa as NodeBatchIndexMode, ab as NodeBatchNotificationMode, ac as NodeBatchSyncMode, q as NodeBatchWriteInput, af as NodeBatchWritePolicy, r as NodeBatchWriteResult, ag as NodeBatchWriteTimings, w as NodeChangeEvent, u as NodeChangeListener, aA as NodeContentCipher, a1 as NodePayload, au as NodeQueryCursor, at as NodeQueryCursorOrderEntry, ar as NodeQueryMaterializedViewOptions, av as NodeQueryOptions, N as NodeQueryPageCountMode, as as NodeQueryPageOptions, ax as NodeQueryParityCheckMetadata, aw as NodeQueryPlanMetadata, ap as NodeQuerySearchField, aq as NodeQuerySearchFilter, ao as NodeQuerySpatialFilter, ai as NodeQuerySpatialPoint, ak as NodeQuerySpatialPointFields, an as NodeQuerySpatialRadius, aj as NodeQuerySpatialRect, al as NodeQuerySpatialRectFields, am as NodeQuerySpatialWindow, f as NodeStoreOptions, bf as OperationNodeBatchWriteInput, a3 as PinEntry, a0 as PropertyKey, bg as PropertyLookup, a2 as PropertyTimestamp, aU as SchemaLookup, c as SortDirection, d as SystemOrderField, aR as TEMP_ID_PREFIX, aV as TempIdResolution, T as TransactionOperation, m as TransactionResult, U as UpdateNodeOptions, aL as applyNodeQueryDescriptor, aD as createNodeQueryDescriptor, bh as createPropertyLookup, aT as createSchemaLookup, aF as decodeNodeQueryCursor, aE as encodeNodeQueryCursor, aJ as filterNodeQueryResults, aM as getNodeQuerySearchTokens, aQ as isTempId, aI as matchesNodeQueryDescriptor, aN as nodeQueryDescriptorNeedsBoundedReload, aG as nodeQueryDescriptorToOptions, aS as resolveTempIds, aH as serializeNodeQueryDescriptor, aK as sortNodeQueryResults, aP as withoutNodeQueryMaterializedView, aO as withoutNodeQueryPagination } from '../types-C64g-IXg.js';
|
|
3
|
+
export { G as QUERY_AST_VERSION, r as QueryAST, n as QueryASTAggregate, A as QueryASTAggregateExecution, m as QueryASTAggregateFunction, y as QueryASTAggregateGroup, x as QueryASTAggregatePlan, z as QueryASTAggregateResult, d as QueryASTComparisonPredicate, e as QueryASTCompoundPredicate, a as QueryASTField, l as QueryASTIncludes, p as QueryASTNodeQuery, s as QueryASTNodeQueryOptions, f as QueryASTNotPredicate, c as QueryASTOperator, h as QueryASTOrderBy, i as QueryASTPage, B as QueryASTPlannerGate, g as QueryASTPredicate, q as QueryASTQuerySet, o as QueryASTQuerySetAggregate, j as QueryASTRelationDirection, k as QueryASTRelationInclude, t as QueryASTRelationIncludeOptions, w as QueryASTRelationIndexRequirement, b as QueryASTSchemaInput, u as QueryASTValidationError, v as QueryASTValidationResult, Q as QueryASTVersion, S as SavedViewDescriptor, F as SavedViewFeedDensity, E as SavedViewFeedLayout, C as SavedViewPresentationHint, D as SavedViewPresentationHintMode, V as and, a3 as avg, N as between, P as contains, a0 as count, a1 as countDistinct, a9 as dashboardQuerySet, Z as defineNodeQueryAST, a8 as defineQuerySetAST, ab as defineSavedViewDescriptor, H as eq, aj as evaluateQueryASTPlannerGate, af as executeQueryASTLoadedAggregates, ag as filterQueryASTLoadedRows, _ as follow, $ as from, ah as getQueryASTRelationIndexRequirements, a6 as groupBy, J as gt, K as gte, a7 as having, O as includesAny, U as isNotNull, T as isNull, L as lt, M as lte, ai as matchesQueryASTLoadedRow, a5 as max, a4 as min, I as neq, X as not, W as or, ae as planQueryASTAggregates, Y as queryOperators, aa as querySetCount, R as startsWith, a2 as sum, ac as validateQueryAST, ad as validateSavedViewDescriptor } from '../query-ast-NV5StnHo.js';
|
|
4
|
+
export { N as NodeStore } from '../store-BIDKtpjW.js';
|
|
5
5
|
import { TaggedError, AuthAction, DID, AuthDenyReason, AuthDecision, ContentId } from '@xnetjs/core';
|
|
6
6
|
import { SQLiteAdapter, SQLiteOperationStats } from '@xnetjs/sqlite';
|
|
7
7
|
import '@xnetjs/crypto';
|
|
@@ -85,6 +85,9 @@ declare class MemoryNodeStorageAdapter implements NodeStorageAdapter {
|
|
|
85
85
|
byteSize: number;
|
|
86
86
|
}[]>;
|
|
87
87
|
deleteYjsSnapshots(nodeId: NodeId): Promise<void>;
|
|
88
|
+
/** key -> ownerId -> entry */
|
|
89
|
+
private pinStore;
|
|
90
|
+
readonly pins: PinRegistry;
|
|
88
91
|
/**
|
|
89
92
|
* Clear all data (for testing).
|
|
90
93
|
*/
|
|
@@ -204,6 +207,7 @@ declare class SQLiteNodeStorageAdapter implements NodeStorageAdapter {
|
|
|
204
207
|
private nodeReadAuthorizer?;
|
|
205
208
|
/** One-time guard: ensure the `auth_fingerprint` column exists on upgraded DBs. */
|
|
206
209
|
private materializationColumnsReady;
|
|
210
|
+
private nodePropertyColumnsReady;
|
|
207
211
|
/**
|
|
208
212
|
* Descriptor→SQL compilation lives in `query-compiler.ts` (exploration
|
|
209
213
|
* 0276). Flags are read per-compile so the compiler never captures stale
|
|
@@ -314,6 +318,7 @@ declare class SQLiteNodeStorageAdapter implements NodeStorageAdapter {
|
|
|
314
318
|
getDocumentContent(nodeId: NodeId): Promise<Uint8Array | null>;
|
|
315
319
|
setDocumentContent(nodeId: NodeId, content: Uint8Array): Promise<void>;
|
|
316
320
|
private setDocumentContentInternal;
|
|
321
|
+
readonly pins: PinRegistry;
|
|
317
322
|
/**
|
|
318
323
|
* Save a Yjs snapshot for time travel.
|
|
319
324
|
*/
|
|
@@ -413,6 +418,14 @@ declare class SQLiteNodeStorageAdapter implements NodeStorageAdapter {
|
|
|
413
418
|
* Idempotent and memoized (exploration 0226).
|
|
414
419
|
*/
|
|
415
420
|
private ensureMaterializationColumns;
|
|
421
|
+
/**
|
|
422
|
+
* Ensure the `node_properties.tiebreak_key` column exists (exploration 0305).
|
|
423
|
+
* Fresh databases get it from the DDL; databases created before schema v8 need
|
|
424
|
+
* this in-place add so the grinding-resistant LWW guard has a column to
|
|
425
|
+
* compare. Idempotent, memoized, and non-fatal on races — a legacy NULL key
|
|
426
|
+
* just falls back to the author-DID tiebreak.
|
|
427
|
+
*/
|
|
428
|
+
private ensureNodePropertyColumns;
|
|
416
429
|
setNodeReadAuthorizer(authorizer: NodeReadAuthorizer | undefined): void;
|
|
417
430
|
/**
|
|
418
431
|
* Reload-stable version of the authorization-relevant control-plane state:
|
|
@@ -502,4 +515,4 @@ declare class SQLiteNodeStorageAdapter implements NodeStorageAdapter {
|
|
|
502
515
|
*/
|
|
503
516
|
declare function createNodeStorageAdapter(db: SQLiteAdapter, options?: SQLiteNodeStorageAdapterOptions): SQLiteNodeStorageAdapter;
|
|
504
517
|
|
|
505
|
-
export { ApplyNodeBatchInput, ApplyNodeBatchResult, CountNodesOptions, ImportNodesOptions, ListNodesOptions, MemoryNodeStorageAdapter, NodeBatchPreflightResult, NodeChange, NodeId, NodeQueryDescriptor, NodeQueryResult, NodeState, NodeStorageAdapter, PermissionError, RebuildNodeIndexesOptions, type SQLiteAdaptiveIndexingOptions, SQLiteNodeStorageAdapter, type SQLiteNodeStorageAdapterOptions, type SQLiteQueryVerificationOptions, SetNodeOptions, createNodeStorageAdapter };
|
|
518
|
+
export { ApplyNodeBatchInput, ApplyNodeBatchResult, CountNodesOptions, ImportNodesOptions, ListNodesOptions, MemoryNodeStorageAdapter, NodeBatchPreflightResult, NodeChange, NodeId, NodeQueryDescriptor, NodeQueryResult, NodeState, NodeStorageAdapter, PermissionError, PinRegistry, RebuildNodeIndexesOptions, type SQLiteAdaptiveIndexingOptions, SQLiteNodeStorageAdapter, type SQLiteNodeStorageAdapterOptions, type SQLiteQueryVerificationOptions, SetNodeOptions, createNodeStorageAdapter };
|
package/dist/store/index.js
CHANGED
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
sum,
|
|
50
50
|
validateQueryAST,
|
|
51
51
|
validateSavedViewDescriptor
|
|
52
|
-
} from "../chunk-
|
|
52
|
+
} from "../chunk-4S73XDWH.js";
|
|
53
53
|
import {
|
|
54
54
|
applyNodeQueryDescriptor,
|
|
55
55
|
createNodeQueryDescriptor,
|
|
@@ -65,9 +65,9 @@ import {
|
|
|
65
65
|
withoutNodeQueryMaterializedView,
|
|
66
66
|
withoutNodeQueryPagination
|
|
67
67
|
} from "../chunk-S5RP5RKY.js";
|
|
68
|
-
import "../chunk-
|
|
69
|
-
import "../chunk-
|
|
70
|
-
import "../chunk-
|
|
68
|
+
import "../chunk-XJBDESCX.js";
|
|
69
|
+
import "../chunk-RRXJNZX5.js";
|
|
70
|
+
import "../chunk-D4LUUZYD.js";
|
|
71
71
|
export {
|
|
72
72
|
MemoryNodeStorageAdapter,
|
|
73
73
|
NodeStore,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { e as StoreAuthAPI, f as NodeStoreOptions, g as NodeStorageAdapter, C as CreateNodeOptions, h as NodeState, i as NodeId, G as GetWithMigrationOptions, M as MigratedNodeState, U as UpdateNodeOptions, L as ListNodesOptions,
|
|
1
|
+
import { e as StoreAuthAPI, f as NodeStoreOptions, g as NodeStorageAdapter, C as CreateNodeOptions, h as NodeState, i as NodeId, j as CheckedOutDraftOverlay, G as GetWithMigrationOptions, M as MigratedNodeState, U as UpdateNodeOptions, L as ListNodesOptions, k as NodeQueryDescriptor, l as NodeQueryResult, T as TransactionOperation, m as TransactionResult, n as DeterministicNodeImportDraft, o as ImportDeterministicNodesOptions, p as ImportDeterministicNodesResult, q as NodeBatchWriteInput, r as NodeBatchWriteResult, S as SchemaIRI, s as NodeChange, t as MergeConflict, u as NodeChangeListener, v as NodeBatchChangeListener } from './types-C64g-IXg.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* NodeStore - Event-sourced storage for Nodes
|
|
@@ -26,6 +26,13 @@ declare class NodeStore {
|
|
|
26
26
|
private listeners;
|
|
27
27
|
private nodeListeners;
|
|
28
28
|
private batchListeners;
|
|
29
|
+
private checkedOutDraft;
|
|
30
|
+
private cloneToOriginal;
|
|
31
|
+
private draftMemberSet;
|
|
32
|
+
private draftDynamicMembers;
|
|
33
|
+
/** null = conservative "all schemas" (memberSchemaIds omitted). */
|
|
34
|
+
private draftMemberSchemaSet;
|
|
35
|
+
private draftOverlayListeners;
|
|
29
36
|
private schemaLookup?;
|
|
30
37
|
private propertyLookup?;
|
|
31
38
|
private lensRegistry?;
|
|
@@ -62,6 +69,54 @@ declare class NodeStore {
|
|
|
62
69
|
* Get a Node by ID.
|
|
63
70
|
*/
|
|
64
71
|
get(id: NodeId): Promise<NodeState | null>;
|
|
72
|
+
/**
|
|
73
|
+
* Read a node WITHOUT the draft overlay (exploration 0329) — merge review
|
|
74
|
+
* and diff surfaces use this to see main's true state while checked out.
|
|
75
|
+
*/
|
|
76
|
+
getRaw(id: NodeId): Promise<NodeState | null>;
|
|
77
|
+
/**
|
|
78
|
+
* Check a draft out (or pass null to return to main). While checked out,
|
|
79
|
+
* member reads swap to clone content under original ids, member writes
|
|
80
|
+
* redirect to clones (lazily forking via `onMissingMember`), and clone
|
|
81
|
+
* change events mirror to original-id subscribers.
|
|
82
|
+
*/
|
|
83
|
+
setCheckedOutDraft(overlay: CheckedOutDraftOverlay | null): void;
|
|
84
|
+
/** Report a locally-created node to the checkout's draft-born hook (0329 P4). */
|
|
85
|
+
private notifyDraftNodeCreated;
|
|
86
|
+
private notifyDraftOverlayListeners;
|
|
87
|
+
getCheckedOutDraft(): CheckedOutDraftOverlay | null;
|
|
88
|
+
/**
|
|
89
|
+
* Device-local draft privacy (exploration 0329): ids marked here (draft
|
|
90
|
+
* bookkeeping nodes, clones, draft-born nodes) are excluded from outbound
|
|
91
|
+
* sync publication by the personal node-sync room's `shouldPublish`
|
|
92
|
+
* predicate. In-memory only — the draft module rehydrates it from open
|
|
93
|
+
* Draft nodes at boot, BEFORE sync starts.
|
|
94
|
+
*/
|
|
95
|
+
private draftPrivateNodeIds;
|
|
96
|
+
markDraftPrivate(ids: readonly NodeId[]): void;
|
|
97
|
+
unmarkDraftPrivate(ids: readonly NodeId[]): void;
|
|
98
|
+
isDraftPrivate(id: NodeId): boolean;
|
|
99
|
+
/** Notified on every checkout change (including clone-map refreshes). */
|
|
100
|
+
subscribeToDraftOverlay(listener: () => void): () => void;
|
|
101
|
+
/**
|
|
102
|
+
* Swap checked-out members' content to their clones (original ids kept, so
|
|
103
|
+
* MV id lists and grid ordering are untouched). No-op without a checkout.
|
|
104
|
+
*/
|
|
105
|
+
private overlayStates;
|
|
106
|
+
/**
|
|
107
|
+
* Draft-aware query path (0329 P5): candidates from storage WITHOUT
|
|
108
|
+
* pagination, unioned with checked-out members the predicate may have
|
|
109
|
+
* missed (their clone values can change membership), content-swapped,
|
|
110
|
+
* clone rows hidden, then the full descriptor re-applied in JS so
|
|
111
|
+
* filter/sort/pagination reflect draft values.
|
|
112
|
+
*/
|
|
113
|
+
private draftAwareQuery;
|
|
114
|
+
/**
|
|
115
|
+
* Resolve where a write to `id` lands under the checkout: an existing
|
|
116
|
+
* clone, a lazily-forked one (`onMissingMember`), or — for non-members,
|
|
117
|
+
* clone ids, and declined forks — the id itself.
|
|
118
|
+
*/
|
|
119
|
+
private resolveDraftWriteTarget;
|
|
65
120
|
/**
|
|
66
121
|
* Return the subset of IDs that already exist in materialized storage.
|
|
67
122
|
*
|
|
@@ -15,9 +15,9 @@ import {
|
|
|
15
15
|
parseSystemNamespaceResource,
|
|
16
16
|
resolveSchemaAuthority,
|
|
17
17
|
validateSchemaDefinitionNode
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-XJBDESCX.js";
|
|
19
|
+
import "./chunk-RRXJNZX5.js";
|
|
20
|
+
import "./chunk-D4LUUZYD.js";
|
|
21
21
|
export {
|
|
22
22
|
PresenceSummarySchema,
|
|
23
23
|
SYSTEM_NAMESPACE_KINDS,
|
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
TagSchema,
|
|
5
5
|
isValidTagName,
|
|
6
6
|
normalizeTagName
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-Q6VTTPG4.js";
|
|
8
|
+
import "./chunk-RRXJNZX5.js";
|
|
9
|
+
import "./chunk-D4LUUZYD.js";
|
|
10
10
|
export {
|
|
11
11
|
MAX_TAG_NAME_LENGTH,
|
|
12
12
|
TAG_SCHEMA_IRI,
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
TaskSchema,
|
|
4
4
|
getTaskStatusCategory,
|
|
5
5
|
isCompletedTaskStatus
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-FWCM2TKJ.js";
|
|
7
|
+
import "./chunk-JA56EQJO.js";
|
|
8
|
+
import "./chunk-LK5ZIAIE.js";
|
|
9
|
+
import "./chunk-RRXJNZX5.js";
|
|
10
|
+
import "./chunk-D4LUUZYD.js";
|
|
11
11
|
export {
|
|
12
12
|
TASK_STATUS_CATEGORIES,
|
|
13
13
|
TaskSchema,
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import {
|
|
2
|
+
TRANSACTION_SCHEMA_IRI,
|
|
3
|
+
TransactionSchema
|
|
4
|
+
} from "./chunk-YD2ZPFT7.js";
|
|
5
|
+
import "./chunk-JA56EQJO.js";
|
|
6
|
+
import "./chunk-LK5ZIAIE.js";
|
|
7
|
+
import "./chunk-RRXJNZX5.js";
|
|
8
|
+
import "./chunk-D4LUUZYD.js";
|
|
9
|
+
export {
|
|
10
|
+
TRANSACTION_SCHEMA_IRI,
|
|
11
|
+
TransactionSchema
|
|
12
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import {
|
|
2
|
+
TRANSCRIPTION_SCHEMA_IRI,
|
|
3
|
+
TranscriptionSchema
|
|
4
|
+
} from "./chunk-HPUXHSKR.js";
|
|
5
|
+
import "./chunk-JA56EQJO.js";
|
|
6
|
+
import "./chunk-LK5ZIAIE.js";
|
|
7
|
+
import "./chunk-RRXJNZX5.js";
|
|
8
|
+
import "./chunk-D4LUUZYD.js";
|
|
9
|
+
export {
|
|
10
|
+
TRANSCRIPTION_SCHEMA_IRI,
|
|
11
|
+
TranscriptionSchema
|
|
12
|
+
};
|