2019-03-02 10:25:10 +00:00
|
|
|
import UserShareBaseModel from './userShareBase'
|
2020-11-02 20:47:31 +00:00
|
|
|
import merge from 'lodash/merge'
|
2019-03-02 10:25:10 +00:00
|
|
|
|
|
|
|
// This class extends the user share model with a 'rights' parameter which is used in sharing
|
|
|
|
export default class UserListModel extends UserShareBaseModel {
|
|
|
|
defaults() {
|
|
|
|
return merge(
|
|
|
|
super.defaults(),
|
|
|
|
{
|
2020-04-12 21:54:46 +00:00
|
|
|
listId: 0,
|
2020-09-05 22:35:52 +02:00
|
|
|
},
|
2019-03-02 10:25:10 +00:00
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|