feat: add modelTypes
This commit is contained in:
parent
8416b1f448
commit
7d4ba6249e
91 changed files with 751 additions and 513 deletions
|
|
@ -1,14 +1,8 @@
|
|||
import AbstractModel, { type IAbstract } from './abstractModel'
|
||||
import AbstractModel from './abstractModel'
|
||||
|
||||
import {RIGHTS, type Right} from '@/constants/rights'
|
||||
import type { ITeam } from './team'
|
||||
|
||||
export interface ITeamShareBase extends IAbstract {
|
||||
teamId: ITeam['id']
|
||||
right: Right
|
||||
|
||||
created: Date
|
||||
updated: Date
|
||||
}
|
||||
import type {ITeamShareBase} from '@/modelTypes/ITeamShareBase'
|
||||
import type {ITeam} from '@/modelTypes/ITeam'
|
||||
|
||||
/**
|
||||
* This class is a base class for common team sharing model.
|
||||
|
|
|
|||
Reference in a new issue