oak-general-business/lib/entities/Platform.d.ts

17 lines
593 B
TypeScript

import { String, Text } from 'oak-domain/lib/types/DataType';
import { EntityShape } from 'oak-domain/lib/types/Entity';
import { Config } from '../types/Config';
import { Style } from '../types/Style';
import { EntityDesc } from 'oak-domain/lib/types/EntityDesc';
export interface Schema extends EntityShape {
name: String<32>;
description?: Text;
config: Config;
oldestVersion?: String<32>;
style?: Style;
entity?: String<32>;
entityId?: String<64>;
}
export type Relation = 'owner' | 'manager';
export declare const entityDesc: EntityDesc<Schema, '', Relation>;