@candlerip/shared3 0.0.20 → 0.0.22
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-variables/domains/index.d.ts +1 -0
- package/src/project/project-config/domains/backend-project-config/index.d.ts +1 -1
- package/src/project/project-config/domains/cache-service-project-config/index.d.ts +1 -1
- package/src/project/project-config/domains/index.d.ts +1 -0
- package/src/project/project-config/domains/index.js +1 -0
- package/src/project/project-config/domains/project-config-type-map/index.d.ts +12 -0
- package/src/project/project-config/domains/project-config-type-map/index.js +1 -0
package/package.json
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
import { EnvironmentVariables } from '../../../../environment/index.js';
|
2
|
-
export type BackendProjectConfig = Pick<EnvironmentVariables, 'REDIS_PORT'>;
|
2
|
+
export type BackendProjectConfig = Pick<EnvironmentVariables, 'CACHE_SERVICE_PORT' | 'REDIS_PORT'>;
|
@@ -1,2 +1,2 @@
|
|
1
1
|
import { EnvironmentVariables } from '../../../../environment/index.js';
|
2
|
-
export type CacheServiceProjectConfig = Pick<EnvironmentVariables, 'DATABASE_URL' | 'REDIS_PWD' | 'REDIS_URL'>;
|
2
|
+
export type CacheServiceProjectConfig = Pick<EnvironmentVariables, 'CACHE_SERVICE_PORT' | 'DATABASE_URL' | 'REDIS_PWD' | 'REDIS_URL'>;
|
@@ -2,4 +2,5 @@ export * from './backend-project-config/index.js';
|
|
2
2
|
export * from './backend-init-project-config/index.js';
|
3
3
|
export * from './cache-service-project-config/index.js';
|
4
4
|
export * from './dictionary-service-poject-config/index.js';
|
5
|
+
export * from './project-config-type-map/index.js';
|
5
6
|
export * from './redis-project-config/index.js';
|
@@ -2,4 +2,5 @@ export * from './backend-project-config/index.js';
|
|
2
2
|
export * from './backend-init-project-config/index.js';
|
3
3
|
export * from './cache-service-project-config/index.js';
|
4
4
|
export * from './dictionary-service-poject-config/index.js';
|
5
|
+
export * from './project-config-type-map/index.js';
|
5
6
|
export * from './redis-project-config/index.js';
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { BackendInitProjectConfig } from '../backend-init-project-config/index.js';
|
2
|
+
import { BackendProjectConfig } from '../backend-project-config/index.js';
|
3
|
+
import { CacheServiceProjectConfig } from '../cache-service-project-config/index.js';
|
4
|
+
import { DictionaryServiceProjectConfig } from '../dictionary-service-poject-config/index.js';
|
5
|
+
import { RedisProjectConfig } from '../redis-project-config/index.js';
|
6
|
+
export type ProjectConfigTypeMap = {
|
7
|
+
'backend-project-config': BackendProjectConfig;
|
8
|
+
'backend-init-project-config': BackendInitProjectConfig;
|
9
|
+
'cache-service-project-config': CacheServiceProjectConfig;
|
10
|
+
'dictionary-service-project-config': DictionaryServiceProjectConfig;
|
11
|
+
'redis-project-config': RedisProjectConfig;
|
12
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|