vikunja-frontend/src/models/teamNamespace.ts
2022-09-05 17:43:22 +02:00

17 lines
No EOL
375 B
TypeScript

import TeamShareBaseModel from './teamShareBase'
import type { INamespace } from './namespace'
export interface ITeamNamespace {
namespaceId: INamespace['id']
}
export default class TeamNamespaceModel extends TeamShareBaseModel implements ITeamNamespace {
declare namespaceId: INamespace['id']
defaults() {
return {
...super.defaults(),
namespaceId: 0,
}
}
}