15 lines
504 B
TypeScript
15 lines
504 B
TypeScript
import { String, Int } from 'oak-domain/lib/types/DataType';
|
|
import { EntityShape } from 'oak-domain/lib/types/Entity';
|
|
import { Schema as System } from './System';
|
|
import { EntityDesc } from 'oak-domain/lib/types/EntityDesc';
|
|
export interface Schema extends EntityShape {
|
|
url: String<64>;
|
|
apiPath?: String<32>;
|
|
protocol: 'http:' | 'https:';
|
|
port: Int<2>;
|
|
system: System;
|
|
}
|
|
export declare const entityDesc: EntityDesc<Schema, '', '', {
|
|
protocol: Required<Schema>['protocol'];
|
|
}>;
|