2019-03-02 11:25:10 +01:00
|
|
|
import UserShareBaseModel from "./userShareBase";
|
2020-03-02 22:37:36 +01:00
|
|
|
import merge from 'lodash'
|
2019-03-02 11:25:10 +01:00
|
|
|
|
|
|
|
// This class extends the user share model with a 'rights' parameter which is used in sharing
|
|
|
|
export default class UserNamespaceModel extends UserShareBaseModel {
|
|
|
|
defaults() {
|
|
|
|
return merge(
|
|
|
|
super.defaults(),
|
|
|
|
{
|
|
|
|
namespaceID: 0,
|
|
|
|
}
|
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|