@ai-matrx/records 0.30.0 → 0.36.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 +83 -0
- package/dist/core/index.cjs +77 -7
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.d.cts +52 -7
- package/dist/core/index.d.ts +52 -7
- package/dist/core/index.js +77 -7
- package/dist/core/index.js.map +1 -1
- package/dist/{field-D08d_e7R.d.cts → field-CWBdZfFv.d.cts} +218 -4
- package/dist/{field-D08d_e7R.d.ts → field-CWBdZfFv.d.ts} +218 -4
- package/dist/index.cjs +19 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +165 -141
- package/dist/index.d.ts +165 -141
- package/dist/index.js +19 -3
- package/dist/index.js.map +1 -1
- package/dist/react/index.cjs +77 -7
- package/dist/react/index.cjs.map +1 -1
- package/dist/react/index.d.cts +422 -144
- package/dist/react/index.d.ts +422 -144
- package/dist/react/index.js +77 -7
- package/dist/react/index.js.map +1 -1
- package/dist/use-cases/index.cjs +17 -3
- 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 +17 -3
- package/dist/use-cases/index.js.map +1 -1
- package/package.json +1 -1
package/dist/react/index.d.cts
CHANGED
|
@@ -139,6 +139,9 @@ declare const RULE_NODE_KINDS: readonly [{
|
|
|
139
139
|
}, {
|
|
140
140
|
readonly node: "previous";
|
|
141
141
|
readonly evaluated_by: "PIPELINES";
|
|
142
|
+
}, {
|
|
143
|
+
readonly node: "sibling_count";
|
|
144
|
+
readonly evaluated_by: "STAGE-RULES";
|
|
142
145
|
}, {
|
|
143
146
|
readonly node: "stage_count";
|
|
144
147
|
readonly evaluated_by: "PIPELINES";
|
|
@@ -1740,11 +1743,21 @@ declare const STORE_DOORS: readonly [{
|
|
|
1740
1743
|
readonly args: "p_organization_id uuid, p_table_id uuid, p_spec jsonb";
|
|
1741
1744
|
readonly returns: "jsonb";
|
|
1742
1745
|
readonly security: "definer";
|
|
1746
|
+
}, {
|
|
1747
|
+
readonly name: "pipeline_gate_preview";
|
|
1748
|
+
readonly args: "p_organization_id uuid, p_table_id uuid, p_stage text, p_gate jsonb";
|
|
1749
|
+
readonly returns: "jsonb";
|
|
1750
|
+
readonly security: "definer";
|
|
1743
1751
|
}, {
|
|
1744
1752
|
readonly name: "pipeline_move";
|
|
1745
1753
|
readonly args: "p_organization_id uuid, p_record_id uuid, p_to text, p_also jsonb DEFAULT '{}'::jsonb, p_expected_version integer DEFAULT NULL::integer";
|
|
1746
1754
|
readonly returns: "jsonb";
|
|
1747
1755
|
readonly security: "definer";
|
|
1756
|
+
}, {
|
|
1757
|
+
readonly name: "pipeline_pending";
|
|
1758
|
+
readonly args: "p_organization_id uuid, p_table_id uuid";
|
|
1759
|
+
readonly returns: "jsonb";
|
|
1760
|
+
readonly security: "definer";
|
|
1748
1761
|
}, {
|
|
1749
1762
|
readonly name: "pipeline_read";
|
|
1750
1763
|
readonly args: "p_organization_id uuid, p_table_id uuid";
|
|
@@ -2075,6 +2088,11 @@ declare const STORE_DOORS: readonly [{
|
|
|
2075
2088
|
readonly args: "p_organization_id uuid, p_record_id uuid, p_limit integer DEFAULT 200, p_offset integer DEFAULT 0";
|
|
2076
2089
|
readonly returns: "TABLE(version integer, occurred_at timestamp with time zone, operation text, operation_label text, actor jsonb, changes jsonb, migration_id uuid, undoable boolean)";
|
|
2077
2090
|
readonly security: "definer";
|
|
2091
|
+
}, {
|
|
2092
|
+
readonly name: "record_platform_keys";
|
|
2093
|
+
readonly args: "";
|
|
2094
|
+
readonly returns: "text[]";
|
|
2095
|
+
readonly security: "invoker";
|
|
2078
2096
|
}, {
|
|
2079
2097
|
readonly name: "record_relation_edges";
|
|
2080
2098
|
readonly args: "p_organization_id uuid, p_id uuid, p_table_id uuid, p_data_class text, p_data jsonb, p_deleted_at timestamp with time zone";
|
|
@@ -2115,6 +2133,11 @@ declare const STORE_DOORS: readonly [{
|
|
|
2115
2133
|
readonly args: "p_organization_id uuid, p_record_id uuid, p_relations integer DEFAULT 12, p_history integer DEFAULT 15, p_siblings integer DEFAULT 8";
|
|
2116
2134
|
readonly returns: "jsonb";
|
|
2117
2135
|
readonly security: "definer";
|
|
2136
|
+
}, {
|
|
2137
|
+
readonly name: "record_stage_pending";
|
|
2138
|
+
readonly args: "p_organization_id uuid, p_record_id uuid";
|
|
2139
|
+
readonly returns: "jsonb";
|
|
2140
|
+
readonly security: "definer";
|
|
2118
2141
|
}, {
|
|
2119
2142
|
readonly name: "record_state_as_of";
|
|
2120
2143
|
readonly args: "p_record_id uuid, p_at timestamp with time zone";
|
|
@@ -2430,6 +2453,16 @@ declare const STORE_DOORS: readonly [{
|
|
|
2430
2453
|
readonly args: "p_sources jsonb, p_source jsonb";
|
|
2431
2454
|
readonly returns: "text";
|
|
2432
2455
|
readonly security: "invoker";
|
|
2456
|
+
}, {
|
|
2457
|
+
readonly name: "stage_rule_enforcement";
|
|
2458
|
+
readonly args: "p_organization_id uuid";
|
|
2459
|
+
readonly returns: "text";
|
|
2460
|
+
readonly security: "invoker";
|
|
2461
|
+
}, {
|
|
2462
|
+
readonly name: "stage_rule_on_fail_kinds";
|
|
2463
|
+
readonly args: "";
|
|
2464
|
+
readonly returns: "TABLE(behaviour text, note text)";
|
|
2465
|
+
readonly security: "invoker";
|
|
2433
2466
|
}, {
|
|
2434
2467
|
readonly name: "stamp_value_envelopes";
|
|
2435
2468
|
readonly args: "p_data jsonb, p_actor text, p_on_behalf_of text, p_at timestamp with time zone";
|
|
@@ -2480,6 +2513,11 @@ declare const STORE_DOORS: readonly [{
|
|
|
2480
2513
|
readonly args: "p_user_id uuid, p_table_id uuid, p_required permission_level DEFAULT 'viewer'::permission_level";
|
|
2481
2514
|
readonly returns: "boolean";
|
|
2482
2515
|
readonly security: "definer";
|
|
2516
|
+
}, {
|
|
2517
|
+
readonly name: "table_column_source";
|
|
2518
|
+
readonly args: "p_organization_id uuid, p_table_id uuid";
|
|
2519
|
+
readonly returns: "text";
|
|
2520
|
+
readonly security: "invoker";
|
|
2483
2521
|
}, {
|
|
2484
2522
|
readonly name: "table_contents";
|
|
2485
2523
|
readonly args: "p_organization_id uuid, p_table_id uuid";
|
|
@@ -2550,6 +2588,11 @@ declare const STORE_DOORS: readonly [{
|
|
|
2550
2588
|
readonly args: "";
|
|
2551
2589
|
readonly returns: "trigger";
|
|
2552
2590
|
readonly security: "definer";
|
|
2591
|
+
}, {
|
|
2592
|
+
readonly name: "undeclared_keys";
|
|
2593
|
+
readonly args: "p_organization_id uuid, p_table_id uuid, p_data jsonb";
|
|
2594
|
+
readonly returns: "text[]";
|
|
2595
|
+
readonly security: "invoker";
|
|
2553
2596
|
}, {
|
|
2554
2597
|
readonly name: "validate_custom_fields";
|
|
2555
2598
|
readonly args: "p_token text, p_organization_id uuid, p_values jsonb";
|
|
@@ -3000,6 +3043,10 @@ declare const STORE_KNOBS: readonly [{
|
|
|
3000
3043
|
readonly key: "signup_provisioning_guard";
|
|
3001
3044
|
readonly value: "false";
|
|
3002
3045
|
readonly type: "boolean";
|
|
3046
|
+
}, {
|
|
3047
|
+
readonly key: "stage_rule_enforcement";
|
|
3048
|
+
readonly value: "\"refuse\"";
|
|
3049
|
+
readonly type: "enum";
|
|
3003
3050
|
}, {
|
|
3004
3051
|
readonly key: "system_enabled";
|
|
3005
3052
|
readonly value: "false";
|
|
@@ -3034,7 +3081,7 @@ declare const STORE_REFUSAL_CODES: readonly [{
|
|
|
3034
3081
|
readonly raised_by: "context_resolve";
|
|
3035
3082
|
}, {
|
|
3036
3083
|
readonly code: "22004";
|
|
3037
|
-
readonly raised_by: "_entity_custom_fields_guard,_value_envelope,actor_word,agg_assert_key,agg_sql,anon_capture,anon_token_issue,anon_write,assert_client_may_reach,booking_declare,capture_submit,checklist_declare,context_resolve,dashboard_block_normalize,dashboard_declare,dashboard_window_sql,doc_render_write,doc_sign,doc_signature_write,doc_template_save,enrich_land,enrich_normalize,external_history_event,external_rows,external_source_declare,external_stub_upsert,external_write_through,external_writes_set,field_history,form_declare,form_submit,home_add,io_comment_write,io_import_begin,io_infer_column,io_outbox_drain,io_restore,migrate_choice_keys,migrate_purge,migrate_reclass,migrate_split,migrate_undo,organization_clear,organization_contents,pipeline_declare,portal_declare,portal_invite,portal_principal_bind,provenance_retention_days,provenance_write,query_across_homes,query_by_coordinates,query_rollup,record_delete,record_reparent,record_resolve,record_restore,record_update,record_write,record_write_many,relation_carry,relation_own,rule_declare,share_grant,sign_request_create,sign_request_sign,subscription_declare,table_declare,value_restore,view_declare,work_approval_decide,work_approval_request,work_template_declare";
|
|
3084
|
+
readonly raised_by: "_entity_custom_fields_guard,_value_envelope,actor_word,agg_assert_key,agg_sql,anon_capture,anon_token_issue,anon_write,assert_client_may_reach,booking_declare,capture_submit,checklist_declare,context_resolve,dashboard_block_normalize,dashboard_declare,dashboard_window_sql,doc_render_write,doc_sign,doc_signature_write,doc_template_save,enrich_land,enrich_normalize,external_history_event,external_rows,external_source_declare,external_stub_upsert,external_write_through,external_writes_set,field_history,form_declare,form_submit,home_add,io_comment_write,io_import_begin,io_infer_column,io_outbox_drain,io_restore,migrate_choice_keys,migrate_purge,migrate_reclass,migrate_split,migrate_undo,organization_clear,organization_contents,pipeline_declare,pipeline_gate_preview,portal_declare,portal_invite,portal_principal_bind,provenance_retention_days,provenance_write,query_across_homes,query_by_coordinates,query_rollup,record_delete,record_reparent,record_resolve,record_restore,record_update,record_write,record_write_many,relation_carry,relation_own,rule_declare,share_grant,sign_request_create,sign_request_sign,subscription_declare,table_declare,value_restore,view_declare,work_approval_decide,work_approval_request,work_template_declare";
|
|
3038
3085
|
}, {
|
|
3039
3086
|
readonly code: "22007";
|
|
3040
3087
|
readonly raised_by: "dashboard_window_sql";
|
|
@@ -3052,7 +3099,7 @@ declare const STORE_REFUSAL_CODES: readonly [{
|
|
|
3052
3099
|
readonly raised_by: "_unique_rule_holds,doc_sign,doc_signature_write,entity_field_declare,field_declare,home_add,inbound_declare,io_proposal_accept,relation_carry,relation_own,share_grant,sign_request_cancel,sign_request_create,work_approval_decide,work_slot_hold";
|
|
3053
3100
|
}, {
|
|
3054
3101
|
readonly code: "23514";
|
|
3055
|
-
readonly raised_by: "_checklist_instantiate,_checklist_step_guard,_containment_guard,_dated_values_guard,_derived_fields,_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_shape_guard,_value_envelope,_work_shape_guard,_workdoors_approval_guard,assert_entity_is_organization_scoped,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_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";
|
|
3102
|
+
readonly raised_by: "_checklist_instantiate,_checklist_step_guard,_claimed_column_guard,_containment_guard,_dated_values_guard,_derived_fields,_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,_work_shape_guard,_workdoors_approval_guard,assert_entity_is_organization_scoped,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_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";
|
|
3056
3103
|
}, {
|
|
3057
3104
|
readonly code: "40001";
|
|
3058
3105
|
readonly raised_by: "has_visibility_at";
|
|
@@ -3071,9 +3118,12 @@ declare const STORE_REFUSAL_CODES: readonly [{
|
|
|
3071
3118
|
}, {
|
|
3072
3119
|
readonly code: "PT409";
|
|
3073
3120
|
readonly raised_by: "record_update";
|
|
3121
|
+
}, {
|
|
3122
|
+
readonly code: "PT428";
|
|
3123
|
+
readonly raised_by: "_record_rule_uses";
|
|
3074
3124
|
}];
|
|
3075
3125
|
/** `platform.entity_types` — the registered tokens a Table or relation may name. */
|
|
3076
|
-
declare const ENTITY_TOKENS: readonly ["access_delta_probe", "access_delta_run", "access_request", "account_addon", "acquisition_block", "activity", "admin_audit_log", "admin_email_log", "admin_markdown_sample", "admin_user", "admission_config", "agent", "agent_card", "agent_definition_version", "agent_drift_alert", "agent_exemplar", "agent_mandate_note", "agent_prompt_remediation", "agent_provision_legacy", "agent_run", "agent_run_stage", "agent_schedule", "agent_schedule_claim", "agent_shortcut", "agent_surface_binding", "agent_template", "agent_usage", "agent_user_kv", "ai_api", "ai_endpoint", "ai_model", "ai_model_alias", "ai_offering", "ai_provider", "ai_setting", "analysis_result", "anon_form", "anon_function_birth_grandfather", "anon_hit", "anon_inbound", "anon_replay", "anon_submission", "anon_token", "api_field_warning", "api_request_log", "app", "app_config", "app_config_history", "app_definition_version", "app_error", "app_execution", "app_instance", "app_log", "app_log_muted_pattern", "app_log_norm_exception", "app_rate_limit", "app_setting", "app_sync_status", "approach", "artifact", "assessment", "assessment_item", "assessment_result", "assignment_session", "assist", "assist_producer_policy", "assist_producer_policy_history", "association_type", "assurance_level", "attempt", "audit_broken_functions", "audit_canonical_findings", "audit_exemption", "audit_function_deps", "audit_function_runtime_probe", "audit_m2m_candidates", "audit_refresh_log", "audit_stale_registry", "audit_unregistered_candidates", "bak_assoc_file_processed_document_20260812", "bak_assoc_type_file_processed_document_20260812", "bak_organization_name_dd043", "base_entity_template", "batch_cost_event", "batch_provider_batch", "batch_work_item", "billing_capability", "billing_capability_limit", "billing_connect_account", "billing_customer", "billing_plan", "billing_plan_limit", "billing_price", "billing_product", "billing_spend_guardrail", "billing_stripe_event", "billing_subscription", "billing_usage_ledger", "billing_user_plan", "browser_account_binding", "browser_action_event", "browser_authenticator_window", "browser_capture", "browser_control_request", "browser_handoff", "browser_login_attempt", "browser_login_recipe", "browser_profile", "browser_profile_checkpoint", "browser_run", "browser_site_observation", "browser_site_policy", "browser_stream_ticket", "build_lock", "calendar_event", "canvas_comment", "canvas_comment_like", "canvas_item", "canvas_item_state", "canvas_like", "canvas_score", "canvas_view", "capture_window", "carrying_rule", "catalog_entries_history", "catalog_entry", "category", "change_type_default", "chat_user_usage_summary", "citations", "class_purchase", "classifier_revision_ledger", "client_callable_door", "client_callable_door_retirement", "client_excluded_column_unregistered", "cmp_entry", "cmp_feedback", "code_file", "code_folder", "code_repository", "coding_session", "coding_session_entry", "comment", "commerce_asset_allocation", "commerce_asset_grading", "commerce_asset_identifier", "commerce_asset_lot_event", "commerce_asset_mandate_result", "commerce_asset_price_factor", "commerce_asset_reshoot_request", "commerce_asset_review", "commerce_asset_unknown", "commerce_certified_printer", "commerce_cloud_sync_connection", "commerce_ebay_business_policy", "commerce_ebay_category", "commerce_ebay_category_aspect", "commerce_ebay_category_tree", "commerce_ebay_custom_policy", "commerce_ebay_inventory_item", "commerce_ebay_inventory_item_group", "commerce_ebay_inventory_item_group_member", "commerce_ebay_inventory_location", "commerce_ebay_listing", "commerce_ebay_marketplace_policy", "commerce_ebay_media_asset", "commerce_ebay_notification_destination", "commerce_ebay_notification_event", "commerce_ebay_notification_subscription", "commerce_ebay_notification_topic", "commerce_ebay_offer", "commerce_ebay_order", "commerce_ebay_order_line_item", "commerce_ebay_shipping_fulfillment", "commerce_ebay_store_category", "commerce_human_correction", "commerce_intake_artifact", "commerce_intake_asset", "commerce_intake_batch", "commerce_label_batch", "commerce_label_code", "commerce_marketplace_account", "commerce_marketplace_account_deletion_audit", "commerce_marketplace_api_call", "commerce_marketplace_rate_budget", "commerce_marketplace_site", "commerce_marketplace_sync_run", "commerce_prediction_outcome", "commerce_print_order", "commerce_product", "commerce_product_channel_ref", "commerce_product_media", "commerce_product_variant", "commerce_recall_audit", "comparison_set", "component_group", "contact_medium", "contact_submission", "content_certification", "content_ir_kind", "content_ir_kind_component", "content_ir_kind_component_incident", "content_ir_kind_conformance", "content_ir_kind_edge", "content_ir_kind_example", "content_ir_kind_instance", "content_ir_kind_surface", "content_lane", "context_access_log", "context_item", "context_item_suggestion", "context_item_value", "context_value_refs", "conversation", "conversation_value", "courts", "credential_attachment", "credential_item", "credential_mutation_receipt", "crm_address", "crm_affiliation", "crm_blocklist_entry", "crm_contact_candidate", "crm_deal", "crm_deal_stage_event", "crm_enrichment_call", "crm_interaction", "crm_merge_candidate", "crm_outreach_list", "crm_outreach_list_member", "crm_party_merge", "crm_registry_ingest_run", "crm_registry_source", "crm_saved_view", "crm_sending_event", "crm_sending_identity", "crm_sending_identity_check", "crm_sending_policy", "custom_entity_definition", "custom_field_definition", "custom_field_target", "custom_record", "cx_agent_memory", "cx_agent_plan", "cx_agent_task", "cx_code_edit", "cx_code_message_file", "cx_conversation_documents", "cx_media", "cx_observational_memory", "cx_observational_memory_event", "cx_pending_injection", "cx_request", "cx_request_snapshot", "cx_tool_trace", "cx_user_request", "cx_user_todo", "dashboard_saved_view", "data_rights_event", "data_store", "data_store_members", "dataset", "dd171_containment_baseline", "dd175_cast", "dd175_component_lane_baseline", "ddl_guard_log", "deck_suggestion", "definer_class_exemption", "definer_client_grant_grandfather", "definer_grant_baseline", "deprecated_relation", "derive_run", "dev_login_audit", "dict_entry", "dict_provider_publication", "dict_setting", "dm_conversation", "dm_message", "dm_participant", "doc_render", "doc_signature", "dockets", "domain_classification", "edge_payload_kind", "egress_device", "egress_pairing", "egress_ticket", "emails", "embedding_cache", "embeddings_google_gemini_2_1536", "embeddings_oai_3_small_1536", "embeddings_voyage_4_large_1024", "embeddings_voyage_code_3_1024", "endpoint_family_sweep_state", "engine_owner_task", "entity_grant", "entity_relationship", "entity_type", "esign_campaign", "esign_campaign_member", "esign_consent_disclosure", "esign_envelope", "esign_envelope_certificate", "esign_envelope_document", "esign_envelope_event", "esign_envelope_external_ref", "esign_envelope_signer", "esign_provider", "esign_provider_binding", "esign_signing_key", "execution_event_cursor", "extension_auth_code", "external_link", "external_source", "extract_sweep_state", "fc_card", "fc_detail", "fc_set", "feature_doc", "feature_knob", "feedback_comments", "feedback_user_messages", "field_component", "file", "file_analysis", "file_entities", "file_overrides", "file_page_annotations", "file_pages", "file_rag_job", "file_version", "files_account_tier", "files_machine_written_prefix", "files_sync_mapping", "files_user_account", "flashcard_data", "flashcard_history", "flashcard_review", "flashcard_set", "flashcard_sets", "flexible_data", "folder", "function_contract", "game_badge", "game_result", "game_room", "global_execution", "global_execution_checkpoint", "global_execution_control", "global_execution_event", "global_meter_entry", "global_origin", "global_request", "google_document", "growth_loop_event", "growth_loop_run", "growth_loop_stage_run", "guardian_link", "guest_conversion_audit", "guest_execution_log", "guest_executions", "guided_checklist_run", "heatmap_save", "hindsight_enrollment", "hindsight_finding", "hindsight_regression_case", "hindsight_replay", "hindsight_replay_step", "hindsight_review", "hr_access_audit", "hr_access_role", "hr_accommodation_request", "hr_ai_evidence", "hr_alert_routing_rule", "hr_application", "hr_approval_authority", "hr_approval_delegation", "hr_asset", "hr_asset_assignment", "hr_attendance_exception", "hr_auto_close_rule", "hr_availability", "hr_background_check", "hr_benefits_event", "hr_calculation_snapshot", "hr_candidate", "hr_candidate_conversion", "hr_candidate_message", "hr_careers_portal", "hr_checklist_item", "hr_checklist_run", "hr_checklist_template", "hr_checklist_template_item", "hr_compensation", "hr_corrective_action", "hr_course", "hr_course_version", "hr_credential", "hr_crew", "hr_deduction_code", "hr_department", "hr_derived_grant", "hr_disposition_event", "hr_earning_code", "hr_eeo_response", "hr_emergency_contact", "hr_employee", "hr_employee_private", "hr_employer_profile", "hr_employment", "hr_employment_pin", "hr_engagement", "hr_establishment", "hr_external_identity", "hr_field_policy", "hr_holiday", "hr_holiday_calendar", "hr_i9", "hr_i9_document", "hr_incident", "hr_incident_party", "hr_interview", "hr_interview_kit", "hr_job_title", "hr_jurisdiction", "hr_jurisdiction_rule", "hr_jurisdiction_rule_class", "hr_jurisdiction_rule_org_decision", "hr_jurisdiction_rule_test", "hr_kiosk_device", "hr_kiosk_session", "hr_labor_target", "hr_leave_case", "hr_leave_enrollment", "hr_leave_ledger", "hr_leave_policy", "hr_leave_request", "hr_legal_hold", "hr_legal_hold_item", "hr_location", "hr_new_hire_report", "hr_offer", "hr_opening", "hr_overtime_alert", "hr_overtime_alert_rule", "hr_overtime_preapproval", "hr_pay_group", "hr_pay_period", "hr_pay_period_employment", "hr_payroll_export", "hr_payroll_export_line", "hr_position_assignment", "hr_posting", "hr_posting_publication", "hr_provider_binding", "hr_provider_event", "hr_provisioning_result", "hr_punch", "hr_recalculation_batch", "hr_record_class", "hr_records_request", "hr_reference_check", "hr_reporting_line", "hr_requisition", "hr_restricted_note", "hr_retention_rule", "hr_role_assignment", "hr_schedule", "hr_schedule_change", "hr_schedule_guidance", "hr_schedule_template", "hr_schedule_template_shift", "hr_scorecard", "hr_separation", "hr_shift", "hr_shift_claim", "hr_staffing_requirement", "hr_survey", "hr_survey_invitation", "hr_survey_question", "hr_survey_response", "hr_tax_registration", "hr_tax_withholding", "hr_time_adjustment", "hr_training_assignment", "hr_training_attempt", "hr_transcript_entry", "hr_verification_letter_request", "hr_work_interval", "hr_workflow_binding", "hr_workflow_decision", "hr_workflow_definition", "hr_workflow_event", "hr_workflow_failure", "hr_workflow_flow_type", "hr_workflow_instance", "hr_workflow_step", "hr_workflow_step_definition", "hr_workweek", "html_extraction", "iam_access_audit", "iam_api_key", "iam_emergency_door_request", "idempotency", "industry", "industry_curator", "infra_status", "ingest_runs", "integration_connection", "integration_connection_resource", "interview_decision_interview", "interview_decision_question", "interview_document_revision", "interview_hole", "interview_question", "interview_session", "interview_turn", "invitation", "invitation_code", "invitation_request", "io_comment", "io_contract", "io_import", "io_outbox", "item", "item_mastery", "judge_verdict", "jurisdiction_policy", "keyword_classification_queue", "kg_alert", "kg_chunk_entities", "kg_chunks", "kg_clusters", "kg_edges", "kg_entities", "kg_entity_aliases", "kg_suggestion_ack", "kg_sweep_queue", "kg_sweep_run", "kg_sweep_state", "kg_value_match", "knob_override", "knob_override_audit", "knob_rung_lock", "knob_scope_kind", "knob_write_door", "league_membership", "learn_doc", "library_doc", "lifecycle_archive", "lifecycle_archive_row", "lifecycle_audit", "lifecycle_entity_plan", "lifecycle_map_build", "lifecycle_reference_map", "lifecycle_run", "lifecycle_tier_ledger", "location", "mandate", "mandate_advance_batch_row", "mandate_binding", "mandate_binding_legacy", "mandate_legacy", "mandate_observation", "mandate_reference", "mandate_scan", "mandate_treatment", "marketing_initiative", "masterwork_corpus_item", "masterwork_run", "masterwork_run_kind", "masterwork_source", "math_course_structure", "math_problem", "matrx_action_ledger", "mcp_config", "mcp_server", "mcp_user_conn", "media_capture_handoff", "media_catalog_setting", "media_library_item", "media_selection_item", "media_selection_job", "media_source_library", "meet_call_invite", "meet_meeting", "meet_note", "meet_participant", "meet_recording", "meet_transcript_segment", "membership", "membership_grant", "merge_field_provenance", "message", "message_template", "meta_excluded_schema", "meta_table_stats_history", "metadata_reserved_keys", "microservice_project", "migration_log", "mtx_media_heal_queue", "mtx_public_url_guard", "ner_shadow", "note", "note_folder", "notification", "notification_channel_preference", "notification_event_override", "notification_event_type", "notification_preference", "notification_submission", "notify_outsider_door_baseline", "oauth_handoff_claim", "opinion_clusters", "opinions", "ops_issue_class", "ops_issue_event", "ops_proof_check", "ops_proof_run", "ops_proof_scenario", "org_admin_audit", "org_change_policy", "org_context_ledger", "org_industries", "org_member_control", "org_module_config", "org_plan", "org_repair_0253_backup", "organization", "organization_preferences", "organization_visibility_version", "output_feedback", "outreach_acceptance", "page_extraction_job", "page_extraction_page_run", "page_extraction_results", "page_extraction_runs", "page_intent_queue", "page_mapping_queue", "part_config", "part_config_sub", "party", "party_contact_point", "passkey_credential", "path_drift_repair_2026_09", "pc_article", "pc_episode", "pc_show", "pc_studio_run", "pc_studio_run_asset", "pdf_consolidation_log", "pdf_redaction_audit", "pdf_redaction_key_escrow", "permission_grant", "plan_cms_fill_item", "plan_cms_fill_job", "plan_entity", "plan_node", "plan_node_artifact", "plan_node_step", "plan_profile", "platform_actor_session", "platform_actor_token", "platform_actor_token_event", "platform_continued_access", "platform_org_knob_override", "platform_outcome_event", "platform_outsider_consumer", "platform_reachability", "platform_reference_category", "platform_reference_declaration", "platform_repo", "platform_saved_view", "platform_schema", "platform_share_link", "platform_user_knob_override", "podcast_race", "policy_overlap_backup", "policy_overlap_probe", "processed_document", "processed_document_page", "product_capture_file", "product_capture_item", "product_capture_payload", "product_capture_product", "product_capture_question", "profile", "project", "prompt", "provider_account", "provider_account_credential", "provision", "provision_generate_target", "provision_grant", "provision_marker", "provision_rule_message", "provision_schema", "provision_shape_debt", "provision_spec", "provision_spec_grandfather", "provision_vocabulary", "purpose", "quiz_session", "rag_ingest_run", "rag_library_audit_log", "rate_limit_buckets", "recompute_queue", "record", "record_alias", "redaction_mapping", "research_analysis", "research_content", "research_context_bundle", "research_document", "research_intent", "research_keyword", "research_media", "research_source", "research_synthesis", "research_tag", "research_template", "research_topic", "retention_policy", "retrieval_audit", "review_queue", "route_manifest_entry", "row_version", "rulebook", "runtime_operation_stream", "runtime_operation_stream_batch", "sandbox_instance", "sch_agent_task", "sch_run", "sch_task", "sch_trigger", "schema_client_exposure", "schema_migration_ledger", "schema_migration_legacy", "schema_migration_slot_grandfather", "schema_templates", "scope", "scope_association_suggestion", "scope_dataset_instance", "scope_door_registry", "scope_item_value_suggestion", "scope_suggestion", "scope_type", "scrape_domain", "scrape_domain_settings", "scrape_failure_log", "scrape_parsed_page", "scrape_path_override", "scrape_path_pattern", "scrape_retry_queue", "seo_ai_capability", "seo_ai_visibility_citation", "seo_ai_visibility_claim", "seo_ai_visibility_panel", "seo_ai_visibility_response", "seo_ai_visibility_signal", "seo_backlink", "seo_backlink_change_event", "seo_backlink_dimension_snapshot", "seo_backlink_observation", "seo_backlink_snapshot", "seo_change_assessment", "seo_change_event", "seo_change_item", "seo_change_metric", "seo_change_set", "seo_change_theory", "seo_collection_run", "seo_competitor", "seo_competitor_observation", "seo_competitor_opportunity", "seo_coverage_mention", "seo_coverage_tracker", "seo_dimension_value_matcher", "seo_engine_schedule", "seo_geo_place", "seo_gsc_dig_rule", "seo_keyword", "seo_keyword_class_rule", "seo_keyword_edge", "seo_keyword_facet", "seo_keyword_market", "seo_keyword_market_observation", "seo_keyword_place", "seo_keyword_saved_view", "seo_keyword_topic", "seo_landscape_brief", "seo_link_gap_domain", "seo_link_gap_match", "seo_map_facet", "seo_map_facet_value", "seo_map_topic", "seo_page_measurement_health", "seo_page_performance", "seo_provider_call", "seo_provider_task", "seo_rank_observation", "seo_rank_target", "seo_raw_payload", "seo_referring_domain_profile", "seo_reputation_case", "seo_search_performance_daily", "seo_serp_mention", "seo_serp_opportunity", "seo_serp_result", "seo_serp_snapshot", "seo_site_geo_area", "seo_site_keyword_offering", "seo_site_keyword_value", "seo_site_offering_value", "seo_site_topic_value", "seo_site_value_combo", "seo_site_value_worth", "seo_site_vocabulary", "seo_source_request", "seo_starter_pack", "seo_starter_pack_item", "seo_story_angle", "seo_topic", "seo_topical_map", "seo_web_analytics_daily", "share_link", "shareable_resource_registry", "shared_canvas_item", "short_link", "shortcut_category", "skill", "skill_category", "skill_render_definition", "sms_consent", "sms_conversation", "sms_message", "sms_message_media", "sms_notification", "sms_notification_preference", "sms_phone_number", "sms_rate_limits", "sms_webhook_logs", "soft_delete_edge", "source_authority", "stage_dockets_966c18eca7", "stage_ref_kind", "stamped_write_table", "structure", "structured_list", "studio_cleaned_segments", "studio_concept_items", "studio_documents", "studio_module_segments", "studio_raw_segments", "studio_recording_chunks", "studio_recording_segments", "studio_run", "studio_session", "studio_session_settings", "study_attempt", "study_goal", "study_media", "study_plan", "study_plan_block", "study_plan_day", "study_reminder_context", "study_reminder_delivery", "study_session", "study_source_chunk", "study_streak", "study_structured_section", "superseded_policy", "surface", "system_announcement", "system_context_item", "system_error", "system_orgs", "system_personal_org_failure", "system_write_failure", "task", "task_user_state", "taxonomy_node", "template_context_items", "template_scope_types", "templates", "thread", "tool", "tool_binding", "tool_bundle", "tool_call", "tool_definition_version", "tool_executor", "tool_surface_defaults", "tool_test_sample", "tool_ui", "tool_ui_incident", "tool_ui_version", "topic_placement_queue", "transcript", "trigger_event", "udt_dataset_fields", "udt_dataset_row_versions", "udt_dataset_rows", "udt_dataset_template", "udt_dataset_template_fields", "udt_document", "udt_document_snapshot", "udt_structured_list_items", "udt_workbook_snapshot", "ui_client", "ui_surface_agent_pref", "ui_surface_agent_role", "ui_surface_client_tool", "ui_surface_config", "ui_surface_value", "ui_surface_write_target", "unsubscribe_token", "uploads_inflight", "user_achievement", "user_active_context", "user_analysis_preference", "user_bookmark", "user_email_preference", "user_entity_state", "user_feedback", "user_follows", "user_form_profile", "user_markdown_sample", "user_memory", "user_preference", "user_profile", "user_secret", "user_secret_audit", "user_secret_grant", "user_stat", "user_storage_usage", "user_surface_state", "visibility_cache", "visibility_epoch", "voice", "war_room", "wbx_capture", "wbx_demo", "wbx_guidance", "wbx_highlight", "wbx_pattern", "wbx_recipe", "wbx_screenshot", "wbx_seo_audit", "wc_claim", "wc_impairment_definition", "wc_injury", "wc_report", "web_analysis_item", "web_brand", "web_brand_asset", "web_brand_offering", "web_business_fact", "web_business_location", "web_channel_analytics_daily", "web_crawl_event", "web_crawl_preset", "web_crawl_schedule", "web_crawl_session", "web_crawl_url", "web_discovered_item", "web_finding", "web_gsc_page_stat", "web_link_edge", "web_listing_publisher", "web_location_listing", "web_offering_template", "web_page", "web_page_content", "web_page_evidence", "web_page_sitemap", "web_property", "web_provider", "web_result", "web_screenshot", "web_site", "web_site_endpoint_rule", "web_site_item_config", "web_site_offering", "web_sitemap", "web_snapshot", "web_tag_manager_snapshot", "web_youtube_video", "webhook_deliveries", "webhook_dispatch_state", "webhooks", "wf_node_data_slot", "work_claim", "work_item", "workbook", "worker_heartbeat", "workflow", "workflow_card", "workflow_checkpoint", "workflow_comparison", "workflow_definition_version", "workflow_idempotency", "workflow_job", "workflow_node_events", "workflow_node_outcome", "workflow_plan", "workflow_plan_event", "workflow_plan_sample", "workflow_recovery_audit", "workflow_run", "workflow_run_log", "workflow_runtime_surface", "workflow_template", "workflow_trigger", "workflow_trigger_fire", "workflow_work_item", "working_document", "write_guard_key", "youtube_quota_day", "youtube_search", "youtube_video"];
|
|
3126
|
+
declare const ENTITY_TOKENS: readonly ["access_delta_probe", "access_delta_run", "access_request", "account_addon", "acquisition_block", "activity", "admin_audit_log", "admin_email_log", "admin_markdown_sample", "admin_user", "admission_config", "agent", "agent_card", "agent_definition_version", "agent_drift_alert", "agent_exemplar", "agent_mandate_note", "agent_prompt_remediation", "agent_provision_legacy", "agent_run", "agent_run_stage", "agent_schedule", "agent_schedule_claim", "agent_shortcut", "agent_surface_binding", "agent_template", "agent_usage", "agent_user_kv", "ai_api", "ai_endpoint", "ai_model", "ai_model_alias", "ai_offering", "ai_provider", "ai_setting", "analysis_result", "anon_form", "anon_function_birth_grandfather", "anon_hit", "anon_inbound", "anon_replay", "anon_submission", "anon_token", "api_field_warning", "api_request_log", "app", "app_config", "app_config_history", "app_definition_version", "app_error", "app_execution", "app_instance", "app_log", "app_log_muted_pattern", "app_log_norm_exception", "app_rate_limit", "app_setting", "app_sync_status", "approach", "artifact", "assessment", "assessment_item", "assessment_result", "assignment_session", "assist", "assist_producer_policy", "assist_producer_policy_history", "association_type", "assurance_level", "attempt", "audit_broken_functions", "audit_canonical_findings", "audit_exemption", "audit_function_deps", "audit_function_runtime_probe", "audit_m2m_candidates", "audit_refresh_log", "audit_stale_registry", "audit_unregistered_candidates", "bak_assoc_file_processed_document_20260812", "bak_assoc_type_file_processed_document_20260812", "bak_organization_name_dd043", "base_entity_template", "batch_cost_event", "batch_provider_batch", "batch_work_item", "billing_capability", "billing_capability_limit", "billing_connect_account", "billing_customer", "billing_plan", "billing_plan_limit", "billing_price", "billing_product", "billing_spend_guardrail", "billing_stripe_event", "billing_subscription", "billing_usage_ledger", "billing_user_plan", "browser_account_binding", "browser_action_event", "browser_authenticator_window", "browser_capture", "browser_control_request", "browser_handoff", "browser_login_attempt", "browser_login_recipe", "browser_profile", "browser_profile_checkpoint", "browser_run", "browser_site_observation", "browser_site_policy", "browser_stream_ticket", "build_lock", "calendar_event", "canvas_comment", "canvas_comment_like", "canvas_item", "canvas_item_state", "canvas_like", "canvas_score", "canvas_view", "capture_window", "carrying_rule", "catalog_entries_history", "catalog_entry", "category", "change_type_default", "chat_user_usage_summary", "citations", "class_purchase", "classifier_revision_ledger", "client_callable_door", "client_callable_door_retirement", "client_excluded_column_unregistered", "cmp_entry", "cmp_feedback", "code_file", "code_folder", "code_repository", "coding_session", "coding_session_entry", "comment", "commerce_asset_allocation", "commerce_asset_grading", "commerce_asset_identifier", "commerce_asset_lot_event", "commerce_asset_mandate_result", "commerce_asset_price_factor", "commerce_asset_reshoot_request", "commerce_asset_review", "commerce_asset_unknown", "commerce_certified_printer", "commerce_cloud_sync_connection", "commerce_ebay_business_policy", "commerce_ebay_category", "commerce_ebay_category_aspect", "commerce_ebay_category_tree", "commerce_ebay_custom_policy", "commerce_ebay_inventory_item", "commerce_ebay_inventory_item_group", "commerce_ebay_inventory_item_group_member", "commerce_ebay_inventory_location", "commerce_ebay_listing", "commerce_ebay_marketplace_policy", "commerce_ebay_media_asset", "commerce_ebay_notification_destination", "commerce_ebay_notification_event", "commerce_ebay_notification_subscription", "commerce_ebay_notification_topic", "commerce_ebay_offer", "commerce_ebay_order", "commerce_ebay_order_line_item", "commerce_ebay_shipping_fulfillment", "commerce_ebay_store_category", "commerce_human_correction", "commerce_intake_artifact", "commerce_intake_asset", "commerce_intake_batch", "commerce_label_batch", "commerce_label_code", "commerce_marketplace_account", "commerce_marketplace_account_deletion_audit", "commerce_marketplace_api_call", "commerce_marketplace_rate_budget", "commerce_marketplace_site", "commerce_marketplace_sync_run", "commerce_prediction_outcome", "commerce_print_order", "commerce_product", "commerce_product_channel_ref", "commerce_product_media", "commerce_product_variant", "commerce_recall_audit", "comparison_set", "component_group", "contact_medium", "contact_submission", "content_certification", "content_ir_kind", "content_ir_kind_component", "content_ir_kind_component_incident", "content_ir_kind_conformance", "content_ir_kind_edge", "content_ir_kind_example", "content_ir_kind_instance", "content_ir_kind_surface", "content_lane", "context_access_log", "context_item", "context_item_suggestion", "context_item_value", "context_value_refs", "conversation", "conversation_value", "courts", "credential_attachment", "credential_item", "credential_mutation_receipt", "crm_address", "crm_affiliation", "crm_blocklist_entry", "crm_contact_candidate", "crm_deal", "crm_deal_stage_event", "crm_enrichment_call", "crm_interaction", "crm_merge_candidate", "crm_outreach_list", "crm_outreach_list_member", "crm_party_merge", "crm_registry_ingest_run", "crm_registry_source", "crm_saved_view", "crm_sending_event", "crm_sending_identity", "crm_sending_identity_check", "crm_sending_policy", "custom_entity_definition", "custom_field_definition", "custom_field_target", "custom_record", "cx_agent_memory", "cx_agent_plan", "cx_agent_task", "cx_code_edit", "cx_code_message_file", "cx_conversation_documents", "cx_media", "cx_observational_memory", "cx_observational_memory_event", "cx_pending_injection", "cx_request", "cx_request_snapshot", "cx_tool_trace", "cx_user_request", "cx_user_todo", "dashboard_saved_view", "data_rights_event", "data_store", "data_store_members", "dataset", "dd171_containment_baseline", "dd175_cast", "dd175_component_lane_baseline", "ddl_guard_log", "deck_suggestion", "definer_class_exemption", "definer_client_grant_grandfather", "definer_grant_baseline", "deprecated_relation", "derive_run", "dev_login_audit", "dict_entry", "dict_provider_publication", "dict_setting", "dm_conversation", "dm_message", "dm_participant", "doc_render", "doc_signature", "dockets", "domain_classification", "edge_payload_kind", "egress_device", "egress_pairing", "egress_ticket", "emails", "embedding_cache", "embeddings_google_gemini_2_1536", "embeddings_oai_3_small_1536", "embeddings_voyage_4_large_1024", "embeddings_voyage_code_3_1024", "endpoint_family_sweep_state", "engine_owner_task", "entity_grant", "entity_relationship", "entity_type", "esign_campaign", "esign_campaign_member", "esign_consent_disclosure", "esign_envelope", "esign_envelope_certificate", "esign_envelope_document", "esign_envelope_event", "esign_envelope_external_ref", "esign_envelope_signer", "esign_provider", "esign_provider_binding", "esign_signing_key", "execution_event_cursor", "extension_auth_code", "external_link", "external_source", "extract_sweep_state", "fc_card", "fc_detail", "fc_set", "feature_doc", "feature_knob", "feedback_comments", "feedback_user_messages", "field_component", "file", "file_analysis", "file_entities", "file_overrides", "file_page_annotations", "file_pages", "file_rag_job", "file_version", "files_account_tier", "files_machine_written_prefix", "files_sync_mapping", "files_user_account", "flashcard_data", "flashcard_history", "flashcard_review", "flashcard_set", "flashcard_sets", "flexible_data", "folder", "function_contract", "game_badge", "game_result", "game_room", "global_execution", "global_execution_checkpoint", "global_execution_control", "global_execution_event", "global_meter_entry", "global_origin", "global_request", "google_document", "growth_loop_event", "growth_loop_run", "growth_loop_stage_run", "guardian_link", "guest_conversion_audit", "guest_execution_log", "guest_executions", "guided_checklist_run", "heatmap_save", "hindsight_enrollment", "hindsight_finding", "hindsight_regression_case", "hindsight_replay", "hindsight_replay_step", "hindsight_review", "hr_access_audit", "hr_access_role", "hr_accommodation_request", "hr_ai_evidence", "hr_alert_routing_rule", "hr_application", "hr_approval_authority", "hr_approval_delegation", "hr_asset", "hr_asset_assignment", "hr_attendance_exception", "hr_auto_close_rule", "hr_availability", "hr_background_check", "hr_benefits_event", "hr_calculation_snapshot", "hr_candidate", "hr_candidate_conversion", "hr_candidate_message", "hr_careers_portal", "hr_checklist_item", "hr_checklist_run", "hr_checklist_template", "hr_checklist_template_item", "hr_compensation", "hr_corrective_action", "hr_course", "hr_course_version", "hr_credential", "hr_crew", "hr_deduction_code", "hr_department", "hr_derived_grant", "hr_disposition_event", "hr_earning_code", "hr_eeo_response", "hr_emergency_contact", "hr_employee", "hr_employee_private", "hr_employer_profile", "hr_employment", "hr_employment_pin", "hr_engagement", "hr_establishment", "hr_external_identity", "hr_field_policy", "hr_holiday", "hr_holiday_calendar", "hr_i9", "hr_i9_document", "hr_incident", "hr_incident_party", "hr_interview", "hr_interview_kit", "hr_job_title", "hr_jurisdiction", "hr_jurisdiction_rule", "hr_jurisdiction_rule_class", "hr_jurisdiction_rule_org_decision", "hr_jurisdiction_rule_test", "hr_kiosk_device", "hr_kiosk_session", "hr_labor_target", "hr_leave_case", "hr_leave_enrollment", "hr_leave_ledger", "hr_leave_policy", "hr_leave_request", "hr_legal_hold", "hr_legal_hold_item", "hr_location", "hr_new_hire_report", "hr_offer", "hr_opening", "hr_overtime_alert", "hr_overtime_alert_rule", "hr_overtime_preapproval", "hr_pay_group", "hr_pay_period", "hr_pay_period_employment", "hr_payroll_export", "hr_payroll_export_line", "hr_position_assignment", "hr_posting", "hr_posting_publication", "hr_provider_binding", "hr_provider_event", "hr_provisioning_result", "hr_punch", "hr_recalculation_batch", "hr_record_class", "hr_records_request", "hr_reference_check", "hr_reporting_line", "hr_requisition", "hr_restricted_note", "hr_retention_rule", "hr_role_assignment", "hr_schedule", "hr_schedule_change", "hr_schedule_guidance", "hr_schedule_template", "hr_schedule_template_shift", "hr_scorecard", "hr_separation", "hr_shift", "hr_shift_claim", "hr_staffing_requirement", "hr_survey", "hr_survey_invitation", "hr_survey_question", "hr_survey_response", "hr_tax_registration", "hr_tax_withholding", "hr_time_adjustment", "hr_training_assignment", "hr_training_attempt", "hr_transcript_entry", "hr_verification_letter_request", "hr_work_interval", "hr_workflow_binding", "hr_workflow_decision", "hr_workflow_definition", "hr_workflow_event", "hr_workflow_failure", "hr_workflow_flow_type", "hr_workflow_instance", "hr_workflow_step", "hr_workflow_step_definition", "hr_workweek", "html_extraction", "iam_access_audit", "iam_api_key", "iam_emergency_door_request", "idempotency", "industry", "industry_curator", "infra_status", "ingest_runs", "integration_connection", "integration_connection_resource", "interview_decision_interview", "interview_decision_question", "interview_document_revision", "interview_hole", "interview_question", "interview_session", "interview_turn", "invitation", "invitation_code", "invitation_request", "io_comment", "io_contract", "io_import", "io_outbox", "item", "item_mastery", "judge_verdict", "jurisdiction_policy", "keyword_classification_queue", "kg_alert", "kg_chunk_entities", "kg_chunks", "kg_clusters", "kg_edges", "kg_entities", "kg_entity_aliases", "kg_suggestion_ack", "kg_sweep_queue", "kg_sweep_run", "kg_sweep_state", "kg_value_match", "knob_override", "knob_override_audit", "knob_rung_lock", "knob_scope_kind", "knob_write_door", "league_membership", "learn_doc", "library_doc", "lifecycle_archive", "lifecycle_archive_row", "lifecycle_audit", "lifecycle_entity_plan", "lifecycle_map_build", "lifecycle_reference_map", "lifecycle_run", "lifecycle_tier_ledger", "location", "mandate", "mandate_advance_batch_row", "mandate_binding", "mandate_binding_legacy", "mandate_legacy", "mandate_observation", "mandate_reference", "mandate_scan", "mandate_treatment", "marketing_initiative", "masterwork_corpus_item", "masterwork_run", "masterwork_run_kind", "masterwork_source", "math_course_structure", "math_problem", "matrx_action_ledger", "mcp_config", "mcp_server", "mcp_user_conn", "media_capture_handoff", "media_catalog_setting", "media_library_item", "media_selection_item", "media_selection_job", "media_source_library", "meet_call_invite", "meet_meeting", "meet_note", "meet_participant", "meet_recording", "meet_transcript_segment", "membership", "membership_grant", "merge_field_provenance", "message", "message_template", "meta_excluded_schema", "meta_table_stats_history", "metadata_reserved_keys", "microservice_project", "migration_log", "mtx_media_heal_queue", "mtx_public_url_guard", "ner_shadow", "note", "note_folder", "notification", "notification_channel_preference", "notification_event_override", "notification_event_type", "notification_preference", "notification_submission", "notify_outsider_door_baseline", "oauth_handoff_claim", "opinion_clusters", "opinions", "ops_issue_class", "ops_issue_event", "ops_proof_check", "ops_proof_run", "ops_proof_scenario", "org_admin_audit", "org_change_policy", "org_context_ledger", "org_industries", "org_member_control", "org_module_config", "org_plan", "org_repair_0253_backup", "organization", "organization_preferences", "organization_visibility_version", "output_feedback", "outreach_acceptance", "page_extraction_job", "page_extraction_page_run", "page_extraction_results", "page_extraction_runs", "page_intent_queue", "page_mapping_queue", "part_config", "part_config_sub", "party", "party_contact_point", "passkey_credential", "path_drift_repair_2026_09", "pc_article", "pc_episode", "pc_show", "pc_studio_run", "pc_studio_run_asset", "pdf_consolidation_log", "pdf_redaction_audit", "pdf_redaction_key_escrow", "permission_grant", "plan_cms_fill_item", "plan_cms_fill_job", "plan_entity", "plan_node", "plan_node_artifact", "plan_node_step", "plan_profile", "platform_action_request", "platform_actor_session", "platform_actor_token", "platform_actor_token_event", "platform_continued_access", "platform_org_knob_override", "platform_outcome_event", "platform_outsider_consumer", "platform_reachability", "platform_reference_category", "platform_reference_declaration", "platform_repo", "platform_saved_view", "platform_schema", "platform_share_link", "platform_user_knob_override", "podcast_race", "policy_overlap_backup", "policy_overlap_probe", "processed_document", "processed_document_page", "product_capture_file", "product_capture_item", "product_capture_payload", "product_capture_product", "product_capture_question", "profile", "project", "prompt", "provider_account", "provider_account_credential", "provision", "provision_generate_target", "provision_grant", "provision_marker", "provision_rule_message", "provision_schema", "provision_shape_debt", "provision_spec", "provision_spec_grandfather", "provision_vocabulary", "purpose", "quiz_session", "rag_ingest_run", "rag_library_audit_log", "rate_limit_buckets", "recompute_queue", "record", "record_alias", "redaction_mapping", "research_analysis", "research_content", "research_context_bundle", "research_document", "research_intent", "research_keyword", "research_media", "research_source", "research_synthesis", "research_tag", "research_template", "research_topic", "retention_policy", "retrieval_audit", "review_queue", "route_manifest_entry", "row_version", "rulebook", "runtime_operation_stream", "runtime_operation_stream_batch", "sandbox_instance", "sch_agent_task", "sch_run", "sch_task", "sch_trigger", "schema_client_exposure", "schema_migration_ledger", "schema_migration_legacy", "schema_migration_slot_grandfather", "schema_templates", "scope", "scope_association_suggestion", "scope_dataset_instance", "scope_door_registry", "scope_item_value_suggestion", "scope_suggestion", "scope_type", "scrape_domain", "scrape_domain_settings", "scrape_failure_log", "scrape_parsed_page", "scrape_path_override", "scrape_path_pattern", "scrape_retry_queue", "seo_ai_capability", "seo_ai_visibility_citation", "seo_ai_visibility_claim", "seo_ai_visibility_panel", "seo_ai_visibility_response", "seo_ai_visibility_signal", "seo_backlink", "seo_backlink_change_event", "seo_backlink_dimension_snapshot", "seo_backlink_observation", "seo_backlink_snapshot", "seo_change_assessment", "seo_change_event", "seo_change_item", "seo_change_metric", "seo_change_set", "seo_change_theory", "seo_collection_run", "seo_competitor", "seo_competitor_observation", "seo_competitor_opportunity", "seo_coverage_mention", "seo_coverage_tracker", "seo_dimension_value_matcher", "seo_engine_schedule", "seo_geo_place", "seo_gsc_dig_rule", "seo_keyword", "seo_keyword_class_rule", "seo_keyword_edge", "seo_keyword_facet", "seo_keyword_market", "seo_keyword_market_observation", "seo_keyword_place", "seo_keyword_saved_view", "seo_keyword_topic", "seo_landscape_brief", "seo_link_gap_domain", "seo_link_gap_match", "seo_map_facet", "seo_map_facet_value", "seo_map_topic", "seo_page_measurement_health", "seo_page_performance", "seo_provider_call", "seo_provider_task", "seo_rank_observation", "seo_rank_target", "seo_raw_payload", "seo_referring_domain_profile", "seo_reputation_case", "seo_search_performance_daily", "seo_serp_mention", "seo_serp_opportunity", "seo_serp_result", "seo_serp_snapshot", "seo_site_geo_area", "seo_site_keyword_offering", "seo_site_keyword_value", "seo_site_offering_value", "seo_site_topic_value", "seo_site_value_combo", "seo_site_value_worth", "seo_site_vocabulary", "seo_source_request", "seo_starter_pack", "seo_starter_pack_item", "seo_story_angle", "seo_topic", "seo_topical_map", "seo_web_analytics_daily", "share_link", "shareable_resource_registry", "shared_canvas_item", "short_link", "shortcut_category", "skill", "skill_category", "skill_render_definition", "sms_consent", "sms_conversation", "sms_message", "sms_message_media", "sms_notification", "sms_notification_preference", "sms_phone_number", "sms_rate_limits", "sms_webhook_logs", "soft_delete_edge", "source_authority", "stage_dockets_966c18eca7", "stage_ref_kind", "stamped_write_table", "structure", "structured_list", "studio_cleaned_segments", "studio_concept_items", "studio_documents", "studio_module_segments", "studio_raw_segments", "studio_recording_chunks", "studio_recording_segments", "studio_run", "studio_session", "studio_session_settings", "study_attempt", "study_goal", "study_media", "study_plan", "study_plan_block", "study_plan_day", "study_reminder_context", "study_reminder_delivery", "study_session", "study_source_chunk", "study_streak", "study_structured_section", "superseded_policy", "surface", "system_announcement", "system_context_item", "system_error", "system_orgs", "system_personal_org_failure", "system_write_failure", "task", "task_user_state", "taxonomy_node", "template_context_items", "template_scope_types", "templates", "thread", "tool", "tool_binding", "tool_bundle", "tool_call", "tool_definition_version", "tool_executor", "tool_surface_defaults", "tool_test_sample", "tool_ui", "tool_ui_incident", "tool_ui_version", "topic_placement_queue", "transcript", "trigger_event", "udt_dataset_fields", "udt_dataset_row_versions", "udt_dataset_rows", "udt_dataset_template", "udt_dataset_template_fields", "udt_document", "udt_document_snapshot", "udt_structured_list_items", "udt_workbook_snapshot", "ui_client", "ui_surface_agent_pref", "ui_surface_agent_role", "ui_surface_client_tool", "ui_surface_config", "ui_surface_value", "ui_surface_write_target", "unsubscribe_token", "uploads_inflight", "user_achievement", "user_active_context", "user_analysis_preference", "user_bookmark", "user_email_preference", "user_entity_state", "user_feedback", "user_follows", "user_form_profile", "user_markdown_sample", "user_memory", "user_preference", "user_profile", "user_secret", "user_secret_audit", "user_secret_grant", "user_stat", "user_storage_usage", "user_surface_state", "visibility_cache", "visibility_epoch", "voice", "war_room", "wbx_capture", "wbx_demo", "wbx_guidance", "wbx_highlight", "wbx_pattern", "wbx_recipe", "wbx_screenshot", "wbx_seo_audit", "wc_claim", "wc_impairment_definition", "wc_injury", "wc_report", "web_analysis_item", "web_brand", "web_brand_asset", "web_brand_offering", "web_business_fact", "web_business_location", "web_channel_analytics_daily", "web_crawl_event", "web_crawl_preset", "web_crawl_schedule", "web_crawl_session", "web_crawl_url", "web_discovered_item", "web_finding", "web_gsc_page_stat", "web_link_edge", "web_listing_publisher", "web_location_listing", "web_offering_template", "web_page", "web_page_content", "web_page_evidence", "web_page_sitemap", "web_property", "web_provider", "web_result", "web_screenshot", "web_site", "web_site_endpoint_rule", "web_site_item_config", "web_site_offering", "web_sitemap", "web_snapshot", "web_tag_manager_snapshot", "web_youtube_video", "webhook_deliveries", "webhook_dispatch_state", "webhooks", "wf_node_data_slot", "work_claim", "work_item", "workbook", "worker_heartbeat", "workflow", "workflow_card", "workflow_checkpoint", "workflow_comparison", "workflow_definition_version", "workflow_idempotency", "workflow_job", "workflow_node_events", "workflow_node_outcome", "workflow_plan", "workflow_plan_event", "workflow_plan_sample", "workflow_recovery_audit", "workflow_run", "workflow_run_log", "workflow_runtime_surface", "workflow_template", "workflow_trigger", "workflow_trigger_fire", "workflow_work_item", "working_document", "write_guard_key", "youtube_quota_day", "youtube_search", "youtube_video"];
|
|
3077
3127
|
type StoreRefusalCode = (typeof STORE_REFUSAL_CODES)[number]["code"];
|
|
3078
3128
|
type StoreDoorName = (typeof STORE_DOORS)[number]["name"];
|
|
3079
3129
|
type EntityToken = (typeof ENTITY_TOKENS)[number];
|
|
@@ -3193,6 +3243,157 @@ type Freshness = (typeof FRESHNESS)[number];
|
|
|
3193
3243
|
declare const TABLE_DISPLAYS: readonly ["list", "grid", "board", "calendar", "timeline"];
|
|
3194
3244
|
type TableDisplay = (typeof TABLE_DISPLAYS)[number];
|
|
3195
3245
|
|
|
3246
|
+
/**
|
|
3247
|
+
* What KIND of refusal it was. The mapping from SQLSTATE to code lives in
|
|
3248
|
+
* `/core`, and it is checked against `STORE_REFUSAL_CODES` — the list of every
|
|
3249
|
+
* SQLSTATE the store's own bodies raise, generated from the live catalogue. A
|
|
3250
|
+
* code the store can raise and this union cannot name is a hole, and the
|
|
3251
|
+
* real-door suite fails on it.
|
|
3252
|
+
*/
|
|
3253
|
+
type RecordsErrorCode =
|
|
3254
|
+
/** `PT409` — somebody else's write won. The record clock moved under you. */
|
|
3255
|
+
"stale_write"
|
|
3256
|
+
/** `42501` — a door. Either the schema is revoked, or the store is switched off, or this principal may not pass. */
|
|
3257
|
+
| "door"
|
|
3258
|
+
/** `23514` — a Rule, a shape guard, or a validation the store enforces refused it. */
|
|
3259
|
+
| "refused_by_rule"
|
|
3260
|
+
/**
|
|
3261
|
+
* `22004` / `22023` / `22P02` — the call itself was malformed: a missing id, a
|
|
3262
|
+
* patch that is not an object, or a value that does not fit the type the
|
|
3263
|
+
* store holds for that Field. The store's own message names the value and the
|
|
3264
|
+
* type it could not be read as.
|
|
3265
|
+
*/
|
|
3266
|
+
| "invalid_argument"
|
|
3267
|
+
/** `02000` — the record is not here (deleted, never existed, or another organization's). */
|
|
3268
|
+
| "not_found"
|
|
3269
|
+
/** `23503` — something it points at is not there. */
|
|
3270
|
+
| "missing_reference"
|
|
3271
|
+
/** `23505` — that thing is already here. */
|
|
3272
|
+
| "already_exists"
|
|
3273
|
+
/** `0A000` — the store does not do this yet, and says which part. */
|
|
3274
|
+
| "not_supported"
|
|
3275
|
+
/** `53400` / `22012` — the store ran out of something, or the arithmetic could not be done. */
|
|
3276
|
+
| "store_limit"
|
|
3277
|
+
/**
|
|
3278
|
+
* `40001` — the visibility snapshot this connection carries is older than a
|
|
3279
|
+
* write the reader has already observed, so the store refused to answer at
|
|
3280
|
+
* all rather than hand back something they just lost. Retry on a fresh
|
|
3281
|
+
* connection; it is the one refusal in this list that is worth repeating.
|
|
3282
|
+
*/
|
|
3283
|
+
| "stale_read"
|
|
3284
|
+
/**
|
|
3285
|
+
* `57014` — the store cancelled the statement at its own timeout. Nothing was
|
|
3286
|
+
* refused on its merits and nothing was written; the same call can succeed on
|
|
3287
|
+
* a smaller page or a quieter moment. With `stale_read`, one of the only two
|
|
3288
|
+
* refusals in this list worth repeating.
|
|
3289
|
+
*/
|
|
3290
|
+
| "timed_out"
|
|
3291
|
+
/**
|
|
3292
|
+
* THE DOOR THAT DOES NOT EXIST YET. Not an error condition in the database —
|
|
3293
|
+
* this package asked for a door that is not in the live catalogue, so it
|
|
3294
|
+
* refused to guess. `door_absent` always names the door and the lane that
|
|
3295
|
+
* owns it; it is never a silent no-op and never an empty list.
|
|
3296
|
+
*/
|
|
3297
|
+
| "door_absent"
|
|
3298
|
+
/**
|
|
3299
|
+
* `PGRST202` / `PGRST205` — PostgREST could not find the function or the
|
|
3300
|
+
* schema. The database this client is pointed at is not serving the record
|
|
3301
|
+
* store: the schema is not exposed, or the grants are not there.
|
|
3302
|
+
*/
|
|
3303
|
+
| "store_not_served"
|
|
3304
|
+
/**
|
|
3305
|
+
* `PT428` — the move was not refused and it did not happen: a stage gate whose
|
|
3306
|
+
* `on_fail` is `require_approval` filed a request with the people who can
|
|
3307
|
+
* answer it, and left the record exactly where it was. The store's own
|
|
3308
|
+
* sentence is the gate's own sentence, and the DETAIL carries the approval.
|
|
3309
|
+
*
|
|
3310
|
+
* It is the one code in this list that is not a failure. A screen that drew it
|
|
3311
|
+
* as one would tell somebody their work was rejected when it is being
|
|
3312
|
+
* considered; a screen that drew it as success would move the card while
|
|
3313
|
+
* somebody is still deciding. `custom.pipeline_move` answers an object on this
|
|
3314
|
+
* path rather than raising, so a caller only meets PT428 when the move went
|
|
3315
|
+
* through the ORDINARY write door — which is most of them.
|
|
3316
|
+
*/
|
|
3317
|
+
| "needs_approval"
|
|
3318
|
+
/** Anything the mapper could not place. It still carries the store's own words. */
|
|
3319
|
+
| "internal";
|
|
3320
|
+
/** A refusal, in the store's own words. */
|
|
3321
|
+
interface RecordsError {
|
|
3322
|
+
code: RecordsErrorCode;
|
|
3323
|
+
/** THE STORE'S message, verbatim. Never paraphrased. */
|
|
3324
|
+
message: string;
|
|
3325
|
+
/** THE STORE'S hint, verbatim — this is where the remedy is written. */
|
|
3326
|
+
hint?: string;
|
|
3327
|
+
/** The SQLSTATE, so a caller can be exact when a code is not exact enough. */
|
|
3328
|
+
sqlstate?: string;
|
|
3329
|
+
/** Whatever the store put in DETAIL, parsed when it was json. */
|
|
3330
|
+
detail?: unknown;
|
|
3331
|
+
}
|
|
3332
|
+
type RecordsResult<T> = {
|
|
3333
|
+
ok: true;
|
|
3334
|
+
data: T;
|
|
3335
|
+
} | {
|
|
3336
|
+
ok: false;
|
|
3337
|
+
error: RecordsError;
|
|
3338
|
+
};
|
|
3339
|
+
/** Narrowing helper for hosts compiled without `strictNullChecks`. */
|
|
3340
|
+
declare function isRecordsErr<T>(result: RecordsResult<T>): result is {
|
|
3341
|
+
ok: false;
|
|
3342
|
+
error: RecordsError;
|
|
3343
|
+
};
|
|
3344
|
+
declare const ok: <T>(data: T) => RecordsResult<T>;
|
|
3345
|
+
declare const err: <T>(error: RecordsError) => RecordsResult<T>;
|
|
3346
|
+
/**
|
|
3347
|
+
* A `stale_write` carries everything the screen needs to show the conflict
|
|
3348
|
+
* rather than a toast: which version you wrote against, which one won, and the
|
|
3349
|
+
* value of every field you touched as it stands now. The store builds this and
|
|
3350
|
+
* this type is its shape — nothing is reconstructed on the client.
|
|
3351
|
+
*/
|
|
3352
|
+
interface StaleWriteDetail {
|
|
3353
|
+
expected_version: number;
|
|
3354
|
+
current_version: number;
|
|
3355
|
+
contested_fields: Record<string, unknown>;
|
|
3356
|
+
}
|
|
3357
|
+
/** The parsed form of a `stale_write`, for `useRecordMutation`'s conflict state. */
|
|
3358
|
+
interface WriteConflict extends StaleWriteDetail {
|
|
3359
|
+
record_id: Uuid;
|
|
3360
|
+
/** The store's own sentence — what the screen shows. */
|
|
3361
|
+
message: string;
|
|
3362
|
+
/** The store's own remedy. */
|
|
3363
|
+
hint: string;
|
|
3364
|
+
}
|
|
3365
|
+
/**
|
|
3366
|
+
* The structural shape of a PostgREST failure as supabase-js resolves it: a
|
|
3367
|
+
* PLAIN OBJECT parsed from the response body, NOT an `Error`. Reading
|
|
3368
|
+
* `.message` off `instanceof Error` discards the real database message on every
|
|
3369
|
+
* genuine failure.
|
|
3370
|
+
*/
|
|
3371
|
+
interface PgError {
|
|
3372
|
+
code?: string | null;
|
|
3373
|
+
message: string;
|
|
3374
|
+
details?: string | null;
|
|
3375
|
+
hint?: string | null;
|
|
3376
|
+
}
|
|
3377
|
+
/** What the validation mirror answers: the same sentence the trigger would raise. */
|
|
3378
|
+
interface PredictedRefusal {
|
|
3379
|
+
/** The field key the store would name, when it names one. */
|
|
3380
|
+
field_key?: string;
|
|
3381
|
+
/** The message the store's own body would raise, word for word. */
|
|
3382
|
+
message: string;
|
|
3383
|
+
hint?: string;
|
|
3384
|
+
sqlstate: string;
|
|
3385
|
+
/**
|
|
3386
|
+
* Which of the store's bodies would raise it, so a reader can go and check
|
|
3387
|
+
* that this mirror still tells the truth.
|
|
3388
|
+
*/
|
|
3389
|
+
predicted_by: string;
|
|
3390
|
+
}
|
|
3391
|
+
/** VAL-5 / VAL-6, named so a caller can say which word was the problem. */
|
|
3392
|
+
interface ForbiddenEnvelopeWord {
|
|
3393
|
+
field_key: string;
|
|
3394
|
+
word: PerValueAccessWord;
|
|
3395
|
+
}
|
|
3396
|
+
|
|
3196
3397
|
/** A `uuid` as the store writes it. */
|
|
3197
3398
|
type Uuid = string;
|
|
3198
3399
|
/** An ISO-8601 timestamp, as jsonb carries it. */
|
|
@@ -3360,6 +3561,19 @@ interface RecordRead {
|
|
|
3360
3561
|
rule_version: number;
|
|
3361
3562
|
computed_at: Timestamp;
|
|
3362
3563
|
}>;
|
|
3564
|
+
/**
|
|
3565
|
+
* WHY `computed` IS EMPTY, when it is empty because nobody could read it.
|
|
3566
|
+
*
|
|
3567
|
+
* `custom.computed_provenance` is a footnote beside the record and its door is not
|
|
3568
|
+
* open to a person's seat (no EXECUTE for `authenticated`, measured 2026-09-21). It
|
|
3569
|
+
* used to fail the WHOLE read, so an organization's own owner was told "You do not
|
|
3570
|
+
* have access to this" about a record he could read — see `core/client.ts`. The
|
|
3571
|
+
* record comes back now, and this carries what the footnote's door said, so a screen
|
|
3572
|
+
* that draws rule provenance can say it could not read it rather than draw nothing
|
|
3573
|
+
* and mean two different things by it. `null` means the footnote was read fine (or
|
|
3574
|
+
* was never asked for).
|
|
3575
|
+
*/
|
|
3576
|
+
computedUnavailable?: RecordsError | null;
|
|
3363
3577
|
}
|
|
3364
3578
|
|
|
3365
3579
|
/** `public.permission_level`, in the store's own order. */
|
|
@@ -3873,7 +4087,25 @@ interface PipelineStage {
|
|
|
3873
4087
|
}
|
|
3874
4088
|
/** What each Rule of a pipeline is about. Closed, and the store is the authority. */
|
|
3875
4089
|
declare const PIPELINE_RULE_KINDS: readonly ["moves", "requires", "who", "limit", "entry"];
|
|
3876
|
-
|
|
4090
|
+
/**
|
|
4091
|
+
* A GATE is the general form under `requires`, `who` and `limit`, and the store spells it
|
|
4092
|
+
* `gate:1`, `gate:2` … so several gates can sit on one stage without one overwriting the
|
|
4093
|
+
* next. It is matched as a prefix rather than listed, because the number is open.
|
|
4094
|
+
*/
|
|
4095
|
+
type PipelineRuleKind = (typeof PIPELINE_RULE_KINDS)[number] | `gate:${number}`;
|
|
4096
|
+
/**
|
|
4097
|
+
* WHAT A GATE DOES WHEN IT SAYS NO. The closed list `custom.stage_rule_on_fail_kinds()`
|
|
4098
|
+
* answers — a screen offering a third answer would be offering something no Rule can carry.
|
|
4099
|
+
*/
|
|
4100
|
+
declare const STAGE_RULE_ON_FAIL: readonly ["refuse", "require_approval"];
|
|
4101
|
+
type StageRuleOnFail = (typeof STAGE_RULE_ON_FAIL)[number];
|
|
4102
|
+
/**
|
|
4103
|
+
* THE ORGANIZATION'S ONE KNOB (`custom/stage_rule_enforcement`). `refuse` is the default and
|
|
4104
|
+
* what a gate is for; `warn` lets the move through and hands the same sentence back. It never
|
|
4105
|
+
* softens `require_approval` — "ask somebody" and "carry on with a note" are different answers.
|
|
4106
|
+
*/
|
|
4107
|
+
declare const STAGE_RULE_ENFORCEMENT: readonly ["refuse", "warn"];
|
|
4108
|
+
type StageRuleEnforcement = (typeof STAGE_RULE_ENFORCEMENT)[number];
|
|
3877
4109
|
/**
|
|
3878
4110
|
* One transition Rule, as `custom.pipeline_read` hands it back — WITH the sentence it says
|
|
3879
4111
|
* when it refuses, because a screen that knows a rule exists but not what it refuses in
|
|
@@ -3890,8 +4122,64 @@ interface PipelineRule {
|
|
|
3890
4122
|
uses: string[];
|
|
3891
4123
|
/** What happens when a card ARRIVES in this stage — assign, notify, start a checklist. */
|
|
3892
4124
|
on_entry: Record<string, unknown> | null;
|
|
4125
|
+
/**
|
|
4126
|
+
* What this Rule does when it STOPS a move. `refuse` is the default and what every
|
|
4127
|
+
* pipeline Rule did before gates existed; `require_approval` files the change in the
|
|
4128
|
+
* approvals queue with this Rule's sentence as the reason and leaves the record alone.
|
|
4129
|
+
*/
|
|
4130
|
+
on_fail?: StageRuleOnFail;
|
|
4131
|
+
/**
|
|
4132
|
+
* THE GATE AS IT WAS WRITTEN, which is the only thing that makes it EDITABLE.
|
|
4133
|
+
*
|
|
4134
|
+
* A gate is saved as one Rule whose expression is an `or` of four arms — not this
|
|
4135
|
+
* stage, OR not a move, OR the gate is not about this card, OR the demand holds. That
|
|
4136
|
+
* compiled form used to be the only copy, so a settings screen could read a gate's name
|
|
4137
|
+
* and its sentence and nothing else: it would open every existing rule with a blank
|
|
4138
|
+
* condition and overwrite it the first time somebody pressed Save.
|
|
4139
|
+
*
|
|
4140
|
+
* Absent on the four sugar rules (`moves`, `requires`, `who`, `limit`), which nobody
|
|
4141
|
+
* writes in a condition builder, and on any gate declared before the store started
|
|
4142
|
+
* keeping them. Absent means "this one was not written here" — never "it has no
|
|
4143
|
+
* condition", which is a different and dangerous thing to draw.
|
|
4144
|
+
*/
|
|
4145
|
+
when?: Record<string, unknown> | null;
|
|
4146
|
+
/** @see {@link PipelineRule.when} — the condition that has to hold, as it was written. */
|
|
4147
|
+
demands?: Record<string, unknown> | null;
|
|
3893
4148
|
version: number;
|
|
3894
4149
|
}
|
|
4150
|
+
/**
|
|
4151
|
+
* WHAT A GATE WOULD DO TO THIS BOARD TODAY, from `custom.pipeline_gate_preview`.
|
|
4152
|
+
*
|
|
4153
|
+
* The one question somebody writing a rule that will refuse their colleagues' work
|
|
4154
|
+
* actually has, answered while they are still typing it — the gate is judged as an
|
|
4155
|
+
* argument, nothing is saved, and nothing is written. The store compiles it with the
|
|
4156
|
+
* SAME compiler `pipeline_declare` uses, so this count and the refusal at the door are
|
|
4157
|
+
* the same rule.
|
|
4158
|
+
*/
|
|
4159
|
+
interface PipelineGatePreview {
|
|
4160
|
+
is_pipeline: boolean;
|
|
4161
|
+
/** Present, and it says what would make a board exist, when `is_pipeline` is false. */
|
|
4162
|
+
why?: string;
|
|
4163
|
+
/** The stage key the gate was tried against. */
|
|
4164
|
+
stage?: string;
|
|
4165
|
+
/** Live cards of this board this person may see that are not already in that stage. */
|
|
4166
|
+
considered: number;
|
|
4167
|
+
/** How many of them this gate would turn away. */
|
|
4168
|
+
refused: number;
|
|
4169
|
+
/**
|
|
4170
|
+
* Up to three of them, BY NAME. A count with no names is a number nobody can check, and
|
|
4171
|
+
* checking it is the whole reason to show it before saving.
|
|
4172
|
+
*/
|
|
4173
|
+
examples: {
|
|
4174
|
+
record_id: Uuid;
|
|
4175
|
+
title: string;
|
|
4176
|
+
}[];
|
|
4177
|
+
/** True when the board is larger than the preview will walk, so the count is a floor. */
|
|
4178
|
+
truncated?: boolean;
|
|
4179
|
+
on_fail?: StageRuleOnFail;
|
|
4180
|
+
/** The word this board uses for one of its cards — "quote", "deal" — for the sentence. */
|
|
4181
|
+
noun?: string;
|
|
4182
|
+
}
|
|
3895
4183
|
/** The whole board's definition, from `custom.pipeline_read`. */
|
|
3896
4184
|
interface Pipeline {
|
|
3897
4185
|
is_pipeline: boolean;
|
|
@@ -3937,6 +4225,20 @@ interface PipelineMissingField {
|
|
|
3937
4225
|
interface PipelineVerdict {
|
|
3938
4226
|
allowed: boolean;
|
|
3939
4227
|
is_pipeline: boolean;
|
|
4228
|
+
/**
|
|
4229
|
+
* The THREE answers a board has to draw differently, and the reason `allowed` alone is
|
|
4230
|
+
* not enough: a card that is going for approval has not been refused, and a card that
|
|
4231
|
+
* moved under `warn` has not been waved through silently.
|
|
4232
|
+
*/
|
|
4233
|
+
outcome?: "allowed" | "refused" | "needs_approval" | "warned";
|
|
4234
|
+
/** What this organization's one knob says right now. */
|
|
4235
|
+
enforcement?: StageRuleEnforcement;
|
|
4236
|
+
/** Set on `needs_approval`: what pressing on will actually do, in plain words. */
|
|
4237
|
+
what_happens?: string;
|
|
4238
|
+
/** Set on `warned`: the gates this organization asked to be told about, not stopped by. */
|
|
4239
|
+
warnings?: StageRuleWarning[];
|
|
4240
|
+
/** Approvals already filed against this card's own stage column that nobody has decided. */
|
|
4241
|
+
pending?: StagePending[];
|
|
3940
4242
|
/** The stage key the move was asked about. */
|
|
3941
4243
|
to?: string;
|
|
3942
4244
|
/** The store's own sentence — shown verbatim, never paraphrased by a screen. */
|
|
@@ -3945,6 +4247,8 @@ interface PipelineVerdict {
|
|
|
3945
4247
|
rule_id?: Uuid;
|
|
3946
4248
|
rule_version?: number;
|
|
3947
4249
|
kind?: PipelineRuleKind;
|
|
4250
|
+
/** What this Rule does when it stops a move. */
|
|
4251
|
+
on_fail?: StageRuleOnFail;
|
|
3948
4252
|
/**
|
|
3949
4253
|
* When a stage demands columns that are empty, exactly which ones — so the screen can
|
|
3950
4254
|
* prompt for them on entry instead of sending the person away to find them.
|
|
@@ -3981,9 +4285,80 @@ interface PipelineSpec {
|
|
|
3981
4285
|
limits?: Record<string, number>;
|
|
3982
4286
|
/** Stage name → what happens when a card arrives: assign, notify, start a checklist. */
|
|
3983
4287
|
on_entry?: Record<string, Record<string, unknown>>;
|
|
4288
|
+
/**
|
|
4289
|
+
* Stage name → the gates a card has to get past to land there. The general form under
|
|
4290
|
+
* `requires`, `who` and `limits`, and the only one that can say `require_approval`.
|
|
4291
|
+
*/
|
|
4292
|
+
gates?: Record<string, PipelineGate[]>;
|
|
3984
4293
|
moves_message?: string;
|
|
3985
4294
|
requires_messages?: Record<string, string>;
|
|
3986
4295
|
}
|
|
4296
|
+
/**
|
|
4297
|
+
* A gate the organization's own knob overruled. NOTHING FAILS SILENTLY: the move happened
|
|
4298
|
+
* and the sentence comes back WITH it, together with what to do about it.
|
|
4299
|
+
*/
|
|
4300
|
+
interface StageRuleWarning {
|
|
4301
|
+
rule_id: Uuid;
|
|
4302
|
+
rule: string;
|
|
4303
|
+
/** The gate's own sentence, shown verbatim. */
|
|
4304
|
+
why: string;
|
|
4305
|
+
what_to_do: string;
|
|
4306
|
+
}
|
|
4307
|
+
/** An approval filed against this card's stage column that nobody has decided yet. */
|
|
4308
|
+
interface StagePending {
|
|
4309
|
+
approval_id: Uuid;
|
|
4310
|
+
/** The stage key the card is waiting to go to. */
|
|
4311
|
+
to: string;
|
|
4312
|
+
why: string | null;
|
|
4313
|
+
requested_at: string;
|
|
4314
|
+
state: string;
|
|
4315
|
+
}
|
|
4316
|
+
/**
|
|
4317
|
+
* The same wait, asked for a WHOLE BOARD in one question (`custom.pipeline_pending`), so a
|
|
4318
|
+
* board can badge every card that is waiting without a round trip per card — and therefore
|
|
4319
|
+
* actually does it, instead of drawing a filed card as if nobody had ever dragged it.
|
|
4320
|
+
*/
|
|
4321
|
+
interface StagePendingOnBoard extends StagePending {
|
|
4322
|
+
record_id: Uuid;
|
|
4323
|
+
}
|
|
4324
|
+
/** What `custom.pipeline_move` answers — an OBJECT on every path, never a bare number. */
|
|
4325
|
+
interface PipelineMoveResult {
|
|
4326
|
+
applied: boolean;
|
|
4327
|
+
moved: boolean;
|
|
4328
|
+
outcome: "moved" | "moved_with_warnings" | "needs_approval";
|
|
4329
|
+
to: string;
|
|
4330
|
+
version: number;
|
|
4331
|
+
/** Set on `moved_with_warnings`. */
|
|
4332
|
+
warnings?: StageRuleWarning[];
|
|
4333
|
+
/** Set on `needs_approval`: the gate's sentence, the wait that was filed, and who has it. */
|
|
4334
|
+
why?: string;
|
|
4335
|
+
rule?: string;
|
|
4336
|
+
rule_id?: Uuid;
|
|
4337
|
+
approval_id?: Uuid;
|
|
4338
|
+
approvers?: {
|
|
4339
|
+
user_id: Uuid;
|
|
4340
|
+
name: string | null;
|
|
4341
|
+
why: string;
|
|
4342
|
+
}[];
|
|
4343
|
+
what_happens?: string;
|
|
4344
|
+
}
|
|
4345
|
+
/**
|
|
4346
|
+
* ONE GATE ON A STAGE, as the condition builder on the stage settings screen writes it.
|
|
4347
|
+
* `requires`, `who` and `limits` are sugar over this shape; this is the general form, and
|
|
4348
|
+
* it speaks the SAME condition language as filters and formulas — never a second one.
|
|
4349
|
+
*/
|
|
4350
|
+
interface PipelineGate {
|
|
4351
|
+
/** What the gate is called in the settings list. */
|
|
4352
|
+
name?: string;
|
|
4353
|
+
/** The sentence a person reads when it stops them. Required: a refusal with no words is a dead end. */
|
|
4354
|
+
message: string;
|
|
4355
|
+
/** WHEN this gate is about this record at all. Absent means always. */
|
|
4356
|
+
when?: Record<string, unknown>;
|
|
4357
|
+
/** What has to hold. One condition node of the one Rule language. */
|
|
4358
|
+
demands: Record<string, unknown>;
|
|
4359
|
+
/** Default `refuse`. */
|
|
4360
|
+
on_fail?: StageRuleOnFail;
|
|
4361
|
+
}
|
|
3987
4362
|
/**
|
|
3988
4363
|
* THE ONE PLACE A SCREEN DECIDES WHETHER A CARD LOOKS DRAGGABLE — and it decides on the
|
|
3989
4364
|
* PERSON, not on the rules. Whether a particular move is allowed is
|
|
@@ -5946,143 +6321,6 @@ interface ResolvedPublishBinding {
|
|
|
5946
6321
|
notice: string;
|
|
5947
6322
|
}
|
|
5948
6323
|
|
|
5949
|
-
/**
|
|
5950
|
-
* What KIND of refusal it was. The mapping from SQLSTATE to code lives in
|
|
5951
|
-
* `/core`, and it is checked against `STORE_REFUSAL_CODES` — the list of every
|
|
5952
|
-
* SQLSTATE the store's own bodies raise, generated from the live catalogue. A
|
|
5953
|
-
* code the store can raise and this union cannot name is a hole, and the
|
|
5954
|
-
* real-door suite fails on it.
|
|
5955
|
-
*/
|
|
5956
|
-
type RecordsErrorCode =
|
|
5957
|
-
/** `PT409` — somebody else's write won. The record clock moved under you. */
|
|
5958
|
-
"stale_write"
|
|
5959
|
-
/** `42501` — a door. Either the schema is revoked, or the store is switched off, or this principal may not pass. */
|
|
5960
|
-
| "door"
|
|
5961
|
-
/** `23514` — a Rule, a shape guard, or a validation the store enforces refused it. */
|
|
5962
|
-
| "refused_by_rule"
|
|
5963
|
-
/**
|
|
5964
|
-
* `22004` / `22023` / `22P02` — the call itself was malformed: a missing id, a
|
|
5965
|
-
* patch that is not an object, or a value that does not fit the type the
|
|
5966
|
-
* store holds for that Field. The store's own message names the value and the
|
|
5967
|
-
* type it could not be read as.
|
|
5968
|
-
*/
|
|
5969
|
-
| "invalid_argument"
|
|
5970
|
-
/** `02000` — the record is not here (deleted, never existed, or another organization's). */
|
|
5971
|
-
| "not_found"
|
|
5972
|
-
/** `23503` — something it points at is not there. */
|
|
5973
|
-
| "missing_reference"
|
|
5974
|
-
/** `23505` — that thing is already here. */
|
|
5975
|
-
| "already_exists"
|
|
5976
|
-
/** `0A000` — the store does not do this yet, and says which part. */
|
|
5977
|
-
| "not_supported"
|
|
5978
|
-
/** `53400` / `22012` — the store ran out of something, or the arithmetic could not be done. */
|
|
5979
|
-
| "store_limit"
|
|
5980
|
-
/**
|
|
5981
|
-
* `40001` — the visibility snapshot this connection carries is older than a
|
|
5982
|
-
* write the reader has already observed, so the store refused to answer at
|
|
5983
|
-
* all rather than hand back something they just lost. Retry on a fresh
|
|
5984
|
-
* connection; it is the one refusal in this list that is worth repeating.
|
|
5985
|
-
*/
|
|
5986
|
-
| "stale_read"
|
|
5987
|
-
/**
|
|
5988
|
-
* `57014` — the store cancelled the statement at its own timeout. Nothing was
|
|
5989
|
-
* refused on its merits and nothing was written; the same call can succeed on
|
|
5990
|
-
* a smaller page or a quieter moment. With `stale_read`, one of the only two
|
|
5991
|
-
* refusals in this list worth repeating.
|
|
5992
|
-
*/
|
|
5993
|
-
| "timed_out"
|
|
5994
|
-
/**
|
|
5995
|
-
* THE DOOR THAT DOES NOT EXIST YET. Not an error condition in the database —
|
|
5996
|
-
* this package asked for a door that is not in the live catalogue, so it
|
|
5997
|
-
* refused to guess. `door_absent` always names the door and the lane that
|
|
5998
|
-
* owns it; it is never a silent no-op and never an empty list.
|
|
5999
|
-
*/
|
|
6000
|
-
| "door_absent"
|
|
6001
|
-
/**
|
|
6002
|
-
* `PGRST202` / `PGRST205` — PostgREST could not find the function or the
|
|
6003
|
-
* schema. The database this client is pointed at is not serving the record
|
|
6004
|
-
* store: the schema is not exposed, or the grants are not there.
|
|
6005
|
-
*/
|
|
6006
|
-
| "store_not_served"
|
|
6007
|
-
/** Anything the mapper could not place. It still carries the store's own words. */
|
|
6008
|
-
| "internal";
|
|
6009
|
-
/** A refusal, in the store's own words. */
|
|
6010
|
-
interface RecordsError {
|
|
6011
|
-
code: RecordsErrorCode;
|
|
6012
|
-
/** THE STORE'S message, verbatim. Never paraphrased. */
|
|
6013
|
-
message: string;
|
|
6014
|
-
/** THE STORE'S hint, verbatim — this is where the remedy is written. */
|
|
6015
|
-
hint?: string;
|
|
6016
|
-
/** The SQLSTATE, so a caller can be exact when a code is not exact enough. */
|
|
6017
|
-
sqlstate?: string;
|
|
6018
|
-
/** Whatever the store put in DETAIL, parsed when it was json. */
|
|
6019
|
-
detail?: unknown;
|
|
6020
|
-
}
|
|
6021
|
-
type RecordsResult<T> = {
|
|
6022
|
-
ok: true;
|
|
6023
|
-
data: T;
|
|
6024
|
-
} | {
|
|
6025
|
-
ok: false;
|
|
6026
|
-
error: RecordsError;
|
|
6027
|
-
};
|
|
6028
|
-
/** Narrowing helper for hosts compiled without `strictNullChecks`. */
|
|
6029
|
-
declare function isRecordsErr<T>(result: RecordsResult<T>): result is {
|
|
6030
|
-
ok: false;
|
|
6031
|
-
error: RecordsError;
|
|
6032
|
-
};
|
|
6033
|
-
declare const ok: <T>(data: T) => RecordsResult<T>;
|
|
6034
|
-
declare const err: <T>(error: RecordsError) => RecordsResult<T>;
|
|
6035
|
-
/**
|
|
6036
|
-
* A `stale_write` carries everything the screen needs to show the conflict
|
|
6037
|
-
* rather than a toast: which version you wrote against, which one won, and the
|
|
6038
|
-
* value of every field you touched as it stands now. The store builds this and
|
|
6039
|
-
* this type is its shape — nothing is reconstructed on the client.
|
|
6040
|
-
*/
|
|
6041
|
-
interface StaleWriteDetail {
|
|
6042
|
-
expected_version: number;
|
|
6043
|
-
current_version: number;
|
|
6044
|
-
contested_fields: Record<string, unknown>;
|
|
6045
|
-
}
|
|
6046
|
-
/** The parsed form of a `stale_write`, for `useRecordMutation`'s conflict state. */
|
|
6047
|
-
interface WriteConflict extends StaleWriteDetail {
|
|
6048
|
-
record_id: Uuid;
|
|
6049
|
-
/** The store's own sentence — what the screen shows. */
|
|
6050
|
-
message: string;
|
|
6051
|
-
/** The store's own remedy. */
|
|
6052
|
-
hint: string;
|
|
6053
|
-
}
|
|
6054
|
-
/**
|
|
6055
|
-
* The structural shape of a PostgREST failure as supabase-js resolves it: a
|
|
6056
|
-
* PLAIN OBJECT parsed from the response body, NOT an `Error`. Reading
|
|
6057
|
-
* `.message` off `instanceof Error` discards the real database message on every
|
|
6058
|
-
* genuine failure.
|
|
6059
|
-
*/
|
|
6060
|
-
interface PgError {
|
|
6061
|
-
code?: string | null;
|
|
6062
|
-
message: string;
|
|
6063
|
-
details?: string | null;
|
|
6064
|
-
hint?: string | null;
|
|
6065
|
-
}
|
|
6066
|
-
/** What the validation mirror answers: the same sentence the trigger would raise. */
|
|
6067
|
-
interface PredictedRefusal {
|
|
6068
|
-
/** The field key the store would name, when it names one. */
|
|
6069
|
-
field_key?: string;
|
|
6070
|
-
/** The message the store's own body would raise, word for word. */
|
|
6071
|
-
message: string;
|
|
6072
|
-
hint?: string;
|
|
6073
|
-
sqlstate: string;
|
|
6074
|
-
/**
|
|
6075
|
-
* Which of the store's bodies would raise it, so a reader can go and check
|
|
6076
|
-
* that this mirror still tells the truth.
|
|
6077
|
-
*/
|
|
6078
|
-
predicted_by: string;
|
|
6079
|
-
}
|
|
6080
|
-
/** VAL-5 / VAL-6, named so a caller can say which word was the problem. */
|
|
6081
|
-
interface ForbiddenEnvelopeWord {
|
|
6082
|
-
field_key: string;
|
|
6083
|
-
word: PerValueAccessWord;
|
|
6084
|
-
}
|
|
6085
|
-
|
|
6086
6324
|
/**
|
|
6087
6325
|
* The data seam: a structural subset of `SupabaseClient`. The package never
|
|
6088
6326
|
* opens a database connection of its own and never holds a key — the HOST
|
|
@@ -6518,13 +6756,20 @@ interface RecordsClient {
|
|
|
6518
6756
|
record_id: Uuid;
|
|
6519
6757
|
to: string;
|
|
6520
6758
|
}): Promise<RecordsResult<PipelineVerdict>>;
|
|
6521
|
-
/**
|
|
6759
|
+
/**
|
|
6760
|
+
* Move a record to a stage. An ORDINARY record write, judged by the same Rules.
|
|
6761
|
+
*
|
|
6762
|
+
* It answers an OBJECT on every path. A gate whose `on_fail` is `require_approval`
|
|
6763
|
+
* comes back `applied: false` with the wait it filed — the record has NOT moved, and a
|
|
6764
|
+
* screen that treated the call's success as the move's success would show the card in
|
|
6765
|
+
* the wrong column while somebody is still deciding.
|
|
6766
|
+
*/
|
|
6522
6767
|
pipelineMove(args: {
|
|
6523
6768
|
record_id: Uuid;
|
|
6524
6769
|
to: string;
|
|
6525
6770
|
also?: Record<string, unknown>;
|
|
6526
6771
|
expected_version?: number | null;
|
|
6527
|
-
}): Promise<RecordsResult<
|
|
6772
|
+
}): Promise<RecordsResult<PipelineMoveResult>>;
|
|
6528
6773
|
/** Declare (or re-state) a pipeline: the stage column and its transition Rules. */
|
|
6529
6774
|
pipelineDeclare(args: {
|
|
6530
6775
|
table_id: Uuid;
|
|
@@ -6534,6 +6779,39 @@ interface RecordsClient {
|
|
|
6534
6779
|
tableStageField(args: {
|
|
6535
6780
|
table_id: Uuid;
|
|
6536
6781
|
}): Promise<RecordsResult<string | null>>;
|
|
6782
|
+
/** The closed list of what a gate does when it says no — the store is the authority. */
|
|
6783
|
+
stageRuleOnFailKinds(): Promise<RecordsResult<{
|
|
6784
|
+
behaviour: StageRuleOnFail;
|
|
6785
|
+
note: string;
|
|
6786
|
+
}[]>>;
|
|
6787
|
+
/** Whether this organization's gates refuse or warn. One opinion, asked once. */
|
|
6788
|
+
stageRuleEnforcement(): Promise<RecordsResult<StageRuleEnforcement>>;
|
|
6789
|
+
/** What is waiting on this card: approvals filed against its own stage column. */
|
|
6790
|
+
recordStagePending(args: {
|
|
6791
|
+
record_id: Uuid;
|
|
6792
|
+
}): Promise<RecordsResult<StagePending[]>>;
|
|
6793
|
+
/** The same question for a whole board, in ONE call — what a Kanban badges cards from. */
|
|
6794
|
+
pipelinePending(args: {
|
|
6795
|
+
table_id: Uuid;
|
|
6796
|
+
}): Promise<RecordsResult<StagePendingOnBoard[]>>;
|
|
6797
|
+
/**
|
|
6798
|
+
* WHAT THIS GATE WOULD DO TO THIS BOARD TODAY — for a gate that has not been saved.
|
|
6799
|
+
*
|
|
6800
|
+
* The settings screen calls it on every edit of the condition, which is why it takes
|
|
6801
|
+
* the gate rather than a rule id: no saved-rule door can answer about a rule that does
|
|
6802
|
+
* not exist yet. The store compiles it with the same compiler `pipelineDeclare` uses,
|
|
6803
|
+
* so the number here and the refusal at the door are the same rule — a preview with its
|
|
6804
|
+
* own compiler would be wrong exactly at the edge of the condition, which is the only
|
|
6805
|
+
* place anybody looks.
|
|
6806
|
+
*
|
|
6807
|
+
* A gate that does not say what it demands is REFUSED, not answered zero: "no cards
|
|
6808
|
+
* would be stopped" beside a half-written rule is the sentence that gets it saved.
|
|
6809
|
+
*/
|
|
6810
|
+
pipelineGatePreview(args: {
|
|
6811
|
+
table_id: Uuid;
|
|
6812
|
+
stage: string;
|
|
6813
|
+
gate: PipelineGate | Record<string, unknown>;
|
|
6814
|
+
}): Promise<RecordsResult<PipelineGatePreview>>;
|
|
6537
6815
|
ruleMembers(args: {
|
|
6538
6816
|
rule_id: Uuid;
|
|
6539
6817
|
}): Promise<RecordsResult<StoredRecord[]>>;
|
|
@@ -7672,4 +7950,4 @@ declare function useFieldMutation(): UseFieldMutation;
|
|
|
7672
7950
|
*/
|
|
7673
7951
|
declare function useMergeField(key: string | null, state?: Record<string, unknown>): MergeFieldResolution | null;
|
|
7674
7952
|
|
|
7675
|
-
export { ABSENCE_REASONS, ACTOR_VOCABULARY, type AbsenceReason, type Actor, type AggregateBucket, type AggregateFilter, type AggregateMeasure, type AggregateOperation, type AggregateRow, type AggregateWindow, type AnonTokenBinding, type BookingSummary, 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 CommentThreadRead, type CommentWritten, type ComputeOn, type ContextPolicy, type ConversationScope, type ConversationScopeContext, type CustomFieldTableType, DELIVERIES, type DashboardBlock, type DashboardBlockKind, type DashboardBlockResult, type DashboardRunResult, type DashboardSummary, 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_SENSITIVITIES, FIELD_SOURCES, FRESHNESS, type Field, type FieldBehavior, type FieldHistoryEntry, 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, 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 PipelineMissingField, 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 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 RecordHistoryEntry, type RecordRead, type RecordRevision, type RecordScopeComment, type RecordScopeContext, type RecordScopeField, type RecordScopeHistoryEntry, type RecordScopeRelation, type RecordScopeWithheld, type RecordsActor, 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 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, STORAGE_MODES, STORE_DOORS, STORE_KNOBS, STORE_REFUSAL_CODES, 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, asPermissionLevel, atLeast, bookingPath, choiceSlug, choiceValuesOf, choicesOf, err, highestLevel, holdsARetiredChoice, indexedDbStore, isDecided, isRecordsErr, isTheChosen, looksLikeAnId, mayDrag, measureKey, memoryStore, mintClientKey, ok, openCaptureQueue, optionKey, optionLabel, portalPath, publicFormPath, scopeChip, useEntityFieldMutation, useEntityFieldRights, useEntityFields, useEntityRecord, useEntityTable, useFieldMutation, useFields, useMergeField, useMyLevel, useMyLevels, useOptionalRecordsClient, useRecord, useRecordMutation, useRecords, useRecordsActor, useRecordsClient, useTable, useTables };
|
|
7953
|
+
export { ABSENCE_REASONS, ACTOR_VOCABULARY, type AbsenceReason, type Actor, type AggregateBucket, type AggregateFilter, type AggregateMeasure, type AggregateOperation, type AggregateRow, type AggregateWindow, type AnonTokenBinding, type BookingSummary, 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 CommentThreadRead, type CommentWritten, type ComputeOn, type ContextPolicy, type ConversationScope, type ConversationScopeContext, type CustomFieldTableType, DELIVERIES, type DashboardBlock, type DashboardBlockKind, type DashboardBlockResult, type DashboardRunResult, type DashboardSummary, 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_SENSITIVITIES, FIELD_SOURCES, FRESHNESS, type Field, type FieldBehavior, type FieldHistoryEntry, 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, 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 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 RecordHistoryEntry, type RecordRead, type RecordRevision, type RecordScopeComment, type RecordScopeContext, type RecordScopeField, type RecordScopeHistoryEntry, type RecordScopeRelation, type RecordScopeWithheld, type RecordsActor, 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 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 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, asPermissionLevel, atLeast, bookingPath, choiceSlug, choiceValuesOf, choicesOf, err, highestLevel, holdsARetiredChoice, indexedDbStore, isDecided, isRecordsErr, isTheChosen, looksLikeAnId, mayDrag, measureKey, memoryStore, mintClientKey, ok, openCaptureQueue, optionKey, optionLabel, portalPath, publicFormPath, scopeChip, useEntityFieldMutation, useEntityFieldRights, useEntityFields, useEntityRecord, useEntityTable, useFieldMutation, useFields, useMergeField, useMyLevel, useMyLevels, useOptionalRecordsClient, useRecord, useRecordMutation, useRecords, useRecordsActor, useRecordsClient, useTable, useTables };
|