@xrystal/core 3.6.0 → 3.6.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/README.md +14 -1
- package/package.json +1 -1
- package/source/loader/logger/index.d.ts +1 -1
- package/source/loader/logger/index.js +19 -23
- package/x/dist/index.d.ts +0 -2
- package/x/dist/index.js +0 -8
- package/x/dist/loader/configs/index.d.ts +0 -13
- package/x/dist/loader/configs/index.js +0 -17
- package/x/dist/loader/events/index.d.ts +0 -6
- package/x/dist/loader/events/index.js +0 -25
- package/x/dist/loader/index.d.ts +0 -6
- package/x/dist/loader/index.js +0 -6
- package/x/dist/loader/localizations/index.d.ts +0 -14
- package/x/dist/loader/localizations/index.js +0 -32
- package/x/dist/loader/logger/index.d.ts +0 -28
- package/x/dist/loader/logger/index.js +0 -179
- package/x/dist/loader/system/index.d.ts +0 -8
- package/x/dist/loader/system/index.js +0 -14
- package/x/dist/project/index.d.ts +0 -6
- package/x/dist/project/index.js +0 -63
- package/x/dist/utils/constants/index.d.ts +0 -8
- package/x/dist/utils/constants/index.js +0 -10
- package/x/dist/utils/helpers/date/index.d.ts +0 -16
- package/x/dist/utils/helpers/date/index.js +0 -48
- package/x/dist/utils/helpers/filters/index.d.ts +0 -17
- package/x/dist/utils/helpers/filters/index.js +0 -44
- package/x/dist/utils/helpers/hash/crypto.d.ts +0 -3
- package/x/dist/utils/helpers/hash/crypto.js +0 -22
- package/x/dist/utils/helpers/id/index.d.ts +0 -13
- package/x/dist/utils/helpers/id/index.js +0 -24
- package/x/dist/utils/helpers/index.d.ts +0 -17
- package/x/dist/utils/helpers/index.js +0 -17
- package/x/dist/utils/helpers/ip/index.d.ts +0 -1
- package/x/dist/utils/helpers/ip/index.js +0 -3
- package/x/dist/utils/helpers/is/index.d.ts +0 -11
- package/x/dist/utils/helpers/is/index.js +0 -35
- package/x/dist/utils/helpers/locales/index.d.ts +0 -52
- package/x/dist/utils/helpers/locales/index.js +0 -161
- package/x/dist/utils/helpers/locales copy/index.d.ts +0 -52
- package/x/dist/utils/helpers/locales copy/index.js +0 -161
- package/x/dist/utils/helpers/math/index.d.ts +0 -2
- package/x/dist/utils/helpers/math/index.js +0 -14
- package/x/dist/utils/helpers/objects/index.d.ts +0 -1
- package/x/dist/utils/helpers/objects/index.js +0 -55
- package/x/dist/utils/helpers/path/index.d.ts +0 -2
- package/x/dist/utils/helpers/path/index.js +0 -4
- package/x/dist/utils/helpers/regex/checkSpecialRegexControl.d.ts +0 -1
- package/x/dist/utils/helpers/regex/checkSpecialRegexControl.js +0 -3
- package/x/dist/utils/helpers/string/index.d.ts +0 -1
- package/x/dist/utils/helpers/string/index.js +0 -9
- package/x/dist/utils/helpers/timer/index.d.ts +0 -3
- package/x/dist/utils/helpers/timer/index.js +0 -5
- package/x/dist/utils/helpers/tmp/index.d.ts +0 -8
- package/x/dist/utils/helpers/tmp/index.js +0 -109
- package/x/dist/utils/helpers/validates/index.d.ts +0 -5
- package/x/dist/utils/helpers/validates/index.js +0 -20
- package/x/dist/utils/index.d.ts +0 -3
- package/x/dist/utils/index.js +0 -3
- package/x/dist/utils/models/classes/class.controller.d.ts +0 -80
- package/x/dist/utils/models/classes/class.controller.js +0 -164
- package/x/dist/utils/models/classes/class.response.d.ts +0 -17
- package/x/dist/utils/models/classes/class.response.js +0 -37
- package/x/dist/utils/models/classes/class.services.d.ts +0 -129
- package/x/dist/utils/models/classes/class.services.js +0 -344
- package/x/dist/utils/models/classes/class.tmp-file-loader.d.ts +0 -8
- package/x/dist/utils/models/classes/class.tmp-file-loader.js +0 -38
- package/x/dist/utils/models/classes/class.x.d.ts +0 -12
- package/x/dist/utils/models/classes/class.x.js +0 -16
- package/x/dist/utils/models/enums/index.d.ts +0 -117
- package/x/dist/utils/models/enums/index.js +0 -133
- package/x/dist/utils/models/index.d.ts +0 -8
- package/x/dist/utils/models/index.js +0 -8
- package/x/dist/utils/models/types/index.d.ts +0 -3
- package/x/dist/utils/models/types/index.js +0 -2
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
export var NodeEnvEnum;
|
|
2
|
-
(function (NodeEnvEnum) {
|
|
3
|
-
NodeEnvEnum["DEV"] = "dev";
|
|
4
|
-
NodeEnvEnum["TEST"] = "test";
|
|
5
|
-
NodeEnvEnum["PROD"] = "prod";
|
|
6
|
-
})(NodeEnvEnum || (NodeEnvEnum = {}));
|
|
7
|
-
export var ProtocolEnum;
|
|
8
|
-
(function (ProtocolEnum) {
|
|
9
|
-
ProtocolEnum["HTTP"] = "http";
|
|
10
|
-
ProtocolEnum["HTTPS"] = "https";
|
|
11
|
-
ProtocolEnum["WEBSOCKET"] = "ws";
|
|
12
|
-
ProtocolEnum["SOCKETIO"] = "ws";
|
|
13
|
-
ProtocolEnum["NONE"] = "none";
|
|
14
|
-
})(ProtocolEnum || (ProtocolEnum = {}));
|
|
15
|
-
export var PolarityTypeEnum;
|
|
16
|
-
(function (PolarityTypeEnum) {
|
|
17
|
-
PolarityTypeEnum[PolarityTypeEnum["NOTR"] = 0] = "NOTR";
|
|
18
|
-
PolarityTypeEnum[PolarityTypeEnum["POSITIVE"] = 1] = "POSITIVE";
|
|
19
|
-
PolarityTypeEnum[PolarityTypeEnum["NEGATIVE"] = -1] = "NEGATIVE";
|
|
20
|
-
})(PolarityTypeEnum || (PolarityTypeEnum = {}));
|
|
21
|
-
export var LoggerLayerEnum;
|
|
22
|
-
(function (LoggerLayerEnum) {
|
|
23
|
-
LoggerLayerEnum[LoggerLayerEnum["CRITICAL"] = 0] = "CRITICAL";
|
|
24
|
-
LoggerLayerEnum[LoggerLayerEnum["ERROR"] = 1] = "ERROR";
|
|
25
|
-
LoggerLayerEnum[LoggerLayerEnum["INFO"] = 2] = "INFO";
|
|
26
|
-
LoggerLayerEnum[LoggerLayerEnum["HTTP"] = 4] = "HTTP";
|
|
27
|
-
LoggerLayerEnum[LoggerLayerEnum["DEBUG"] = 5] = "DEBUG";
|
|
28
|
-
})(LoggerLayerEnum || (LoggerLayerEnum = {}));
|
|
29
|
-
export var CountryCodeEnum;
|
|
30
|
-
(function (CountryCodeEnum) {
|
|
31
|
-
CountryCodeEnum["EN"] = "en";
|
|
32
|
-
CountryCodeEnum["TR"] = "tr";
|
|
33
|
-
})(CountryCodeEnum || (CountryCodeEnum = {}));
|
|
34
|
-
export var CurrencyCodeEnum;
|
|
35
|
-
(function (CurrencyCodeEnum) {
|
|
36
|
-
CurrencyCodeEnum["USD"] = "usd";
|
|
37
|
-
CurrencyCodeEnum["EUR"] = "eur";
|
|
38
|
-
CurrencyCodeEnum["TRY"] = "try";
|
|
39
|
-
})(CurrencyCodeEnum || (CurrencyCodeEnum = {}));
|
|
40
|
-
export var HttpMethodEnum;
|
|
41
|
-
(function (HttpMethodEnum) {
|
|
42
|
-
HttpMethodEnum["POST"] = "post";
|
|
43
|
-
HttpMethodEnum["GET"] = "get";
|
|
44
|
-
HttpMethodEnum["PUT"] = "put";
|
|
45
|
-
HttpMethodEnum["DELETE"] = "delete";
|
|
46
|
-
})(HttpMethodEnum || (HttpMethodEnum = {}));
|
|
47
|
-
export var ContentTypeEnum;
|
|
48
|
-
(function (ContentTypeEnum) {
|
|
49
|
-
ContentTypeEnum["applicationJson"] = "application/json";
|
|
50
|
-
ContentTypeEnum["applicationXWwwFormUrlencoded"] = "application/x-www-form-urlencoded";
|
|
51
|
-
})(ContentTypeEnum || (ContentTypeEnum = {}));
|
|
52
|
-
export var DevicePlatformEnum;
|
|
53
|
-
(function (DevicePlatformEnum) {
|
|
54
|
-
DevicePlatformEnum["WEB"] = "web";
|
|
55
|
-
DevicePlatformEnum["NATIVE"] = "native";
|
|
56
|
-
DevicePlatformEnum["OTHER"] = "other";
|
|
57
|
-
})(DevicePlatformEnum || (DevicePlatformEnum = {}));
|
|
58
|
-
export var DeviceOSEnum;
|
|
59
|
-
(function (DeviceOSEnum) {
|
|
60
|
-
DeviceOSEnum["ANDROID"] = "android";
|
|
61
|
-
DeviceOSEnum["IOS"] = "ios";
|
|
62
|
-
DeviceOSEnum["WINDOWS"] = "windows";
|
|
63
|
-
DeviceOSEnum["MACOS"] = "macos";
|
|
64
|
-
DeviceOSEnum["MACOSX"] = "macosx";
|
|
65
|
-
DeviceOSEnum["OTHER"] = "other";
|
|
66
|
-
})(DeviceOSEnum || (DeviceOSEnum = {}));
|
|
67
|
-
export var PriorityEnum;
|
|
68
|
-
(function (PriorityEnum) {
|
|
69
|
-
PriorityEnum[PriorityEnum["HIGH"] = 0] = "HIGH";
|
|
70
|
-
PriorityEnum[PriorityEnum["MEDIUM"] = 1] = "MEDIUM";
|
|
71
|
-
PriorityEnum[PriorityEnum["LOW"] = 2] = "LOW";
|
|
72
|
-
})(PriorityEnum || (PriorityEnum = {}));
|
|
73
|
-
export var PrivacyEnum;
|
|
74
|
-
(function (PrivacyEnum) {
|
|
75
|
-
PrivacyEnum[PrivacyEnum["PRIVATE"] = 0] = "PRIVATE";
|
|
76
|
-
PrivacyEnum[PrivacyEnum["PUBLIC"] = 1] = "PUBLIC";
|
|
77
|
-
PrivacyEnum[PrivacyEnum["ONLY_FRIENDS"] = 2] = "ONLY_FRIENDS";
|
|
78
|
-
})(PrivacyEnum || (PrivacyEnum = {}));
|
|
79
|
-
export var TimezoneEnum;
|
|
80
|
-
(function (TimezoneEnum) {
|
|
81
|
-
TimezoneEnum["UTC"] = "UTC";
|
|
82
|
-
TimezoneEnum["EtcUTC"] = "Etc/UTC";
|
|
83
|
-
TimezoneEnum["EtcGMT"] = "Etc/GMT";
|
|
84
|
-
})(TimezoneEnum || (TimezoneEnum = {}));
|
|
85
|
-
export var TokensEnum;
|
|
86
|
-
(function (TokensEnum) {
|
|
87
|
-
TokensEnum["CSRF_TOKEN"] = "csrf_token";
|
|
88
|
-
TokensEnum["ACCESS_TOKEN"] = "access_token";
|
|
89
|
-
TokensEnum["REFRESH_TOKEN"] = "refresh_token";
|
|
90
|
-
TokensEnum["REFERENCE_TOKEN"] = "reference_token";
|
|
91
|
-
TokensEnum["PERSONAL_ACCESS_TOKEN"] = "personal_access_token";
|
|
92
|
-
})(TokensEnum || (TokensEnum = {}));
|
|
93
|
-
export var EndpointResourceEnum;
|
|
94
|
-
(function (EndpointResourceEnum) {
|
|
95
|
-
EndpointResourceEnum["EXAMPLE"] = "example";
|
|
96
|
-
EndpointResourceEnum["FULL"] = "full";
|
|
97
|
-
EndpointResourceEnum["SYSTEM"] = "system";
|
|
98
|
-
EndpointResourceEnum["CLIENTS"] = "clients";
|
|
99
|
-
EndpointResourceEnum["AUTH"] = "auth";
|
|
100
|
-
EndpointResourceEnum["ACCOUNTS"] = "accounts";
|
|
101
|
-
EndpointResourceEnum["USERS"] = "users";
|
|
102
|
-
EndpointResourceEnum["TRANSACTIONS"] = "transactions";
|
|
103
|
-
EndpointResourceEnum["NOTIFICATIONS"] = "notifications";
|
|
104
|
-
EndpointResourceEnum["ADDRESSES"] = "addresses";
|
|
105
|
-
EndpointResourceEnum["PAYMENTS"] = "payments";
|
|
106
|
-
EndpointResourceEnum["COMMISSIONS_AND_TAXES"] = "commissions-and-taxes";
|
|
107
|
-
EndpointResourceEnum["SUPPORTS"] = "supports";
|
|
108
|
-
EndpointResourceEnum["INVOICES"] = "invoices";
|
|
109
|
-
EndpointResourceEnum["FILES"] = "files";
|
|
110
|
-
EndpointResourceEnum["TOKENS"] = "tokens";
|
|
111
|
-
EndpointResourceEnum["WEBHOOKS"] = "webhooks";
|
|
112
|
-
EndpointResourceEnum["OTHERS"] = "others";
|
|
113
|
-
})(EndpointResourceEnum || (EndpointResourceEnum = {}));
|
|
114
|
-
export var SupportFileExtensionsEnum;
|
|
115
|
-
(function (SupportFileExtensionsEnum) {
|
|
116
|
-
SupportFileExtensionsEnum["HTML"] = "html";
|
|
117
|
-
SupportFileExtensionsEnum["EJS"] = "ejs";
|
|
118
|
-
SupportFileExtensionsEnum["HBS"] = "hbs";
|
|
119
|
-
SupportFileExtensionsEnum["TS"] = "";
|
|
120
|
-
SupportFileExtensionsEnum["JS"] = ".js";
|
|
121
|
-
SupportFileExtensionsEnum["TSX"] = "x";
|
|
122
|
-
SupportFileExtensionsEnum["JSX"] = ".jsx";
|
|
123
|
-
SupportFileExtensionsEnum["TTF"] = ".ttf";
|
|
124
|
-
SupportFileExtensionsEnum["EOT"] = ".eot";
|
|
125
|
-
SupportFileExtensionsEnum["OTF"] = ".otf";
|
|
126
|
-
SupportFileExtensionsEnum["SVG"] = ".svg";
|
|
127
|
-
SupportFileExtensionsEnum["PNG"] = ".png";
|
|
128
|
-
SupportFileExtensionsEnum["WOFF"] = ".woff";
|
|
129
|
-
SupportFileExtensionsEnum["WOFF2"] = ".woff2";
|
|
130
|
-
SupportFileExtensionsEnum["CSS"] = ".css";
|
|
131
|
-
SupportFileExtensionsEnum["SCSS"] = ".scss";
|
|
132
|
-
SupportFileExtensionsEnum["SASS"] = ".sass";
|
|
133
|
-
})(SupportFileExtensionsEnum || (SupportFileExtensionsEnum = {}));
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import x, { X } from './classes/class.x';
|
|
2
|
-
export * from './classes/class.tmp-file-loader';
|
|
3
|
-
export * from './classes/class.controller';
|
|
4
|
-
export * from './classes/class.response';
|
|
5
|
-
export * from './classes/class.services';
|
|
6
|
-
export * from './types';
|
|
7
|
-
export * from './enums';
|
|
8
|
-
export { x, X };
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import x, { X } from './classes/class.x';
|
|
2
|
-
export * from './classes/class.tmp-file-loader';
|
|
3
|
-
export * from './classes/class.controller';
|
|
4
|
-
export * from './classes/class.response';
|
|
5
|
-
export * from './classes/class.services';
|
|
6
|
-
export * from './types';
|
|
7
|
-
export * from './enums';
|
|
8
|
-
export { x, X };
|