@ai-matrx/records 0.58.8 → 0.58.11
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 +47 -0
- package/dist/core/index.cjs +77 -6
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.d.cts +51 -4
- package/dist/core/index.d.ts +51 -4
- package/dist/core/index.js +77 -6
- package/dist/core/index.js.map +1 -1
- package/dist/index.cjs +7 -3
- 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 +7 -3
- package/dist/index.js.map +1 -1
- package/dist/react/index.cjs +17 -5
- package/dist/react/index.cjs.map +1 -1
- package/dist/react/index.d.cts +38 -4
- package/dist/react/index.d.ts +38 -4
- package/dist/react/index.js +17 -5
- package/dist/react/index.js.map +1 -1
- package/dist/{types-FXtEsU7W.d.cts → types-BeDeDL6g.d.cts} +22 -3
- package/dist/{types-FXtEsU7W.d.ts → types-BeDeDL6g.d.ts} +22 -3
- 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
|
@@ -2711,7 +2711,7 @@ declare const STORE_DOORS: readonly [{
|
|
|
2711
2711
|
readonly security: "definer";
|
|
2712
2712
|
}, {
|
|
2713
2713
|
readonly name: "read_records_in_view_order";
|
|
2714
|
-
readonly args: "p_organization_id uuid, p_view_id uuid, p_by_id boolean DEFAULT false, p_limit integer DEFAULT 200, p_offset integer DEFAULT 0";
|
|
2714
|
+
readonly args: "p_organization_id uuid, p_view_id uuid, p_by_id boolean DEFAULT false, p_limit integer DEFAULT 200, p_offset integer DEFAULT 0, p_filter jsonb DEFAULT NULL::jsonb";
|
|
2715
2715
|
readonly returns: "TABLE(id uuid, document jsonb, level permission_level, \"position\" numeric)";
|
|
2716
2716
|
readonly security: "definer";
|
|
2717
2717
|
}, {
|
|
@@ -2834,6 +2834,21 @@ declare const STORE_DOORS: readonly [{
|
|
|
2834
2834
|
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";
|
|
2835
2835
|
readonly returns: "jsonb";
|
|
2836
2836
|
readonly security: "definer";
|
|
2837
|
+
}, {
|
|
2838
|
+
readonly name: "record_source_key";
|
|
2839
|
+
readonly args: "p_table_id uuid";
|
|
2840
|
+
readonly returns: "text";
|
|
2841
|
+
readonly security: "invoker";
|
|
2842
|
+
}, {
|
|
2843
|
+
readonly name: "record_source_keys";
|
|
2844
|
+
readonly args: "p_table_id uuid";
|
|
2845
|
+
readonly returns: "text[]";
|
|
2846
|
+
readonly security: "invoker";
|
|
2847
|
+
}, {
|
|
2848
|
+
readonly name: "record_source_table";
|
|
2849
|
+
readonly args: "p_key text";
|
|
2850
|
+
readonly returns: "uuid";
|
|
2851
|
+
readonly security: "invoker";
|
|
2837
2852
|
}, {
|
|
2838
2853
|
readonly name: "record_stage_pending";
|
|
2839
2854
|
readonly args: "p_organization_id uuid, p_record_id uuid";
|
|
@@ -3732,7 +3747,7 @@ declare const STORE_DOORS: readonly [{
|
|
|
3732
3747
|
}, {
|
|
3733
3748
|
readonly name: "work_inbox";
|
|
3734
3749
|
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";
|
|
3735
|
-
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)";
|
|
3750
|
+
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)";
|
|
3736
3751
|
readonly security: "definer";
|
|
3737
3752
|
}, {
|
|
3738
3753
|
readonly name: "work_instantiation_shape";
|
|
@@ -3922,6 +3937,10 @@ declare const STORE_KNOBS: readonly [{
|
|
|
3922
3937
|
readonly key: "cross_organization_links";
|
|
3923
3938
|
readonly value: "false";
|
|
3924
3939
|
readonly type: "boolean";
|
|
3940
|
+
}, {
|
|
3941
|
+
readonly key: "decision_undo_seconds";
|
|
3942
|
+
readonly value: "5";
|
|
3943
|
+
readonly type: "integer";
|
|
3925
3944
|
}, {
|
|
3926
3945
|
readonly key: "decoration_rules_max";
|
|
3927
3946
|
readonly value: "50";
|
|
@@ -4158,7 +4177,7 @@ declare const STORE_REFUSAL_CODES: readonly [{
|
|
|
4158
4177
|
readonly raised_by: "_portal_config_judge,_share_write_person,_unique_rule_holds,doc_sign,doc_signature_write,entity_field_declare,field_declare,home_add,inbound_declare,io_proposal_accept,relation_carry,relation_own,sign_request_cancel,sign_request_create,table_share_outside_resend,work_approval_decide,work_slot_hold";
|
|
4159
4178
|
}, {
|
|
4160
4179
|
readonly code: "23514";
|
|
4161
|
-
readonly raised_by: "_checklist_instantiate,_checklist_step_guard,_containment_guard,_dated_values_guard,_derived_fields,_display_format_check,_display_spec_for,_entity_custom_fields_guard,_field_class_guard,_field_document_for,_field_shape_guard,_field_type_parity_guard,_merge_field_shape_guard,_merge_field_temporal_guard,_promoted_field_cap_guard,_record_rule_uses,_relation_halves_agree,_relation_kernel_targets,_resolve_choice_words,_rule_shape_guard,_rule_topology_guard,_store_relation_edge_names_its_field,_table_columns_word_guard,_table_shape_guard,_undeclared_key_guard,_value_envelope,_with_display,_work_shape_guard,_workdoors_approval_guard,action_run,assert_columns_are_defined,assert_entity_is_organization_scoped,booking_declare,capture_publish,capture_sheet_declare,checklist_declare,checklist_step_complete,doc_sign,doc_signature_write,doc_template_save,entity_field_declare,entity_field_retire,entity_field_update,entity_records_find,entity_table,field_declare,field_retire,field_update,home_add,io_comment_write,io_import_rows,migrate_merge,migrate_purge_hard,portal_archive,portal_restore,record_restore,record_write_graph,relation_carry,relation_halves_repair,relation_own,sign_request_create,sign_request_sign,table_declare,table_from_example,validate_value_envelope,validate_values,work_set_state,work_slots_declare,work_take_assignment,work_template_instantiate";
|
|
4180
|
+
readonly raised_by: "_checklist_instantiate,_checklist_step_guard,_containment_guard,_dated_values_guard,_derived_fields,_display_format_check,_display_spec_for,_entity_custom_fields_guard,_field_class_guard,_field_document_for,_field_shape_guard,_field_type_parity_guard,_merge_field_shape_guard,_merge_field_temporal_guard,_promoted_field_cap_guard,_record_rule_uses,_record_source_key_is_record,_relation_halves_agree,_relation_kernel_targets,_resolve_choice_words,_rule_shape_guard,_rule_topology_guard,_store_relation_edge_names_its_field,_table_columns_word_guard,_table_shape_guard,_undeclared_key_guard,_value_envelope,_with_display,_work_shape_guard,_workdoors_approval_guard,action_run,assert_columns_are_defined,assert_entity_is_organization_scoped,booking_declare,capture_publish,capture_sheet_declare,checklist_declare,checklist_step_complete,doc_sign,doc_signature_write,doc_template_save,entity_field_declare,entity_field_retire,entity_field_update,entity_records_find,entity_table,field_declare,field_retire,field_update,home_add,io_comment_write,io_import_rows,migrate_merge,migrate_purge_hard,portal_archive,portal_restore,record_restore,record_write_graph,relation_carry,relation_halves_repair,relation_own,sign_request_create,sign_request_sign,table_declare,table_from_example,validate_value_envelope,validate_values,work_set_state,work_slots_declare,work_take_assignment,work_template_instantiate";
|
|
4162
4181
|
}, {
|
|
4163
4182
|
readonly code: "40001";
|
|
4164
4183
|
readonly raised_by: "has_visibility_at,table_move";
|
|
@@ -2711,7 +2711,7 @@ declare const STORE_DOORS: readonly [{
|
|
|
2711
2711
|
readonly security: "definer";
|
|
2712
2712
|
}, {
|
|
2713
2713
|
readonly name: "read_records_in_view_order";
|
|
2714
|
-
readonly args: "p_organization_id uuid, p_view_id uuid, p_by_id boolean DEFAULT false, p_limit integer DEFAULT 200, p_offset integer DEFAULT 0";
|
|
2714
|
+
readonly args: "p_organization_id uuid, p_view_id uuid, p_by_id boolean DEFAULT false, p_limit integer DEFAULT 200, p_offset integer DEFAULT 0, p_filter jsonb DEFAULT NULL::jsonb";
|
|
2715
2715
|
readonly returns: "TABLE(id uuid, document jsonb, level permission_level, \"position\" numeric)";
|
|
2716
2716
|
readonly security: "definer";
|
|
2717
2717
|
}, {
|
|
@@ -2834,6 +2834,21 @@ declare const STORE_DOORS: readonly [{
|
|
|
2834
2834
|
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";
|
|
2835
2835
|
readonly returns: "jsonb";
|
|
2836
2836
|
readonly security: "definer";
|
|
2837
|
+
}, {
|
|
2838
|
+
readonly name: "record_source_key";
|
|
2839
|
+
readonly args: "p_table_id uuid";
|
|
2840
|
+
readonly returns: "text";
|
|
2841
|
+
readonly security: "invoker";
|
|
2842
|
+
}, {
|
|
2843
|
+
readonly name: "record_source_keys";
|
|
2844
|
+
readonly args: "p_table_id uuid";
|
|
2845
|
+
readonly returns: "text[]";
|
|
2846
|
+
readonly security: "invoker";
|
|
2847
|
+
}, {
|
|
2848
|
+
readonly name: "record_source_table";
|
|
2849
|
+
readonly args: "p_key text";
|
|
2850
|
+
readonly returns: "uuid";
|
|
2851
|
+
readonly security: "invoker";
|
|
2837
2852
|
}, {
|
|
2838
2853
|
readonly name: "record_stage_pending";
|
|
2839
2854
|
readonly args: "p_organization_id uuid, p_record_id uuid";
|
|
@@ -3732,7 +3747,7 @@ declare const STORE_DOORS: readonly [{
|
|
|
3732
3747
|
}, {
|
|
3733
3748
|
readonly name: "work_inbox";
|
|
3734
3749
|
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";
|
|
3735
|
-
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)";
|
|
3750
|
+
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)";
|
|
3736
3751
|
readonly security: "definer";
|
|
3737
3752
|
}, {
|
|
3738
3753
|
readonly name: "work_instantiation_shape";
|
|
@@ -3922,6 +3937,10 @@ declare const STORE_KNOBS: readonly [{
|
|
|
3922
3937
|
readonly key: "cross_organization_links";
|
|
3923
3938
|
readonly value: "false";
|
|
3924
3939
|
readonly type: "boolean";
|
|
3940
|
+
}, {
|
|
3941
|
+
readonly key: "decision_undo_seconds";
|
|
3942
|
+
readonly value: "5";
|
|
3943
|
+
readonly type: "integer";
|
|
3925
3944
|
}, {
|
|
3926
3945
|
readonly key: "decoration_rules_max";
|
|
3927
3946
|
readonly value: "50";
|
|
@@ -4158,7 +4177,7 @@ declare const STORE_REFUSAL_CODES: readonly [{
|
|
|
4158
4177
|
readonly raised_by: "_portal_config_judge,_share_write_person,_unique_rule_holds,doc_sign,doc_signature_write,entity_field_declare,field_declare,home_add,inbound_declare,io_proposal_accept,relation_carry,relation_own,sign_request_cancel,sign_request_create,table_share_outside_resend,work_approval_decide,work_slot_hold";
|
|
4159
4178
|
}, {
|
|
4160
4179
|
readonly code: "23514";
|
|
4161
|
-
readonly raised_by: "_checklist_instantiate,_checklist_step_guard,_containment_guard,_dated_values_guard,_derived_fields,_display_format_check,_display_spec_for,_entity_custom_fields_guard,_field_class_guard,_field_document_for,_field_shape_guard,_field_type_parity_guard,_merge_field_shape_guard,_merge_field_temporal_guard,_promoted_field_cap_guard,_record_rule_uses,_relation_halves_agree,_relation_kernel_targets,_resolve_choice_words,_rule_shape_guard,_rule_topology_guard,_store_relation_edge_names_its_field,_table_columns_word_guard,_table_shape_guard,_undeclared_key_guard,_value_envelope,_with_display,_work_shape_guard,_workdoors_approval_guard,action_run,assert_columns_are_defined,assert_entity_is_organization_scoped,booking_declare,capture_publish,capture_sheet_declare,checklist_declare,checklist_step_complete,doc_sign,doc_signature_write,doc_template_save,entity_field_declare,entity_field_retire,entity_field_update,entity_records_find,entity_table,field_declare,field_retire,field_update,home_add,io_comment_write,io_import_rows,migrate_merge,migrate_purge_hard,portal_archive,portal_restore,record_restore,record_write_graph,relation_carry,relation_halves_repair,relation_own,sign_request_create,sign_request_sign,table_declare,table_from_example,validate_value_envelope,validate_values,work_set_state,work_slots_declare,work_take_assignment,work_template_instantiate";
|
|
4180
|
+
readonly raised_by: "_checklist_instantiate,_checklist_step_guard,_containment_guard,_dated_values_guard,_derived_fields,_display_format_check,_display_spec_for,_entity_custom_fields_guard,_field_class_guard,_field_document_for,_field_shape_guard,_field_type_parity_guard,_merge_field_shape_guard,_merge_field_temporal_guard,_promoted_field_cap_guard,_record_rule_uses,_record_source_key_is_record,_relation_halves_agree,_relation_kernel_targets,_resolve_choice_words,_rule_shape_guard,_rule_topology_guard,_store_relation_edge_names_its_field,_table_columns_word_guard,_table_shape_guard,_undeclared_key_guard,_value_envelope,_with_display,_work_shape_guard,_workdoors_approval_guard,action_run,assert_columns_are_defined,assert_entity_is_organization_scoped,booking_declare,capture_publish,capture_sheet_declare,checklist_declare,checklist_step_complete,doc_sign,doc_signature_write,doc_template_save,entity_field_declare,entity_field_retire,entity_field_update,entity_records_find,entity_table,field_declare,field_retire,field_update,home_add,io_comment_write,io_import_rows,migrate_merge,migrate_purge_hard,portal_archive,portal_restore,record_restore,record_write_graph,relation_carry,relation_halves_repair,relation_own,sign_request_create,sign_request_sign,table_declare,table_from_example,validate_value_envelope,validate_values,work_set_state,work_slots_declare,work_take_assignment,work_template_instantiate";
|
|
4162
4181
|
}, {
|
|
4163
4182
|
readonly code: "40001";
|
|
4164
4183
|
readonly raised_by: "has_visibility_at,table_move";
|