@xnetjs/data 2.4.0 → 2.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/index.js CHANGED
@@ -6,450 +6,6 @@ import {
6
6
  signUpdate,
7
7
  verifyUpdate
8
8
  } from "./chunk-XHEA5UER.js";
9
- import {
10
- LensRegistry,
11
- MAX_LINK_PREVIEWS_PER_MESSAGE,
12
- MAX_MENTION_DIDS,
13
- MigrationError,
14
- PresenceAggregator,
15
- SIDECAR_PREFIX,
16
- SchemaRegistry,
17
- SystemSchemaIndex,
18
- TASK_SHORT_ID_PATTERN,
19
- accountState,
20
- addDefault,
21
- admitDeviceRecord,
22
- bucketPresenceCount,
23
- buildEffectiveSchema,
24
- builtInSchemas,
25
- canModifyColumn,
26
- checkOrphanStatus,
27
- composeLens,
28
- convert,
29
- copy,
30
- createAccountRecord,
31
- createNodeGraphSchemaResolver,
32
- createOperations,
33
- decodeAnchor,
34
- encodeAnchor,
35
- extractMentions,
36
- filterOrphanedComments,
37
- findLockedColumns,
38
- formatTaskShortId,
39
- getMentionedUsers,
40
- getPresenceNoisePolicy,
41
- identity,
42
- isCanvasObjectAnchor,
43
- isCanvasPositionAnchor,
44
- isCellAnchor,
45
- isColumnAnchor,
46
- isMessageLinkPreview,
47
- isNodeAnchor,
48
- isRowAnchor,
49
- isSchemaDefinitionNode,
50
- isTextAnchor,
51
- isValidMentions,
52
- lensRegistry,
53
- loadExtensionFields,
54
- lockedPropertyKeys,
55
- mentionsInclude,
56
- merge,
57
- mergeSidecarsIntoRow,
58
- nextEpoch,
59
- normalizeMentions,
60
- parseTaskShortId,
61
- promoteOverlay,
62
- remove,
63
- rename,
64
- resolveEffectiveSchema,
65
- revokeDeviceRecord,
66
- revokeSubjectRecord,
67
- sanitizeLinkPreviews,
68
- schemaRegistry,
69
- selectExtensionFields,
70
- shortIdsFromBlock,
71
- sidecarId,
72
- sidecarOverlayKeys,
73
- summarizePresenceNodes,
74
- taskBranchName,
75
- transform,
76
- when
77
- } from "./chunk-CNGEXCIH.js";
78
- import {
79
- AbuseReportSchema,
80
- AppealSchema,
81
- CommunityNoteSchema,
82
- ContentProvenanceSchema,
83
- MessageRequestSchema,
84
- ModerationLabelSchema,
85
- NoteRatingSchema,
86
- PolicyListSchema,
87
- PolicySubscriptionSchema,
88
- PublicInteractionPolicySchema,
89
- QualitySignalSchema,
90
- ReviewTaskSchema
91
- } from "./chunk-CY6EJUNV.js";
92
- import {
93
- ACHIEVEMENT_SCHEMA_IRI,
94
- AchievementSchema,
95
- GAME_ASSET_FORMATS,
96
- GAME_ASSET_MIME_TYPES,
97
- GAME_ASSET_SCHEMA_IRI,
98
- GAME_ECONOMY_ENTRY_SCHEMA_IRI,
99
- GAME_ITEM_SCHEMA_IRI,
100
- GAME_NAMESPACE,
101
- GAME_SCHEMA_IRIS,
102
- GameAssetSchema,
103
- GameEconomyEntrySchema,
104
- GameItemSchema,
105
- INVENTORY_SCHEMA_IRI,
106
- ITEM_RARITIES,
107
- InventorySchema,
108
- MATCH_RESULTS,
109
- MATCH_SESSION_SCHEMA_IRI,
110
- MatchSessionSchema,
111
- PLAYER_IDENTITY_SCHEMA_IRI,
112
- PlayerIdentitySchema,
113
- gameSchemas
114
- } from "./chunk-YRFCXKJC.js";
115
- import {
116
- MEMORY_ITEM_SCHEMA_IRI,
117
- MEMORY_KINDS,
118
- MemoryItemSchema
119
- } from "./chunk-2DAVPHDV.js";
120
- import {
121
- AGENT_ACTION_SCHEMA_IRI,
122
- AGENT_ACTION_STATUSES,
123
- AGENT_APPROVAL_DECISIONS,
124
- AGENT_APPROVAL_SCHEMA_IRI,
125
- AGENT_APPROVAL_SURFACES,
126
- AGENT_CHANNELS,
127
- AGENT_NOTIFICATION_KINDS,
128
- AGENT_NOTIFICATION_SCHEMA_IRI,
129
- AGENT_NOTIFICATION_STATUSES,
130
- AGENT_PASSPORT_SCHEMA_IRI,
131
- AGENT_REVERSIBILITIES,
132
- AGENT_RISKS,
133
- AGENT_RUNTIMES,
134
- AGENT_SESSION_SCHEMA_IRI,
135
- AgentActionSchema,
136
- AgentApprovalSchema,
137
- AgentNotificationSchema,
138
- AgentPassportSchema,
139
- AgentSessionSchema,
140
- agentActionId,
141
- agentApprovalId,
142
- agentNotificationId,
143
- agentPassportId,
144
- agentSessionId,
145
- redactInstruction
146
- } from "./chunk-2K6BLSNC.js";
147
- import {
148
- DEFAULT_CHANNEL_TIER,
149
- InboxStateSchema,
150
- inboxStateNodeId
151
- } from "./chunk-37PXEMYQ.js";
152
- import {
153
- GrantSchema
154
- } from "./chunk-TH2BJPDZ.js";
155
- import {
156
- SavedViewSchema
157
- } from "./chunk-IVCHWQY7.js";
158
- import {
159
- WorkspaceSchema
160
- } from "./chunk-JUTPAFDP.js";
161
- import {
162
- UserWidgetSchema
163
- } from "./chunk-WQRBUG65.js";
164
- import {
165
- DashboardSchema
166
- } from "./chunk-EUJR5QQC.js";
167
- import {
168
- ReactionSchema
169
- } from "./chunk-RAJNAD64.js";
170
- import {
171
- DebugReportSchema
172
- } from "./chunk-HXIEK5L6.js";
173
- import {
174
- ProfileSchema,
175
- didFromProfileNodeId,
176
- profileNodeId
177
- } from "./chunk-4HJZJMPI.js";
178
- import {
179
- CHANNEL_KINDS,
180
- ChannelSchema
181
- } from "./chunk-7MSSPUMC.js";
182
- import {
183
- ChatMessageSchema
184
- } from "./chunk-57AT2DT2.js";
185
- import {
186
- FEED_SCHEMA_IRI,
187
- FeedSchema
188
- } from "./chunk-EA2PZ3EU.js";
189
- import {
190
- FEED_ITEM_SCHEMA_IRI,
191
- FeedItemSchema
192
- } from "./chunk-QH7RZEHT.js";
193
- import {
194
- EXTERNAL_ITEM_SCHEMA_IRI,
195
- EXTERNAL_ITEM_SOURCES,
196
- ExternalItemSchema
197
- } from "./chunk-FTKHARBY.js";
198
- import {
199
- MediaAssetSchema
200
- } from "./chunk-LDKJDNSW.js";
201
- import {
202
- TRANSCRIPTION_SCHEMA_IRI,
203
- TranscriptionSchema
204
- } from "./chunk-CTQALHJM.js";
205
- import {
206
- MEETING_CHANNELS,
207
- MEETING_SCHEMA_IRI,
208
- MEETING_TEMPLATE_IDS,
209
- MEETING_TRANSCRIPT_SCHEMA_IRI,
210
- MeetingSchema,
211
- MeetingTranscriptSchema
212
- } from "./chunk-QOTR4SGT.js";
213
- import {
214
- CanvasSchema
215
- } from "./chunk-O34JPX6Q.js";
216
- import {
217
- MapSchema
218
- } from "./chunk-HSCGVBQN.js";
219
- import {
220
- CommentSchema
221
- } from "./chunk-ICBC5VLZ.js";
222
- import {
223
- CHECKPOINT_SCHEMA_IRI,
224
- CheckpointSchema
225
- } from "./chunk-TOQ2LBAN.js";
226
- import {
227
- DRAFT_SCHEMA_IRI,
228
- DraftSchema
229
- } from "./chunk-6AKAZHVZ.js";
230
- import {
231
- ACTIVITY_KINDS,
232
- ACTIVITY_SCHEMA_IRI,
233
- ActivitySchema,
234
- CONTACT_LIFECYCLE,
235
- CONTACT_SCHEMA_IRI,
236
- CRM_NAMESPACE,
237
- ContactSchema,
238
- DEAL_CONTACT_ROLES,
239
- DEAL_CONTACT_ROLE_SCHEMA_IRI,
240
- DEAL_SCHEMA_IRI,
241
- DEAL_SOURCES,
242
- DealContactRoleSchema,
243
- DealSchema,
244
- FORECAST_CATEGORIES,
245
- LINE_ITEM_SCHEMA_IRI,
246
- LineItemSchema,
247
- ORGANIZATION_SCHEMA_IRI,
248
- ORGANIZATION_SIZES,
249
- OrganizationSchema,
250
- PIPELINE_SCHEMA_IRI,
251
- PRODUCT_KINDS,
252
- PRODUCT_SCHEMA_IRI,
253
- PipelineSchema,
254
- ProductSchema,
255
- RELATIONSHIP_KINDS,
256
- RELATIONSHIP_SCHEMA_IRI,
257
- RelationshipSchema,
258
- STAGE_SCHEMA_IRI,
259
- StageSchema,
260
- crmSchemas
261
- } from "./chunk-WOBZDEKQ.js";
262
- import {
263
- ACCOUNT_SCHEMA_IRI,
264
- AccountSchema
265
- } from "./chunk-L6DF76E2.js";
266
- import {
267
- TRANSACTION_SCHEMA_IRI,
268
- TransactionSchema
269
- } from "./chunk-PKLHOQSO.js";
270
- import {
271
- POSTING_SCHEMA_IRI,
272
- PostingSchema
273
- } from "./chunk-F6ICOU6R.js";
274
- import {
275
- BUDGET_SCHEMA_IRI,
276
- BudgetSchema
277
- } from "./chunk-KHLOVRMQ.js";
278
- import {
279
- IMPORT_BATCH_SCHEMA_IRI,
280
- ImportBatchSchema
281
- } from "./chunk-M6STMJ2V.js";
282
- import {
283
- NODE_VISIBILITY,
284
- SPACE_KINDS,
285
- SPACE_ROLES,
286
- SPACE_SCHEMA_IRI,
287
- SPACE_VISIBILITY,
288
- SpaceSchema,
289
- buildSpaceTree,
290
- canManageSpace,
291
- compareSpaceRoles,
292
- effectiveSpaceRole,
293
- flattenSpaceTree,
294
- spaceAncestorIds,
295
- spacePathIds,
296
- spaceRoleGrantActions,
297
- spaceRoleToShareRole,
298
- wouldCreateSpaceCycle
299
- } from "./chunk-RRIRY7FP.js";
300
- import {
301
- ExternalReferenceSchema
302
- } from "./chunk-XFOUIAJF.js";
303
- import {
304
- TASK_STATUS_CATEGORIES,
305
- TaskSchema,
306
- getTaskStatusCategory,
307
- isCompletedTaskStatus
308
- } from "./chunk-CM57A2GS.js";
309
- import {
310
- TaskViewSchema
311
- } from "./chunk-4SIMTLCC.js";
312
- import {
313
- ProjectSchema
314
- } from "./chunk-3FWYS6AW.js";
315
- import {
316
- MetricSchema
317
- } from "./chunk-QVGTYLL3.js";
318
- import {
319
- ObservationSchema
320
- } from "./chunk-ZEMCCIIO.js";
321
- import {
322
- ExperimentSchema
323
- } from "./chunk-EZJ3OD5A.js";
324
- import {
325
- MILESTONE_SCHEMA_IRI,
326
- MilestoneSchema
327
- } from "./chunk-R2AZXT3D.js";
328
- import {
329
- PageSchema
330
- } from "./chunk-Y2XWK7AA.js";
331
- import {
332
- FOLDER_SCHEMA_IRI,
333
- FolderSchema,
334
- buildFolderTree,
335
- flattenFolderTree,
336
- folderAncestorIds,
337
- folderPathIds,
338
- wouldCreateFolderCycle
339
- } from "./chunk-IJZ5YPYT.js";
340
- import {
341
- MAX_TAG_NAME_LENGTH,
342
- TAG_SCHEMA_IRI,
343
- TagSchema,
344
- isValidTagName,
345
- normalizeTagName
346
- } from "./chunk-YFLL3CME.js";
347
- import {
348
- DatabaseSchema
349
- } from "./chunk-JB6BPIVP.js";
350
- import {
351
- MemoryNodeStorageAdapter,
352
- NodeStore,
353
- PermissionError,
354
- QUERY_AST_VERSION,
355
- SQLiteNodeStorageAdapter,
356
- TEMP_ID_PREFIX,
357
- and,
358
- avg,
359
- between,
360
- contains,
361
- count,
362
- countDistinct,
363
- createNodeStorageAdapter,
364
- createSchemaLookup,
365
- dashboardQuerySet,
366
- defineNodeQueryAST,
367
- defineQuerySetAST,
368
- defineSavedViewDescriptor,
369
- eq,
370
- evaluateQueryASTPlannerGate,
371
- executeQueryASTLoadedAggregates,
372
- filterQueryASTLoadedRows,
373
- follow,
374
- from,
375
- getQueryASTRelationIndexRequirements,
376
- groupBy,
377
- gt,
378
- gte,
379
- having,
380
- includesAny,
381
- isNotNull,
382
- isNull,
383
- isTempId,
384
- lt,
385
- lte,
386
- matchesQueryASTLoadedRow,
387
- max,
388
- min,
389
- neq,
390
- not,
391
- or,
392
- planQueryASTAggregates,
393
- queryOperators,
394
- querySetCount,
395
- resolveTempIds,
396
- startsWith,
397
- sum,
398
- validateQueryAST,
399
- validateSavedViewDescriptor
400
- } from "./chunk-EGGRKSRH.js";
401
- import {
402
- evaluateLedgerWrite,
403
- foldAccountRecord,
404
- ledgerAccountId,
405
- ledgerWriteKind
406
- } from "./chunk-3UOUVEZW.js";
407
- import {
408
- ACCOUNT_RECORD_SCHEMA_IRI,
409
- AccountRecordSchema,
410
- DEVICE_RECORD_SCHEMA_IRI,
411
- DeviceRecordSchema,
412
- RECOVERY_RECORD_SCHEMA_IRI,
413
- REVOCATION_RECORD_SCHEMA_IRI,
414
- RecoveryRecordSchema,
415
- RevocationRecordSchema,
416
- accountRecordId,
417
- deviceRecipientExpander,
418
- deviceRecordId,
419
- isDeviceAuthorized,
420
- recoveryRecordId,
421
- resolveActiveDevices,
422
- revocationRecordId,
423
- revokedSubjects
424
- } from "./chunk-5ECIKN6Z.js";
425
- import {
426
- PresenceSummarySchema,
427
- SYSTEM_NAMESPACE_KINDS,
428
- SYSTEM_SCHEMA_BASE_IRIS,
429
- SYSTEM_SCHEMA_IRIS,
430
- SchemaCompatibilitySchema,
431
- SchemaDefinitionSchema,
432
- SyncPolicySchema,
433
- buildSystemNamespace,
434
- buildSystemNodeId,
435
- computeSchemaDefinitionContentHash,
436
- createSchemaDefinitionSigningPayload,
437
- isSystemNamespaceResource,
438
- isSystemSchemaIri,
439
- parseSystemNamespaceResource,
440
- resolveSchemaAuthority,
441
- validateSchemaDefinitionNode
442
- } from "./chunk-ZNHLH7SC.js";
443
- import {
444
- clearLocalPresence,
445
- createAwareness,
446
- generateUserColor,
447
- getAllPresences,
448
- getLocalClientId,
449
- getRemotePresences,
450
- onPresenceChange,
451
- setLocalPresence
452
- } from "./chunk-7PDRDSFH.js";
453
9
  import {
454
10
  CELL_PREFIX,
455
11
  DATABASE_SCHEMA_NAMESPACE,
@@ -666,7 +222,414 @@ import {
666
222
  validateJsonData,
667
223
  validateRollupConfig,
668
224
  visibleFormQuestions
669
- } from "./chunk-56EXPOJ4.js";
225
+ } from "./chunk-TW5XJHNF.js";
226
+ import {
227
+ MemoryNodeStorageAdapter,
228
+ NodeStore,
229
+ PermissionError,
230
+ QUERY_AST_VERSION,
231
+ SQLiteNodeStorageAdapter,
232
+ TEMP_ID_PREFIX,
233
+ and,
234
+ avg,
235
+ between,
236
+ contains,
237
+ count,
238
+ countDistinct,
239
+ createNodeStorageAdapter,
240
+ createSchemaLookup,
241
+ dashboardQuerySet,
242
+ defineNodeQueryAST,
243
+ defineQuerySetAST,
244
+ defineSavedViewDescriptor,
245
+ eq,
246
+ evaluateQueryASTPlannerGate,
247
+ executeQueryASTLoadedAggregates,
248
+ filterQueryASTLoadedRows,
249
+ follow,
250
+ from,
251
+ getQueryASTRelationIndexRequirements,
252
+ groupBy,
253
+ gt,
254
+ gte,
255
+ having,
256
+ includesAny,
257
+ isNotNull,
258
+ isNull,
259
+ isTempId,
260
+ lt,
261
+ lte,
262
+ matchesQueryASTLoadedRow,
263
+ max,
264
+ min,
265
+ neq,
266
+ not,
267
+ or,
268
+ planQueryASTAggregates,
269
+ queryOperators,
270
+ querySetCount,
271
+ resolveTempIds,
272
+ startsWith,
273
+ sum,
274
+ validateQueryAST,
275
+ validateSavedViewDescriptor
276
+ } from "./chunk-ODOPVGUX.js";
277
+ import {
278
+ applyNodeQueryDescriptor,
279
+ createNodeQueryDescriptor,
280
+ decodeNodeQueryCursor,
281
+ encodeNodeQueryCursor,
282
+ filterNodeQueryResults,
283
+ getNodeQuerySearchTokens,
284
+ matchesNodeQueryDescriptor,
285
+ nodeQueryDescriptorNeedsBoundedReload,
286
+ nodeQueryDescriptorToOptions,
287
+ serializeNodeQueryDescriptor,
288
+ sortNodeQueryResults,
289
+ withoutNodeQueryMaterializedView,
290
+ withoutNodeQueryPagination
291
+ } from "./chunk-WOEFYS7Y.js";
292
+ import {
293
+ LensRegistry,
294
+ MAX_LINK_PREVIEWS_PER_MESSAGE,
295
+ MAX_MENTION_DIDS,
296
+ MigrationError,
297
+ PresenceAggregator,
298
+ SIDECAR_PREFIX,
299
+ SchemaRegistry,
300
+ SystemSchemaIndex,
301
+ TASK_SHORT_ID_PATTERN,
302
+ accountState,
303
+ addDefault,
304
+ admitDeviceRecord,
305
+ bucketPresenceCount,
306
+ buildEffectiveSchema,
307
+ builtInSchemas,
308
+ canModifyColumn,
309
+ checkOrphanStatus,
310
+ composeLens,
311
+ convert,
312
+ copy,
313
+ createAccountRecord,
314
+ createNodeGraphSchemaResolver,
315
+ createOperations,
316
+ decodeAnchor,
317
+ encodeAnchor,
318
+ extractMentions,
319
+ filterOrphanedComments,
320
+ findLockedColumns,
321
+ formatTaskShortId,
322
+ getMentionedUsers,
323
+ getPresenceNoisePolicy,
324
+ identity,
325
+ isCanvasObjectAnchor,
326
+ isCanvasPositionAnchor,
327
+ isCellAnchor,
328
+ isColumnAnchor,
329
+ isMessageLinkPreview,
330
+ isNodeAnchor,
331
+ isRowAnchor,
332
+ isSchemaDefinitionNode,
333
+ isTextAnchor,
334
+ isValidMentions,
335
+ lensRegistry,
336
+ loadExtensionFields,
337
+ lockedPropertyKeys,
338
+ mentionsInclude,
339
+ merge,
340
+ mergeSidecarsIntoRow,
341
+ nextEpoch,
342
+ normalizeMentions,
343
+ parseTaskShortId,
344
+ promoteOverlay,
345
+ remove,
346
+ rename,
347
+ resolveEffectiveSchema,
348
+ revokeDeviceRecord,
349
+ revokeSubjectRecord,
350
+ sanitizeLinkPreviews,
351
+ schemaRegistry,
352
+ selectExtensionFields,
353
+ shortIdsFromBlock,
354
+ sidecarId,
355
+ sidecarOverlayKeys,
356
+ summarizePresenceNodes,
357
+ taskBranchName,
358
+ transform,
359
+ when
360
+ } from "./chunk-MAB662PR.js";
361
+ import {
362
+ AbuseReportSchema,
363
+ AppealSchema,
364
+ CommunityNoteSchema,
365
+ ContentProvenanceSchema,
366
+ MessageRequestSchema,
367
+ ModerationLabelSchema,
368
+ NoteRatingSchema,
369
+ PolicyListSchema,
370
+ PolicySubscriptionSchema,
371
+ PublicInteractionPolicySchema,
372
+ QualitySignalSchema,
373
+ ReviewTaskSchema
374
+ } from "./chunk-CY6EJUNV.js";
375
+ import {
376
+ ACHIEVEMENT_SCHEMA_IRI,
377
+ AchievementSchema,
378
+ GAME_ASSET_FORMATS,
379
+ GAME_ASSET_MIME_TYPES,
380
+ GAME_ASSET_SCHEMA_IRI,
381
+ GAME_ECONOMY_ENTRY_SCHEMA_IRI,
382
+ GAME_ITEM_SCHEMA_IRI,
383
+ GAME_NAMESPACE,
384
+ GAME_SCHEMA_IRIS,
385
+ GameAssetSchema,
386
+ GameEconomyEntrySchema,
387
+ GameItemSchema,
388
+ INVENTORY_SCHEMA_IRI,
389
+ ITEM_RARITIES,
390
+ InventorySchema,
391
+ MATCH_RESULTS,
392
+ MATCH_SESSION_SCHEMA_IRI,
393
+ MatchSessionSchema,
394
+ PLAYER_IDENTITY_SCHEMA_IRI,
395
+ PlayerIdentitySchema,
396
+ gameSchemas
397
+ } from "./chunk-YRFCXKJC.js";
398
+ import {
399
+ MEMORY_ITEM_SCHEMA_IRI,
400
+ MEMORY_KINDS,
401
+ MemoryItemSchema
402
+ } from "./chunk-2DAVPHDV.js";
403
+ import {
404
+ AGENT_ACTION_SCHEMA_IRI,
405
+ AGENT_ACTION_STATUSES,
406
+ AGENT_APPROVAL_DECISIONS,
407
+ AGENT_APPROVAL_SCHEMA_IRI,
408
+ AGENT_APPROVAL_SURFACES,
409
+ AGENT_CHANNELS,
410
+ AGENT_NOTIFICATION_KINDS,
411
+ AGENT_NOTIFICATION_SCHEMA_IRI,
412
+ AGENT_NOTIFICATION_STATUSES,
413
+ AGENT_PASSPORT_SCHEMA_IRI,
414
+ AGENT_REVERSIBILITIES,
415
+ AGENT_RISKS,
416
+ AGENT_RUNTIMES,
417
+ AGENT_SESSION_SCHEMA_IRI,
418
+ AgentActionSchema,
419
+ AgentApprovalSchema,
420
+ AgentNotificationSchema,
421
+ AgentPassportSchema,
422
+ AgentSessionSchema,
423
+ agentActionId,
424
+ agentApprovalId,
425
+ agentNotificationId,
426
+ agentPassportId,
427
+ agentSessionId,
428
+ redactInstruction
429
+ } from "./chunk-2K6BLSNC.js";
430
+ import {
431
+ DEFAULT_CHANNEL_TIER,
432
+ InboxStateSchema,
433
+ inboxStateNodeId
434
+ } from "./chunk-37PXEMYQ.js";
435
+ import {
436
+ GrantSchema
437
+ } from "./chunk-TH2BJPDZ.js";
438
+ import {
439
+ SavedViewSchema
440
+ } from "./chunk-IVCHWQY7.js";
441
+ import {
442
+ WorkspaceSchema
443
+ } from "./chunk-JUTPAFDP.js";
444
+ import {
445
+ UserWidgetSchema
446
+ } from "./chunk-WQRBUG65.js";
447
+ import {
448
+ DashboardSchema
449
+ } from "./chunk-EUJR5QQC.js";
450
+ import {
451
+ ReactionSchema
452
+ } from "./chunk-RAJNAD64.js";
453
+ import {
454
+ DebugReportSchema
455
+ } from "./chunk-HXIEK5L6.js";
456
+ import {
457
+ ProfileSchema,
458
+ didFromProfileNodeId,
459
+ profileNodeId
460
+ } from "./chunk-4HJZJMPI.js";
461
+ import {
462
+ CHANNEL_KINDS,
463
+ ChannelSchema
464
+ } from "./chunk-7MSSPUMC.js";
465
+ import {
466
+ ChatMessageSchema
467
+ } from "./chunk-57AT2DT2.js";
468
+ import {
469
+ FEED_SCHEMA_IRI,
470
+ FeedSchema
471
+ } from "./chunk-EA2PZ3EU.js";
472
+ import {
473
+ FEED_ITEM_SCHEMA_IRI,
474
+ FeedItemSchema
475
+ } from "./chunk-QH7RZEHT.js";
476
+ import {
477
+ EXTERNAL_ITEM_SCHEMA_IRI,
478
+ EXTERNAL_ITEM_SOURCES,
479
+ ExternalItemSchema
480
+ } from "./chunk-FTKHARBY.js";
481
+ import {
482
+ MediaAssetSchema
483
+ } from "./chunk-LDKJDNSW.js";
484
+ import {
485
+ TRANSCRIPTION_SCHEMA_IRI,
486
+ TranscriptionSchema
487
+ } from "./chunk-CTQALHJM.js";
488
+ import {
489
+ MEETING_CHANNELS,
490
+ MEETING_SCHEMA_IRI,
491
+ MEETING_TEMPLATE_IDS,
492
+ MEETING_TRANSCRIPT_SCHEMA_IRI,
493
+ MeetingSchema,
494
+ MeetingTranscriptSchema
495
+ } from "./chunk-QOTR4SGT.js";
496
+ import {
497
+ CanvasSchema
498
+ } from "./chunk-O34JPX6Q.js";
499
+ import {
500
+ MapSchema
501
+ } from "./chunk-HSCGVBQN.js";
502
+ import {
503
+ CommentSchema
504
+ } from "./chunk-ICBC5VLZ.js";
505
+ import {
506
+ CHECKPOINT_SCHEMA_IRI,
507
+ CheckpointSchema
508
+ } from "./chunk-TOQ2LBAN.js";
509
+ import {
510
+ DRAFT_SCHEMA_IRI,
511
+ DraftSchema
512
+ } from "./chunk-6AKAZHVZ.js";
513
+ import {
514
+ ACTIVITY_KINDS,
515
+ ACTIVITY_SCHEMA_IRI,
516
+ ActivitySchema,
517
+ CONTACT_LIFECYCLE,
518
+ CONTACT_SCHEMA_IRI,
519
+ CRM_NAMESPACE,
520
+ ContactSchema,
521
+ DEAL_CONTACT_ROLES,
522
+ DEAL_CONTACT_ROLE_SCHEMA_IRI,
523
+ DEAL_SCHEMA_IRI,
524
+ DEAL_SOURCES,
525
+ DealContactRoleSchema,
526
+ DealSchema,
527
+ FORECAST_CATEGORIES,
528
+ LINE_ITEM_SCHEMA_IRI,
529
+ LineItemSchema,
530
+ ORGANIZATION_SCHEMA_IRI,
531
+ ORGANIZATION_SIZES,
532
+ OrganizationSchema,
533
+ PIPELINE_SCHEMA_IRI,
534
+ PRODUCT_KINDS,
535
+ PRODUCT_SCHEMA_IRI,
536
+ PipelineSchema,
537
+ ProductSchema,
538
+ RELATIONSHIP_KINDS,
539
+ RELATIONSHIP_SCHEMA_IRI,
540
+ RelationshipSchema,
541
+ STAGE_SCHEMA_IRI,
542
+ StageSchema,
543
+ crmSchemas
544
+ } from "./chunk-WOBZDEKQ.js";
545
+ import {
546
+ ACCOUNT_SCHEMA_IRI,
547
+ AccountSchema
548
+ } from "./chunk-L6DF76E2.js";
549
+ import {
550
+ TRANSACTION_SCHEMA_IRI,
551
+ TransactionSchema
552
+ } from "./chunk-PKLHOQSO.js";
553
+ import {
554
+ POSTING_SCHEMA_IRI,
555
+ PostingSchema
556
+ } from "./chunk-F6ICOU6R.js";
557
+ import {
558
+ BUDGET_SCHEMA_IRI,
559
+ BudgetSchema
560
+ } from "./chunk-KHLOVRMQ.js";
561
+ import {
562
+ IMPORT_BATCH_SCHEMA_IRI,
563
+ ImportBatchSchema
564
+ } from "./chunk-M6STMJ2V.js";
565
+ import {
566
+ NODE_VISIBILITY,
567
+ SPACE_KINDS,
568
+ SPACE_ROLES,
569
+ SPACE_SCHEMA_IRI,
570
+ SPACE_VISIBILITY,
571
+ SpaceSchema,
572
+ buildSpaceTree,
573
+ canManageSpace,
574
+ compareSpaceRoles,
575
+ effectiveSpaceRole,
576
+ flattenSpaceTree,
577
+ spaceAncestorIds,
578
+ spacePathIds,
579
+ spaceRoleGrantActions,
580
+ spaceRoleToShareRole,
581
+ wouldCreateSpaceCycle
582
+ } from "./chunk-RRIRY7FP.js";
583
+ import {
584
+ ExternalReferenceSchema
585
+ } from "./chunk-XFOUIAJF.js";
586
+ import {
587
+ TASK_STATUS_CATEGORIES,
588
+ TaskSchema,
589
+ getTaskStatusCategory,
590
+ isCompletedTaskStatus
591
+ } from "./chunk-CM57A2GS.js";
592
+ import {
593
+ TaskViewSchema
594
+ } from "./chunk-4SIMTLCC.js";
595
+ import {
596
+ ProjectSchema
597
+ } from "./chunk-3FWYS6AW.js";
598
+ import {
599
+ MetricSchema
600
+ } from "./chunk-QVGTYLL3.js";
601
+ import {
602
+ ObservationSchema
603
+ } from "./chunk-ZEMCCIIO.js";
604
+ import {
605
+ ExperimentSchema
606
+ } from "./chunk-EZJ3OD5A.js";
607
+ import {
608
+ MILESTONE_SCHEMA_IRI,
609
+ MilestoneSchema
610
+ } from "./chunk-R2AZXT3D.js";
611
+ import {
612
+ PageSchema
613
+ } from "./chunk-JF4VCZER.js";
614
+ import {
615
+ FOLDER_SCHEMA_IRI,
616
+ FolderSchema,
617
+ buildFolderTree,
618
+ flattenFolderTree,
619
+ folderAncestorIds,
620
+ folderPathIds,
621
+ wouldCreateFolderCycle
622
+ } from "./chunk-IJZ5YPYT.js";
623
+ import {
624
+ MAX_TAG_NAME_LENGTH,
625
+ TAG_SCHEMA_IRI,
626
+ TagSchema,
627
+ isValidTagName,
628
+ normalizeTagName
629
+ } from "./chunk-YFLL3CME.js";
630
+ import {
631
+ DatabaseSchema
632
+ } from "./chunk-JB6BPIVP.js";
670
633
  import {
671
634
  EXT_PREFIX,
672
635
  extKey,
@@ -703,20 +666,57 @@ import {
703
666
  } from "./chunk-UFV5QWCL.js";
704
667
  import "./chunk-RLRAWZJE.js";
705
668
  import {
706
- applyNodeQueryDescriptor,
707
- createNodeQueryDescriptor,
708
- decodeNodeQueryCursor,
709
- encodeNodeQueryCursor,
710
- filterNodeQueryResults,
711
- getNodeQuerySearchTokens,
712
- matchesNodeQueryDescriptor,
713
- nodeQueryDescriptorNeedsBoundedReload,
714
- nodeQueryDescriptorToOptions,
715
- serializeNodeQueryDescriptor,
716
- sortNodeQueryResults,
717
- withoutNodeQueryMaterializedView,
718
- withoutNodeQueryPagination
719
- } from "./chunk-WOEFYS7Y.js";
669
+ evaluateLedgerWrite,
670
+ foldAccountRecord,
671
+ ledgerAccountId,
672
+ ledgerWriteKind
673
+ } from "./chunk-3UOUVEZW.js";
674
+ import {
675
+ ACCOUNT_RECORD_SCHEMA_IRI,
676
+ AccountRecordSchema,
677
+ DEVICE_RECORD_SCHEMA_IRI,
678
+ DeviceRecordSchema,
679
+ RECOVERY_RECORD_SCHEMA_IRI,
680
+ REVOCATION_RECORD_SCHEMA_IRI,
681
+ RecoveryRecordSchema,
682
+ RevocationRecordSchema,
683
+ accountRecordId,
684
+ deviceRecipientExpander,
685
+ deviceRecordId,
686
+ isDeviceAuthorized,
687
+ recoveryRecordId,
688
+ resolveActiveDevices,
689
+ revocationRecordId,
690
+ revokedSubjects
691
+ } from "./chunk-5ECIKN6Z.js";
692
+ import {
693
+ PresenceSummarySchema,
694
+ SYSTEM_NAMESPACE_KINDS,
695
+ SYSTEM_SCHEMA_BASE_IRIS,
696
+ SYSTEM_SCHEMA_IRIS,
697
+ SchemaCompatibilitySchema,
698
+ SchemaDefinitionSchema,
699
+ SyncPolicySchema,
700
+ buildSystemNamespace,
701
+ buildSystemNodeId,
702
+ computeSchemaDefinitionContentHash,
703
+ createSchemaDefinitionSigningPayload,
704
+ isSystemNamespaceResource,
705
+ isSystemSchemaIri,
706
+ parseSystemNamespaceResource,
707
+ resolveSchemaAuthority,
708
+ validateSchemaDefinitionNode
709
+ } from "./chunk-ZNHLH7SC.js";
710
+ import {
711
+ clearLocalPresence,
712
+ createAwareness,
713
+ generateUserColor,
714
+ getAllPresences,
715
+ getLocalClientId,
716
+ getRemotePresences,
717
+ onPresenceChange,
718
+ setLocalPresence
719
+ } from "./chunk-7PDRDSFH.js";
720
720
  import {
721
721
  SPACE_MEMBERSHIP_SCHEMA_IRI,
722
722
  SpaceMembershipSchema,