Move everything to models and services (#17)
This commit is contained in:
14
src/models/userNamespace.js
Normal file
14
src/models/userNamespace.js
Normal file
@ -0,0 +1,14 @@
|
||||
import UserShareBaseModel from "./userShareBase";
|
||||
import {merge} from 'lodash'
|
||||
|
||||
// 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,
|
||||
}
|
||||
)
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user