rubjs 3.2.0 → 3.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/core/bot/types/models.js +0 -2
- package/lib/index.d.ts +2 -1
- package/lib/index.js +3 -1
- package/package.json +1 -1
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// rubika-models.ts
|
|
3
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
3
|
exports.ButtonTypeEnum = exports.UpdateEndpointTypeEnum = exports.ChatKeypadTypeEnum = exports.UpdateTypeEnum = exports.MessageSenderEnum = exports.ButtonLocationTypeEnum = exports.ButtonTextboxTypeLineEnum = exports.ButtonTextboxTypeKeypadEnum = exports.ButtonCalendarTypeEnum = exports.ButtonSelectionGetEnum = exports.ButtonSelectionSearchEnum = exports.ButtonSelectionTypeEnum = exports.FileTypeEnum = exports.LiveLocationStatusEnum = exports.PollStatusEnum = exports.PaymentStatusEnum = exports.ForwardedFromEnum = exports.ChatTypeEnum = void 0;
|
|
5
|
-
// ================= Enums =================
|
|
6
4
|
var ChatTypeEnum;
|
|
7
5
|
(function (ChatTypeEnum) {
|
|
8
6
|
ChatTypeEnum["User"] = "User";
|
package/lib/index.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ import type NotificationsType from './core/client/contexts/notifications.type';
|
|
|
11
11
|
import type InlineMessageType from './core/bot/contexts/inline.context';
|
|
12
12
|
import type UpdateType from './core/bot/contexts/update.context';
|
|
13
13
|
import * as Clients from './clients';
|
|
14
|
-
|
|
14
|
+
import * as Models from './core/bot/types/models';
|
|
15
|
+
export { Client, ClientFilters, ClientUtils, Bot, BotFilters, Clients, Models };
|
|
15
16
|
export type { ChatType, MessageType, ActivitiesType, NotificationsType, RubPlugin, InlineMessageType, UpdateType, };
|
|
16
17
|
export default Client;
|
package/lib/index.js
CHANGED
|
@@ -36,7 +36,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
36
36
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.Clients = exports.BotFilters = exports.Bot = exports.ClientUtils = exports.ClientFilters = exports.Client = void 0;
|
|
39
|
+
exports.Models = exports.Clients = exports.BotFilters = exports.Bot = exports.ClientUtils = exports.ClientFilters = exports.Client = void 0;
|
|
40
40
|
// client
|
|
41
41
|
const client_1 = __importDefault(require("./core/client/client"));
|
|
42
42
|
exports.Client = client_1.default;
|
|
@@ -51,5 +51,7 @@ const filters_2 = __importDefault(require("./core/bot/filters"));
|
|
|
51
51
|
exports.BotFilters = filters_2.default;
|
|
52
52
|
const Clients = __importStar(require("./clients"));
|
|
53
53
|
exports.Clients = Clients;
|
|
54
|
+
const Models = __importStar(require("./core/bot/types/models"));
|
|
55
|
+
exports.Models = Models;
|
|
54
56
|
// export default
|
|
55
57
|
exports.default = client_1.default;
|