feat: manage tokens

This commit is contained in:
kolaente 2021-12-12 18:28:14 +01:00
parent 75f09ec5db
commit 8e5a318d4c
Signed by untrusted user who does not match committer: konrad
GPG key ID: F40E70337AB24C9B
4 changed files with 115 additions and 3 deletions

15
src/models/caldavToken.js Normal file
View file

@ -0,0 +1,15 @@
import AbstractModel from './abstractModel'
export default class CaldavTokenModel extends AbstractModel {
constructor(data) {
super(data)
this.created = new Date(this.created)
}
defaults() {
return {
id: 0,
created: null,
}
}
}