You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
727 B
36 lines
727 B
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
|
|
}
|