fix: improve ListModel typing

This commit is contained in:
Dominik Pschenitschni 2022-01-30 14:05:52 +01:00
parent a9fb24aa35
commit 98b41a22c6
No known key found for this signature in database
GPG key ID: B257AC0149F43A77

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)