@aitianyu.cn/types 0.0.11 → 0.0.13
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/dist/lib/index.js +54 -54
- package/dist/lib/types/AreaCode.js +269 -269
- package/dist/lib/types/Exception.js +19 -19
- package/dist/lib/types/Logs.js +20 -20
- package/dist/lib/types/Object.js +3 -3
- package/dist/lib/types/PathBase.js +109 -109
- package/dist/lib/types/Security.js +10 -10
- package/dist/lib/types/TMap.js +138 -138
- package/dist/lib/types/Types.js +3 -3
- package/dist/lib/types/index.js +17 -17
- package/dist/lib/utilities/coding/Error.js +44 -44
- package/dist/lib/utilities/coding/Path.js +198 -198
- package/dist/lib/utilities/coding/index.js +10 -10
- package/dist/lib/utilities/core/Errors.js +86 -86
- package/dist/lib/utilities/core/Language.js +559 -559
- package/dist/lib/utilities/core/Log.js +108 -108
- package/dist/lib/utilities/core/TypeConvertion.js +25 -25
- package/dist/lib/utilities/core/index.js +21 -21
- package/dist/lib/utilities/core/interface/ITJSON.js +3 -0
- package/dist/lib/utilities/core/interface/ITianyuType.js +3 -0
- package/dist/lib/utilities/core/object/ArrayHelper.js +35 -35
- package/dist/lib/utilities/core/object/Calculater.js +230 -230
- package/dist/lib/utilities/core/object/Helper.js +201 -201
- package/dist/lib/utilities/core/object/StringHelper.js +22 -22
- package/dist/lib/utilities/core/type/TArray.js +7 -0
- package/dist/lib/utilities/core/type/TBoolean.js +7 -0
- package/dist/lib/utilities/core/type/TJSON.js +7 -0
- package/dist/lib/utilities/core/type/TNumber.js +7 -0
- package/dist/lib/utilities/core/type/TObject.js +7 -0
- package/dist/lib/utilities/core/type/TString.js +7 -0
- package/dist/lib/utilities/security/Guid.js +20 -20
- package/dist/lib/utilities/security/Hash.js +15 -15
- package/dist/lib/utilities/security/index.js +8 -8
- package/dist/types/index.d.ts +21 -21
- package/dist/types/types/AreaCode.d.ts +135 -135
- package/dist/types/types/Exception.d.ts +11 -11
- package/dist/types/types/Logs.d.ts +64 -64
- package/dist/types/types/Object.d.ts +18 -18
- package/dist/types/types/PathBase.d.ts +76 -76
- package/dist/types/types/Security.d.ts +23 -23
- package/dist/types/types/TMap.d.ts +80 -80
- package/dist/types/types/Types.d.ts +25 -20
- package/dist/types/types/index.d.ts +9 -9
- package/dist/types/utilities/coding/Error.d.ts +27 -27
- package/dist/types/utilities/coding/Path.d.ts +61 -61
- package/dist/types/utilities/coding/index.d.ts +3 -3
- package/dist/types/utilities/core/Errors.d.ts +47 -47
- package/dist/types/utilities/core/Language.d.ts +17 -17
- package/dist/types/utilities/core/Log.d.ts +12 -12
- package/dist/types/utilities/core/TypeConvertion.d.ts +2 -2
- package/dist/types/utilities/core/index.d.ts +6 -6
- package/dist/types/utilities/core/interface/ITJSON.d.ts +5 -0
- package/dist/types/utilities/core/interface/ITianyuType.d.ts +5 -0
- package/dist/types/utilities/core/object/ArrayHelper.d.ts +11 -11
- package/dist/types/utilities/core/object/Calculater.d.ts +22 -22
- package/dist/types/utilities/core/object/Helper.d.ts +39 -39
- package/dist/types/utilities/core/object/StringHelper.d.ts +4 -4
- package/dist/types/utilities/core/type/TArray.d.ts +3 -0
- package/dist/types/utilities/core/type/TBoolean.d.ts +3 -0
- package/dist/types/utilities/core/type/TJSON.d.ts +3 -0
- package/dist/types/utilities/core/type/TNumber.d.ts +3 -0
- package/dist/types/utilities/core/type/TObject.d.ts +3 -0
- package/dist/types/utilities/core/type/TString.d.ts +3 -0
- package/dist/types/utilities/security/Guid.d.ts +3 -3
- package/dist/types/utilities/security/Hash.d.ts +3 -3
- package/dist/types/utilities/security/index.d.ts +3 -3
- package/package.json +51 -51
|
@@ -1,269 +1,269 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**@format */
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.AreaCode = void 0;
|
|
5
|
-
/** International Area name and its code */
|
|
6
|
-
var AreaCode;
|
|
7
|
-
(function (AreaCode) {
|
|
8
|
-
AreaCode[AreaCode["unknown"] = 0] = "unknown";
|
|
9
|
-
// Afrikaans (South Africa)
|
|
10
|
-
AreaCode[AreaCode["af_ZA"] = 1078] = "af_ZA";
|
|
11
|
-
// Albanian (Albania)
|
|
12
|
-
AreaCode[AreaCode["sq_AL"] = 1052] = "sq_AL";
|
|
13
|
-
// Amharic (Amhara)
|
|
14
|
-
AreaCode[AreaCode["am_AM"] = 1118] = "am_AM";
|
|
15
|
-
// Arabic (Algeria)
|
|
16
|
-
AreaCode[AreaCode["ar_DZ"] = 5121] = "ar_DZ";
|
|
17
|
-
// Arabic (Bahrain)
|
|
18
|
-
AreaCode[AreaCode["ar_BH"] = 15361] = "ar_BH";
|
|
19
|
-
// Arabic (Egypt)
|
|
20
|
-
AreaCode[AreaCode["ar_EG"] = 3073] = "ar_EG";
|
|
21
|
-
// Arabic (Iraq)
|
|
22
|
-
AreaCode[AreaCode["ar_IQ"] = 2049] = "ar_IQ";
|
|
23
|
-
// Arabic (Jordan)
|
|
24
|
-
AreaCode[AreaCode["ar_JO"] = 11265] = "ar_JO";
|
|
25
|
-
// Arabic (Kuwait)
|
|
26
|
-
AreaCode[AreaCode["ar_KW"] = 13313] = "ar_KW";
|
|
27
|
-
// Arabic (Lebanon)
|
|
28
|
-
AreaCode[AreaCode["ar_LB"] = 12289] = "ar_LB";
|
|
29
|
-
// Arabic (Libya)
|
|
30
|
-
AreaCode[AreaCode["ar_LY"] = 4097] = "ar_LY";
|
|
31
|
-
// Arabic (Morocco)
|
|
32
|
-
AreaCode[AreaCode["ar_MA"] = 6145] = "ar_MA";
|
|
33
|
-
// Arabic (Oman)
|
|
34
|
-
AreaCode[AreaCode["ar_OM"] = 8193] = "ar_OM";
|
|
35
|
-
// Arabic (Qatar)
|
|
36
|
-
AreaCode[AreaCode["ar_QA"] = 16385] = "ar_QA";
|
|
37
|
-
// Arabic (Saudi Arabia)
|
|
38
|
-
AreaCode[AreaCode["ar_SA"] = 1025] = "ar_SA";
|
|
39
|
-
// Arabic (Syria)
|
|
40
|
-
AreaCode[AreaCode["ar_SY"] = 10241] = "ar_SY";
|
|
41
|
-
// Arabic (Tunisia)
|
|
42
|
-
AreaCode[AreaCode["ar_TN"] = 7169] = "ar_TN";
|
|
43
|
-
// Arabic (United Arab Emirates)
|
|
44
|
-
AreaCode[AreaCode["ar_AE"] = 14337] = "ar_AE";
|
|
45
|
-
// Arabic (Yemen)
|
|
46
|
-
AreaCode[AreaCode["ar_YE"] = 9217] = "ar_YE";
|
|
47
|
-
// Armenian (Armenian)
|
|
48
|
-
AreaCode[AreaCode["hy_AM"] = 1067] = "hy_AM";
|
|
49
|
-
// Assamese (Assamese)
|
|
50
|
-
AreaCode[AreaCode["as_AS"] = 1101] = "as_AS";
|
|
51
|
-
// Azeri (Cyrillic)
|
|
52
|
-
AreaCode[AreaCode["az_AZ_Cyrl"] = 2092] = "az_AZ_Cyrl";
|
|
53
|
-
// Azeri (Latin)
|
|
54
|
-
AreaCode[AreaCode["az_AZ_Latn"] = 2093] = "az_AZ_Latn";
|
|
55
|
-
// Segoe UI (Basque)
|
|
56
|
-
AreaCode[AreaCode["eu_ES"] = 1069] = "eu_ES";
|
|
57
|
-
// Belarusian (Belarus)
|
|
58
|
-
AreaCode[AreaCode["be_BY"] = 1059] = "be_BY";
|
|
59
|
-
// Bulgarian (Bulgaria)
|
|
60
|
-
AreaCode[AreaCode["bg_BG"] = 1026] = "bg_BG";
|
|
61
|
-
// Catalan (Catala)
|
|
62
|
-
AreaCode[AreaCode["ca_ES"] = 1027] = "ca_ES";
|
|
63
|
-
// Chinese (HongKong)
|
|
64
|
-
AreaCode[AreaCode["zh_HK"] = 3076] = "zh_HK";
|
|
65
|
-
// Chinese (Macau SAR)
|
|
66
|
-
AreaCode[AreaCode["zh_MO"] = 5124] = "zh_MO";
|
|
67
|
-
// Chinese (Simplified)
|
|
68
|
-
AreaCode[AreaCode["zh_CN"] = 2052] = "zh_CN";
|
|
69
|
-
// Chinese (Singapore)
|
|
70
|
-
AreaCode[AreaCode["zh_SG"] = 4100] = "zh_SG";
|
|
71
|
-
// Chinese (Taiwan)
|
|
72
|
-
AreaCode[AreaCode["zh_TW"] = 1028] = "zh_TW";
|
|
73
|
-
// Croatian (Croatia)
|
|
74
|
-
AreaCode[AreaCode["hr_HR"] = 1050] = "hr_HR";
|
|
75
|
-
// Czech (Czech)
|
|
76
|
-
AreaCode[AreaCode["cd_CZ"] = 1029] = "cd_CZ";
|
|
77
|
-
// Danish (Denmark)
|
|
78
|
-
AreaCode[AreaCode["da_DK"] = 1030] = "da_DK";
|
|
79
|
-
// Netherlands (Belgium)
|
|
80
|
-
AreaCode[AreaCode["nl_BE"] = 2067] = "nl_BE";
|
|
81
|
-
// Netherlands (Netherlands)
|
|
82
|
-
AreaCode[AreaCode["nl_NL"] = 1043] = "nl_NL";
|
|
83
|
-
// English (Australia)
|
|
84
|
-
AreaCode[AreaCode["en_AU"] = 3081] = "en_AU";
|
|
85
|
-
// English (Belize)
|
|
86
|
-
AreaCode[AreaCode["en_BZ"] = 10249] = "en_BZ";
|
|
87
|
-
// English (Canada)
|
|
88
|
-
AreaCode[AreaCode["en_CA"] = 4105] = "en_CA";
|
|
89
|
-
// English (Caribbean)
|
|
90
|
-
AreaCode[AreaCode["en_CB"] = 9225] = "en_CB";
|
|
91
|
-
// English (Ireland)
|
|
92
|
-
AreaCode[AreaCode["en_IE"] = 6153] = "en_IE";
|
|
93
|
-
// English (India)
|
|
94
|
-
AreaCode[AreaCode["en_IN"] = 16393] = "en_IN";
|
|
95
|
-
// English (Jamaica)
|
|
96
|
-
AreaCode[AreaCode["en_JM"] = 8201] = "en_JM";
|
|
97
|
-
// English (New Zealand)
|
|
98
|
-
AreaCode[AreaCode["en_NZ"] = 5129] = "en_NZ";
|
|
99
|
-
// English (Phillippines)
|
|
100
|
-
AreaCode[AreaCode["en_PH"] = 13321] = "en_PH";
|
|
101
|
-
// English (Southern Africa)
|
|
102
|
-
AreaCode[AreaCode["en_ZA"] = 7177] = "en_ZA";
|
|
103
|
-
// English (Trinidad)
|
|
104
|
-
AreaCode[AreaCode["en_TT"] = 11273] = "en_TT";
|
|
105
|
-
// English (Zimbabwe)
|
|
106
|
-
AreaCode[AreaCode["en_ZW"] = 12297] = "en_ZW";
|
|
107
|
-
// English (United States)
|
|
108
|
-
AreaCode[AreaCode["en_US"] = 1033] = "en_US";
|
|
109
|
-
// English (United Kingdom)
|
|
110
|
-
AreaCode[AreaCode["en_UK"] = 2057] = "en_UK";
|
|
111
|
-
// Estonian (Estonia)
|
|
112
|
-
AreaCode[AreaCode["et_EE"] = 1061] = "et_EE";
|
|
113
|
-
// Faroese (Faeroes)
|
|
114
|
-
AreaCode[AreaCode["fo_FO"] = 1080] = "fo_FO";
|
|
115
|
-
// Finnish (Finland)
|
|
116
|
-
AreaCode[AreaCode["fi_FI"] = 1035] = "fi_FI";
|
|
117
|
-
// French (Belgium)
|
|
118
|
-
AreaCode[AreaCode["fr_BE"] = 2060] = "fr_BE";
|
|
119
|
-
// French (Canada)
|
|
120
|
-
AreaCode[AreaCode["fr_CA"] = 11276] = "fr_CA";
|
|
121
|
-
// French (France)
|
|
122
|
-
AreaCode[AreaCode["fr_FR"] = 1036] = "fr_FR";
|
|
123
|
-
// French (Luxembourg)
|
|
124
|
-
AreaCode[AreaCode["fr_LU"] = 5132] = "fr_LU";
|
|
125
|
-
// French (Monaco)
|
|
126
|
-
AreaCode[AreaCode["fr_MC"] = 6156] = "fr_MC";
|
|
127
|
-
// French (Switzerland)
|
|
128
|
-
AreaCode[AreaCode["fr_CH"] = 4108] = "fr_CH";
|
|
129
|
-
// Galician (Galicia)
|
|
130
|
-
AreaCode[AreaCode["gl_ES"] = 1110] = "gl_ES";
|
|
131
|
-
// German (Austria)
|
|
132
|
-
AreaCode[AreaCode["de_AT"] = 3079] = "de_AT";
|
|
133
|
-
// German (Germany)
|
|
134
|
-
AreaCode[AreaCode["de_DE"] = 1031] = "de_DE";
|
|
135
|
-
// German (Liechtenstein)
|
|
136
|
-
AreaCode[AreaCode["de_LI"] = 5127] = "de_LI";
|
|
137
|
-
// German (Luxembourg)
|
|
138
|
-
AreaCode[AreaCode["de_LU"] = 4103] = "de_LU";
|
|
139
|
-
// German (Switzerland)
|
|
140
|
-
AreaCode[AreaCode["de_CH"] = 2055] = "de_CH";
|
|
141
|
-
// Gujarati (India)
|
|
142
|
-
AreaCode[AreaCode["gu_IN"] = 1095] = "gu_IN";
|
|
143
|
-
// Hebrew (Israel)
|
|
144
|
-
AreaCode[AreaCode["he_IL"] = 1037] = "he_IL";
|
|
145
|
-
// North Indian (India)
|
|
146
|
-
AreaCode[AreaCode["hi_IN"] = 1081] = "hi_IN";
|
|
147
|
-
// Hungarian (Hungary)
|
|
148
|
-
AreaCode[AreaCode["hu_HU"] = 1038] = "hu_HU";
|
|
149
|
-
// Icelandic (Iceland)
|
|
150
|
-
AreaCode[AreaCode["is_IS"] = 1039] = "is_IS";
|
|
151
|
-
// Indonesian (Indonesia)
|
|
152
|
-
AreaCode[AreaCode["id_ID"] = 1057] = "id_ID";
|
|
153
|
-
// Italian (Italy)
|
|
154
|
-
AreaCode[AreaCode["it_IT"] = 1040] = "it_IT";
|
|
155
|
-
// Italian (Switzerland)
|
|
156
|
-
AreaCode[AreaCode["it_CH"] = 2064] = "it_CH";
|
|
157
|
-
// Japanese (Japan)
|
|
158
|
-
AreaCode[AreaCode["ja_JP"] = 1041] = "ja_JP";
|
|
159
|
-
// Kannada (India)
|
|
160
|
-
AreaCode[AreaCode["kn_IN"] = 1099] = "kn_IN";
|
|
161
|
-
// Kazakh (Kazakhstan)
|
|
162
|
-
AreaCode[AreaCode["kk_KZ"] = 1087] = "kk_KZ";
|
|
163
|
-
// Korean (Korea)
|
|
164
|
-
AreaCode[AreaCode["ko_KR"] = 1042] = "ko_KR";
|
|
165
|
-
// Kyrgyz (Kazakhstan)
|
|
166
|
-
AreaCode[AreaCode["ky_KZ"] = 1088] = "ky_KZ";
|
|
167
|
-
// Latvian (Latvian)
|
|
168
|
-
AreaCode[AreaCode["lv_LV"] = 1062] = "lv_LV";
|
|
169
|
-
// Lithuanian (Lithuania)
|
|
170
|
-
AreaCode[AreaCode["lt_LT"] = 1063] = "lt_LT";
|
|
171
|
-
// Malay (Brunei)
|
|
172
|
-
AreaCode[AreaCode["ms_BN"] = 2110] = "ms_BN";
|
|
173
|
-
// Malay (Malaysia)
|
|
174
|
-
AreaCode[AreaCode["ms_MY"] = 1086] = "ms_MY";
|
|
175
|
-
// Marathi (India)
|
|
176
|
-
AreaCode[AreaCode["mr_IN"] = 1102] = "mr_IN";
|
|
177
|
-
// Mongolian (Mongolia)
|
|
178
|
-
AreaCode[AreaCode["mn_MN"] = 2128] = "mn_MN";
|
|
179
|
-
// Norwegian (Bokml)
|
|
180
|
-
AreaCode[AreaCode["nb_NO"] = 1044] = "nb_NO";
|
|
181
|
-
// Norwegian (Nynorsk)
|
|
182
|
-
AreaCode[AreaCode["nn_NO"] = 2068] = "nn_NO";
|
|
183
|
-
// Polish (Polish)
|
|
184
|
-
AreaCode[AreaCode["pl_PL"] = 1045] = "pl_PL";
|
|
185
|
-
// Portuguese (Brazil)
|
|
186
|
-
AreaCode[AreaCode["pt_BR"] = 1046] = "pt_BR";
|
|
187
|
-
// Portuguese (Portugal)
|
|
188
|
-
AreaCode[AreaCode["pt_PT"] = 2070] = "pt_PT";
|
|
189
|
-
// Punjab (India)
|
|
190
|
-
AreaCode[AreaCode["pa_IN"] = 1094] = "pa_IN";
|
|
191
|
-
// Romanian (Moldova)
|
|
192
|
-
AreaCode[AreaCode["ro_MO"] = 2072] = "ro_MO";
|
|
193
|
-
// Romanian (Romania)
|
|
194
|
-
AreaCode[AreaCode["ro_RO"] = 1048] = "ro_RO";
|
|
195
|
-
// Russian (Russia)
|
|
196
|
-
AreaCode[AreaCode["ru_RU"] = 1049] = "ru_RU";
|
|
197
|
-
// Russian (Moldova)
|
|
198
|
-
AreaCode[AreaCode["ru_MO"] = 2073] = "ru_MO";
|
|
199
|
-
// Sanskrit (India)
|
|
200
|
-
AreaCode[AreaCode["sa_IN"] = 1103] = "sa_IN";
|
|
201
|
-
// Serbia (Serre - Cyrillic)
|
|
202
|
-
AreaCode[AreaCode["sr_SP_Cyrl"] = 3098] = "sr_SP_Cyrl";
|
|
203
|
-
// Serbia (Serre - Latin)
|
|
204
|
-
AreaCode[AreaCode["sr_SP_Latn"] = 2074] = "sr_SP_Latn";
|
|
205
|
-
// Slovak (Slovak)
|
|
206
|
-
AreaCode[AreaCode["sk_SK"] = 1051] = "sk_SK";
|
|
207
|
-
// Slovenia (Slovenia)
|
|
208
|
-
AreaCode[AreaCode["sl_SI"] = 1060] = "sl_SI";
|
|
209
|
-
// Spanish (Argentina)
|
|
210
|
-
AreaCode[AreaCode["es_AR"] = 11274] = "es_AR";
|
|
211
|
-
// Spanish (Bolivia)
|
|
212
|
-
AreaCode[AreaCode["es_BO"] = 16394] = "es_BO";
|
|
213
|
-
// Spanish (Chile)
|
|
214
|
-
AreaCode[AreaCode["es_CL"] = 13322] = "es_CL";
|
|
215
|
-
// Spanish (Colombia)
|
|
216
|
-
AreaCode[AreaCode["es_CO"] = 9226] = "es_CO";
|
|
217
|
-
// Spanish (Costa Rica)
|
|
218
|
-
AreaCode[AreaCode["es_CR"] = 5130] = "es_CR";
|
|
219
|
-
// Spanish (Dominican Republic)
|
|
220
|
-
AreaCode[AreaCode["es_DO"] = 7178] = "es_DO";
|
|
221
|
-
// Spanish (Ecuador)
|
|
222
|
-
AreaCode[AreaCode["es_EC"] = 12298] = "es_EC";
|
|
223
|
-
// Spanish (Salvador)
|
|
224
|
-
AreaCode[AreaCode["es_SV"] = 17418] = "es_SV";
|
|
225
|
-
// Spanish (Guatemala)
|
|
226
|
-
AreaCode[AreaCode["es_GT"] = 4106] = "es_GT";
|
|
227
|
-
// Spanish (Honduras)
|
|
228
|
-
AreaCode[AreaCode["es_HN"] = 18442] = "es_HN";
|
|
229
|
-
// Spanish (Mexico)
|
|
230
|
-
AreaCode[AreaCode["es_MX"] = 2058] = "es_MX";
|
|
231
|
-
// Spanish (Nicaragua)
|
|
232
|
-
AreaCode[AreaCode["es_NI"] = 19466] = "es_NI";
|
|
233
|
-
// Spanish (Panama)
|
|
234
|
-
AreaCode[AreaCode["es_PA"] = 6154] = "es_PA";
|
|
235
|
-
// Spanish (Paraguay)
|
|
236
|
-
AreaCode[AreaCode["es_PY"] = 15370] = "es_PY";
|
|
237
|
-
// Spanish (Peru)
|
|
238
|
-
AreaCode[AreaCode["es_PE"] = 10250] = "es_PE";
|
|
239
|
-
// Spanish (Puerto Rico)
|
|
240
|
-
AreaCode[AreaCode["es_PR"] = 20490] = "es_PR";
|
|
241
|
-
// Spanish (Spain Traditional)
|
|
242
|
-
AreaCode[AreaCode["es_ES"] = 1034] = "es_ES";
|
|
243
|
-
// Spanish (Uruguay)
|
|
244
|
-
AreaCode[AreaCode["es_UY"] = 14346] = "es_UY";
|
|
245
|
-
// Spanish (Venezuela)
|
|
246
|
-
AreaCode[AreaCode["es_VE"] = 8202] = "es_VE";
|
|
247
|
-
// Swahili (Kenya)
|
|
248
|
-
AreaCode[AreaCode["sw_KE"] = 1089] = "sw_KE";
|
|
249
|
-
// Swedish (Finland)
|
|
250
|
-
AreaCode[AreaCode["sv_FI"] = 2077] = "sv_FI";
|
|
251
|
-
// Swedish (Sweden)
|
|
252
|
-
AreaCode[AreaCode["sv_SE"] = 1053] = "sv_SE";
|
|
253
|
-
// Tamil (India)
|
|
254
|
-
AreaCode[AreaCode["ta_IN"] = 1097] = "ta_IN";
|
|
255
|
-
// Tatar (Russia)
|
|
256
|
-
AreaCode[AreaCode["tt_RU"] = 1092] = "tt_RU";
|
|
257
|
-
// Telugu (India)
|
|
258
|
-
AreaCode[AreaCode["te_IN"] = 1098] = "te_IN";
|
|
259
|
-
// Thai (Thailand)
|
|
260
|
-
AreaCode[AreaCode["th_TH"] = 1054] = "th_TH";
|
|
261
|
-
// Turkish (Turkey)
|
|
262
|
-
AreaCode[AreaCode["tr_TR"] = 1055] = "tr_TR";
|
|
263
|
-
// Uzbek (Uzbekistan - Cyrillics)
|
|
264
|
-
AreaCode[AreaCode["uz_UZ_Cyrl"] = 2115] = "uz_UZ_Cyrl";
|
|
265
|
-
// Uzbek (Uzbekistan - Latin)
|
|
266
|
-
AreaCode[AreaCode["uz_UZ_Latn"] = 1091] = "uz_UZ_Latn";
|
|
267
|
-
// Vietnamese (Vietnam)
|
|
268
|
-
AreaCode[AreaCode["vi_VN"] = 1066] = "vi_VN";
|
|
269
|
-
})(AreaCode = exports.AreaCode || (exports.AreaCode = {}));
|
|
1
|
+
"use strict";
|
|
2
|
+
/**@format */
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.AreaCode = void 0;
|
|
5
|
+
/** International Area name and its code */
|
|
6
|
+
var AreaCode;
|
|
7
|
+
(function (AreaCode) {
|
|
8
|
+
AreaCode[AreaCode["unknown"] = 0] = "unknown";
|
|
9
|
+
// Afrikaans (South Africa)
|
|
10
|
+
AreaCode[AreaCode["af_ZA"] = 1078] = "af_ZA";
|
|
11
|
+
// Albanian (Albania)
|
|
12
|
+
AreaCode[AreaCode["sq_AL"] = 1052] = "sq_AL";
|
|
13
|
+
// Amharic (Amhara)
|
|
14
|
+
AreaCode[AreaCode["am_AM"] = 1118] = "am_AM";
|
|
15
|
+
// Arabic (Algeria)
|
|
16
|
+
AreaCode[AreaCode["ar_DZ"] = 5121] = "ar_DZ";
|
|
17
|
+
// Arabic (Bahrain)
|
|
18
|
+
AreaCode[AreaCode["ar_BH"] = 15361] = "ar_BH";
|
|
19
|
+
// Arabic (Egypt)
|
|
20
|
+
AreaCode[AreaCode["ar_EG"] = 3073] = "ar_EG";
|
|
21
|
+
// Arabic (Iraq)
|
|
22
|
+
AreaCode[AreaCode["ar_IQ"] = 2049] = "ar_IQ";
|
|
23
|
+
// Arabic (Jordan)
|
|
24
|
+
AreaCode[AreaCode["ar_JO"] = 11265] = "ar_JO";
|
|
25
|
+
// Arabic (Kuwait)
|
|
26
|
+
AreaCode[AreaCode["ar_KW"] = 13313] = "ar_KW";
|
|
27
|
+
// Arabic (Lebanon)
|
|
28
|
+
AreaCode[AreaCode["ar_LB"] = 12289] = "ar_LB";
|
|
29
|
+
// Arabic (Libya)
|
|
30
|
+
AreaCode[AreaCode["ar_LY"] = 4097] = "ar_LY";
|
|
31
|
+
// Arabic (Morocco)
|
|
32
|
+
AreaCode[AreaCode["ar_MA"] = 6145] = "ar_MA";
|
|
33
|
+
// Arabic (Oman)
|
|
34
|
+
AreaCode[AreaCode["ar_OM"] = 8193] = "ar_OM";
|
|
35
|
+
// Arabic (Qatar)
|
|
36
|
+
AreaCode[AreaCode["ar_QA"] = 16385] = "ar_QA";
|
|
37
|
+
// Arabic (Saudi Arabia)
|
|
38
|
+
AreaCode[AreaCode["ar_SA"] = 1025] = "ar_SA";
|
|
39
|
+
// Arabic (Syria)
|
|
40
|
+
AreaCode[AreaCode["ar_SY"] = 10241] = "ar_SY";
|
|
41
|
+
// Arabic (Tunisia)
|
|
42
|
+
AreaCode[AreaCode["ar_TN"] = 7169] = "ar_TN";
|
|
43
|
+
// Arabic (United Arab Emirates)
|
|
44
|
+
AreaCode[AreaCode["ar_AE"] = 14337] = "ar_AE";
|
|
45
|
+
// Arabic (Yemen)
|
|
46
|
+
AreaCode[AreaCode["ar_YE"] = 9217] = "ar_YE";
|
|
47
|
+
// Armenian (Armenian)
|
|
48
|
+
AreaCode[AreaCode["hy_AM"] = 1067] = "hy_AM";
|
|
49
|
+
// Assamese (Assamese)
|
|
50
|
+
AreaCode[AreaCode["as_AS"] = 1101] = "as_AS";
|
|
51
|
+
// Azeri (Cyrillic)
|
|
52
|
+
AreaCode[AreaCode["az_AZ_Cyrl"] = 2092] = "az_AZ_Cyrl";
|
|
53
|
+
// Azeri (Latin)
|
|
54
|
+
AreaCode[AreaCode["az_AZ_Latn"] = 2093] = "az_AZ_Latn";
|
|
55
|
+
// Segoe UI (Basque)
|
|
56
|
+
AreaCode[AreaCode["eu_ES"] = 1069] = "eu_ES";
|
|
57
|
+
// Belarusian (Belarus)
|
|
58
|
+
AreaCode[AreaCode["be_BY"] = 1059] = "be_BY";
|
|
59
|
+
// Bulgarian (Bulgaria)
|
|
60
|
+
AreaCode[AreaCode["bg_BG"] = 1026] = "bg_BG";
|
|
61
|
+
// Catalan (Catala)
|
|
62
|
+
AreaCode[AreaCode["ca_ES"] = 1027] = "ca_ES";
|
|
63
|
+
// Chinese (HongKong)
|
|
64
|
+
AreaCode[AreaCode["zh_HK"] = 3076] = "zh_HK";
|
|
65
|
+
// Chinese (Macau SAR)
|
|
66
|
+
AreaCode[AreaCode["zh_MO"] = 5124] = "zh_MO";
|
|
67
|
+
// Chinese (Simplified)
|
|
68
|
+
AreaCode[AreaCode["zh_CN"] = 2052] = "zh_CN";
|
|
69
|
+
// Chinese (Singapore)
|
|
70
|
+
AreaCode[AreaCode["zh_SG"] = 4100] = "zh_SG";
|
|
71
|
+
// Chinese (Taiwan)
|
|
72
|
+
AreaCode[AreaCode["zh_TW"] = 1028] = "zh_TW";
|
|
73
|
+
// Croatian (Croatia)
|
|
74
|
+
AreaCode[AreaCode["hr_HR"] = 1050] = "hr_HR";
|
|
75
|
+
// Czech (Czech)
|
|
76
|
+
AreaCode[AreaCode["cd_CZ"] = 1029] = "cd_CZ";
|
|
77
|
+
// Danish (Denmark)
|
|
78
|
+
AreaCode[AreaCode["da_DK"] = 1030] = "da_DK";
|
|
79
|
+
// Netherlands (Belgium)
|
|
80
|
+
AreaCode[AreaCode["nl_BE"] = 2067] = "nl_BE";
|
|
81
|
+
// Netherlands (Netherlands)
|
|
82
|
+
AreaCode[AreaCode["nl_NL"] = 1043] = "nl_NL";
|
|
83
|
+
// English (Australia)
|
|
84
|
+
AreaCode[AreaCode["en_AU"] = 3081] = "en_AU";
|
|
85
|
+
// English (Belize)
|
|
86
|
+
AreaCode[AreaCode["en_BZ"] = 10249] = "en_BZ";
|
|
87
|
+
// English (Canada)
|
|
88
|
+
AreaCode[AreaCode["en_CA"] = 4105] = "en_CA";
|
|
89
|
+
// English (Caribbean)
|
|
90
|
+
AreaCode[AreaCode["en_CB"] = 9225] = "en_CB";
|
|
91
|
+
// English (Ireland)
|
|
92
|
+
AreaCode[AreaCode["en_IE"] = 6153] = "en_IE";
|
|
93
|
+
// English (India)
|
|
94
|
+
AreaCode[AreaCode["en_IN"] = 16393] = "en_IN";
|
|
95
|
+
// English (Jamaica)
|
|
96
|
+
AreaCode[AreaCode["en_JM"] = 8201] = "en_JM";
|
|
97
|
+
// English (New Zealand)
|
|
98
|
+
AreaCode[AreaCode["en_NZ"] = 5129] = "en_NZ";
|
|
99
|
+
// English (Phillippines)
|
|
100
|
+
AreaCode[AreaCode["en_PH"] = 13321] = "en_PH";
|
|
101
|
+
// English (Southern Africa)
|
|
102
|
+
AreaCode[AreaCode["en_ZA"] = 7177] = "en_ZA";
|
|
103
|
+
// English (Trinidad)
|
|
104
|
+
AreaCode[AreaCode["en_TT"] = 11273] = "en_TT";
|
|
105
|
+
// English (Zimbabwe)
|
|
106
|
+
AreaCode[AreaCode["en_ZW"] = 12297] = "en_ZW";
|
|
107
|
+
// English (United States)
|
|
108
|
+
AreaCode[AreaCode["en_US"] = 1033] = "en_US";
|
|
109
|
+
// English (United Kingdom)
|
|
110
|
+
AreaCode[AreaCode["en_UK"] = 2057] = "en_UK";
|
|
111
|
+
// Estonian (Estonia)
|
|
112
|
+
AreaCode[AreaCode["et_EE"] = 1061] = "et_EE";
|
|
113
|
+
// Faroese (Faeroes)
|
|
114
|
+
AreaCode[AreaCode["fo_FO"] = 1080] = "fo_FO";
|
|
115
|
+
// Finnish (Finland)
|
|
116
|
+
AreaCode[AreaCode["fi_FI"] = 1035] = "fi_FI";
|
|
117
|
+
// French (Belgium)
|
|
118
|
+
AreaCode[AreaCode["fr_BE"] = 2060] = "fr_BE";
|
|
119
|
+
// French (Canada)
|
|
120
|
+
AreaCode[AreaCode["fr_CA"] = 11276] = "fr_CA";
|
|
121
|
+
// French (France)
|
|
122
|
+
AreaCode[AreaCode["fr_FR"] = 1036] = "fr_FR";
|
|
123
|
+
// French (Luxembourg)
|
|
124
|
+
AreaCode[AreaCode["fr_LU"] = 5132] = "fr_LU";
|
|
125
|
+
// French (Monaco)
|
|
126
|
+
AreaCode[AreaCode["fr_MC"] = 6156] = "fr_MC";
|
|
127
|
+
// French (Switzerland)
|
|
128
|
+
AreaCode[AreaCode["fr_CH"] = 4108] = "fr_CH";
|
|
129
|
+
// Galician (Galicia)
|
|
130
|
+
AreaCode[AreaCode["gl_ES"] = 1110] = "gl_ES";
|
|
131
|
+
// German (Austria)
|
|
132
|
+
AreaCode[AreaCode["de_AT"] = 3079] = "de_AT";
|
|
133
|
+
// German (Germany)
|
|
134
|
+
AreaCode[AreaCode["de_DE"] = 1031] = "de_DE";
|
|
135
|
+
// German (Liechtenstein)
|
|
136
|
+
AreaCode[AreaCode["de_LI"] = 5127] = "de_LI";
|
|
137
|
+
// German (Luxembourg)
|
|
138
|
+
AreaCode[AreaCode["de_LU"] = 4103] = "de_LU";
|
|
139
|
+
// German (Switzerland)
|
|
140
|
+
AreaCode[AreaCode["de_CH"] = 2055] = "de_CH";
|
|
141
|
+
// Gujarati (India)
|
|
142
|
+
AreaCode[AreaCode["gu_IN"] = 1095] = "gu_IN";
|
|
143
|
+
// Hebrew (Israel)
|
|
144
|
+
AreaCode[AreaCode["he_IL"] = 1037] = "he_IL";
|
|
145
|
+
// North Indian (India)
|
|
146
|
+
AreaCode[AreaCode["hi_IN"] = 1081] = "hi_IN";
|
|
147
|
+
// Hungarian (Hungary)
|
|
148
|
+
AreaCode[AreaCode["hu_HU"] = 1038] = "hu_HU";
|
|
149
|
+
// Icelandic (Iceland)
|
|
150
|
+
AreaCode[AreaCode["is_IS"] = 1039] = "is_IS";
|
|
151
|
+
// Indonesian (Indonesia)
|
|
152
|
+
AreaCode[AreaCode["id_ID"] = 1057] = "id_ID";
|
|
153
|
+
// Italian (Italy)
|
|
154
|
+
AreaCode[AreaCode["it_IT"] = 1040] = "it_IT";
|
|
155
|
+
// Italian (Switzerland)
|
|
156
|
+
AreaCode[AreaCode["it_CH"] = 2064] = "it_CH";
|
|
157
|
+
// Japanese (Japan)
|
|
158
|
+
AreaCode[AreaCode["ja_JP"] = 1041] = "ja_JP";
|
|
159
|
+
// Kannada (India)
|
|
160
|
+
AreaCode[AreaCode["kn_IN"] = 1099] = "kn_IN";
|
|
161
|
+
// Kazakh (Kazakhstan)
|
|
162
|
+
AreaCode[AreaCode["kk_KZ"] = 1087] = "kk_KZ";
|
|
163
|
+
// Korean (Korea)
|
|
164
|
+
AreaCode[AreaCode["ko_KR"] = 1042] = "ko_KR";
|
|
165
|
+
// Kyrgyz (Kazakhstan)
|
|
166
|
+
AreaCode[AreaCode["ky_KZ"] = 1088] = "ky_KZ";
|
|
167
|
+
// Latvian (Latvian)
|
|
168
|
+
AreaCode[AreaCode["lv_LV"] = 1062] = "lv_LV";
|
|
169
|
+
// Lithuanian (Lithuania)
|
|
170
|
+
AreaCode[AreaCode["lt_LT"] = 1063] = "lt_LT";
|
|
171
|
+
// Malay (Brunei)
|
|
172
|
+
AreaCode[AreaCode["ms_BN"] = 2110] = "ms_BN";
|
|
173
|
+
// Malay (Malaysia)
|
|
174
|
+
AreaCode[AreaCode["ms_MY"] = 1086] = "ms_MY";
|
|
175
|
+
// Marathi (India)
|
|
176
|
+
AreaCode[AreaCode["mr_IN"] = 1102] = "mr_IN";
|
|
177
|
+
// Mongolian (Mongolia)
|
|
178
|
+
AreaCode[AreaCode["mn_MN"] = 2128] = "mn_MN";
|
|
179
|
+
// Norwegian (Bokml)
|
|
180
|
+
AreaCode[AreaCode["nb_NO"] = 1044] = "nb_NO";
|
|
181
|
+
// Norwegian (Nynorsk)
|
|
182
|
+
AreaCode[AreaCode["nn_NO"] = 2068] = "nn_NO";
|
|
183
|
+
// Polish (Polish)
|
|
184
|
+
AreaCode[AreaCode["pl_PL"] = 1045] = "pl_PL";
|
|
185
|
+
// Portuguese (Brazil)
|
|
186
|
+
AreaCode[AreaCode["pt_BR"] = 1046] = "pt_BR";
|
|
187
|
+
// Portuguese (Portugal)
|
|
188
|
+
AreaCode[AreaCode["pt_PT"] = 2070] = "pt_PT";
|
|
189
|
+
// Punjab (India)
|
|
190
|
+
AreaCode[AreaCode["pa_IN"] = 1094] = "pa_IN";
|
|
191
|
+
// Romanian (Moldova)
|
|
192
|
+
AreaCode[AreaCode["ro_MO"] = 2072] = "ro_MO";
|
|
193
|
+
// Romanian (Romania)
|
|
194
|
+
AreaCode[AreaCode["ro_RO"] = 1048] = "ro_RO";
|
|
195
|
+
// Russian (Russia)
|
|
196
|
+
AreaCode[AreaCode["ru_RU"] = 1049] = "ru_RU";
|
|
197
|
+
// Russian (Moldova)
|
|
198
|
+
AreaCode[AreaCode["ru_MO"] = 2073] = "ru_MO";
|
|
199
|
+
// Sanskrit (India)
|
|
200
|
+
AreaCode[AreaCode["sa_IN"] = 1103] = "sa_IN";
|
|
201
|
+
// Serbia (Serre - Cyrillic)
|
|
202
|
+
AreaCode[AreaCode["sr_SP_Cyrl"] = 3098] = "sr_SP_Cyrl";
|
|
203
|
+
// Serbia (Serre - Latin)
|
|
204
|
+
AreaCode[AreaCode["sr_SP_Latn"] = 2074] = "sr_SP_Latn";
|
|
205
|
+
// Slovak (Slovak)
|
|
206
|
+
AreaCode[AreaCode["sk_SK"] = 1051] = "sk_SK";
|
|
207
|
+
// Slovenia (Slovenia)
|
|
208
|
+
AreaCode[AreaCode["sl_SI"] = 1060] = "sl_SI";
|
|
209
|
+
// Spanish (Argentina)
|
|
210
|
+
AreaCode[AreaCode["es_AR"] = 11274] = "es_AR";
|
|
211
|
+
// Spanish (Bolivia)
|
|
212
|
+
AreaCode[AreaCode["es_BO"] = 16394] = "es_BO";
|
|
213
|
+
// Spanish (Chile)
|
|
214
|
+
AreaCode[AreaCode["es_CL"] = 13322] = "es_CL";
|
|
215
|
+
// Spanish (Colombia)
|
|
216
|
+
AreaCode[AreaCode["es_CO"] = 9226] = "es_CO";
|
|
217
|
+
// Spanish (Costa Rica)
|
|
218
|
+
AreaCode[AreaCode["es_CR"] = 5130] = "es_CR";
|
|
219
|
+
// Spanish (Dominican Republic)
|
|
220
|
+
AreaCode[AreaCode["es_DO"] = 7178] = "es_DO";
|
|
221
|
+
// Spanish (Ecuador)
|
|
222
|
+
AreaCode[AreaCode["es_EC"] = 12298] = "es_EC";
|
|
223
|
+
// Spanish (Salvador)
|
|
224
|
+
AreaCode[AreaCode["es_SV"] = 17418] = "es_SV";
|
|
225
|
+
// Spanish (Guatemala)
|
|
226
|
+
AreaCode[AreaCode["es_GT"] = 4106] = "es_GT";
|
|
227
|
+
// Spanish (Honduras)
|
|
228
|
+
AreaCode[AreaCode["es_HN"] = 18442] = "es_HN";
|
|
229
|
+
// Spanish (Mexico)
|
|
230
|
+
AreaCode[AreaCode["es_MX"] = 2058] = "es_MX";
|
|
231
|
+
// Spanish (Nicaragua)
|
|
232
|
+
AreaCode[AreaCode["es_NI"] = 19466] = "es_NI";
|
|
233
|
+
// Spanish (Panama)
|
|
234
|
+
AreaCode[AreaCode["es_PA"] = 6154] = "es_PA";
|
|
235
|
+
// Spanish (Paraguay)
|
|
236
|
+
AreaCode[AreaCode["es_PY"] = 15370] = "es_PY";
|
|
237
|
+
// Spanish (Peru)
|
|
238
|
+
AreaCode[AreaCode["es_PE"] = 10250] = "es_PE";
|
|
239
|
+
// Spanish (Puerto Rico)
|
|
240
|
+
AreaCode[AreaCode["es_PR"] = 20490] = "es_PR";
|
|
241
|
+
// Spanish (Spain Traditional)
|
|
242
|
+
AreaCode[AreaCode["es_ES"] = 1034] = "es_ES";
|
|
243
|
+
// Spanish (Uruguay)
|
|
244
|
+
AreaCode[AreaCode["es_UY"] = 14346] = "es_UY";
|
|
245
|
+
// Spanish (Venezuela)
|
|
246
|
+
AreaCode[AreaCode["es_VE"] = 8202] = "es_VE";
|
|
247
|
+
// Swahili (Kenya)
|
|
248
|
+
AreaCode[AreaCode["sw_KE"] = 1089] = "sw_KE";
|
|
249
|
+
// Swedish (Finland)
|
|
250
|
+
AreaCode[AreaCode["sv_FI"] = 2077] = "sv_FI";
|
|
251
|
+
// Swedish (Sweden)
|
|
252
|
+
AreaCode[AreaCode["sv_SE"] = 1053] = "sv_SE";
|
|
253
|
+
// Tamil (India)
|
|
254
|
+
AreaCode[AreaCode["ta_IN"] = 1097] = "ta_IN";
|
|
255
|
+
// Tatar (Russia)
|
|
256
|
+
AreaCode[AreaCode["tt_RU"] = 1092] = "tt_RU";
|
|
257
|
+
// Telugu (India)
|
|
258
|
+
AreaCode[AreaCode["te_IN"] = 1098] = "te_IN";
|
|
259
|
+
// Thai (Thailand)
|
|
260
|
+
AreaCode[AreaCode["th_TH"] = 1054] = "th_TH";
|
|
261
|
+
// Turkish (Turkey)
|
|
262
|
+
AreaCode[AreaCode["tr_TR"] = 1055] = "tr_TR";
|
|
263
|
+
// Uzbek (Uzbekistan - Cyrillics)
|
|
264
|
+
AreaCode[AreaCode["uz_UZ_Cyrl"] = 2115] = "uz_UZ_Cyrl";
|
|
265
|
+
// Uzbek (Uzbekistan - Latin)
|
|
266
|
+
AreaCode[AreaCode["uz_UZ_Latn"] = 1091] = "uz_UZ_Latn";
|
|
267
|
+
// Vietnamese (Vietnam)
|
|
268
|
+
AreaCode[AreaCode["vi_VN"] = 1066] = "vi_VN";
|
|
269
|
+
})(AreaCode = exports.AreaCode || (exports.AreaCode = {}));
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**@format */
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.Exception = void 0;
|
|
5
|
-
/** Exception base class */
|
|
6
|
-
class Exception extends Error {
|
|
7
|
-
constructor(msg, options) {
|
|
8
|
-
super(msg, options);
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* Get a string of the Exception object
|
|
12
|
-
*
|
|
13
|
-
* @returns return an error message
|
|
14
|
-
*/
|
|
15
|
-
toString() {
|
|
16
|
-
return this.message;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
exports.Exception = Exception;
|
|
1
|
+
"use strict";
|
|
2
|
+
/**@format */
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Exception = void 0;
|
|
5
|
+
/** Exception base class */
|
|
6
|
+
class Exception extends Error {
|
|
7
|
+
constructor(msg, options) {
|
|
8
|
+
super(msg, options);
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Get a string of the Exception object
|
|
12
|
+
*
|
|
13
|
+
* @returns return an error message
|
|
14
|
+
*/
|
|
15
|
+
toString() {
|
|
16
|
+
return this.message;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.Exception = Exception;
|
package/dist/lib/types/Logs.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**@format */
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.LogLevel = void 0;
|
|
5
|
-
/** Tianyu Log Level */
|
|
6
|
-
var LogLevel;
|
|
7
|
-
(function (LogLevel) {
|
|
8
|
-
/** Debug mode log */
|
|
9
|
-
LogLevel[LogLevel["DEBUG"] = 0] = "DEBUG";
|
|
10
|
-
/** error msg */
|
|
11
|
-
LogLevel[LogLevel["ERROR"] = 1] = "ERROR";
|
|
12
|
-
/** fatal error msg */
|
|
13
|
-
LogLevel[LogLevel["FATAL"] = 2] = "FATAL";
|
|
14
|
-
/** info log */
|
|
15
|
-
LogLevel[LogLevel["INFO"] = 3] = "INFO";
|
|
16
|
-
/** warning log */
|
|
17
|
-
LogLevel[LogLevel["WARNING"] = 4] = "WARNING";
|
|
18
|
-
/** default log */
|
|
19
|
-
LogLevel[LogLevel["LOG"] = 5] = "LOG";
|
|
20
|
-
})(LogLevel = exports.LogLevel || (exports.LogLevel = {}));
|
|
1
|
+
"use strict";
|
|
2
|
+
/**@format */
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.LogLevel = void 0;
|
|
5
|
+
/** Tianyu Log Level */
|
|
6
|
+
var LogLevel;
|
|
7
|
+
(function (LogLevel) {
|
|
8
|
+
/** Debug mode log */
|
|
9
|
+
LogLevel[LogLevel["DEBUG"] = 0] = "DEBUG";
|
|
10
|
+
/** error msg */
|
|
11
|
+
LogLevel[LogLevel["ERROR"] = 1] = "ERROR";
|
|
12
|
+
/** fatal error msg */
|
|
13
|
+
LogLevel[LogLevel["FATAL"] = 2] = "FATAL";
|
|
14
|
+
/** info log */
|
|
15
|
+
LogLevel[LogLevel["INFO"] = 3] = "INFO";
|
|
16
|
+
/** warning log */
|
|
17
|
+
LogLevel[LogLevel["WARNING"] = 4] = "WARNING";
|
|
18
|
+
/** default log */
|
|
19
|
+
LogLevel[LogLevel["LOG"] = 5] = "LOG";
|
|
20
|
+
})(LogLevel = exports.LogLevel || (exports.LogLevel = {}));
|
package/dist/lib/types/Object.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**@format */
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
/**@format */
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|