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
315 B
TypeScript

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