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/emailUpdate.ts

18 lines
339 B
TypeScript
Raw Normal View History

import AbstractModel, { type IAbstract } from './abstractModel'
interface IEmailUpdate extends IAbstract {
2022-06-23 01:22:21 +00:00
newEmail: string
password: string
2022-07-20 22:42:36 +00:00
}
export default class EmailUpdateModel extends AbstractModel implements IEmailUpdate {
newEmail!: string
password!: string
2022-06-23 01:22:21 +00:00
defaults() {
return {
newEmail: '',
2022-02-13 22:04:38 +00:00
password: '',
}
}
}