Files
stufflog3/frontend/src/lib/models/item.ts
T
2022-04-11 16:26:02 +02:00

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
}