@ai-matrx/records-ui 0.116.111 → 0.116.112

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/helpers.cjs CHANGED
@@ -1165,16 +1165,16 @@ function announceTableArchived({ notify, client, tableId, name, onRestored }) {
1165
1165
  notify.reversible({ verb: "archive", noun: "table", subject: name, undo });
1166
1166
  return;
1167
1167
  }
1168
- notify?.success(`Archived \u201C${name}\u201D`, {
1168
+ notify?.success("Table archived", {
1169
1169
  label: "Undo",
1170
1170
  run: () => {
1171
1171
  void undo().then(
1172
- () => notify?.success(`Restored \u201C${name}\u201D`),
1172
+ () => notify?.success("Restored", void 0, { description: `\u201C${name}\u201D` }),
1173
1173
  // The store's refusal is already a person's sentence; anything else never prints raw.
1174
- (thrown) => notify?.error(thrown instanceof TableRestoreRefused ? thrown.sentence : `Couldn\u2019t restore \u201C${name}\u201D`)
1174
+ (thrown) => notify?.error("Not restored", { description: thrown instanceof TableRestoreRefused ? thrown.sentence : `\u201C${name}\u201D` })
1175
1175
  );
1176
1176
  }
1177
- });
1177
+ }, { description: `\u201C${name}\u201D` });
1178
1178
  }
1179
1179
 
1180
1180
  // src/skeletonLayout.ts