@ai-matrx/records 0.58.97 → 0.58.98

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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog — @ai-matrx/records
2
2
 
3
+ ## 0.58.98
4
+
5
+ Automatic changed-only republish (docs/metadata drift since the last tag — see
6
+ `git diff npm/records/v0.58.97..npm/records/v0.58.98 -- apps/shared/records`).
7
+ No source changes intended and no consumer action required.
8
+
3
9
  ## 0.58.97
4
10
 
5
11
  Automatic changed-only republish (docs/metadata drift since the last tag — see
package/dist/index.d.cts CHANGED
@@ -213,6 +213,12 @@ interface TableArchiveProgress {
213
213
  chunk: number;
214
214
  /** The store's own sentence about this pass, in the product's voice. */
215
215
  message: string;
216
+ /**
217
+ * An earlier run of this archive was started and has not finished (an open archive event). A
218
+ * screen reading this after a reload offers to carry on, never a fresh button (BREAKER-1 B-F13).
219
+ * Absent from a store that predates it.
220
+ */
221
+ in_progress?: boolean;
216
222
  }
217
223
 
218
224
  /** One option, as `_choices` names it and as `optionsOf` returns it. */
package/dist/index.d.ts CHANGED
@@ -213,6 +213,12 @@ interface TableArchiveProgress {
213
213
  chunk: number;
214
214
  /** The store's own sentence about this pass, in the product's voice. */
215
215
  message: string;
216
+ /**
217
+ * An earlier run of this archive was started and has not finished (an open archive event). A
218
+ * screen reading this after a reload offers to carry on, never a fresh button (BREAKER-1 B-F13).
219
+ * Absent from a store that predates it.
220
+ */
221
+ in_progress?: boolean;
216
222
  }
217
223
 
218
224
  /** One option, as `_choices` names it and as `optionsOf` returns it. */
@@ -42599,6 +42599,7 @@ function useTableArchive(tableId, options) {
42599
42599
  return null;
42600
42600
  }
42601
42601
  setProgress(answered.data);
42602
+ if (answered.data.in_progress) setInterrupted(true);
42602
42603
  return answered.data;
42603
42604
  }, [client, tableId, includeTable]);
42604
42605
  const loop = (0, import_react2.useCallback)(async () => {