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,10 +1,10 @@
import AbstractModel from './abstractModel'
import AbstractModel, { type IAbstract } from './abstractModel'
import UserModel, { type IUser } from './user'
import {colorIsDark} from '@/helpers/color/colorIsDark'
const DEFAULT_LABEL_BACKGROUND_COLOR = 'e8e8e8'
export interface ILabel extends AbstractModel {
export interface ILabel extends IAbstract {
id: number
title: string
hexColor: string