✨ (validation) add a validation file
This commit is contained in:
@@ -3,6 +3,7 @@ import IUser from '@/models/IUser'
|
||||
import ICurrency from '@/models/ICurrency'
|
||||
|
||||
export default interface IAccount extends IModel {
|
||||
doctype: 'account'
|
||||
name: string
|
||||
color: string | null
|
||||
slug?: string
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import IModel from '@/models/IModel'
|
||||
|
||||
export default interface IExchange extends IModel {
|
||||
doctype: 'exchange'
|
||||
base: string
|
||||
date: string
|
||||
timestamp?: string
|
||||
|
||||
@@ -3,5 +3,4 @@ export default interface IModel {
|
||||
_rev?: string
|
||||
_deleted?: boolean
|
||||
_conflicts?: string[]
|
||||
doctype?: string
|
||||
}
|
||||
|
||||
@@ -7,6 +7,7 @@ import ISplit from '@/models/ISplit'
|
||||
import ILocation from './ILocation'
|
||||
|
||||
export default interface ITransaction extends IModel {
|
||||
doctype: 'transaction'
|
||||
name: string
|
||||
accountId: string
|
||||
date: Date
|
||||
|
||||
Reference in New Issue
Block a user