vikunja-frontend/src/models/teamList.ts

15 lines
360 B
TypeScript
Raw Normal View History

import TeamShareBaseModel from './teamShareBase'
2022-07-21 00:42:36 +02:00
import type { IList } from './list'
export interface ITeamList extends TeamShareBaseModel {
2022-07-21 00:42:36 +02:00
listId: IList['id']
}
export default class TeamListModel extends TeamShareBaseModel implements ITeamList {
listId: IList['id'] = 0
2022-06-23 03:22:21 +02:00
constructor(data: Partial<ITeamList>) {
super(data)
this.assignData(data)
}
}