@ai-matrx/records 0.51.0 → 0.52.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/core/index.cjs +86 -3
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.d.cts +54 -8
- package/dist/core/index.d.ts +54 -8
- package/dist/core/index.js +86 -3
- package/dist/core/index.js.map +1 -1
- package/dist/{field-C6_QKP1G.d.cts → field-xRstzLKK.d.cts} +23 -3
- package/dist/{field-C6_QKP1G.d.ts → field-xRstzLKK.d.ts} +23 -3
- package/dist/index.cjs +32 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +84 -3
- package/dist/index.d.ts +84 -3
- package/dist/index.js +32 -3
- package/dist/index.js.map +1 -1
- package/dist/react/index.cjs +86 -3
- package/dist/react/index.cjs.map +1 -1
- package/dist/react/index.d.cts +150 -7
- package/dist/react/index.d.ts +150 -7
- package/dist/react/index.js +86 -3
- package/dist/react/index.js.map +1 -1
- package/dist/use-cases/index.cjs.map +1 -1
- package/dist/use-cases/index.d.cts +1 -1
- package/dist/use-cases/index.d.ts +1 -1
- package/dist/use-cases/index.js.map +1 -1
- package/package.json +1 -1
package/dist/react/index.d.cts
CHANGED
|
@@ -1511,6 +1511,11 @@ declare const STORE_DOORS: readonly [{
|
|
|
1511
1511
|
readonly args: "p_organization_id uuid, p_table_id uuid, p_format text DEFAULT 'csv'::text, p_source_name text DEFAULT NULL::text, p_source_columns jsonb DEFAULT '[]'::jsonb, p_file_hash text DEFAULT NULL::text, p_policy jsonb DEFAULT '{}'::jsonb, p_dedupe_key text DEFAULT NULL::text, p_file_bytes bigint DEFAULT NULL::bigint, p_force boolean DEFAULT false";
|
|
1512
1512
|
readonly returns: "jsonb";
|
|
1513
1513
|
readonly security: "definer";
|
|
1514
|
+
}, {
|
|
1515
|
+
readonly name: "io_import_declare_columns";
|
|
1516
|
+
readonly args: "p_organization_id uuid, p_table_id uuid, p_rows jsonb, p_mapping jsonb DEFAULT '{}'::jsonb";
|
|
1517
|
+
readonly returns: "jsonb";
|
|
1518
|
+
readonly security: "definer";
|
|
1514
1519
|
}, {
|
|
1515
1520
|
readonly name: "io_import_finish";
|
|
1516
1521
|
readonly args: "p_organization_id uuid, p_import_id uuid, p_unmapped text DEFAULT NULL::text";
|
|
@@ -1676,6 +1681,11 @@ declare const STORE_DOORS: readonly [{
|
|
|
1676
1681
|
readonly args: "p_pretend text, p_only_organization uuid, p_sample integer, p_exhaustive boolean";
|
|
1677
1682
|
readonly returns: "TABLE(organization_id uuid, organization_name text, member_id uuid, table_id uuid, record_id uuid, door text, why text)";
|
|
1678
1683
|
readonly security: "invoker";
|
|
1684
|
+
}, {
|
|
1685
|
+
readonly name: "list_portals";
|
|
1686
|
+
readonly args: "p_organization_id uuid, p_archived text DEFAULT 'active'::text";
|
|
1687
|
+
readonly returns: "TABLE(portal_id uuid, title text, slug text, client_table_id uuid, client_table text, is_active boolean, tables integer, invited integer, signed_in integer, sign_in_method text, opened_at timestamp with time zone)";
|
|
1688
|
+
readonly security: "definer";
|
|
1679
1689
|
}, {
|
|
1680
1690
|
readonly name: "lookup_value";
|
|
1681
1691
|
readonly args: "p_organization_id uuid, p_record_id uuid, p_field_data jsonb";
|
|
@@ -1921,6 +1931,11 @@ declare const STORE_DOORS: readonly [{
|
|
|
1921
1931
|
readonly args: "p_organization_id uuid, p_user_id uuid DEFAULT NULL::uuid";
|
|
1922
1932
|
readonly returns: "boolean";
|
|
1923
1933
|
readonly security: "definer";
|
|
1934
|
+
}, {
|
|
1935
|
+
readonly name: "portal_archive";
|
|
1936
|
+
readonly args: "p_organization_id uuid, p_portal_id uuid, p_confirm_title text, p_reason text DEFAULT NULL::text";
|
|
1937
|
+
readonly returns: "jsonb";
|
|
1938
|
+
readonly security: "definer";
|
|
1924
1939
|
}, {
|
|
1925
1940
|
readonly name: "portal_card";
|
|
1926
1941
|
readonly args: "p_organization_id uuid, p_portal_id uuid";
|
|
@@ -1976,6 +1991,11 @@ declare const STORE_DOORS: readonly [{
|
|
|
1976
1991
|
readonly args: "p_organization_id uuid, p_record_id uuid";
|
|
1977
1992
|
readonly returns: "text";
|
|
1978
1993
|
readonly security: "definer";
|
|
1994
|
+
}, {
|
|
1995
|
+
readonly name: "portal_restore";
|
|
1996
|
+
readonly args: "p_organization_id uuid, p_portal_id uuid, p_confirm_title text";
|
|
1997
|
+
readonly returns: "jsonb";
|
|
1998
|
+
readonly security: "definer";
|
|
1979
1999
|
}, {
|
|
1980
2000
|
readonly name: "portal_revoke";
|
|
1981
2001
|
readonly args: "p_organization_id uuid, p_portal_id uuid, p_principal_id uuid";
|
|
@@ -3319,7 +3339,7 @@ declare const STORE_KNOBS: readonly [{
|
|
|
3319
3339
|
*/
|
|
3320
3340
|
declare const STORE_REFUSAL_CODES: readonly [{
|
|
3321
3341
|
readonly code: "02000";
|
|
3322
|
-
readonly raised_by: "_checklist_instantiate,_portal_invite_payload,_share_write_person,_table_share_invite_payload,checklist_declare,checklist_run,checklist_step_complete,checklist_step_refusal,checklist_template_shape,conversation_scope_bind,dashboard_delete,dashboard_run,doc_letterhead,doc_render_body,doc_render_document,doc_render_read,doc_sign,doc_signature_intact,doc_signature_read,doc_template_delete,doc_template_read,doc_template_save,enrich_pin,entity_field_retire,entity_field_update,entity_record_read,entity_value_write,external_history_event,external_rows,external_stub_upsert,external_writes_set,io_restore,migrate_delete,migrate_extract_parent,migrate_merge,migrate_reclass,migrate_rename,migrate_reparent,migrate_retype,migrate_split,migrate_undo,organization_clear,portal_card,portal_declare,portal_invite,portal_invite_accept,portal_preview,portal_principal_bind,portal_revoke,read_record,record_delete,record_restore,record_restore_preview,record_table,record_update,relation_uncarry,share_access,share_grant,share_lane_set,share_people,share_revoke,sign_request_cancel,sign_request_create,sign_request_remind,sign_request_unchanged,table_archive,table_share_outside_accept,table_share_outside_invite,table_share_outside_resend,table_share_outside_revoke,visibility_as_of,work_approval_decide,work_approval_read,work_approval_request,work_assign,work_record_states,work_set_state";
|
|
3342
|
+
readonly raised_by: "_checklist_instantiate,_portal_invite_payload,_share_write_person,_table_share_invite_payload,checklist_declare,checklist_run,checklist_step_complete,checklist_step_refusal,checklist_template_shape,conversation_scope_bind,dashboard_delete,dashboard_run,doc_letterhead,doc_render_body,doc_render_document,doc_render_read,doc_sign,doc_signature_intact,doc_signature_read,doc_template_delete,doc_template_read,doc_template_save,enrich_pin,entity_field_retire,entity_field_update,entity_record_read,entity_value_write,external_history_event,external_rows,external_stub_upsert,external_writes_set,io_restore,migrate_delete,migrate_extract_parent,migrate_merge,migrate_reclass,migrate_rename,migrate_reparent,migrate_retype,migrate_split,migrate_undo,organization_clear,portal_archive,portal_card,portal_declare,portal_invite,portal_invite_accept,portal_preview,portal_principal_bind,portal_restore,portal_revoke,read_record,record_delete,record_restore,record_restore_preview,record_table,record_update,relation_uncarry,share_access,share_grant,share_lane_set,share_people,share_revoke,sign_request_cancel,sign_request_create,sign_request_remind,sign_request_unchanged,table_archive,table_share_outside_accept,table_share_outside_invite,table_share_outside_resend,table_share_outside_revoke,visibility_as_of,work_approval_decide,work_approval_read,work_approval_request,work_assign,work_record_states,work_set_state";
|
|
3323
3343
|
}, {
|
|
3324
3344
|
readonly code: "0A000";
|
|
3325
3345
|
readonly raised_by: "checklist_step_complete,external_rows,external_source_declare,external_write_through,promote_field,promoted_index_expr,promoted_query_sql,promoted_read,rule_eval,work_assign";
|
|
@@ -3337,7 +3357,7 @@ declare const STORE_REFUSAL_CODES: readonly [{
|
|
|
3337
3357
|
readonly raised_by: "rule_eval";
|
|
3338
3358
|
}, {
|
|
3339
3359
|
readonly code: "22023";
|
|
3340
|
-
readonly raised_by: "_booking_availability,_entity_custom_fields_guard,_take_op_id,_value_envelope,_work_shape_guard,actor_word,agg_assert_key,agg_sql,anon_token_issue,booking_declare,containment_parent,dashboard_block_normalize,dashboard_window_sql,doc_render_body,doc_render_write,doc_signature_write,enrich_declare,enrich_land,enrich_normalize,enrich_pin,entity_value_write,external_history_event,external_source_declare,external_stub_upsert,external_write_through,field_history,field_update,io_export,io_import_begin,io_import_finish,io_import_plan,io_import_report,io_proposal_accept,migrate_merge,migrate_reclass,my_levels,organization_clear,page_size,pin_agent_cells,pipeline_move,portal_declare,provenance_write,query_by_coordinates,query_rollup,read_records_archived,record_update,record_write_many,relation_carry,rule_eval,rule_members,share_grant,share_lane_set,sign_request_create,sign_request_sign,subscription_declare,table_rules,visibility_as_of,work_approval_request,work_list,work_slot_hold";
|
|
3360
|
+
readonly raised_by: "_booking_availability,_entity_custom_fields_guard,_take_op_id,_value_envelope,_work_shape_guard,actor_word,agg_assert_key,agg_sql,anon_token_issue,booking_declare,containment_parent,dashboard_block_normalize,dashboard_window_sql,doc_render_body,doc_render_write,doc_signature_write,enrich_declare,enrich_land,enrich_normalize,enrich_pin,entity_value_write,external_history_event,external_source_declare,external_stub_upsert,external_write_through,field_history,field_update,io_export,io_import_begin,io_import_finish,io_import_plan,io_import_report,io_proposal_accept,list_portals,migrate_merge,migrate_reclass,my_levels,organization_clear,page_size,pin_agent_cells,pipeline_move,portal_declare,provenance_write,query_by_coordinates,query_rollup,read_records_archived,record_update,record_write_many,relation_carry,rule_eval,rule_members,share_grant,share_lane_set,sign_request_create,sign_request_sign,subscription_declare,table_rules,visibility_as_of,work_approval_request,work_list,work_slot_hold";
|
|
3341
3361
|
}, {
|
|
3342
3362
|
readonly code: "23503";
|
|
3343
3363
|
readonly raised_by: "_booking_availability,_checklist_instantiate,_containment_guard,_display_spec_for,_field_document_for,_field_type_parity_guard,_pipeline_stage_key,_record_rule_uses,agg_digest_assemble,anon_publish,anon_rate_take,anon_token_issue,anon_write,assert_organization_wall,booking_cancel,booking_confirm,booking_declare,booking_hold,booking_reschedule,capture_publish,checklist_declare,checklist_steps_table,comment_write,dashboard_declare,delete_rule,doc_sign,doc_template_save,enrich_declare,enrich_due,enrich_land,form_declare,form_submit,home_add,inbound_declare,inbound_mail_land,inbound_set,io_comment_write,io_import_begin,io_import_finish,io_import_report,io_import_rows,io_proposal_accept,migrate_demote,migrate_promote,pipeline_board,pipeline_declare,pipeline_move,pipeline_read,pipeline_transition_refusal,promote_field,promote_table,record_applicability,record_reparent,relation_carry,relation_own,resolve_first_match,rule_applies,rule_declare,rule_eval,rule_members,rule_run,sign_request_create,subscription_mute,subscription_preview,view_declare,work_set_state,work_take_assignment,work_template_instantiate";
|
|
@@ -3346,7 +3366,7 @@ declare const STORE_REFUSAL_CODES: readonly [{
|
|
|
3346
3366
|
readonly raised_by: "_share_write_person,_unique_rule_holds,doc_sign,doc_signature_write,entity_field_declare,field_declare,home_add,inbound_declare,io_proposal_accept,relation_carry,relation_own,sign_request_cancel,sign_request_create,table_share_outside_resend,work_approval_decide,work_slot_hold";
|
|
3347
3367
|
}, {
|
|
3348
3368
|
readonly code: "23514";
|
|
3349
|
-
readonly raised_by: "_checklist_instantiate,_checklist_step_guard,_containment_guard,_dated_values_guard,_derived_fields,_display_spec_for,_entity_custom_fields_guard,_field_class_guard,_field_document_for,_field_shape_guard,_field_type_parity_guard,_merge_field_shape_guard,_merge_field_temporal_guard,_promoted_field_cap_guard,_record_rule_uses,_resolve_choice_words,_rule_shape_guard,_rule_topology_guard,_store_relation_edge_names_its_field,_table_columns_word_guard,_table_shape_guard,_undeclared_key_guard,_value_envelope,_with_display,_work_shape_guard,_workdoors_approval_guard,assert_columns_are_defined,assert_entity_is_organization_scoped,booking_declare,capture_publish,capture_sheet_declare,checklist_declare,checklist_step_complete,doc_sign,doc_signature_write,doc_template_save,entity_field_declare,entity_field_retire,entity_field_update,entity_records_find,entity_table,field_declare,field_retire,field_update,home_add,io_comment_write,io_import_rows,migrate_merge,relation_carry,relation_own,sign_request_create,sign_request_sign,table_declare,validate_value_envelope,validate_values,work_set_state,work_slots_declare,work_take_assignment,work_template_instantiate";
|
|
3369
|
+
readonly raised_by: "_checklist_instantiate,_checklist_step_guard,_containment_guard,_dated_values_guard,_derived_fields,_display_spec_for,_entity_custom_fields_guard,_field_class_guard,_field_document_for,_field_shape_guard,_field_type_parity_guard,_merge_field_shape_guard,_merge_field_temporal_guard,_promoted_field_cap_guard,_record_rule_uses,_resolve_choice_words,_rule_shape_guard,_rule_topology_guard,_store_relation_edge_names_its_field,_table_columns_word_guard,_table_shape_guard,_undeclared_key_guard,_value_envelope,_with_display,_work_shape_guard,_workdoors_approval_guard,assert_columns_are_defined,assert_entity_is_organization_scoped,booking_declare,capture_publish,capture_sheet_declare,checklist_declare,checklist_step_complete,doc_sign,doc_signature_write,doc_template_save,entity_field_declare,entity_field_retire,entity_field_update,entity_records_find,entity_table,field_declare,field_retire,field_update,home_add,io_comment_write,io_import_rows,migrate_merge,portal_archive,portal_restore,relation_carry,relation_own,sign_request_create,sign_request_sign,table_declare,validate_value_envelope,validate_values,work_set_state,work_slots_declare,work_take_assignment,work_template_instantiate";
|
|
3350
3370
|
}, {
|
|
3351
3371
|
readonly code: "40001";
|
|
3352
3372
|
readonly raised_by: "has_visibility_at";
|
|
@@ -5162,6 +5182,14 @@ interface ImportOpened {
|
|
|
5162
5182
|
rows_duplicate: number;
|
|
5163
5183
|
source_name: string | null;
|
|
5164
5184
|
opened_at?: Timestamp;
|
|
5185
|
+
/**
|
|
5186
|
+
* IMPORT-2. How many rows to send in the FIRST call. The store owns this
|
|
5187
|
+
* number rather than a screen, because nothing has been measured yet when a
|
|
5188
|
+
* run opens and a batch size written into a wizard is wrong on a busy
|
|
5189
|
+
* afternoon and stale the day the write path gets cheaper. Every call after
|
|
5190
|
+
* the first uses `ImportBatchResult.rows_per_call`, which is measured.
|
|
5191
|
+
*/
|
|
5192
|
+
rows_per_call?: number;
|
|
5165
5193
|
message: string;
|
|
5166
5194
|
}
|
|
5167
5195
|
/** One row of the file, and what became of it. */
|
|
@@ -5206,6 +5234,36 @@ interface ImportBatchResult {
|
|
|
5206
5234
|
rows_refused: number;
|
|
5207
5235
|
outcomes: ImportOutcome[];
|
|
5208
5236
|
proposals: ImportProposal[];
|
|
5237
|
+
/**
|
|
5238
|
+
* IMPORT-2. The columns this call had to declare because the run never took
|
|
5239
|
+
* the `importDeclareColumns` step. Normally empty: declaring is its own step.
|
|
5240
|
+
*/
|
|
5241
|
+
columns_added?: ImportProposal[];
|
|
5242
|
+
/**
|
|
5243
|
+
* IMPORT-2. FALSE means the batch could not be written as one statement — one
|
|
5244
|
+
* row of it was refused by a guard that refuses the whole statement — so every
|
|
5245
|
+
* row was written on its own instead and the refusals below name the rows that
|
|
5246
|
+
* could not be. The answers are identical either way; this says what it cost.
|
|
5247
|
+
*/
|
|
5248
|
+
one_statement?: boolean;
|
|
5249
|
+
/** How long THIS call's writing phase took, and what that was a row. */
|
|
5250
|
+
write_ms?: number;
|
|
5251
|
+
ms_per_row?: number;
|
|
5252
|
+
/**
|
|
5253
|
+
* IMPORT-2. How many rows the NEXT call should carry, measured from this one:
|
|
5254
|
+
* the store aims at two seconds of writing, which leaves a database that gets
|
|
5255
|
+
* 50% busier between two calls still inside the three seconds a person should
|
|
5256
|
+
* wait. Send this many next. Ignoring it costs correctness nothing.
|
|
5257
|
+
*/
|
|
5258
|
+
rows_per_call?: number;
|
|
5259
|
+
}
|
|
5260
|
+
/** IMPORT-2. What `importDeclareColumns` made, as its own step of the wizard. */
|
|
5261
|
+
interface ImportColumnsDeclared {
|
|
5262
|
+
table_id: Uuid;
|
|
5263
|
+
columns_added: ImportProposal[];
|
|
5264
|
+
/** Header -> Field key, including the headers that already named a column. */
|
|
5265
|
+
mapping: Record<string, string>;
|
|
5266
|
+
message: string;
|
|
5209
5267
|
}
|
|
5210
5268
|
interface ImportFinished {
|
|
5211
5269
|
import_id: Uuid;
|
|
@@ -5430,6 +5488,49 @@ interface PortalPreviewRow {
|
|
|
5430
5488
|
* nothing more. That is why it is readable and why copying it is safe.
|
|
5431
5489
|
*/
|
|
5432
5490
|
declare function portalPath(slug: string): string;
|
|
5491
|
+
/**
|
|
5492
|
+
* The platform archive filter's own three values, and no fourth. `custom.list_portals`
|
|
5493
|
+
* refuses anything else with `22023` rather than quietly treating it as one of them.
|
|
5494
|
+
*/
|
|
5495
|
+
declare const PORTAL_ARCHIVE_FILTERS: readonly ["active", "archived", "all"];
|
|
5496
|
+
type PortalArchiveFilter = (typeof PORTAL_ARCHIVE_FILTERS)[number];
|
|
5497
|
+
/** THE LAW'S DEFAULT IS TO HIDE. A list nobody narrowed is the live things. */
|
|
5498
|
+
declare const DEFAULT_PORTAL_ARCHIVE_FILTER: PortalArchiveFilter;
|
|
5499
|
+
declare function isPortalArchiveFilter(word: unknown): word is PortalArchiveFilter;
|
|
5500
|
+
/** What `custom.portal_archive` and `custom.portal_restore` answer with. */
|
|
5501
|
+
interface PortalArchiveAnswer {
|
|
5502
|
+
/** Where the portal stands NOW — true after an archive, false after a restore. */
|
|
5503
|
+
archived: boolean;
|
|
5504
|
+
/** False when it was already in that state; the sentence says so rather than lying about an act. */
|
|
5505
|
+
changed: boolean;
|
|
5506
|
+
portal_id: Uuid;
|
|
5507
|
+
archived_at?: Timestamp | null;
|
|
5508
|
+
/** The store's own sentence, in plain English. Show it verbatim; never a constraint name. */
|
|
5509
|
+
sentence: string;
|
|
5510
|
+
}
|
|
5511
|
+
/**
|
|
5512
|
+
* THE CONSEQUENCE, SAID BEFORE THE CLICK — never a generic "are you sure?".
|
|
5513
|
+
*
|
|
5514
|
+
* What actually changes is two things: nobody can sign in to it any more, and it
|
|
5515
|
+
* leaves the organization's portal list. What does NOT change is everything
|
|
5516
|
+
* else, and saying so is the difference between an archive somebody dares to
|
|
5517
|
+
* press and one they avoid.
|
|
5518
|
+
*/
|
|
5519
|
+
declare function portalArchiveConsequence(title: string, signedIn: number, invited: number): string;
|
|
5520
|
+
/**
|
|
5521
|
+
* WHY THE TITLE HAS TO BE TYPED BACK, in the store's own reasoning. Ten portals
|
|
5522
|
+
* can carry one title, so the title is not what PICKS this one — the portal you
|
|
5523
|
+
* opened is. Typing it back is how you say you meant this one.
|
|
5524
|
+
*/
|
|
5525
|
+
declare function portalConfirmLine(title: string): string;
|
|
5526
|
+
/** True when what the person typed is what the door will accept. The door decides; this only spares them a round trip. */
|
|
5527
|
+
declare function portalTitleTypedBack(typed: string, title: string): boolean;
|
|
5528
|
+
/**
|
|
5529
|
+
* WHAT AN EMPTY ARCHIVE LANE SAYS. An empty list is an answer: it says nothing
|
|
5530
|
+
* has been archived, so "none here" can never be read as "the archive is broken"
|
|
5531
|
+
* or as "this organization has no portals at all".
|
|
5532
|
+
*/
|
|
5533
|
+
declare function emptyPortalArchiveLine(): string;
|
|
5433
5534
|
|
|
5434
5535
|
/** The measures the store offers. Asked of `custom.agg_operations()` at run time too. */
|
|
5435
5536
|
type AggregateOperation = "count" | "sum" | "avg" | "min" | "max";
|
|
@@ -7711,9 +7812,24 @@ interface RecordsClient {
|
|
|
7711
7812
|
force?: boolean;
|
|
7712
7813
|
}): Promise<RecordsResult<ImportOpened>>;
|
|
7713
7814
|
/**
|
|
7714
|
-
*
|
|
7715
|
-
* its own
|
|
7716
|
-
*
|
|
7815
|
+
* IMPORT-2. ADD THE COLUMNS THIS FILE HAS AND THIS TABLE HAS NOT — a step of
|
|
7816
|
+
* its own, BEFORE the run is opened, so the screen can show "8 columns added"
|
|
7817
|
+
* and the person can then name one of them as the file's duplicate key
|
|
7818
|
+
* (`importBegin` refuses a key naming a column that does not exist yet).
|
|
7819
|
+
* Answers the mapping the file should be sent with. Admin on the Table.
|
|
7820
|
+
*/
|
|
7821
|
+
importDeclareColumns(args: {
|
|
7822
|
+
table_id: Uuid;
|
|
7823
|
+
rows: Array<Record<string, unknown>>;
|
|
7824
|
+
/** Header -> Field key the person already mapped by hand; never declared. */
|
|
7825
|
+
mapping?: Record<string, string>;
|
|
7826
|
+
}): Promise<RecordsResult<ImportColumnsDeclared>>;
|
|
7827
|
+
/**
|
|
7828
|
+
* One BATCH of rows. The batch is PLANNED and then written as ONE statement
|
|
7829
|
+
* through the batched write door, so 250 round trips became one; a batch a
|
|
7830
|
+
* guard refuses falls back to one write a row, and the answer says which it
|
|
7831
|
+
* was. Send `ImportOpened.rows_per_call` the first time and
|
|
7832
|
+
* `ImportBatchResult.rows_per_call` — measured — every time after that.
|
|
7717
7833
|
*/
|
|
7718
7834
|
importRows(args: {
|
|
7719
7835
|
import_id: Uuid;
|
|
@@ -7773,6 +7889,33 @@ interface RecordsClient {
|
|
|
7773
7889
|
}>>;
|
|
7774
7890
|
/** Every portal over this organization the caller may know about, with its numbers. */
|
|
7775
7891
|
portals(): Promise<RecordsResult<PortalSummary[]>>;
|
|
7892
|
+
/**
|
|
7893
|
+
* The SAME list, archive-aware. `custom.portals` keeps its signature and hides
|
|
7894
|
+
* archived portals, because the archived-items law's default is to hide;
|
|
7895
|
+
* this is the one door that also answers the other lane, so a rail gets the
|
|
7896
|
+
* law's one-click reveal without inventing a second control or a second door.
|
|
7897
|
+
* A fourth word is refused `22023` — there is no fourth answer on any surface.
|
|
7898
|
+
*/
|
|
7899
|
+
listPortals(args?: {
|
|
7900
|
+
archived?: PortalArchiveFilter;
|
|
7901
|
+
}): Promise<RecordsResult<PortalSummary[]>>;
|
|
7902
|
+
/**
|
|
7903
|
+
* PUT ONE PORTAL AWAY. Nothing is deleted and there is no purge: every Table
|
|
7904
|
+
* it exposes and every person invited to it is kept exactly as it is, and
|
|
7905
|
+
* `portalRestore` hands it all back. `confirm_title` is the portal's own title
|
|
7906
|
+
* typed back — ten portals can carry one title, so the title is not what picks
|
|
7907
|
+
* this one and the door refuses `23514` when it does not match.
|
|
7908
|
+
*/
|
|
7909
|
+
portalArchive(args: {
|
|
7910
|
+
portal_id: Uuid;
|
|
7911
|
+
confirm_title: string;
|
|
7912
|
+
reason?: string | null;
|
|
7913
|
+
}): Promise<RecordsResult<PortalArchiveAnswer>>;
|
|
7914
|
+
/** The way back. Everyone invited signs in exactly as before, and it shows the same Tables. */
|
|
7915
|
+
portalRestore(args: {
|
|
7916
|
+
portal_id: Uuid;
|
|
7917
|
+
confirm_title: string;
|
|
7918
|
+
}): Promise<RecordsResult<PortalArchiveAnswer>>;
|
|
7776
7919
|
/**
|
|
7777
7920
|
* Which Tables each portal of this organization exposes.
|
|
7778
7921
|
*
|
|
@@ -8873,4 +9016,4 @@ declare function useFieldMutation(): UseFieldMutation;
|
|
|
8873
9016
|
*/
|
|
8874
9017
|
declare function useMergeField(key: string | null, state?: Record<string, unknown>): MergeFieldResolution | null;
|
|
8875
9018
|
|
|
8876
|
-
export { ABSENCE_REASONS, ACTOR_VOCABULARY, ARCHIVE_LANES, ARCHIVE_LANE_LABEL, ARCHIVE_LANE_MEANS, type AbsenceReason, type Actor, type AggregateBucket, type AggregateFilter, type AggregateMeasure, type AggregateOperation, type AggregateRow, type AggregateWindow, type AnonTokenBinding, type ArchiveLane, type ArchivedDoorRow, type ArchivedRow, type BookingAvailability, type BookingDeclared, type BookingSummary, type BookingWindow, COMPUTE_ON, CONTEXT_POLICIES, type CaptureField, type CaptureFileRef, type CaptureOutcome, type CaptureQuestion, type CaptureQueue, type CaptureQueueCounts, type CaptureQueueOptions, type CaptureQueuePorts, type CaptureQueueStore, type CaptureSheetFace, type CaptureSheetSummary, type CaptureSyncReport, type ChecklistDeclared, type ChecklistRequirement, type ChecklistRequirementKind, type ChecklistRoleSpec, type ChecklistRunStarted, type ChecklistRunStep, type ChecklistRunSummary, type ChecklistSpec, type ChecklistStepCompleted, type ChecklistStepSpec, type ChecklistTemplateShape, type ChecklistTemplateSummary, type ChecklistTrigger, type ChecklistTriggerKind, type ChoiceOption, type ChoiceOptions, type CoerceOptions, type Coerced, type CoercedAnswers, type CoercibleField, type CommentThreadRead, type CommentWritten, type ComputeOn, type ContextPolicy, type ConversationScope, type ConversationScopeContext, type CustomFieldTableType, DECLARABLE_FIELD_KINDS, DEFAULT_ARCHIVE_LANE, DELIVERIES, type DashboardBlock, type DashboardBlockKind, type DashboardBlockResult, type DashboardRunResult, type DashboardSummary, type DeclarableFieldKind, type Delivery, type DigestPreview, type DocRenderRow, type DocSignatureCheck, type DocSignatureRow, type DocTemplateRow, type DocToken, type DocUnresolvedToken, ENTITY_TOKENS, type EnrichAlternate, type EnrichCell, type EnrichDeclared, type EnrichDueRow, type EnrichRun, type EnrichSource, type Enrichment, type EnrichmentSummary, type EntityFieldRights, type EntityFieldValue, type EntityRecordMatch, type EntityRecordRead, type EntityRecordsFound, type EntityTableFacts, type EntityToken, type ExternalPrincipalCard, FIELD_KINDS, FIELD_SENSITIVITIES, FIELD_SOURCES, FRESHNESS, type Field, type FieldBehavior, type FieldHistoryEntry, type FieldKind, type FieldPatch, type FieldProposal, type FieldRule, type FieldSensitivity, type FieldSource, type FieldTypeWord, type ForbiddenEnvelopeWord, type FormSummary, type Freshness, type HiddenFieldNotice, type HistoryActor, type HistoryActorKind, type HistoryChange, type Home, type ImportBatchResult, type ImportColumnPlan, type ImportFinished, type ImportOpened, type ImportOutcome, type ImportPlan, type ImportPolicy, type ImportProposal, type ImportReport, type ImportRun, type InboundAddress, type InboundDeclared, KERNEL_TABLES, type KernelTableName, type KernelTargets, MERGE_FIELD_MODIFIERS, MERGE_FIELD_SEMANTIC_TYPES, MERGE_FIELD_SOURCES, type MergeField, type MergeFieldModifier, type MergeFieldProvenance, type MergeFieldResolution, type MergeFieldSemanticType, type MergeFieldSource, type MergeFieldTransform, type MissingBehavior, type MyLevel, type MySubscription, type NewEntityFieldDeclaration, type NewFieldDeclaration, ON_DELETE, OVERRIDE_POLICIES, type OnDelete, type OverridePolicy, PARITY_FIELD_TYPES, PERMISSION_LEVELS, PER_VALUE_ACCESS_WORDS, PIPELINE_RULE_KINDS, type ParityFieldType, type ParityFieldTypeDescriptor, type PerValueAccessWord, type PermissionLevel, type PgError, type Pipeline, type PipelineColumn, type PipelineDeclared, type PipelineGate, type PipelineGatePreview, type PipelineMissingField, type PipelineMoveResult, type PipelineRule, type PipelineRuleKind, type PipelineSpec, type PipelineStage, type PipelineVerdict, type PortalCard, type PortalInvitation, type PortalPreviewRow, type PortalPrincipal, type PortalRevocation, type PortalSummary, type PortalTableExposure, type PortalTableRef, type PredictedRefusal, type ProvenancePointer, type PublishBinding, type QueuedCapture, type QueuedCaptureFile, type QueuedCaptureState, type QuietHours, REFUSALS_WORTH_REPEATING, RELATION_BINDINGS, RELATION_CARDINALITIES, RELATION_FLAVORS, RETIRED_ACTOR_WORDS, RULE_NODE_KINDS, RULE_USES, type ReadRow, type ReadValue, type RecordComment, type RecordDocument, type RecordFilter, type RecordHistoryEntry, type RecordRead, type RecordRevision, type RecordScopeComment, type RecordScopeContext, type RecordScopeField, type RecordScopeHistoryEntry, type RecordScopeRelation, type RecordScopeWithheld, type RecordsActor, type RecordsChangeSink, type RecordsConfig, type RecordsDataSource, type RecordsError, type RecordsErrorCode, type RecordsErrorSink, type RecordsFilter, RecordsProvider, type RecordsProviderProps, type RecordsRealtimePort, type RecordsResolverPort, type RecordsResponse, type RecordsResult, type RecordsTableQuery, type RegisteredTable, type Relation, type RelationBinding, type RelationCardinality, type RelationCarries, type RelationCoordinate, type RelationDisplay, type RelationFlavor, type RelationProperties, type RelationTarget, type ResolutionTriple, type ResolvedPublishBinding, type RestorePreview, type RestoreResult, type RetiredActorWord, type Rule, type RuleAnswer, type RuleExpression, type RuleNodeKind, type RuleUse, STAGE_RULE_ENFORCEMENT, STAGE_RULE_ON_FAIL, STORAGE_MODES, STORE_DOORS, STORE_KNOBS, STORE_REFUSAL_CODES, type SavedViewRow, type SavedViewSpecIn, type StagePending, type StagePendingOnBoard, type StageRuleEnforcement, type StageRuleOnFail, type StageRuleWarning, type StaleWriteDetail, type StorageMode, type StoreDoorName, type StoreRefusalCode, type StoredRecord, type StuckRow, type Subscription, type SubscriptionBlock, type SubscriptionCadence, type SubscriptionSpec, TABLE_DISPLAYS, TABLE_ORIGINS, TABLE_TYPES, type Table, type TableCapacity, type TableDisplay, type TableOrigin, type TableProposal, type TableType, type Timestamp, type UseEntityFieldMutation, type UseFieldMutation, type UseRecordMutation, type UseRecordsOptions, type UseRecordsState, type Uuid, VALUE_ALTERNATE_KEYS, VALUE_ENVELOPE_KEYS, type ValueAlternate, type ValueAlternateKey, type ValueEnvelope, type ValueEnvelopeKey, type ValueSource, type WorkApprovalDecision, type WorkApprovalFiled, type WorkApprover, type WorkAssignment, type WorkAssignmentField, type WorkChange, type WorkDueState, type WorkGraph, type WorkInboxItem, type WorkInboxKind, type WorkInstantiation, type WorkListFlavour, type WorkListItem, type WorkOrigin, type WorkRecordState, type WorkSlotHold, type WorkState, type WorkTemplateNode, type WorkTemplateRelation, type WorkTurn, type WriteConflict, archivedByLine, archivedWhen, asPermissionLevel, atLeast, bookingPath, choiceSlug, choiceValuesOf, choicesOf, coerceTypedAnswer, coerceTypedAnswers, coercionLabel, emptyArchiveLine, err, fieldKindFor, forgetAllOps, highestLevel, holdsARetiredChoice, indexedDbStore, isArchiveLane, isDecided, isOwnOp, isRecordsErr, isTheChosen, looksLikeAnId, mayDrag, measureKey, memoryStore, mintClientKey, mintOpId, ok, openCaptureQueue, optionKey, optionLabel, portalPath, publicFormPath, rememberedOpCount, sameDocument, scopeChip, stableFilterKey, tableShapeChanged, useEntityFieldMutation, useEntityFieldRights, useEntityFields, useEntityRecord, useEntityTable, useFieldMutation, useFields, useMergeField, useMyLevel, useMyLevels, useOptionalRecordsClient, useRecord, useRecordMutation, useRecords, useRecordsActor, useRecordsClient, useTable, useTables };
|
|
9019
|
+
export { ABSENCE_REASONS, ACTOR_VOCABULARY, ARCHIVE_LANES, ARCHIVE_LANE_LABEL, ARCHIVE_LANE_MEANS, type AbsenceReason, type Actor, type AggregateBucket, type AggregateFilter, type AggregateMeasure, type AggregateOperation, type AggregateRow, type AggregateWindow, type AnonTokenBinding, type ArchiveLane, type ArchivedDoorRow, type ArchivedRow, type BookingAvailability, type BookingDeclared, type BookingSummary, type BookingWindow, COMPUTE_ON, CONTEXT_POLICIES, type CaptureField, type CaptureFileRef, type CaptureOutcome, type CaptureQuestion, type CaptureQueue, type CaptureQueueCounts, type CaptureQueueOptions, type CaptureQueuePorts, type CaptureQueueStore, type CaptureSheetFace, type CaptureSheetSummary, type CaptureSyncReport, type ChecklistDeclared, type ChecklistRequirement, type ChecklistRequirementKind, type ChecklistRoleSpec, type ChecklistRunStarted, type ChecklistRunStep, type ChecklistRunSummary, type ChecklistSpec, type ChecklistStepCompleted, type ChecklistStepSpec, type ChecklistTemplateShape, type ChecklistTemplateSummary, type ChecklistTrigger, type ChecklistTriggerKind, type ChoiceOption, type ChoiceOptions, type CoerceOptions, type Coerced, type CoercedAnswers, type CoercibleField, type CommentThreadRead, type CommentWritten, type ComputeOn, type ContextPolicy, type ConversationScope, type ConversationScopeContext, type CustomFieldTableType, DECLARABLE_FIELD_KINDS, DEFAULT_ARCHIVE_LANE, DEFAULT_PORTAL_ARCHIVE_FILTER, DELIVERIES, type DashboardBlock, type DashboardBlockKind, type DashboardBlockResult, type DashboardRunResult, type DashboardSummary, type DeclarableFieldKind, type Delivery, type DigestPreview, type DocRenderRow, type DocSignatureCheck, type DocSignatureRow, type DocTemplateRow, type DocToken, type DocUnresolvedToken, ENTITY_TOKENS, type EnrichAlternate, type EnrichCell, type EnrichDeclared, type EnrichDueRow, type EnrichRun, type EnrichSource, type Enrichment, type EnrichmentSummary, type EntityFieldRights, type EntityFieldValue, type EntityRecordMatch, type EntityRecordRead, type EntityRecordsFound, type EntityTableFacts, type EntityToken, type ExternalPrincipalCard, FIELD_KINDS, FIELD_SENSITIVITIES, FIELD_SOURCES, FRESHNESS, type Field, type FieldBehavior, type FieldHistoryEntry, type FieldKind, type FieldPatch, type FieldProposal, type FieldRule, type FieldSensitivity, type FieldSource, type FieldTypeWord, type ForbiddenEnvelopeWord, type FormSummary, type Freshness, type HiddenFieldNotice, type HistoryActor, type HistoryActorKind, type HistoryChange, type Home, type ImportBatchResult, type ImportColumnPlan, type ImportColumnsDeclared, type ImportFinished, type ImportOpened, type ImportOutcome, type ImportPlan, type ImportPolicy, type ImportProposal, type ImportReport, type ImportRun, type InboundAddress, type InboundDeclared, KERNEL_TABLES, type KernelTableName, type KernelTargets, MERGE_FIELD_MODIFIERS, MERGE_FIELD_SEMANTIC_TYPES, MERGE_FIELD_SOURCES, type MergeField, type MergeFieldModifier, type MergeFieldProvenance, type MergeFieldResolution, type MergeFieldSemanticType, type MergeFieldSource, type MergeFieldTransform, type MissingBehavior, type MyLevel, type MySubscription, type NewEntityFieldDeclaration, type NewFieldDeclaration, ON_DELETE, OVERRIDE_POLICIES, type OnDelete, type OverridePolicy, PARITY_FIELD_TYPES, PERMISSION_LEVELS, PER_VALUE_ACCESS_WORDS, PIPELINE_RULE_KINDS, PORTAL_ARCHIVE_FILTERS, type ParityFieldType, type ParityFieldTypeDescriptor, type PerValueAccessWord, type PermissionLevel, type PgError, type Pipeline, type PipelineColumn, type PipelineDeclared, type PipelineGate, type PipelineGatePreview, type PipelineMissingField, type PipelineMoveResult, type PipelineRule, type PipelineRuleKind, type PipelineSpec, type PipelineStage, type PipelineVerdict, type PortalArchiveAnswer, type PortalArchiveFilter, type PortalCard, type PortalInvitation, type PortalPreviewRow, type PortalPrincipal, type PortalRevocation, type PortalSummary, type PortalTableExposure, type PortalTableRef, type PredictedRefusal, type ProvenancePointer, type PublishBinding, type QueuedCapture, type QueuedCaptureFile, type QueuedCaptureState, type QuietHours, REFUSALS_WORTH_REPEATING, RELATION_BINDINGS, RELATION_CARDINALITIES, RELATION_FLAVORS, RETIRED_ACTOR_WORDS, RULE_NODE_KINDS, RULE_USES, type ReadRow, type ReadValue, type RecordComment, type RecordDocument, type RecordFilter, type RecordHistoryEntry, type RecordRead, type RecordRevision, type RecordScopeComment, type RecordScopeContext, type RecordScopeField, type RecordScopeHistoryEntry, type RecordScopeRelation, type RecordScopeWithheld, type RecordsActor, type RecordsChangeSink, type RecordsConfig, type RecordsDataSource, type RecordsError, type RecordsErrorCode, type RecordsErrorSink, type RecordsFilter, RecordsProvider, type RecordsProviderProps, type RecordsRealtimePort, type RecordsResolverPort, type RecordsResponse, type RecordsResult, type RecordsTableQuery, type RegisteredTable, type Relation, type RelationBinding, type RelationCardinality, type RelationCarries, type RelationCoordinate, type RelationDisplay, type RelationFlavor, type RelationProperties, type RelationTarget, type ResolutionTriple, type ResolvedPublishBinding, type RestorePreview, type RestoreResult, type RetiredActorWord, type Rule, type RuleAnswer, type RuleExpression, type RuleNodeKind, type RuleUse, STAGE_RULE_ENFORCEMENT, STAGE_RULE_ON_FAIL, STORAGE_MODES, STORE_DOORS, STORE_KNOBS, STORE_REFUSAL_CODES, type SavedViewRow, type SavedViewSpecIn, type StagePending, type StagePendingOnBoard, type StageRuleEnforcement, type StageRuleOnFail, type StageRuleWarning, type StaleWriteDetail, type StorageMode, type StoreDoorName, type StoreRefusalCode, type StoredRecord, type StuckRow, type Subscription, type SubscriptionBlock, type SubscriptionCadence, type SubscriptionSpec, TABLE_DISPLAYS, TABLE_ORIGINS, TABLE_TYPES, type Table, type TableCapacity, type TableDisplay, type TableOrigin, type TableProposal, type TableType, type Timestamp, type UseEntityFieldMutation, type UseFieldMutation, type UseRecordMutation, type UseRecordsOptions, type UseRecordsState, type Uuid, VALUE_ALTERNATE_KEYS, VALUE_ENVELOPE_KEYS, type ValueAlternate, type ValueAlternateKey, type ValueEnvelope, type ValueEnvelopeKey, type ValueSource, type WorkApprovalDecision, type WorkApprovalFiled, type WorkApprover, type WorkAssignment, type WorkAssignmentField, type WorkChange, type WorkDueState, type WorkGraph, type WorkInboxItem, type WorkInboxKind, type WorkInstantiation, type WorkListFlavour, type WorkListItem, type WorkOrigin, type WorkRecordState, type WorkSlotHold, type WorkState, type WorkTemplateNode, type WorkTemplateRelation, type WorkTurn, type WriteConflict, archivedByLine, archivedWhen, asPermissionLevel, atLeast, bookingPath, choiceSlug, choiceValuesOf, choicesOf, coerceTypedAnswer, coerceTypedAnswers, coercionLabel, emptyArchiveLine, emptyPortalArchiveLine, err, fieldKindFor, forgetAllOps, highestLevel, holdsARetiredChoice, indexedDbStore, isArchiveLane, isDecided, isOwnOp, isPortalArchiveFilter, isRecordsErr, isTheChosen, looksLikeAnId, mayDrag, measureKey, memoryStore, mintClientKey, mintOpId, ok, openCaptureQueue, optionKey, optionLabel, portalArchiveConsequence, portalConfirmLine, portalPath, portalTitleTypedBack, publicFormPath, rememberedOpCount, sameDocument, scopeChip, stableFilterKey, tableShapeChanged, useEntityFieldMutation, useEntityFieldRights, useEntityFields, useEntityRecord, useEntityTable, useFieldMutation, useFields, useMergeField, useMyLevel, useMyLevels, useOptionalRecordsClient, useRecord, useRecordMutation, useRecords, useRecordsActor, useRecordsClient, useTable, useTables };
|
package/dist/react/index.d.ts
CHANGED
|
@@ -1511,6 +1511,11 @@ declare const STORE_DOORS: readonly [{
|
|
|
1511
1511
|
readonly args: "p_organization_id uuid, p_table_id uuid, p_format text DEFAULT 'csv'::text, p_source_name text DEFAULT NULL::text, p_source_columns jsonb DEFAULT '[]'::jsonb, p_file_hash text DEFAULT NULL::text, p_policy jsonb DEFAULT '{}'::jsonb, p_dedupe_key text DEFAULT NULL::text, p_file_bytes bigint DEFAULT NULL::bigint, p_force boolean DEFAULT false";
|
|
1512
1512
|
readonly returns: "jsonb";
|
|
1513
1513
|
readonly security: "definer";
|
|
1514
|
+
}, {
|
|
1515
|
+
readonly name: "io_import_declare_columns";
|
|
1516
|
+
readonly args: "p_organization_id uuid, p_table_id uuid, p_rows jsonb, p_mapping jsonb DEFAULT '{}'::jsonb";
|
|
1517
|
+
readonly returns: "jsonb";
|
|
1518
|
+
readonly security: "definer";
|
|
1514
1519
|
}, {
|
|
1515
1520
|
readonly name: "io_import_finish";
|
|
1516
1521
|
readonly args: "p_organization_id uuid, p_import_id uuid, p_unmapped text DEFAULT NULL::text";
|
|
@@ -1676,6 +1681,11 @@ declare const STORE_DOORS: readonly [{
|
|
|
1676
1681
|
readonly args: "p_pretend text, p_only_organization uuid, p_sample integer, p_exhaustive boolean";
|
|
1677
1682
|
readonly returns: "TABLE(organization_id uuid, organization_name text, member_id uuid, table_id uuid, record_id uuid, door text, why text)";
|
|
1678
1683
|
readonly security: "invoker";
|
|
1684
|
+
}, {
|
|
1685
|
+
readonly name: "list_portals";
|
|
1686
|
+
readonly args: "p_organization_id uuid, p_archived text DEFAULT 'active'::text";
|
|
1687
|
+
readonly returns: "TABLE(portal_id uuid, title text, slug text, client_table_id uuid, client_table text, is_active boolean, tables integer, invited integer, signed_in integer, sign_in_method text, opened_at timestamp with time zone)";
|
|
1688
|
+
readonly security: "definer";
|
|
1679
1689
|
}, {
|
|
1680
1690
|
readonly name: "lookup_value";
|
|
1681
1691
|
readonly args: "p_organization_id uuid, p_record_id uuid, p_field_data jsonb";
|
|
@@ -1921,6 +1931,11 @@ declare const STORE_DOORS: readonly [{
|
|
|
1921
1931
|
readonly args: "p_organization_id uuid, p_user_id uuid DEFAULT NULL::uuid";
|
|
1922
1932
|
readonly returns: "boolean";
|
|
1923
1933
|
readonly security: "definer";
|
|
1934
|
+
}, {
|
|
1935
|
+
readonly name: "portal_archive";
|
|
1936
|
+
readonly args: "p_organization_id uuid, p_portal_id uuid, p_confirm_title text, p_reason text DEFAULT NULL::text";
|
|
1937
|
+
readonly returns: "jsonb";
|
|
1938
|
+
readonly security: "definer";
|
|
1924
1939
|
}, {
|
|
1925
1940
|
readonly name: "portal_card";
|
|
1926
1941
|
readonly args: "p_organization_id uuid, p_portal_id uuid";
|
|
@@ -1976,6 +1991,11 @@ declare const STORE_DOORS: readonly [{
|
|
|
1976
1991
|
readonly args: "p_organization_id uuid, p_record_id uuid";
|
|
1977
1992
|
readonly returns: "text";
|
|
1978
1993
|
readonly security: "definer";
|
|
1994
|
+
}, {
|
|
1995
|
+
readonly name: "portal_restore";
|
|
1996
|
+
readonly args: "p_organization_id uuid, p_portal_id uuid, p_confirm_title text";
|
|
1997
|
+
readonly returns: "jsonb";
|
|
1998
|
+
readonly security: "definer";
|
|
1979
1999
|
}, {
|
|
1980
2000
|
readonly name: "portal_revoke";
|
|
1981
2001
|
readonly args: "p_organization_id uuid, p_portal_id uuid, p_principal_id uuid";
|
|
@@ -3319,7 +3339,7 @@ declare const STORE_KNOBS: readonly [{
|
|
|
3319
3339
|
*/
|
|
3320
3340
|
declare const STORE_REFUSAL_CODES: readonly [{
|
|
3321
3341
|
readonly code: "02000";
|
|
3322
|
-
readonly raised_by: "_checklist_instantiate,_portal_invite_payload,_share_write_person,_table_share_invite_payload,checklist_declare,checklist_run,checklist_step_complete,checklist_step_refusal,checklist_template_shape,conversation_scope_bind,dashboard_delete,dashboard_run,doc_letterhead,doc_render_body,doc_render_document,doc_render_read,doc_sign,doc_signature_intact,doc_signature_read,doc_template_delete,doc_template_read,doc_template_save,enrich_pin,entity_field_retire,entity_field_update,entity_record_read,entity_value_write,external_history_event,external_rows,external_stub_upsert,external_writes_set,io_restore,migrate_delete,migrate_extract_parent,migrate_merge,migrate_reclass,migrate_rename,migrate_reparent,migrate_retype,migrate_split,migrate_undo,organization_clear,portal_card,portal_declare,portal_invite,portal_invite_accept,portal_preview,portal_principal_bind,portal_revoke,read_record,record_delete,record_restore,record_restore_preview,record_table,record_update,relation_uncarry,share_access,share_grant,share_lane_set,share_people,share_revoke,sign_request_cancel,sign_request_create,sign_request_remind,sign_request_unchanged,table_archive,table_share_outside_accept,table_share_outside_invite,table_share_outside_resend,table_share_outside_revoke,visibility_as_of,work_approval_decide,work_approval_read,work_approval_request,work_assign,work_record_states,work_set_state";
|
|
3342
|
+
readonly raised_by: "_checklist_instantiate,_portal_invite_payload,_share_write_person,_table_share_invite_payload,checklist_declare,checklist_run,checklist_step_complete,checklist_step_refusal,checklist_template_shape,conversation_scope_bind,dashboard_delete,dashboard_run,doc_letterhead,doc_render_body,doc_render_document,doc_render_read,doc_sign,doc_signature_intact,doc_signature_read,doc_template_delete,doc_template_read,doc_template_save,enrich_pin,entity_field_retire,entity_field_update,entity_record_read,entity_value_write,external_history_event,external_rows,external_stub_upsert,external_writes_set,io_restore,migrate_delete,migrate_extract_parent,migrate_merge,migrate_reclass,migrate_rename,migrate_reparent,migrate_retype,migrate_split,migrate_undo,organization_clear,portal_archive,portal_card,portal_declare,portal_invite,portal_invite_accept,portal_preview,portal_principal_bind,portal_restore,portal_revoke,read_record,record_delete,record_restore,record_restore_preview,record_table,record_update,relation_uncarry,share_access,share_grant,share_lane_set,share_people,share_revoke,sign_request_cancel,sign_request_create,sign_request_remind,sign_request_unchanged,table_archive,table_share_outside_accept,table_share_outside_invite,table_share_outside_resend,table_share_outside_revoke,visibility_as_of,work_approval_decide,work_approval_read,work_approval_request,work_assign,work_record_states,work_set_state";
|
|
3323
3343
|
}, {
|
|
3324
3344
|
readonly code: "0A000";
|
|
3325
3345
|
readonly raised_by: "checklist_step_complete,external_rows,external_source_declare,external_write_through,promote_field,promoted_index_expr,promoted_query_sql,promoted_read,rule_eval,work_assign";
|
|
@@ -3337,7 +3357,7 @@ declare const STORE_REFUSAL_CODES: readonly [{
|
|
|
3337
3357
|
readonly raised_by: "rule_eval";
|
|
3338
3358
|
}, {
|
|
3339
3359
|
readonly code: "22023";
|
|
3340
|
-
readonly raised_by: "_booking_availability,_entity_custom_fields_guard,_take_op_id,_value_envelope,_work_shape_guard,actor_word,agg_assert_key,agg_sql,anon_token_issue,booking_declare,containment_parent,dashboard_block_normalize,dashboard_window_sql,doc_render_body,doc_render_write,doc_signature_write,enrich_declare,enrich_land,enrich_normalize,enrich_pin,entity_value_write,external_history_event,external_source_declare,external_stub_upsert,external_write_through,field_history,field_update,io_export,io_import_begin,io_import_finish,io_import_plan,io_import_report,io_proposal_accept,migrate_merge,migrate_reclass,my_levels,organization_clear,page_size,pin_agent_cells,pipeline_move,portal_declare,provenance_write,query_by_coordinates,query_rollup,read_records_archived,record_update,record_write_many,relation_carry,rule_eval,rule_members,share_grant,share_lane_set,sign_request_create,sign_request_sign,subscription_declare,table_rules,visibility_as_of,work_approval_request,work_list,work_slot_hold";
|
|
3360
|
+
readonly raised_by: "_booking_availability,_entity_custom_fields_guard,_take_op_id,_value_envelope,_work_shape_guard,actor_word,agg_assert_key,agg_sql,anon_token_issue,booking_declare,containment_parent,dashboard_block_normalize,dashboard_window_sql,doc_render_body,doc_render_write,doc_signature_write,enrich_declare,enrich_land,enrich_normalize,enrich_pin,entity_value_write,external_history_event,external_source_declare,external_stub_upsert,external_write_through,field_history,field_update,io_export,io_import_begin,io_import_finish,io_import_plan,io_import_report,io_proposal_accept,list_portals,migrate_merge,migrate_reclass,my_levels,organization_clear,page_size,pin_agent_cells,pipeline_move,portal_declare,provenance_write,query_by_coordinates,query_rollup,read_records_archived,record_update,record_write_many,relation_carry,rule_eval,rule_members,share_grant,share_lane_set,sign_request_create,sign_request_sign,subscription_declare,table_rules,visibility_as_of,work_approval_request,work_list,work_slot_hold";
|
|
3341
3361
|
}, {
|
|
3342
3362
|
readonly code: "23503";
|
|
3343
3363
|
readonly raised_by: "_booking_availability,_checklist_instantiate,_containment_guard,_display_spec_for,_field_document_for,_field_type_parity_guard,_pipeline_stage_key,_record_rule_uses,agg_digest_assemble,anon_publish,anon_rate_take,anon_token_issue,anon_write,assert_organization_wall,booking_cancel,booking_confirm,booking_declare,booking_hold,booking_reschedule,capture_publish,checklist_declare,checklist_steps_table,comment_write,dashboard_declare,delete_rule,doc_sign,doc_template_save,enrich_declare,enrich_due,enrich_land,form_declare,form_submit,home_add,inbound_declare,inbound_mail_land,inbound_set,io_comment_write,io_import_begin,io_import_finish,io_import_report,io_import_rows,io_proposal_accept,migrate_demote,migrate_promote,pipeline_board,pipeline_declare,pipeline_move,pipeline_read,pipeline_transition_refusal,promote_field,promote_table,record_applicability,record_reparent,relation_carry,relation_own,resolve_first_match,rule_applies,rule_declare,rule_eval,rule_members,rule_run,sign_request_create,subscription_mute,subscription_preview,view_declare,work_set_state,work_take_assignment,work_template_instantiate";
|
|
@@ -3346,7 +3366,7 @@ declare const STORE_REFUSAL_CODES: readonly [{
|
|
|
3346
3366
|
readonly raised_by: "_share_write_person,_unique_rule_holds,doc_sign,doc_signature_write,entity_field_declare,field_declare,home_add,inbound_declare,io_proposal_accept,relation_carry,relation_own,sign_request_cancel,sign_request_create,table_share_outside_resend,work_approval_decide,work_slot_hold";
|
|
3347
3367
|
}, {
|
|
3348
3368
|
readonly code: "23514";
|
|
3349
|
-
readonly raised_by: "_checklist_instantiate,_checklist_step_guard,_containment_guard,_dated_values_guard,_derived_fields,_display_spec_for,_entity_custom_fields_guard,_field_class_guard,_field_document_for,_field_shape_guard,_field_type_parity_guard,_merge_field_shape_guard,_merge_field_temporal_guard,_promoted_field_cap_guard,_record_rule_uses,_resolve_choice_words,_rule_shape_guard,_rule_topology_guard,_store_relation_edge_names_its_field,_table_columns_word_guard,_table_shape_guard,_undeclared_key_guard,_value_envelope,_with_display,_work_shape_guard,_workdoors_approval_guard,assert_columns_are_defined,assert_entity_is_organization_scoped,booking_declare,capture_publish,capture_sheet_declare,checklist_declare,checklist_step_complete,doc_sign,doc_signature_write,doc_template_save,entity_field_declare,entity_field_retire,entity_field_update,entity_records_find,entity_table,field_declare,field_retire,field_update,home_add,io_comment_write,io_import_rows,migrate_merge,relation_carry,relation_own,sign_request_create,sign_request_sign,table_declare,validate_value_envelope,validate_values,work_set_state,work_slots_declare,work_take_assignment,work_template_instantiate";
|
|
3369
|
+
readonly raised_by: "_checklist_instantiate,_checklist_step_guard,_containment_guard,_dated_values_guard,_derived_fields,_display_spec_for,_entity_custom_fields_guard,_field_class_guard,_field_document_for,_field_shape_guard,_field_type_parity_guard,_merge_field_shape_guard,_merge_field_temporal_guard,_promoted_field_cap_guard,_record_rule_uses,_resolve_choice_words,_rule_shape_guard,_rule_topology_guard,_store_relation_edge_names_its_field,_table_columns_word_guard,_table_shape_guard,_undeclared_key_guard,_value_envelope,_with_display,_work_shape_guard,_workdoors_approval_guard,assert_columns_are_defined,assert_entity_is_organization_scoped,booking_declare,capture_publish,capture_sheet_declare,checklist_declare,checklist_step_complete,doc_sign,doc_signature_write,doc_template_save,entity_field_declare,entity_field_retire,entity_field_update,entity_records_find,entity_table,field_declare,field_retire,field_update,home_add,io_comment_write,io_import_rows,migrate_merge,portal_archive,portal_restore,relation_carry,relation_own,sign_request_create,sign_request_sign,table_declare,validate_value_envelope,validate_values,work_set_state,work_slots_declare,work_take_assignment,work_template_instantiate";
|
|
3350
3370
|
}, {
|
|
3351
3371
|
readonly code: "40001";
|
|
3352
3372
|
readonly raised_by: "has_visibility_at";
|
|
@@ -5162,6 +5182,14 @@ interface ImportOpened {
|
|
|
5162
5182
|
rows_duplicate: number;
|
|
5163
5183
|
source_name: string | null;
|
|
5164
5184
|
opened_at?: Timestamp;
|
|
5185
|
+
/**
|
|
5186
|
+
* IMPORT-2. How many rows to send in the FIRST call. The store owns this
|
|
5187
|
+
* number rather than a screen, because nothing has been measured yet when a
|
|
5188
|
+
* run opens and a batch size written into a wizard is wrong on a busy
|
|
5189
|
+
* afternoon and stale the day the write path gets cheaper. Every call after
|
|
5190
|
+
* the first uses `ImportBatchResult.rows_per_call`, which is measured.
|
|
5191
|
+
*/
|
|
5192
|
+
rows_per_call?: number;
|
|
5165
5193
|
message: string;
|
|
5166
5194
|
}
|
|
5167
5195
|
/** One row of the file, and what became of it. */
|
|
@@ -5206,6 +5234,36 @@ interface ImportBatchResult {
|
|
|
5206
5234
|
rows_refused: number;
|
|
5207
5235
|
outcomes: ImportOutcome[];
|
|
5208
5236
|
proposals: ImportProposal[];
|
|
5237
|
+
/**
|
|
5238
|
+
* IMPORT-2. The columns this call had to declare because the run never took
|
|
5239
|
+
* the `importDeclareColumns` step. Normally empty: declaring is its own step.
|
|
5240
|
+
*/
|
|
5241
|
+
columns_added?: ImportProposal[];
|
|
5242
|
+
/**
|
|
5243
|
+
* IMPORT-2. FALSE means the batch could not be written as one statement — one
|
|
5244
|
+
* row of it was refused by a guard that refuses the whole statement — so every
|
|
5245
|
+
* row was written on its own instead and the refusals below name the rows that
|
|
5246
|
+
* could not be. The answers are identical either way; this says what it cost.
|
|
5247
|
+
*/
|
|
5248
|
+
one_statement?: boolean;
|
|
5249
|
+
/** How long THIS call's writing phase took, and what that was a row. */
|
|
5250
|
+
write_ms?: number;
|
|
5251
|
+
ms_per_row?: number;
|
|
5252
|
+
/**
|
|
5253
|
+
* IMPORT-2. How many rows the NEXT call should carry, measured from this one:
|
|
5254
|
+
* the store aims at two seconds of writing, which leaves a database that gets
|
|
5255
|
+
* 50% busier between two calls still inside the three seconds a person should
|
|
5256
|
+
* wait. Send this many next. Ignoring it costs correctness nothing.
|
|
5257
|
+
*/
|
|
5258
|
+
rows_per_call?: number;
|
|
5259
|
+
}
|
|
5260
|
+
/** IMPORT-2. What `importDeclareColumns` made, as its own step of the wizard. */
|
|
5261
|
+
interface ImportColumnsDeclared {
|
|
5262
|
+
table_id: Uuid;
|
|
5263
|
+
columns_added: ImportProposal[];
|
|
5264
|
+
/** Header -> Field key, including the headers that already named a column. */
|
|
5265
|
+
mapping: Record<string, string>;
|
|
5266
|
+
message: string;
|
|
5209
5267
|
}
|
|
5210
5268
|
interface ImportFinished {
|
|
5211
5269
|
import_id: Uuid;
|
|
@@ -5430,6 +5488,49 @@ interface PortalPreviewRow {
|
|
|
5430
5488
|
* nothing more. That is why it is readable and why copying it is safe.
|
|
5431
5489
|
*/
|
|
5432
5490
|
declare function portalPath(slug: string): string;
|
|
5491
|
+
/**
|
|
5492
|
+
* The platform archive filter's own three values, and no fourth. `custom.list_portals`
|
|
5493
|
+
* refuses anything else with `22023` rather than quietly treating it as one of them.
|
|
5494
|
+
*/
|
|
5495
|
+
declare const PORTAL_ARCHIVE_FILTERS: readonly ["active", "archived", "all"];
|
|
5496
|
+
type PortalArchiveFilter = (typeof PORTAL_ARCHIVE_FILTERS)[number];
|
|
5497
|
+
/** THE LAW'S DEFAULT IS TO HIDE. A list nobody narrowed is the live things. */
|
|
5498
|
+
declare const DEFAULT_PORTAL_ARCHIVE_FILTER: PortalArchiveFilter;
|
|
5499
|
+
declare function isPortalArchiveFilter(word: unknown): word is PortalArchiveFilter;
|
|
5500
|
+
/** What `custom.portal_archive` and `custom.portal_restore` answer with. */
|
|
5501
|
+
interface PortalArchiveAnswer {
|
|
5502
|
+
/** Where the portal stands NOW — true after an archive, false after a restore. */
|
|
5503
|
+
archived: boolean;
|
|
5504
|
+
/** False when it was already in that state; the sentence says so rather than lying about an act. */
|
|
5505
|
+
changed: boolean;
|
|
5506
|
+
portal_id: Uuid;
|
|
5507
|
+
archived_at?: Timestamp | null;
|
|
5508
|
+
/** The store's own sentence, in plain English. Show it verbatim; never a constraint name. */
|
|
5509
|
+
sentence: string;
|
|
5510
|
+
}
|
|
5511
|
+
/**
|
|
5512
|
+
* THE CONSEQUENCE, SAID BEFORE THE CLICK — never a generic "are you sure?".
|
|
5513
|
+
*
|
|
5514
|
+
* What actually changes is two things: nobody can sign in to it any more, and it
|
|
5515
|
+
* leaves the organization's portal list. What does NOT change is everything
|
|
5516
|
+
* else, and saying so is the difference between an archive somebody dares to
|
|
5517
|
+
* press and one they avoid.
|
|
5518
|
+
*/
|
|
5519
|
+
declare function portalArchiveConsequence(title: string, signedIn: number, invited: number): string;
|
|
5520
|
+
/**
|
|
5521
|
+
* WHY THE TITLE HAS TO BE TYPED BACK, in the store's own reasoning. Ten portals
|
|
5522
|
+
* can carry one title, so the title is not what PICKS this one — the portal you
|
|
5523
|
+
* opened is. Typing it back is how you say you meant this one.
|
|
5524
|
+
*/
|
|
5525
|
+
declare function portalConfirmLine(title: string): string;
|
|
5526
|
+
/** True when what the person typed is what the door will accept. The door decides; this only spares them a round trip. */
|
|
5527
|
+
declare function portalTitleTypedBack(typed: string, title: string): boolean;
|
|
5528
|
+
/**
|
|
5529
|
+
* WHAT AN EMPTY ARCHIVE LANE SAYS. An empty list is an answer: it says nothing
|
|
5530
|
+
* has been archived, so "none here" can never be read as "the archive is broken"
|
|
5531
|
+
* or as "this organization has no portals at all".
|
|
5532
|
+
*/
|
|
5533
|
+
declare function emptyPortalArchiveLine(): string;
|
|
5433
5534
|
|
|
5434
5535
|
/** The measures the store offers. Asked of `custom.agg_operations()` at run time too. */
|
|
5435
5536
|
type AggregateOperation = "count" | "sum" | "avg" | "min" | "max";
|
|
@@ -7711,9 +7812,24 @@ interface RecordsClient {
|
|
|
7711
7812
|
force?: boolean;
|
|
7712
7813
|
}): Promise<RecordsResult<ImportOpened>>;
|
|
7713
7814
|
/**
|
|
7714
|
-
*
|
|
7715
|
-
* its own
|
|
7716
|
-
*
|
|
7815
|
+
* IMPORT-2. ADD THE COLUMNS THIS FILE HAS AND THIS TABLE HAS NOT — a step of
|
|
7816
|
+
* its own, BEFORE the run is opened, so the screen can show "8 columns added"
|
|
7817
|
+
* and the person can then name one of them as the file's duplicate key
|
|
7818
|
+
* (`importBegin` refuses a key naming a column that does not exist yet).
|
|
7819
|
+
* Answers the mapping the file should be sent with. Admin on the Table.
|
|
7820
|
+
*/
|
|
7821
|
+
importDeclareColumns(args: {
|
|
7822
|
+
table_id: Uuid;
|
|
7823
|
+
rows: Array<Record<string, unknown>>;
|
|
7824
|
+
/** Header -> Field key the person already mapped by hand; never declared. */
|
|
7825
|
+
mapping?: Record<string, string>;
|
|
7826
|
+
}): Promise<RecordsResult<ImportColumnsDeclared>>;
|
|
7827
|
+
/**
|
|
7828
|
+
* One BATCH of rows. The batch is PLANNED and then written as ONE statement
|
|
7829
|
+
* through the batched write door, so 250 round trips became one; a batch a
|
|
7830
|
+
* guard refuses falls back to one write a row, and the answer says which it
|
|
7831
|
+
* was. Send `ImportOpened.rows_per_call` the first time and
|
|
7832
|
+
* `ImportBatchResult.rows_per_call` — measured — every time after that.
|
|
7717
7833
|
*/
|
|
7718
7834
|
importRows(args: {
|
|
7719
7835
|
import_id: Uuid;
|
|
@@ -7773,6 +7889,33 @@ interface RecordsClient {
|
|
|
7773
7889
|
}>>;
|
|
7774
7890
|
/** Every portal over this organization the caller may know about, with its numbers. */
|
|
7775
7891
|
portals(): Promise<RecordsResult<PortalSummary[]>>;
|
|
7892
|
+
/**
|
|
7893
|
+
* The SAME list, archive-aware. `custom.portals` keeps its signature and hides
|
|
7894
|
+
* archived portals, because the archived-items law's default is to hide;
|
|
7895
|
+
* this is the one door that also answers the other lane, so a rail gets the
|
|
7896
|
+
* law's one-click reveal without inventing a second control or a second door.
|
|
7897
|
+
* A fourth word is refused `22023` — there is no fourth answer on any surface.
|
|
7898
|
+
*/
|
|
7899
|
+
listPortals(args?: {
|
|
7900
|
+
archived?: PortalArchiveFilter;
|
|
7901
|
+
}): Promise<RecordsResult<PortalSummary[]>>;
|
|
7902
|
+
/**
|
|
7903
|
+
* PUT ONE PORTAL AWAY. Nothing is deleted and there is no purge: every Table
|
|
7904
|
+
* it exposes and every person invited to it is kept exactly as it is, and
|
|
7905
|
+
* `portalRestore` hands it all back. `confirm_title` is the portal's own title
|
|
7906
|
+
* typed back — ten portals can carry one title, so the title is not what picks
|
|
7907
|
+
* this one and the door refuses `23514` when it does not match.
|
|
7908
|
+
*/
|
|
7909
|
+
portalArchive(args: {
|
|
7910
|
+
portal_id: Uuid;
|
|
7911
|
+
confirm_title: string;
|
|
7912
|
+
reason?: string | null;
|
|
7913
|
+
}): Promise<RecordsResult<PortalArchiveAnswer>>;
|
|
7914
|
+
/** The way back. Everyone invited signs in exactly as before, and it shows the same Tables. */
|
|
7915
|
+
portalRestore(args: {
|
|
7916
|
+
portal_id: Uuid;
|
|
7917
|
+
confirm_title: string;
|
|
7918
|
+
}): Promise<RecordsResult<PortalArchiveAnswer>>;
|
|
7776
7919
|
/**
|
|
7777
7920
|
* Which Tables each portal of this organization exposes.
|
|
7778
7921
|
*
|
|
@@ -8873,4 +9016,4 @@ declare function useFieldMutation(): UseFieldMutation;
|
|
|
8873
9016
|
*/
|
|
8874
9017
|
declare function useMergeField(key: string | null, state?: Record<string, unknown>): MergeFieldResolution | null;
|
|
8875
9018
|
|
|
8876
|
-
export { ABSENCE_REASONS, ACTOR_VOCABULARY, ARCHIVE_LANES, ARCHIVE_LANE_LABEL, ARCHIVE_LANE_MEANS, type AbsenceReason, type Actor, type AggregateBucket, type AggregateFilter, type AggregateMeasure, type AggregateOperation, type AggregateRow, type AggregateWindow, type AnonTokenBinding, type ArchiveLane, type ArchivedDoorRow, type ArchivedRow, type BookingAvailability, type BookingDeclared, type BookingSummary, type BookingWindow, COMPUTE_ON, CONTEXT_POLICIES, type CaptureField, type CaptureFileRef, type CaptureOutcome, type CaptureQuestion, type CaptureQueue, type CaptureQueueCounts, type CaptureQueueOptions, type CaptureQueuePorts, type CaptureQueueStore, type CaptureSheetFace, type CaptureSheetSummary, type CaptureSyncReport, type ChecklistDeclared, type ChecklistRequirement, type ChecklistRequirementKind, type ChecklistRoleSpec, type ChecklistRunStarted, type ChecklistRunStep, type ChecklistRunSummary, type ChecklistSpec, type ChecklistStepCompleted, type ChecklistStepSpec, type ChecklistTemplateShape, type ChecklistTemplateSummary, type ChecklistTrigger, type ChecklistTriggerKind, type ChoiceOption, type ChoiceOptions, type CoerceOptions, type Coerced, type CoercedAnswers, type CoercibleField, type CommentThreadRead, type CommentWritten, type ComputeOn, type ContextPolicy, type ConversationScope, type ConversationScopeContext, type CustomFieldTableType, DECLARABLE_FIELD_KINDS, DEFAULT_ARCHIVE_LANE, DELIVERIES, type DashboardBlock, type DashboardBlockKind, type DashboardBlockResult, type DashboardRunResult, type DashboardSummary, type DeclarableFieldKind, type Delivery, type DigestPreview, type DocRenderRow, type DocSignatureCheck, type DocSignatureRow, type DocTemplateRow, type DocToken, type DocUnresolvedToken, ENTITY_TOKENS, type EnrichAlternate, type EnrichCell, type EnrichDeclared, type EnrichDueRow, type EnrichRun, type EnrichSource, type Enrichment, type EnrichmentSummary, type EntityFieldRights, type EntityFieldValue, type EntityRecordMatch, type EntityRecordRead, type EntityRecordsFound, type EntityTableFacts, type EntityToken, type ExternalPrincipalCard, FIELD_KINDS, FIELD_SENSITIVITIES, FIELD_SOURCES, FRESHNESS, type Field, type FieldBehavior, type FieldHistoryEntry, type FieldKind, type FieldPatch, type FieldProposal, type FieldRule, type FieldSensitivity, type FieldSource, type FieldTypeWord, type ForbiddenEnvelopeWord, type FormSummary, type Freshness, type HiddenFieldNotice, type HistoryActor, type HistoryActorKind, type HistoryChange, type Home, type ImportBatchResult, type ImportColumnPlan, type ImportFinished, type ImportOpened, type ImportOutcome, type ImportPlan, type ImportPolicy, type ImportProposal, type ImportReport, type ImportRun, type InboundAddress, type InboundDeclared, KERNEL_TABLES, type KernelTableName, type KernelTargets, MERGE_FIELD_MODIFIERS, MERGE_FIELD_SEMANTIC_TYPES, MERGE_FIELD_SOURCES, type MergeField, type MergeFieldModifier, type MergeFieldProvenance, type MergeFieldResolution, type MergeFieldSemanticType, type MergeFieldSource, type MergeFieldTransform, type MissingBehavior, type MyLevel, type MySubscription, type NewEntityFieldDeclaration, type NewFieldDeclaration, ON_DELETE, OVERRIDE_POLICIES, type OnDelete, type OverridePolicy, PARITY_FIELD_TYPES, PERMISSION_LEVELS, PER_VALUE_ACCESS_WORDS, PIPELINE_RULE_KINDS, type ParityFieldType, type ParityFieldTypeDescriptor, type PerValueAccessWord, type PermissionLevel, type PgError, type Pipeline, type PipelineColumn, type PipelineDeclared, type PipelineGate, type PipelineGatePreview, type PipelineMissingField, type PipelineMoveResult, type PipelineRule, type PipelineRuleKind, type PipelineSpec, type PipelineStage, type PipelineVerdict, type PortalCard, type PortalInvitation, type PortalPreviewRow, type PortalPrincipal, type PortalRevocation, type PortalSummary, type PortalTableExposure, type PortalTableRef, type PredictedRefusal, type ProvenancePointer, type PublishBinding, type QueuedCapture, type QueuedCaptureFile, type QueuedCaptureState, type QuietHours, REFUSALS_WORTH_REPEATING, RELATION_BINDINGS, RELATION_CARDINALITIES, RELATION_FLAVORS, RETIRED_ACTOR_WORDS, RULE_NODE_KINDS, RULE_USES, type ReadRow, type ReadValue, type RecordComment, type RecordDocument, type RecordFilter, type RecordHistoryEntry, type RecordRead, type RecordRevision, type RecordScopeComment, type RecordScopeContext, type RecordScopeField, type RecordScopeHistoryEntry, type RecordScopeRelation, type RecordScopeWithheld, type RecordsActor, type RecordsChangeSink, type RecordsConfig, type RecordsDataSource, type RecordsError, type RecordsErrorCode, type RecordsErrorSink, type RecordsFilter, RecordsProvider, type RecordsProviderProps, type RecordsRealtimePort, type RecordsResolverPort, type RecordsResponse, type RecordsResult, type RecordsTableQuery, type RegisteredTable, type Relation, type RelationBinding, type RelationCardinality, type RelationCarries, type RelationCoordinate, type RelationDisplay, type RelationFlavor, type RelationProperties, type RelationTarget, type ResolutionTriple, type ResolvedPublishBinding, type RestorePreview, type RestoreResult, type RetiredActorWord, type Rule, type RuleAnswer, type RuleExpression, type RuleNodeKind, type RuleUse, STAGE_RULE_ENFORCEMENT, STAGE_RULE_ON_FAIL, STORAGE_MODES, STORE_DOORS, STORE_KNOBS, STORE_REFUSAL_CODES, type SavedViewRow, type SavedViewSpecIn, type StagePending, type StagePendingOnBoard, type StageRuleEnforcement, type StageRuleOnFail, type StageRuleWarning, type StaleWriteDetail, type StorageMode, type StoreDoorName, type StoreRefusalCode, type StoredRecord, type StuckRow, type Subscription, type SubscriptionBlock, type SubscriptionCadence, type SubscriptionSpec, TABLE_DISPLAYS, TABLE_ORIGINS, TABLE_TYPES, type Table, type TableCapacity, type TableDisplay, type TableOrigin, type TableProposal, type TableType, type Timestamp, type UseEntityFieldMutation, type UseFieldMutation, type UseRecordMutation, type UseRecordsOptions, type UseRecordsState, type Uuid, VALUE_ALTERNATE_KEYS, VALUE_ENVELOPE_KEYS, type ValueAlternate, type ValueAlternateKey, type ValueEnvelope, type ValueEnvelopeKey, type ValueSource, type WorkApprovalDecision, type WorkApprovalFiled, type WorkApprover, type WorkAssignment, type WorkAssignmentField, type WorkChange, type WorkDueState, type WorkGraph, type WorkInboxItem, type WorkInboxKind, type WorkInstantiation, type WorkListFlavour, type WorkListItem, type WorkOrigin, type WorkRecordState, type WorkSlotHold, type WorkState, type WorkTemplateNode, type WorkTemplateRelation, type WorkTurn, type WriteConflict, archivedByLine, archivedWhen, asPermissionLevel, atLeast, bookingPath, choiceSlug, choiceValuesOf, choicesOf, coerceTypedAnswer, coerceTypedAnswers, coercionLabel, emptyArchiveLine, err, fieldKindFor, forgetAllOps, highestLevel, holdsARetiredChoice, indexedDbStore, isArchiveLane, isDecided, isOwnOp, isRecordsErr, isTheChosen, looksLikeAnId, mayDrag, measureKey, memoryStore, mintClientKey, mintOpId, ok, openCaptureQueue, optionKey, optionLabel, portalPath, publicFormPath, rememberedOpCount, sameDocument, scopeChip, stableFilterKey, tableShapeChanged, useEntityFieldMutation, useEntityFieldRights, useEntityFields, useEntityRecord, useEntityTable, useFieldMutation, useFields, useMergeField, useMyLevel, useMyLevels, useOptionalRecordsClient, useRecord, useRecordMutation, useRecords, useRecordsActor, useRecordsClient, useTable, useTables };
|
|
9019
|
+
export { ABSENCE_REASONS, ACTOR_VOCABULARY, ARCHIVE_LANES, ARCHIVE_LANE_LABEL, ARCHIVE_LANE_MEANS, type AbsenceReason, type Actor, type AggregateBucket, type AggregateFilter, type AggregateMeasure, type AggregateOperation, type AggregateRow, type AggregateWindow, type AnonTokenBinding, type ArchiveLane, type ArchivedDoorRow, type ArchivedRow, type BookingAvailability, type BookingDeclared, type BookingSummary, type BookingWindow, COMPUTE_ON, CONTEXT_POLICIES, type CaptureField, type CaptureFileRef, type CaptureOutcome, type CaptureQuestion, type CaptureQueue, type CaptureQueueCounts, type CaptureQueueOptions, type CaptureQueuePorts, type CaptureQueueStore, type CaptureSheetFace, type CaptureSheetSummary, type CaptureSyncReport, type ChecklistDeclared, type ChecklistRequirement, type ChecklistRequirementKind, type ChecklistRoleSpec, type ChecklistRunStarted, type ChecklistRunStep, type ChecklistRunSummary, type ChecklistSpec, type ChecklistStepCompleted, type ChecklistStepSpec, type ChecklistTemplateShape, type ChecklistTemplateSummary, type ChecklistTrigger, type ChecklistTriggerKind, type ChoiceOption, type ChoiceOptions, type CoerceOptions, type Coerced, type CoercedAnswers, type CoercibleField, type CommentThreadRead, type CommentWritten, type ComputeOn, type ContextPolicy, type ConversationScope, type ConversationScopeContext, type CustomFieldTableType, DECLARABLE_FIELD_KINDS, DEFAULT_ARCHIVE_LANE, DEFAULT_PORTAL_ARCHIVE_FILTER, DELIVERIES, type DashboardBlock, type DashboardBlockKind, type DashboardBlockResult, type DashboardRunResult, type DashboardSummary, type DeclarableFieldKind, type Delivery, type DigestPreview, type DocRenderRow, type DocSignatureCheck, type DocSignatureRow, type DocTemplateRow, type DocToken, type DocUnresolvedToken, ENTITY_TOKENS, type EnrichAlternate, type EnrichCell, type EnrichDeclared, type EnrichDueRow, type EnrichRun, type EnrichSource, type Enrichment, type EnrichmentSummary, type EntityFieldRights, type EntityFieldValue, type EntityRecordMatch, type EntityRecordRead, type EntityRecordsFound, type EntityTableFacts, type EntityToken, type ExternalPrincipalCard, FIELD_KINDS, FIELD_SENSITIVITIES, FIELD_SOURCES, FRESHNESS, type Field, type FieldBehavior, type FieldHistoryEntry, type FieldKind, type FieldPatch, type FieldProposal, type FieldRule, type FieldSensitivity, type FieldSource, type FieldTypeWord, type ForbiddenEnvelopeWord, type FormSummary, type Freshness, type HiddenFieldNotice, type HistoryActor, type HistoryActorKind, type HistoryChange, type Home, type ImportBatchResult, type ImportColumnPlan, type ImportColumnsDeclared, type ImportFinished, type ImportOpened, type ImportOutcome, type ImportPlan, type ImportPolicy, type ImportProposal, type ImportReport, type ImportRun, type InboundAddress, type InboundDeclared, KERNEL_TABLES, type KernelTableName, type KernelTargets, MERGE_FIELD_MODIFIERS, MERGE_FIELD_SEMANTIC_TYPES, MERGE_FIELD_SOURCES, type MergeField, type MergeFieldModifier, type MergeFieldProvenance, type MergeFieldResolution, type MergeFieldSemanticType, type MergeFieldSource, type MergeFieldTransform, type MissingBehavior, type MyLevel, type MySubscription, type NewEntityFieldDeclaration, type NewFieldDeclaration, ON_DELETE, OVERRIDE_POLICIES, type OnDelete, type OverridePolicy, PARITY_FIELD_TYPES, PERMISSION_LEVELS, PER_VALUE_ACCESS_WORDS, PIPELINE_RULE_KINDS, PORTAL_ARCHIVE_FILTERS, type ParityFieldType, type ParityFieldTypeDescriptor, type PerValueAccessWord, type PermissionLevel, type PgError, type Pipeline, type PipelineColumn, type PipelineDeclared, type PipelineGate, type PipelineGatePreview, type PipelineMissingField, type PipelineMoveResult, type PipelineRule, type PipelineRuleKind, type PipelineSpec, type PipelineStage, type PipelineVerdict, type PortalArchiveAnswer, type PortalArchiveFilter, type PortalCard, type PortalInvitation, type PortalPreviewRow, type PortalPrincipal, type PortalRevocation, type PortalSummary, type PortalTableExposure, type PortalTableRef, type PredictedRefusal, type ProvenancePointer, type PublishBinding, type QueuedCapture, type QueuedCaptureFile, type QueuedCaptureState, type QuietHours, REFUSALS_WORTH_REPEATING, RELATION_BINDINGS, RELATION_CARDINALITIES, RELATION_FLAVORS, RETIRED_ACTOR_WORDS, RULE_NODE_KINDS, RULE_USES, type ReadRow, type ReadValue, type RecordComment, type RecordDocument, type RecordFilter, type RecordHistoryEntry, type RecordRead, type RecordRevision, type RecordScopeComment, type RecordScopeContext, type RecordScopeField, type RecordScopeHistoryEntry, type RecordScopeRelation, type RecordScopeWithheld, type RecordsActor, type RecordsChangeSink, type RecordsConfig, type RecordsDataSource, type RecordsError, type RecordsErrorCode, type RecordsErrorSink, type RecordsFilter, RecordsProvider, type RecordsProviderProps, type RecordsRealtimePort, type RecordsResolverPort, type RecordsResponse, type RecordsResult, type RecordsTableQuery, type RegisteredTable, type Relation, type RelationBinding, type RelationCardinality, type RelationCarries, type RelationCoordinate, type RelationDisplay, type RelationFlavor, type RelationProperties, type RelationTarget, type ResolutionTriple, type ResolvedPublishBinding, type RestorePreview, type RestoreResult, type RetiredActorWord, type Rule, type RuleAnswer, type RuleExpression, type RuleNodeKind, type RuleUse, STAGE_RULE_ENFORCEMENT, STAGE_RULE_ON_FAIL, STORAGE_MODES, STORE_DOORS, STORE_KNOBS, STORE_REFUSAL_CODES, type SavedViewRow, type SavedViewSpecIn, type StagePending, type StagePendingOnBoard, type StageRuleEnforcement, type StageRuleOnFail, type StageRuleWarning, type StaleWriteDetail, type StorageMode, type StoreDoorName, type StoreRefusalCode, type StoredRecord, type StuckRow, type Subscription, type SubscriptionBlock, type SubscriptionCadence, type SubscriptionSpec, TABLE_DISPLAYS, TABLE_ORIGINS, TABLE_TYPES, type Table, type TableCapacity, type TableDisplay, type TableOrigin, type TableProposal, type TableType, type Timestamp, type UseEntityFieldMutation, type UseFieldMutation, type UseRecordMutation, type UseRecordsOptions, type UseRecordsState, type Uuid, VALUE_ALTERNATE_KEYS, VALUE_ENVELOPE_KEYS, type ValueAlternate, type ValueAlternateKey, type ValueEnvelope, type ValueEnvelopeKey, type ValueSource, type WorkApprovalDecision, type WorkApprovalFiled, type WorkApprover, type WorkAssignment, type WorkAssignmentField, type WorkChange, type WorkDueState, type WorkGraph, type WorkInboxItem, type WorkInboxKind, type WorkInstantiation, type WorkListFlavour, type WorkListItem, type WorkOrigin, type WorkRecordState, type WorkSlotHold, type WorkState, type WorkTemplateNode, type WorkTemplateRelation, type WorkTurn, type WriteConflict, archivedByLine, archivedWhen, asPermissionLevel, atLeast, bookingPath, choiceSlug, choiceValuesOf, choicesOf, coerceTypedAnswer, coerceTypedAnswers, coercionLabel, emptyArchiveLine, emptyPortalArchiveLine, err, fieldKindFor, forgetAllOps, highestLevel, holdsARetiredChoice, indexedDbStore, isArchiveLane, isDecided, isOwnOp, isPortalArchiveFilter, isRecordsErr, isTheChosen, looksLikeAnId, mayDrag, measureKey, memoryStore, mintClientKey, mintOpId, ok, openCaptureQueue, optionKey, optionLabel, portalArchiveConsequence, portalConfirmLine, portalPath, portalTitleTypedBack, publicFormPath, rememberedOpCount, sameDocument, scopeChip, stableFilterKey, tableShapeChanged, useEntityFieldMutation, useEntityFieldRights, useEntityFields, useEntityRecord, useEntityTable, useFieldMutation, useFields, useMergeField, useMyLevel, useMyLevels, useOptionalRecordsClient, useRecord, useRecordMutation, useRecords, useRecordsActor, useRecordsClient, useTable, useTables };
|