@ai-matrx/records 0.58.9 → 0.58.12
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 +48 -1
- package/dist/core/index.cjs +67 -19
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.d.cts +54 -7
- package/dist/core/index.d.ts +54 -7
- package/dist/core/index.js +67 -19
- package/dist/core/index.js.map +1 -1
- package/dist/index.cjs +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +10 -2
- package/dist/index.d.ts +10 -2
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/react/index.cjs +2 -1
- package/dist/react/index.cjs.map +1 -1
- package/dist/react/index.d.cts +13 -1
- package/dist/react/index.d.ts +13 -1
- package/dist/react/index.js +2 -1
- package/dist/react/index.js.map +1 -1
- package/dist/{types-CCwTeJvm.d.cts → types-BeDeDL6g.d.cts} +5 -1
- package/dist/{types-CCwTeJvm.d.ts → types-BeDeDL6g.d.ts} +5 -1
- package/dist/use-cases/index.cjs.map +1 -1
- package/dist/use-cases/index.d.cts +2 -2
- package/dist/use-cases/index.d.ts +2 -2
- package/dist/use-cases/index.js.map +1 -1
- package/package.json +1 -1
package/dist/react/index.d.cts
CHANGED
|
@@ -3750,7 +3750,7 @@ declare const STORE_DOORS: readonly [{
|
|
|
3750
3750
|
}, {
|
|
3751
3751
|
readonly name: "work_inbox";
|
|
3752
3752
|
readonly args: "p_organization_id uuid, p_limit integer DEFAULT 50, p_offset integer DEFAULT 0, p_include_decided boolean DEFAULT false, p_view text DEFAULT 'inbox'::text";
|
|
3753
|
-
readonly returns: "TABLE(item_id uuid, kind text, origin text, title text, subject_id uuid, subject_kind text, summary text, state text, due_on timestamp with time zone, due_state text, actionable boolean, requested_by uuid, requested_by_name text, at timestamp with time zone, table_id uuid, table_name text, decided_by uuid, decided_by_name text, decided_at timestamp with time zone, outcome text, snoozed_until timestamp with time zone, cleared_at timestamp with time zone, snoozed_count integer, cleared_count integer)";
|
|
3753
|
+
readonly returns: "TABLE(item_id uuid, kind text, origin text, title text, subject_id uuid, subject_kind text, summary text, state text, due_on timestamp with time zone, due_state text, actionable boolean, requested_by uuid, requested_by_name text, at timestamp with time zone, table_id uuid, table_name text, decided_by uuid, decided_by_name text, decided_at timestamp with time zone, outcome text, snoozed_until timestamp with time zone, cleared_at timestamp with time zone, snoozed_count integer, cleared_count integer, undo_seconds integer, undo_refusal text)";
|
|
3754
3754
|
readonly security: "definer";
|
|
3755
3755
|
}, {
|
|
3756
3756
|
readonly name: "work_instantiation_shape";
|
|
@@ -3940,6 +3940,10 @@ declare const STORE_KNOBS: readonly [{
|
|
|
3940
3940
|
readonly key: "cross_organization_links";
|
|
3941
3941
|
readonly value: "false";
|
|
3942
3942
|
readonly type: "boolean";
|
|
3943
|
+
}, {
|
|
3944
|
+
readonly key: "decision_undo_seconds";
|
|
3945
|
+
readonly value: "5";
|
|
3946
|
+
readonly type: "integer";
|
|
3943
3947
|
}, {
|
|
3944
3948
|
readonly key: "decoration_rules_max";
|
|
3945
3949
|
readonly value: "50";
|
|
@@ -9206,6 +9210,14 @@ interface WorkInboxItem {
|
|
|
9206
9210
|
/** How many of this person's items are snoozed / cleared right now — the same on every row. */
|
|
9207
9211
|
snoozed_count?: number;
|
|
9208
9212
|
cleared_count?: number;
|
|
9213
|
+
/**
|
|
9214
|
+
* HOW LONG A DECISION ON THIS ROW IS HELD WITH UNDO before it is made (VERIFIER-20), in seconds:
|
|
9215
|
+
* the organization's `custom/decision_undo_seconds` (default 5) for a pending approval or
|
|
9216
|
+
* proposal; 0 when something already waits on the answer; null for work and closed rows.
|
|
9217
|
+
*/
|
|
9218
|
+
undo_seconds?: number | null;
|
|
9219
|
+
/** Why a decision here cannot be held (it is made at once) — the store's sentence, or null. */
|
|
9220
|
+
undo_refusal?: string | null;
|
|
9209
9221
|
}
|
|
9210
9222
|
/**
|
|
9211
9223
|
* Which of a person's three inbox views `custom.work_inbox` answers (lane S5-PRIME-2): what is
|
package/dist/react/index.d.ts
CHANGED
|
@@ -3750,7 +3750,7 @@ declare const STORE_DOORS: readonly [{
|
|
|
3750
3750
|
}, {
|
|
3751
3751
|
readonly name: "work_inbox";
|
|
3752
3752
|
readonly args: "p_organization_id uuid, p_limit integer DEFAULT 50, p_offset integer DEFAULT 0, p_include_decided boolean DEFAULT false, p_view text DEFAULT 'inbox'::text";
|
|
3753
|
-
readonly returns: "TABLE(item_id uuid, kind text, origin text, title text, subject_id uuid, subject_kind text, summary text, state text, due_on timestamp with time zone, due_state text, actionable boolean, requested_by uuid, requested_by_name text, at timestamp with time zone, table_id uuid, table_name text, decided_by uuid, decided_by_name text, decided_at timestamp with time zone, outcome text, snoozed_until timestamp with time zone, cleared_at timestamp with time zone, snoozed_count integer, cleared_count integer)";
|
|
3753
|
+
readonly returns: "TABLE(item_id uuid, kind text, origin text, title text, subject_id uuid, subject_kind text, summary text, state text, due_on timestamp with time zone, due_state text, actionable boolean, requested_by uuid, requested_by_name text, at timestamp with time zone, table_id uuid, table_name text, decided_by uuid, decided_by_name text, decided_at timestamp with time zone, outcome text, snoozed_until timestamp with time zone, cleared_at timestamp with time zone, snoozed_count integer, cleared_count integer, undo_seconds integer, undo_refusal text)";
|
|
3754
3754
|
readonly security: "definer";
|
|
3755
3755
|
}, {
|
|
3756
3756
|
readonly name: "work_instantiation_shape";
|
|
@@ -3940,6 +3940,10 @@ declare const STORE_KNOBS: readonly [{
|
|
|
3940
3940
|
readonly key: "cross_organization_links";
|
|
3941
3941
|
readonly value: "false";
|
|
3942
3942
|
readonly type: "boolean";
|
|
3943
|
+
}, {
|
|
3944
|
+
readonly key: "decision_undo_seconds";
|
|
3945
|
+
readonly value: "5";
|
|
3946
|
+
readonly type: "integer";
|
|
3943
3947
|
}, {
|
|
3944
3948
|
readonly key: "decoration_rules_max";
|
|
3945
3949
|
readonly value: "50";
|
|
@@ -9206,6 +9210,14 @@ interface WorkInboxItem {
|
|
|
9206
9210
|
/** How many of this person's items are snoozed / cleared right now — the same on every row. */
|
|
9207
9211
|
snoozed_count?: number;
|
|
9208
9212
|
cleared_count?: number;
|
|
9213
|
+
/**
|
|
9214
|
+
* HOW LONG A DECISION ON THIS ROW IS HELD WITH UNDO before it is made (VERIFIER-20), in seconds:
|
|
9215
|
+
* the organization's `custom/decision_undo_seconds` (default 5) for a pending approval or
|
|
9216
|
+
* proposal; 0 when something already waits on the answer; null for work and closed rows.
|
|
9217
|
+
*/
|
|
9218
|
+
undo_seconds?: number | null;
|
|
9219
|
+
/** Why a decision here cannot be held (it is made at once) — the store's sentence, or null. */
|
|
9220
|
+
undo_refusal?: string | null;
|
|
9209
9221
|
}
|
|
9210
9222
|
/**
|
|
9211
9223
|
* Which of a person's three inbox views `custom.work_inbox` answers (lane S5-PRIME-2): what is
|
package/dist/react/index.js
CHANGED
|
@@ -3358,7 +3358,7 @@ var STORE_DOORS = [
|
|
|
3358
3358
|
{ name: "work_assignment_fields", args: "p_options_table_id uuid DEFAULT NULL::uuid", returns: "TABLE(key text, label text, spec jsonb)", security: "invoker" },
|
|
3359
3359
|
{ name: "work_decide_many", args: "p_organization_id uuid, p_decisions jsonb", returns: "jsonb", security: "definer" },
|
|
3360
3360
|
{ name: "work_has_assignment", args: "p_organization_id uuid, p_table_id uuid", returns: "boolean", security: "definer" },
|
|
3361
|
-
{ name: "work_inbox", args: "p_organization_id uuid, p_limit integer DEFAULT 50, p_offset integer DEFAULT 0, p_include_decided boolean DEFAULT false, p_view text DEFAULT 'inbox'::text", returns: "TABLE(item_id uuid, kind text, origin text, title text, subject_id uuid, subject_kind text, summary text, state text, due_on timestamp with time zone, due_state text, actionable boolean, requested_by uuid, requested_by_name text, at timestamp with time zone, table_id uuid, table_name text, decided_by uuid, decided_by_name text, decided_at timestamp with time zone, outcome text, snoozed_until timestamp with time zone, cleared_at timestamp with time zone, snoozed_count integer, cleared_count integer)", security: "definer" },
|
|
3361
|
+
{ name: "work_inbox", args: "p_organization_id uuid, p_limit integer DEFAULT 50, p_offset integer DEFAULT 0, p_include_decided boolean DEFAULT false, p_view text DEFAULT 'inbox'::text", returns: "TABLE(item_id uuid, kind text, origin text, title text, subject_id uuid, subject_kind text, summary text, state text, due_on timestamp with time zone, due_state text, actionable boolean, requested_by uuid, requested_by_name text, at timestamp with time zone, table_id uuid, table_name text, decided_by uuid, decided_by_name text, decided_at timestamp with time zone, outcome text, snoozed_until timestamp with time zone, cleared_at timestamp with time zone, snoozed_count integer, cleared_count integer, undo_seconds integer, undo_refusal text)", security: "definer" },
|
|
3362
3362
|
{ name: "work_instantiation_shape", args: "p_organization_id uuid, p_instantiation_id uuid", returns: "jsonb", security: "definer" },
|
|
3363
3363
|
{ name: "work_list", args: "p_organization_id uuid, p_flavour text DEFAULT 'mine'::text, p_include_finished boolean DEFAULT false, p_limit integer DEFAULT 100, p_offset integer DEFAULT 0", returns: "TABLE(record_id uuid, table_id uuid, table_name text, title text, assignee_id uuid, assignee_name text, assignee_user_id uuid, due_on timestamp with time zone, due_state text, status text, terminal boolean, assigned_by uuid, updated_at timestamp with time zone)", security: "definer" },
|
|
3364
3364
|
{ name: "work_person", args: "p_organization_id uuid, p_user_id uuid, p_create boolean DEFAULT true", returns: "uuid", security: "definer" },
|
|
@@ -3402,6 +3402,7 @@ var STORE_KNOBS = [
|
|
|
3402
3402
|
{ key: "containment_depth_ceiling", value: "16", type: "integer" },
|
|
3403
3403
|
{ key: "context_copy_following", value: "true", type: "boolean" },
|
|
3404
3404
|
{ key: "cross_organization_links", value: "false", type: "boolean" },
|
|
3405
|
+
{ key: "decision_undo_seconds", value: "5", type: "integer" },
|
|
3405
3406
|
{ key: "decoration_rules_max", value: "50", type: "integer" },
|
|
3406
3407
|
{ key: "decorations_max_bytes", value: "262144", type: "integer" },
|
|
3407
3408
|
{ key: "document_letterhead", value: "{}", type: "json" },
|