fix: improve ListModel typing
This commit is contained in:
parent
a9fb24aa35
commit
98b41a22c6
1 changed files with 16 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue