- Update all entities to include UID field - Convert components to use UID for navigation and links - Update services to support UID-based API calls - Add slug utilities for UID extraction - Update store to handle UID fields - Fix routing throughout all components
27 lines
733 B
TypeScript
27 lines
733 B
TypeScript
import { Area } from './Area';
|
|
import { Tag } from './Tag';
|
|
import { PriorityType, Task } from './Task';
|
|
import { Note } from './Note';
|
|
|
|
export interface Project {
|
|
id?: number;
|
|
uid?: string;
|
|
name: string;
|
|
description?: string;
|
|
active: boolean;
|
|
pin_to_sidebar?: boolean;
|
|
area?: Area;
|
|
area_id?: number | null;
|
|
tags?: Tag[];
|
|
priority?: PriorityType;
|
|
tasks?: Task[];
|
|
Tasks?: Task[]; // Sequelize association naming (capitalized)
|
|
notes?: Note[];
|
|
Notes?: Note[]; // Sequelize association naming (capitalized)
|
|
due_date_at?: string | null;
|
|
image_url?: string;
|
|
task_show_completed?: boolean;
|
|
task_sort_order?: string;
|
|
created_at?: string;
|
|
updated_at?: string;
|
|
}
|