fix: improve ListModel typing

This commit is contained in:
Dominik Pschenitschni 2022-01-30 14:05:52 +01:00
parent a9fb24aa35
commit 98b41a22c6
Signed by: dpschen
GPG Key ID: B257AC0149F43A77
1 changed files with 16 additions and 0 deletions

View File

@ -5,6 +5,22 @@ import {getSavedFilterIdFromListId} from '@/helpers/savedFilter'
import SubscriptionModel from '@/models/subscription'
export default class ListModel extends AbstractModel {
id = 0
title = ''
description = ''
owner = UserModel
tasks = []
namespaceId = 0
isArchived = false
hexColor = ''
identifier = ''
backgroundInformation = null
isFavorite = false
subscription = null
position = 0
created = null
updated = null
constructor(data) {
super(data)