@ai-matrx/records-ui 0.85.10 → 0.85.13

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/dist/index.d.cts CHANGED
@@ -266,6 +266,23 @@ interface RecordsUiHost {
266
266
  table: Table;
267
267
  recordId: Uuid$1;
268
268
  }) => string | undefined;
269
+ /**
270
+ * OPTIONAL. WHERE A FILE OPENS. A value too big for one cell is kept as a file and the cell
271
+ * holds its first words (`@ai-matrx/records/core` `wholeValueOf`); this is the host's page for
272
+ * that file. Unbound, the cell shows the words and says the whole text is kept as a file this
273
+ * screen cannot open — never a dead link.
274
+ */
275
+ hrefForFile?: (args: {
276
+ fileId: Uuid$1;
277
+ }) => string | undefined;
278
+ /**
279
+ * OPTIONAL. READ A FILE'S WHOLE TEXT, so an export writes a big value's whole content rather
280
+ * than its first words. Unbound, the exported cell carries the words and one sentence naming
281
+ * the file (`wholeValueNotRead`) — never the words passed off as the value.
282
+ */
283
+ readFileText?: (args: {
284
+ fileId: Uuid$1;
285
+ }) => Promise<string>;
269
286
  /** The host's own link element, so routing stays the host's business. */
270
287
  Link?: (props: {
271
288
  href: string;
@@ -693,11 +710,16 @@ interface PlainRefusal {
693
710
  sentence: string;
694
711
  /** What to do now. Never empty. */
695
712
  remedy: string;
713
+ /**
714
+ * TRUE when `sentence` is the store's own words (UI-FIX-19): a notice is then HEADED by that
715
+ * sentence, never by the generic `title` over it.
716
+ */
717
+ storeSaid: boolean;
696
718
  /**
697
719
  * Everything a person should not read, kept for whoever has to debug it: the
698
720
  * SQLSTATE, the hint written for a caller, and any clause dropped above.
699
- * Rendered out of sight (the notice's `title` attribute and a screen-reader-
700
- * only line), never deleted.
721
+ * Kept on the notice's `data-for-engineers` attribute only (UI-FIX-19): never a
722
+ * tooltip, never text a screen can copy or read aloud; never deleted.
701
723
  */
702
724
  forEngineers: string;
703
725
  }
package/dist/index.d.ts CHANGED
@@ -266,6 +266,23 @@ interface RecordsUiHost {
266
266
  table: Table;
267
267
  recordId: Uuid$1;
268
268
  }) => string | undefined;
269
+ /**
270
+ * OPTIONAL. WHERE A FILE OPENS. A value too big for one cell is kept as a file and the cell
271
+ * holds its first words (`@ai-matrx/records/core` `wholeValueOf`); this is the host's page for
272
+ * that file. Unbound, the cell shows the words and says the whole text is kept as a file this
273
+ * screen cannot open — never a dead link.
274
+ */
275
+ hrefForFile?: (args: {
276
+ fileId: Uuid$1;
277
+ }) => string | undefined;
278
+ /**
279
+ * OPTIONAL. READ A FILE'S WHOLE TEXT, so an export writes a big value's whole content rather
280
+ * than its first words. Unbound, the exported cell carries the words and one sentence naming
281
+ * the file (`wholeValueNotRead`) — never the words passed off as the value.
282
+ */
283
+ readFileText?: (args: {
284
+ fileId: Uuid$1;
285
+ }) => Promise<string>;
269
286
  /** The host's own link element, so routing stays the host's business. */
270
287
  Link?: (props: {
271
288
  href: string;
@@ -693,11 +710,16 @@ interface PlainRefusal {
693
710
  sentence: string;
694
711
  /** What to do now. Never empty. */
695
712
  remedy: string;
713
+ /**
714
+ * TRUE when `sentence` is the store's own words (UI-FIX-19): a notice is then HEADED by that
715
+ * sentence, never by the generic `title` over it.
716
+ */
717
+ storeSaid: boolean;
696
718
  /**
697
719
  * Everything a person should not read, kept for whoever has to debug it: the
698
720
  * SQLSTATE, the hint written for a caller, and any clause dropped above.
699
- * Rendered out of sight (the notice's `title` attribute and a screen-reader-
700
- * only line), never deleted.
721
+ * Kept on the notice's `data-for-engineers` attribute only (UI-FIX-19): never a
722
+ * tooltip, never text a screen can copy or read aloud; never deleted.
701
723
  */
702
724
  forEngineers: string;
703
725
  }