Initial release: v2.0.0 discord.js-style OOP client for Jibo ROM
This commit is contained in:
49
index.js
Normal file
49
index.js
Normal file
@@ -0,0 +1,49 @@
|
||||
'use strict';
|
||||
|
||||
const Client = require('./src/Client');
|
||||
const {
|
||||
AttentionMode,
|
||||
Camera,
|
||||
Resolution,
|
||||
VideoType,
|
||||
GestureType,
|
||||
HEAD_TOUCH_PADS,
|
||||
} = require('./src/constants');
|
||||
|
||||
const Track = require('./src/structures/Track');
|
||||
const Photo = require('./src/structures/Photo');
|
||||
const VideoStream = require('./src/structures/VideoStream');
|
||||
const SpeechResult = require('./src/structures/SpeechResult');
|
||||
const Motion = require('./src/structures/Motion');
|
||||
const HeadTouchEvent = require('./src/structures/HeadTouchEvent');
|
||||
const GestureEvent = require('./src/structures/GestureEvent');
|
||||
const HotwordEvent = require('./src/structures/HotwordEvent');
|
||||
|
||||
const { sanitizeEsml, chunkEsml } = require('./src/util/esml');
|
||||
|
||||
module.exports = {
|
||||
// Main class
|
||||
Client,
|
||||
|
||||
// Constants / enums
|
||||
AttentionMode,
|
||||
Camera,
|
||||
Resolution,
|
||||
VideoType,
|
||||
GestureType,
|
||||
HEAD_TOUCH_PADS,
|
||||
|
||||
// Structures (for instanceof checks / JSDoc typing)
|
||||
Track,
|
||||
Photo,
|
||||
VideoStream,
|
||||
SpeechResult,
|
||||
Motion,
|
||||
HeadTouchEvent,
|
||||
GestureEvent,
|
||||
HotwordEvent,
|
||||
|
||||
// ESML utilities (still useful for callers who build raw ESML strings)
|
||||
sanitizeEsml,
|
||||
chunkEsml,
|
||||
};
|
||||
Reference in New Issue
Block a user