@candlerip/shared3 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. package/package.json +1 -1
  2. package/src/project/config/domains/backend-init-config/index.d.ts +2 -0
  3. package/src/project/config/domains/dictionary-service-config/index.d.ts +2 -0
  4. package/src/project/config/domains/index.d.ts +2 -0
  5. package/src/project/config/domains/index.js +2 -0
  6. package/src/project/{stack/stack-name → config}/index.d.ts +0 -1
  7. package/src/project/{stack/stack-name → config}/index.js +0 -1
  8. package/src/project/config-name/domains/index.d.ts +2 -0
  9. package/src/project/index.d.ts +3 -2
  10. package/src/project/index.js +3 -2
  11. package/src/project/sub-project/index.d.ts +3 -0
  12. package/src/project/sub-project/index.js +3 -0
  13. package/src/project/sub-project/sub-project-name/configs/index.d.ts +1 -0
  14. package/src/project/sub-project/sub-project-name/configs/index.js +1 -0
  15. package/src/project/sub-project/sub-project-name/domains/index.d.ts +2 -0
  16. package/src/project/sub-project/sub-project-name/domains/index.js +1 -0
  17. package/src/project/service/index.d.ts +0 -2
  18. package/src/project/service/index.js +0 -2
  19. package/src/project/service/service-config/domains/index.d.ts +0 -2
  20. package/src/project/service/service-name/configs/index.d.ts +0 -1
  21. package/src/project/service/service-name/configs/index.js +0 -1
  22. package/src/project/service/service-name/domains/index.d.ts +0 -2
  23. package/src/project/stack/index.d.ts +0 -1
  24. package/src/project/stack/index.js +0 -1
  25. package/src/project/stack/stack-name/configs/index.d.ts +0 -1
  26. package/src/project/stack/stack-name/configs/index.js +0 -1
  27. package/src/project/stack/stack-name/domains/index.d.ts +0 -2
  28. /package/src/project/{service/service-name/domains → config/domains/backend-init-config}/index.js +0 -0
  29. /package/src/project/{stack/stack-name/domains → config/domains/dictionary-service-config}/index.js +0 -0
  30. /package/src/project/{service/service-config → config-name}/domains/index.js +0 -0
  31. /package/src/project/{service/service-config → config-name}/index.d.ts +0 -0
  32. /package/src/project/{service/service-config → config-name}/index.js +0 -0
  33. /package/src/project/{service/service-name → sub-project/sub-project-name}/index.d.ts +0 -0
  34. /package/src/project/{service/service-name → sub-project/sub-project-name}/index.js +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@candlerip/shared3",
3
- "version": "0.0.8",
3
+ "version": "0.0.9",
4
4
  "type": "module",
5
5
  "main": "src/index.js",
6
6
  "bin": {
@@ -0,0 +1,2 @@
1
+ import { EnvironmentVariables } from '../../../../environment/index.js';
2
+ export type BackendInitConfig = Pick<EnvironmentVariables, 'PROJECT_NAME' | 'S3_IMAGES_BUCKET_NAME'>;
@@ -0,0 +1,2 @@
1
+ import { EnvironmentVariables } from '../../../../environment/index.js';
2
+ export type DictionaryServiceConfig = Pick<EnvironmentVariables, 'DICTIONARY_SERVICE_PORT'>;
@@ -0,0 +1,2 @@
1
+ export * from './backend-init-config/index.js';
2
+ export * from './dictionary-service-config/index.js';
@@ -0,0 +1,2 @@
1
+ export * from './backend-init-config/index.js';
2
+ export * from './dictionary-service-config/index.js';
@@ -1,2 +1 @@
1
- export * from './configs/index.js';
2
1
  export * from './domains/index.js';
@@ -1,2 +1 @@
1
- export * from './configs/index.js';
2
1
  export * from './domains/index.js';
@@ -0,0 +1,2 @@
1
+ import { SubProjectName } from '../../sub-project/index.js';
2
+ export type ConfigName = Exclude<SubProjectName, 'config'>;
@@ -1,2 +1,3 @@
1
- export * from './service/index.js';
2
- export * from './stack/index.js';
1
+ export * from './config/index.js';
2
+ export * from './config-name/index.js';
3
+ export * from './sub-project/index.js';
@@ -1,2 +1,3 @@
1
- export * from './service/index.js';
2
- export * from './stack/index.js';
1
+ export * from './config/index.js';
2
+ export * from './config-name/index.js';
3
+ export * from './sub-project/index.js';
@@ -0,0 +1,3 @@
1
+ export * from '../config/index.js';
2
+ export * from '../config-name/index.js';
3
+ export * from './sub-project-name/index.js';
@@ -0,0 +1,3 @@
1
+ export * from '../config/index.js';
2
+ export * from '../config-name/index.js';
3
+ export * from './sub-project-name/index.js';
@@ -0,0 +1 @@
1
+ export declare const SUB_PROJECT_NAMES: readonly ["backend-init", "dictionary-service", "config"];
@@ -0,0 +1 @@
1
+ export const SUB_PROJECT_NAMES = ['backend-init', 'dictionary-service', 'config'];
@@ -0,0 +1,2 @@
1
+ import { SUB_PROJECT_NAMES } from '../configs/index.js';
2
+ export type SubProjectName = (typeof SUB_PROJECT_NAMES)[number];
@@ -1,2 +0,0 @@
1
- export * from './service-config/index.js';
2
- export * from './service-name/index.js';
@@ -1,2 +0,0 @@
1
- export * from './service-config/index.js';
2
- export * from './service-name/index.js';
@@ -1,2 +0,0 @@
1
- import { EnvironmentVariables } from '../../../../environment/environment-variables/index.js';
2
- export type DictionaryServiceConfig = Pick<EnvironmentVariables, 'DICTIONARY_SERVICE_PORT'>;
@@ -1 +0,0 @@
1
- export declare const SERVICE_NAMES: readonly ["dictionary-service"];
@@ -1 +0,0 @@
1
- export const SERVICE_NAMES = ['dictionary-service'];
@@ -1,2 +0,0 @@
1
- import { SERVICE_NAMES } from '../configs/index.js';
2
- export type ServiceName = (typeof SERVICE_NAMES)[number];
@@ -1 +0,0 @@
1
- export * from './stack-name/index.js';
@@ -1 +0,0 @@
1
- export * from './stack-name/index.js';
@@ -1 +0,0 @@
1
- export declare const STACK_NAMES: readonly ["backend-init", "dictionary-service", "service-config"];
@@ -1 +0,0 @@
1
- export const STACK_NAMES = ['backend-init', 'dictionary-service', 'service-config'];
@@ -1,2 +0,0 @@
1
- import { STACK_NAMES } from '../configs/index.js';
2
- export type StackName = (typeof STACK_NAMES)[number];