forked from vikunja/frontend
15 lines
410 B
TypeScript
15 lines
410 B
TypeScript
import TeamShareBaseModel from './teamShareBase'
|
|
import type { INamespace } from './namespace'
|
|
|
|
export interface ITeamNamespace extends TeamShareBaseModel {
|
|
namespaceId: INamespace['id']
|
|
}
|
|
|
|
export default class TeamNamespaceModel extends TeamShareBaseModel implements ITeamNamespace {
|
|
namespaceId: INamespace['id'] = 0
|
|
|
|
constructor(data: Partial<ITeamNamespace>) {
|
|
super(data)
|
|
this.assignData(data)
|
|
}
|
|
} |