2022-08-04 18:57:43 +00:00
|
|
|
import type {IAbstract} from './IAbstract'
|
|
|
|
import type {ITask} from './ITask'
|
|
|
|
import type {IUser} from './IUser'
|
|
|
|
import type {ISubscription} from './ISubscription'
|
|
|
|
import type {INamespace} from './INamespace'
|
|
|
|
|
|
|
|
|
2022-11-13 21:04:57 +00:00
|
|
|
export interface IProject extends IAbstract {
|
2022-08-04 18:57:43 +00:00
|
|
|
id: number
|
|
|
|
title: string
|
|
|
|
description: string
|
|
|
|
owner: IUser
|
|
|
|
tasks: ITask[]
|
|
|
|
namespaceId: INamespace['id']
|
|
|
|
isArchived: boolean
|
|
|
|
hexColor: string
|
|
|
|
identifier: string
|
2022-10-04 10:48:23 +00:00
|
|
|
backgroundInformation: unknown | null // FIXME: improve type
|
2022-08-04 18:57:43 +00:00
|
|
|
isFavorite: boolean
|
|
|
|
subscription: ISubscription
|
|
|
|
position: number
|
|
|
|
backgroundBlurHash: string
|
|
|
|
|
|
|
|
created: Date
|
|
|
|
updated: Date
|
|
|
|
}
|