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

1 week ago
  1. declare namespace Socket {
  2. type Response = NotificationResponse
  3. interface cmdResponse {
  4. type: 'cmd_debug' | 'cmd_response'
  5. data: cmdData
  6. }
  7. interface cmdData {
  8. commandId: string
  9. command: string
  10. status: 'receive' | 'start' | 'device_result' | 'device_send' | 'success' | 'error' | 'finish'
  11. title: string
  12. content: string
  13. }
  14. }