13 lines
442 B
TypeScript
13 lines
442 B
TypeScript
import { String, Price } from 'oak-domain/lib/types/DataType';
|
|
import { EntityShape } from 'oak-domain/lib/types/Entity';
|
|
import { EntityDesc } from 'oak-domain/lib/types';
|
|
export interface Schema extends EntityShape {
|
|
delta: Price;
|
|
type: 'pay' | 'refund' | 'deposit' | 'withdraw' | 'tax';
|
|
entity: String<32>;
|
|
entityId: String<64>;
|
|
}
|
|
export declare const entityDesc: EntityDesc<Schema, '', '', {
|
|
type: Schema['type'];
|
|
}>;
|