@candlerip/shared3 0.0.5 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/src/environment/environment-mode/configs/index.d.ts +1 -0
- package/src/environment/environment-mode/configs/index.js +1 -0
- package/src/environment/environment-mode/domains/index.d.ts +2 -0
- package/src/environment/environment-mode/domains/index.js +1 -0
- package/src/environment/environment-mode/index.d.ts +3 -0
- package/src/environment/environment-mode/index.js +3 -0
- package/src/environment/environment-mode/type-guards/index.d.ts +3 -0
- package/src/environment/environment-mode/type-guards/index.js +3 -0
- package/src/environment/environment-mode/type-guards/is-development/index.d.ts +1 -0
- package/src/environment/environment-mode/type-guards/is-development/index.js +1 -0
- package/src/environment/environment-mode/type-guards/is-environment-mode/index.d.ts +2 -0
- package/src/environment/environment-mode/type-guards/is-environment-mode/index.js +2 -0
- package/src/environment/environment-mode/type-guards/is-production/index.d.ts +1 -0
- package/src/environment/environment-mode/type-guards/is-production/index.js +1 -0
- package/src/environment/environment-variables/domains/index.d.ts +5 -0
- package/src/environment/environment-variables/domains/index.js +1 -0
- package/src/environment/environment-variables/index.d.ts +1 -0
- package/src/environment/environment-variables/index.js +1 -0
- package/src/error/custom-error/domains/index.d.ts +6 -0
- package/src/error/custom-error/domains/index.js +1 -0
- package/src/error/custom-error/index.d.ts +2 -0
- package/src/error/custom-error/index.js +2 -0
- package/src/error/custom-error/utils/console-custom-error/index.d.ts +2 -0
- package/src/error/custom-error/utils/console-custom-error/index.js +12 -0
- package/src/error/custom-error/utils/console-custom-error/types.d.ts +2 -0
- package/src/error/custom-error/utils/console-custom-error/types.js +1 -0
- package/src/error/custom-error/utils/index.d.ts +1 -0
- package/src/error/custom-error/utils/index.js +1 -0
- package/src/error/index.d.ts +1 -0
- package/src/error/index.js +1 -0
- package/src/index.d.ts +1 -0
- package/src/index.js +1 -0
- package/src/project/index.d.ts +1 -0
- package/src/project/index.js +1 -0
- package/src/project/service/index.d.ts +2 -0
- package/src/project/service/index.js +2 -0
- package/src/project/service/service-config/domains/index.d.ts +2 -0
- package/src/project/service/service-config/domains/index.js +1 -0
- package/src/project/service/service-config/index.d.ts +1 -0
- package/src/project/service/service-config/index.js +1 -0
- package/src/project/service/service-name/configs/index.d.ts +1 -0
- package/src/project/service/service-name/configs/index.js +1 -0
- package/src/project/service/service-name/domains/index.d.ts +2 -0
- package/src/project/service/service-name/domains/index.js +1 -0
- package/src/project/service/service-name/index.d.ts +2 -0
- package/src/project/service/service-name/index.js +2 -0
- package/src/project/stack/stack-name/configs/index.d.ts +1 -1
- package/src/project/stack/stack-name/configs/index.js +1 -1
package/package.json
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
export declare const ENVIRONMENT_MODES: readonly ["development", "production"];
|
@@ -0,0 +1 @@
|
|
1
|
+
export const ENVIRONMENT_MODES = ['development', 'production'];
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const isDevelopment: (data?: unknown) => data is "development";
|
@@ -0,0 +1 @@
|
|
1
|
+
export const isDevelopment = (data) => data === 'development';
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const isProduction: (data?: unknown) => data is "production";
|
@@ -0,0 +1 @@
|
|
1
|
+
export const isProduction = (data) => data === 'production';
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './domains/index.js';
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './domains/index.js';
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1,12 @@
|
|
1
|
+
export const consoleCustomError = (customError) => {
|
2
|
+
console.error('***ERROR***:', customError.message);
|
3
|
+
if (customError.err) {
|
4
|
+
console.error('err:', JSON.stringify(customError.err));
|
5
|
+
}
|
6
|
+
if (customError.info) {
|
7
|
+
console.error('info:', customError.info);
|
8
|
+
}
|
9
|
+
if (customError.props) {
|
10
|
+
console.error('props:', customError.props);
|
11
|
+
}
|
12
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './console-custom-error/index.js';
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './console-custom-error/index.js';
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './custom-error/index.js';
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './custom-error/index.js';
|
package/src/index.d.ts
CHANGED
package/src/index.js
CHANGED
package/src/project/index.d.ts
CHANGED
package/src/project/index.js
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './domains/index.js';
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './domains/index.js';
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const SERVICE_NAMES: readonly ["dictionary-service"];
|
@@ -0,0 +1 @@
|
|
1
|
+
export const SERVICE_NAMES = ['dictionary-service'];
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -1 +1 @@
|
|
1
|
-
export declare const STACK_NAMES: readonly ["
|
1
|
+
export declare const STACK_NAMES: readonly ["backend-init", "dictionary-service", "service-config"];
|
@@ -1 +1 @@
|
|
1
|
-
export const STACK_NAMES = ['
|
1
|
+
export const STACK_NAMES = ['backend-init', 'dictionary-service', 'service-config'];
|