@ai-matrx/records 0.78.1 → 0.79.1
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 +12 -0
- package/dist/app-table/index.cjs +12 -0
- 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 +12 -0
- package/dist/app-table/index.js.map +1 -1
- package/dist/{client-Byn_UthM.d.ts → client-BcVOYKL1.d.ts} +15 -5
- package/dist/{client-BExNR0TK.d.cts → client-DHoI0qvP.d.cts} +15 -5
- package/dist/core/index.cjs +17 -3
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.d.cts +12 -11
- package/dist/core/index.d.ts +12 -11
- package/dist/core/index.js +17 -3
- package/dist/core/index.js.map +1 -1
- package/dist/data/index.cjs +12 -0
- package/dist/data/index.cjs.map +1 -1
- package/dist/data/index.d.cts +6 -6
- package/dist/data/index.d.ts +6 -6
- package/dist/data/index.js +12 -0
- package/dist/data/index.js.map +1 -1
- package/dist/{declareTable-DWOh53eK.d.ts → declareTable-CDKHwyrF.d.ts} +4 -4
- package/dist/{declareTable-CgrEusy8.d.cts → declareTable-DM9mPkSc.d.cts} +4 -4
- package/dist/{field-t9aefszx.d.cts → field-DCXU6k9i.d.cts} +14 -2
- package/dist/{field-B2bvpqcE.d.ts → field-DJAvDExi.d.ts} +14 -2
- package/dist/index.cjs +8 -3
- 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 +8 -3
- package/dist/index.js.map +1 -1
- package/dist/memory/index.cjs +3 -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 +3 -0
- package/dist/memory/index.js.map +1 -1
- package/dist/{ports-Cjl-IjFa.d.cts → ports-DaHUjVg7.d.cts} +1 -1
- package/dist/{ports-Ch4Ym0tj.d.ts → ports-Kpc-RihV.d.ts} +1 -1
- package/dist/react/index.cjs +17 -3
- package/dist/react/index.cjs.map +1 -1
- package/dist/react/index.d.cts +62 -5
- package/dist/react/index.d.ts +62 -5
- package/dist/react/index.js +17 -3
- 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-Ba1F1CNS.d.cts → record-DCaOJbhA.d.cts} +19 -4
- package/dist/{record-Ba1F1CNS.d.ts → record-DCaOJbhA.d.ts} +19 -4
- package/dist/{subscription-CccP6N93.d.ts → subscription-B9znK2dw.d.ts} +1 -1
- package/dist/{subscription-DGCrwwSR.d.cts → subscription-C_hNjbaR.d.cts} +1 -1
- package/dist/{table-kind-BMWi8G37.d.ts → table-kind-Ct-nhoCZ.d.ts} +24 -4
- package/dist/{table-kind-BoelIMjr.d.cts → table-kind-wYO_qjK1.d.cts} +24 -4
- package/dist/templates/index.cjs +3 -0
- package/dist/templates/index.cjs.map +1 -1
- package/dist/templates/index.d.cts +9 -9
- package/dist/templates/index.d.ts +9 -9
- package/dist/templates/index.js +3 -0
- package/dist/templates/index.js.map +1 -1
- package/dist/{types-euaQwxnB.d.cts → types-CD2HoaZt.d.cts} +2 -2
- package/dist/{types-CtyMwJvy.d.ts → types-CHEFgCu1.d.ts} +2 -2
- package/dist/{types-D-Mhiodh.d.cts → types-DuyBN2im.d.cts} +2 -2
- package/dist/{types-CiHdoATO.d.ts → types-b-VGi15H.d.ts} +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-B-p3YPgA.d.ts → validate-BEfYwBpA.d.ts} +1 -1
- package/dist/{validate-COvMcv8z.d.cts → validate-CubFFxpu.d.cts} +1 -1
- package/package.json +3 -3
package/dist/memory/index.d.cts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { b as RecordsDataSource, a as RecordsConfig } from '../ports-
|
|
2
|
-
import { T as TemplateSpec } from '../types-
|
|
3
|
-
import { P as PgError } from '../record-
|
|
4
|
-
import '../subscription-
|
|
5
|
-
import '../types-
|
|
6
|
-
import '../field-
|
|
1
|
+
import { b as RecordsDataSource, a as RecordsConfig } from '../ports-DaHUjVg7.cjs';
|
|
2
|
+
import { T as TemplateSpec } from '../types-CD2HoaZt.cjs';
|
|
3
|
+
import { P as PgError } from '../record-DCaOJbhA.cjs';
|
|
4
|
+
import '../subscription-C_hNjbaR.cjs';
|
|
5
|
+
import '../types-DuyBN2im.cjs';
|
|
6
|
+
import '../field-DCXU6k9i.cjs';
|
|
7
7
|
|
|
8
8
|
type Json$1 = Record<string, unknown>;
|
|
9
9
|
/** One presented column, exactly as `platform.drill_describe(...).api.columns[]` says it. */
|
package/dist/memory/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { b as RecordsDataSource, a as RecordsConfig } from '../ports-
|
|
2
|
-
import { T as TemplateSpec } from '../types-
|
|
3
|
-
import { P as PgError } from '../record-
|
|
4
|
-
import '../subscription-
|
|
5
|
-
import '../types-
|
|
6
|
-
import '../field-
|
|
1
|
+
import { b as RecordsDataSource, a as RecordsConfig } from '../ports-Kpc-RihV.js';
|
|
2
|
+
import { T as TemplateSpec } from '../types-CHEFgCu1.js';
|
|
3
|
+
import { P as PgError } from '../record-DCaOJbhA.js';
|
|
4
|
+
import '../subscription-B9znK2dw.js';
|
|
5
|
+
import '../types-b-VGi15H.js';
|
|
6
|
+
import '../field-DJAvDExi.js';
|
|
7
7
|
|
|
8
8
|
type Json$1 = Record<string, unknown>;
|
|
9
9
|
/** One presented column, exactly as `platform.drill_describe(...).api.columns[]` says it. */
|
package/dist/memory/index.js
CHANGED
|
@@ -1001,6 +1001,7 @@ var STORE_DOORS = [
|
|
|
1001
1001
|
{ name: "doors_refusing_in_another_doors_name", args: "", returns: "TABLE(function_name text, identity_args text, why text)", security: "invoker" },
|
|
1002
1002
|
{ name: "drill_resolve", args: "p_organization_id uuid, p_table_id uuid, p_group_by jsonb, p_measures jsonb, p_bucket jsonb", returns: "jsonb", security: "invoker" },
|
|
1003
1003
|
{ name: "effective_level", args: "p_user_id uuid, p_organization_id uuid, p_id uuid, p_type text DEFAULT 'record'::text", returns: "permission_level", security: "definer" },
|
|
1004
|
+
{ name: "effective_level_many", args: "p_user_id uuid, p_ids uuid[], p_type text DEFAULT 'record'::text", returns: "TABLE(id uuid, level permission_level)", security: "definer" },
|
|
1004
1005
|
{ name: "enrich_cells", args: "p_organization_id uuid, p_table_id uuid, p_field_keys text[] DEFAULT NULL::text[], p_record_ids uuid[] DEFAULT NULL::uuid[]", returns: "TABLE(record_id uuid, field_key text, agent_owned boolean, value jsonb, value_version integer, actor text, on_behalf_of text, written_at timestamp with time zone, source jsonb, absent_reason text, alternates jsonb, pinned boolean, stale boolean, due_at timestamp with time zone)", security: "definer" },
|
|
1005
1006
|
{ name: "enrich_declare", args: "p_organization_id uuid, p_field_id uuid, p_spec jsonb", returns: "jsonb", security: "definer" },
|
|
1006
1007
|
{ name: "enrich_due", args: "p_organization_id uuid, p_field_id uuid, p_limit integer DEFAULT 50, p_include_fresh boolean DEFAULT false, p_record_ids uuid[] DEFAULT NULL::uuid[]", returns: "TABLE(record_id uuid, title text, inputs jsonb, current_value jsonb, written_at timestamp with time zone, reason text, trimmed_to integer)", security: "definer" },
|
|
@@ -1056,6 +1057,7 @@ var STORE_DOORS = [
|
|
|
1056
1057
|
{ name: "field_cycle", args: "p_organization_id uuid, p_field_data jsonb, p_self uuid", returns: "text[]", security: "definer" },
|
|
1057
1058
|
{ name: "field_declare", args: "p_organization_id uuid, p_table_id uuid, p_spec jsonb", returns: "uuid", security: "definer" },
|
|
1058
1059
|
{ name: "field_dependants", args: "p_organization_id uuid, p_field_id uuid", returns: "TABLE(kind text, dependant_id uuid, label text, how text)", security: "definer" },
|
|
1060
|
+
{ name: "field_duplicate", args: "p_organization_id uuid, p_field_id uuid", returns: "jsonb", security: "definer" },
|
|
1059
1061
|
{ name: "field_history", args: "p_organization_id uuid, p_table_id uuid, p_field_key text, p_limit integer DEFAULT 100, p_offset integer DEFAULT 0, p_record_id uuid DEFAULT NULL::uuid", returns: "TABLE(record_id uuid, record_title text, version integer, occurred_at timestamp with time zone, operation_label text, actor jsonb, before jsonb, after jsonb)", security: "definer" },
|
|
1060
1062
|
{ name: "field_input_closure", args: "p_organization_id uuid, p_field_data jsonb, p_self uuid DEFAULT NULL::uuid", returns: "TABLE(input_id uuid, input_key text, input_label text, input_table uuid, sensitivity text, retired boolean, depth integer)", security: "definer" },
|
|
1061
1063
|
{ name: "field_inputs_of", args: "p_organization_id uuid, p_field_data jsonb", returns: "TABLE(input_id uuid, input_key text, input_label text, input_table uuid, sensitivity text, retired boolean, how text)", security: "definer" },
|
|
@@ -1329,6 +1331,7 @@ var STORE_DOORS = [
|
|
|
1329
1331
|
{ name: "query_visible_ids", args: "p_organization_id uuid, p_table_id uuid DEFAULT NULL::uuid, p_required text DEFAULT 'viewer'::text", returns: "SETOF uuid", security: "definer" },
|
|
1330
1332
|
{ name: "reachable_from", args: "p_organization_id uuid, p_roots uuid[]", returns: "TABLE(record_id uuid, depth integer, via text)", security: "invoker" },
|
|
1331
1333
|
{ name: "reaches_directly", args: "p_user_id uuid, p_type text, p_id uuid, p_required permission_level DEFAULT 'viewer'::permission_level", returns: "boolean", security: "definer" },
|
|
1334
|
+
{ name: "reaches_directly_many", args: "p_user_id uuid, p_targets uuid[], p_type text DEFAULT 'record'::text, p_required permission_level DEFAULT 'viewer'::permission_level", returns: "TABLE(target uuid, reaches boolean)", security: "definer" },
|
|
1332
1335
|
{ name: "read_door_carried_ids", args: "p_user uuid, p_organization_id uuid, p_table_id uuid, p_required permission_level, OUT o_ids uuid[], OUT o_containers integer", returns: "record", security: "definer" },
|
|
1333
1336
|
{ name: "read_door_granted_ids", args: "p_organization_id uuid, p_table_id uuid", returns: "uuid[]", security: "definer" },
|
|
1334
1337
|
{ name: "read_door_ladder_ceiling", args: "", returns: "integer", security: "invoker" },
|