@xnetjs/data 2.4.0 → 3.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/README.md +5 -0
- package/dist/auth/index.d.ts +4 -4
- package/dist/{chunk-56EXPOJ4.js → chunk-ANMAR3KY.js} +34 -19
- package/dist/chunk-GJAOMEQO.js +114 -0
- package/dist/chunk-KY62NUOI.js +67 -0
- package/dist/chunk-N37U6ZPI.js +789 -0
- package/dist/chunk-NFPEFD2I.js +42 -0
- package/dist/{chunk-EGGRKSRH.js → chunk-QKVIKVAL.js} +70 -31
- package/dist/{chunk-CY6EJUNV.js → chunk-S7SEN4LH.js} +5 -1
- package/dist/{chunk-4HJZJMPI.js → chunk-TN7LGV66.js} +1 -1
- package/dist/{chunk-YRFCXKJC.js → chunk-UQ2VFHU3.js} +2 -2
- package/dist/chunk-VZSEZNYA.js +83 -0
- package/dist/chunk-WSINZHSR.js +90 -0
- package/dist/{chunk-CNGEXCIH.js → chunk-YCBJDT23.js} +69 -55
- package/dist/{clone-BsoRt89i.d.ts → clone-ywzFVkID.d.ts} +16 -6
- package/dist/course-C5DXOIVO.js +24 -0
- package/dist/database/index.d.ts +17 -5
- package/dist/database/index.js +7 -7
- package/dist/event-VW3FBN4F.js +20 -0
- package/dist/{form-types-Dkqm9UO2.d.ts → form-types-BrHYdpi0.d.ts} +1 -1
- package/dist/{game-NEQP7OFX.js → game-7AXW7XKS.js} +1 -1
- package/dist/{grant-expiration-cleaner-BwdmRFua.d.ts → grant-expiration-cleaner-CRS9OyhV.d.ts} +3 -3
- package/dist/index.d.ts +10 -320
- package/dist/index.js +522 -1097
- package/dist/{moderation-HRMMBFVH.js → moderation-5Z4LKOKN.js} +5 -3
- package/dist/{page-RUS2BKMX.js → page-W4G6433H.js} +1 -1
- package/dist/portability/index.d.ts +330 -0
- package/dist/portability/index.js +34 -0
- package/dist/post-7IOO64MD.js +14 -0
- package/dist/{profile-5H6XWCK4.js → profile-KLHCAQY2.js} +1 -1
- package/dist/publication-3MN3WWKP.js +10 -0
- package/dist/{query-ast-DYGcKxoa.d.ts → query-ast-DQJO7yRV.d.ts} +1 -1
- package/dist/{registry-D_3b1Lg6.d.ts → registry-C9IRLLeR.d.ts} +1 -1
- package/dist/schema/index.d.ts +375 -26
- package/dist/schema/index.js +213 -167
- package/dist/space-GBTEHZOK.js +1 -1
- package/dist/store/index.d.ts +4 -4
- package/dist/store/index.js +4 -4
- package/dist/{store-BMnhBWzM.d.ts → store-D1oiFQuF.d.ts} +19 -2
- package/dist/{types-cycApzib.d.ts → types-gws1tSf-.d.ts} +1 -1
- package/package.json +27 -25
- package/dist/chunk-Y2XWK7AA.js +0 -50
package/dist/schema/index.js
CHANGED
|
@@ -66,7 +66,46 @@ import {
|
|
|
66
66
|
taskBranchName,
|
|
67
67
|
transform,
|
|
68
68
|
when
|
|
69
|
-
} from "../chunk-
|
|
69
|
+
} from "../chunk-YCBJDT23.js";
|
|
70
|
+
import {
|
|
71
|
+
AGENT_ACTION_SCHEMA_IRI,
|
|
72
|
+
AGENT_ACTION_STATUSES,
|
|
73
|
+
AGENT_APPROVAL_DECISIONS,
|
|
74
|
+
AGENT_APPROVAL_SCHEMA_IRI,
|
|
75
|
+
AGENT_APPROVAL_SURFACES,
|
|
76
|
+
AGENT_CHANNELS,
|
|
77
|
+
AGENT_NOTIFICATION_KINDS,
|
|
78
|
+
AGENT_NOTIFICATION_SCHEMA_IRI,
|
|
79
|
+
AGENT_NOTIFICATION_STATUSES,
|
|
80
|
+
AGENT_PASSPORT_SCHEMA_IRI,
|
|
81
|
+
AGENT_REVERSIBILITIES,
|
|
82
|
+
AGENT_RISKS,
|
|
83
|
+
AGENT_RUNTIMES,
|
|
84
|
+
AGENT_SESSION_SCHEMA_IRI,
|
|
85
|
+
AgentActionSchema,
|
|
86
|
+
AgentApprovalSchema,
|
|
87
|
+
AgentNotificationSchema,
|
|
88
|
+
AgentPassportSchema,
|
|
89
|
+
AgentSessionSchema,
|
|
90
|
+
agentActionId,
|
|
91
|
+
agentApprovalId,
|
|
92
|
+
agentNotificationId,
|
|
93
|
+
agentPassportId,
|
|
94
|
+
agentSessionId,
|
|
95
|
+
redactInstruction
|
|
96
|
+
} from "../chunk-2K6BLSNC.js";
|
|
97
|
+
import {
|
|
98
|
+
SavedViewSchema
|
|
99
|
+
} from "../chunk-IVCHWQY7.js";
|
|
100
|
+
import {
|
|
101
|
+
WorkspaceSchema
|
|
102
|
+
} from "../chunk-JUTPAFDP.js";
|
|
103
|
+
import {
|
|
104
|
+
UserWidgetSchema
|
|
105
|
+
} from "../chunk-WQRBUG65.js";
|
|
106
|
+
import {
|
|
107
|
+
DashboardSchema
|
|
108
|
+
} from "../chunk-EUJR5QQC.js";
|
|
70
109
|
import {
|
|
71
110
|
AbuseReportSchema,
|
|
72
111
|
AppealSchema,
|
|
@@ -79,8 +118,9 @@ import {
|
|
|
79
118
|
PolicySubscriptionSchema,
|
|
80
119
|
PublicInteractionPolicySchema,
|
|
81
120
|
QualitySignalSchema,
|
|
82
|
-
ReviewTaskSchema
|
|
83
|
-
|
|
121
|
+
ReviewTaskSchema,
|
|
122
|
+
publicInteractionPolicyId
|
|
123
|
+
} from "../chunk-S7SEN4LH.js";
|
|
84
124
|
import {
|
|
85
125
|
ACHIEVEMENT_SCHEMA_IRI,
|
|
86
126
|
AchievementSchema,
|
|
@@ -103,39 +143,32 @@ import {
|
|
|
103
143
|
PLAYER_IDENTITY_SCHEMA_IRI,
|
|
104
144
|
PlayerIdentitySchema,
|
|
105
145
|
gameSchemas
|
|
106
|
-
} from "../chunk-
|
|
146
|
+
} from "../chunk-UQ2VFHU3.js";
|
|
107
147
|
import {
|
|
108
148
|
MEMORY_ITEM_SCHEMA_IRI,
|
|
109
149
|
MEMORY_KINDS,
|
|
110
150
|
MemoryItemSchema
|
|
111
151
|
} from "../chunk-2DAVPHDV.js";
|
|
112
152
|
import {
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
agentActionId,
|
|
133
|
-
agentApprovalId,
|
|
134
|
-
agentNotificationId,
|
|
135
|
-
agentPassportId,
|
|
136
|
-
agentSessionId,
|
|
137
|
-
redactInstruction
|
|
138
|
-
} from "../chunk-2K6BLSNC.js";
|
|
153
|
+
CHANNEL_KINDS,
|
|
154
|
+
ChannelSchema
|
|
155
|
+
} from "../chunk-7MSSPUMC.js";
|
|
156
|
+
import {
|
|
157
|
+
ChatMessageSchema
|
|
158
|
+
} from "../chunk-57AT2DT2.js";
|
|
159
|
+
import {
|
|
160
|
+
FEED_SCHEMA_IRI,
|
|
161
|
+
FeedSchema
|
|
162
|
+
} from "../chunk-EA2PZ3EU.js";
|
|
163
|
+
import {
|
|
164
|
+
FEED_ITEM_SCHEMA_IRI,
|
|
165
|
+
FeedItemSchema
|
|
166
|
+
} from "../chunk-QH7RZEHT.js";
|
|
167
|
+
import {
|
|
168
|
+
EXTERNAL_ITEM_SCHEMA_IRI,
|
|
169
|
+
EXTERNAL_ITEM_SOURCES,
|
|
170
|
+
ExternalItemSchema
|
|
171
|
+
} from "../chunk-FTKHARBY.js";
|
|
139
172
|
import {
|
|
140
173
|
DEFAULT_CHANNEL_TIER,
|
|
141
174
|
InboxStateSchema,
|
|
@@ -145,17 +178,22 @@ import {
|
|
|
145
178
|
GrantSchema
|
|
146
179
|
} from "../chunk-TH2BJPDZ.js";
|
|
147
180
|
import {
|
|
148
|
-
|
|
149
|
-
} from "../chunk-
|
|
181
|
+
CanvasSchema
|
|
182
|
+
} from "../chunk-O34JPX6Q.js";
|
|
150
183
|
import {
|
|
151
|
-
|
|
152
|
-
} from "../chunk-
|
|
184
|
+
MapSchema
|
|
185
|
+
} from "../chunk-HSCGVBQN.js";
|
|
153
186
|
import {
|
|
154
|
-
|
|
155
|
-
} from "../chunk-
|
|
187
|
+
CommentSchema
|
|
188
|
+
} from "../chunk-ICBC5VLZ.js";
|
|
156
189
|
import {
|
|
157
|
-
|
|
158
|
-
|
|
190
|
+
CHECKPOINT_SCHEMA_IRI,
|
|
191
|
+
CheckpointSchema
|
|
192
|
+
} from "../chunk-TOQ2LBAN.js";
|
|
193
|
+
import {
|
|
194
|
+
DRAFT_SCHEMA_IRI,
|
|
195
|
+
DraftSchema
|
|
196
|
+
} from "../chunk-6AKAZHVZ.js";
|
|
159
197
|
import {
|
|
160
198
|
ReactionSchema
|
|
161
199
|
} from "../chunk-RAJNAD64.js";
|
|
@@ -166,27 +204,40 @@ import {
|
|
|
166
204
|
ProfileSchema,
|
|
167
205
|
didFromProfileNodeId,
|
|
168
206
|
profileNodeId
|
|
169
|
-
} from "../chunk-
|
|
207
|
+
} from "../chunk-TN7LGV66.js";
|
|
170
208
|
import {
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
} from "../chunk-
|
|
209
|
+
POSTING_SCHEMA_IRI,
|
|
210
|
+
PostingSchema
|
|
211
|
+
} from "../chunk-F6ICOU6R.js";
|
|
174
212
|
import {
|
|
175
|
-
|
|
176
|
-
|
|
213
|
+
BUDGET_SCHEMA_IRI,
|
|
214
|
+
BudgetSchema
|
|
215
|
+
} from "../chunk-KHLOVRMQ.js";
|
|
177
216
|
import {
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
} from "../chunk-
|
|
217
|
+
IMPORT_BATCH_SCHEMA_IRI,
|
|
218
|
+
ImportBatchSchema
|
|
219
|
+
} from "../chunk-M6STMJ2V.js";
|
|
181
220
|
import {
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
221
|
+
NODE_VISIBILITY,
|
|
222
|
+
SPACE_KINDS,
|
|
223
|
+
SPACE_ROLES,
|
|
224
|
+
SPACE_SCHEMA_IRI,
|
|
225
|
+
SPACE_VISIBILITY,
|
|
226
|
+
SpaceSchema,
|
|
227
|
+
buildSpaceTree,
|
|
228
|
+
canManageSpace,
|
|
229
|
+
compareSpaceRoles,
|
|
230
|
+
effectiveSpaceRole,
|
|
231
|
+
flattenSpaceTree,
|
|
232
|
+
spaceAncestorIds,
|
|
233
|
+
spacePathIds,
|
|
234
|
+
spaceRoleGrantActions,
|
|
235
|
+
spaceRoleToShareRole,
|
|
236
|
+
wouldCreateSpaceCycle
|
|
237
|
+
} from "../chunk-RRIRY7FP.js";
|
|
185
238
|
import {
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
ExternalItemSchema
|
|
189
|
-
} from "../chunk-FTKHARBY.js";
|
|
239
|
+
ExternalReferenceSchema
|
|
240
|
+
} from "../chunk-XFOUIAJF.js";
|
|
190
241
|
import {
|
|
191
242
|
MediaAssetSchema
|
|
192
243
|
} from "../chunk-LDKJDNSW.js";
|
|
@@ -203,22 +254,21 @@ import {
|
|
|
203
254
|
MeetingTranscriptSchema
|
|
204
255
|
} from "../chunk-QOTR4SGT.js";
|
|
205
256
|
import {
|
|
206
|
-
|
|
207
|
-
} from "../chunk-
|
|
257
|
+
ProjectSchema
|
|
258
|
+
} from "../chunk-3FWYS6AW.js";
|
|
208
259
|
import {
|
|
209
|
-
|
|
210
|
-
} from "../chunk-
|
|
260
|
+
MetricSchema
|
|
261
|
+
} from "../chunk-QVGTYLL3.js";
|
|
211
262
|
import {
|
|
212
|
-
|
|
213
|
-
} from "../chunk-
|
|
263
|
+
ObservationSchema
|
|
264
|
+
} from "../chunk-ZEMCCIIO.js";
|
|
214
265
|
import {
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
} from "../chunk-TOQ2LBAN.js";
|
|
266
|
+
ExperimentSchema
|
|
267
|
+
} from "../chunk-EZJ3OD5A.js";
|
|
218
268
|
import {
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
} from "../chunk-
|
|
269
|
+
MILESTONE_SCHEMA_IRI,
|
|
270
|
+
MilestoneSchema
|
|
271
|
+
} from "../chunk-R2AZXT3D.js";
|
|
222
272
|
import {
|
|
223
273
|
ACTIVITY_KINDS,
|
|
224
274
|
ACTIVITY_SCHEMA_IRI,
|
|
@@ -260,38 +310,8 @@ import {
|
|
|
260
310
|
TransactionSchema
|
|
261
311
|
} from "../chunk-PKLHOQSO.js";
|
|
262
312
|
import {
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
} from "../chunk-F6ICOU6R.js";
|
|
266
|
-
import {
|
|
267
|
-
BUDGET_SCHEMA_IRI,
|
|
268
|
-
BudgetSchema
|
|
269
|
-
} from "../chunk-KHLOVRMQ.js";
|
|
270
|
-
import {
|
|
271
|
-
IMPORT_BATCH_SCHEMA_IRI,
|
|
272
|
-
ImportBatchSchema
|
|
273
|
-
} from "../chunk-M6STMJ2V.js";
|
|
274
|
-
import {
|
|
275
|
-
NODE_VISIBILITY,
|
|
276
|
-
SPACE_KINDS,
|
|
277
|
-
SPACE_ROLES,
|
|
278
|
-
SPACE_SCHEMA_IRI,
|
|
279
|
-
SPACE_VISIBILITY,
|
|
280
|
-
SpaceSchema,
|
|
281
|
-
buildSpaceTree,
|
|
282
|
-
canManageSpace,
|
|
283
|
-
compareSpaceRoles,
|
|
284
|
-
effectiveSpaceRole,
|
|
285
|
-
flattenSpaceTree,
|
|
286
|
-
spaceAncestorIds,
|
|
287
|
-
spacePathIds,
|
|
288
|
-
spaceRoleGrantActions,
|
|
289
|
-
spaceRoleToShareRole,
|
|
290
|
-
wouldCreateSpaceCycle
|
|
291
|
-
} from "../chunk-RRIRY7FP.js";
|
|
292
|
-
import {
|
|
293
|
-
ExternalReferenceSchema
|
|
294
|
-
} from "../chunk-XFOUIAJF.js";
|
|
313
|
+
DatabaseSchema
|
|
314
|
+
} from "../chunk-JB6BPIVP.js";
|
|
295
315
|
import {
|
|
296
316
|
TASK_STATUS_CATEGORIES,
|
|
297
317
|
TaskSchema,
|
|
@@ -301,25 +321,35 @@ import {
|
|
|
301
321
|
import {
|
|
302
322
|
TaskViewSchema
|
|
303
323
|
} from "../chunk-4SIMTLCC.js";
|
|
304
|
-
import {
|
|
305
|
-
ProjectSchema
|
|
306
|
-
} from "../chunk-3FWYS6AW.js";
|
|
307
|
-
import {
|
|
308
|
-
MetricSchema
|
|
309
|
-
} from "../chunk-QVGTYLL3.js";
|
|
310
|
-
import {
|
|
311
|
-
ObservationSchema
|
|
312
|
-
} from "../chunk-ZEMCCIIO.js";
|
|
313
|
-
import {
|
|
314
|
-
ExperimentSchema
|
|
315
|
-
} from "../chunk-EZJ3OD5A.js";
|
|
316
|
-
import {
|
|
317
|
-
MILESTONE_SCHEMA_IRI,
|
|
318
|
-
MilestoneSchema
|
|
319
|
-
} from "../chunk-R2AZXT3D.js";
|
|
320
324
|
import {
|
|
321
325
|
PageSchema
|
|
322
|
-
} from "../chunk-
|
|
326
|
+
} from "../chunk-WSINZHSR.js";
|
|
327
|
+
import {
|
|
328
|
+
POST_SCHEMA_IRI,
|
|
329
|
+
PostSchema,
|
|
330
|
+
comparePostsForFeed
|
|
331
|
+
} from "../chunk-KY62NUOI.js";
|
|
332
|
+
import {
|
|
333
|
+
COURSE_SCHEMA_IRI,
|
|
334
|
+
CourseSchema,
|
|
335
|
+
LESSON_PROGRESS_SCHEMA_IRI,
|
|
336
|
+
LESSON_SCHEMA_IRI,
|
|
337
|
+
LessonProgressSchema,
|
|
338
|
+
LessonSchema,
|
|
339
|
+
courseCompletion,
|
|
340
|
+
lessonProgressId
|
|
341
|
+
} from "../chunk-GJAOMEQO.js";
|
|
342
|
+
import {
|
|
343
|
+
EVENT_SCHEMA_IRI,
|
|
344
|
+
EventSchema,
|
|
345
|
+
RSVP_SCHEMA_IRI,
|
|
346
|
+
RsvpSchema,
|
|
347
|
+
rsvpId,
|
|
348
|
+
upcomingEvents
|
|
349
|
+
} from "../chunk-VZSEZNYA.js";
|
|
350
|
+
import {
|
|
351
|
+
PublicationSchema
|
|
352
|
+
} from "../chunk-NFPEFD2I.js";
|
|
323
353
|
import {
|
|
324
354
|
FOLDER_SCHEMA_IRI,
|
|
325
355
|
FolderSchema,
|
|
@@ -337,32 +367,44 @@ import {
|
|
|
337
367
|
normalizeTagName
|
|
338
368
|
} from "../chunk-YFLL3CME.js";
|
|
339
369
|
import {
|
|
340
|
-
|
|
341
|
-
|
|
370
|
+
EXT_PREFIX,
|
|
371
|
+
extKey,
|
|
372
|
+
isExtKey,
|
|
373
|
+
parseExtKey
|
|
374
|
+
} from "../chunk-PMUQACPY.js";
|
|
375
|
+
import {
|
|
376
|
+
DatabaseRowSchema
|
|
377
|
+
} from "../chunk-AKKBG7HW.js";
|
|
378
|
+
import {
|
|
379
|
+
DatabaseFieldSchema
|
|
380
|
+
} from "../chunk-IKREWSCX.js";
|
|
381
|
+
import {
|
|
382
|
+
DatabaseSelectOptionSchema
|
|
383
|
+
} from "../chunk-XP3VSSXD.js";
|
|
384
|
+
import {
|
|
385
|
+
DatabaseViewSchema
|
|
386
|
+
} from "../chunk-UFV5QWCL.js";
|
|
387
|
+
import {
|
|
388
|
+
EXTENSION_FIELD_SCHEMA_IRI,
|
|
389
|
+
ExtensionFieldSchema,
|
|
390
|
+
SCHEMA_EXTENSION_SCHEMA_IRI,
|
|
391
|
+
SchemaExtensionSchema,
|
|
392
|
+
schemaExtensionId
|
|
393
|
+
} from "../chunk-2JROE7ML.js";
|
|
394
|
+
import "../chunk-RLRAWZJE.js";
|
|
395
|
+
import {
|
|
396
|
+
SPACE_MEMBERSHIP_SCHEMA_IRI,
|
|
397
|
+
SpaceMembershipSchema,
|
|
398
|
+
isSpaceRole,
|
|
399
|
+
spaceMembershipId
|
|
400
|
+
} from "../chunk-GSLOK5KV.js";
|
|
401
|
+
import "../chunk-QWFTRZQT.js";
|
|
342
402
|
import {
|
|
343
403
|
evaluateLedgerWrite,
|
|
344
404
|
foldAccountRecord,
|
|
345
405
|
ledgerAccountId,
|
|
346
406
|
ledgerWriteKind
|
|
347
407
|
} from "../chunk-3UOUVEZW.js";
|
|
348
|
-
import {
|
|
349
|
-
ACCOUNT_RECORD_SCHEMA_IRI,
|
|
350
|
-
AccountRecordSchema,
|
|
351
|
-
DEVICE_RECORD_SCHEMA_IRI,
|
|
352
|
-
DeviceRecordSchema,
|
|
353
|
-
RECOVERY_RECORD_SCHEMA_IRI,
|
|
354
|
-
REVOCATION_RECORD_SCHEMA_IRI,
|
|
355
|
-
RecoveryRecordSchema,
|
|
356
|
-
RevocationRecordSchema,
|
|
357
|
-
accountRecordId,
|
|
358
|
-
deviceRecipientExpander,
|
|
359
|
-
deviceRecordId,
|
|
360
|
-
isDeviceAuthorized,
|
|
361
|
-
recoveryRecordId,
|
|
362
|
-
resolveActiveDevices,
|
|
363
|
-
revocationRecordId,
|
|
364
|
-
revokedSubjects
|
|
365
|
-
} from "../chunk-5ECIKN6Z.js";
|
|
366
408
|
import {
|
|
367
409
|
PresenceSummarySchema,
|
|
368
410
|
SYSTEM_NAMESPACE_KINDS,
|
|
@@ -382,38 +424,23 @@ import {
|
|
|
382
424
|
validateSchemaDefinitionNode
|
|
383
425
|
} from "../chunk-ZNHLH7SC.js";
|
|
384
426
|
import {
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
DatabaseFieldSchema
|
|
403
|
-
} from "../chunk-IKREWSCX.js";
|
|
404
|
-
import {
|
|
405
|
-
DatabaseSelectOptionSchema
|
|
406
|
-
} from "../chunk-XP3VSSXD.js";
|
|
407
|
-
import {
|
|
408
|
-
DatabaseViewSchema
|
|
409
|
-
} from "../chunk-UFV5QWCL.js";
|
|
410
|
-
import "../chunk-RLRAWZJE.js";
|
|
411
|
-
import {
|
|
412
|
-
SPACE_MEMBERSHIP_SCHEMA_IRI,
|
|
413
|
-
SpaceMembershipSchema,
|
|
414
|
-
isSpaceRole,
|
|
415
|
-
spaceMembershipId
|
|
416
|
-
} from "../chunk-GSLOK5KV.js";
|
|
427
|
+
ACCOUNT_RECORD_SCHEMA_IRI,
|
|
428
|
+
AccountRecordSchema,
|
|
429
|
+
DEVICE_RECORD_SCHEMA_IRI,
|
|
430
|
+
DeviceRecordSchema,
|
|
431
|
+
RECOVERY_RECORD_SCHEMA_IRI,
|
|
432
|
+
REVOCATION_RECORD_SCHEMA_IRI,
|
|
433
|
+
RecoveryRecordSchema,
|
|
434
|
+
RevocationRecordSchema,
|
|
435
|
+
accountRecordId,
|
|
436
|
+
deviceRecipientExpander,
|
|
437
|
+
deviceRecordId,
|
|
438
|
+
isDeviceAuthorized,
|
|
439
|
+
recoveryRecordId,
|
|
440
|
+
resolveActiveDevices,
|
|
441
|
+
revocationRecordId,
|
|
442
|
+
revokedSubjects
|
|
443
|
+
} from "../chunk-5ECIKN6Z.js";
|
|
417
444
|
import {
|
|
418
445
|
DEFAULT_SCHEMA_VERSION,
|
|
419
446
|
DEFAULT_SCHEMA_VERSION2,
|
|
@@ -486,6 +513,7 @@ export {
|
|
|
486
513
|
CHECKPOINT_SCHEMA_IRI,
|
|
487
514
|
CONTACT_LIFECYCLE,
|
|
488
515
|
CONTACT_SCHEMA_IRI,
|
|
516
|
+
COURSE_SCHEMA_IRI,
|
|
489
517
|
CRM_NAMESPACE,
|
|
490
518
|
CanvasSchema,
|
|
491
519
|
ChannelSchema,
|
|
@@ -495,6 +523,7 @@ export {
|
|
|
495
523
|
CommunityNoteSchema,
|
|
496
524
|
ContactSchema,
|
|
497
525
|
ContentProvenanceSchema,
|
|
526
|
+
CourseSchema,
|
|
498
527
|
DEAL_CONTACT_ROLES,
|
|
499
528
|
DEAL_CONTACT_ROLE_SCHEMA_IRI,
|
|
500
529
|
DEAL_SCHEMA_IRI,
|
|
@@ -514,10 +543,12 @@ export {
|
|
|
514
543
|
DebugReportSchema,
|
|
515
544
|
DeviceRecordSchema,
|
|
516
545
|
DraftSchema,
|
|
546
|
+
EVENT_SCHEMA_IRI,
|
|
517
547
|
EXTENSION_FIELD_SCHEMA_IRI,
|
|
518
548
|
EXTERNAL_ITEM_SCHEMA_IRI,
|
|
519
549
|
EXTERNAL_ITEM_SOURCES,
|
|
520
550
|
EXT_PREFIX,
|
|
551
|
+
EventSchema,
|
|
521
552
|
ExperimentSchema,
|
|
522
553
|
ExtensionFieldSchema,
|
|
523
554
|
ExternalItemSchema,
|
|
@@ -546,8 +577,12 @@ export {
|
|
|
546
577
|
ImportBatchSchema,
|
|
547
578
|
InboxStateSchema,
|
|
548
579
|
InventorySchema,
|
|
580
|
+
LESSON_PROGRESS_SCHEMA_IRI,
|
|
581
|
+
LESSON_SCHEMA_IRI,
|
|
549
582
|
LINE_ITEM_SCHEMA_IRI,
|
|
550
583
|
LensRegistry,
|
|
584
|
+
LessonProgressSchema,
|
|
585
|
+
LessonSchema,
|
|
551
586
|
LineItemSchema,
|
|
552
587
|
MATCH_RESULTS,
|
|
553
588
|
MATCH_SESSION_SCHEMA_IRI,
|
|
@@ -581,6 +616,7 @@ export {
|
|
|
581
616
|
PIPELINE_SCHEMA_IRI,
|
|
582
617
|
PLAYER_IDENTITY_SCHEMA_IRI,
|
|
583
618
|
POSTING_SCHEMA_IRI,
|
|
619
|
+
POST_SCHEMA_IRI,
|
|
584
620
|
PRODUCT_KINDS,
|
|
585
621
|
PRODUCT_SCHEMA_IRI,
|
|
586
622
|
PageSchema,
|
|
@@ -588,6 +624,7 @@ export {
|
|
|
588
624
|
PlayerIdentitySchema,
|
|
589
625
|
PolicyListSchema,
|
|
590
626
|
PolicySubscriptionSchema,
|
|
627
|
+
PostSchema,
|
|
591
628
|
PostingSchema,
|
|
592
629
|
PresenceAggregator,
|
|
593
630
|
PresenceSummarySchema,
|
|
@@ -595,16 +632,19 @@ export {
|
|
|
595
632
|
ProfileSchema,
|
|
596
633
|
ProjectSchema,
|
|
597
634
|
PublicInteractionPolicySchema,
|
|
635
|
+
PublicationSchema,
|
|
598
636
|
QualitySignalSchema,
|
|
599
637
|
RECOVERY_RECORD_SCHEMA_IRI,
|
|
600
638
|
RELATIONSHIP_KINDS,
|
|
601
639
|
RELATIONSHIP_SCHEMA_IRI,
|
|
602
640
|
REVOCATION_RECORD_SCHEMA_IRI,
|
|
641
|
+
RSVP_SCHEMA_IRI,
|
|
603
642
|
ReactionSchema,
|
|
604
643
|
RecoveryRecordSchema,
|
|
605
644
|
RelationshipSchema,
|
|
606
645
|
ReviewTaskSchema,
|
|
607
646
|
RevocationRecordSchema,
|
|
647
|
+
RsvpSchema,
|
|
608
648
|
SCHEMA_EXTENSION_SCHEMA_IRI,
|
|
609
649
|
DEFAULT_SCHEMA_VERSION2 as SCHEMA_VERSION,
|
|
610
650
|
SIDECAR_PREFIX,
|
|
@@ -660,11 +700,13 @@ export {
|
|
|
660
700
|
canModifyColumn,
|
|
661
701
|
checkOrphanStatus,
|
|
662
702
|
checkbox,
|
|
703
|
+
comparePostsForFeed,
|
|
663
704
|
compareSpaceRoles,
|
|
664
705
|
composeLens,
|
|
665
706
|
computeSchemaDefinitionContentHash,
|
|
666
707
|
convert,
|
|
667
708
|
copy,
|
|
709
|
+
courseCompletion,
|
|
668
710
|
createAccountRecord,
|
|
669
711
|
createNodeGraphSchemaResolver,
|
|
670
712
|
createNodeId,
|
|
@@ -729,6 +771,7 @@ export {
|
|
|
729
771
|
ledgerAccountId,
|
|
730
772
|
ledgerWriteKind,
|
|
731
773
|
lensRegistry,
|
|
774
|
+
lessonProgressId,
|
|
732
775
|
loadExtensionFields,
|
|
733
776
|
lockedPropertyKeys,
|
|
734
777
|
mentionsInclude,
|
|
@@ -749,6 +792,7 @@ export {
|
|
|
749
792
|
phone,
|
|
750
793
|
profileNodeId,
|
|
751
794
|
promoteOverlay,
|
|
795
|
+
publicInteractionPolicyId,
|
|
752
796
|
recoveryRecordId,
|
|
753
797
|
redactInstruction,
|
|
754
798
|
relation,
|
|
@@ -761,6 +805,7 @@ export {
|
|
|
761
805
|
revokeDeviceRecord,
|
|
762
806
|
revokeSubjectRecord,
|
|
763
807
|
revokedSubjects,
|
|
808
|
+
rsvpId,
|
|
764
809
|
sanitizeLinkPreviews,
|
|
765
810
|
schemaExtensionId,
|
|
766
811
|
schemaRegistry,
|
|
@@ -778,6 +823,7 @@ export {
|
|
|
778
823
|
taskBranchName,
|
|
779
824
|
text,
|
|
780
825
|
transform,
|
|
826
|
+
upcomingEvents,
|
|
781
827
|
updated,
|
|
782
828
|
url,
|
|
783
829
|
validateSchemaDefinitionNode,
|
package/dist/space-GBTEHZOK.js
CHANGED
|
@@ -17,9 +17,9 @@ import {
|
|
|
17
17
|
wouldCreateSpaceCycle
|
|
18
18
|
} from "./chunk-RRIRY7FP.js";
|
|
19
19
|
import "./chunk-IJZ5YPYT.js";
|
|
20
|
-
import "./chunk-QWFTRZQT.js";
|
|
21
20
|
import "./chunk-RLRAWZJE.js";
|
|
22
21
|
import "./chunk-GSLOK5KV.js";
|
|
22
|
+
import "./chunk-QWFTRZQT.js";
|
|
23
23
|
import "./chunk-NH6OLO3X.js";
|
|
24
24
|
import "./chunk-D4LUUZYD.js";
|
|
25
25
|
export {
|
package/dist/store/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { g as NodeStorageAdapter, s as NodeChange, i as NodeId, h as NodeState,
|
|
2
|
-
export { j as CheckedOutDraftOverlay,
|
|
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, bl as NodeReadAuthorizer, bm as AuthorizationStateVersion } from '../types-gws1tSf-.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, bn as OperationNodeBatchWriteInput, a3 as PinEntry, a0 as PropertyKey, bo 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, bp 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-gws1tSf-.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-DQJO7yRV.js';
|
|
4
|
+
export { N as NodeStore } from '../store-D1oiFQuF.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';
|
package/dist/store/index.js
CHANGED
|
@@ -49,10 +49,7 @@ import {
|
|
|
49
49
|
sum,
|
|
50
50
|
validateQueryAST,
|
|
51
51
|
validateSavedViewDescriptor
|
|
52
|
-
} from "../chunk-
|
|
53
|
-
import "../chunk-3UOUVEZW.js";
|
|
54
|
-
import "../chunk-5ECIKN6Z.js";
|
|
55
|
-
import "../chunk-ZNHLH7SC.js";
|
|
52
|
+
} from "../chunk-QKVIKVAL.js";
|
|
56
53
|
import {
|
|
57
54
|
applyNodeQueryDescriptor,
|
|
58
55
|
createNodeQueryDescriptor,
|
|
@@ -68,6 +65,9 @@ import {
|
|
|
68
65
|
withoutNodeQueryMaterializedView,
|
|
69
66
|
withoutNodeQueryPagination
|
|
70
67
|
} from "../chunk-WOEFYS7Y.js";
|
|
68
|
+
import "../chunk-3UOUVEZW.js";
|
|
69
|
+
import "../chunk-ZNHLH7SC.js";
|
|
70
|
+
import "../chunk-5ECIKN6Z.js";
|
|
71
71
|
import "../chunk-NH6OLO3X.js";
|
|
72
72
|
import "../chunk-D4LUUZYD.js";
|
|
73
73
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
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-
|
|
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-gws1tSf-.js';
|
|
2
2
|
import { ContentId } from '@xnetjs/core';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -16,6 +16,14 @@ import { ContentId } from '@xnetjs/core';
|
|
|
16
16
|
/**
|
|
17
17
|
* NodeStore manages event-sourced Nodes with LWW conflict resolution.
|
|
18
18
|
*/
|
|
19
|
+
/**
|
|
20
|
+
* Internal options for {@link NodeStore.applyRemoteChange}. Not exported from
|
|
21
|
+
* the package: `preVerified` skips signature checking and is only sound when
|
|
22
|
+
* the caller ran {@link NodeStore.verifyRemoteChanges} over the same change.
|
|
23
|
+
*/
|
|
24
|
+
type ApplyRemoteChangeOptions = {
|
|
25
|
+
preVerified?: boolean;
|
|
26
|
+
};
|
|
19
27
|
declare class NodeStore {
|
|
20
28
|
private storage;
|
|
21
29
|
private authorDID;
|
|
@@ -258,7 +266,16 @@ declare class NodeStore {
|
|
|
258
266
|
* cannot push unauthorized ledger records into a client.
|
|
259
267
|
*/
|
|
260
268
|
private enforceRemoteLedgerWrite;
|
|
261
|
-
applyRemoteChange(change: NodeChange): Promise<void>;
|
|
269
|
+
applyRemoteChange(change: NodeChange, options?: ApplyRemoteChangeOptions): Promise<void>;
|
|
270
|
+
/**
|
|
271
|
+
* Verify hash + signature for many remote changes at once.
|
|
272
|
+
*
|
|
273
|
+
* Results are positional and never short-circuit, so a caller can quarantine
|
|
274
|
+
* exactly the changes that failed and still apply the rest. This runs the
|
|
275
|
+
* SAME checks as {@link applyRemoteChange} — it just amortizes the native
|
|
276
|
+
* crypto setup across the batch (exploration 0357).
|
|
277
|
+
*/
|
|
278
|
+
verifyRemoteChanges(changes: readonly NodeChange[]): Promise<boolean[]>;
|
|
262
279
|
/**
|
|
263
280
|
* Apply multiple remote changes (from sync).
|
|
264
281
|
*/
|