feat: add modelTypes
This commit is contained in:
parent
8416b1f448
commit
7d4ba6249e
91 changed files with 751 additions and 513 deletions
|
|
@ -1,10 +1,6 @@
|
|||
import AbstractModel, { type IAbstract } from './abstractModel'
|
||||
import AbstractModel from './abstractModel'
|
||||
|
||||
export interface ITotp extends IAbstract {
|
||||
secret: string
|
||||
enabled: boolean
|
||||
url: string
|
||||
}
|
||||
import type {ITotp} from '@/modelTypes/ITotp'
|
||||
|
||||
export default class TotpModel extends AbstractModel implements ITotp {
|
||||
secret = ''
|
||||
|
|
|
|||
Reference in a new issue