@c-rex/interfaces 0.1.15 → 0.1.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -124,25 +124,20 @@ interface LanguageSwitcherConfig {
124
124
  default: string;
125
125
  endpoint: string;
126
126
  }
127
- interface CookiesConfigs {
128
- projectName: string;
127
+ interface CookiesConfigs extends CustomerConfig {
129
128
  publicNextApiUrl: string;
130
129
  OIDC: {
131
130
  clientEnabled: boolean;
132
131
  userEnabled: boolean;
133
132
  };
134
- languageSwitcher: LanguageSwitcherConfig;
135
- results: ResultsConfig;
136
133
  }
137
- interface ConfigInterface {
134
+ interface ConfigInterface extends CustomerConfig {
138
135
  baseUrl: string;
139
- projectName: string;
140
136
  OIDC: {
141
137
  client: OIDCInterface;
142
138
  user: OIDCInterface;
143
139
  issuerMetadata?: any;
144
140
  };
145
- search: SearchSettings;
146
141
  logs: {
147
142
  console: Omit<logInfo, "hostname" | "app" | "categoriesLevel">;
148
143
  graylog: logInfo;
@@ -151,6 +146,10 @@ interface ConfigInterface {
151
146
  }
152
147
  interface CustomerConfig {
153
148
  projectName: string;
149
+ titles: {
150
+ main: string;
151
+ sub: string;
152
+ };
154
153
  search: SearchSettings;
155
154
  languageSwitcher: LanguageSwitcherConfig;
156
155
  results: ResultsConfig;
package/dist/index.d.ts CHANGED
@@ -124,25 +124,20 @@ interface LanguageSwitcherConfig {
124
124
  default: string;
125
125
  endpoint: string;
126
126
  }
127
- interface CookiesConfigs {
128
- projectName: string;
127
+ interface CookiesConfigs extends CustomerConfig {
129
128
  publicNextApiUrl: string;
130
129
  OIDC: {
131
130
  clientEnabled: boolean;
132
131
  userEnabled: boolean;
133
132
  };
134
- languageSwitcher: LanguageSwitcherConfig;
135
- results: ResultsConfig;
136
133
  }
137
- interface ConfigInterface {
134
+ interface ConfigInterface extends CustomerConfig {
138
135
  baseUrl: string;
139
- projectName: string;
140
136
  OIDC: {
141
137
  client: OIDCInterface;
142
138
  user: OIDCInterface;
143
139
  issuerMetadata?: any;
144
140
  };
145
- search: SearchSettings;
146
141
  logs: {
147
142
  console: Omit<logInfo, "hostname" | "app" | "categoriesLevel">;
148
143
  graylog: logInfo;
@@ -151,6 +146,10 @@ interface ConfigInterface {
151
146
  }
152
147
  interface CustomerConfig {
153
148
  projectName: string;
149
+ titles: {
150
+ main: string;
151
+ sub: string;
152
+ };
154
153
  search: SearchSettings;
155
154
  languageSwitcher: LanguageSwitcherConfig;
156
155
  results: ResultsConfig;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@c-rex/interfaces",
3
- "version": "0.1.15",
3
+ "version": "0.1.17",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "module": "./dist/index.mjs",