Skip to content

Commit 1ce682d

Browse files
authored
Merge pull request #1225 from objectstack-ai/claude/fix-pnpm-dev-issues
fix: align NavigationItem and NavigationArea label types with @objectstack/spec v4
2 parents 14446bc + b4c18ee commit 1ce682d

File tree

2 files changed

+390
-1941
lines changed

2 files changed

+390
-1941
lines changed

packages/types/src/app.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ export interface NavigationItem {
5555
/** Navigation item type */
5656
type: NavigationItemType;
5757

58-
/** Display label (plain string or I18nLabel object for internationalization) */
59-
label: string | { key: string; defaultValue?: string; params?: Record<string, any> };
58+
/** Display label (plain string per @objectstack/spec v4 protocol) */
59+
label: string;
6060

6161
/** Icon name (Lucide) */
6262
icon?: string;
@@ -129,8 +129,8 @@ export interface NavigationArea {
129129
/** Unique identifier */
130130
id: string;
131131

132-
/** Display label (plain string or I18nLabel object for internationalization) */
133-
label: string | { key: string; defaultValue?: string; params?: Record<string, any> };
132+
/** Display label (plain string per @objectstack/spec v4 protocol) */
133+
label: string;
134134

135135
/** Icon name (Lucide) */
136136
icon?: string;

0 commit comments

Comments
 (0)