-
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: migration of the codebase to TypeScript (#56)
Co-authored-by: Maciej Urbańczyk <[email protected]>
- Loading branch information
1 parent
5adcd18
commit 5bfd398
Showing
11 changed files
with
228 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
asyncapi: 2.0.0 | ||
id: 'urn:zbos-mqtt-api' | ||
defaultContentType: application/json | ||
info: | ||
title: Audio | ||
version: 2.6.3 | ||
description: API for communication with ZBOS by Zora Robotics. | ||
contact: | ||
email: [email protected] | ||
channels: | ||
zbos/audio/player/start: | ||
publish: | ||
summary: Play media | ||
description: | | ||
Play specific media from audio options | ||
tags: | ||
- name: Audio | ||
description: All audio related topics. | ||
message: | ||
payload: | ||
type: object | ||
properties: | ||
requestId: | ||
type: string | ||
url: | ||
type: string | ||
loop: | ||
type: boolean | ||
name: AudioOptions | ||
examples: | ||
- payload: | ||
requestId: '1' | ||
url: Url | ||
loop: true | ||
zbos/audio/player/stop: | ||
publish: | ||
summary: Stop media | ||
description: '' | ||
tags: | ||
- name: Audio | ||
description: All audio related topics. | ||
message: | ||
$ref: '#/components/messages/emptyMessage' | ||
components: | ||
messages: | ||
emptyMessage: | ||
payload: | ||
type: object | ||
name: EmptyMessage | ||
summary: Empty message |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
asyncapi: 2.0.0 | ||
id: 'urn:zbos-mqtt-api' | ||
defaultContentType: 'application/json' | ||
info: | ||
title: ZBOS MQTT API | ||
version: 2.6.3 | ||
description: API for communication with ZBOS by Zora Robotics. | ||
contact: | ||
email: [email protected] | ||
servers: | ||
local: | ||
url: '127.0.0.1' | ||
protocol: mqtt | ||
description: This is the local robot broker. | ||
variables: | ||
port: | ||
enum: | ||
- '1883' | ||
- '9001' | ||
default: '1883' | ||
cloud: | ||
url: zbos-mqtt.zoracloud.com | ||
protocol: mqtt | ||
description: This is the cloud broker. | ||
variables: | ||
port: | ||
enum: | ||
- '1883' | ||
- '1884' | ||
- '9001' | ||
- '9002' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
asyncapi: 2.0.0 | ||
id: 'urn:zbos-mqtt-api' | ||
defaultContentType: application/json | ||
info: | ||
title: Camera | ||
version: 2.6.3 | ||
description: API for communication with ZBOS by Zora Robotics. | ||
contact: | ||
email: [email protected] | ||
channels: | ||
zbos/camera/picture/event: | ||
subscribe: | ||
summary: 'event: Get picture' | ||
description: '' | ||
tags: | ||
- name: Camera | ||
description: All camera related topics. | ||
message: | ||
payload: | ||
type: string | ||
name: String | ||
zbos/camera/picture/get: | ||
publish: | ||
summary: Get picture | ||
description: '' | ||
tags: | ||
- name: Camera | ||
description: All camera related topics. | ||
message: | ||
$ref: '#/components/messages/keyMessage' | ||
components: | ||
messages: | ||
keyMessage: | ||
payload: | ||
type: object | ||
properties: | ||
key: | ||
type: string | ||
description: Required random key | ||
name: KeyResult | ||
summary: Random key | ||
examples: | ||
- payload: | ||
key: ABCxyz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.