UNPKG

@jdlinker/linker

Version:

jdLinker 系统模块

27 lines (24 loc) 529 B
import { BaseItem } from '@jdlinker/utils'; type LevelItem = { level: number; title: string; }; type IOConfigItem = { id?: string; address: string; topic: string; username: string; password: string; }; type IOItem = { alarmConfigId: string; sourceType: string; config: Partial<{ type: string; dataSourceId: string; config: Partial<IOConfigItem>; }>; exchangeType: 'consume' | 'producer'; //订阅|推送 state: 'disable' | 'enabled'; //禁用|正常 description: string; } & BaseItem;