@jdlinker/linker
Version:
jdLinker 系统模块
39 lines (37 loc) • 845 B
TypeScript
export interface ConfigurationType {
parserType: string | undefined;
port: string | undefined;
host: string | undefined;
publicPort: string;
publicHost: string;
remoteHost: string;
remotePort: string;
secure: boolean;
username: string;
password: string;
topicPrefix: string;
maxMessageSize: string | number;
certId: string | undefined;
privateKeyAlias: string;
clientId: string;
parserConfiguration: {
delimited: string;
lang: string;
script: string;
size: string;
length: string;
offset: string;
little: string | boolean | undefined;
};
}
export interface FormDataType {
name: string;
type: string;
shareCluster: boolean;
description: string;
}
export interface FormData2Type {
id?: number | string;
serverId?: string | undefined;
configuration: ConfigurationType;
}