1
0

feat: constants

This commit is contained in:
Dominik Pschenitschni
2022-06-23 03:14:58 +02:00
parent af630d3b8c
commit 8fb00653e4
27 changed files with 61 additions and 94 deletions

View File

@ -1,5 +1,6 @@
import AbstractModel from './abstractModel'
import UserModel from './user'
import {RIGHTS, type Right} from '@/models/constants/rights'
export default class LinkShareModel extends AbstractModel {
id: number
@ -28,7 +29,7 @@ export default class LinkShareModel extends AbstractModel {
return {
id: 0,
hash: '',
right: 0,
right: RIGHTS.READ,
sharedBy: UserModel,
sharingType: 0,
listId: 0,