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

import AbstractModel, { type IAbstract } from './abstractModel'
interface IEmailUpdate extends IAbstract {
newEmail: string
password: string
}
export default class EmailUpdateModel extends AbstractModel implements IEmailUpdate {
newEmail!: string
password!: string
defaults() {
return {
newEmail: '',
password: '',
}
}
}