feat: constants

This commit is contained in:
Dominik Pschenitschni 2022-06-23 03:14:58 +02:00
parent af630d3b8c
commit 8fb00653e4
No known key found for this signature in database
GPG key ID: B257AC0149F43A77
27 changed files with 61 additions and 94 deletions

View file

@ -1,6 +1,6 @@
import AbstractModel from './abstractModel'
import type TeamModel from './team'
import type {Right} from '@/models/constants/rights'
import {RIGHTS, type Right} from '@/models/constants/rights'
/**
* This class is a base class for common team sharing model.
@ -22,7 +22,7 @@ export default class TeamShareBaseModel extends AbstractModel {
defaults() {
return {
teamId: 0,
right: 0,
right: RIGHTS.READ,
created: null,
updated: null,