You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
362 B
16 lines
362 B
declare namespace Socket {
|
|
type Response = NotificationResponse
|
|
|
|
interface cmdResponse {
|
|
type: 'cmd_debug' | 'cmd_response'
|
|
data: cmdData
|
|
}
|
|
|
|
interface cmdData {
|
|
commandId: string
|
|
command: string
|
|
status: 'receive' | 'start' | 'device_result' | 'device_send' | 'success' | 'error' | 'finish'
|
|
title: string
|
|
content: string
|
|
}
|
|
}
|