@candlerip/shared3 0.0.31 → 0.0.33
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/src/project/index.d.ts +0 -1
- package/src/project/index.js +0 -1
- package/src/project/project-config/configs/index.d.ts +29 -9
- package/src/project/project-config/configs/index.js +29 -9
- package/src/project/project-config/domains/index.d.ts +2 -9
- package/src/project/project-config/domains/index.js +2 -9
- package/src/project/project-config/domains/project-config/index.d.ts +6 -0
- package/src/project/project-config/domains/project-config-name/index.d.ts +2 -0
- package/src/project/project-name/configs/index.d.ts +1 -1
- package/src/project/project-name/configs/index.js +1 -1
- package/src/project/project-config/configs/backend-init-project-config-names/index.d.ts +0 -1
- package/src/project/project-config/configs/backend-init-project-config-names/index.js +0 -1
- package/src/project/project-config/configs/backend-project-config-names/index.d.ts +0 -1
- package/src/project/project-config/configs/backend-project-config-names/index.js +0 -7
- package/src/project/project-config/configs/cache-service-project-config-names/index.d.ts +0 -1
- package/src/project/project-config/configs/cache-service-project-config-names/index.js +0 -1
- package/src/project/project-config/configs/dictionary-service-project-config-names/index.d.ts +0 -1
- package/src/project/project-config/configs/dictionary-service-project-config-names/index.js +0 -1
- package/src/project/project-config/configs/images-init-project-config-names/index.d.ts +0 -1
- package/src/project/project-config/configs/images-init-project-config-names/index.js +0 -1
- package/src/project/project-config/configs/images-project-config-names/index.d.ts +0 -1
- package/src/project/project-config/configs/images-project-config-names/index.js +0 -1
- package/src/project/project-config/configs/logger-service-project-config-names/index.d.ts +0 -1
- package/src/project/project-config/configs/logger-service-project-config-names/index.js +0 -1
- package/src/project/project-config/configs/rabbitmq-project-config-names/index.d.ts +0 -1
- package/src/project/project-config/configs/rabbitmq-project-config-names/index.js +0 -1
- package/src/project/project-config/configs/redis-project-config-names/index.d.ts +0 -1
- package/src/project/project-config/configs/redis-project-config-names/index.js +0 -1
- package/src/project/project-config/domains/backend-init-project-config/index.d.ts +0 -3
- package/src/project/project-config/domains/backend-project-config/index.d.ts +0 -3
- package/src/project/project-config/domains/backend-project-config/index.js +0 -1
- package/src/project/project-config/domains/cache-service-project-config/index.d.ts +0 -3
- package/src/project/project-config/domains/cache-service-project-config/index.js +0 -1
- package/src/project/project-config/domains/dictionary-service-poject-config/index.d.ts +0 -3
- package/src/project/project-config/domains/dictionary-service-poject-config/index.js +0 -1
- package/src/project/project-config/domains/images-init-project-config/index.d.ts +0 -3
- package/src/project/project-config/domains/images-init-project-config/index.js +0 -1
- package/src/project/project-config/domains/images-project-config/index.d.ts +0 -3
- package/src/project/project-config/domains/images-project-config/index.js +0 -1
- package/src/project/project-config/domains/logger-service-project-config/index.d.ts +0 -3
- package/src/project/project-config/domains/logger-service-project-config/index.js +0 -1
- package/src/project/project-config/domains/rabbitmq-project-config/index.d.ts +0 -3
- package/src/project/project-config/domains/rabbitmq-project-config/index.js +0 -1
- package/src/project/project-config/domains/redis-project-config/index.d.ts +0 -3
- package/src/project/project-config/domains/redis-project-config/index.js +0 -1
- package/src/project/project-config-name/configs/index.d.ts +0 -1
- package/src/project/project-config-name/configs/index.js +0 -11
- package/src/project/project-config-name/domains/index.d.ts +0 -2
- package/src/project/project-config-name/index.d.ts +0 -2
- package/src/project/project-config-name/index.js +0 -2
- /package/src/project/project-config/domains/{backend-init-project-config → project-config}/index.js +0 -0
- /package/src/project/{project-config-name/domains → project-config/domains/project-config-name}/index.js +0 -0
package/package.json
CHANGED
package/src/project/index.d.ts
CHANGED
package/src/project/index.js
CHANGED
@@ -1,9 +1,29 @@
|
|
1
|
-
export
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
1
|
+
export declare const PROJECT_CONFIG: {
|
2
|
+
readonly 'backend-project-config': {
|
3
|
+
readonly environmentVariableNames: readonly ["CACHE_SERVICE_PORT", "LOGGER_SERVICE_PORT", "RABBITMQ_PORT", "RABBITMQ_MANAGEMENT_PORT", "REDIS_PORT"];
|
4
|
+
};
|
5
|
+
readonly 'backend-init-project-config': {
|
6
|
+
readonly environmentVariableNames: readonly ["APP_NAME", "DOMAIN_NAME", "S3_IMAGES_BUCKET_NAME"];
|
7
|
+
};
|
8
|
+
readonly 'cache-service-project-config': {
|
9
|
+
readonly environmentVariableNames: readonly ["CACHE_SERVICE_PORT", "DATABASE_URL", "REDIS_PWD", "REDIS_URL"];
|
10
|
+
};
|
11
|
+
readonly 'dictionary-service-project-config': {
|
12
|
+
readonly environmentVariableNames: readonly ["DICTIONARY_SERVICE_PORT"];
|
13
|
+
};
|
14
|
+
readonly 'images-project-config': {
|
15
|
+
readonly environmentVariableNames: readonly ["S3_IMAGES_BUCKET_NAME"];
|
16
|
+
};
|
17
|
+
readonly 'images-init-project-config': {
|
18
|
+
readonly environmentVariableNames: readonly ["FRONTEND_URL", "S3_IMAGES_BUCKET_NAME"];
|
19
|
+
};
|
20
|
+
readonly 'logger-service-project-config': {
|
21
|
+
readonly environmentVariableNames: readonly ["DATABASE_URL", "LOGGER_SERVICE_PORT"];
|
22
|
+
};
|
23
|
+
readonly 'rabbitmq-project-config': {
|
24
|
+
readonly environmentVariableNames: readonly ["RABBITMQ_PORT", "RABBITMQ_MANAGEMENT_PORT"];
|
25
|
+
};
|
26
|
+
readonly 'redis-project-config': {
|
27
|
+
readonly environmentVariableNames: readonly ["REDIS_PORT", "REDIS_PWD"];
|
28
|
+
};
|
29
|
+
};
|
@@ -1,9 +1,29 @@
|
|
1
|
-
export
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
1
|
+
export const PROJECT_CONFIG = {
|
2
|
+
'backend-project-config': {
|
3
|
+
environmentVariableNames: ['CACHE_SERVICE_PORT', 'LOGGER_SERVICE_PORT', 'RABBITMQ_PORT', 'RABBITMQ_MANAGEMENT_PORT', 'REDIS_PORT'],
|
4
|
+
},
|
5
|
+
'backend-init-project-config': {
|
6
|
+
environmentVariableNames: ['APP_NAME', 'DOMAIN_NAME', 'S3_IMAGES_BUCKET_NAME'],
|
7
|
+
},
|
8
|
+
'cache-service-project-config': {
|
9
|
+
environmentVariableNames: ['CACHE_SERVICE_PORT', 'DATABASE_URL', 'REDIS_PWD', 'REDIS_URL'],
|
10
|
+
},
|
11
|
+
'dictionary-service-project-config': {
|
12
|
+
environmentVariableNames: ['DICTIONARY_SERVICE_PORT'],
|
13
|
+
},
|
14
|
+
'images-project-config': {
|
15
|
+
environmentVariableNames: ['S3_IMAGES_BUCKET_NAME'],
|
16
|
+
},
|
17
|
+
'images-init-project-config': {
|
18
|
+
environmentVariableNames: ['FRONTEND_URL', 'S3_IMAGES_BUCKET_NAME'],
|
19
|
+
},
|
20
|
+
'logger-service-project-config': {
|
21
|
+
environmentVariableNames: ['DATABASE_URL', 'LOGGER_SERVICE_PORT'],
|
22
|
+
},
|
23
|
+
'rabbitmq-project-config': {
|
24
|
+
environmentVariableNames: ['RABBITMQ_PORT', 'RABBITMQ_MANAGEMENT_PORT'],
|
25
|
+
},
|
26
|
+
'redis-project-config': {
|
27
|
+
environmentVariableNames: ['REDIS_PORT', 'REDIS_PWD'],
|
28
|
+
},
|
29
|
+
};
|
@@ -1,9 +1,2 @@
|
|
1
|
-
export * from './
|
2
|
-
export * from './
|
3
|
-
export * from './cache-service-project-config/index.js';
|
4
|
-
export * from './dictionary-service-poject-config/index.js';
|
5
|
-
export * from './images-project-config/index.js';
|
6
|
-
export * from './images-init-project-config/index.js';
|
7
|
-
export * from './logger-service-project-config/index.js';
|
8
|
-
export * from './rabbitmq-project-config/index.js';
|
9
|
-
export * from './redis-project-config/index.js';
|
1
|
+
export * from './project-config/index.js';
|
2
|
+
export * from './project-config-name/index.js';
|
@@ -1,9 +1,2 @@
|
|
1
|
-
export * from './
|
2
|
-
export * from './
|
3
|
-
export * from './cache-service-project-config/index.js';
|
4
|
-
export * from './dictionary-service-poject-config/index.js';
|
5
|
-
export * from './images-project-config/index.js';
|
6
|
-
export * from './images-init-project-config/index.js';
|
7
|
-
export * from './logger-service-project-config/index.js';
|
8
|
-
export * from './rabbitmq-project-config/index.js';
|
9
|
-
export * from './redis-project-config/index.js';
|
1
|
+
export * from './project-config/index.js';
|
2
|
+
export * from './project-config-name/index.js';
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import { EnvironmentVariables } from '../../../../environment/index.js';
|
2
|
+
import { PROJECT_CONFIG } from '../../configs/index.js';
|
3
|
+
import { ProjectConfigName } from '../project-config-name/index.js';
|
4
|
+
export type ProjectConfig = {
|
5
|
+
[key in ProjectConfigName]: Pick<EnvironmentVariables, (typeof PROJECT_CONFIG)[key]['environmentVariableNames'][number]>;
|
6
|
+
};
|
@@ -1 +1 @@
|
|
1
|
-
export declare const PROJECT_NAMES: readonly ["backend
|
1
|
+
export declare const PROJECT_NAMES: readonly ["backend", "backend-init", "cache-service", "dictionary-service", "config", "images", "images-init", "logger-service", "rabbitmq", "redis", "shared", "shared-aws", "shared-backend"];
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare const BACKEND_INIT_PROJECT_CONFIG_NAMES: readonly ["APP_NAME", "DOMAIN_NAME", "S3_IMAGES_BUCKET_NAME"];
|
@@ -1 +0,0 @@
|
|
1
|
-
export const BACKEND_INIT_PROJECT_CONFIG_NAMES = ['APP_NAME', 'DOMAIN_NAME', 'S3_IMAGES_BUCKET_NAME'];
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare const BACKEND_PROJECT_CONFIG_NAMES: readonly ["CACHE_SERVICE_PORT", "LOGGER_SERVICE_PORT", "RABBITMQ_PORT", "RABBITMQ_MANAGEMENT_PORT", "REDIS_PORT"];
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare const CACHE_SERVICE_PROJECT_CONFIG_NAMES: readonly ["CACHE_SERVICE_PORT", "DATABASE_URL", "REDIS_PWD", "REDIS_URL"];
|
@@ -1 +0,0 @@
|
|
1
|
-
export const CACHE_SERVICE_PROJECT_CONFIG_NAMES = ['CACHE_SERVICE_PORT', 'DATABASE_URL', 'REDIS_PWD', 'REDIS_URL'];
|
package/src/project/project-config/configs/dictionary-service-project-config-names/index.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export declare const DICTIONARY_SERVICE_PROJECT_CONFIG_NAMES: readonly ["DICTIONARY_SERVICE_PORT"];
|
@@ -1 +0,0 @@
|
|
1
|
-
export const DICTIONARY_SERVICE_PROJECT_CONFIG_NAMES = ['DICTIONARY_SERVICE_PORT'];
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare const IMAGES_INIT_PROJECT_CONFIG_NAMES: readonly ["FRONTEND_URL", "S3_IMAGES_BUCKET_NAME"];
|
@@ -1 +0,0 @@
|
|
1
|
-
export const IMAGES_INIT_PROJECT_CONFIG_NAMES = ['FRONTEND_URL', 'S3_IMAGES_BUCKET_NAME'];
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare const IMAGES_PROJECT_CONFIG_NAMES: readonly ["S3_IMAGES_BUCKET_NAME"];
|
@@ -1 +0,0 @@
|
|
1
|
-
export const IMAGES_PROJECT_CONFIG_NAMES = ['S3_IMAGES_BUCKET_NAME'];
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare const LOGGER_SERVICE_PROJECT_CONFIG_NAMES: readonly ["DATABASE_URL", "LOGGER_SERVICE_PORT"];
|
@@ -1 +0,0 @@
|
|
1
|
-
export const LOGGER_SERVICE_PROJECT_CONFIG_NAMES = ['DATABASE_URL', 'LOGGER_SERVICE_PORT'];
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare const RABBITMQ_PROJECT_CONFIG_NAMES: readonly ["RABBITMQ_PORT", "RABBITMQ_MANAGEMENT_PORT"];
|
@@ -1 +0,0 @@
|
|
1
|
-
export const RABBITMQ_PROJECT_CONFIG_NAMES = ['RABBITMQ_PORT', 'RABBITMQ_MANAGEMENT_PORT'];
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare const REDIS_PROJECT_CONFIG_NAMES: readonly ["REDIS_PORT", "REDIS_PWD"];
|
@@ -1 +0,0 @@
|
|
1
|
-
export const REDIS_PROJECT_CONFIG_NAMES = ['REDIS_PORT', 'REDIS_PWD'];
|
@@ -1 +0,0 @@
|
|
1
|
-
export {};
|
@@ -1 +0,0 @@
|
|
1
|
-
export {};
|
@@ -1,3 +0,0 @@
|
|
1
|
-
import { EnvironmentVariables } from '../../../../environment/index.js';
|
2
|
-
import { DICTIONARY_SERVICE_PROJECT_CONFIG_NAMES } from '../../configs/index.js';
|
3
|
-
export type DictionaryServiceProjectConfig = Pick<EnvironmentVariables, (typeof DICTIONARY_SERVICE_PROJECT_CONFIG_NAMES)[number]>;
|
@@ -1 +0,0 @@
|
|
1
|
-
export {};
|
@@ -1 +0,0 @@
|
|
1
|
-
export {};
|
@@ -1 +0,0 @@
|
|
1
|
-
export {};
|
@@ -1,3 +0,0 @@
|
|
1
|
-
import { EnvironmentVariables } from '../../../../environment/index.js';
|
2
|
-
import { LOGGER_SERVICE_PROJECT_CONFIG_NAMES } from '../../configs/index.js';
|
3
|
-
export type LoggerServiceProjectConfig = Pick<EnvironmentVariables, (typeof LOGGER_SERVICE_PROJECT_CONFIG_NAMES)[number]>;
|
@@ -1 +0,0 @@
|
|
1
|
-
export {};
|
@@ -1 +0,0 @@
|
|
1
|
-
export {};
|
@@ -1 +0,0 @@
|
|
1
|
-
export {};
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare const PROJECT_CONFIG_NAMES: readonly ["backend-init-project-config", "backend-project-config", "cache-service-project-config", "dictionary-service-project-config", "images-project-config", "images-init-project-config", "logger-service-project-config", "rabbitmq-project-config", "redis-project-config"];
|
@@ -1,11 +0,0 @@
|
|
1
|
-
export const PROJECT_CONFIG_NAMES = [
|
2
|
-
'backend-init-project-config',
|
3
|
-
'backend-project-config',
|
4
|
-
'cache-service-project-config',
|
5
|
-
'dictionary-service-project-config',
|
6
|
-
'images-project-config',
|
7
|
-
'images-init-project-config',
|
8
|
-
'logger-service-project-config',
|
9
|
-
'rabbitmq-project-config',
|
10
|
-
'redis-project-config',
|
11
|
-
];
|
/package/src/project/project-config/domains/{backend-init-project-config → project-config}/index.js
RENAMED
File without changes
|
File without changes
|