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

17 lines
No EOL
352 B
TypeScript

import TeamShareBaseModel from './teamShareBase'
import type { IList } from './list'
export interface ITeamList extends TeamShareBaseModel {
listId: IList['id']
}
export default class TeamListModel extends TeamShareBaseModel implements ITeamList {
declare listId: IList['id']
defaults() {
return {
...super.defaults(),
listId: 0,
}
}
}