This repository has been archived on 2024-02-08. You can view files and clone it, but cannot push or open issues or pull requests.
frontend/src/models/caldavToken.ts

15 lines
284 B
TypeScript
Raw Normal View History

2022-01-04 23:13:08 +00:00
import AbstractModel from './abstractModel'
export default class CaldavTokenModel extends AbstractModel {
constructor(data? : Object) {
super(data)
2022-04-02 15:34:58 +00:00
/** @type {number} */
this.id
2022-01-04 23:13:08 +00:00
if (this.created) {
2022-04-02 15:34:58 +00:00
/** @type {Date} */
2022-01-04 23:13:08 +00:00
this.created = new Date(this.created)
}
}
}