import type { NotesLayoutMode } from '@/components/notes-list-views' import type { PropertyType } from '@/lib/structured-views/types' export type WizardGoal = 'tasks' | 'learning' | 'reading' | 'simple' export type WizardFieldId = 'status' | 'dueDate' | 'level' | 'lastReview' | 'read' | 'source' export type WizardFieldDef = { id: WizardFieldId type: PropertyType hasOptions?: boolean } export const WIZARD_GOALS: WizardGoal[] = ['tasks', 'learning', 'reading', 'simple'] export const WIZARD_FIELDS_BY_GOAL: Record = { tasks: [ { id: 'status', type: 'select', hasOptions: true }, { id: 'dueDate', type: 'date' }, ], learning: [ { id: 'level', type: 'select', hasOptions: true }, { id: 'lastReview', type: 'date' }, ], reading: [ { id: 'read', type: 'checkbox' }, { id: 'source', type: 'text' }, ], simple: [], } export const WIZARD_DEFAULT_VIEW: Record = { tasks: 'kanban', learning: 'gallery', reading: 'gallery', simple: 'list', } export const KANBAN_GROUP_FIELD_ID: WizardFieldId = 'status'