vikunja-frontend/src/models/teamNamespace.ts

17 lines
375 B
TypeScript
Raw Normal View History

import TeamShareBaseModel from './teamShareBase'
2022-07-21 00:42:36 +02:00
import type { INamespace } from './namespace'
2022-07-21 00:42:36 +02:00
export interface ITeamNamespace {
namespaceId: INamespace['id']
}
export default class TeamNamespaceModel extends TeamShareBaseModel implements ITeamNamespace {
declare namespaceId: INamespace['id']
2022-06-23 03:22:21 +02:00
defaults() {
return {
...super.defaults(),
namespaceId: 0,
}
}
}