@xnetjs/data 2.0.0 → 2.2.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.
@@ -1,10 +1,10 @@
1
- import { P as PropertyBuilder, S as SchemaIRI, D as DefinedSchema, bi as DocumentType, z as DID, R as InferNode, V as ValidationResult, a as Schema, E as PropertyType, h as NodeState, w as NodeChangeEvent, H as ValidationError, X as LensOperation, W as SchemaLens } from '../types-C64g-IXg.js';
2
- export { J as CreateNodeOptions, bj as DEFAULT_SCHEMA_VERSION, I as InferCreateProps, Q as InferProperties, K as InferPropertyType, _ as LensRegistry, Z as MigrationError, Y as MigrationResult, y as Node, b as ParsedSchemaIRI, F as PropertyDefinition, bl as buildSchemaIRI, B as createNodeId, bn as getBaseSchemaIRI, bp as getSchemaVersion, A as isNode, bo as isSameSchema, $ as lensRegistry, bm as normalizeSchemaIRI, bk as parseSchemaIRI } from '../types-C64g-IXg.js';
1
+ import { P as PropertyBuilder, S as SchemaIRI, D as DefinedSchema, bd as DocumentType, z as DID, R as InferNode, V as ValidationResult, a as Schema, E as PropertyType, h as NodeState, w as NodeChangeEvent, H as ValidationError, X as LensOperation, W as SchemaLens } from '../types-BFnYlC8Z.js';
2
+ export { J as CreateNodeOptions, be as DEFAULT_SCHEMA_VERSION, I as InferCreateProps, Q as InferProperties, K as InferPropertyType, _ as LensRegistry, Z as MigrationError, Y as MigrationResult, y as Node, b as ParsedSchemaIRI, F as PropertyDefinition, bg as buildSchemaIRI, B as createNodeId, bi as getBaseSchemaIRI, bk as getSchemaVersion, A as isNode, bj as isSameSchema, $ as lensRegistry, bh as normalizeSchemaIRI, bf as parseSchemaIRI } from '../types-BFnYlC8Z.js';
3
3
  import { AuthorizationDefinition } from '@xnetjs/core';
4
- import { S as SavedViewDescriptor } from '../query-ast-NV5StnHo.js';
5
- import { a7 as FormSubmissionMeta, W as FilterGroup, Z as SortConfig, an as SummaryFunction, a4 as FormViewConfig, a5 as FormFieldRule } from '../form-types-BlZvpDEE.js';
6
- import { N as NodeStore } from '../store-BIDKtpjW.js';
7
- export { S as SchemaRegistry, s as schemaRegistry } from '../registry-s1fYgCSj.js';
4
+ import { S as SavedViewDescriptor } from '../query-ast-Bn3-oRUo.js';
5
+ import { W as FilterGroup, Z as SortConfig, an as SummaryFunction, a4 as FormViewConfig, a5 as FormFieldRule, a7 as FormSubmissionMeta } from '../form-types-xc7NdHaW.js';
6
+ import { N as NodeStore } from '../store-CyGU48TX.js';
7
+ export { S as SchemaRegistry, s as schemaRegistry } from '../registry-Wk8Rt0kh.js';
8
8
  import '@xnetjs/crypto';
9
9
  import '@xnetjs/sqlite';
10
10
  import '@xnetjs/sync';
@@ -979,6 +979,97 @@ declare function mentionsInclude(mentions: MessageMentions | undefined | null, d
979
979
  /** Validate a mentions value structurally (used by hub-side relay checks). */
980
980
  declare function isValidMentions(value: unknown): value is MessageMentions;
981
981
 
982
+ declare const MEETING_SCHEMA_IRI: "xnet://xnet.fyi/Meeting@1.0.0";
983
+ declare const MEETING_TRANSCRIPT_SCHEMA_IRI: "xnet://xnet.fyi/MeetingTranscript@1.0.0";
984
+ /**
985
+ * Speaker attribution channel (the Granola trick): the microphone stream is
986
+ * `me`, the system-audio stream is `them`. Everyone on the far end collapses
987
+ * into `them` until a diarization upgrade splits that channel.
988
+ */
989
+ declare const MEETING_CHANNELS: readonly ["me", "them"];
990
+ type MeetingChannel = (typeof MEETING_CHANNELS)[number];
991
+ /** One timed, channel-attributed slice of a meeting transcript. */
992
+ interface MeetingSegment {
993
+ /** Which capture channel produced this slice. */
994
+ channel: MeetingChannel;
995
+ /** Transcribed text for the slice. */
996
+ text: string;
997
+ /** Start offset from meeting start, in milliseconds. */
998
+ startMs: number;
999
+ /** End offset from meeting start, in milliseconds. */
1000
+ endMs: number;
1001
+ /**
1002
+ * Optional speaker label once diarization/calendar attribution upgrades
1003
+ * `them` into named speakers (phase 4). Absent = channel label only.
1004
+ */
1005
+ speaker?: string;
1006
+ }
1007
+ /** Built-in enhancement template ids (phase 2); free-form ids are allowed. */
1008
+ declare const MEETING_TEMPLATE_IDS: readonly ["generic", "1on1", "standup", "sales", "interview"];
1009
+ type MeetingTemplateId = (typeof MEETING_TEMPLATE_IDS)[number];
1010
+ declare const MeetingSchema: DefinedSchema<{
1011
+ /** Meeting title — from the calendar event when available. */
1012
+ title: PropertyBuilder<string>;
1013
+ /** Wall-clock start, epoch ms. */
1014
+ startedAt: PropertyBuilder<number>;
1015
+ /** Total captured duration in milliseconds. */
1016
+ durationMs: PropertyBuilder<number>;
1017
+ /** Enhancement template shaping the AI notes, e.g. "1on1" | "standup". */
1018
+ templateId: PropertyBuilder<string>;
1019
+ /** The sibling transcript node (one per meeting). */
1020
+ transcript: PropertyBuilder<string>;
1021
+ /** Calendar event this meeting came from, when detected (phase 4). */
1022
+ calendarEventId: PropertyBuilder<string>;
1023
+ /** Attendee display names from the calendar, for context + attribution. */
1024
+ attendees: PropertyBuilder<string[]>;
1025
+ /** Canonical home; empty = Unfiled (exploration 0169). */
1026
+ folder: PropertyBuilder<string>;
1027
+ /** Workspace-wide labels, referenced by id (exploration 0169). */
1028
+ tags: PropertyBuilder<string[]>;
1029
+ /** Order among siblings — fractional index. */
1030
+ sortKey: PropertyBuilder<string>;
1031
+ /** Canonical SECURITY home; empty = personal/private (exploration 0179). */
1032
+ space: PropertyBuilder<string>;
1033
+ /**
1034
+ * Per-node visibility. Defaults to `private` — a meeting may contain
1035
+ * anything, and must never leak to a public surface by accident (0279).
1036
+ */
1037
+ visibility: PropertyBuilder<"public" | "private" | "unlisted" | "inherit">;
1038
+ }>;
1039
+ declare const MeetingTranscriptSchema: DefinedSchema<{
1040
+ /** The meeting this transcript belongs to. */
1041
+ meeting: PropertyBuilder<string>;
1042
+ /**
1043
+ * Concatenated transcript text — FTS-indexed so meetings are searchable.
1044
+ * Rebuilt from `segments` on each batched upsert.
1045
+ */
1046
+ fullText: PropertyBuilder<string>;
1047
+ /** Timed, channel-attributed segments (me | them). */
1048
+ segments: PropertyBuilder<MeetingSegment[]>;
1049
+ /** Detected/used language (BCP-47-ish, e.g. "en"), when known. */
1050
+ language: PropertyBuilder<string>;
1051
+ /** Which engine produced this, e.g. "parakeet-sherpa" | "whisper-cpp" | "byo". */
1052
+ engineId: PropertyBuilder<string>;
1053
+ /** Which model produced this, e.g. "parakeet-tdt-0.6b-v2". */
1054
+ modelId: PropertyBuilder<string>;
1055
+ /** Length of the transcribed audio in milliseconds. */
1056
+ durationMs: PropertyBuilder<number>;
1057
+ /**
1058
+ * Optional source audio, stored as a content-addressed blob reference.
1059
+ * Off by default — retained only when the user opts into keeping audio
1060
+ * (0279 privacy norm; the bytes live in BlobStore, never the change log).
1061
+ */
1062
+ audio: PropertyBuilder<FileRef>;
1063
+ /** Canonical SECURITY home; empty = personal/private (exploration 0179). */
1064
+ space: PropertyBuilder<string>;
1065
+ /** Per-node visibility. Defaults to `private`, like the meeting itself. */
1066
+ visibility: PropertyBuilder<"public" | "private" | "unlisted" | "inherit">;
1067
+ }>;
1068
+ /** A Meeting node type (inferred from schema). */
1069
+ type Meeting = InferNode<(typeof MeetingSchema)['_properties']>;
1070
+ /** A MeetingTranscript node type (inferred from schema). */
1071
+ type MeetingTranscript = InferNode<(typeof MeetingTranscriptSchema)['_properties']>;
1072
+
982
1073
  /** A `[longitude, latitude]` (optionally with altitude) position. */
983
1074
  type GeoPosition = [number, number] | [number, number, number];
984
1075
  /** GeoJSON geometry object (coordinates kept loose — Point→Polygon nesting). */
@@ -1110,96 +1201,128 @@ declare const MapSchema: DefinedSchema<{
1110
1201
  */
1111
1202
  type Map$1 = InferNode<(typeof MapSchema)['_properties']>;
1112
1203
 
1113
- declare const MEETING_SCHEMA_IRI: "xnet://xnet.fyi/Meeting@1.0.0";
1114
- declare const MEETING_TRANSCRIPT_SCHEMA_IRI: "xnet://xnet.fyi/MeetingTranscript@1.0.0";
1115
- /**
1116
- * Speaker attribution channel (the Granola trick): the microphone stream is
1117
- * `me`, the system-audio stream is `them`. Everyone on the far end collapses
1118
- * into `them` until a diarization upgrade splits that channel.
1119
- */
1120
- declare const MEETING_CHANNELS: readonly ["me", "them"];
1121
- type MeetingChannel = (typeof MEETING_CHANNELS)[number];
1122
- /** One timed, channel-attributed slice of a meeting transcript. */
1123
- interface MeetingSegment {
1124
- /** Which capture channel produced this slice. */
1125
- channel: MeetingChannel;
1126
- /** Transcribed text for the slice. */
1127
- text: string;
1128
- /** Start offset from meeting start, in milliseconds. */
1129
- startMs: number;
1130
- /** End offset from meeting start, in milliseconds. */
1131
- endMs: number;
1204
+ declare const DatabaseFieldSchema: DefinedSchema<{
1205
+ /** Parent database */
1206
+ database: PropertyBuilder<string>;
1207
+ /** Display name */
1208
+ name: PropertyBuilder<string>;
1209
+ /** Field type (FieldType union, enforced in field-operations) */
1210
+ type: PropertyBuilder<string>;
1132
1211
  /**
1133
- * Optional speaker label once diarization/calendar attribution upgrades
1134
- * `them` into named speakers (phase 4). Absent = channel label only.
1212
+ * Type-specific configuration (FieldConfig).
1213
+ * Note: select/multiSelect options are NOT stored here they are
1214
+ * separate DatabaseSelectOption nodes so concurrent option creation
1215
+ * merges cleanly.
1135
1216
  */
1136
- speaker?: string;
1137
- }
1138
- /** Built-in enhancement template ids (phase 2); free-form ids are allowed. */
1139
- declare const MEETING_TEMPLATE_IDS: readonly ["generic", "1on1", "standup", "sales", "interview"];
1140
- type MeetingTemplateId = (typeof MEETING_TEMPLATE_IDS)[number];
1141
- declare const MeetingSchema: DefinedSchema<{
1142
- /** Meeting title — from the calendar event when available. */
1143
- title: PropertyBuilder<string>;
1144
- /** Wall-clock start, epoch ms. */
1145
- startedAt: PropertyBuilder<number>;
1146
- /** Total captured duration in milliseconds. */
1147
- durationMs: PropertyBuilder<number>;
1148
- /** Enhancement template shaping the AI notes, e.g. "1on1" | "standup". */
1149
- templateId: PropertyBuilder<string>;
1150
- /** The sibling transcript node (one per meeting). */
1151
- transcript: PropertyBuilder<string>;
1152
- /** Calendar event this meeting came from, when detected (phase 4). */
1153
- calendarEventId: PropertyBuilder<string>;
1154
- /** Attendee display names from the calendar, for context + attribution. */
1155
- attendees: PropertyBuilder<string[]>;
1156
- /** Canonical home; empty = Unfiled (exploration 0169). */
1157
- folder: PropertyBuilder<string>;
1158
- /** Workspace-wide labels, referenced by id (exploration 0169). */
1159
- tags: PropertyBuilder<string[]>;
1160
- /** Order among siblings — fractional index. */
1217
+ config: PropertyBuilder<Record<string, unknown>>;
1218
+ /** Fractional index for default column ordering */
1161
1219
  sortKey: PropertyBuilder<string>;
1162
- /** Canonical SECURITY home; empty = personal/private (exploration 0179). */
1163
- space: PropertyBuilder<string>;
1164
- /**
1165
- * Per-node visibility. Defaults to `private` — a meeting may contain
1166
- * anything, and must never leak to a public surface by accident (0279).
1167
- */
1168
- visibility: PropertyBuilder<"public" | "private" | "unlisted" | "inherit">;
1220
+ /** Default column width in pixels (table views) */
1221
+ width: PropertyBuilder<number>;
1222
+ /** Whether this is the title field (exactly one per database) */
1223
+ isTitle: PropertyBuilder<boolean>;
1224
+ /** Hidden by default (views can override) */
1225
+ hidden: PropertyBuilder<boolean>;
1169
1226
  }>;
1170
- declare const MeetingTranscriptSchema: DefinedSchema<{
1171
- /** The meeting this transcript belongs to. */
1172
- meeting: PropertyBuilder<string>;
1227
+ /**
1228
+ * A DatabaseField node type (inferred from schema).
1229
+ */
1230
+ type DatabaseField = InferNode<(typeof DatabaseFieldSchema)['_properties']>;
1231
+
1232
+ declare const DatabaseSelectOptionSchema: DefinedSchema<{
1233
+ /** Parent field (must be a select/multiSelect field) */
1234
+ field: PropertyBuilder<string>;
1173
1235
  /**
1174
- * Concatenated transcript text FTS-indexed so meetings are searchable.
1175
- * Rebuilt from `segments` on each batched upsert.
1236
+ * Parent database (denormalized from the field) so all options for a
1237
+ * database load in a single indexed query.
1176
1238
  */
1177
- fullText: PropertyBuilder<string>;
1178
- /** Timed, channel-attributed segments (me | them). */
1179
- segments: PropertyBuilder<MeetingSegment[]>;
1180
- /** Detected/used language (BCP-47-ish, e.g. "en"), when known. */
1181
- language: PropertyBuilder<string>;
1182
- /** Which engine produced this, e.g. "parakeet-sherpa" | "whisper-cpp" | "byo". */
1183
- engineId: PropertyBuilder<string>;
1184
- /** Which model produced this, e.g. "parakeet-tdt-0.6b-v2". */
1185
- modelId: PropertyBuilder<string>;
1186
- /** Length of the transcribed audio in milliseconds. */
1187
- durationMs: PropertyBuilder<number>;
1239
+ database: PropertyBuilder<string>;
1240
+ /** Display name (the tag text) */
1241
+ name: PropertyBuilder<string>;
1242
+ /** Display color (SelectColor union; enforced in field-operations) */
1243
+ color: PropertyBuilder<string>;
1244
+ /** Fractional index for option ordering in pickers */
1245
+ sortKey: PropertyBuilder<string>;
1246
+ }>;
1247
+ /**
1248
+ * A DatabaseSelectOption node type (inferred from schema).
1249
+ */
1250
+ type DatabaseSelectOption = InferNode<(typeof DatabaseSelectOptionSchema)['_properties']>;
1251
+
1252
+ /**
1253
+ * Per-group presentation override for grouped views (board stacks,
1254
+ * timeline swimlanes). Keyed by select option ID in `groupMeta`.
1255
+ */
1256
+ interface ViewGroupMeta {
1257
+ /** Manual stack order (fractional sortKey, code-unit collation) */
1258
+ sortKey?: string;
1259
+ /** Hide this stack from the view */
1260
+ hidden?: boolean;
1261
+ }
1262
+ declare const DatabaseViewSchema: DefinedSchema<{
1263
+ /** Parent database */
1264
+ database: PropertyBuilder<string>;
1265
+ /** Display name */
1266
+ name: PropertyBuilder<string>;
1267
+ /** View type */
1268
+ type: PropertyBuilder<"map" | "list" | "table" | "timeline" | "board" | "gallery" | "calendar" | "form">;
1269
+ /** Filter tree (FilterGroup) — whole-tree LWW */
1270
+ filters: PropertyBuilder<FilterGroup>;
1271
+ /** Sort list (SortConfig[]) — whole-list LWW */
1272
+ sorts: PropertyBuilder<SortConfig[]>;
1273
+ /** Group-by field ID */
1274
+ groupBy: PropertyBuilder<string>;
1275
+ /** Group sort direction ('asc' | 'desc') */
1276
+ groupSort: PropertyBuilder<string>;
1277
+ /** Collapsed group keys */
1278
+ collapsedGroups: PropertyBuilder<string[]>;
1279
+ /** Per-view field order: fieldId -> fractional sortKey override */
1280
+ fieldOrder: PropertyBuilder<Record<string, string>>;
1281
+ /** Per-view field widths: fieldId -> pixels */
1282
+ fieldWidths: PropertyBuilder<Record<string, number>>;
1283
+ /** Per-view hidden field IDs */
1284
+ hiddenFields: PropertyBuilder<string[]>;
1285
+ /** Row-height density tier (RowHeight: short | medium | tall | extraTall) */
1286
+ rowHeight: PropertyBuilder<string>;
1287
+ /** Per-column footer summary functions: fieldId -> SummaryFunction */
1288
+ columnSummaries: PropertyBuilder<Record<string, SummaryFunction>>;
1289
+ /** Fractional index for view tab ordering */
1290
+ sortKey: PropertyBuilder<string>;
1291
+ /** Cover image field ID */
1292
+ coverField: PropertyBuilder<string>;
1293
+ /** Card size ('small' | 'medium' | 'large') */
1294
+ cardSize: PropertyBuilder<string>;
1295
+ /** Cover image fit ('cover' | 'contain') */
1296
+ coverFit: PropertyBuilder<string>;
1297
+ /** Select field ID used to color cards/bars/pins */
1298
+ colorBy: PropertyBuilder<string>;
1188
1299
  /**
1189
- * Optional source audio, stored as a content-addressed blob reference.
1190
- * Off by default retained only when the user opts into keeping audio
1191
- * (0279 privacy norm; the bytes live in BlobStore, never the change log).
1300
+ * Per-group presentation overrides keyed by select option ID (or
1301
+ * '__none__' for the null group): manual stack order + hidden stacks.
1302
+ * Collapse state lives in `collapsedGroups`.
1192
1303
  */
1193
- audio: PropertyBuilder<FileRef>;
1194
- /** Canonical SECURITY home; empty = personal/private (exploration 0179). */
1195
- space: PropertyBuilder<string>;
1196
- /** Per-node visibility. Defaults to `private`, like the meeting itself. */
1197
- visibility: PropertyBuilder<"public" | "private" | "unlisted" | "inherit">;
1304
+ groupMeta: PropertyBuilder<Record<string, ViewGroupMeta>>;
1305
+ /** Start date field ID */
1306
+ dateField: PropertyBuilder<string>;
1307
+ /** End date field ID */
1308
+ endDateField: PropertyBuilder<string>;
1309
+ /** Latitude field ID (number field) */
1310
+ latField: PropertyBuilder<string>;
1311
+ /** Longitude field ID (number field) */
1312
+ lngField: PropertyBuilder<string>;
1313
+ /** Persisted map camera (center + zoom) — whole-object LWW */
1314
+ mapViewport: PropertyBuilder<MapViewport>;
1315
+ /** Form question config (FormViewConfig) — whole-object LWW */
1316
+ formConfig: PropertyBuilder<FormViewConfig>;
1317
+ /** Per-question show-if rules: fieldId -> FormFieldRule — whole-map LWW */
1318
+ formRules: PropertyBuilder<Record<string, FormFieldRule>>;
1319
+ /** Accepting responses toggle (form view) */
1320
+ formAccepting: PropertyBuilder<boolean>;
1198
1321
  }>;
1199
- /** A Meeting node type (inferred from schema). */
1200
- type Meeting = InferNode<(typeof MeetingSchema)['_properties']>;
1201
- /** A MeetingTranscript node type (inferred from schema). */
1202
- type MeetingTranscript = InferNode<(typeof MeetingTranscriptSchema)['_properties']>;
1322
+ /**
1323
+ * A DatabaseView node type (inferred from schema).
1324
+ */
1325
+ type DatabaseView = InferNode<(typeof DatabaseViewSchema)['_properties']>;
1203
1326
 
1204
1327
  declare const PageSchema: DefinedSchema<{
1205
1328
  /** Page title */
@@ -1301,89 +1424,41 @@ declare function normalizeTagName(raw: string): string;
1301
1424
  declare function isValidTagName(name: string): boolean;
1302
1425
 
1303
1426
  declare const DatabaseSchema: DefinedSchema<{
1304
- /** Database title */
1305
- title: PropertyBuilder<string>;
1306
- /** Emoji or icon URL */
1307
- icon: PropertyBuilder<string>;
1308
- /** Cover image */
1309
- cover: PropertyBuilder<FileRef>;
1310
- /** Default view type for this database */
1311
- defaultView: PropertyBuilder<"list" | "table" | "timeline" | "board" | "gallery" | "calendar">;
1312
- /**
1313
- * Cached row count for this database.
1314
- * Updated on row add/delete operations.
1315
- * Used for query routing decisions (local vs hub).
1316
- */
1317
- rowCount: PropertyBuilder<number>;
1318
- /**
1319
- * Version of the database-defined schema (semver).
1320
- * Bumped when fields change (see schema-utils.ts bump rules).
1321
- * Used to build the database schema IRI: xnet://xnet.fyi/db/<id>@<version>
1322
- */
1323
- schemaVersion: PropertyBuilder<string>;
1324
- /** Canonical home; empty = Unfiled (exploration 0169) */
1325
- folder: PropertyBuilder<string>;
1326
- /** Order among folder siblings — fractional index */
1327
- sortKey: PropertyBuilder<string>;
1328
- /** Workspace-wide labels, referenced by id (exploration 0169) */
1329
- tags: PropertyBuilder<string[]>;
1330
- /** Canonical SECURITY home; empty = personal/private (exploration 0179) */
1331
- space: PropertyBuilder<string>;
1332
- /** Per-node visibility; `inherit` defers to the Space (exploration 0179) */
1333
- visibility: PropertyBuilder<"public" | "private" | "unlisted" | "inherit">;
1334
- }>;
1335
- /**
1336
- * A Database node type (inferred from schema).
1337
- */
1338
- type Database = InferNode<(typeof DatabaseSchema)['_properties']>;
1339
-
1340
- declare const DatabaseFieldSchema: DefinedSchema<{
1341
- /** Parent database */
1342
- database: PropertyBuilder<string>;
1343
- /** Display name */
1344
- name: PropertyBuilder<string>;
1345
- /** Field type (FieldType union, enforced in field-operations) */
1346
- type: PropertyBuilder<string>;
1347
- /**
1348
- * Type-specific configuration (FieldConfig).
1349
- * Note: select/multiSelect options are NOT stored here — they are
1350
- * separate DatabaseSelectOption nodes so concurrent option creation
1351
- * merges cleanly.
1352
- */
1353
- config: PropertyBuilder<Record<string, unknown>>;
1354
- /** Fractional index for default column ordering */
1355
- sortKey: PropertyBuilder<string>;
1356
- /** Default column width in pixels (table views) */
1357
- width: PropertyBuilder<number>;
1358
- /** Whether this is the title field (exactly one per database) */
1359
- isTitle: PropertyBuilder<boolean>;
1360
- /** Hidden by default (views can override) */
1361
- hidden: PropertyBuilder<boolean>;
1362
- }>;
1363
- /**
1364
- * A DatabaseField node type (inferred from schema).
1365
- */
1366
- type DatabaseField = InferNode<(typeof DatabaseFieldSchema)['_properties']>;
1367
-
1368
- declare const DatabaseSelectOptionSchema: DefinedSchema<{
1369
- /** Parent field (must be a select/multiSelect field) */
1370
- field: PropertyBuilder<string>;
1427
+ /** Database title */
1428
+ title: PropertyBuilder<string>;
1429
+ /** Emoji or icon URL */
1430
+ icon: PropertyBuilder<string>;
1431
+ /** Cover image */
1432
+ cover: PropertyBuilder<FileRef>;
1433
+ /** Default view type for this database */
1434
+ defaultView: PropertyBuilder<"list" | "table" | "timeline" | "board" | "gallery" | "calendar">;
1371
1435
  /**
1372
- * Parent database (denormalized from the field) so all options for a
1373
- * database load in a single indexed query.
1436
+ * Cached row count for this database.
1437
+ * Updated on row add/delete operations.
1438
+ * Used for query routing decisions (local vs hub).
1374
1439
  */
1375
- database: PropertyBuilder<string>;
1376
- /** Display name (the tag text) */
1377
- name: PropertyBuilder<string>;
1378
- /** Display color (SelectColor union; enforced in field-operations) */
1379
- color: PropertyBuilder<string>;
1380
- /** Fractional index for option ordering in pickers */
1440
+ rowCount: PropertyBuilder<number>;
1441
+ /**
1442
+ * Version of the database-defined schema (semver).
1443
+ * Bumped when fields change (see schema-utils.ts bump rules).
1444
+ * Used to build the database schema IRI: xnet://xnet.fyi/db/<id>@<version>
1445
+ */
1446
+ schemaVersion: PropertyBuilder<string>;
1447
+ /** Canonical home; empty = Unfiled (exploration 0169) */
1448
+ folder: PropertyBuilder<string>;
1449
+ /** Order among folder siblings — fractional index */
1381
1450
  sortKey: PropertyBuilder<string>;
1451
+ /** Workspace-wide labels, referenced by id (exploration 0169) */
1452
+ tags: PropertyBuilder<string[]>;
1453
+ /** Canonical SECURITY home; empty = personal/private (exploration 0179) */
1454
+ space: PropertyBuilder<string>;
1455
+ /** Per-node visibility; `inherit` defers to the Space (exploration 0179) */
1456
+ visibility: PropertyBuilder<"public" | "private" | "unlisted" | "inherit">;
1382
1457
  }>;
1383
1458
  /**
1384
- * A DatabaseSelectOption node type (inferred from schema).
1459
+ * A Database node type (inferred from schema).
1385
1460
  */
1386
- type DatabaseSelectOption = InferNode<(typeof DatabaseSelectOptionSchema)['_properties']>;
1461
+ type Database = InferNode<(typeof DatabaseSchema)['_properties']>;
1387
1462
 
1388
1463
  declare const DatabaseRowSchema: DefinedSchema<{
1389
1464
  /**
@@ -1414,55 +1489,6 @@ declare const DatabaseRowSchema: DefinedSchema<{
1414
1489
  */
1415
1490
  type DatabaseRow = InferNode<(typeof DatabaseRowSchema)['_properties']>;
1416
1491
 
1417
- declare const DatabaseViewSchema: DefinedSchema<{
1418
- /** Parent database */
1419
- database: PropertyBuilder<string>;
1420
- /** Display name */
1421
- name: PropertyBuilder<string>;
1422
- /** View type */
1423
- type: PropertyBuilder<"list" | "table" | "timeline" | "board" | "gallery" | "calendar" | "form">;
1424
- /** Filter tree (FilterGroup) — whole-tree LWW */
1425
- filters: PropertyBuilder<FilterGroup>;
1426
- /** Sort list (SortConfig[]) — whole-list LWW */
1427
- sorts: PropertyBuilder<SortConfig[]>;
1428
- /** Group-by field ID */
1429
- groupBy: PropertyBuilder<string>;
1430
- /** Group sort direction ('asc' | 'desc') */
1431
- groupSort: PropertyBuilder<string>;
1432
- /** Collapsed group keys */
1433
- collapsedGroups: PropertyBuilder<string[]>;
1434
- /** Per-view field order: fieldId -> fractional sortKey override */
1435
- fieldOrder: PropertyBuilder<Record<string, string>>;
1436
- /** Per-view field widths: fieldId -> pixels */
1437
- fieldWidths: PropertyBuilder<Record<string, number>>;
1438
- /** Per-view hidden field IDs */
1439
- hiddenFields: PropertyBuilder<string[]>;
1440
- /** Row-height density tier (RowHeight: short | medium | tall | extraTall) */
1441
- rowHeight: PropertyBuilder<string>;
1442
- /** Per-column footer summary functions: fieldId -> SummaryFunction */
1443
- columnSummaries: PropertyBuilder<Record<string, SummaryFunction>>;
1444
- /** Fractional index for view tab ordering */
1445
- sortKey: PropertyBuilder<string>;
1446
- /** Cover image field ID */
1447
- coverField: PropertyBuilder<string>;
1448
- /** Card size ('small' | 'medium' | 'large') */
1449
- cardSize: PropertyBuilder<string>;
1450
- /** Start date field ID */
1451
- dateField: PropertyBuilder<string>;
1452
- /** End date field ID */
1453
- endDateField: PropertyBuilder<string>;
1454
- /** Form question config (FormViewConfig) — whole-object LWW */
1455
- formConfig: PropertyBuilder<FormViewConfig>;
1456
- /** Per-question show-if rules: fieldId -> FormFieldRule — whole-map LWW */
1457
- formRules: PropertyBuilder<Record<string, FormFieldRule>>;
1458
- /** Accepting responses toggle (form view) */
1459
- formAccepting: PropertyBuilder<boolean>;
1460
- }>;
1461
- /**
1462
- * A DatabaseView node type (inferred from schema).
1463
- */
1464
- type DatabaseView = InferNode<(typeof DatabaseViewSchema)['_properties']>;
1465
-
1466
1492
  declare const SCHEMA_EXTENSION_SCHEMA_IRI: SchemaIRI;
1467
1493
  declare const EXTENSION_FIELD_SCHEMA_IRI: SchemaIRI;
1468
1494
  declare const SchemaExtensionSchema: DefinedSchema<{
@@ -4001,6 +4027,300 @@ declare const MemoryItemSchema: DefinedSchema<{
4001
4027
  }>;
4002
4028
  type MemoryItem = InferNode<(typeof MemoryItemSchema)['_properties']>;
4003
4029
 
4030
+ declare const AGENT_PASSPORT_SCHEMA_IRI: "xnet://xnet.fyi/AgentPassport@1.0.0";
4031
+ declare const AGENT_SESSION_SCHEMA_IRI: "xnet://xnet.fyi/AgentSession@1.0.0";
4032
+ declare const AGENT_ACTION_SCHEMA_IRI: "xnet://xnet.fyi/AgentAction@1.0.0";
4033
+ declare const AGENT_APPROVAL_SCHEMA_IRI: "xnet://xnet.fyi/AgentApproval@1.0.0";
4034
+ declare const AGENT_NOTIFICATION_SCHEMA_IRI: "xnet://xnet.fyi/AgentNotification@1.0.0";
4035
+ /** Which runtime carries the passport. */
4036
+ declare const AGENT_RUNTIMES: readonly [{
4037
+ readonly id: "openclaw";
4038
+ readonly name: "OpenClaw";
4039
+ readonly color: "orange";
4040
+ }, {
4041
+ readonly id: "hermes";
4042
+ readonly name: "Hermes";
4043
+ readonly color: "purple";
4044
+ }, {
4045
+ readonly id: "claude-code";
4046
+ readonly name: "Claude Code";
4047
+ readonly color: "blue";
4048
+ }, {
4049
+ readonly id: "other";
4050
+ readonly name: "Other";
4051
+ readonly color: "gray";
4052
+ }];
4053
+ type AgentRuntime = (typeof AGENT_RUNTIMES)[number]['id'];
4054
+ declare const AgentPassportSchema: DefinedSchema<{
4055
+ /** Home Space for the operator's agent-audit workspace — drives access. */
4056
+ space: PropertyBuilder<string>;
4057
+ /** The agent's own did:key. Every change it makes is signed by this DID. */
4058
+ agentDID: PropertyBuilder<string>;
4059
+ /** The operator DID that delegated authority to the agent. */
4060
+ operatorDID: PropertyBuilder<string>;
4061
+ displayName: PropertyBuilder<string>;
4062
+ runtime: PropertyBuilder<"other" | "openclaw" | "hermes" | "claude-code">;
4063
+ /** The operator-signed, attenuated UCAN delegated to `agentDID`. */
4064
+ ucan: PropertyBuilder<string>;
4065
+ /** Delegation expiry (epoch ms). Rotation is the near-term revocation. */
4066
+ expiresAt: PropertyBuilder<number>;
4067
+ status: PropertyBuilder<"expired" | "active" | "revoked">;
4068
+ createdAt: PropertyBuilder<number>;
4069
+ createdBy: PropertyBuilder<`did:key:${string}`>;
4070
+ }>;
4071
+ type AgentPassport = InferNode<(typeof AgentPassportSchema)['_properties']>;
4072
+ /** Where a session (or an approval) happened. */
4073
+ declare const AGENT_CHANNELS: readonly [{
4074
+ readonly id: "whatsapp";
4075
+ readonly name: "WhatsApp";
4076
+ readonly color: "green";
4077
+ }, {
4078
+ readonly id: "telegram";
4079
+ readonly name: "Telegram";
4080
+ readonly color: "blue";
4081
+ }, {
4082
+ readonly id: "signal";
4083
+ readonly name: "Signal";
4084
+ readonly color: "blue";
4085
+ }, {
4086
+ readonly id: "imessage";
4087
+ readonly name: "iMessage";
4088
+ readonly color: "green";
4089
+ }, {
4090
+ readonly id: "discord";
4091
+ readonly name: "Discord";
4092
+ readonly color: "purple";
4093
+ }, {
4094
+ readonly id: "slack";
4095
+ readonly name: "Slack";
4096
+ readonly color: "purple";
4097
+ }, {
4098
+ readonly id: "app";
4099
+ readonly name: "xNet app";
4100
+ readonly color: "orange";
4101
+ }, {
4102
+ readonly id: "cli";
4103
+ readonly name: "CLI";
4104
+ readonly color: "gray";
4105
+ }, {
4106
+ readonly id: "other";
4107
+ readonly name: "Other";
4108
+ readonly color: "gray";
4109
+ }];
4110
+ type AgentChannel = (typeof AGENT_CHANNELS)[number]['id'];
4111
+ declare const AgentSessionSchema: DefinedSchema<{
4112
+ space: PropertyBuilder<string>;
4113
+ /** AgentPassport node id. */
4114
+ passport: PropertyBuilder<string>;
4115
+ channel: PropertyBuilder<"other" | "signal" | "whatsapp" | "telegram" | "imessage" | "discord" | "slack" | "app" | "cli">;
4116
+ /** Channel-specific peer id (chat/thread id) — forensics for approvals. */
4117
+ peer: PropertyBuilder<string>;
4118
+ startedAt: PropertyBuilder<number>;
4119
+ lastActiveAt: PropertyBuilder<number>;
4120
+ createdAt: PropertyBuilder<number>;
4121
+ createdBy: PropertyBuilder<`did:key:${string}`>;
4122
+ }>;
4123
+ type AgentSession = InferNode<(typeof AgentSessionSchema)['_properties']>;
4124
+ declare const AGENT_RISKS: readonly [{
4125
+ readonly id: "low";
4126
+ readonly name: "Low";
4127
+ readonly color: "green";
4128
+ }, {
4129
+ readonly id: "medium";
4130
+ readonly name: "Medium";
4131
+ readonly color: "yellow";
4132
+ }, {
4133
+ readonly id: "high";
4134
+ readonly name: "High";
4135
+ readonly color: "orange";
4136
+ }, {
4137
+ readonly id: "critical";
4138
+ readonly name: "Critical";
4139
+ readonly color: "red";
4140
+ }];
4141
+ type AgentRisk = (typeof AGENT_RISKS)[number]['id'];
4142
+ declare const AGENT_ACTION_STATUSES: readonly [{
4143
+ readonly id: "proposed";
4144
+ readonly name: "Proposed";
4145
+ readonly color: "gray";
4146
+ }, {
4147
+ readonly id: "pending-approval";
4148
+ readonly name: "Pending approval";
4149
+ readonly color: "yellow";
4150
+ }, {
4151
+ readonly id: "approved";
4152
+ readonly name: "Approved";
4153
+ readonly color: "blue";
4154
+ }, {
4155
+ readonly id: "denied";
4156
+ readonly name: "Denied";
4157
+ readonly color: "red";
4158
+ }, {
4159
+ readonly id: "applied";
4160
+ readonly name: "Applied";
4161
+ readonly color: "green";
4162
+ }, {
4163
+ readonly id: "rolled-back";
4164
+ readonly name: "Rolled back";
4165
+ readonly color: "purple";
4166
+ }, {
4167
+ readonly id: "failed";
4168
+ readonly name: "Failed";
4169
+ readonly color: "red";
4170
+ }];
4171
+ type AgentActionStatus = (typeof AGENT_ACTION_STATUSES)[number]['id'];
4172
+ /** Harvested from the Agent Receipts spec — declares undo-ability up front. */
4173
+ declare const AGENT_REVERSIBILITIES: readonly [{
4174
+ readonly id: "reversible";
4175
+ readonly name: "Reversible";
4176
+ readonly color: "green";
4177
+ }, {
4178
+ readonly id: "compensatable";
4179
+ readonly name: "Compensatable";
4180
+ readonly color: "yellow";
4181
+ }, {
4182
+ readonly id: "irreversible";
4183
+ readonly name: "Irreversible";
4184
+ readonly color: "red";
4185
+ }];
4186
+ type AgentReversibility = (typeof AGENT_REVERSIBILITIES)[number]['id'];
4187
+ declare const AgentActionSchema: DefinedSchema<{
4188
+ space: PropertyBuilder<string>;
4189
+ /** AgentSession node id (deterministic; see `agentSessionId`). */
4190
+ session: PropertyBuilder<string>;
4191
+ /** Monotonic sequence within the session — part of the deterministic id. */
4192
+ seq: PropertyBuilder<number>;
4193
+ /** Tool name, e.g. `xnet_apply_page_markdown`. */
4194
+ tool: PropertyBuilder<string>;
4195
+ /**
4196
+ * The operator's instruction, verbatim. Sensitive — keep the audit Space
4197
+ * tightly scoped, or store a redaction (see `redactInstruction`).
4198
+ */
4199
+ instruction: PropertyBuilder<string>;
4200
+ risk: PropertyBuilder<"low" | "medium" | "high" | "critical">;
4201
+ status: PropertyBuilder<"failed" | "proposed" | "pending-approval" | "approved" | "denied" | "applied" | "rolled-back">;
4202
+ reversibility: PropertyBuilder<"reversible" | "compensatable" | "irreversible">;
4203
+ /** Kernel change ids this action produced (links semantic → signed log). */
4204
+ changeIds: PropertyBuilder<string[]>;
4205
+ /** Error message when `status` is `failed`. */
4206
+ error: PropertyBuilder<string>;
4207
+ /** Pending-approval expiry (epoch ms) — the ceremony TTL. */
4208
+ approvalExpiresAt: PropertyBuilder<number>;
4209
+ createdAt: PropertyBuilder<number>;
4210
+ createdBy: PropertyBuilder<`did:key:${string}`>;
4211
+ }>;
4212
+ type AgentAction = InferNode<(typeof AgentActionSchema)['_properties']>;
4213
+ declare const AGENT_APPROVAL_SURFACES: readonly [{
4214
+ readonly id: "chat";
4215
+ readonly name: "Chat";
4216
+ readonly color: "yellow";
4217
+ }, {
4218
+ readonly id: "app";
4219
+ readonly name: "xNet app";
4220
+ readonly color: "green";
4221
+ }, {
4222
+ readonly id: "push";
4223
+ readonly name: "Push";
4224
+ readonly color: "green";
4225
+ }];
4226
+ type AgentApprovalSurface = (typeof AGENT_APPROVAL_SURFACES)[number]['id'];
4227
+ declare const AGENT_APPROVAL_DECISIONS: readonly [{
4228
+ readonly id: "approved";
4229
+ readonly name: "Approved";
4230
+ readonly color: "green";
4231
+ }, {
4232
+ readonly id: "denied";
4233
+ readonly name: "Denied";
4234
+ readonly color: "red";
4235
+ }, {
4236
+ readonly id: "expired";
4237
+ readonly name: "Expired";
4238
+ readonly color: "gray";
4239
+ }];
4240
+ type AgentApprovalDecision = (typeof AGENT_APPROVAL_DECISIONS)[number]['id'];
4241
+ declare const AgentApprovalSchema: DefinedSchema<{
4242
+ space: PropertyBuilder<string>;
4243
+ /** AgentAction node id this decision gates. */
4244
+ action: PropertyBuilder<string>;
4245
+ surface: PropertyBuilder<"push" | "app" | "chat">;
4246
+ decision: PropertyBuilder<"expired" | "approved" | "denied">;
4247
+ /**
4248
+ * DID that made the decision. For `surface: 'app'`/`'push'` this is the
4249
+ * operator (the node is signed by their key — unforgeable by the agent).
4250
+ */
4251
+ approverDID: PropertyBuilder<string>;
4252
+ /** SHA-256 hex of the nonce — never the nonce itself. */
4253
+ nonceHash: PropertyBuilder<string>;
4254
+ /** Channel peer that replied, for `surface: 'chat'` forensics. */
4255
+ peer: PropertyBuilder<string>;
4256
+ decidedAt: PropertyBuilder<number>;
4257
+ createdAt: PropertyBuilder<number>;
4258
+ createdBy: PropertyBuilder<`did:key:${string}`>;
4259
+ }>;
4260
+ type AgentApproval = InferNode<(typeof AgentApprovalSchema)['_properties']>;
4261
+ declare const AGENT_NOTIFICATION_KINDS: readonly [{
4262
+ readonly id: "info";
4263
+ readonly name: "Info";
4264
+ readonly color: "blue";
4265
+ }, {
4266
+ readonly id: "approval-request";
4267
+ readonly name: "Approval request";
4268
+ readonly color: "yellow";
4269
+ }, {
4270
+ readonly id: "alert";
4271
+ readonly name: "Alert";
4272
+ readonly color: "red";
4273
+ }, {
4274
+ readonly id: "report";
4275
+ readonly name: "Report";
4276
+ readonly color: "green";
4277
+ }];
4278
+ type AgentNotificationKind = (typeof AGENT_NOTIFICATION_KINDS)[number]['id'];
4279
+ declare const AGENT_NOTIFICATION_STATUSES: readonly [{
4280
+ readonly id: "pending";
4281
+ readonly name: "Pending";
4282
+ readonly color: "yellow";
4283
+ }, {
4284
+ readonly id: "delivered";
4285
+ readonly name: "Delivered";
4286
+ readonly color: "green";
4287
+ }, {
4288
+ readonly id: "dismissed";
4289
+ readonly name: "Dismissed";
4290
+ readonly color: "gray";
4291
+ }];
4292
+ type AgentNotificationStatus = (typeof AGENT_NOTIFICATION_STATUSES)[number]['id'];
4293
+ declare const AgentNotificationSchema: DefinedSchema<{
4294
+ space: PropertyBuilder<string>;
4295
+ kind: PropertyBuilder<"info" | "approval-request" | "alert" | "report">;
4296
+ title: PropertyBuilder<string>;
4297
+ body: PropertyBuilder<string>;
4298
+ /** Related AgentAction node id, when the notification concerns one. */
4299
+ action: PropertyBuilder<string>;
4300
+ status: PropertyBuilder<"pending" | "delivered" | "dismissed">;
4301
+ createdAt: PropertyBuilder<number>;
4302
+ createdBy: PropertyBuilder<`did:key:${string}`>;
4303
+ }>;
4304
+ type AgentNotification = InferNode<(typeof AgentNotificationSchema)['_properties']>;
4305
+ /** Passport id for an agent DID — one passport node per agent identity. */
4306
+ declare const agentPassportId: (agentDID: string) => string;
4307
+ /**
4308
+ * Session id from the agent DID and the runtime's own session key (OpenClaw's
4309
+ * `agent:<id>:<mainKey>`, a Hermes conversation id, …).
4310
+ */
4311
+ declare const agentSessionId: (agentDID: string, sessionKey: string) => string;
4312
+ /** Action id — session-scoped sequence keeps retries idempotent. */
4313
+ declare const agentActionId: (sessionId: string, seq: number) => string;
4314
+ /** One approval decision per action. */
4315
+ declare const agentApprovalId: (actionId: string) => string;
4316
+ /** Notification id — callers pass a stable key (e.g. the action id or a digest). */
4317
+ declare const agentNotificationId: (key: string) => string;
4318
+ /**
4319
+ * Redacted instruction for privacy-sensitive audit Spaces: keeps only length
4320
+ * and a stable digest so repeated instructions still correlate.
4321
+ */
4322
+ declare const redactInstruction: (instruction: string, digestHex: string) => string;
4323
+
4004
4324
  /**
4005
4325
  * Comment anchor types and utilities.
4006
4326
  *
@@ -4300,7 +4620,7 @@ declare const builtInSchemas: {
4300
4620
  readonly 'xnet://xnet.fyi/DatabaseView@1.0.0': () => Promise<DefinedSchema<{
4301
4621
  database: PropertyBuilder<string>;
4302
4622
  name: PropertyBuilder<string>;
4303
- type: PropertyBuilder<"list" | "table" | "timeline" | "board" | "gallery" | "calendar" | "form">;
4623
+ type: PropertyBuilder<"map" | "list" | "table" | "timeline" | "board" | "gallery" | "calendar" | "form">;
4304
4624
  filters: PropertyBuilder<FilterGroup>;
4305
4625
  sorts: PropertyBuilder<SortConfig[]>;
4306
4626
  groupBy: PropertyBuilder<string>;
@@ -4314,8 +4634,14 @@ declare const builtInSchemas: {
4314
4634
  sortKey: PropertyBuilder<string>;
4315
4635
  coverField: PropertyBuilder<string>;
4316
4636
  cardSize: PropertyBuilder<string>;
4637
+ coverFit: PropertyBuilder<string>;
4638
+ colorBy: PropertyBuilder<string>;
4639
+ groupMeta: PropertyBuilder<Record<string, ViewGroupMeta>>;
4317
4640
  dateField: PropertyBuilder<string>;
4318
4641
  endDateField: PropertyBuilder<string>;
4642
+ latField: PropertyBuilder<string>;
4643
+ lngField: PropertyBuilder<string>;
4644
+ mapViewport: PropertyBuilder<MapViewport>;
4319
4645
  formConfig: PropertyBuilder<FormViewConfig>;
4320
4646
  formRules: PropertyBuilder<Record<string, FormFieldRule>>;
4321
4647
  formAccepting: PropertyBuilder<boolean>;
@@ -5346,6 +5672,65 @@ declare const builtInSchemas: {
5346
5672
  decay: PropertyBuilder<number>;
5347
5673
  evidence: PropertyBuilder<string[]>;
5348
5674
  }>>;
5675
+ readonly 'xnet://xnet.fyi/AgentPassport@1.0.0': () => Promise<DefinedSchema<{
5676
+ space: PropertyBuilder<string>;
5677
+ agentDID: PropertyBuilder<string>;
5678
+ operatorDID: PropertyBuilder<string>;
5679
+ displayName: PropertyBuilder<string>;
5680
+ runtime: PropertyBuilder<"other" | "openclaw" | "hermes" | "claude-code">;
5681
+ ucan: PropertyBuilder<string>;
5682
+ expiresAt: PropertyBuilder<number>;
5683
+ status: PropertyBuilder<"expired" | "active" | "revoked">;
5684
+ createdAt: PropertyBuilder<number>;
5685
+ createdBy: PropertyBuilder<`did:key:${string}`>;
5686
+ }>>;
5687
+ readonly 'xnet://xnet.fyi/AgentSession@1.0.0': () => Promise<DefinedSchema<{
5688
+ space: PropertyBuilder<string>;
5689
+ passport: PropertyBuilder<string>;
5690
+ channel: PropertyBuilder<"other" | "signal" | "whatsapp" | "telegram" | "imessage" | "discord" | "slack" | "app" | "cli">;
5691
+ peer: PropertyBuilder<string>;
5692
+ startedAt: PropertyBuilder<number>;
5693
+ lastActiveAt: PropertyBuilder<number>;
5694
+ createdAt: PropertyBuilder<number>;
5695
+ createdBy: PropertyBuilder<`did:key:${string}`>;
5696
+ }>>;
5697
+ readonly 'xnet://xnet.fyi/AgentAction@1.0.0': () => Promise<DefinedSchema<{
5698
+ space: PropertyBuilder<string>;
5699
+ session: PropertyBuilder<string>;
5700
+ seq: PropertyBuilder<number>;
5701
+ tool: PropertyBuilder<string>;
5702
+ instruction: PropertyBuilder<string>;
5703
+ risk: PropertyBuilder<"low" | "medium" | "high" | "critical">;
5704
+ status: PropertyBuilder<"failed" | "proposed" | "pending-approval" | "approved" | "denied" | "applied" | "rolled-back">;
5705
+ reversibility: PropertyBuilder<"reversible" | "compensatable" | "irreversible">;
5706
+ changeIds: PropertyBuilder<string[]>;
5707
+ error: PropertyBuilder<string>;
5708
+ approvalExpiresAt: PropertyBuilder<number>;
5709
+ createdAt: PropertyBuilder<number>;
5710
+ createdBy: PropertyBuilder<`did:key:${string}`>;
5711
+ }>>;
5712
+ readonly 'xnet://xnet.fyi/AgentApproval@1.0.0': () => Promise<DefinedSchema<{
5713
+ space: PropertyBuilder<string>;
5714
+ action: PropertyBuilder<string>;
5715
+ surface: PropertyBuilder<"push" | "app" | "chat">;
5716
+ decision: PropertyBuilder<"expired" | "approved" | "denied">;
5717
+ approverDID: PropertyBuilder<string>;
5718
+ nonceHash: PropertyBuilder<string>;
5719
+ peer: PropertyBuilder<string>;
5720
+ decidedAt: PropertyBuilder<number>;
5721
+ createdAt: PropertyBuilder<number>;
5722
+ createdBy: PropertyBuilder<`did:key:${string}`>;
5723
+ }>>;
5724
+ readonly 'xnet://xnet.fyi/AgentNotification@1.0.0': () => Promise<DefinedSchema<{
5725
+ space: PropertyBuilder<string>;
5726
+ kind: PropertyBuilder<"info" | "approval-request" | "alert" | "report">;
5727
+ title: PropertyBuilder<string>;
5728
+ body: PropertyBuilder<string>;
5729
+ action: PropertyBuilder<string>;
5730
+ status: PropertyBuilder<"pending" | "delivered" | "dismissed">;
5731
+ createdAt: PropertyBuilder<number>;
5732
+ createdBy: PropertyBuilder<`did:key:${string}`>;
5733
+ }>>;
5349
5734
  readonly 'xnet://xnet.fyi/Page': () => Promise<DefinedSchema<{
5350
5735
  title: PropertyBuilder<string>;
5351
5736
  icon: PropertyBuilder<string>;
@@ -5410,7 +5795,7 @@ declare const builtInSchemas: {
5410
5795
  readonly 'xnet://xnet.fyi/DatabaseView': () => Promise<DefinedSchema<{
5411
5796
  database: PropertyBuilder<string>;
5412
5797
  name: PropertyBuilder<string>;
5413
- type: PropertyBuilder<"list" | "table" | "timeline" | "board" | "gallery" | "calendar" | "form">;
5798
+ type: PropertyBuilder<"map" | "list" | "table" | "timeline" | "board" | "gallery" | "calendar" | "form">;
5414
5799
  filters: PropertyBuilder<FilterGroup>;
5415
5800
  sorts: PropertyBuilder<SortConfig[]>;
5416
5801
  groupBy: PropertyBuilder<string>;
@@ -5424,8 +5809,14 @@ declare const builtInSchemas: {
5424
5809
  sortKey: PropertyBuilder<string>;
5425
5810
  coverField: PropertyBuilder<string>;
5426
5811
  cardSize: PropertyBuilder<string>;
5812
+ coverFit: PropertyBuilder<string>;
5813
+ colorBy: PropertyBuilder<string>;
5814
+ groupMeta: PropertyBuilder<Record<string, ViewGroupMeta>>;
5427
5815
  dateField: PropertyBuilder<string>;
5428
5816
  endDateField: PropertyBuilder<string>;
5817
+ latField: PropertyBuilder<string>;
5818
+ lngField: PropertyBuilder<string>;
5819
+ mapViewport: PropertyBuilder<MapViewport>;
5429
5820
  formConfig: PropertyBuilder<FormViewConfig>;
5430
5821
  formRules: PropertyBuilder<Record<string, FormFieldRule>>;
5431
5822
  formAccepting: PropertyBuilder<boolean>;
@@ -6435,6 +6826,65 @@ declare const builtInSchemas: {
6435
6826
  decay: PropertyBuilder<number>;
6436
6827
  evidence: PropertyBuilder<string[]>;
6437
6828
  }>>;
6829
+ readonly 'xnet://xnet.fyi/AgentPassport': () => Promise<DefinedSchema<{
6830
+ space: PropertyBuilder<string>;
6831
+ agentDID: PropertyBuilder<string>;
6832
+ operatorDID: PropertyBuilder<string>;
6833
+ displayName: PropertyBuilder<string>;
6834
+ runtime: PropertyBuilder<"other" | "openclaw" | "hermes" | "claude-code">;
6835
+ ucan: PropertyBuilder<string>;
6836
+ expiresAt: PropertyBuilder<number>;
6837
+ status: PropertyBuilder<"expired" | "active" | "revoked">;
6838
+ createdAt: PropertyBuilder<number>;
6839
+ createdBy: PropertyBuilder<`did:key:${string}`>;
6840
+ }>>;
6841
+ readonly 'xnet://xnet.fyi/AgentSession': () => Promise<DefinedSchema<{
6842
+ space: PropertyBuilder<string>;
6843
+ passport: PropertyBuilder<string>;
6844
+ channel: PropertyBuilder<"other" | "signal" | "whatsapp" | "telegram" | "imessage" | "discord" | "slack" | "app" | "cli">;
6845
+ peer: PropertyBuilder<string>;
6846
+ startedAt: PropertyBuilder<number>;
6847
+ lastActiveAt: PropertyBuilder<number>;
6848
+ createdAt: PropertyBuilder<number>;
6849
+ createdBy: PropertyBuilder<`did:key:${string}`>;
6850
+ }>>;
6851
+ readonly 'xnet://xnet.fyi/AgentAction': () => Promise<DefinedSchema<{
6852
+ space: PropertyBuilder<string>;
6853
+ session: PropertyBuilder<string>;
6854
+ seq: PropertyBuilder<number>;
6855
+ tool: PropertyBuilder<string>;
6856
+ instruction: PropertyBuilder<string>;
6857
+ risk: PropertyBuilder<"low" | "medium" | "high" | "critical">;
6858
+ status: PropertyBuilder<"failed" | "proposed" | "pending-approval" | "approved" | "denied" | "applied" | "rolled-back">;
6859
+ reversibility: PropertyBuilder<"reversible" | "compensatable" | "irreversible">;
6860
+ changeIds: PropertyBuilder<string[]>;
6861
+ error: PropertyBuilder<string>;
6862
+ approvalExpiresAt: PropertyBuilder<number>;
6863
+ createdAt: PropertyBuilder<number>;
6864
+ createdBy: PropertyBuilder<`did:key:${string}`>;
6865
+ }>>;
6866
+ readonly 'xnet://xnet.fyi/AgentApproval': () => Promise<DefinedSchema<{
6867
+ space: PropertyBuilder<string>;
6868
+ action: PropertyBuilder<string>;
6869
+ surface: PropertyBuilder<"push" | "app" | "chat">;
6870
+ decision: PropertyBuilder<"expired" | "approved" | "denied">;
6871
+ approverDID: PropertyBuilder<string>;
6872
+ nonceHash: PropertyBuilder<string>;
6873
+ peer: PropertyBuilder<string>;
6874
+ decidedAt: PropertyBuilder<number>;
6875
+ createdAt: PropertyBuilder<number>;
6876
+ createdBy: PropertyBuilder<`did:key:${string}`>;
6877
+ }>>;
6878
+ readonly 'xnet://xnet.fyi/AgentNotification': () => Promise<DefinedSchema<{
6879
+ space: PropertyBuilder<string>;
6880
+ kind: PropertyBuilder<"info" | "approval-request" | "alert" | "report">;
6881
+ title: PropertyBuilder<string>;
6882
+ body: PropertyBuilder<string>;
6883
+ action: PropertyBuilder<string>;
6884
+ status: PropertyBuilder<"pending" | "delivered" | "dismissed">;
6885
+ createdAt: PropertyBuilder<number>;
6886
+ createdBy: PropertyBuilder<`did:key:${string}`>;
6887
+ }>>;
6438
6888
  };
6439
6889
  /**
6440
6890
  * Built-in schema IRIs.
@@ -6917,4 +7367,4 @@ declare function createOperations(...operations: LensOperation[]): {
6917
7367
  */
6918
7368
  declare function identity(source: SchemaIRI, target: SchemaIRI): SchemaLens;
6919
7369
 
6920
- export { ACCOUNT_RECORD_SCHEMA_IRI, ACCOUNT_SCHEMA_IRI, ACHIEVEMENT_SCHEMA_IRI, ACTIVITY_KINDS, ACTIVITY_SCHEMA_IRI, type AbuseReport, AbuseReportSchema, type Account, type AccountClassId, type AccountRecord, AccountRecordSchema, AccountSchema, type Achievement, AchievementSchema, type Activity, type ActivityKind, ActivitySchema, type AnchorData, type AnchorType, type Appeal, AppealSchema, BUDGET_SCHEMA_IRI, type Budget, type BudgetPeriod, BudgetSchema, type BuiltInSchemaIRI, CHANNEL_KINDS, CHECKPOINT_SCHEMA_IRI, CONTACT_LIFECYCLE, CONTACT_SCHEMA_IRI, CRM_NAMESPACE, type Canvas, type CanvasObjectAnchor, type CanvasObjectAnchorPlacement, type CanvasPositionAnchor, CanvasSchema, type CellAnchor, type Channel, type ChannelKind, type ChannelNotifyTier, ChannelSchema, type ChatMessage, ChatMessageSchema, type CheckboxOptions, type Checkpoint, type CheckpointFrontierEntry, CheckpointSchema, type ColumnAnchor, type Comment, CommentSchema, type CommunityNote, CommunityNoteSchema, type Contact, type ContactLifecycle, ContactSchema, type ContentProvenance, ContentProvenanceSchema, type CoreSchemaResolver, type CreatedByOptions, type CreatedOptions, type CrmVisibility, DEAL_CONTACT_ROLES, DEAL_CONTACT_ROLE_SCHEMA_IRI, DEAL_SCHEMA_IRI, DEAL_SOURCES, DEFAULT_CHANNEL_TIER, DEVICE_RECORD_SCHEMA_IRI, DID, DRAFT_SCHEMA_IRI, type Dashboard, type DashboardBreakpointId, type DashboardLayoutItem, type DashboardLayouts, DashboardSchema, type DashboardTimeRange, type DashboardVariablesState, type DashboardWidgetInstance, type DashboardWidgetRefresh, type Database, type DatabaseField, DatabaseFieldSchema, type DatabaseRow, DatabaseRowSchema, DatabaseSchema, type DatabaseSelectOption, DatabaseSelectOptionSchema, type DatabaseView, DatabaseViewSchema, type DateOptions, type DateRange, type DateRangeOptions, type Deal, type DealContactRole, type DealContactRoleKind, DealContactRoleSchema, DealSchema, type DealSource, type DebugReport, DebugReportSchema, type DefineSchemaOptions, DefinedSchema, type DeviceLike, type DeviceRecord, DeviceRecordSchema, DocumentType, type Draft, type DraftEntry, type DraftProvenance, DraftSchema, EXTENSION_FIELD_SCHEMA_IRI, EXTERNAL_ITEM_SCHEMA_IRI, EXTERNAL_ITEM_SOURCES, EXT_PREFIX, type EffectiveExtensionField, type EmailOptions, type Experiment, type ExperimentDesign, type ExperimentPhase, ExperimentSchema, type ExperimentStatus, type ExtensionField, type ExtensionFieldRecord, ExtensionFieldSchema, type ExtensionRecord, type ExternalItem, ExternalItemSchema, type ExternalReference, ExternalReferenceSchema, FEED_ITEM_SCHEMA_IRI, FEED_SCHEMA_IRI, FOLDER_SCHEMA_IRI, FORECAST_CATEGORIES, type Feed, type FeedItem, FeedItemSchema, FeedSchema, type FileOptions, type FileRef, type Folder, type FolderLike, FolderSchema, type FolderTreeNode, type ForecastCategory, GAME_ASSET_FORMATS, GAME_ASSET_MIME_TYPES, GAME_ASSET_SCHEMA_IRI, GAME_ECONOMY_ENTRY_SCHEMA_IRI, GAME_ITEM_SCHEMA_IRI, GAME_NAMESPACE, GAME_SCHEMA_IRIS, type GameAsset, type GameAssetFormat, GameAssetSchema, type GameEconomyEntry, GameEconomyEntrySchema, type GameItem, GameItemSchema, type GameVisibility, type GeoFeature, type GeoFeatureCollection, type GeoGeometry, type GeoPosition, type Grant, GrantSchema, IMPORT_BATCH_SCHEMA_IRI, INVENTORY_SCHEMA_IRI, ITEM_RARITIES, type ImportBatch, ImportBatchSchema, type ImportSource, type InboxItemTriage, type InboxState, InboxStateSchema, type InboxWatermark, InferNode, type Inventory, InventorySchema, type ItemRarity, type JsonOptions, LINE_ITEM_SCHEMA_IRI, type LedgerNodeIntent, LensOperation, type LineItem, LineItemSchema, MATCH_RESULTS, MATCH_SESSION_SCHEMA_IRI, MAX_LINK_PREVIEWS_PER_MESSAGE, MAX_MENTION_DIDS, MAX_TAG_NAME_LENGTH, MEETING_CHANNELS, MEETING_SCHEMA_IRI, MEETING_TEMPLATE_IDS, MEETING_TRANSCRIPT_SCHEMA_IRI, MEMORY_ITEM_SCHEMA_IRI, MEMORY_KINDS, MILESTONE_SCHEMA_IRI, type Map$1 as Map, type MapBasemapId, type MapLayerGeometry, type MapLayerSource, type MapLayerSpec, type MapLayerStyle, MapSchema, type MapViewport, type MatchResult, type MatchSession, MatchSessionSchema, type MediaAsset, MediaAssetSchema, type Meeting, type MeetingChannel, MeetingSchema, type MeetingSegment, type MeetingTemplateId, type MeetingTranscript, MeetingTranscriptSchema, type MemoryItem, MemoryItemSchema, type MemoryKind, type Mention, type MessageLinkPreview, type MessageMentions, type MessageRequest, MessageRequestSchema, type Metric, type MetricKind, type MetricPolarity, type MetricScheduleId, MetricSchema, type Milestone, MilestoneSchema, type ModerationLabel, ModerationLabelSchema, type MoneyOptions, type MoneyValue, type MultiSelectOptions, NODE_VISIBILITY, type NodeAnchor, type NodeVisibility, type NoteRating, NoteRatingSchema, type NotificationPrefs, type NumberOptions, ORGANIZATION_SCHEMA_IRI, ORGANIZATION_SIZES, type Observation, type ObservationPhase, ObservationSchema, type Organization, OrganizationSchema, type OrganizationSize, type OrphanReason, type OrphanResolvers, type OrphanStatus, PIPELINE_SCHEMA_IRI, PLAYER_IDENTITY_SCHEMA_IRI, POSTING_SCHEMA_IRI, PRODUCT_KINDS, PRODUCT_SCHEMA_IRI, type Page, PageSchema, type ParsedSystemNamespaceResource, type ParsedTaskShortId, type PersonOptions, type PhoneOptions, type Pipeline, PipelineSchema, type PlayerIdentity, PlayerIdentitySchema, type PolicyList, PolicyListSchema, type PolicySubscription, PolicySubscriptionSchema, type Posting, PostingSchema, PresenceAggregator, type PresenceAggregatorOptions, type PresenceAggregatorStore, type PresenceCountBucket, type PresenceSummary, type PresenceSummaryDescriptor, PresenceSummarySchema, type PresenceVisibility, type PresenceVisibilityResolver, type Product, type ProductKind, ProductSchema, type Profile, ProfileSchema, type Project, ProjectSchema, PropertyBuilder, PropertyType, type PublicInteractionPolicy, PublicInteractionPolicySchema, type QualitySignal, QualitySignalSchema, RECOVERY_RECORD_SCHEMA_IRI, RELATIONSHIP_KINDS, RELATIONSHIP_SCHEMA_IRI, REVOCATION_RECORD_SCHEMA_IRI, type Reaction, ReactionSchema, type RecoveryRecord, RecoveryRecordSchema, type RelationOptions, type Relationship, type RelationshipKind, RelationshipSchema, type ReviewTask, ReviewTaskSchema, type RevocationLike, type RevocationRecord, RevocationRecordSchema, type RowAnchor, SCHEMA_EXTENSION_SCHEMA_IRI, DEFAULT_SCHEMA_VERSION as SCHEMA_VERSION, SIDECAR_PREFIX, SPACE_KINDS, SPACE_MEMBERSHIP_SCHEMA_IRI, SPACE_ROLES, SPACE_SCHEMA_IRI, SPACE_VISIBILITY, STAGE_SCHEMA_IRI, SYSTEM_NAMESPACE_KINDS, SYSTEM_SCHEMA_BASE_IRIS, SYSTEM_SCHEMA_IRIS, type SavedView, SavedViewSchema, Schema, type SchemaAuthorityResolution, type SchemaAuthorityResolutionKind, type SchemaAuthorityResolutionOptions, type SchemaCompatibility, type SchemaCompatibilityMode, SchemaCompatibilitySchema, type SchemaDefinition, SchemaDefinitionSchema, type SchemaDefinitionSigningInput, type SchemaDefinitionStatus, type SchemaExtension, SchemaExtensionSchema, SchemaIRI, SchemaLens, type SelectOption, type SelectOptions, type SidecarOverlay, type Space, type SpaceKind, type SpaceLike, type SpaceMembership, SpaceMembershipSchema, type SpaceRole, SpaceSchema, type SpaceTreeNode, type SpaceVisibility, type Stage, StageSchema, type SyncPolicy, SyncPolicySchema, type SyncPolicyStatus, type SystemFederationErrorCode, type SystemNamespaceKind, type SystemSchemaDefinitionRecord, SystemSchemaIndex, type SystemSchemaIndexDiagnostic, type SystemSchemaIndexOptions, type SystemSchemaIndexStore, TAG_SCHEMA_IRI, TASK_SHORT_ID_PATTERN, TASK_STATUS_CATEGORIES, TRANSACTION_SCHEMA_IRI, TRANSCRIPTION_SCHEMA_IRI, type Tag, TagSchema, type Task, TaskSchema, type TaskShortIdBlock, type TaskStatusCategory, type TaskStatusId, type TaskView, TaskViewSchema, type TextAnchor, type TextOptions, type Transaction, TransactionSchema, type TransactionStatus, type Transcription, TranscriptionSchema, type TranscriptionSourceId, type UpdatedOptions, type UrlOptions, type UserWidget, type UserWidgetConfigField, UserWidgetSchema, type UserWidgetSize, type ValidateSchemaDefinitionNodeOptions, ValidationError, ValidationResult, type Workspace, WorkspaceSchema, type WorkspaceTreeJson, accountRecordId, accountState, addDefault, admitDeviceRecord, bucketPresenceCount, buildEffectiveSchema, buildFolderTree, buildSpaceTree, buildSystemNamespace, buildSystemNodeId, builtInSchemas, canManageSpace, canModifyColumn, checkOrphanStatus, checkbox, compareSpaceRoles, composeLens, computeSchemaDefinitionContentHash, convert, copy, createAccountRecord, createNodeGraphSchemaResolver, createOperations, createSchemaDefinitionSigningPayload, created, createdBy, crmSchemas, date, dateRange, decodeAnchor, defineSchema, deviceRecipientExpander, deviceRecordId, didFromProfileNodeId, effectiveSpaceRole, email, encodeAnchor, extKey, extractMentions, file, filterOrphanedComments, findLockedColumns, flattenFolderTree, flattenSpaceTree, folderAncestorIds, folderPathIds, formatTaskShortId, gameSchemas, getMentionedUsers, getPresenceNoisePolicy, getTaskStatusCategory, identity, inboxStateNodeId, isCanvasObjectAnchor, isCanvasPositionAnchor, isCellAnchor, isColumnAnchor, isCompletedTaskStatus, isDeviceAuthorized, isExtKey, isMessageLinkPreview, isMoneyValue, isNodeAnchor, isRowAnchor, isSchemaDefinitionNode, isSpaceRole, isSystemNamespaceResource, isSystemSchemaIri, isTextAnchor, isValidMentions, isValidTagName, json, loadExtensionFields, lockedPropertyKeys, mentionsInclude, merge, mergeSidecarsIntoRow, money, multiSelect, nextEpoch, normalizeMentions, normalizeTagName, number, parseExtKey, parseSystemNamespaceResource, parseTaskShortId, person, phone, profileNodeId, promoteOverlay, recoveryRecordId, relation, remove, rename, resolveActiveDevices, resolveEffectiveSchema, resolveSchemaAuthority, revocationRecordId, revokeDeviceRecord, revokeSubjectRecord, revokedSubjects, sanitizeLinkPreviews, schemaExtensionId, select, selectExtensionFields, shortIdsFromBlock, sidecarId, sidecarOverlayKeys, spaceAncestorIds, spaceMembershipId, spacePathIds, spaceRoleGrantActions, spaceRoleToShareRole, summarizePresenceNodes, taskBranchName, text, transform, updated, url, validateSchemaDefinitionNode, when, wouldCreateFolderCycle, wouldCreateSpaceCycle };
7370
+ export { ACCOUNT_RECORD_SCHEMA_IRI, ACCOUNT_SCHEMA_IRI, ACHIEVEMENT_SCHEMA_IRI, ACTIVITY_KINDS, ACTIVITY_SCHEMA_IRI, AGENT_ACTION_SCHEMA_IRI, AGENT_ACTION_STATUSES, AGENT_APPROVAL_DECISIONS, AGENT_APPROVAL_SCHEMA_IRI, AGENT_APPROVAL_SURFACES, AGENT_CHANNELS, AGENT_NOTIFICATION_KINDS, AGENT_NOTIFICATION_SCHEMA_IRI, AGENT_NOTIFICATION_STATUSES, AGENT_PASSPORT_SCHEMA_IRI, AGENT_REVERSIBILITIES, AGENT_RISKS, AGENT_RUNTIMES, AGENT_SESSION_SCHEMA_IRI, type AbuseReport, AbuseReportSchema, type Account, type AccountClassId, type AccountRecord, AccountRecordSchema, AccountSchema, type Achievement, AchievementSchema, type Activity, type ActivityKind, ActivitySchema, type AgentAction, AgentActionSchema, type AgentActionStatus, type AgentApproval, type AgentApprovalDecision, AgentApprovalSchema, type AgentApprovalSurface, type AgentChannel, type AgentNotification, type AgentNotificationKind, AgentNotificationSchema, type AgentNotificationStatus, type AgentPassport, AgentPassportSchema, type AgentReversibility, type AgentRisk, type AgentRuntime, type AgentSession, AgentSessionSchema, type AnchorData, type AnchorType, type Appeal, AppealSchema, BUDGET_SCHEMA_IRI, type Budget, type BudgetPeriod, BudgetSchema, type BuiltInSchemaIRI, CHANNEL_KINDS, CHECKPOINT_SCHEMA_IRI, CONTACT_LIFECYCLE, CONTACT_SCHEMA_IRI, CRM_NAMESPACE, type Canvas, type CanvasObjectAnchor, type CanvasObjectAnchorPlacement, type CanvasPositionAnchor, CanvasSchema, type CellAnchor, type Channel, type ChannelKind, type ChannelNotifyTier, ChannelSchema, type ChatMessage, ChatMessageSchema, type CheckboxOptions, type Checkpoint, type CheckpointFrontierEntry, CheckpointSchema, type ColumnAnchor, type Comment, CommentSchema, type CommunityNote, CommunityNoteSchema, type Contact, type ContactLifecycle, ContactSchema, type ContentProvenance, ContentProvenanceSchema, type CoreSchemaResolver, type CreatedByOptions, type CreatedOptions, type CrmVisibility, DEAL_CONTACT_ROLES, DEAL_CONTACT_ROLE_SCHEMA_IRI, DEAL_SCHEMA_IRI, DEAL_SOURCES, DEFAULT_CHANNEL_TIER, DEVICE_RECORD_SCHEMA_IRI, DID, DRAFT_SCHEMA_IRI, type Dashboard, type DashboardBreakpointId, type DashboardLayoutItem, type DashboardLayouts, DashboardSchema, type DashboardTimeRange, type DashboardVariablesState, type DashboardWidgetInstance, type DashboardWidgetRefresh, type Database, type DatabaseField, DatabaseFieldSchema, type DatabaseRow, DatabaseRowSchema, DatabaseSchema, type DatabaseSelectOption, DatabaseSelectOptionSchema, type DatabaseView, DatabaseViewSchema, type DateOptions, type DateRange, type DateRangeOptions, type Deal, type DealContactRole, type DealContactRoleKind, DealContactRoleSchema, DealSchema, type DealSource, type DebugReport, DebugReportSchema, type DefineSchemaOptions, DefinedSchema, type DeviceLike, type DeviceRecord, DeviceRecordSchema, DocumentType, type Draft, type DraftEntry, type DraftProvenance, DraftSchema, EXTENSION_FIELD_SCHEMA_IRI, EXTERNAL_ITEM_SCHEMA_IRI, EXTERNAL_ITEM_SOURCES, EXT_PREFIX, type EffectiveExtensionField, type EmailOptions, type Experiment, type ExperimentDesign, type ExperimentPhase, ExperimentSchema, type ExperimentStatus, type ExtensionField, type ExtensionFieldRecord, ExtensionFieldSchema, type ExtensionRecord, type ExternalItem, ExternalItemSchema, type ExternalReference, ExternalReferenceSchema, FEED_ITEM_SCHEMA_IRI, FEED_SCHEMA_IRI, FOLDER_SCHEMA_IRI, FORECAST_CATEGORIES, type Feed, type FeedItem, FeedItemSchema, FeedSchema, type FileOptions, type FileRef, type Folder, type FolderLike, FolderSchema, type FolderTreeNode, type ForecastCategory, GAME_ASSET_FORMATS, GAME_ASSET_MIME_TYPES, GAME_ASSET_SCHEMA_IRI, GAME_ECONOMY_ENTRY_SCHEMA_IRI, GAME_ITEM_SCHEMA_IRI, GAME_NAMESPACE, GAME_SCHEMA_IRIS, type GameAsset, type GameAssetFormat, GameAssetSchema, type GameEconomyEntry, GameEconomyEntrySchema, type GameItem, GameItemSchema, type GameVisibility, type GeoFeature, type GeoFeatureCollection, type GeoGeometry, type GeoPosition, type Grant, GrantSchema, IMPORT_BATCH_SCHEMA_IRI, INVENTORY_SCHEMA_IRI, ITEM_RARITIES, type ImportBatch, ImportBatchSchema, type ImportSource, type InboxItemTriage, type InboxState, InboxStateSchema, type InboxWatermark, InferNode, type Inventory, InventorySchema, type ItemRarity, type JsonOptions, LINE_ITEM_SCHEMA_IRI, type LedgerNodeIntent, LensOperation, type LineItem, LineItemSchema, MATCH_RESULTS, MATCH_SESSION_SCHEMA_IRI, MAX_LINK_PREVIEWS_PER_MESSAGE, MAX_MENTION_DIDS, MAX_TAG_NAME_LENGTH, MEETING_CHANNELS, MEETING_SCHEMA_IRI, MEETING_TEMPLATE_IDS, MEETING_TRANSCRIPT_SCHEMA_IRI, MEMORY_ITEM_SCHEMA_IRI, MEMORY_KINDS, MILESTONE_SCHEMA_IRI, type Map$1 as Map, type MapBasemapId, type MapLayerGeometry, type MapLayerSource, type MapLayerSpec, type MapLayerStyle, MapSchema, type MapViewport, type MatchResult, type MatchSession, MatchSessionSchema, type MediaAsset, MediaAssetSchema, type Meeting, type MeetingChannel, MeetingSchema, type MeetingSegment, type MeetingTemplateId, type MeetingTranscript, MeetingTranscriptSchema, type MemoryItem, MemoryItemSchema, type MemoryKind, type Mention, type MessageLinkPreview, type MessageMentions, type MessageRequest, MessageRequestSchema, type Metric, type MetricKind, type MetricPolarity, type MetricScheduleId, MetricSchema, type Milestone, MilestoneSchema, type ModerationLabel, ModerationLabelSchema, type MoneyOptions, type MoneyValue, type MultiSelectOptions, NODE_VISIBILITY, type NodeAnchor, type NodeVisibility, type NoteRating, NoteRatingSchema, type NotificationPrefs, type NumberOptions, ORGANIZATION_SCHEMA_IRI, ORGANIZATION_SIZES, type Observation, type ObservationPhase, ObservationSchema, type Organization, OrganizationSchema, type OrganizationSize, type OrphanReason, type OrphanResolvers, type OrphanStatus, PIPELINE_SCHEMA_IRI, PLAYER_IDENTITY_SCHEMA_IRI, POSTING_SCHEMA_IRI, PRODUCT_KINDS, PRODUCT_SCHEMA_IRI, type Page, PageSchema, type ParsedSystemNamespaceResource, type ParsedTaskShortId, type PersonOptions, type PhoneOptions, type Pipeline, PipelineSchema, type PlayerIdentity, PlayerIdentitySchema, type PolicyList, PolicyListSchema, type PolicySubscription, PolicySubscriptionSchema, type Posting, PostingSchema, PresenceAggregator, type PresenceAggregatorOptions, type PresenceAggregatorStore, type PresenceCountBucket, type PresenceSummary, type PresenceSummaryDescriptor, PresenceSummarySchema, type PresenceVisibility, type PresenceVisibilityResolver, type Product, type ProductKind, ProductSchema, type Profile, ProfileSchema, type Project, ProjectSchema, PropertyBuilder, PropertyType, type PublicInteractionPolicy, PublicInteractionPolicySchema, type QualitySignal, QualitySignalSchema, RECOVERY_RECORD_SCHEMA_IRI, RELATIONSHIP_KINDS, RELATIONSHIP_SCHEMA_IRI, REVOCATION_RECORD_SCHEMA_IRI, type Reaction, ReactionSchema, type RecoveryRecord, RecoveryRecordSchema, type RelationOptions, type Relationship, type RelationshipKind, RelationshipSchema, type ReviewTask, ReviewTaskSchema, type RevocationLike, type RevocationRecord, RevocationRecordSchema, type RowAnchor, SCHEMA_EXTENSION_SCHEMA_IRI, DEFAULT_SCHEMA_VERSION as SCHEMA_VERSION, SIDECAR_PREFIX, SPACE_KINDS, SPACE_MEMBERSHIP_SCHEMA_IRI, SPACE_ROLES, SPACE_SCHEMA_IRI, SPACE_VISIBILITY, STAGE_SCHEMA_IRI, SYSTEM_NAMESPACE_KINDS, SYSTEM_SCHEMA_BASE_IRIS, SYSTEM_SCHEMA_IRIS, type SavedView, SavedViewSchema, Schema, type SchemaAuthorityResolution, type SchemaAuthorityResolutionKind, type SchemaAuthorityResolutionOptions, type SchemaCompatibility, type SchemaCompatibilityMode, SchemaCompatibilitySchema, type SchemaDefinition, SchemaDefinitionSchema, type SchemaDefinitionSigningInput, type SchemaDefinitionStatus, type SchemaExtension, SchemaExtensionSchema, SchemaIRI, SchemaLens, type SelectOption, type SelectOptions, type SidecarOverlay, type Space, type SpaceKind, type SpaceLike, type SpaceMembership, SpaceMembershipSchema, type SpaceRole, SpaceSchema, type SpaceTreeNode, type SpaceVisibility, type Stage, StageSchema, type SyncPolicy, SyncPolicySchema, type SyncPolicyStatus, type SystemFederationErrorCode, type SystemNamespaceKind, type SystemSchemaDefinitionRecord, SystemSchemaIndex, type SystemSchemaIndexDiagnostic, type SystemSchemaIndexOptions, type SystemSchemaIndexStore, TAG_SCHEMA_IRI, TASK_SHORT_ID_PATTERN, TASK_STATUS_CATEGORIES, TRANSACTION_SCHEMA_IRI, TRANSCRIPTION_SCHEMA_IRI, type Tag, TagSchema, type Task, TaskSchema, type TaskShortIdBlock, type TaskStatusCategory, type TaskStatusId, type TaskView, TaskViewSchema, type TextAnchor, type TextOptions, type Transaction, TransactionSchema, type TransactionStatus, type Transcription, TranscriptionSchema, type TranscriptionSourceId, type UpdatedOptions, type UrlOptions, type UserWidget, type UserWidgetConfigField, UserWidgetSchema, type UserWidgetSize, type ValidateSchemaDefinitionNodeOptions, ValidationError, ValidationResult, type ViewGroupMeta, type Workspace, WorkspaceSchema, type WorkspaceTreeJson, accountRecordId, accountState, addDefault, admitDeviceRecord, agentActionId, agentApprovalId, agentNotificationId, agentPassportId, agentSessionId, bucketPresenceCount, buildEffectiveSchema, buildFolderTree, buildSpaceTree, buildSystemNamespace, buildSystemNodeId, builtInSchemas, canManageSpace, canModifyColumn, checkOrphanStatus, checkbox, compareSpaceRoles, composeLens, computeSchemaDefinitionContentHash, convert, copy, createAccountRecord, createNodeGraphSchemaResolver, createOperations, createSchemaDefinitionSigningPayload, created, createdBy, crmSchemas, date, dateRange, decodeAnchor, defineSchema, deviceRecipientExpander, deviceRecordId, didFromProfileNodeId, effectiveSpaceRole, email, encodeAnchor, extKey, extractMentions, file, filterOrphanedComments, findLockedColumns, flattenFolderTree, flattenSpaceTree, folderAncestorIds, folderPathIds, formatTaskShortId, gameSchemas, getMentionedUsers, getPresenceNoisePolicy, getTaskStatusCategory, identity, inboxStateNodeId, isCanvasObjectAnchor, isCanvasPositionAnchor, isCellAnchor, isColumnAnchor, isCompletedTaskStatus, isDeviceAuthorized, isExtKey, isMessageLinkPreview, isMoneyValue, isNodeAnchor, isRowAnchor, isSchemaDefinitionNode, isSpaceRole, isSystemNamespaceResource, isSystemSchemaIri, isTextAnchor, isValidMentions, isValidTagName, json, loadExtensionFields, lockedPropertyKeys, mentionsInclude, merge, mergeSidecarsIntoRow, money, multiSelect, nextEpoch, normalizeMentions, normalizeTagName, number, parseExtKey, parseSystemNamespaceResource, parseTaskShortId, person, phone, profileNodeId, promoteOverlay, recoveryRecordId, redactInstruction, relation, remove, rename, resolveActiveDevices, resolveEffectiveSchema, resolveSchemaAuthority, revocationRecordId, revokeDeviceRecord, revokeSubjectRecord, revokedSubjects, sanitizeLinkPreviews, schemaExtensionId, select, selectExtensionFields, shortIdsFromBlock, sidecarId, sidecarOverlayKeys, spaceAncestorIds, spaceMembershipId, spacePathIds, spaceRoleGrantActions, spaceRoleToShareRole, summarizePresenceNodes, taskBranchName, text, transform, updated, url, validateSchemaDefinitionNode, when, wouldCreateFolderCycle, wouldCreateSpaceCycle };