app navigation

This commit is contained in:
Arjun 2026-03-13 10:26:08 +05:30 committed by arkml
parent 8f1adfb6a5
commit d150294af1
9 changed files with 433 additions and 1 deletions

View file

@ -0,0 +1,22 @@
/**
* Shared types for the Bases view (saved filtered views over the knowledge graph).
*/
export type SortDir = 'asc' | 'desc';
export interface ActiveFilter {
category: string;
value: string;
}
export interface BaseConfig {
filters: ActiveFilter[];
columns: string[];
sort?: { field: string; dir: SortDir };
search?: string;
}
export const DEFAULT_BASE_CONFIG: BaseConfig = {
filters: [],
columns: [],
};