@ai-matrx/records 0.75.4 → 0.76.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.
@@ -1,5 +1,5 @@
1
1
  import { o as AggregateOperation, p as AggregateFilter, q as DashboardBlockKind, g as AggregateMeasure, d as AggregateBucket, r as SubscriptionCadence } from './subscription-BNjt_gNh.js';
2
- import { U as UseCase, a as UseCaseTable, b as UseCaseField, c as UseCaseRow, d as UseCaseForm, e as UseCaseFormField, f as UseCaseNotificationTrigger, N as NotificationChannel, g as UseCaseProvenance } from './types-D7hn6p_G.js';
2
+ import { U as UseCase, a as UseCaseTable, b as UseCaseField, c as UseCaseRow, d as UseCaseForm, e as UseCaseFormField, f as UseCaseNotificationTrigger, N as NotificationChannel, g as UseCaseProvenance } from './types-yqOL5kqv.js';
3
3
 
4
4
  declare const TABLE_KERNEL_ID = "11111111-0000-4000-8000-000000000001";
5
5
  type ConfidentialLevel = "viewer" | "commenter" | "editor";
@@ -126,6 +126,11 @@ interface UseCaseRow {
126
126
  * an array of keys) of rows in the target table.
127
127
  */
128
128
  values: Record<string, unknown>;
129
+ /**
130
+ * The row's own icon (a `@ai-matrx/icons` name, e.g. "Package"), stored as the record's `icon`
131
+ * (a platform key, custom.record_platform_keys) — what a link to this row draws beside its title.
132
+ */
133
+ icon?: string;
129
134
  }
130
135
  /**
131
136
  * REL-1…REL-9. The domain truth, stated once: "an invoice belongs to the job it
@@ -1,5 +1,5 @@
1
1
  import { o as AggregateOperation, p as AggregateFilter, q as DashboardBlockKind, g as AggregateMeasure, d as AggregateBucket, r as SubscriptionCadence } from './subscription-DMLgchIJ.cjs';
2
- import { U as UseCase, a as UseCaseTable, b as UseCaseField, c as UseCaseRow, d as UseCaseForm, e as UseCaseFormField, f as UseCaseNotificationTrigger, N as NotificationChannel, g as UseCaseProvenance } from './types-DRbuKUZN.cjs';
2
+ import { U as UseCase, a as UseCaseTable, b as UseCaseField, c as UseCaseRow, d as UseCaseForm, e as UseCaseFormField, f as UseCaseNotificationTrigger, N as NotificationChannel, g as UseCaseProvenance } from './types-CRxeg7zT.cjs';
3
3
 
4
4
  declare const TABLE_KERNEL_ID = "11111111-0000-4000-8000-000000000001";
5
5
  type ConfidentialLevel = "viewer" | "commenter" | "editor";
@@ -126,6 +126,11 @@ interface UseCaseRow {
126
126
  * an array of keys) of rows in the target table.
127
127
  */
128
128
  values: Record<string, unknown>;
129
+ /**
130
+ * The row's own icon (a `@ai-matrx/icons` name, e.g. "Package"), stored as the record's `icon`
131
+ * (a platform key, custom.record_platform_keys) — what a link to this row draws beside its title.
132
+ */
133
+ icon?: string;
129
134
  }
130
135
  /**
131
136
  * REL-1…REL-9. The domain truth, stated once: "an invoice belongs to the job it
@@ -1,6 +1,6 @@
1
- import { U as UseCase, h as UseCaseSummary } from '../types-DRbuKUZN.cjs';
2
- export { B as BusinessIdentity, F as FormAudience, N as NotificationChannel, P as PostalAddress, i as UseCaseDashboardQuestion, j as UseCaseDocumentTemplate, b as UseCaseField, d as UseCaseForm, e as UseCaseFormField, k as UseCaseMergeField, l as UseCaseNotificationRule, f as UseCaseNotificationTrigger, m as UseCasePipeline, n as UseCasePipelineStage, g as UseCaseProvenance, o as UseCaseRelationship, c as UseCaseRow, a as UseCaseTable } from '../types-DRbuKUZN.cjs';
3
- export { M as MIN_ROWS_IN_PRIMARY_TABLE, R as RESOLVABLE_FIELD_TYPE_WORDS, U as UseCaseProblem, a as UseCaseVerdict, b as assertUseCase, v as validateUseCase } from '../validate-B1LlXOnw.cjs';
1
+ import { U as UseCase, h as UseCaseSummary } from '../types-CRxeg7zT.cjs';
2
+ export { B as BusinessIdentity, F as FormAudience, N as NotificationChannel, P as PostalAddress, i as UseCaseDashboardQuestion, j as UseCaseDocumentTemplate, b as UseCaseField, d as UseCaseForm, e as UseCaseFormField, k as UseCaseMergeField, l as UseCaseNotificationRule, f as UseCaseNotificationTrigger, m as UseCasePipeline, n as UseCasePipelineStage, g as UseCaseProvenance, o as UseCaseRelationship, c as UseCaseRow, a as UseCaseTable } from '../types-CRxeg7zT.cjs';
3
+ export { M as MIN_ROWS_IN_PRIMARY_TABLE, R as RESOLVABLE_FIELD_TYPE_WORDS, U as UseCaseProblem, a as UseCaseVerdict, b as assertUseCase, v as validateUseCase } from '../validate-BeEzYvRL.cjs';
4
4
  import '../record-CvVLDpTO.cjs';
5
5
  import '../field-CKSL1N_u.cjs';
6
6
 
@@ -1,6 +1,6 @@
1
- import { U as UseCase, h as UseCaseSummary } from '../types-D7hn6p_G.js';
2
- export { B as BusinessIdentity, F as FormAudience, N as NotificationChannel, P as PostalAddress, i as UseCaseDashboardQuestion, j as UseCaseDocumentTemplate, b as UseCaseField, d as UseCaseForm, e as UseCaseFormField, k as UseCaseMergeField, l as UseCaseNotificationRule, f as UseCaseNotificationTrigger, m as UseCasePipeline, n as UseCasePipelineStage, g as UseCaseProvenance, o as UseCaseRelationship, c as UseCaseRow, a as UseCaseTable } from '../types-D7hn6p_G.js';
3
- export { M as MIN_ROWS_IN_PRIMARY_TABLE, R as RESOLVABLE_FIELD_TYPE_WORDS, U as UseCaseProblem, a as UseCaseVerdict, b as assertUseCase, v as validateUseCase } from '../validate-1fxxb7lE.js';
1
+ import { U as UseCase, h as UseCaseSummary } from '../types-yqOL5kqv.js';
2
+ export { B as BusinessIdentity, F as FormAudience, N as NotificationChannel, P as PostalAddress, i as UseCaseDashboardQuestion, j as UseCaseDocumentTemplate, b as UseCaseField, d as UseCaseForm, e as UseCaseFormField, k as UseCaseMergeField, l as UseCaseNotificationRule, f as UseCaseNotificationTrigger, m as UseCasePipeline, n as UseCasePipelineStage, g as UseCaseProvenance, o as UseCaseRelationship, c as UseCaseRow, a as UseCaseTable } from '../types-yqOL5kqv.js';
3
+ export { M as MIN_ROWS_IN_PRIMARY_TABLE, R as RESOLVABLE_FIELD_TYPE_WORDS, U as UseCaseProblem, a as UseCaseVerdict, b as assertUseCase, v as validateUseCase } from '../validate-BoMAN3Jr.js';
4
4
  import '../record-CvVLDpTO.js';
5
5
  import '../field-BljOabtx.js';
6
6
 
@@ -1,4 +1,4 @@
1
- import { U as UseCase } from './types-DRbuKUZN.cjs';
1
+ import { U as UseCase } from './types-CRxeg7zT.cjs';
2
2
 
3
3
  /**
4
4
  * Every word a `parityType` may be: the parity types, every kind the declaration door
@@ -1,4 +1,4 @@
1
- import { U as UseCase } from './types-D7hn6p_G.js';
1
+ import { U as UseCase } from './types-yqOL5kqv.js';
2
2
 
3
3
  /**
4
4
  * Every word a `parityType` may be: the parity types, every kind the declaration door
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-matrx/records",
3
- "version": "0.75.4",
3
+ "version": "0.76.0",
4
4
  "description": "The headless client of the AI Matrx record store: the Table / Field / Rule / Record / Relation / Home types, the closed vocabularies and refusal codes read from the store itself, the typed calls over the store's doors and nothing else, the merge-field declaration, a validation mirror that predicts only what the store's own triggers refuse, and the never-throw result envelope. Zero React, zero DOM in the root and /core.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -185,9 +185,9 @@
185
185
  },
186
186
  "sideEffects": false,
187
187
  "dependencies": {
188
+ "@ai-matrx/design-system": "latest",
188
189
  "@ai-matrx/kit": "latest",
189
- "@ai-matrx/realtime": "latest",
190
- "@ai-matrx/design-system": "latest"
190
+ "@ai-matrx/realtime": "latest"
191
191
  },
192
192
  "scripts": {
193
193
  "build": "pnpm clean && tsup && node ./scripts/stamp-client-boundary.mjs",