@bettercms-ai/types 1.46.0 → 1.47.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.
package/dist/index.d.ts CHANGED
@@ -2323,6 +2323,16 @@ interface ComponentPropDef {
2323
2323
  name: string;
2324
2324
  label?: string;
2325
2325
  fields: ComponentSubField[];
2326
+ /** How a row of this type reads collapsed: title/subtitle/media name THIS type's fields (dotted ok, e.g. `table.caption`). */
2327
+ preview?: {
2328
+ title?: string;
2329
+ subtitle?: string;
2330
+ media?: string;
2331
+ fallback?: string;
2332
+ icon?: DockIconName;
2333
+ };
2334
+ /** The row icon for this type, a dock icon name. */
2335
+ icon?: DockIconName;
2326
2336
  }>;
2327
2337
  /**
2328
2338
  * `select` / `multiselect` — the choices. Required, and a default must be one of them. `{ label, value }`
@@ -2550,6 +2560,8 @@ interface Component {
2550
2560
  props: ComponentPropDef[];
2551
2561
  /** How an instance reads as a row in a parent's slot list. Null/absent = unset. @see ComponentPreview */
2552
2562
  preview?: ComponentPreview | null;
2563
+ /** The block icon (a /kit schema's document-level `icon`): root crumb, slot rows, slot child frames. Null/absent = unset. */
2564
+ icon?: DockIconName | null;
2553
2565
  status: ComponentStatus;
2554
2566
  /** When it left the working set, or null/absent while active. @see ComponentStatus */
2555
2567
  archivedAt?: string | Date | null;