feat: port holistic node refinement contract

This commit is contained in:
“BeeRad”
2026-04-11 21:37:52 +10:00
parent 35f9ecf89c
commit 3ae46245ec
119 changed files with 6596 additions and 10982 deletions
+2 -11
View File
@@ -1,9 +1,9 @@
// View system types
export type ViewType = 'focus' | 'list' | 'kanban' | 'grid';
export type ViewType = 'focus' | 'list' | 'grid' | 'table' | 'map';
export interface ViewFilter {
dimension: string;
context: string;
operator: 'includes' | 'excludes';
}
@@ -12,18 +12,10 @@ export interface ViewSort {
direction: 'asc' | 'desc';
}
export interface KanbanColumn {
id: string;
dimension: string;
order: number;
}
export interface ViewConfig {
filters: ViewFilter[];
filterLogic: 'and' | 'or';
sort: ViewSort;
// Kanban-specific
columns?: KanbanColumn[];
}
export interface SavedView {
@@ -41,5 +33,4 @@ export const DEFAULT_VIEW_CONFIG: ViewConfig = {
filters: [],
filterLogic: 'and',
sort: { field: 'updated_at', direction: 'desc' },
columns: []
};