import type Item from "./item"; import type { ScopeEntry } from "./scope"; import type { StatProgressEntry } from "./stat"; import type Status from "./status"; export default interface Project extends ProjectEntry { description: string requirements: Requirement[] } export interface ProjectEntry { id: number ownerId: string createdTime: string name: string status: Status } export interface Requirement { id: number name: string description: string status: Status stats: StatProgressEntry[] items: Item[] } export interface StandaloneRequirement extends Requirement { scope: ScopeEntry project: ProjectEntry }