feat: add modelTypes

This commit is contained in:
Dominik Pschenitschni 2022-08-04 20:57:43 +02:00
parent 8416b1f448
commit 7d4ba6249e
No known key found for this signature in database
GPG key ID: B257AC0149F43A77
91 changed files with 751 additions and 513 deletions

View file

@ -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.