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