This repository has been archived on 2024-02-08. You can view files and clone it, but cannot push or open issues or pull requests.
2019-03-02 10:25:10 +00:00
|
|
|
import UserShareBaseModel from './userShareBase'
|
2022-07-20 22:42:36 +00:00
|
|
|
|
2022-08-04 18:57:43 +00:00
|
|
|
import type {IUserList} from '@/modelTypes/IUserList'
|
|
|
|
import type {IList} from '@/modelTypes/IList'
|
2022-07-20 22:42:36 +00:00
|
|
|
|
2019-03-02 10:25:10 +00:00
|
|
|
// This class extends the user share model with a 'rights' parameter which is used in sharing
|
2022-07-20 22:42:36 +00:00
|
|
|
export default class UserListModel extends UserShareBaseModel implements IUserList {
|
2022-08-14 10:15:45 +00:00
|
|
|
listId: IList['id'] = 0
|
2022-06-23 01:22:21 +00:00
|
|
|
|
2022-08-14 10:15:45 +00:00
|
|
|
constructor(data: Partial<IUserList>) {
|
|
|
|
super(data)
|
|
|
|
this.assignData(data)
|
2019-03-02 10:25:10 +00:00
|
|
|
}
|
|
|
|
}
|