@momentumcms/core 0.5.8 → 0.5.10

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momentumcms/core",
3
- "version": "0.5.8",
3
+ "version": "0.5.10",
4
4
  "description": "Core collection config, fields, hooks, and access control for Momentum CMS",
5
5
  "license": "MIT",
6
6
  "author": "Momentum CMS Contributors",
@@ -60,6 +60,9 @@ export interface HooksConfig {
60
60
  afterRestore?: HookFunction[];
61
61
  }
62
62
  export interface AdminConfig {
63
+ /** Icon name for the admin sidebar (e.g. 'heroNewspaper', 'heroUsers').
64
+ * All heroicons/outline names are available by default. */
65
+ icon?: `hero${string}` | (string & {});
63
66
  /** Field to use as the document title in the admin UI */
64
67
  useAsTitle?: string;
65
68
  /** Default columns to show in list view */
@@ -60,8 +60,9 @@ export interface PluginAdminRouteDescriptor {
60
60
  data?: Record<string, unknown>;
61
61
  /** Sidebar display label */
62
62
  label: string;
63
- /** Icon name from ng-icons (e.g., 'heroChartBarSquare') */
64
- icon: string;
63
+ /** Icon name from ng-icons (e.g., 'heroChartBarSquare').
64
+ * All heroicons/outline names are available by default. */
65
+ icon: `hero${string}` | (string & {});
65
66
  /** Sidebar section name. @default 'Plugins' */
66
67
  group?: string;
67
68
  }