You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 2f2c6fe
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: content/docs/references/api/package-lifecycle.mdx
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -144,6 +144,7 @@ const result = DiscardPackageDraftsResponseSchema.parse(data);
144
144
|**namespace**|`string`| ✅ | The base's namespace — the SOURCE package's, kept so every copied object name stays valid. |
145
145
|**copiedCount**|`number`| ✅ | How many items were copied. |
146
146
|**copied**|`{ type: string; name: string }[]`| ✅ | Every item that was copied, in the order it was written. |
147
+
|**strippedLocks**|`{ type: string; name: string; lock: Enum<'no-overlay' \| 'no-delete' \| 'full'>; reason?: string }[]`| ✅ | Every protection lock the package shipped on a copied item and the copy does not keep, in the order the items were written. Empty when the package locked nothing. |
|**type**|`string`| ✅ | Metadata type of the copied item. |
161
+
|**name**|`string`| ✅ | Name of the copied item. |
162
+
|**lock**|`Enum<'no-overlay' \| 'no-delete' \| 'full'>`| ✅ | The lock the package shipped on the item — its `protection` block's `lock`, else its `_lock`. The copy carries no lock. |
163
+
|**reason**|`string`| optional | The reason the package gave for that lock, verbatim. Absent when it gave none. |
|**showRecordCount**|`boolean`| optional | Show record count at the bottom of the list |
1733
1733
|**allowPrinting**|`boolean`| optional | Allow users to print the view |
1734
-
|**emptyState**|`{ title?: string \| Record<string, string>; message?: string \| Record<string, string>; icon?: string }`| optional | Empty state configuration when no records found |
1734
+
|**emptyState**|`{ title?: string \| Record<string, string>; message?: string \| Record<string, string>; icon?: string; link?: object }`| optional | Empty state configuration when no records found |
1735
1735
|**aria**|`{ ariaLabel?: string \| Record<string, string>; ariaDescribedBy?: string; role?: string }`| optional | ARIA accessibility attributes for the list view |
1736
1736
|**responsive**|`never`| optional |[REMOVED]`view.responsive` was removed in @objectstack/spec 17.0.0 (audit close-out) — no renderer ever read it; the grid is responsive by its own layout rules. Delete the key. Run `os migrate meta --from 16` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand. |
1737
1737
|**performance**|`never`| optional |[REMOVED]`view.performance` was removed in @objectstack/spec 17.0.0 (audit close-out) — no renderer or runtime read it; list-view performance tuning was never implemented. Delete the key. Run `os migrate meta --from 16` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand. |
@@ -1817,7 +1817,7 @@ The published metadata item body, opaque by ruling (1C). Shape is the item's own
|**showRecordCount**|`boolean`| optional | Show record count at the bottom of the list |
1819
1819
|**allowPrinting**|`boolean`| optional | Allow users to print the view |
1820
-
|**emptyState**|`{ title?: string \| Record<string, string>; message?: string \| Record<string, string>; icon?: string }`| optional | Empty state configuration when no records found |
1820
+
|**emptyState**|`{ title?: string \| Record<string, string>; message?: string \| Record<string, string>; icon?: string; link?: object }`| optional | Empty state configuration when no records found |
1821
1821
|**aria**|`{ ariaLabel?: string \| Record<string, string>; ariaDescribedBy?: string; role?: string }`| optional | ARIA accessibility attributes for the list view |
1822
1822
|**responsive**|`never`| optional |[REMOVED]`view.responsive` was removed in @objectstack/spec 17.0.0 (audit close-out) — no renderer ever read it; the grid is responsive by its own layout rules. Delete the key. Run `os migrate meta --from 16` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand. |
1823
1823
|**performance**|`never`| optional |[REMOVED]`view.performance` was removed in @objectstack/spec 17.0.0 (audit close-out) — no renderer or runtime read it; list-view performance tuning was never implemented. Delete the key. Run `os migrate meta --from 16` to list the mechanical edits for existing sources; `--write` applies the ones it can prove, and you apply the rest by hand. |
0 commit comments