forked from OpenCatalogi/opencatalogi
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #174 from ConductionNL/feature/IBOC-107/nextcloud-…
…menu feature/IBOC-107/nextcloud-menu
- Loading branch information
Showing
25 changed files
with
392 additions
and
238 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
export * from './menu.ts' | ||
export * from './menu.types.ts' | ||
export * from './menu.mock.ts' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,30 @@ | ||
export type TMenuSubItem = { | ||
name: string | ||
slug: string | ||
link: string | ||
description?: string | ||
icon?: string | ||
} | ||
|
||
export type TMenuItem = { | ||
name: string | ||
slug: string | ||
link: string | ||
description?: string | ||
icon?: string | ||
items?: TMenuSubItem[] | ||
} | ||
|
||
/** | ||
* Type definition for a Menu object | ||
* Represents the structure of a navigation menu with items and metadata | ||
*/ | ||
export type TMenu = { | ||
id: string // Unique identifier for the menu | ||
uuid: string // UUID for the menu | ||
name: string // Display name of the menu | ||
position: number // Order/position of the menu in navigation | ||
items: string // JSON string containing menu items and their structure | ||
createdAt: string // Creation timestamp | ||
updatedAt: string // Last update timestamp | ||
id: string // Unique identifier for the menu | ||
uuid: string // UUID for the menu | ||
name: string // Display name of the menu | ||
position: number // Order/position of the menu in navigation | ||
items: TMenuItem[] // Array of menu items | ||
createdAt: string // Creation timestamp | ||
updatedAt: string // Last update timestamp | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
export * from './page.ts' | ||
export * from './page.types.ts' | ||
export * from './page.mock.ts' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.