vikunja-frontend/src/models/userNamespace.js

14 lines
332 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,
}
)
}
}