revert: model properties
continuous-integration/drone/pr Build is failing Details

partially reverts de3c47dc69
This commit is contained in:
kolaente 2022-01-30 20:18:34 +01:00
parent 8f04b10e08
commit 2a819eccb4
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
3 changed files with 0 additions and 19 deletions

View File

@ -3,12 +3,6 @@ import UserModel from './user'
import FileModel from './file'
export default class AttachmentModel extends AbstractModel {
id = 0
taskId = 0
file = FileModel
createdBy = UserModel
created = null
constructor(data) {
super(data)
this.createdBy = new UserModel(this.createdBy)

View File

@ -2,12 +2,6 @@ import AbstractModel from '@/models/abstractModel'
import UserModel from '@/models/user'
export default class SubscriptionModel extends AbstractModel {
id = 0
entity = ''
entityId = 0
created = null
user = UserModel
constructor(data) {
super(data)
this.user = new UserModel(this.user)

View File

@ -10,13 +10,6 @@ import {parseDateOrNull} from '@/helpers/parseDateOrNull'
const SUPPORTS_TRIGGERED_NOTIFICATION = 'Notification' in window && 'showTrigger' in Notification.prototype
export default class TaskModel extends AbstractModel {
index = 0
done = false
priority = 0
percentDone = 0
defaultColor = '198CFF'
constructor(data) {
super(data)