-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.js
32 lines (30 loc) · 1.49 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
const Message = require(`./src/Message`);
const MessageUtils = require(`./src/MessageUtils`);
const MessageBuilder = require(`./src/MessageBuilder`);
const TopicCreatePayload = require(`./src/payload/TopicCreatePayload.js`);
const TopicListPayload = require(`./src/payload/TopicListPayload.js`);
const TopicSubscribePayload = require(`./src/payload/TopicSubscribePayload.js`);
const TopicUnsubscribePayload = require(`./src/payload/TopicUnsubscribePayload.js`);
const NotificationCreatePayload = require(`./src/payload/NotificationCreatePayload.js`);
const NotificationPayload = require(`./src/payload/NotificationPayload.js`);
const PluginAuthenticatePayload = require(`./src/payload/PluginAuthenticatePayload.js`);
const HealthPayload = require(`./src/payload/HealthPayload.js`);
const TokenPayload = require(`./src/payload/TokenPayload.js`);
const ErrorPayload = require(`./src/payload/ErrorPayload.js`);
module.exports = {
Message: Message,
MessageBuilder: MessageBuilder,
MessageUtils: MessageUtils,
payload: {
TopicCreatePayload: TopicCreatePayload,
TopicListPayload: TopicListPayload,
TopicSubscribePayload: TopicSubscribePayload,
TopicUnsubscribePayload: TopicUnsubscribePayload,
NotificationCreatePayload: NotificationCreatePayload,
NotificationPayload: NotificationPayload,
PluginAuthenticatePayload: PluginAuthenticatePayload,
HealthPayload: HealthPayload,
TokenPayload: TokenPayload,
ErrorPayload: ErrorPayload
}
};