14 lines
468 B
TypeScript
14 lines
468 B
TypeScript
import { String, Boolean } from 'oak-domain/lib/types/DataType';
|
|
import { EntityShape } from 'oak-domain/lib/types/Entity';
|
|
import { EntityDesc } from 'oak-domain/lib/types';
|
|
import { Schema as System } from './System';
|
|
type Action = 'enable' | 'disable';
|
|
export interface Schema extends EntityShape {
|
|
entity: String<32>;
|
|
entityId: String<64>;
|
|
enabled: Boolean;
|
|
system: System;
|
|
}
|
|
export declare const entityDesc: EntityDesc<Schema, Action>;
|
|
export {};
|