@xrystal/core 3.7.3 → 3.7.5
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/package.json
CHANGED
|
@@ -41,6 +41,13 @@ export declare enum ContentTypeEnum {
|
|
|
41
41
|
applicationJson = "application/json",
|
|
42
42
|
applicationXWwwFormUrlencoded = "application/x-www-form-urlencoded"
|
|
43
43
|
}
|
|
44
|
+
export declare enum DeviceStatusEnum {
|
|
45
|
+
PENDING = 0,
|
|
46
|
+
OFFLINE = 1,
|
|
47
|
+
ONLINE = 2,
|
|
48
|
+
CONNECTING = 3,
|
|
49
|
+
CONNECTED = 4
|
|
50
|
+
}
|
|
44
51
|
export declare enum DevicePlatformEnum {
|
|
45
52
|
WEB = "web",
|
|
46
53
|
NATIVE = "native",
|
|
@@ -69,6 +76,11 @@ export declare enum TimezoneEnum {
|
|
|
69
76
|
EtcUTC = "Etc/UTC",
|
|
70
77
|
EtcGMT = "Etc/GMT"
|
|
71
78
|
}
|
|
79
|
+
export declare enum WsEnum {
|
|
80
|
+
BUS = "WS_BUS",
|
|
81
|
+
USER = "ws:user",
|
|
82
|
+
ROOM = "ws:room"
|
|
83
|
+
}
|
|
72
84
|
export declare enum TokensEnum {
|
|
73
85
|
CSRF_TOKEN = "csrf_token",
|
|
74
86
|
ACCESS_TOKEN = "access_token",
|
|
@@ -49,6 +49,14 @@ export var ContentTypeEnum;
|
|
|
49
49
|
ContentTypeEnum["applicationJson"] = "application/json";
|
|
50
50
|
ContentTypeEnum["applicationXWwwFormUrlencoded"] = "application/x-www-form-urlencoded";
|
|
51
51
|
})(ContentTypeEnum || (ContentTypeEnum = {}));
|
|
52
|
+
export var DeviceStatusEnum;
|
|
53
|
+
(function (DeviceStatusEnum) {
|
|
54
|
+
DeviceStatusEnum[DeviceStatusEnum["PENDING"] = 0] = "PENDING";
|
|
55
|
+
DeviceStatusEnum[DeviceStatusEnum["OFFLINE"] = 1] = "OFFLINE";
|
|
56
|
+
DeviceStatusEnum[DeviceStatusEnum["ONLINE"] = 2] = "ONLINE";
|
|
57
|
+
DeviceStatusEnum[DeviceStatusEnum["CONNECTING"] = 3] = "CONNECTING";
|
|
58
|
+
DeviceStatusEnum[DeviceStatusEnum["CONNECTED"] = 4] = "CONNECTED";
|
|
59
|
+
})(DeviceStatusEnum || (DeviceStatusEnum = {}));
|
|
52
60
|
export var DevicePlatformEnum;
|
|
53
61
|
(function (DevicePlatformEnum) {
|
|
54
62
|
DevicePlatformEnum["WEB"] = "web";
|
|
@@ -82,6 +90,12 @@ export var TimezoneEnum;
|
|
|
82
90
|
TimezoneEnum["EtcUTC"] = "Etc/UTC";
|
|
83
91
|
TimezoneEnum["EtcGMT"] = "Etc/GMT";
|
|
84
92
|
})(TimezoneEnum || (TimezoneEnum = {}));
|
|
93
|
+
export var WsEnum;
|
|
94
|
+
(function (WsEnum) {
|
|
95
|
+
WsEnum["BUS"] = "WS_BUS";
|
|
96
|
+
WsEnum["USER"] = "ws:user";
|
|
97
|
+
WsEnum["ROOM"] = "ws:room";
|
|
98
|
+
})(WsEnum || (WsEnum = {}));
|
|
85
99
|
export var TokensEnum;
|
|
86
100
|
(function (TokensEnum) {
|
|
87
101
|
TokensEnum["CSRF_TOKEN"] = "csrf_token";
|