@cyberskill/shared 1.20.0 → 1.22.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/commands.cjs +1 -1
- package/dist/commands.js +1 -1
- package/dist/configs/index.cjs +1 -1
- package/dist/configs/index.js +1 -1
- package/dist/controllers/index.cjs +1 -1
- package/dist/controllers/index.d.cts +1 -1
- package/dist/controllers/index.d.ts +1 -1
- package/dist/controllers/index.js +1 -1
- package/dist/controllers/mongo-migration.cjs +1 -0
- package/dist/controllers/mongo-migration.js +1 -0
- package/dist/controllers/mongoose.cjs +1 -1
- package/dist/controllers/mongoose.js +1 -1
- package/dist/hooks/react/index.cjs +1 -1
- package/dist/hooks/react/index.js +1 -1
- package/dist/hooks/react/use-storage.cjs +1 -1
- package/dist/hooks/react/use-storage.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +8 -8
- package/dist/index.d.ts +8 -8
- package/dist/index.js +1 -1
- package/dist/typescript/command.cjs +1 -1
- package/dist/typescript/command.d.cts +8 -12
- package/dist/typescript/command.d.ts +8 -12
- package/dist/typescript/command.js +1 -1
- package/dist/typescript/index.cjs +1 -1
- package/dist/typescript/index.d.cts +1 -1
- package/dist/typescript/index.d.ts +1 -1
- package/dist/typescript/index.js +1 -1
- package/dist/typescript/mongoose.cjs +1 -1
- package/dist/typescript/mongoose.js +1 -1
- package/dist/utils/command.cjs +1 -1
- package/dist/utils/command.d.cts +14 -1
- package/dist/utils/command.d.ts +14 -1
- package/dist/utils/command.js +1 -1
- package/dist/utils/config.cjs +1 -0
- package/dist/utils/config.d.cts +5 -0
- package/dist/utils/config.d.ts +5 -0
- package/dist/utils/config.js +1 -0
- package/dist/utils/datetime.cjs +1 -0
- package/dist/utils/datetime.d.cts +3 -0
- package/dist/utils/datetime.d.ts +3 -0
- package/dist/utils/datetime.js +1 -0
- package/dist/utils/fs.cjs +1 -0
- package/dist/utils/fs.d.cts +3 -0
- package/dist/utils/fs.d.ts +3 -0
- package/dist/utils/fs.js +1 -0
- package/dist/utils/index.cjs +1 -1
- package/dist/utils/index.d.cts +7 -8
- package/dist/utils/index.d.ts +7 -8
- package/dist/utils/index.js +1 -1
- package/dist/utils/log.cjs +1 -1
- package/dist/utils/log.js +1 -1
- package/dist/utils/mongoose.cjs +1 -1
- package/dist/utils/mongoose.d.cts +7 -1
- package/dist/utils/mongoose.d.ts +7 -1
- package/dist/utils/mongoose.js +1 -1
- package/dist/utils/npm-package.cjs +1 -1
- package/dist/utils/npm-package.js +1 -1
- package/package.json +4 -3
- package/dist/controllers/migration.cjs +0 -1
- package/dist/controllers/migration.js +0 -1
- package/dist/utils/command-error.cjs +0 -1
- package/dist/utils/command-error.d.cts +0 -18
- package/dist/utils/command-error.d.ts +0 -18
- package/dist/utils/command-error.js +0 -1
- package/dist/utils/command-log.cjs +0 -1
- package/dist/utils/command-log.d.cts +0 -17
- package/dist/utils/command-log.d.ts +0 -17
- package/dist/utils/command-log.js +0 -1
- /package/dist/controllers/{migration.d.cts → mongo-migration.d.cts} +0 -0
- /package/dist/controllers/{migration.d.ts → mongo-migration.d.ts} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";function
|
|
1
|
+
"use strict";function r(r){"@swc/helpers - typeof";return r&&typeof Symbol!=="undefined"&&r.constructor===Symbol?"symbol":typeof r}var e=Object.defineProperty;var t=Object.getOwnPropertyDescriptor;var n=Object.getOwnPropertyNames;var o=Object.prototype.hasOwnProperty;var u=function(r,t){for(var n in t)e(r,n,{get:t[n],enumerable:!0})},a=function(u,a,f,i){var c=true,l=false,y=undefined;if(a&&(typeof a==="undefined"?"undefined":r(a))=="object"||typeof a=="function")try{var p=function(){var r=d.value;!o.call(u,r)&&r!==f&&e(u,r,{get:function(){return a[r]},enumerable:!(i=t(a,r))||i.enumerable})};for(var v=n(a)[Symbol.iterator](),d;!(c=(d=v.next()).done);c=true)p()}catch(r){l=true;y=r}finally{try{if(!c&&v.return!=null){v.return()}}finally{if(l){throw y}}}return u};var f=function(r){return a(e({},"__esModule",{value:!0}),r)};var i={};u(i,{E_ErrorType:function(){return c}});module.exports=f(i);var c=function(r){return r.Error="error",r.Warning="warning",r}(c||{});0&&(module.exports={E_ErrorType:E_ErrorType});
|
|
@@ -1,14 +1,3 @@
|
|
|
1
|
-
declare enum E_SpinnerMessage {
|
|
2
|
-
LintCheck = "Running lint checks...",
|
|
3
|
-
LintFix = "Fixing issues...",
|
|
4
|
-
LintStaged = "Running lint-staged...",
|
|
5
|
-
CommitLint = "Running commitlint...",
|
|
6
|
-
GitHook = "Setting up git hook...",
|
|
7
|
-
Setup = "Setting up...",
|
|
8
|
-
Reset = "Resetting...",
|
|
9
|
-
UnitTest = "Running unit tests...",
|
|
10
|
-
E2ETest = "Running end-to-end tests..."
|
|
11
|
-
}
|
|
12
1
|
declare enum E_ErrorType {
|
|
13
2
|
Error = "error",
|
|
14
3
|
Warning = "warning"
|
|
@@ -30,5 +19,12 @@ interface I_EslintError {
|
|
|
30
19
|
ruleId: string;
|
|
31
20
|
}>;
|
|
32
21
|
}
|
|
22
|
+
interface I_BoxedLogOptions {
|
|
23
|
+
color?: string;
|
|
24
|
+
padding?: number;
|
|
25
|
+
margin?: number;
|
|
26
|
+
borderStyle?: 'round' | 'single' | 'double' | 'bold';
|
|
27
|
+
titleColor?: string;
|
|
28
|
+
}
|
|
33
29
|
|
|
34
|
-
export { E_ErrorType,
|
|
30
|
+
export { E_ErrorType, type I_BoxedLogOptions, type I_ErrorEntry, type I_EslintError };
|
|
@@ -1,14 +1,3 @@
|
|
|
1
|
-
declare enum E_SpinnerMessage {
|
|
2
|
-
LintCheck = "Running lint checks...",
|
|
3
|
-
LintFix = "Fixing issues...",
|
|
4
|
-
LintStaged = "Running lint-staged...",
|
|
5
|
-
CommitLint = "Running commitlint...",
|
|
6
|
-
GitHook = "Setting up git hook...",
|
|
7
|
-
Setup = "Setting up...",
|
|
8
|
-
Reset = "Resetting...",
|
|
9
|
-
UnitTest = "Running unit tests...",
|
|
10
|
-
E2ETest = "Running end-to-end tests..."
|
|
11
|
-
}
|
|
12
1
|
declare enum E_ErrorType {
|
|
13
2
|
Error = "error",
|
|
14
3
|
Warning = "warning"
|
|
@@ -30,5 +19,12 @@ interface I_EslintError {
|
|
|
30
19
|
ruleId: string;
|
|
31
20
|
}>;
|
|
32
21
|
}
|
|
22
|
+
interface I_BoxedLogOptions {
|
|
23
|
+
color?: string;
|
|
24
|
+
padding?: number;
|
|
25
|
+
margin?: number;
|
|
26
|
+
borderStyle?: 'round' | 'single' | 'double' | 'bold';
|
|
27
|
+
titleColor?: string;
|
|
28
|
+
}
|
|
33
29
|
|
|
34
|
-
export { E_ErrorType,
|
|
30
|
+
export { E_ErrorType, type I_BoxedLogOptions, type I_ErrorEntry, type I_EslintError };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var r=function(r){return r.Error="error",r.Warning="warning",r}(r||{});export{r as E_ErrorType};
|