fix: use IAbstract to extend model interface

This commit is contained in:
Dominik Pschenitschni 2022-08-14 12:15:09 +02:00
parent d36577c04e
commit 8be1f81848
No known key found for this signature in database
GPG key ID: B257AC0149F43A77
28 changed files with 56 additions and 56 deletions

View file

@ -1,6 +1,6 @@
import type { Priority } from '@/constants/priorities'
import AbstractModel from '@/models/abstractModel'
import AbstractModel, { type IAbstract } from '@/models/abstractModel'
import UserModel, { type IUser } from '@/models/user'
import LabelModel, { type ILabel } from '@/models/label'
import AttachmentModel, {type IAttachment} from '@/models/attachment'
@ -22,7 +22,7 @@ export const TASK_REPEAT_MODES = {
export type TaskRepeatMode = typeof TASK_REPEAT_MODES[keyof typeof TASK_REPEAT_MODES]
export interface ITask extends AbstractModel {
export interface ITask extends IAbstract {
id: number
title: string
description: string