@ai-matrx/records 0.87.32 → 0.92.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/CHANGELOG.md +92 -0
- package/README.md +115 -0
- package/dist/{client-E0VQ0NPO.d.ts → client-DE9Mq6YX.d.cts} +8 -5
- package/dist/{client-C3ZZNfGH.d.cts → client-vJAb7g9r.d.ts} +8 -5
- package/dist/core/index.cjs +25 -7
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.d.cts +23 -12
- package/dist/core/index.d.ts +23 -12
- package/dist/core/index.js +25 -7
- package/dist/core/index.js.map +1 -1
- package/dist/data/index.cjs +19 -7
- package/dist/data/index.cjs.map +1 -1
- package/dist/data/index.d.cts +12 -142
- package/dist/data/index.d.ts +12 -142
- package/dist/data/index.js +19 -7
- package/dist/data/index.js.map +1 -1
- package/dist/{declareTable-BK3zufr7.d.cts → declareTable-Btg5bql1.d.cts} +4 -4
- package/dist/{declareTable-B12XybRp.d.ts → declareTable-JKt2q34d.d.ts} +4 -4
- package/dist/entity/index.cjs +984 -0
- package/dist/entity/index.cjs.map +1 -0
- package/dist/entity/index.d.cts +36 -0
- package/dist/entity/index.d.ts +36 -0
- package/dist/entity/index.js +964 -0
- package/dist/entity/index.js.map +1 -0
- package/dist/entity/react.cjs +1024 -0
- package/dist/entity/react.cjs.map +1 -0
- package/dist/entity/react.d.cts +511 -0
- package/dist/entity/react.d.ts +511 -0
- package/dist/entity/react.js +1015 -0
- package/dist/entity/react.js.map +1 -0
- package/dist/{field-BanTVGK2.d.cts → field-BJBnTyJ0.d.cts} +1 -1
- package/dist/{field-BPABOJ2Y.d.ts → field-Ti5iAxFr.d.ts} +1 -1
- package/dist/forms/index.cjs +984 -0
- package/dist/forms/index.cjs.map +1 -0
- package/dist/forms/index.d.cts +333 -0
- package/dist/forms/index.d.ts +333 -0
- package/dist/forms/index.js +961 -0
- package/dist/forms/index.js.map +1 -0
- package/dist/index.cjs +10 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +11 -8
- package/dist/index.d.ts +11 -8
- package/dist/index.js +10 -1
- package/dist/index.js.map +1 -1
- package/dist/memory/index.d.cts +7 -6
- package/dist/memory/index.d.ts +7 -6
- package/dist/port-CPVBfDxS.d.cts +301 -0
- package/dist/port-D2i2o7Lg.d.ts +301 -0
- package/dist/portal-Db4CYyHe.d.ts +331 -0
- package/dist/portal-DfeY2Boy.d.cts +331 -0
- package/dist/{ports-TMWX-t9l.d.ts → ports-BWtxAnXh.d.ts} +2 -2
- package/dist/{ports-D8-iuY1P.d.cts → ports-DSU2RsR6.d.cts} +2 -2
- package/dist/react/index.cjs +55 -523
- package/dist/react/index.cjs.map +1 -1
- package/dist/react/index.d.cts +14 -1
- package/dist/react/index.d.ts +14 -1
- package/dist/react/index.js +52 -527
- package/dist/react/index.js.map +1 -1
- package/dist/realtime/index.d.cts +2 -2
- package/dist/realtime/index.d.ts +2 -2
- package/dist/{record-DpB2QgAZ.d.cts → record-BQi92d4-.d.cts} +7 -1
- package/dist/{record-DpB2QgAZ.d.ts → record-BQi92d4-.d.ts} +7 -1
- package/dist/relation-DMwkmzgN.d.cts +230 -0
- package/dist/relation-DlcqV_W5.d.ts +230 -0
- package/dist/rule-B8kR0l01.d.ts +250 -0
- package/dist/rule-BMViCLmW.d.cts +250 -0
- package/dist/search/index.cjs +283 -0
- package/dist/search/index.cjs.map +1 -0
- package/dist/search/index.d.cts +44 -0
- package/dist/search/index.d.ts +44 -0
- package/dist/search/index.js +260 -0
- package/dist/search/index.js.map +1 -0
- package/dist/setup/index.cjs +6854 -0
- package/dist/setup/index.cjs.map +1 -0
- package/dist/setup/index.d.cts +87 -0
- package/dist/setup/index.d.ts +87 -0
- package/dist/setup/index.js +6829 -0
- package/dist/setup/index.js.map +1 -0
- package/dist/{subscription-D7KQBHXN.d.ts → subscription-5CLN3Jug.d.ts} +3 -249
- package/dist/{subscription-BD9DnJxX.d.cts → subscription-D-VEzvyy.d.cts} +3 -249
- package/dist/{table-kind-BZu8mtND.d.cts → table-kind-CVp43g6h.d.ts} +3 -558
- package/dist/{table-kind-xKxTHtrV.d.ts → table-kind-Cm6PXkWx.d.cts} +3 -558
- package/dist/templates/index.d.cts +10 -9
- package/dist/templates/index.d.ts +10 -9
- package/dist/typed-table/index.cjs +19 -7
- package/dist/typed-table/index.cjs.map +1 -1
- package/dist/typed-table/index.d.cts +10 -7
- package/dist/typed-table/index.d.ts +10 -7
- package/dist/typed-table/index.js +19 -7
- package/dist/typed-table/index.js.map +1 -1
- package/dist/{types-CLP5H4Wk.d.cts → types-9Q5SHRDJ.d.cts} +2 -2
- package/dist/{types-DmPkWQic.d.ts → types-CfYy-vdV.d.ts} +2 -2
- package/dist/{types-C2uspRtf.d.cts → types-Cs2MyE3u.d.cts} +2 -2
- package/dist/{types-Dv61jStB.d.ts → types-DF-dxB_l.d.ts} +2 -2
- package/dist/types-DTEGaxso.d.cts +139 -0
- package/dist/types-Dji5SpFS.d.ts +139 -0
- package/dist/use-cases/index.d.cts +5 -5
- package/dist/use-cases/index.d.ts +5 -5
- package/dist/{validate-CWVToe1T.d.ts → validate-BydKd-Le.d.ts} +1 -1
- package/dist/{validate-DEB_mn4Y.d.cts → validate-CqJakTKk.d.cts} +1 -1
- package/dist/versions/index.cjs +375 -0
- package/dist/versions/index.cjs.map +1 -0
- package/dist/versions/index.d.cts +160 -0
- package/dist/versions/index.d.ts +160 -0
- package/dist/versions/index.js +353 -0
- package/dist/versions/index.js.map +1 -0
- package/package.json +62 -2
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { U as Uuid,
|
|
2
|
-
import { b as Field } from './field-
|
|
3
|
-
import { b as RecordsDataSource } from './ports-TMWX-t9l.js';
|
|
1
|
+
import { U as Uuid, T as Timestamp, q as ReadRow, l as RecordDocument, g as TableType, h as TableDisplay, S as StorageMode, aw as TableOrigin, u as StoredRecord, y as ParityFieldType, a as RecordsError } from './record-BQi92d4-.cjs';
|
|
2
|
+
import { b as Field } from './field-BJBnTyJ0.cjs';
|
|
4
3
|
|
|
5
4
|
/**
|
|
6
5
|
* THE TWO LANES THE ARCHIVED-ITEMS LAW NAMES (Arman, 2026-09-09) — the same
|
|
@@ -1339,334 +1338,6 @@ interface InboundDeclared {
|
|
|
1339
1338
|
message: string;
|
|
1340
1339
|
}
|
|
1341
1340
|
|
|
1342
|
-
/** One portal as `custom.portals` reports it to its organization. */
|
|
1343
|
-
interface PortalSummary {
|
|
1344
|
-
portal_id: Uuid;
|
|
1345
|
-
title: string;
|
|
1346
|
-
slug: string;
|
|
1347
|
-
/** The Table whose records ARE the clients. A principal is one of its rows. */
|
|
1348
|
-
client_table_id: Uuid;
|
|
1349
|
-
/** That Table's name, so a list never has to read a second door to draw a row. */
|
|
1350
|
-
client_table: string;
|
|
1351
|
-
is_active: boolean;
|
|
1352
|
-
/** How many Tables this portal exposes. */
|
|
1353
|
-
tables: number;
|
|
1354
|
-
/** Everybody invited and not revoked — NOT everybody who can see anything. */
|
|
1355
|
-
invited: number;
|
|
1356
|
-
/** Of those, how many have followed the link and hold an identity. */
|
|
1357
|
-
signed_in: number;
|
|
1358
|
-
/** `magic_link` today, and the door refuses every other word by name. */
|
|
1359
|
-
sign_in_method: string;
|
|
1360
|
-
opened_at: Timestamp | null;
|
|
1361
|
-
}
|
|
1362
|
-
/**
|
|
1363
|
-
* ONE (portal, Table) PAIR, as `custom.portal_tables` reports it.
|
|
1364
|
-
*
|
|
1365
|
-
* 🚨 WHY THIS EXISTS (TAILS-3, 2026-09-21). The Portals rail sits on a Table's
|
|
1366
|
-
* page beside Forms, Bookings and Dashboards — all table-scoped — while
|
|
1367
|
-
* `custom.portals` takes no table at all. On Rincon Plumbing Co's **Parts**
|
|
1368
|
-
* table the rail read "Portals 10" and listed ten cards titled "Your jobs and
|
|
1369
|
-
* invoices", which belong to **Jobs**; the empty state never rendered, so the
|
|
1370
|
-
* "Build it / Ask an agent" offer was unreachable on EVERY table of any
|
|
1371
|
-
* organization that already had one portal.
|
|
1372
|
-
*
|
|
1373
|
-
* This is the whole of what a table-scoped rail needs: is the table I am
|
|
1374
|
-
* standing on in any portal, and if not, which portals could take it.
|
|
1375
|
-
*/
|
|
1376
|
-
interface PortalTableRef {
|
|
1377
|
-
portal_id: Uuid;
|
|
1378
|
-
table_id: Uuid;
|
|
1379
|
-
/** That Table's name, so a rail never reads a second door to draw a row. */
|
|
1380
|
-
name: string;
|
|
1381
|
-
}
|
|
1382
|
-
/** One Table a portal exposes, as `custom.portal_card` reports it. */
|
|
1383
|
-
interface PortalTableExposure {
|
|
1384
|
-
table_id: Uuid;
|
|
1385
|
-
/** The Table's own name. */
|
|
1386
|
-
name: string;
|
|
1387
|
-
/**
|
|
1388
|
-
* The key of the relation Field that says WHOSE a record is. This is the
|
|
1389
|
-
* whole of "only theirs": the association that Field writes is what carries
|
|
1390
|
-
* the record to the client, so a portal cannot exist without one.
|
|
1391
|
-
*/
|
|
1392
|
-
names_via: string;
|
|
1393
|
-
/** The field keys a client sees. Empty is impossible — the door fills it. */
|
|
1394
|
-
visible_fields: string[];
|
|
1395
|
-
/** The subset a client may change. Always a subset of `visible_fields`. */
|
|
1396
|
-
editable_fields: string[];
|
|
1397
|
-
comments: boolean;
|
|
1398
|
-
/**
|
|
1399
|
-
* The most a client is ever conveyed on this Table — `viewer`, `commenter`
|
|
1400
|
-
* or `editor` — worked out by the door from the two lists above, never by a
|
|
1401
|
-
* screen.
|
|
1402
|
-
*/
|
|
1403
|
-
conveys: string;
|
|
1404
|
-
}
|
|
1405
|
-
/** One person a portal was opened to, as `custom.portal_card` reports them. */
|
|
1406
|
-
interface PortalPrincipal {
|
|
1407
|
-
principal_id: Uuid;
|
|
1408
|
-
email: string;
|
|
1409
|
-
/** The record of the client Table this person IS, for the portal's purposes. */
|
|
1410
|
-
client_record_id: Uuid;
|
|
1411
|
-
/** That record's title — what an owner calls this client. */
|
|
1412
|
-
client: string;
|
|
1413
|
-
/** They followed the link and hold an identity. Until then this is false. */
|
|
1414
|
-
signed_in: boolean;
|
|
1415
|
-
/** Not revoked. An invitation that was never followed is still active. */
|
|
1416
|
-
is_active: boolean;
|
|
1417
|
-
invited_at: Timestamp;
|
|
1418
|
-
revoked_at: Timestamp | null;
|
|
1419
|
-
/**
|
|
1420
|
-
* THE LINK THE OFFICE COPIES FOR THIS PERSON — `/invitations/portal/accept/<token>`, the
|
|
1421
|
-
* path `custom.portal_invite` handed back when they were asked, read off the same
|
|
1422
|
-
* `iam.invitations` row and never re-templated.
|
|
1423
|
-
*
|
|
1424
|
-
* 🚨 `null` IS AN ANSWER, NOT AN ABSENCE, and a screen must say which. It is null when they
|
|
1425
|
-
* have already followed the link, when the office took it back (a revoke withdraws the
|
|
1426
|
-
* invitation in the same statement), when it has expired, or when they were let in through
|
|
1427
|
-
* the server's own magic-link route, which binds without an invitation at all. In every one
|
|
1428
|
-
* of those cases there is genuinely no link to copy — so draw a sentence, never a dead
|
|
1429
|
-
* control. (TAILS-5, 2026-09-21; the gap PORTAL-BIND left named.)
|
|
1430
|
-
*/
|
|
1431
|
-
accept_path: string | null;
|
|
1432
|
-
}
|
|
1433
|
-
/** Everything about ONE portal: what it shows, and who it was opened to. */
|
|
1434
|
-
interface PortalCard {
|
|
1435
|
-
portal_id: Uuid;
|
|
1436
|
-
title: string;
|
|
1437
|
-
slug: string;
|
|
1438
|
-
is_active: boolean;
|
|
1439
|
-
sign_in_method: string;
|
|
1440
|
-
client_table_id: Uuid;
|
|
1441
|
-
tables: PortalTableExposure[];
|
|
1442
|
-
principals: PortalPrincipal[];
|
|
1443
|
-
/**
|
|
1444
|
-
* Whether this organization's outside lane is open
|
|
1445
|
-
* (`custom/external_principal_enabled`). Declaring a portal opens it; while
|
|
1446
|
-
* it is false every door refuses an outsider BY NAME, and a screen that drew
|
|
1447
|
-
* the people as reachable anyway would be lying about the one thing that
|
|
1448
|
-
* decides whether they can sign in at all.
|
|
1449
|
-
*/
|
|
1450
|
-
external_lane_open: boolean;
|
|
1451
|
-
/** S6 — the look and forms exactly as the owner stored them (`{}` when none). */
|
|
1452
|
-
config: PortalConfig;
|
|
1453
|
-
/** S6 — the look as a client sees it: the portal's own values over the organization's brand. */
|
|
1454
|
-
style: PortalStyle;
|
|
1455
|
-
/** S6 — every form on the portal, in its order, with its title, Table and state. */
|
|
1456
|
-
forms: PortalFormRef[];
|
|
1457
|
-
/** S6 — the accent names a portal may carry (the design system's `STYLE_COLORS`). */
|
|
1458
|
-
accents: PortalAccent[];
|
|
1459
|
-
/**
|
|
1460
|
-
* S6 — the pictures that could be this portal's logo: the organization's own PUBLIC pictures in
|
|
1461
|
-
* Files, newest first. A private file is never offered, because the store would refuse it.
|
|
1462
|
-
*/
|
|
1463
|
-
logo_candidates: PublicPicture[];
|
|
1464
|
-
}
|
|
1465
|
-
/** The design system's colour names (`STYLE_COLORS`), which is all an accent may be. */
|
|
1466
|
-
declare const PORTAL_ACCENTS: readonly ["slate", "green", "amber", "red", "blue", "violet", "teal"];
|
|
1467
|
-
type PortalAccent = (typeof PORTAL_ACCENTS)[number];
|
|
1468
|
-
declare function isPortalAccent(word: unknown): word is PortalAccent;
|
|
1469
|
-
/** One link in a portal's footer. The store takes only `https://`, `mailto:` and `tel:`. */
|
|
1470
|
-
interface PortalFooterLink {
|
|
1471
|
-
label: string;
|
|
1472
|
-
url: string;
|
|
1473
|
-
}
|
|
1474
|
-
/** A portal's look as the owner sets it. Every key is optional; absent means "the organization's". */
|
|
1475
|
-
interface PortalStyleInput {
|
|
1476
|
-
display_name?: string | null;
|
|
1477
|
-
welcome?: string | null;
|
|
1478
|
-
logo_file_id?: Uuid | null;
|
|
1479
|
-
accent?: PortalAccent | null;
|
|
1480
|
-
footer_links?: PortalFooterLink[] | null;
|
|
1481
|
-
}
|
|
1482
|
-
/** One form on a portal, as the owner sets it. `order` is the position; `label` overrides the title. */
|
|
1483
|
-
interface PortalFormInput {
|
|
1484
|
-
form_id: Uuid;
|
|
1485
|
-
label?: string | null;
|
|
1486
|
-
order?: number | null;
|
|
1487
|
-
}
|
|
1488
|
-
/**
|
|
1489
|
-
* What `portalDeclare({ config })` sends. A key given REPLACES that key; a key not given is KEPT;
|
|
1490
|
-
* `style: null` puts the organization's brand back and `forms: []` takes every form off.
|
|
1491
|
-
*/
|
|
1492
|
-
interface PortalConfigInput {
|
|
1493
|
-
style?: PortalStyleInput | null;
|
|
1494
|
-
forms?: PortalFormInput[] | null;
|
|
1495
|
-
}
|
|
1496
|
-
/** The look and forms as the store holds them (normalized by the store). */
|
|
1497
|
-
interface PortalConfig {
|
|
1498
|
-
style?: PortalStyleInput;
|
|
1499
|
-
forms?: Array<{
|
|
1500
|
-
form_id: Uuid;
|
|
1501
|
-
label?: string;
|
|
1502
|
-
order: number;
|
|
1503
|
-
}>;
|
|
1504
|
-
}
|
|
1505
|
-
/** The look a client is shown — resolved by the store, never computed by a screen. */
|
|
1506
|
-
interface PortalStyle {
|
|
1507
|
-
display_name: string;
|
|
1508
|
-
welcome: string | null;
|
|
1509
|
-
logo_file_id: Uuid | null;
|
|
1510
|
-
/** The logo's PUBLIC address, or null. Readable by anybody the portal is shown to. */
|
|
1511
|
-
logo_url: string | null;
|
|
1512
|
-
/** Null means the app's own colour. */
|
|
1513
|
-
accent: PortalAccent | null;
|
|
1514
|
-
footer_links: PortalFooterLink[];
|
|
1515
|
-
/** MAKE-HOME W5 — a cover picture's PUBLIC address (a form's look carries one), or null. */
|
|
1516
|
-
cover_file_id?: Uuid | null;
|
|
1517
|
-
cover_url?: string | null;
|
|
1518
|
-
/** Which of the values above came from the organization rather than the portal. */
|
|
1519
|
-
from_organization: Array<"display_name" | "logo">;
|
|
1520
|
-
}
|
|
1521
|
-
/**
|
|
1522
|
-
* One of the organization's PUBLIC pictures (`custom._public_pictures`): the only pictures a
|
|
1523
|
-
* portal's logo or a form's logo and cover may be, because a stranger sees them before signing in.
|
|
1524
|
-
*/
|
|
1525
|
-
interface PublicPicture {
|
|
1526
|
-
file_id: Uuid;
|
|
1527
|
-
name: string;
|
|
1528
|
-
url: string | null;
|
|
1529
|
-
}
|
|
1530
|
-
/**
|
|
1531
|
-
* What a form's look editor needs (`custom.form_look_options`, MAKE-HOME W5b): the pictures the
|
|
1532
|
-
* store accepts, the colours, and the look a stranger would see for the draft presentation.
|
|
1533
|
-
*/
|
|
1534
|
-
interface FormLookOptions {
|
|
1535
|
-
pictures: PublicPicture[];
|
|
1536
|
-
accents: PortalAccent[];
|
|
1537
|
-
look: PortalStyle;
|
|
1538
|
-
}
|
|
1539
|
-
/** One form on a portal, with what the owner needs to see about it. */
|
|
1540
|
-
interface PortalFormRef {
|
|
1541
|
-
form_id: Uuid;
|
|
1542
|
-
/** What the portal calls it (the owner's label, else the form's title). */
|
|
1543
|
-
label: string;
|
|
1544
|
-
order: number;
|
|
1545
|
-
title: string;
|
|
1546
|
-
table_id: Uuid | null;
|
|
1547
|
-
table: string;
|
|
1548
|
-
/** `gone` is a form that was removed; the outsider's list only ever carries `open`. */
|
|
1549
|
-
state: "open" | "closed" | "full" | "gone";
|
|
1550
|
-
}
|
|
1551
|
-
/** A Table's stages as a portal client may be told them (`custom.portal_me` → tables[].stage). */
|
|
1552
|
-
interface PortalStage {
|
|
1553
|
-
/** The stage Field's key on the record. */
|
|
1554
|
-
field: string;
|
|
1555
|
-
label: string;
|
|
1556
|
-
/** In the order they were declared. A record stores the stage's `key`. */
|
|
1557
|
-
stages: Array<{
|
|
1558
|
-
key: string;
|
|
1559
|
-
label: string;
|
|
1560
|
-
retired: boolean;
|
|
1561
|
-
}>;
|
|
1562
|
-
}
|
|
1563
|
-
/** What `custom.portal_form` answers: one form on the caller's own portal. */
|
|
1564
|
-
interface PortalFormSpec {
|
|
1565
|
-
form_id: Uuid;
|
|
1566
|
-
portal_id: Uuid;
|
|
1567
|
-
table_id: Uuid;
|
|
1568
|
-
title: string;
|
|
1569
|
-
label: string;
|
|
1570
|
-
presentation: Record<string, unknown>;
|
|
1571
|
-
/** The form's exposed Fields as the store holds them — never the one naming the client. */
|
|
1572
|
-
fields: Array<Record<string, unknown> & {
|
|
1573
|
-
id: Uuid;
|
|
1574
|
-
key: string;
|
|
1575
|
-
}>;
|
|
1576
|
-
required: string[];
|
|
1577
|
-
state: "open" | "closed" | "full";
|
|
1578
|
-
message: string | null;
|
|
1579
|
-
}
|
|
1580
|
-
/** What `custom.portal_form_submit` answers. `held` waits for the office; `message` says so. */
|
|
1581
|
-
interface PortalFormAnswer {
|
|
1582
|
-
submission_id: Uuid | null;
|
|
1583
|
-
record_id: Uuid | null;
|
|
1584
|
-
state: "accepted" | "held" | "rejected" | "closed" | "full" | "too_many";
|
|
1585
|
-
message: string | null;
|
|
1586
|
-
}
|
|
1587
|
-
/** What `custom.portal_invite` answers. `say` is the door's own sentence. */
|
|
1588
|
-
interface PortalInvitation {
|
|
1589
|
-
invited: boolean;
|
|
1590
|
-
principal_id: Uuid;
|
|
1591
|
-
portal_id: Uuid;
|
|
1592
|
-
slug: string;
|
|
1593
|
-
email: string;
|
|
1594
|
-
client_record_id: Uuid;
|
|
1595
|
-
client: string;
|
|
1596
|
-
/** They already hold an identity. From a screen this is false: the door is passed no user. */
|
|
1597
|
-
bound: boolean;
|
|
1598
|
-
/**
|
|
1599
|
-
* The door's own words, and the ONLY correct summary of what just happened —
|
|
1600
|
-
* it says outright that an invitation confers nothing until the link is
|
|
1601
|
-
* followed. Show it; never paraphrase it.
|
|
1602
|
-
*/
|
|
1603
|
-
say: string;
|
|
1604
|
-
}
|
|
1605
|
-
/** What `custom.portal_revoke` answers. `say` names the consequence, past tense. */
|
|
1606
|
-
interface PortalRevocation {
|
|
1607
|
-
revoked: boolean;
|
|
1608
|
-
principal_id: Uuid;
|
|
1609
|
-
email: string;
|
|
1610
|
-
/** The door's own sentence: they can no longer sign in, and their records stop reaching them. */
|
|
1611
|
-
say: string;
|
|
1612
|
-
}
|
|
1613
|
-
/** One row of "what this client sees", from `custom.portal_preview`. */
|
|
1614
|
-
interface PortalPreviewRow {
|
|
1615
|
-
record_id: Uuid;
|
|
1616
|
-
title: string;
|
|
1617
|
-
}
|
|
1618
|
-
/**
|
|
1619
|
-
* THE PUBLIC ADDRESS OF A PORTAL, and the one place its shape is written down.
|
|
1620
|
-
*
|
|
1621
|
-
* Unlike a form's link, a portal's slug is NOT the capability: the page it
|
|
1622
|
-
* serves asks who you are and emails a one-time link, so the slug is a name and
|
|
1623
|
-
* nothing more. That is why it is readable and why copying it is safe.
|
|
1624
|
-
*/
|
|
1625
|
-
declare function portalPath(slug: string): string;
|
|
1626
|
-
/**
|
|
1627
|
-
* The platform archive filter's own three values, and no fourth. `custom.list_portals`
|
|
1628
|
-
* refuses anything else with `22023` rather than quietly treating it as one of them.
|
|
1629
|
-
*/
|
|
1630
|
-
declare const PORTAL_ARCHIVE_FILTERS: readonly ["active", "archived", "all"];
|
|
1631
|
-
type PortalArchiveFilter = (typeof PORTAL_ARCHIVE_FILTERS)[number];
|
|
1632
|
-
/** THE LAW'S DEFAULT IS TO HIDE. A list nobody narrowed is the live things. */
|
|
1633
|
-
declare const DEFAULT_PORTAL_ARCHIVE_FILTER: PortalArchiveFilter;
|
|
1634
|
-
declare function isPortalArchiveFilter(word: unknown): word is PortalArchiveFilter;
|
|
1635
|
-
/** What `custom.portal_archive` and `custom.portal_restore` answer with. */
|
|
1636
|
-
interface PortalArchiveAnswer {
|
|
1637
|
-
/** Where the portal stands NOW — true after an archive, false after a restore. */
|
|
1638
|
-
archived: boolean;
|
|
1639
|
-
/** False when it was already in that state; the sentence says so rather than lying about an act. */
|
|
1640
|
-
changed: boolean;
|
|
1641
|
-
portal_id: Uuid;
|
|
1642
|
-
archived_at?: Timestamp | null;
|
|
1643
|
-
/** The store's own sentence, in plain English. Show it verbatim; never a constraint name. */
|
|
1644
|
-
sentence: string;
|
|
1645
|
-
}
|
|
1646
|
-
/**
|
|
1647
|
-
* THE CONSEQUENCE, SAID BEFORE THE CLICK — never a generic "are you sure?".
|
|
1648
|
-
*
|
|
1649
|
-
* What actually changes is two things: nobody can sign in to it any more, and it
|
|
1650
|
-
* leaves the organization's portal list. What does NOT change is everything
|
|
1651
|
-
* else, and saying so is the difference between an archive somebody dares to
|
|
1652
|
-
* press and one they avoid.
|
|
1653
|
-
*/
|
|
1654
|
-
declare function portalArchiveConsequence(title: string, signedIn: number, invited: number): string;
|
|
1655
|
-
/**
|
|
1656
|
-
* WHY THE TITLE HAS TO BE TYPED BACK, in the store's own reasoning. Ten portals
|
|
1657
|
-
* can carry one title, so the title is not what PICKS this one — the portal you
|
|
1658
|
-
* opened is. Typing it back is how you say you meant this one.
|
|
1659
|
-
*/
|
|
1660
|
-
declare function portalConfirmLine(title: string): string;
|
|
1661
|
-
/** True when what the person typed is what the door will accept. The door decides; this only spares them a round trip. */
|
|
1662
|
-
declare function portalTitleTypedBack(typed: string, title: string): boolean;
|
|
1663
|
-
/**
|
|
1664
|
-
* WHAT AN EMPTY ARCHIVE LANE SAYS. An empty list is an answer: it says nothing
|
|
1665
|
-
* has been archived, so "none here" can never be read as "the archive is broken"
|
|
1666
|
-
* or as "this organization has no portals at all".
|
|
1667
|
-
*/
|
|
1668
|
-
declare function emptyPortalArchiveLine(): string;
|
|
1669
|
-
|
|
1670
1341
|
/** The four values of "Shown to", in the ladder's order. */
|
|
1671
1342
|
declare const SHOWN_TO_VALUES: readonly ["only_me", "my_team", "everyone", "everyone_on_ai_matrx"];
|
|
1672
1343
|
type ShownTo = (typeof SHOWN_TO_VALUES)[number];
|
|
@@ -3422,232 +3093,6 @@ interface DocSignatureRow {
|
|
|
3422
3093
|
document_version: number;
|
|
3423
3094
|
}
|
|
3424
3095
|
|
|
3425
|
-
/**
|
|
3426
|
-
* REL-6. Whether Visibility flows along this relation and the MAXIMUM access
|
|
3427
|
-
* level it carries. Default off on `referenced`, on for `owned`.
|
|
3428
|
-
*/
|
|
3429
|
-
interface RelationCarries {
|
|
3430
|
-
carries: boolean;
|
|
3431
|
-
/** The ceiling — a relation never carries more access than this. */
|
|
3432
|
-
max_access: string | null;
|
|
3433
|
-
}
|
|
3434
|
-
/** The seven properties, each its own question. */
|
|
3435
|
-
interface RelationProperties {
|
|
3436
|
-
/** REL-1. Stored once on the contained table, read from the field's side. */
|
|
3437
|
-
flavor: RelationFlavor;
|
|
3438
|
-
/** REL-2. Separate from flavour. */
|
|
3439
|
-
on_delete: OnDelete;
|
|
3440
|
-
/** REL-3. A snapshot is a frozen copy in the relation's payload — never a pointer into History. */
|
|
3441
|
-
binding: RelationBinding;
|
|
3442
|
-
/** REL-4. */
|
|
3443
|
-
ordered: boolean;
|
|
3444
|
-
/** REL-5. */
|
|
3445
|
-
loops: "allowed" | "refused";
|
|
3446
|
-
/** REL-6. */
|
|
3447
|
-
carries: RelationCarries;
|
|
3448
|
-
/** REL-7. */
|
|
3449
|
-
cardinality: RelationCardinality;
|
|
3450
|
-
}
|
|
3451
|
-
/**
|
|
3452
|
-
* REL-8 / REL-N-1. A target is a REFERENCE, written that way from the first
|
|
3453
|
-
* line of code, because it may name a row outside our database. One Table,
|
|
3454
|
-
* several, or any — polymorphic without restriction. External targets are
|
|
3455
|
-
* read-only in v1.
|
|
3456
|
-
*/
|
|
3457
|
-
type RelationTarget = {
|
|
3458
|
-
kind: "ours";
|
|
3459
|
-
entity_token: string;
|
|
3460
|
-
row_id: Uuid;
|
|
3461
|
-
} | {
|
|
3462
|
-
kind: "external";
|
|
3463
|
-
connection_token: string;
|
|
3464
|
-
external_table: string;
|
|
3465
|
-
external_key: string;
|
|
3466
|
-
} | {
|
|
3467
|
-
kind: "any";
|
|
3468
|
-
};
|
|
3469
|
-
/** One edge, as the store holds it in `platform.associations`. */
|
|
3470
|
-
interface Relation {
|
|
3471
|
-
id: Uuid;
|
|
3472
|
-
organization_id: Uuid;
|
|
3473
|
-
/** REL-10. The field key, which is what `role` holds. */
|
|
3474
|
-
role: string;
|
|
3475
|
-
source: RelationTarget;
|
|
3476
|
-
target: RelationTarget;
|
|
3477
|
-
properties: RelationProperties;
|
|
3478
|
-
/** REL-4. Meaningful only when `ordered`. */
|
|
3479
|
-
position: number | null;
|
|
3480
|
-
/** REL-3. The frozen copy, when `binding` is `snapshot`. */
|
|
3481
|
-
payload: Record<string, unknown> | null;
|
|
3482
|
-
/** REL-14. Hydrated from the target's title field AT READ — never stored. */
|
|
3483
|
-
label: string | null;
|
|
3484
|
-
created_at: Timestamp;
|
|
3485
|
-
updated_at: Timestamp;
|
|
3486
|
-
/** REL-13 / REL-16. Associations are versioned, so relation history exists. */
|
|
3487
|
-
version: number;
|
|
3488
|
-
}
|
|
3489
|
-
/**
|
|
3490
|
-
* DOOR-6. A query coordinate: "related to THIS, along THAT role, in that
|
|
3491
|
-
* direction". Any combination, and any subset of them.
|
|
3492
|
-
*/
|
|
3493
|
-
interface RelationCoordinate {
|
|
3494
|
-
/** The record at the other end. */
|
|
3495
|
-
record_id: Uuid;
|
|
3496
|
-
/** The field key the edge carries as its role. Omit to mean any role. */
|
|
3497
|
-
role?: string;
|
|
3498
|
-
/** Which way to walk. `out` is this record's own relation fields. */
|
|
3499
|
-
direction?: "out" | "in" | "either";
|
|
3500
|
-
}
|
|
3501
|
-
/**
|
|
3502
|
-
* The arguments of the ONE relation-words resolver: the FIELD, because that is where its display
|
|
3503
|
-
* spec is declared and judged (`custom._display_of_field` reads it server-side; the caller never
|
|
3504
|
-
* carries it), and the ids of a page of cells.
|
|
3505
|
-
*/
|
|
3506
|
-
/** A linked record's icon, and its table's icon for a record that has none (`relationWordsMany`). */
|
|
3507
|
-
interface RelationIcons {
|
|
3508
|
-
icon: string | null;
|
|
3509
|
-
tableIcon: string | null;
|
|
3510
|
-
}
|
|
3511
|
-
interface RelationWordsManyArgs {
|
|
3512
|
-
field_id: Uuid;
|
|
3513
|
-
record_ids: Uuid[];
|
|
3514
|
-
}
|
|
3515
|
-
/** One reference as the store keeps it. */
|
|
3516
|
-
interface EntityRef {
|
|
3517
|
-
/** The `platform.entity_types` token: `note`, `web_site`, `agent` … */
|
|
3518
|
-
token: string;
|
|
3519
|
-
id: Uuid;
|
|
3520
|
-
}
|
|
3521
|
-
/** One reference as a read door answers it. */
|
|
3522
|
-
interface EntityRefWithWords extends EntityRef {
|
|
3523
|
-
/**
|
|
3524
|
-
* The thing's own title — or the store's withheld sentence when the reader
|
|
3525
|
-
* may not open it; `null` when the kind names no title.
|
|
3526
|
-
*/
|
|
3527
|
-
label: string | null;
|
|
3528
|
-
}
|
|
3529
|
-
/** One kind of platform thing a record may point at (`custom.entity_reference_kinds`). */
|
|
3530
|
-
interface EntityReferenceKind {
|
|
3531
|
-
token: string;
|
|
3532
|
-
/** What a person reads: "Note", "Site", "Agent". */
|
|
3533
|
-
label: string;
|
|
3534
|
-
/** The picker's grouping: the admin-assigned reference category, else the schema. */
|
|
3535
|
-
category: string;
|
|
3536
|
-
}
|
|
3537
|
-
/**
|
|
3538
|
-
* The references a cell holds, whichever shape it arrived in — one object, a
|
|
3539
|
-
* list, or what a read door rendered (with labels). Anything that is not a
|
|
3540
|
-
* reference is left out, never guessed at.
|
|
3541
|
-
*/
|
|
3542
|
-
declare function entityRefsOf(value: unknown): EntityRefWithWords[];
|
|
3543
|
-
/**
|
|
3544
|
-
* What to WRITE for an entity-reference cell: `{token, id}` only, each thing
|
|
3545
|
-
* once, first mention first — the label a read door added is dropped, because
|
|
3546
|
-
* the store reads it and never keeps it (REL-14). A single-valued column gets
|
|
3547
|
-
* the one object (or `null`), a multi-valued one the list.
|
|
3548
|
-
*/
|
|
3549
|
-
declare function entityRefsToWrite(value: unknown, multi: boolean): EntityRef | EntityRef[] | null;
|
|
3550
|
-
/**
|
|
3551
|
-
* The kinds of platform thing a record may point at — what the field editor's
|
|
3552
|
-
* kind picker lists. `custom.entity_reference_kinds()`.
|
|
3553
|
-
*/
|
|
3554
|
-
declare function entityReferenceKinds(source: RecordsDataSource): Promise<RecordsResult<EntityReferenceKind[]>>;
|
|
3555
|
-
/**
|
|
3556
|
-
* THE SEARCH DOOR (lane REFERENCE-CARRY). The platform things of these kinds whose words hold
|
|
3557
|
-
* `search`, that THIS person may point a record at — each one a thing the store's own write check
|
|
3558
|
-
* (`custom._entity_reference_target_ok`) would accept, so a picked reference is never refused on
|
|
3559
|
-
* save. `custom.entity_reference_search`. An empty search lists the first things by name.
|
|
3560
|
-
*/
|
|
3561
|
-
declare function entityReferenceSearch(source: RecordsDataSource, organizationId: Uuid | null, tokens: readonly string[], search: string, limit?: number): Promise<RecordsResult<EntityRefWithWords[]>>;
|
|
3562
|
-
/**
|
|
3563
|
-
* THE WORDS HELPER. The words of each `{token, id}` for a picker or a chip
|
|
3564
|
-
* before anything is saved — each label read by the store for THIS person and
|
|
3565
|
-
* withheld when they may not open the thing. `custom.entity_reference_words`.
|
|
3566
|
-
* A saved cell needs no call: every read door already answers its labels.
|
|
3567
|
-
*/
|
|
3568
|
-
declare function entityReferenceWords(source: RecordsDataSource, organizationId: Uuid | null, refs: readonly EntityRef[]): Promise<RecordsResult<EntityRefWithWords[]>>;
|
|
3569
|
-
/** One reverse column of a Table, as `custom.reverse_columns` answers it. */
|
|
3570
|
-
interface ReverseColumn {
|
|
3571
|
-
/** Stable key: the linking Field's `inverse_key`, else `linked_<field id>`. Never a Field key of B. */
|
|
3572
|
-
key: string;
|
|
3573
|
-
/** What the column is called on B: the linking table's name (plus the column's when ambiguous). */
|
|
3574
|
-
label: string;
|
|
3575
|
-
/** The relation Field on the linking table. */
|
|
3576
|
-
source_field_id: Uuid;
|
|
3577
|
-
source_field_key: string;
|
|
3578
|
-
source_field_label: string;
|
|
3579
|
-
/** The linking table. */
|
|
3580
|
-
source_table_id: Uuid;
|
|
3581
|
-
source_table_name: string;
|
|
3582
|
-
/** Always `many`: any number of records may link to one. */
|
|
3583
|
-
cardinality: "many";
|
|
3584
|
-
/**
|
|
3585
|
-
* True for a virtual back-link (written only from the linking table's side). False for a TWO-WAY
|
|
3586
|
-
* LINK (NOTION-PROPS): the reverse end is a real Field on this table — `key` is its key, `label`
|
|
3587
|
-
* its label — and `relationReverseSet` writes its links from here.
|
|
3588
|
-
*/
|
|
3589
|
-
read_only: boolean;
|
|
3590
|
-
}
|
|
3591
|
-
/**
|
|
3592
|
-
* NOTION-PROPS. A two-way link's reverse Field: a relation whose `config.reverse_of` names the
|
|
3593
|
-
* forward relation it mirrors. It holds no value of its own — its links are the forward Field's.
|
|
3594
|
-
*/
|
|
3595
|
-
declare function isReverseField(field: {
|
|
3596
|
-
type?: unknown;
|
|
3597
|
-
config?: unknown;
|
|
3598
|
-
} | null | undefined): boolean;
|
|
3599
|
-
/** One linking record, as a chip shows it. */
|
|
3600
|
-
interface ReverseLink {
|
|
3601
|
-
id: Uuid;
|
|
3602
|
-
/** The linking record's name, read by the store for this reader. */
|
|
3603
|
-
words: string;
|
|
3604
|
-
}
|
|
3605
|
-
/** The links of one record through one reverse column: how many the reader may see, and one page. */
|
|
3606
|
-
interface ReverseLinks {
|
|
3607
|
-
total: number;
|
|
3608
|
-
links: ReverseLink[];
|
|
3609
|
-
}
|
|
3610
|
-
interface ReverseLinksManyArgs {
|
|
3611
|
-
/** The Table whose records are being shown (B). */
|
|
3612
|
-
table_id: Uuid;
|
|
3613
|
-
/** `ReverseColumn.source_field_id`. */
|
|
3614
|
-
source_field_id: Uuid;
|
|
3615
|
-
/** A page of B's record ids — up to 200 a call; more are sent in groups by the client. */
|
|
3616
|
-
record_ids: readonly Uuid[];
|
|
3617
|
-
/** Links per record, 1–50 (the store holds it there). Default 10. */
|
|
3618
|
-
limit?: number;
|
|
3619
|
-
/** Skip this many links of each record — the next page of one hub record. Default 0. */
|
|
3620
|
-
offset?: number;
|
|
3621
|
-
}
|
|
3622
|
-
/** `reverseLinksFields`: the links of a page through several reverse columns, in one call. */
|
|
3623
|
-
interface ReverseLinksFieldsArgs {
|
|
3624
|
-
table_id: Uuid;
|
|
3625
|
-
/** Each `ReverseColumn.source_field_id` — at most 20. */
|
|
3626
|
-
source_field_ids: readonly Uuid[];
|
|
3627
|
-
record_ids: readonly Uuid[];
|
|
3628
|
-
limit?: number;
|
|
3629
|
-
offset?: number;
|
|
3630
|
-
}
|
|
3631
|
-
/** The store's per-call ceiling on records for `custom.reverse_links_many`. */
|
|
3632
|
-
declare const REVERSE_LINKS_RECORDS_PER_CALL = 200;
|
|
3633
|
-
/** The store's ceiling on links a record per call. */
|
|
3634
|
-
declare const REVERSE_LINKS_PAGE_MAX = 50;
|
|
3635
|
-
/** The store's typed "source archived" answer for a lookup or roll-up. */
|
|
3636
|
-
interface SourceArchived {
|
|
3637
|
-
__unavailable: "source_archived";
|
|
3638
|
-
/** `link`: the relation it reads through is archived; `column`: the far column it reads is. */
|
|
3639
|
-
reads: "link" | "column";
|
|
3640
|
-
/** The archived Field. Absent when the reader may not know its Table. */
|
|
3641
|
-
field_id?: Uuid;
|
|
3642
|
-
/** Its label. Absent when the reader may not know its Table. */
|
|
3643
|
-
label?: string;
|
|
3644
|
-
table_id?: Uuid;
|
|
3645
|
-
/** Its Table's name. Absent when the reader may not know that Table. */
|
|
3646
|
-
table?: string;
|
|
3647
|
-
}
|
|
3648
|
-
/** The typed "source archived" answer, when `value` is one; null for any other value. */
|
|
3649
|
-
declare function sourceArchivedOf(value: unknown): SourceArchived | null;
|
|
3650
|
-
|
|
3651
3096
|
/**
|
|
3652
3097
|
* One of the five states, as `custom.work_states()` lists them — with what it
|
|
3653
3098
|
* may become next and whether it is the end. A screen that hardcoded these
|
|
@@ -4372,4 +3817,4 @@ declare function tableJsonSchema(facts: TableKindFacts, mode: TableSchemaMode):
|
|
|
4372
3817
|
*/
|
|
4373
3818
|
declare function tableRenderSchema(facts: TableKindFacts): TableRenderSchema;
|
|
4374
3819
|
|
|
4375
|
-
export { type PipelineGatePreview as $, type ArchiveLane as A, type EntityFieldRights as B, type ChoiceNudge as C, type EntityRecordRead as D, type EntityTableFacts as E, type FieldDrift as F, type EntityBackLinks as G, type EntityRowWritten as H, type EntityRecordsFound as I, type PipelineColumn as J, type PipelineVerdict as K, type PipelineMoveResult as L, type MigrationUndone as M, type NewEntityFieldDeclaration as N, type PipelineMoveManyItem as O, type Pipeline as P, type PipelineMoveMany as Q, type RelationCoordinate as R, type SourceArchived as S, type TableArchiveProgress as T, type PipelineSpec as U, type PipelineDeclared as V, type StageRuleOnFail as W, type StageRuleEnforcement as X, type StagePending as Y, type StagePendingOnBoard as Z, type PipelineGate as _, type TableRestoreProgress as a, type ChecklistRunStep as a$, type FormLookOptions as a0, type ImportPlan as a1, type ImportPolicy as a2, type ImportOpened as a3, type ImportColumnsDeclared as a4, type ImportBatchResult as a5, type ImportFinished as a6, type ImportReport as a7, type ImportRun as a8, type InboundDeclared as a9, type EnrichCell as aA, type EnrichRun as aB, type DrillSource as aC, type DrillDefinition as aD, type DrillQuestion as aE, type DrillAnswer as aF, type DrillRowsPage as aG, type DocToken as aH, type DocUnresolvedToken as aI, type DocTemplateRow as aJ, type DocRenderRow as aK, type DocSignatureRow as aL, type RecordHistoryEntry as aM, type RecordScopeContext as aN, type ConversationScope as aO, type ConversationScopeContext as aP, type FieldHistoryEntry as aQ, type RestorePreview as aR, type RestoreResult as aS, type CommentThreadRead as aT, type CommentWritten as aU, type AnonTokenBinding as aV, type ChecklistSpec as aW, type ChecklistDeclared as aX, type ChecklistTemplateSummary as aY, type ChecklistTemplateShape as aZ, type ChecklistRunStarted as a_, type InboundAddress as aa, type PortalSummary as ab, type PortalArchiveFilter as ac, type PortalArchiveAnswer as ad, type FormArchiveAnswer as ae, type ArchivedForm as af, type ArchivedChecklistTemplate as ag, type TableRowDefaults as ah, type TableRowDefaultsPatch as ai, type RowDefaultsApplied as aj, type RecordRowControls as ak, type PortalTableRef as al, type PortalCard as am, type PortalConfigInput as an, type PortalFormSpec as ao, type PortalFormAnswer as ap, type PortalInvitation as aq, type PortalRevocation as ar, type PortalPreviewRow as as, type CaptureSheetSummary as at, type CaptureSheetFace as au, type CaptureFileRef as av, type CaptureOutcome as aw, type EnrichmentSummary as ax, type EnrichDeclared as ay, type EnrichDueRow as az, type TableDuplicateProgress as b, type AutomationStep as b$, type ChecklistRunSummary as b0, type ChecklistStepCompleted as b1, type WorkState as b2, type WorkGraph as b3, type WorkInstantiation as b4, type WorkTurn as b5, type WorkAssignmentField as b6, type WorkSlotHold as b7, type WorkInboxView as b8, type WorkInboxItem as b9, type AutomationList as bA, type AutomationFlipped as bB, type AutomationRuns as bC, type RecordEvent as bD, type TableWebhookDeclared as bE, type TableWebhook as bF, type IoExportPage as bG, type TableListEntry as bH, type DataHomeTable as bI, type TableSyncSpec as bJ, type TableSyncResult as bK, type TableRowCount as bL, type RecordHeader as bM, type OutsideShareAnswer as bN, type ViewOrderSet as bO, type EntityRefWithWords as bP, ARCHIVE_LANES as bQ, ARCHIVE_LANE_LABEL as bR, ARCHIVE_LANE_MEANS as bS, type ActionRefusal as bT, type ArchivedDoorRow as bU, type AutomationAction as bV, type AutomationFilter as bW, type AutomationItem as bX, type AutomationLastRun as bY, type AutomationRun as bZ, type AutomationRunStatus as b_, type InboxStateChange as ba, type InboxCounts as bb, type WorkListFlavour as bc, type WorkListItem as bd, type WorkAssignment as be, type WorkRecordState as bf, type WorkApprover as bg, type WorkChange as bh, type WorkApprovalFiled as bi, type WorkApprovalDecision as bj, type WorkDecideManyItem as bk, type WorkDecideMany as bl, type ExternalPrincipalCard as bm, type PublishBinding as bn, type ResolvedPublishBinding as bo, type ResolvedPublishBindingKind as bp, type MyLevel as bq, type DecorationPath as br, type TableDecorations as bs, type GridLayout as bt, type FormulaParse as bu, type FormulaPreview as bv, type RowAction as bw, type ActionRunResult as bx, type AutomationSpec as by, type AutomationDeclared as bz, type TableDuplicated as c, PORTAL_ACCENTS as c$, type AutomationTrigger as c0, type AutomationValue as c1, type AutomationValues as c2, BUILT_KIND_WORD as c3, CHOICE_NUDGES as c4, type CaptureField as c5, type CaptureQuestion as c6, type ChecklistRequirement as c7, type ChecklistRequirementKind as c8, type ChecklistRoleSpec as c9, type DrillLevel as cA, type DrillMeasure as cB, type DrillMeasureOp as cC, type DrillMeasureWhereValue as cD, type DrillPath as cE, type DrillRecords as cF, type DrillView as cG, type EnrichAlternate as cH, type EnrichSource as cI, type Enrichment as cJ, type EntityBackLinkItem as cK, type EntityFieldValue as cL, type EntityRecordMatch as cM, type EntityRef as cN, type EntityReferenceKind as cO, type FieldDriftAspect as cP, type GridLayoutMode as cQ, type GridRowHeight as cR, type HistoryActor as cS, type HistoryActorKind as cT, type HistoryChange as cU, type Home as cV, type ImportColumnPlan as cW, type ImportOutcome as cX, type ImportProposal as cY, PERMISSION_LEVELS as cZ, PIPELINE_RULE_KINDS as c_, type ChecklistStepSpec as ca, type ChecklistTrigger as cb, type ChecklistTriggerKind as cc, type ChoiceLike as cd, type ChoiceOption as ce, type CustomFieldTableType as cf, DEFAULT_ARCHIVE_LANE as cg, DEFAULT_PORTAL_ARCHIVE_FILTER as ch, DRILL_CHART_TOKENS as ci, DRILL_DESCRIPTION_MAX as cj, DRILL_DOORS as ck, DRILL_SCHEMA as cl, type DecorationColor as cm, type DecorationRule as cn, type DecorationRuleOp as co, type DecorationTarget as cp, type DocSignatureCheck as cq, type DrillAdHocOp as cr, type DrillAnswerRow as cs, type DrillChartToken as ct, type DrillDeclaration as cu, type DrillDimension as cv, type DrillFinding as cw, type DrillGrain as cx, type DrillHaving as cy, type DrillLane as cz, type TableCopyInProgress as d, type WorkOrigin as d$, PORTAL_ARCHIVE_FILTERS as d0, type PermissionLevel as d1, type PipelineMissingField as d2, type PipelineMoveManyResult as d3, type PipelineMoveVerdict as d4, type PipelineRule as d5, type PipelineRuleKind as d6, type PipelineStage as d7, type PortalAccent as d8, type PortalConfig as d9, type RetypeBehaviour as dA, type RetypePreview as dB, type ReverseLink as dC, type RowActionStep as dD, SHOWN_TO_LABEL as dE, SHOWN_TO_VALUES as dF, SHOWN_TO_WHO_MAY_CHANGE as dG, STAGE_RULE_ENFORCEMENT as dH, STAGE_RULE_ON_FAIL as dI, type ShownTo as dJ, type StageRuleWarning as dK, TABLE_KIND_PREFIX as dL, type TableHomeDestination as dM, type TableLevel as dN, type TableLevelApproval as dO, type TablePlacement as dP, type TablePlacementFact as dQ, type TableRenderSchema as dR, type TableSchemaMode as dS, type TableSyncSource as dT, type TypedChoiceDecision as dU, type ViewLayout as dV, type WorkApprovalState as dW, type WorkDecideManyResult as dX, type WorkDecideVerdict as dY, type WorkDueState as dZ, type WorkInboxKind as d_, type PortalFooterLink as da, type PortalFormInput as db, type PortalFormRef as dc, type PortalPrincipal as dd, type PortalStage as de, type PortalStyle as df, type PortalStyleInput as dg, type PortalTableExposure as dh, type PublicPicture as di, type PublishBindingKind as dj, REVERSE_LINKS_PAGE_MAX as dk, REVERSE_LINKS_RECORDS_PER_CALL as dl, ROW_WEB_NOT_READY as dm, type RecordChangeAction as dn, type RecordComment as dp, type RecordScopeComment as dq, type RecordScopeField as dr, type RecordScopeHistoryEntry as ds, type RecordScopeRelation as dt, type RecordScopeWithheld as du, type RegisteredTable as dv, type Relation as dw, type RelationCarries as dx, type RelationProperties as dy, type RelationTarget as dz, type ArchivedRow as e, ruleThatRefuses as e$, type WorkTemplateNode as e0, type WorkTemplateRelation as e1, actionRefusals as e2, archivedByLine as e3, archivedWhen as e4, asChoiceNudge as e5, asPermissionLevel as e6, atLeast as e7, choiceSlug as e8, choiceValuesOf as e9, keptTableHref as eA, levelHasShownTo as eB, looksLikeAnId as eC, mayDrag as eD, moveConsequence as eE, moveInOrder as eF, offeredAsContext as eG, optionKey as eH, optionLabel as eI, parseFieldDrift as eJ, parseTableCopiesInProgress as eK, parseTableDuplicateProgress as eL, parseTableDuplicated as eM, parseTableHome as eN, parseTableMoved as eO, portalArchiveConsequence as eP, portalConfirmLine as eQ, portalPath as eR, portalTitleTypedBack as eS, previewRetype as eT, previewRuleChange as eU, recordChangeTrigger as eV, recordSourceKey as eW, recordSourceTable as eX, recordsUseSentence as eY, rehomeSentence as eZ, removedChoicesInUse as e_, choicesOf as ea, decideTypedChoice as eb, declareDrillDefinition as ec, drillAnswerOf as ed, drillFindingKnob as ee, emptyArchiveLine as ef, emptyPortalArchiveLine as eg, entityReferenceKinds as eh, entityReferenceSearch as ei, entityReferenceWords as ej, entityRefsOf as ek, entityRefsToWrite as el, exportPageXlsx as em, fieldKindOf as en, highestLevel as eo, holdsARetiredChoice as ep, isArchiveLane as eq, isFoundation as er, isPortalAccent as es, isPortalArchiveFilter as et, isReverseField as eu, isShownTo as ev, isTableKind as ew, isTheChosen as ex, keptGroups as ey, keptOutOfSight as ez, type Table as f, rulesWithTopStar as f0, sameDocument as f1, scopeChip as f2, sheetSyncSpec as f3, sourceArchivedOf as f4, tableIdOf as f5, tableJsonSchema as f6, tableKindMapping as f7, tableKindSlug as f8, tableRenderSchema as f9, valueConverts as fa, withRowCounts as fb, withTablePlacement as fc, type TableHome as g, type TableMoved as h, type ChoiceUsage as i, type ChoiceRehome as j, type ChoiceCellBack as k, type ChoicesRehomed as l, type TableCapacity as m, type FieldRetyped as n, type RecordsMerged as o, type RelationWordsManyArgs as p, type RelationIcons as q, type ReverseColumn as r, type ReverseLinksManyArgs as s, type ReverseLinks as t, type ReverseLinksFieldsArgs as u, type TableKindFacts as v, type TableLevelFacts as w, type TableReaderRule as x, type TableLevelSet as y, type EntityFieldsAcross as z };
|
|
3820
|
+
export { type ImportRun as $, type ArchiveLane as A, type PipelineMoveResult as B, type ChoiceNudge as C, type PipelineMoveManyItem as D, type EntityTableFacts as E, type FieldDrift as F, type PipelineMoveMany as G, type PipelineSpec as H, type PipelineDeclared as I, type StageRuleEnforcement as J, type StagePending as K, type StagePendingOnBoard as L, type MigrationUndone as M, type NewEntityFieldDeclaration as N, type PipelineGate as O, type Pipeline as P, type PipelineGatePreview as Q, type RecordsMerged as R, type StageRuleOnFail as S, type TableArchiveProgress as T, type ImportPlan as U, type ImportPolicy as V, type ImportOpened as W, type ImportColumnsDeclared as X, type ImportBatchResult as Y, type ImportFinished as Z, type ImportReport as _, type TableRestoreProgress as a, type WorkApprovalDecision as a$, type InboundDeclared as a0, type InboundAddress as a1, type FormArchiveAnswer as a2, type ArchivedForm as a3, type ArchivedChecklistTemplate as a4, type TableRowDefaults as a5, type TableRowDefaultsPatch as a6, type RowDefaultsApplied as a7, type RecordRowControls as a8, type CaptureSheetSummary as a9, type CommentWritten as aA, type AnonTokenBinding as aB, type ChecklistSpec as aC, type ChecklistDeclared as aD, type ChecklistTemplateSummary as aE, type ChecklistTemplateShape as aF, type ChecklistRunStarted as aG, type ChecklistRunStep as aH, type ChecklistRunSummary as aI, type ChecklistStepCompleted as aJ, type WorkState as aK, type WorkGraph as aL, type WorkInstantiation as aM, type WorkTurn as aN, type WorkAssignmentField as aO, type WorkSlotHold as aP, type WorkInboxView as aQ, type WorkInboxItem as aR, type InboxStateChange as aS, type InboxCounts as aT, type WorkListFlavour as aU, type WorkListItem as aV, type WorkAssignment as aW, type WorkRecordState as aX, type WorkApprover as aY, type WorkChange as aZ, type WorkApprovalFiled as a_, type CaptureSheetFace as aa, type CaptureFileRef as ab, type CaptureOutcome as ac, type EnrichmentSummary as ad, type EnrichDeclared as ae, type EnrichDueRow as af, type EnrichCell as ag, type EnrichRun as ah, type DrillSource as ai, type DrillDefinition as aj, type DrillQuestion as ak, type DrillAnswer as al, type DrillRowsPage as am, type DocToken as an, type DocUnresolvedToken as ao, type DocTemplateRow as ap, type DocRenderRow as aq, type DocSignatureRow as ar, type RecordHistoryEntry as as, type RecordScopeContext as at, type ConversationScope as au, type ConversationScopeContext as av, type FieldHistoryEntry as aw, type RestorePreview as ax, type RestoreResult as ay, type CommentThreadRead as az, type TableDuplicateProgress as b, DRILL_SCHEMA as b$, type WorkDecideManyItem as b0, type WorkDecideMany as b1, type ExternalPrincipalCard as b2, type PublishBinding as b3, type ResolvedPublishBinding as b4, type ResolvedPublishBindingKind as b5, type MyLevel as b6, type DecorationPath as b7, type TableDecorations as b8, type GridLayout as b9, type AutomationAction as bA, type AutomationFilter as bB, type AutomationItem as bC, type AutomationLastRun as bD, type AutomationRun as bE, type AutomationRunStatus as bF, type AutomationStep as bG, type AutomationTrigger as bH, type AutomationValue as bI, type AutomationValues as bJ, BUILT_KIND_WORD as bK, CHOICE_NUDGES as bL, type CaptureField as bM, type CaptureQuestion as bN, type ChecklistRequirement as bO, type ChecklistRequirementKind as bP, type ChecklistRoleSpec as bQ, type ChecklistStepSpec as bR, type ChecklistTrigger as bS, type ChecklistTriggerKind as bT, type ChoiceLike as bU, type ChoiceOption as bV, type CustomFieldTableType as bW, DEFAULT_ARCHIVE_LANE as bX, DRILL_CHART_TOKENS as bY, DRILL_DESCRIPTION_MAX as bZ, DRILL_DOORS as b_, type FormulaParse as ba, type FormulaPreview as bb, type RowAction as bc, type ActionRunResult as bd, type AutomationSpec as be, type AutomationDeclared as bf, type AutomationList as bg, type AutomationFlipped as bh, type AutomationRuns as bi, type RecordEvent as bj, type TableWebhookDeclared as bk, type TableWebhook as bl, type IoExportPage as bm, type TableListEntry as bn, type DataHomeTable as bo, type TableSyncSpec as bp, type TableSyncResult as bq, type TableRowCount as br, type RecordHeader as bs, type OutsideShareAnswer as bt, type ViewOrderSet as bu, ARCHIVE_LANES as bv, ARCHIVE_LANE_LABEL as bw, ARCHIVE_LANE_MEANS as bx, type ActionRefusal as by, type ArchivedDoorRow as bz, type TableDuplicated as c, STAGE_RULE_ON_FAIL as c$, type DecorationColor as c0, type DecorationRule as c1, type DecorationRuleOp as c2, type DecorationTarget as c3, type DocSignatureCheck as c4, type DrillAdHocOp as c5, type DrillAnswerRow as c6, type DrillChartToken as c7, type DrillDeclaration as c8, type DrillDimension as c9, type ImportProposal as cA, PERMISSION_LEVELS as cB, PIPELINE_RULE_KINDS as cC, type PermissionLevel as cD, type PipelineMissingField as cE, type PipelineMoveManyResult as cF, type PipelineMoveVerdict as cG, type PipelineRule as cH, type PipelineRuleKind as cI, type PipelineStage as cJ, type PublishBindingKind as cK, ROW_WEB_NOT_READY as cL, type RecordChangeAction as cM, type RecordComment as cN, type RecordScopeComment as cO, type RecordScopeField as cP, type RecordScopeHistoryEntry as cQ, type RecordScopeRelation as cR, type RecordScopeWithheld as cS, type RegisteredTable as cT, type RetypeBehaviour as cU, type RetypePreview as cV, type RowActionStep as cW, SHOWN_TO_LABEL as cX, SHOWN_TO_VALUES as cY, SHOWN_TO_WHO_MAY_CHANGE as cZ, STAGE_RULE_ENFORCEMENT as c_, type DrillFinding as ca, type DrillGrain as cb, type DrillHaving as cc, type DrillLane as cd, type DrillLevel as ce, type DrillMeasure as cf, type DrillMeasureOp as cg, type DrillMeasureWhereValue as ch, type DrillPath as ci, type DrillRecords as cj, type DrillView as ck, type EnrichAlternate as cl, type EnrichSource as cm, type Enrichment as cn, type EntityBackLinkItem as co, type EntityFieldValue as cp, type EntityRecordMatch as cq, type FieldDriftAspect as cr, type GridLayoutMode as cs, type GridRowHeight as ct, type HistoryActor as cu, type HistoryActorKind as cv, type HistoryChange as cw, type Home as cx, type ImportColumnPlan as cy, type ImportOutcome as cz, type TableCopyInProgress as d, previewRuleChange as d$, type ShownTo as d0, type StageRuleWarning as d1, TABLE_KIND_PREFIX as d2, type TableHomeDestination as d3, type TableLevel as d4, type TableLevelApproval as d5, type TablePlacement as d6, type TablePlacementFact as d7, type TableRenderSchema as d8, type TableSchemaMode as d9, exportPageXlsx as dA, fieldKindOf as dB, highestLevel as dC, holdsARetiredChoice as dD, isArchiveLane as dE, isFoundation as dF, isShownTo as dG, isTableKind as dH, isTheChosen as dI, keptGroups as dJ, keptOutOfSight as dK, keptTableHref as dL, levelHasShownTo as dM, looksLikeAnId as dN, mayDrag as dO, moveConsequence as dP, moveInOrder as dQ, offeredAsContext as dR, optionKey as dS, optionLabel as dT, parseFieldDrift as dU, parseTableCopiesInProgress as dV, parseTableDuplicateProgress as dW, parseTableDuplicated as dX, parseTableHome as dY, parseTableMoved as dZ, previewRetype as d_, type TableSyncSource as da, type TypedChoiceDecision as db, type ViewLayout as dc, type WorkApprovalState as dd, type WorkDecideManyResult as de, type WorkDecideVerdict as df, type WorkDueState as dg, type WorkInboxKind as dh, type WorkOrigin as di, type WorkTemplateNode as dj, type WorkTemplateRelation as dk, actionRefusals as dl, archivedByLine as dm, archivedWhen as dn, asChoiceNudge as dp, asPermissionLevel as dq, atLeast as dr, choiceSlug as ds, choiceValuesOf as dt, choicesOf as du, decideTypedChoice as dv, declareDrillDefinition as dw, drillAnswerOf as dx, drillFindingKnob as dy, emptyArchiveLine as dz, type ArchivedRow as e, recordChangeTrigger as e0, recordSourceKey as e1, recordSourceTable as e2, recordsUseSentence as e3, rehomeSentence as e4, removedChoicesInUse as e5, ruleThatRefuses as e6, rulesWithTopStar as e7, sameDocument as e8, scopeChip as e9, sheetSyncSpec as ea, tableIdOf as eb, tableJsonSchema as ec, tableKindMapping as ed, tableKindSlug as ee, tableRenderSchema as ef, valueConverts as eg, withRowCounts as eh, withTablePlacement as ei, type Table as f, type TableHome as g, type TableMoved as h, type ChoiceUsage as i, type ChoiceRehome as j, type ChoiceCellBack as k, type ChoicesRehomed as l, type TableCapacity as m, type FieldRetyped as n, type TableKindFacts as o, type TableLevelFacts as p, type TableReaderRule as q, type TableLevelSet as r, type EntityFieldsAcross as s, type EntityFieldRights as t, type EntityRecordRead as u, type EntityBackLinks as v, type EntityRowWritten as w, type EntityRecordsFound as x, type PipelineColumn as y, type PipelineVerdict as z };
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { A as AgentSnapshotRow, T as TemplateSpec, a as TemplateTable, S as SharedBlockId, C as CapabilityWord, b as TemplateField, c as TemplateAgent, d as TemplateAutomation, e as TemplateBooking, f as TemplateChecklist, g as TemplateDashboard, h as TemplateDigest, i as TemplateDocument, j as TemplateDrillDown, k as TemplateDimensions, l as TemplateForm, m as TemplateNotification, n as TemplatePortal, o as TemplateRowAction, p as TemplateStageRules, q as TemplateView, r as TemplateMergeBinding, s as TemplateTryIt, t as TemplateWorkflow, u as TemplateFootprint, I as IndustryGroup, v as TemplateJob, w as TeachesFeature, x as TemplateViewKind, y as TemplateBookingWindow } from '../types-
|
|
2
|
-
export { z as CAPABILITY_WORDS, B as CATALOGUE_QUOTAS, D as CATALOGUE_STATUSES, E as CHOICE_COLORS, F as CHOICE_COLORS_DISTINCT_UP_TO, G as CatalogueRow, H as CatalogueStatus, J as ChoiceColor, K as ConfidentialLevel, L as ConfidentialRequest, M as DEFAULT_TEMPLATE_AGENT, N as ENTITY_REFERENCE_KINDS, O as INDUSTRY_GROUPS, R as RELATIVE_DATE, P as RetiredId, Q as SHARED_BLOCKS, U as SHARED_BLOCK_IDS, V as STRENGTHS, W as SharedBlock, X as SharedBlockField, Y as SharedBlockUse, Z as Strength, _ as TABLE_KERNEL_ID, $ as TEACHES_FEATURES, a0 as TEMPLATE_AUDIENCES, a1 as TEMPLATE_EXTRA_KINDS, a2 as TEMPLATE_JOBS, a3 as TEMPLATE_REFERENCE_DATE, a4 as TEMPLATE_SPEC_VERSION, a5 as TEMPLATE_VIEW_KINDS, a6 as TemplateAgentQuestion, a7 as TemplateAgentVariable, a8 as TemplateAudience, a9 as TemplateCalendarView, aa as TemplateChecklistStep, ab as TemplateConfidential, ac as TemplateConfidentialReader, ad as TemplateDashboardBlock, ae as TemplateDimensionOverride, af as TemplateDrillPath, ag as TemplateExtra, ah as TemplateExtraAgent, ai as TemplateExtraAgentVariable, aj as TemplateExtraKind, ak as TemplateFormField, al as TemplateFoundation, am as TemplateGalleryView, an as TemplateGridView, ao as TemplateGuideStep, ap as TemplateKanbanView, aq as TemplateMeasureOverride, ar as TemplatePortalTable, as as TemplateProvenance, at as TemplateSource, au as TemplateTableSettings, av as TemplateTimelineView, aw as TemplateViewSort, ax as UseCaseSingulars, ay as WalkAction, az as WalkAssertion, aA as WalkImport, aB as WalkMove, aC as WalkStep, aD as confidentialPending, aE as confidentialRequests, aF as footprintOf, aG as membersAddRowsSteps, aH as tableSettingsProblems, aI as whenRule } from '../types-
|
|
3
|
-
import { b as AggregateMeasure, a as AggregateFilter } from '../subscription-
|
|
4
|
-
import { U as UseCase, o as UseCaseRelationship } from '../types-
|
|
5
|
-
import { U as UseCaseProblem } from '../validate-
|
|
6
|
-
export { R as RESOLVABLE_FIELD_TYPE_WORDS } from '../validate-
|
|
7
|
-
import {
|
|
8
|
-
import '../record-
|
|
9
|
-
import '../
|
|
1
|
+
import { A as AgentSnapshotRow, T as TemplateSpec, a as TemplateTable, S as SharedBlockId, C as CapabilityWord, b as TemplateField, c as TemplateAgent, d as TemplateAutomation, e as TemplateBooking, f as TemplateChecklist, g as TemplateDashboard, h as TemplateDigest, i as TemplateDocument, j as TemplateDrillDown, k as TemplateDimensions, l as TemplateForm, m as TemplateNotification, n as TemplatePortal, o as TemplateRowAction, p as TemplateStageRules, q as TemplateView, r as TemplateMergeBinding, s as TemplateTryIt, t as TemplateWorkflow, u as TemplateFootprint, I as IndustryGroup, v as TemplateJob, w as TeachesFeature, x as TemplateViewKind, y as TemplateBookingWindow } from '../types-9Q5SHRDJ.cjs';
|
|
2
|
+
export { z as CAPABILITY_WORDS, B as CATALOGUE_QUOTAS, D as CATALOGUE_STATUSES, E as CHOICE_COLORS, F as CHOICE_COLORS_DISTINCT_UP_TO, G as CatalogueRow, H as CatalogueStatus, J as ChoiceColor, K as ConfidentialLevel, L as ConfidentialRequest, M as DEFAULT_TEMPLATE_AGENT, N as ENTITY_REFERENCE_KINDS, O as INDUSTRY_GROUPS, R as RELATIVE_DATE, P as RetiredId, Q as SHARED_BLOCKS, U as SHARED_BLOCK_IDS, V as STRENGTHS, W as SharedBlock, X as SharedBlockField, Y as SharedBlockUse, Z as Strength, _ as TABLE_KERNEL_ID, $ as TEACHES_FEATURES, a0 as TEMPLATE_AUDIENCES, a1 as TEMPLATE_EXTRA_KINDS, a2 as TEMPLATE_JOBS, a3 as TEMPLATE_REFERENCE_DATE, a4 as TEMPLATE_SPEC_VERSION, a5 as TEMPLATE_VIEW_KINDS, a6 as TemplateAgentQuestion, a7 as TemplateAgentVariable, a8 as TemplateAudience, a9 as TemplateCalendarView, aa as TemplateChecklistStep, ab as TemplateConfidential, ac as TemplateConfidentialReader, ad as TemplateDashboardBlock, ae as TemplateDimensionOverride, af as TemplateDrillPath, ag as TemplateExtra, ah as TemplateExtraAgent, ai as TemplateExtraAgentVariable, aj as TemplateExtraKind, ak as TemplateFormField, al as TemplateFoundation, am as TemplateGalleryView, an as TemplateGridView, ao as TemplateGuideStep, ap as TemplateKanbanView, aq as TemplateMeasureOverride, ar as TemplatePortalTable, as as TemplateProvenance, at as TemplateSource, au as TemplateTableSettings, av as TemplateTimelineView, aw as TemplateViewSort, ax as UseCaseSingulars, ay as WalkAction, az as WalkAssertion, aA as WalkImport, aB as WalkMove, aC as WalkStep, aD as confidentialPending, aE as confidentialRequests, aF as footprintOf, aG as membersAddRowsSteps, aH as tableSettingsProblems, aI as whenRule } from '../types-9Q5SHRDJ.cjs';
|
|
3
|
+
import { b as AggregateMeasure, a as AggregateFilter } from '../subscription-D-VEzvyy.cjs';
|
|
4
|
+
import { U as UseCase, o as UseCaseRelationship } from '../types-Cs2MyE3u.cjs';
|
|
5
|
+
import { U as UseCaseProblem } from '../validate-CqJakTKk.cjs';
|
|
6
|
+
export { R as RESOLVABLE_FIELD_TYPE_WORDS } from '../validate-CqJakTKk.cjs';
|
|
7
|
+
import { c as RecordsDataSource } from '../ports-DSU2RsR6.cjs';
|
|
8
|
+
import '../record-BQi92d4-.cjs';
|
|
9
|
+
import '../rule-BMViCLmW.cjs';
|
|
10
|
+
import '../field-BJBnTyJ0.cjs';
|
|
10
11
|
|
|
11
12
|
/** The UTC offset ("-04:00") of a local wall-clock moment in an IANA zone. */
|
|
12
13
|
declare function zoneOffset(localIso: string, timeZone: string): string;
|