@ai-matrx/records 0.80.2 → 0.80.7
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 +29 -0
- package/README.md +19 -0
- package/dist/app-table/index.cjs +100 -23
- package/dist/app-table/index.cjs.map +1 -1
- package/dist/app-table/index.d.cts +7 -7
- package/dist/app-table/index.d.ts +7 -7
- package/dist/app-table/index.js +100 -23
- package/dist/app-table/index.js.map +1 -1
- package/dist/{client-DKKRZKNw.d.ts → client-D1LTezMZ.d.ts} +10 -5
- package/dist/{client-BfNJEpar.d.cts → client-DLIKeBWF.d.cts} +10 -5
- package/dist/core/index.cjs +115 -31
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.d.cts +22 -12
- package/dist/core/index.d.ts +22 -12
- package/dist/core/index.js +115 -31
- package/dist/core/index.js.map +1 -1
- package/dist/data/index.cjs +100 -23
- package/dist/data/index.cjs.map +1 -1
- package/dist/data/index.d.cts +7 -7
- package/dist/data/index.d.ts +7 -7
- package/dist/data/index.js +100 -23
- package/dist/data/index.js.map +1 -1
- package/dist/{declareTable-CzLMdOSy.d.cts → declareTable-02uao-5n.d.cts} +4 -4
- package/dist/{declareTable-Cg522Sk0.d.ts → declareTable-C5FlIS0z.d.ts} +4 -4
- package/dist/{field-DJAvDExi.d.ts → field-BIJiFPc0.d.ts} +1 -1
- package/dist/{field-DCXU6k9i.d.cts → field-snQG2jMq.d.cts} +1 -1
- package/dist/index.cjs +12 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +12 -0
- package/dist/index.js.map +1 -1
- package/dist/memory/index.cjs +5 -0
- package/dist/memory/index.cjs.map +1 -1
- package/dist/memory/index.d.cts +6 -6
- package/dist/memory/index.d.ts +6 -6
- package/dist/memory/index.js +5 -0
- package/dist/memory/index.js.map +1 -1
- package/dist/{ports-Kpc-RihV.d.ts → ports-Y5gLbCXe.d.ts} +1 -1
- package/dist/{ports-DaHUjVg7.d.cts → ports-y1QNfM80.d.cts} +1 -1
- package/dist/react/index.cjs +107 -27
- package/dist/react/index.cjs.map +1 -1
- package/dist/react/index.d.cts +31 -1
- package/dist/react/index.d.ts +31 -1
- package/dist/react/index.js +107 -27
- package/dist/react/index.js.map +1 -1
- package/dist/realtime/index.d.cts +2 -2
- package/dist/realtime/index.d.ts +2 -2
- package/dist/{record-DCaOJbhA.d.cts → record-1yDCn169.d.cts} +26 -1
- package/dist/{record-DCaOJbhA.d.ts → record-1yDCn169.d.ts} +26 -1
- package/dist/{subscription-C_hNjbaR.d.cts → subscription-B_WaT-kr.d.cts} +1 -1
- package/dist/{subscription-B9znK2dw.d.ts → subscription-CUok1vAm.d.ts} +1 -1
- package/dist/{table-kind-B9RBUmSb.d.ts → table-kind-COmkYYkc.d.ts} +3 -3
- package/dist/{table-kind-DXktQGzR.d.cts → table-kind-LodkBhCZ.d.cts} +3 -3
- package/dist/templates/index.cjs +70 -6
- package/dist/templates/index.cjs.map +1 -1
- package/dist/templates/index.d.cts +26 -10
- package/dist/templates/index.d.ts +26 -10
- package/dist/templates/index.js +70 -6
- package/dist/templates/index.js.map +1 -1
- package/dist/{types-DuyBN2im.d.cts → types-BJGTxu3Y.d.cts} +2 -2
- package/dist/{types-b-VGi15H.d.ts → types-C5-AaPa6.d.ts} +2 -2
- package/dist/{types-CHEFgCu1.d.ts → types-CU_Tn2Np.d.ts} +2 -2
- package/dist/{types-CD2HoaZt.d.cts → types-yBZLtxrZ.d.cts} +2 -2
- package/dist/use-cases/index.cjs.map +1 -1
- package/dist/use-cases/index.d.cts +5 -5
- package/dist/use-cases/index.d.ts +5 -5
- package/dist/use-cases/index.js.map +1 -1
- package/dist/{validate-CubFFxpu.d.cts → validate-CE6qpJIb.d.cts} +1 -1
- package/dist/{validate-BEfYwBpA.d.ts → validate-Rz9djP6H.d.ts} +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { R as RecordsClient } from './client-
|
|
2
|
-
import { F as FieldTypeWord, N as NewFieldDeclaration } from './field-
|
|
3
|
-
import { U as Uuid, R as RecordsError } from './record-
|
|
4
|
-
import { F as FieldDrift } from './table-kind-
|
|
1
|
+
import { R as RecordsClient } from './client-DLIKeBWF.cjs';
|
|
2
|
+
import { F as FieldTypeWord, N as NewFieldDeclaration } from './field-snQG2jMq.cjs';
|
|
3
|
+
import { U as Uuid, R as RecordsError } from './record-1yDCn169.cjs';
|
|
4
|
+
import { F as FieldDrift } from './table-kind-LodkBhCZ.cjs';
|
|
5
5
|
|
|
6
6
|
/** One Field a person asked for, in the words a person uses (FLD-1 / FLD-11). */
|
|
7
7
|
interface NewFieldSpec {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { R as RecordsClient } from './client-
|
|
2
|
-
import { F as FieldTypeWord, N as NewFieldDeclaration } from './field-
|
|
3
|
-
import { U as Uuid, R as RecordsError } from './record-
|
|
4
|
-
import { F as FieldDrift } from './table-kind-
|
|
1
|
+
import { R as RecordsClient } from './client-D1LTezMZ.js';
|
|
2
|
+
import { F as FieldTypeWord, N as NewFieldDeclaration } from './field-BIJiFPc0.js';
|
|
3
|
+
import { U as Uuid, R as RecordsError } from './record-1yDCn169.js';
|
|
4
|
+
import { F as FieldDrift } from './table-kind-COmkYYkc.js';
|
|
5
5
|
|
|
6
6
|
/** One Field a person asked for, in the words a person uses (FLD-1 / FLD-11). */
|
|
7
7
|
interface NewFieldSpec {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as DeclarableFieldKind, u as FieldBehavior, v as ParityFieldType, b as FieldSensitivity, c as ContextPolicy, U as Uuid, C as ComputeOn, O as OnDelete, F as FieldSource, f as Timestamp } from './record-
|
|
1
|
+
import { D as DeclarableFieldKind, u as FieldBehavior, v as ParityFieldType, b as FieldSensitivity, c as ContextPolicy, U as Uuid, C as ComputeOn, O as OnDelete, F as FieldSource, f as Timestamp } from './record-1yDCn169.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* EVERYTHING THIS FILE NEEDS TO KNOW ABOUT A FIELD, AND NOTHING ELSE.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as DeclarableFieldKind, u as FieldBehavior, v as ParityFieldType, b as FieldSensitivity, c as ContextPolicy, U as Uuid, C as ComputeOn, O as OnDelete, F as FieldSource, f as Timestamp } from './record-
|
|
1
|
+
import { D as DeclarableFieldKind, u as FieldBehavior, v as ParityFieldType, b as FieldSensitivity, c as ContextPolicy, U as Uuid, C as ComputeOn, O as OnDelete, F as FieldSource, f as Timestamp } from './record-1yDCn169.cjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* EVERYTHING THIS FILE NEEDS TO KNOW ABOUT A FIELD, AND NOTHING ELSE.
|
package/dist/index.cjs
CHANGED
|
@@ -2844,21 +2844,25 @@ var STORE_DOORS = [
|
|
|
2844
2844
|
{ name: "form_declare", args: "p_organization_id uuid, p_table_id uuid, p_title text, p_questions jsonb, p_presentation jsonb DEFAULT '{}'::jsonb, p_submission_cap integer DEFAULT NULL::integer, p_quarantine_rule_id uuid DEFAULT NULL::uuid, p_notify_rule_id uuid DEFAULT NULL::uuid, p_form_id uuid DEFAULT NULL::uuid, p_slug text DEFAULT NULL::text", returns: "uuid", security: "definer" },
|
|
2845
2845
|
{ name: "form_draft_read", args: "p_form_id uuid, p_secret text", returns: "TABLE(answers jsonb, saved_at timestamp with time zone, expires_at timestamp with time zone, state text, message text)", security: "definer" },
|
|
2846
2846
|
{ name: "form_draft_save", args: "p_form_id uuid, p_answers jsonb, p_secret text DEFAULT NULL::text, p_bucket text DEFAULT NULL::text, p_origin text DEFAULT NULL::text", returns: "TABLE(draft_secret text, saved_at timestamp with time zone, expires_at timestamp with time zone, state text, message text)", security: "definer" },
|
|
2847
|
+
{ name: "form_knobs", args: "p_organization_id uuid", returns: "jsonb", security: "definer" },
|
|
2847
2848
|
{ name: "form_look_options", args: "p_organization_id uuid, p_presentation jsonb DEFAULT '{}'::jsonb", returns: "jsonb", security: "definer" },
|
|
2848
2849
|
{ name: "form_notify", args: "p_organization_id uuid, p_form_id uuid, p_record_id uuid, p_submission_id uuid", returns: "uuid", security: "invoker" },
|
|
2849
2850
|
{ name: "form_preview_asks", args: "p_organization_id uuid, p_table_id uuid, p_questions jsonb, p_values jsonb", returns: "TABLE(field_key text, asked boolean, decided boolean, said text)", security: "definer" },
|
|
2850
2851
|
{ name: "form_preview_route", args: "p_organization_id uuid, p_table_id uuid, p_questions jsonb, p_endings jsonb, p_values jsonb", returns: "jsonb", security: "definer" },
|
|
2851
2852
|
{ name: "form_public", args: "p_form_id uuid", returns: "TABLE(form_id uuid, organization_id uuid, table_id uuid, title text, presentation jsonb, fields jsonb, honeypot_key text, state text, message text)", security: "definer" },
|
|
2852
2853
|
{ name: "form_public_asks", args: "p_form_id uuid, p_values jsonb, p_secret text DEFAULT NULL::text, p_origin text DEFAULT NULL::text", returns: "TABLE(field_key text, asked boolean, decided boolean, said text)", security: "definer" },
|
|
2854
|
+
{ name: "form_public_options", args: "p_form_id uuid", returns: "jsonb", security: "definer" },
|
|
2853
2855
|
{ name: "form_public_route", args: "p_form_id uuid, p_values jsonb", returns: "jsonb", security: "definer" },
|
|
2854
2856
|
{ name: "form_redirect_domains", args: "p_organization_id uuid", returns: "text[]", security: "invoker" },
|
|
2855
2857
|
{ name: "form_redirect_refusal", args: "p_organization_id uuid, p_url text", returns: "text", security: "invoker" },
|
|
2858
|
+
{ name: "form_respondent_copy", args: "p_organization_id uuid, p_form_id uuid, p_record_id uuid, p_submission_id uuid", returns: "jsonb", security: "definer" },
|
|
2856
2859
|
{ name: "form_restore", args: "p_organization_id uuid, p_form_id uuid", returns: "jsonb", security: "definer" },
|
|
2857
2860
|
{ name: "form_results", args: "p_organization_id uuid, p_form_id uuid", returns: "jsonb", security: "definer" },
|
|
2858
2861
|
{ name: "form_slug", args: "p_organization_id uuid, p_title text, p_form_id uuid DEFAULT NULL::uuid", returns: "text", security: "invoker" },
|
|
2859
2862
|
{ name: "form_submit", args: "p_form_id uuid, p_origin text, p_payload jsonb, p_bucket text, p_honeypot text DEFAULT NULL::text, p_client_key text DEFAULT NULL::text", returns: "TABLE(submission_id uuid, record_id uuid, state text, message text)", security: "definer" },
|
|
2860
2863
|
{ name: "form_theme_options", args: "", returns: "jsonb", security: "invoker" },
|
|
2861
2864
|
{ name: "form_visit", args: "p_form_id uuid, p_visit text, p_event text, p_field text DEFAULT NULL::text", returns: "text", security: "definer" },
|
|
2865
|
+
{ name: "form_visit_admit", args: "p_form_id uuid, p_bucket text", returns: "boolean", security: "definer" },
|
|
2862
2866
|
{ name: "forms", args: "p_organization_id uuid, p_table_id uuid DEFAULT NULL::uuid", returns: "TABLE(form_id uuid, table_id uuid, title text, slug text, published_at timestamp with time zone, closed_at timestamp with time zone, submission_cap integer, responses bigint, in_table bigint, held bigint, rejected bigint, state text, quarantine_rule_id uuid, notify_rule_id uuid, presentation jsonb)", security: "definer" },
|
|
2863
2867
|
{ name: "forms_archived", args: "p_organization_id uuid, p_table_id uuid DEFAULT NULL::uuid, p_limit integer DEFAULT 100", returns: "TABLE(form_id uuid, table_id uuid, table_name text, kind text, title text, slug text, archived_at timestamp with time zone, archived_by uuid, table_archived boolean, can_restore boolean)", security: "definer" },
|
|
2864
2868
|
{ name: "formula_compile_sql", args: "p_organization_id uuid, p_expr jsonb, p_values_sql text", returns: "text", security: "invoker" },
|
|
@@ -3126,6 +3130,7 @@ var STORE_DOORS = [
|
|
|
3126
3130
|
{ name: "record_filter_sql", args: "p_organization_id uuid, p_table_id uuid, p_filter jsonb", returns: "text", security: "invoker" },
|
|
3127
3131
|
{ name: "record_headers", args: "p_organization_id uuid, p_ids uuid[]", returns: "TABLE(id uuid, table_id uuid, created_at timestamp with time zone, updated_at timestamp with time zone, version integer, deleted_at timestamp with time zone, mine boolean, created_by uuid)", security: "definer" },
|
|
3128
3132
|
{ name: "record_history", args: "p_organization_id uuid, p_record_id uuid, p_limit integer DEFAULT 200, p_offset integer DEFAULT 0", returns: "TABLE(version integer, occurred_at timestamp with time zone, operation text, operation_label text, actor jsonb, changes jsonb, migration_id uuid, undoable boolean)", security: "definer" },
|
|
3133
|
+
{ name: "record_page_bundle", args: "p_organization_id uuid, p_record_id uuid", returns: "jsonb", security: "invoker" },
|
|
3129
3134
|
{ name: "record_platform_keys", args: "", returns: "text[]", security: "invoker" },
|
|
3130
3135
|
{ name: "record_relation_edges", 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", returns: "TABLE(target_id uuid, edge_role text, field_id uuid, ord integer)", security: "invoker" },
|
|
3131
3136
|
{ name: "record_reparent", args: "p_organization_id uuid, p_record_id uuid, p_parent_id uuid", returns: "void", security: "definer" },
|
|
@@ -3536,6 +3541,7 @@ var ENTITY_TOKENS = [
|
|
|
3536
3541
|
"access_shadow_log",
|
|
3537
3542
|
"account_addon",
|
|
3538
3543
|
"account_closure",
|
|
3544
|
+
"account_facts",
|
|
3539
3545
|
"acquisition_block",
|
|
3540
3546
|
"activity",
|
|
3541
3547
|
"admin_audit_log",
|
|
@@ -3826,6 +3832,7 @@ var ENTITY_TOKENS = [
|
|
|
3826
3832
|
"deprecated_relation",
|
|
3827
3833
|
"derive_run",
|
|
3828
3834
|
"dev_login_audit",
|
|
3835
|
+
"device_handoff",
|
|
3829
3836
|
"dict_entry",
|
|
3830
3837
|
"dict_provider_publication",
|
|
3831
3838
|
"dict_setting",
|
|
@@ -3861,12 +3868,15 @@ var ENTITY_TOKENS = [
|
|
|
3861
3868
|
"esign_envelope",
|
|
3862
3869
|
"esign_envelope_certificate",
|
|
3863
3870
|
"esign_envelope_document",
|
|
3871
|
+
"esign_envelope_draft",
|
|
3864
3872
|
"esign_envelope_event",
|
|
3865
3873
|
"esign_envelope_external_ref",
|
|
3866
3874
|
"esign_envelope_signer",
|
|
3867
3875
|
"esign_provider",
|
|
3868
3876
|
"esign_provider_binding",
|
|
3877
|
+
"esign_saved_signature",
|
|
3869
3878
|
"esign_signing_key",
|
|
3879
|
+
"esign_template",
|
|
3870
3880
|
"execution_event_cursor",
|
|
3871
3881
|
"extension_auth_code",
|
|
3872
3882
|
"external_link",
|
|
@@ -4493,6 +4503,7 @@ var ENTITY_TOKENS = [
|
|
|
4493
4503
|
"tool_binding",
|
|
4494
4504
|
"tool_bundle",
|
|
4495
4505
|
"tool_call",
|
|
4506
|
+
"tool_call_facts",
|
|
4496
4507
|
"tool_definition_version",
|
|
4497
4508
|
"tool_executor",
|
|
4498
4509
|
"tool_surface_defaults",
|
|
@@ -4527,6 +4538,7 @@ var ENTITY_TOKENS = [
|
|
|
4527
4538
|
"uploads_inflight",
|
|
4528
4539
|
"user",
|
|
4529
4540
|
"user_achievement",
|
|
4541
|
+
"user_acquisition_facts",
|
|
4530
4542
|
"user_active_context",
|
|
4531
4543
|
"user_analysis_preference",
|
|
4532
4544
|
"user_email_preference",
|