nucleus-core-ts 0.9.967 → 0.9.968
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/bin/cli.ts +131 -131
- package/dist/.build-ok +1 -1
- package/dist/client.js +1 -1
- package/dist/dist/index.d.ts +71 -5
- package/dist/index.js +11 -11
- package/dist/src/Client/ApiCaller/types.d.ts +67 -0
- package/dist/src/Client/Proxy/httpProxy.js +70 -70
- package/dist/src/Client/Proxy/wsProxy.js +26 -26
- package/dist/src/Client/PubSub/usePubSub.js +19 -19
- package/dist/src/ElysiaPlugin/routes/auth/admin/lockoutState.d.ts +36 -0
- package/dist/src/ElysiaPlugin/routes/auth/admin/passwordAdmin.d.ts +8 -1
- package/dist/src/ElysiaPlugin/routes/auth/admin/requireGodmin.d.ts +17 -0
- package/dist/src/ElysiaPlugin/routes/auth/admin/userState.d.ts +46 -0
- package/dist/src/Services/Authorization/ClaimsCache/index.d.ts +8 -1
- package/dist/src/Services/Captcha/types.d.ts +8 -1
- package/dist/src/Utils/storedJson.d.ts +29 -0
- package/package.json +1 -1
- package/scripts/build.ts +24 -2
- package/scripts/generate-schema.ts +739 -739
- package/src/system.tables.json +5527 -5527
package/dist/dist/index.d.ts
CHANGED
|
@@ -238,6 +238,30 @@ export function generateAdminEndpoints(config: any): {
|
|
|
238
238
|
_success: undefined;
|
|
239
239
|
_error: undefined;
|
|
240
240
|
};
|
|
241
|
+
ADMIN_LOCK_USER: {
|
|
242
|
+
method: string;
|
|
243
|
+
path: string;
|
|
244
|
+
isPublic: boolean;
|
|
245
|
+
_payload: undefined;
|
|
246
|
+
_success: undefined;
|
|
247
|
+
_error: undefined;
|
|
248
|
+
};
|
|
249
|
+
ADMIN_UNLOCK_USER: {
|
|
250
|
+
method: string;
|
|
251
|
+
path: string;
|
|
252
|
+
isPublic: boolean;
|
|
253
|
+
_payload: undefined;
|
|
254
|
+
_success: undefined;
|
|
255
|
+
_error: undefined;
|
|
256
|
+
};
|
|
257
|
+
ADMIN_MARK_EMAIL_VERIFIED: {
|
|
258
|
+
method: string;
|
|
259
|
+
path: string;
|
|
260
|
+
isPublic: boolean;
|
|
261
|
+
_payload: undefined;
|
|
262
|
+
_success: undefined;
|
|
263
|
+
_error: undefined;
|
|
264
|
+
};
|
|
241
265
|
};
|
|
242
266
|
export function describeCron(expression: any, timeZone: any): string | undefined;
|
|
243
267
|
export function decodeHeaderList(header: any): any;
|
|
@@ -7541,7 +7565,7 @@ export namespace AUTH_ENDPOINTS {
|
|
|
7541
7565
|
let _error_183: undefined;
|
|
7542
7566
|
export { _error_183 as _error };
|
|
7543
7567
|
}
|
|
7544
|
-
namespace
|
|
7568
|
+
namespace ADMIN_LOCK_USER {
|
|
7545
7569
|
let method_193: string;
|
|
7546
7570
|
export { method_193 as method };
|
|
7547
7571
|
let path_177: string;
|
|
@@ -7555,7 +7579,7 @@ export namespace AUTH_ENDPOINTS {
|
|
|
7555
7579
|
let _error_184: undefined;
|
|
7556
7580
|
export { _error_184 as _error };
|
|
7557
7581
|
}
|
|
7558
|
-
namespace
|
|
7582
|
+
namespace ADMIN_UNLOCK_USER {
|
|
7559
7583
|
let method_194: string;
|
|
7560
7584
|
export { method_194 as method };
|
|
7561
7585
|
let path_178: string;
|
|
@@ -7569,7 +7593,7 @@ export namespace AUTH_ENDPOINTS {
|
|
|
7569
7593
|
let _error_185: undefined;
|
|
7570
7594
|
export { _error_185 as _error };
|
|
7571
7595
|
}
|
|
7572
|
-
namespace
|
|
7596
|
+
namespace ADMIN_MARK_EMAIL_VERIFIED {
|
|
7573
7597
|
let method_195: string;
|
|
7574
7598
|
export { method_195 as method };
|
|
7575
7599
|
let path_179: string;
|
|
@@ -7583,7 +7607,7 @@ export namespace AUTH_ENDPOINTS {
|
|
|
7583
7607
|
let _error_186: undefined;
|
|
7584
7608
|
export { _error_186 as _error };
|
|
7585
7609
|
}
|
|
7586
|
-
namespace
|
|
7610
|
+
namespace API_KEYS_CREATE {
|
|
7587
7611
|
let method_196: string;
|
|
7588
7612
|
export { method_196 as method };
|
|
7589
7613
|
let path_180: string;
|
|
@@ -7597,7 +7621,7 @@ export namespace AUTH_ENDPOINTS {
|
|
|
7597
7621
|
let _error_187: undefined;
|
|
7598
7622
|
export { _error_187 as _error };
|
|
7599
7623
|
}
|
|
7600
|
-
namespace
|
|
7624
|
+
namespace API_KEYS_LIST {
|
|
7601
7625
|
let method_197: string;
|
|
7602
7626
|
export { method_197 as method };
|
|
7603
7627
|
let path_181: string;
|
|
@@ -7611,6 +7635,48 @@ export namespace AUTH_ENDPOINTS {
|
|
|
7611
7635
|
let _error_188: undefined;
|
|
7612
7636
|
export { _error_188 as _error };
|
|
7613
7637
|
}
|
|
7638
|
+
namespace API_KEYS_DETAIL {
|
|
7639
|
+
let method_198: string;
|
|
7640
|
+
export { method_198 as method };
|
|
7641
|
+
let path_182: string;
|
|
7642
|
+
export { path_182 as path };
|
|
7643
|
+
let isPublic_182: boolean;
|
|
7644
|
+
export { isPublic_182 as isPublic };
|
|
7645
|
+
let _payload_189: undefined;
|
|
7646
|
+
export { _payload_189 as _payload };
|
|
7647
|
+
let _success_189: undefined;
|
|
7648
|
+
export { _success_189 as _success };
|
|
7649
|
+
let _error_189: undefined;
|
|
7650
|
+
export { _error_189 as _error };
|
|
7651
|
+
}
|
|
7652
|
+
namespace API_KEYS_UPDATE {
|
|
7653
|
+
let method_199: string;
|
|
7654
|
+
export { method_199 as method };
|
|
7655
|
+
let path_183: string;
|
|
7656
|
+
export { path_183 as path };
|
|
7657
|
+
let isPublic_183: boolean;
|
|
7658
|
+
export { isPublic_183 as isPublic };
|
|
7659
|
+
let _payload_190: undefined;
|
|
7660
|
+
export { _payload_190 as _payload };
|
|
7661
|
+
let _success_190: undefined;
|
|
7662
|
+
export { _success_190 as _success };
|
|
7663
|
+
let _error_190: undefined;
|
|
7664
|
+
export { _error_190 as _error };
|
|
7665
|
+
}
|
|
7666
|
+
namespace API_KEYS_REVOKE {
|
|
7667
|
+
let method_200: string;
|
|
7668
|
+
export { method_200 as method };
|
|
7669
|
+
let path_184: string;
|
|
7670
|
+
export { path_184 as path };
|
|
7671
|
+
let isPublic_184: boolean;
|
|
7672
|
+
export { isPublic_184 as isPublic };
|
|
7673
|
+
let _payload_191: undefined;
|
|
7674
|
+
export { _payload_191 as _payload };
|
|
7675
|
+
let _success_191: undefined;
|
|
7676
|
+
export { _success_191 as _success };
|
|
7677
|
+
let _error_191: undefined;
|
|
7678
|
+
export { _error_191 as _error };
|
|
7679
|
+
}
|
|
7614
7680
|
}
|
|
7615
7681
|
declare class Logger {
|
|
7616
7682
|
static instance: null;
|