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[];
|
||||
showCompleted?: boolean;
|
||||
sortBy?: string;
|
||||
[key: string]: string | string[] | TaskPriority[] | boolean | undefined;
|
||||
}
|
||||
|
||||
export interface ViewPreferences {
|
||||
@@ -63,10 +64,12 @@ export interface ViewPreferences {
|
||||
showFilters: boolean;
|
||||
objectivesCollapsed: boolean;
|
||||
theme: 'light' | 'dark';
|
||||
[key: string]: boolean | 'tags' | 'priority' | 'light' | 'dark' | undefined;
|
||||
}
|
||||
|
||||
export interface ColumnVisibility {
|
||||
hiddenStatuses: TaskStatus[];
|
||||
[key: string]: TaskStatus[] | undefined;
|
||||
}
|
||||
|
||||
export interface UserPreferences {
|
||||
|
||||
@@ -14,8 +14,8 @@ const geistMono = Geist_Mono({
|
||||
});
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Create Next App",
|
||||
description: "Generated by create next app",
|
||||
title: "Tower control",
|
||||
description: "Tour de controle (Kanban, tache, daily, ...)",
|
||||
};
|
||||
|
||||
export default function RootLayout({
|
||||
|
||||
Reference in New Issue
Block a user