@candlerip/shared3 0.0.58 → 0.0.59

Sign up to get free protection for your applications and to get access to all the features.
@@ -22,5 +22,5 @@ export default (projectConfig) =>
22
22
  'no-console': [2, { allow: ['error', 'info'] }],
23
23
  },
24
24
  },
25
- projectConfig ?? [],
25
+ ...(projectConfig ?? []),
26
26
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@candlerip/shared3",
3
- "version": "0.0.58",
3
+ "version": "0.0.59",
4
4
  "type": "module",
5
5
  "main": "src/index.js",
6
6
  "bin": {
@@ -30,8 +30,8 @@ export type CommonPageDictionary = {
30
30
  logout: string;
31
31
  };
32
32
  langMenu: {
33
- english: string;
34
- hungarian: string;
33
+ en: string;
34
+ hu: string;
35
35
  };
36
36
  pageMenu: {
37
37
  addPersonPage: string;
@@ -3,7 +3,7 @@ export declare const ENVIRONMENT_VARIABLES: {
3
3
  readonly backend: readonly ["API_GATEWAY_PORT", "CACHE_SERVICE_PORT", "FRONTEND_PORT", "LOGGER_SERVICE_PORT", "NODE_ENV", "RABBITMQ_PORT", "RABBITMQ_MANAGEMENT_PORT", "REDIS_PORT"];
4
4
  readonly 'backend-init': readonly ["APP_NAME", "DOMAIN_NAME", "NODE_ENV", "S3_IMAGES_BUCKET_NAME"];
5
5
  readonly 'cache-service': readonly ["CACHE_ENABLED", "CACHE_SERVICE_PORT", "DATABASE_URL", "NODE_ENV", "RABBITMQ_URL", "REDIS_PWD", "REDIS_URL"];
6
- readonly frontend: readonly ["DATABASE_URL", "FRONTEND_PORT", "NODE_ENV"];
6
+ readonly frontend: readonly ["DATABASE_URL", "FRONTEND_PORT", "NODE_ENV", "RABBITMQ_URL", "REDIS_PWD", "REDIS_URL", "S3_IMAGES_BUCKET_NAME"];
7
7
  readonly images: readonly ["NODE_ENV", "S3_IMAGES_BUCKET_NAME"];
8
8
  readonly 'images-init': readonly ["FRONTEND_URL", "NODE_ENV", "S3_IMAGES_BUCKET_NAME"];
9
9
  readonly 'logger-service': readonly ["DATABASE_URL", "LOGGER_SERVICE_PORT", "NODE_ENV", "RABBITMQ_URL"];
@@ -24,7 +24,7 @@ export const ENVIRONMENT_VARIABLES = {
24
24
  ],
25
25
  'backend-init': ['APP_NAME', 'DOMAIN_NAME', 'NODE_ENV', 'S3_IMAGES_BUCKET_NAME'],
26
26
  'cache-service': ['CACHE_ENABLED', 'CACHE_SERVICE_PORT', 'DATABASE_URL', 'NODE_ENV', 'RABBITMQ_URL', 'REDIS_PWD', 'REDIS_URL'],
27
- frontend: ['DATABASE_URL', 'FRONTEND_PORT', 'NODE_ENV'],
27
+ frontend: ['DATABASE_URL', 'FRONTEND_PORT', 'NODE_ENV', 'RABBITMQ_URL', 'REDIS_PWD', 'REDIS_URL', 'S3_IMAGES_BUCKET_NAME'],
28
28
  images: ['NODE_ENV', 'S3_IMAGES_BUCKET_NAME'],
29
29
  'images-init': ['FRONTEND_URL', 'NODE_ENV', 'S3_IMAGES_BUCKET_NAME'],
30
30
  'logger-service': ['DATABASE_URL', 'LOGGER_SERVICE_PORT', 'NODE_ENV', 'RABBITMQ_URL'],
package/src/index.d.ts CHANGED
@@ -6,6 +6,7 @@ export * from './error/index.js';
6
6
  export * from './geographical/index.js';
7
7
  export * from './helper/index.js';
8
8
  export * from './image/index.js';
9
+ export * from './page/index.js';
9
10
  export * from './person/index.js';
10
11
  export * from './project/index.js';
11
12
  export * from './ssr/index.js';
package/src/index.js CHANGED
@@ -6,6 +6,7 @@ export * from './error/index.js';
6
6
  export * from './geographical/index.js';
7
7
  export * from './helper/index.js';
8
8
  export * from './image/index.js';
9
+ export * from './page/index.js';
9
10
  export * from './person/index.js';
10
11
  export * from './project/index.js';
11
12
  export * from './ssr/index.js';
@@ -0,0 +1 @@
1
+ export * from './page/index.js';
@@ -0,0 +1 @@
1
+ export * from './page/index.js';
@@ -0,0 +1 @@
1
+ export declare const PAGES: readonly ["homePage", "contactPage"];
@@ -0,0 +1 @@
1
+ export const PAGES = ['homePage', 'contactPage'];
@@ -0,0 +1,2 @@
1
+ import { PAGES } from '../configs/index.js';
2
+ export type Page = (typeof PAGES)[number];
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,2 @@
1
+ export * from './configs/index.js';
2
+ export * from './domains/index.js';
@@ -0,0 +1,2 @@
1
+ export * from './configs/index.js';
2
+ export * from './domains/index.js';
@@ -1 +1,2 @@
1
1
  export * from './contact-page-server-side-props/index.js';
2
+ export * from './server-side-props/index.js';
@@ -1 +1,2 @@
1
1
  export * from './contact-page-server-side-props/index.js';
2
+ export * from './server-side-props/index.js';
@@ -0,0 +1,2 @@
1
+ import { ContactPageServerSideProps } from '../contact-page-server-side-props/index.js';
2
+ export type ServerSideProps = ContactPageServerSideProps;