vikunja-frontend/src/models/userNamespace.js

14 lines
330 B
JavaScript
Raw Normal View History

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,
}
)
}
}