vikunja-frontend/src/models/emailUpdate.ts
Dominik Pschenitschni 7d4ba6249e
feat: add modelTypes
2022-09-05 17:57:21 +02:00

13 lines
No EOL
306 B
TypeScript

import AbstractModel from './abstractModel'
import type {IEmailUpdate} from '@/modelTypes/IEmailUpdate'
export default class EmailUpdateModel extends AbstractModel implements IEmailUpdate {
newEmail = ''
password = ''
constructor(data : Partial<IEmailUpdate>) {
super()
this.assignData(data)
}
}