20 lines
434 B
TypeScript
20 lines
434 B
TypeScript
import type { ProjectEntry } from "./project";
|
|
import type { ScopeEntry } from "./scope";
|
|
import type { StatProgressEntry } from "./stat";
|
|
|
|
export default interface Item {
|
|
id: number
|
|
name: string
|
|
description: string
|
|
createdTime: Date
|
|
createdBy: string
|
|
acquireTime?: Date
|
|
scheduledDate?: string
|
|
stats: StatProgressEntry[]
|
|
}
|
|
|
|
export interface StandaloneItem extends Item {
|
|
scope: ScopeEntry
|
|
project?: ProjectEntry
|
|
}
|