@cyberskill/shared 1.61.0 → 1.62.0
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/_tsup-dts-rollup.d.cts +85 -68
- package/dist/_tsup-dts-rollup.d.ts +85 -68
- package/dist/cli.cjs +1 -1
- package/dist/cli.js +1 -1
- package/dist/configs/graphql/graphql-codegen.cjs +1 -1
- package/dist/configs/graphql/graphql-codegen.js +1 -1
- package/dist/configs/graphql/index.cjs +1 -1
- package/dist/configs/graphql/index.js +1 -1
- package/dist/configs/index.cjs +1 -1
- package/dist/configs/index.js +1 -1
- package/dist/configs/vitest/react/unit.cjs +1 -1
- package/dist/configs/vitest/react/unit.js +1 -1
- package/dist/constants/index.cjs +1 -1
- package/dist/constants/index.js +1 -1
- package/dist/constants/path.cjs +1 -1
- package/dist/constants/path.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +1 -1
- package/dist/react/apollo-client.cjs +1 -1
- package/dist/react/apollo-client.js +1 -1
- package/dist/react/apollo-error.cjs +1 -1
- package/dist/react/apollo-error.js +1 -1
- package/dist/react/apollo-error.module.scss +2 -8
- package/dist/react/index.cjs +1 -1
- package/dist/react/index.js +1 -1
- package/dist/react/next-intl.cjs +1 -1
- package/dist/react/next-intl.js +1 -1
- package/dist/react/storage.cjs +1 -1
- package/dist/react/storage.js +1 -1
- package/dist/typescript/command.cjs +1 -1
- package/dist/typescript/command.d.cts +2 -3
- package/dist/typescript/command.d.ts +2 -3
- package/dist/typescript/command.js +1 -1
- package/dist/typescript/index.cjs +1 -1
- package/dist/typescript/index.d.cts +4 -4
- package/dist/typescript/index.d.ts +4 -4
- package/dist/typescript/index.js +1 -1
- package/dist/typescript/log.d.cts +2 -1
- package/dist/typescript/log.d.ts +2 -1
- package/dist/utils/command.cjs +1 -1
- package/dist/utils/command.d.cts +0 -1
- package/dist/utils/command.d.ts +0 -1
- package/dist/utils/command.js +1 -1
- package/dist/utils/fs.cjs +1 -1
- package/dist/utils/fs.d.cts +1 -1
- package/dist/utils/fs.d.ts +1 -1
- package/dist/utils/fs.js +1 -1
- package/dist/utils/index-nodejs.cjs +1 -1
- package/dist/utils/index-nodejs.d.cts +3 -3
- package/dist/utils/index-nodejs.d.ts +3 -3
- package/dist/utils/index-nodejs.js +1 -1
- package/dist/utils/index.cjs +1 -1
- package/dist/utils/index.js +1 -1
- package/dist/utils/log.cjs +1 -1
- package/dist/utils/log.d.cts +2 -1
- package/dist/utils/log.d.ts +2 -1
- package/dist/utils/log.js +1 -1
- package/dist/utils/package.cjs +1 -1
- package/dist/utils/package.js +1 -1
- package/dist/utils/path.cjs +1 -1
- package/dist/utils/path.js +1 -1
- package/dist/utils/storage-client.cjs +1 -1
- package/dist/utils/storage-client.js +1 -1
- package/dist/utils/storage-server.cjs +1 -1
- package/dist/utils/storage-server.js +1 -1
- package/package.json +2 -2
|
@@ -11,6 +11,7 @@ import type { ClientSession } from 'mongoose';
|
|
|
11
11
|
import type { CodegenConfig } from '@graphql-codegen/cli';
|
|
12
12
|
import { Collection } from 'mongodb';
|
|
13
13
|
import type { ComponentType } from 'react';
|
|
14
|
+
import type consola from 'consola';
|
|
14
15
|
import { Context } from 'react';
|
|
15
16
|
import { Db } from 'mongodb';
|
|
16
17
|
import type { DeleteResult } from 'mongodb';
|
|
@@ -171,17 +172,6 @@ export { COMMAND }
|
|
|
171
172
|
export { COMMAND as COMMAND_alias_1 }
|
|
172
173
|
export { COMMAND as COMMAND_alias_2 }
|
|
173
174
|
|
|
174
|
-
declare const commandLog: {
|
|
175
|
-
success: (message: string) => void;
|
|
176
|
-
error: (message: string) => void;
|
|
177
|
-
warning: (message: string) => void;
|
|
178
|
-
info: (message: string) => void;
|
|
179
|
-
printBoxedLog: typeof printBoxedLog;
|
|
180
|
-
};
|
|
181
|
-
export { commandLog }
|
|
182
|
-
export { commandLog as commandLog_alias_1 }
|
|
183
|
-
export { commandLog as commandLog_alias_2 }
|
|
184
|
-
|
|
185
175
|
declare const COMMIT_LINT_CLI = "commitlint";
|
|
186
176
|
export { COMMIT_LINT_CLI }
|
|
187
177
|
export { COMMIT_LINT_CLI as COMMIT_LINT_CLI_alias_1 }
|
|
@@ -1420,15 +1410,15 @@ declare enum E_ConfigType_2 {
|
|
|
1420
1410
|
VITEST_REACT_UNIT = 'vitest-react-unit',
|
|
1421
1411
|
}
|
|
1422
1412
|
|
|
1423
|
-
declare enum
|
|
1413
|
+
declare enum E_IssueType {
|
|
1424
1414
|
Error = "error",
|
|
1425
1415
|
Warning = "warning"
|
|
1426
1416
|
}
|
|
1427
|
-
export {
|
|
1428
|
-
export {
|
|
1429
|
-
export {
|
|
1417
|
+
export { E_IssueType }
|
|
1418
|
+
export { E_IssueType as E_IssueType_alias_1 }
|
|
1419
|
+
export { E_IssueType as E_IssueType_alias_2 }
|
|
1430
1420
|
|
|
1431
|
-
declare enum
|
|
1421
|
+
declare enum E_IssueType_2 {
|
|
1432
1422
|
Error = 'error',
|
|
1433
1423
|
Warning = 'warning',
|
|
1434
1424
|
}
|
|
@@ -1458,7 +1448,7 @@ export { executeCommand }
|
|
|
1458
1448
|
export { executeCommand as executeCommand_alias_1 }
|
|
1459
1449
|
export { executeCommand as executeCommand_alias_2 }
|
|
1460
1450
|
|
|
1461
|
-
declare
|
|
1451
|
+
declare function existsSync(...paths: string[]): boolean;
|
|
1462
1452
|
export { existsSync }
|
|
1463
1453
|
export { existsSync as existsSync_alias_1 }
|
|
1464
1454
|
export { existsSync as existsSync_alias_2 }
|
|
@@ -1497,7 +1487,7 @@ export { getStorageDir }
|
|
|
1497
1487
|
export { getStorageDir as getStorageDir_alias_1 }
|
|
1498
1488
|
export { getStorageDir as getStorageDir_alias_2 }
|
|
1499
1489
|
|
|
1500
|
-
declare function getStoredErrorLists(): Promise<
|
|
1490
|
+
declare function getStoredErrorLists(): Promise<I_IssueEntry_2[]>;
|
|
1501
1491
|
export { getStoredErrorLists }
|
|
1502
1492
|
export { getStoredErrorLists as getStoredErrorLists_alias_1 }
|
|
1503
1493
|
export { getStoredErrorLists as getStoredErrorLists_alias_2 }
|
|
@@ -1593,25 +1583,6 @@ declare interface I_ApolloProviderProps_2 {
|
|
|
1593
1583
|
cache?: ApolloCache<NormalizedCacheObject>;
|
|
1594
1584
|
}
|
|
1595
1585
|
|
|
1596
|
-
declare interface I_BoxedLogOptions {
|
|
1597
|
-
color?: string;
|
|
1598
|
-
padding?: number;
|
|
1599
|
-
margin?: number;
|
|
1600
|
-
borderStyle?: 'round' | 'single' | 'double' | 'bold';
|
|
1601
|
-
titleColor?: string;
|
|
1602
|
-
}
|
|
1603
|
-
export { I_BoxedLogOptions }
|
|
1604
|
-
export { I_BoxedLogOptions as I_BoxedLogOptions_alias_1 }
|
|
1605
|
-
export { I_BoxedLogOptions as I_BoxedLogOptions_alias_2 }
|
|
1606
|
-
|
|
1607
|
-
declare interface I_BoxedLogOptions_2 {
|
|
1608
|
-
color?: string;
|
|
1609
|
-
padding?: number;
|
|
1610
|
-
margin?: number;
|
|
1611
|
-
borderStyle?: 'round' | 'single' | 'double' | 'bold';
|
|
1612
|
-
titleColor?: string;
|
|
1613
|
-
}
|
|
1614
|
-
|
|
1615
1586
|
declare interface I_Command {
|
|
1616
1587
|
raw: boolean;
|
|
1617
1588
|
cmd: string;
|
|
@@ -1680,25 +1651,6 @@ declare interface I_DeleteOptionsExtended_2 extends Omit<QueryOptions, 'session'
|
|
|
1680
1651
|
session?: ClientSession;
|
|
1681
1652
|
}
|
|
1682
1653
|
|
|
1683
|
-
declare interface I_ErrorEntry {
|
|
1684
|
-
type: E_ErrorType;
|
|
1685
|
-
file: string;
|
|
1686
|
-
message: string;
|
|
1687
|
-
position?: string;
|
|
1688
|
-
rule?: string;
|
|
1689
|
-
}
|
|
1690
|
-
export { I_ErrorEntry }
|
|
1691
|
-
export { I_ErrorEntry as I_ErrorEntry_alias_1 }
|
|
1692
|
-
export { I_ErrorEntry as I_ErrorEntry_alias_2 }
|
|
1693
|
-
|
|
1694
|
-
declare interface I_ErrorEntry_2 {
|
|
1695
|
-
type: E_ErrorType_2;
|
|
1696
|
-
file: string;
|
|
1697
|
-
message: string;
|
|
1698
|
-
position?: string;
|
|
1699
|
-
rule?: string;
|
|
1700
|
-
}
|
|
1701
|
-
|
|
1702
1654
|
declare interface I_EslintError {
|
|
1703
1655
|
filePath: string;
|
|
1704
1656
|
messages: Array<{
|
|
@@ -1847,6 +1799,25 @@ export { I_Input_UpdateOne }
|
|
|
1847
1799
|
export { I_Input_UpdateOne as I_Input_UpdateOne_alias_1 }
|
|
1848
1800
|
export { I_Input_UpdateOne as I_Input_UpdateOne_alias_2 }
|
|
1849
1801
|
|
|
1802
|
+
declare interface I_IssueEntry {
|
|
1803
|
+
type: E_IssueType;
|
|
1804
|
+
file: string;
|
|
1805
|
+
message: string;
|
|
1806
|
+
position?: string;
|
|
1807
|
+
rule?: string;
|
|
1808
|
+
}
|
|
1809
|
+
export { I_IssueEntry }
|
|
1810
|
+
export { I_IssueEntry as I_IssueEntry_alias_1 }
|
|
1811
|
+
export { I_IssueEntry as I_IssueEntry_alias_2 }
|
|
1812
|
+
|
|
1813
|
+
declare interface I_IssueEntry_2 {
|
|
1814
|
+
type: E_IssueType_2;
|
|
1815
|
+
file: string;
|
|
1816
|
+
message: string;
|
|
1817
|
+
position?: string;
|
|
1818
|
+
rule?: string;
|
|
1819
|
+
}
|
|
1820
|
+
|
|
1850
1821
|
declare interface I_LoadingContext {
|
|
1851
1822
|
isLoading: boolean;
|
|
1852
1823
|
isGlobalLoading: boolean;
|
|
@@ -1881,6 +1852,49 @@ declare interface I_LoadingProps_2 {
|
|
|
1881
1852
|
message?: string;
|
|
1882
1853
|
}
|
|
1883
1854
|
|
|
1855
|
+
declare interface I_Log {
|
|
1856
|
+
silent: typeof consola['silent'];
|
|
1857
|
+
level: typeof consola['level'];
|
|
1858
|
+
fatal: typeof consola['fatal'];
|
|
1859
|
+
error: typeof consola['error'];
|
|
1860
|
+
warn: typeof consola['warn'];
|
|
1861
|
+
log: typeof consola['log'];
|
|
1862
|
+
info: typeof consola['info'];
|
|
1863
|
+
success: typeof consola['success'];
|
|
1864
|
+
ready: typeof consola['ready'];
|
|
1865
|
+
start: typeof consola['start'];
|
|
1866
|
+
box: typeof consola['box'];
|
|
1867
|
+
debug: typeof consola['debug'];
|
|
1868
|
+
trace: typeof consola['trace'];
|
|
1869
|
+
verbose: typeof consola['verbose'];
|
|
1870
|
+
printBoxedLog: (title: string, issues: I_IssueEntry[], color?: string) => void;
|
|
1871
|
+
}
|
|
1872
|
+
export { I_Log }
|
|
1873
|
+
export { I_Log as I_Log_alias_1 }
|
|
1874
|
+
export { I_Log as I_Log_alias_2 }
|
|
1875
|
+
|
|
1876
|
+
declare interface I_Log_2 {
|
|
1877
|
+
silent: typeof consola['silent'];
|
|
1878
|
+
level: typeof consola['level'];
|
|
1879
|
+
fatal: typeof consola['fatal'];
|
|
1880
|
+
error: typeof consola['error'];
|
|
1881
|
+
warn: typeof consola['warn'];
|
|
1882
|
+
log: typeof consola['log'];
|
|
1883
|
+
info: typeof consola['info'];
|
|
1884
|
+
success: typeof consola['success'];
|
|
1885
|
+
ready: typeof consola['ready'];
|
|
1886
|
+
start: typeof consola['start'];
|
|
1887
|
+
box: typeof consola['box'];
|
|
1888
|
+
debug: typeof consola['debug'];
|
|
1889
|
+
trace: typeof consola['trace'];
|
|
1890
|
+
verbose: typeof consola['verbose'];
|
|
1891
|
+
printBoxedLog: (
|
|
1892
|
+
title: string,
|
|
1893
|
+
issues: I_IssueEntry_2[],
|
|
1894
|
+
color?: string,
|
|
1895
|
+
) => void;
|
|
1896
|
+
}
|
|
1897
|
+
|
|
1884
1898
|
declare interface I_MongooseModelMiddleware<T extends Partial<C_Document>> {
|
|
1885
1899
|
method: T_MongooseMiddlewareMethod;
|
|
1886
1900
|
pre?: T_MongooseMiddlewarePreFunction<T & T_QueryWithHelpers<T>>;
|
|
@@ -2127,6 +2141,11 @@ export { LoadingProvider }
|
|
|
2127
2141
|
export { LoadingProvider as LoadingProvider_alias_1 }
|
|
2128
2142
|
export { LoadingProvider as LoadingProvider_alias_2 }
|
|
2129
2143
|
|
|
2144
|
+
declare const log: I_Log_2;
|
|
2145
|
+
export { log }
|
|
2146
|
+
export { log as log_alias_1 }
|
|
2147
|
+
export { log as log_alias_2 }
|
|
2148
|
+
|
|
2130
2149
|
export declare function mergeConfigs(type: T_ConfigType_2, ...configs: T_Object_2[]): T_Object_2;
|
|
2131
2150
|
|
|
2132
2151
|
declare const mongo: {
|
|
@@ -2329,8 +2348,6 @@ export { PNPM_LOCK_YAML }
|
|
|
2329
2348
|
export { PNPM_LOCK_YAML as PNPM_LOCK_YAML_alias_1 }
|
|
2330
2349
|
export { PNPM_LOCK_YAML as PNPM_LOCK_YAML_alias_2 }
|
|
2331
2350
|
|
|
2332
|
-
declare function printBoxedLog<T extends string | I_ErrorEntry_2[]>(title: string, content: T, { color, padding, margin, borderStyle, titleColor, }?: I_BoxedLogOptions_2): void;
|
|
2333
|
-
|
|
2334
2351
|
declare function rawCommand(cmd: string): {
|
|
2335
2352
|
raw: boolean;
|
|
2336
2353
|
cmd: string;
|
|
@@ -2636,7 +2653,7 @@ export { RESPONSE_STATUS }
|
|
|
2636
2653
|
export { RESPONSE_STATUS as RESPONSE_STATUS_alias_1 }
|
|
2637
2654
|
export { RESPONSE_STATUS as RESPONSE_STATUS_alias_2 }
|
|
2638
2655
|
|
|
2639
|
-
declare function rmSync(
|
|
2656
|
+
declare function rmSync(...paths: string[]): void;
|
|
2640
2657
|
export { rmSync }
|
|
2641
2658
|
export { rmSync as rmSync_alias_1 }
|
|
2642
2659
|
export { rmSync as rmSync_alias_2 }
|
|
@@ -2979,7 +2996,7 @@ export { T_QueryWithHelpers as T_QueryWithHelpers_alias_2 }
|
|
|
2979
2996
|
|
|
2980
2997
|
declare type T_QueryWithHelpers_2<T> = QueryWithHelpers<T, T>;
|
|
2981
2998
|
|
|
2982
|
-
declare interface
|
|
2999
|
+
declare interface T_ThrowError {
|
|
2983
3000
|
message?: string;
|
|
2984
3001
|
status?: {
|
|
2985
3002
|
CODE: string | number;
|
|
@@ -2987,11 +3004,11 @@ declare interface T_ThrowResponseArgs {
|
|
|
2987
3004
|
};
|
|
2988
3005
|
type?: 'graphql' | 'rest';
|
|
2989
3006
|
}
|
|
2990
|
-
export {
|
|
2991
|
-
export {
|
|
2992
|
-
export {
|
|
3007
|
+
export { T_ThrowError }
|
|
3008
|
+
export { T_ThrowError as T_ThrowError_alias_1 }
|
|
3009
|
+
export { T_ThrowError as T_ThrowError_alias_2 }
|
|
2993
3010
|
|
|
2994
|
-
declare interface
|
|
3011
|
+
declare interface T_ThrowError_2 {
|
|
2995
3012
|
message?: string;
|
|
2996
3013
|
status?: {
|
|
2997
3014
|
CODE: string | number;
|
|
@@ -3021,10 +3038,10 @@ export { T_WithId as T_WithId_alias_2 }
|
|
|
3021
3038
|
|
|
3022
3039
|
declare type T_WithId_2<T> = WithId<T>;
|
|
3023
3040
|
|
|
3024
|
-
declare function
|
|
3025
|
-
export {
|
|
3026
|
-
export {
|
|
3027
|
-
export {
|
|
3041
|
+
declare function throwError({ message, status, type, }: T_ThrowError_2): never;
|
|
3042
|
+
export { throwError }
|
|
3043
|
+
export { throwError as throwError_alias_1 }
|
|
3044
|
+
export { throwError as throwError_alias_2 }
|
|
3028
3045
|
|
|
3029
3046
|
declare const TSC_CLI = "tsc";
|
|
3030
3047
|
export { TSC_CLI }
|
|
@@ -11,6 +11,7 @@ import type { ClientSession } from 'mongoose';
|
|
|
11
11
|
import type { CodegenConfig } from '@graphql-codegen/cli';
|
|
12
12
|
import { Collection } from 'mongodb';
|
|
13
13
|
import type { ComponentType } from 'react';
|
|
14
|
+
import type consola from 'consola';
|
|
14
15
|
import { Context } from 'react';
|
|
15
16
|
import { Db } from 'mongodb';
|
|
16
17
|
import type { DeleteResult } from 'mongodb';
|
|
@@ -171,17 +172,6 @@ export { COMMAND }
|
|
|
171
172
|
export { COMMAND as COMMAND_alias_1 }
|
|
172
173
|
export { COMMAND as COMMAND_alias_2 }
|
|
173
174
|
|
|
174
|
-
declare const commandLog: {
|
|
175
|
-
success: (message: string) => void;
|
|
176
|
-
error: (message: string) => void;
|
|
177
|
-
warning: (message: string) => void;
|
|
178
|
-
info: (message: string) => void;
|
|
179
|
-
printBoxedLog: typeof printBoxedLog;
|
|
180
|
-
};
|
|
181
|
-
export { commandLog }
|
|
182
|
-
export { commandLog as commandLog_alias_1 }
|
|
183
|
-
export { commandLog as commandLog_alias_2 }
|
|
184
|
-
|
|
185
175
|
declare const COMMIT_LINT_CLI = "commitlint";
|
|
186
176
|
export { COMMIT_LINT_CLI }
|
|
187
177
|
export { COMMIT_LINT_CLI as COMMIT_LINT_CLI_alias_1 }
|
|
@@ -1420,15 +1410,15 @@ declare enum E_ConfigType_2 {
|
|
|
1420
1410
|
VITEST_REACT_UNIT = 'vitest-react-unit',
|
|
1421
1411
|
}
|
|
1422
1412
|
|
|
1423
|
-
declare enum
|
|
1413
|
+
declare enum E_IssueType {
|
|
1424
1414
|
Error = "error",
|
|
1425
1415
|
Warning = "warning"
|
|
1426
1416
|
}
|
|
1427
|
-
export {
|
|
1428
|
-
export {
|
|
1429
|
-
export {
|
|
1417
|
+
export { E_IssueType }
|
|
1418
|
+
export { E_IssueType as E_IssueType_alias_1 }
|
|
1419
|
+
export { E_IssueType as E_IssueType_alias_2 }
|
|
1430
1420
|
|
|
1431
|
-
declare enum
|
|
1421
|
+
declare enum E_IssueType_2 {
|
|
1432
1422
|
Error = 'error',
|
|
1433
1423
|
Warning = 'warning',
|
|
1434
1424
|
}
|
|
@@ -1458,7 +1448,7 @@ export { executeCommand }
|
|
|
1458
1448
|
export { executeCommand as executeCommand_alias_1 }
|
|
1459
1449
|
export { executeCommand as executeCommand_alias_2 }
|
|
1460
1450
|
|
|
1461
|
-
declare
|
|
1451
|
+
declare function existsSync(...paths: string[]): boolean;
|
|
1462
1452
|
export { existsSync }
|
|
1463
1453
|
export { existsSync as existsSync_alias_1 }
|
|
1464
1454
|
export { existsSync as existsSync_alias_2 }
|
|
@@ -1497,7 +1487,7 @@ export { getStorageDir }
|
|
|
1497
1487
|
export { getStorageDir as getStorageDir_alias_1 }
|
|
1498
1488
|
export { getStorageDir as getStorageDir_alias_2 }
|
|
1499
1489
|
|
|
1500
|
-
declare function getStoredErrorLists(): Promise<
|
|
1490
|
+
declare function getStoredErrorLists(): Promise<I_IssueEntry_2[]>;
|
|
1501
1491
|
export { getStoredErrorLists }
|
|
1502
1492
|
export { getStoredErrorLists as getStoredErrorLists_alias_1 }
|
|
1503
1493
|
export { getStoredErrorLists as getStoredErrorLists_alias_2 }
|
|
@@ -1593,25 +1583,6 @@ declare interface I_ApolloProviderProps_2 {
|
|
|
1593
1583
|
cache?: ApolloCache<NormalizedCacheObject>;
|
|
1594
1584
|
}
|
|
1595
1585
|
|
|
1596
|
-
declare interface I_BoxedLogOptions {
|
|
1597
|
-
color?: string;
|
|
1598
|
-
padding?: number;
|
|
1599
|
-
margin?: number;
|
|
1600
|
-
borderStyle?: 'round' | 'single' | 'double' | 'bold';
|
|
1601
|
-
titleColor?: string;
|
|
1602
|
-
}
|
|
1603
|
-
export { I_BoxedLogOptions }
|
|
1604
|
-
export { I_BoxedLogOptions as I_BoxedLogOptions_alias_1 }
|
|
1605
|
-
export { I_BoxedLogOptions as I_BoxedLogOptions_alias_2 }
|
|
1606
|
-
|
|
1607
|
-
declare interface I_BoxedLogOptions_2 {
|
|
1608
|
-
color?: string;
|
|
1609
|
-
padding?: number;
|
|
1610
|
-
margin?: number;
|
|
1611
|
-
borderStyle?: 'round' | 'single' | 'double' | 'bold';
|
|
1612
|
-
titleColor?: string;
|
|
1613
|
-
}
|
|
1614
|
-
|
|
1615
1586
|
declare interface I_Command {
|
|
1616
1587
|
raw: boolean;
|
|
1617
1588
|
cmd: string;
|
|
@@ -1680,25 +1651,6 @@ declare interface I_DeleteOptionsExtended_2 extends Omit<QueryOptions, 'session'
|
|
|
1680
1651
|
session?: ClientSession;
|
|
1681
1652
|
}
|
|
1682
1653
|
|
|
1683
|
-
declare interface I_ErrorEntry {
|
|
1684
|
-
type: E_ErrorType;
|
|
1685
|
-
file: string;
|
|
1686
|
-
message: string;
|
|
1687
|
-
position?: string;
|
|
1688
|
-
rule?: string;
|
|
1689
|
-
}
|
|
1690
|
-
export { I_ErrorEntry }
|
|
1691
|
-
export { I_ErrorEntry as I_ErrorEntry_alias_1 }
|
|
1692
|
-
export { I_ErrorEntry as I_ErrorEntry_alias_2 }
|
|
1693
|
-
|
|
1694
|
-
declare interface I_ErrorEntry_2 {
|
|
1695
|
-
type: E_ErrorType_2;
|
|
1696
|
-
file: string;
|
|
1697
|
-
message: string;
|
|
1698
|
-
position?: string;
|
|
1699
|
-
rule?: string;
|
|
1700
|
-
}
|
|
1701
|
-
|
|
1702
1654
|
declare interface I_EslintError {
|
|
1703
1655
|
filePath: string;
|
|
1704
1656
|
messages: Array<{
|
|
@@ -1847,6 +1799,25 @@ export { I_Input_UpdateOne }
|
|
|
1847
1799
|
export { I_Input_UpdateOne as I_Input_UpdateOne_alias_1 }
|
|
1848
1800
|
export { I_Input_UpdateOne as I_Input_UpdateOne_alias_2 }
|
|
1849
1801
|
|
|
1802
|
+
declare interface I_IssueEntry {
|
|
1803
|
+
type: E_IssueType;
|
|
1804
|
+
file: string;
|
|
1805
|
+
message: string;
|
|
1806
|
+
position?: string;
|
|
1807
|
+
rule?: string;
|
|
1808
|
+
}
|
|
1809
|
+
export { I_IssueEntry }
|
|
1810
|
+
export { I_IssueEntry as I_IssueEntry_alias_1 }
|
|
1811
|
+
export { I_IssueEntry as I_IssueEntry_alias_2 }
|
|
1812
|
+
|
|
1813
|
+
declare interface I_IssueEntry_2 {
|
|
1814
|
+
type: E_IssueType_2;
|
|
1815
|
+
file: string;
|
|
1816
|
+
message: string;
|
|
1817
|
+
position?: string;
|
|
1818
|
+
rule?: string;
|
|
1819
|
+
}
|
|
1820
|
+
|
|
1850
1821
|
declare interface I_LoadingContext {
|
|
1851
1822
|
isLoading: boolean;
|
|
1852
1823
|
isGlobalLoading: boolean;
|
|
@@ -1881,6 +1852,49 @@ declare interface I_LoadingProps_2 {
|
|
|
1881
1852
|
message?: string;
|
|
1882
1853
|
}
|
|
1883
1854
|
|
|
1855
|
+
declare interface I_Log {
|
|
1856
|
+
silent: typeof consola['silent'];
|
|
1857
|
+
level: typeof consola['level'];
|
|
1858
|
+
fatal: typeof consola['fatal'];
|
|
1859
|
+
error: typeof consola['error'];
|
|
1860
|
+
warn: typeof consola['warn'];
|
|
1861
|
+
log: typeof consola['log'];
|
|
1862
|
+
info: typeof consola['info'];
|
|
1863
|
+
success: typeof consola['success'];
|
|
1864
|
+
ready: typeof consola['ready'];
|
|
1865
|
+
start: typeof consola['start'];
|
|
1866
|
+
box: typeof consola['box'];
|
|
1867
|
+
debug: typeof consola['debug'];
|
|
1868
|
+
trace: typeof consola['trace'];
|
|
1869
|
+
verbose: typeof consola['verbose'];
|
|
1870
|
+
printBoxedLog: (title: string, issues: I_IssueEntry[], color?: string) => void;
|
|
1871
|
+
}
|
|
1872
|
+
export { I_Log }
|
|
1873
|
+
export { I_Log as I_Log_alias_1 }
|
|
1874
|
+
export { I_Log as I_Log_alias_2 }
|
|
1875
|
+
|
|
1876
|
+
declare interface I_Log_2 {
|
|
1877
|
+
silent: typeof consola['silent'];
|
|
1878
|
+
level: typeof consola['level'];
|
|
1879
|
+
fatal: typeof consola['fatal'];
|
|
1880
|
+
error: typeof consola['error'];
|
|
1881
|
+
warn: typeof consola['warn'];
|
|
1882
|
+
log: typeof consola['log'];
|
|
1883
|
+
info: typeof consola['info'];
|
|
1884
|
+
success: typeof consola['success'];
|
|
1885
|
+
ready: typeof consola['ready'];
|
|
1886
|
+
start: typeof consola['start'];
|
|
1887
|
+
box: typeof consola['box'];
|
|
1888
|
+
debug: typeof consola['debug'];
|
|
1889
|
+
trace: typeof consola['trace'];
|
|
1890
|
+
verbose: typeof consola['verbose'];
|
|
1891
|
+
printBoxedLog: (
|
|
1892
|
+
title: string,
|
|
1893
|
+
issues: I_IssueEntry_2[],
|
|
1894
|
+
color?: string,
|
|
1895
|
+
) => void;
|
|
1896
|
+
}
|
|
1897
|
+
|
|
1884
1898
|
declare interface I_MongooseModelMiddleware<T extends Partial<C_Document>> {
|
|
1885
1899
|
method: T_MongooseMiddlewareMethod;
|
|
1886
1900
|
pre?: T_MongooseMiddlewarePreFunction<T & T_QueryWithHelpers<T>>;
|
|
@@ -2127,6 +2141,11 @@ export { LoadingProvider }
|
|
|
2127
2141
|
export { LoadingProvider as LoadingProvider_alias_1 }
|
|
2128
2142
|
export { LoadingProvider as LoadingProvider_alias_2 }
|
|
2129
2143
|
|
|
2144
|
+
declare const log: I_Log_2;
|
|
2145
|
+
export { log }
|
|
2146
|
+
export { log as log_alias_1 }
|
|
2147
|
+
export { log as log_alias_2 }
|
|
2148
|
+
|
|
2130
2149
|
export declare function mergeConfigs(type: T_ConfigType_2, ...configs: T_Object_2[]): T_Object_2;
|
|
2131
2150
|
|
|
2132
2151
|
declare const mongo: {
|
|
@@ -2329,8 +2348,6 @@ export { PNPM_LOCK_YAML }
|
|
|
2329
2348
|
export { PNPM_LOCK_YAML as PNPM_LOCK_YAML_alias_1 }
|
|
2330
2349
|
export { PNPM_LOCK_YAML as PNPM_LOCK_YAML_alias_2 }
|
|
2331
2350
|
|
|
2332
|
-
declare function printBoxedLog<T extends string | I_ErrorEntry_2[]>(title: string, content: T, { color, padding, margin, borderStyle, titleColor, }?: I_BoxedLogOptions_2): void;
|
|
2333
|
-
|
|
2334
2351
|
declare function rawCommand(cmd: string): {
|
|
2335
2352
|
raw: boolean;
|
|
2336
2353
|
cmd: string;
|
|
@@ -2636,7 +2653,7 @@ export { RESPONSE_STATUS }
|
|
|
2636
2653
|
export { RESPONSE_STATUS as RESPONSE_STATUS_alias_1 }
|
|
2637
2654
|
export { RESPONSE_STATUS as RESPONSE_STATUS_alias_2 }
|
|
2638
2655
|
|
|
2639
|
-
declare function rmSync(
|
|
2656
|
+
declare function rmSync(...paths: string[]): void;
|
|
2640
2657
|
export { rmSync }
|
|
2641
2658
|
export { rmSync as rmSync_alias_1 }
|
|
2642
2659
|
export { rmSync as rmSync_alias_2 }
|
|
@@ -2979,7 +2996,7 @@ export { T_QueryWithHelpers as T_QueryWithHelpers_alias_2 }
|
|
|
2979
2996
|
|
|
2980
2997
|
declare type T_QueryWithHelpers_2<T> = QueryWithHelpers<T, T>;
|
|
2981
2998
|
|
|
2982
|
-
declare interface
|
|
2999
|
+
declare interface T_ThrowError {
|
|
2983
3000
|
message?: string;
|
|
2984
3001
|
status?: {
|
|
2985
3002
|
CODE: string | number;
|
|
@@ -2987,11 +3004,11 @@ declare interface T_ThrowResponseArgs {
|
|
|
2987
3004
|
};
|
|
2988
3005
|
type?: 'graphql' | 'rest';
|
|
2989
3006
|
}
|
|
2990
|
-
export {
|
|
2991
|
-
export {
|
|
2992
|
-
export {
|
|
3007
|
+
export { T_ThrowError }
|
|
3008
|
+
export { T_ThrowError as T_ThrowError_alias_1 }
|
|
3009
|
+
export { T_ThrowError as T_ThrowError_alias_2 }
|
|
2993
3010
|
|
|
2994
|
-
declare interface
|
|
3011
|
+
declare interface T_ThrowError_2 {
|
|
2995
3012
|
message?: string;
|
|
2996
3013
|
status?: {
|
|
2997
3014
|
CODE: string | number;
|
|
@@ -3021,10 +3038,10 @@ export { T_WithId as T_WithId_alias_2 }
|
|
|
3021
3038
|
|
|
3022
3039
|
declare type T_WithId_2<T> = WithId<T>;
|
|
3023
3040
|
|
|
3024
|
-
declare function
|
|
3025
|
-
export {
|
|
3026
|
-
export {
|
|
3027
|
-
export {
|
|
3041
|
+
declare function throwError({ message, status, type, }: T_ThrowError_2): never;
|
|
3042
|
+
export { throwError }
|
|
3043
|
+
export { throwError as throwError_alias_1 }
|
|
3044
|
+
export { throwError as throwError_alias_2 }
|
|
3028
3045
|
|
|
3029
3046
|
declare const TSC_CLI = "tsc";
|
|
3030
3047
|
export { TSC_CLI }
|