feat: extend type definitions for KanbanFilters, ViewPreferences, and ColumnVisibility
- Added index signatures to allow for dynamic keys in KanbanFilters, ViewPreferences, and ColumnVisibility interfaces, enhancing flexibility in handling additional properties. - Updated layout metadata to reflect new application title and description for better branding. - Updated binary database file.
This commit is contained in:
@@ -53,6 +53,7 @@ export interface KanbanFilters {
|
|||||||
priorities?: TaskPriority[];
|
priorities?: TaskPriority[];
|
||||||
showCompleted?: boolean;
|
showCompleted?: boolean;
|
||||||
sortBy?: string;
|
sortBy?: string;
|
||||||
|
[key: string]: string | string[] | TaskPriority[] | boolean | undefined;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ViewPreferences {
|
export interface ViewPreferences {
|
||||||
@@ -63,10 +64,12 @@ export interface ViewPreferences {
|
|||||||
showFilters: boolean;
|
showFilters: boolean;
|
||||||
objectivesCollapsed: boolean;
|
objectivesCollapsed: boolean;
|
||||||
theme: 'light' | 'dark';
|
theme: 'light' | 'dark';
|
||||||
|
[key: string]: boolean | 'tags' | 'priority' | 'light' | 'dark' | undefined;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ColumnVisibility {
|
export interface ColumnVisibility {
|
||||||
hiddenStatuses: TaskStatus[];
|
hiddenStatuses: TaskStatus[];
|
||||||
|
[key: string]: TaskStatus[] | undefined;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface UserPreferences {
|
export interface UserPreferences {
|
||||||
|
|||||||
@@ -14,8 +14,8 @@ const geistMono = Geist_Mono({
|
|||||||
});
|
});
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
export const metadata: Metadata = {
|
||||||
title: "Create Next App",
|
title: "Tower control",
|
||||||
description: "Generated by create next app",
|
description: "Tour de controle (Kanban, tache, daily, ...)",
|
||||||
};
|
};
|
||||||
|
|
||||||
export default function RootLayout({
|
export default function RootLayout({
|
||||||
|
|||||||
Reference in New Issue
Block a user