fix: use IAbstract to extend model interface
This commit is contained in:
parent
d36577c04e
commit
8be1f81848
28 changed files with 56 additions and 56 deletions
|
|
@ -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
|
||||
|
|
|
|||
Reference in a new issue