This repository has been archived on 2024-02-08. You can view files and clone it, but cannot push or open issues or pull requests.
frontend/src/modelTypes/IProject.ts

27 lines
612 B
TypeScript

import type {IAbstract} from './IAbstract'
import type {ITask} from './ITask'
import type {IUser} from './IUser'
import type {ISubscription} from './ISubscription'
export interface IProject extends IAbstract {
id: number
title: string
description: string
owner: IUser
tasks: ITask[]
isArchived: boolean
hexColor: string
identifier: string
backgroundInformation: unknown | null // FIXME: improve type
isFavorite: boolean
subscription: ISubscription
position: number
backgroundBlurHash: string
parentProjectId: number
doneBucketId: number
defaultBucketId: number
created: Date
updated: Date
}