@c-rex/interfaces 0.1.10 → 0.1.12

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
@@ -91,22 +91,29 @@ interface logInfo {
91
91
  silent: boolean;
92
92
  minimumLevel: LogLevelType;
93
93
  categoriesLevel: LogCategoriesType[];
94
- url: string;
94
+ hostname: string;
95
+ port?: number;
95
96
  app: string;
96
97
  }
97
98
  interface OIDCInterface {
98
99
  enabled: boolean;
99
- name: string;
100
100
  id: string;
101
101
  secret: string;
102
102
  issuer: string;
103
103
  scope?: string;
104
104
  userInfoEndPoint?: string;
105
105
  }
106
- interface ConfigInterface {
107
- projectName: string;
108
- baseUrl: string;
106
+ interface CookiesConfigs {
109
107
  publicNextApiUrl: string;
108
+ OIDC: {
109
+ clientEnabled: boolean;
110
+ userEnabled: boolean;
111
+ };
112
+ languageSwitcher: {
113
+ enabled: boolean;
114
+ default: string;
115
+ endpoint: string;
116
+ };
110
117
  results: {
111
118
  resultViewStyle: ResultViewStyles;
112
119
  disabledResults: ResultTypes[];
@@ -115,15 +122,13 @@ interface ConfigInterface {
115
122
  filesEnabledToOpen?: FilesExtensions[];
116
123
  resultsToHide?: ResultTypes[];
117
124
  };
125
+ }
126
+ interface ConfigInterface {
127
+ baseUrl: string;
118
128
  OIDC: {
119
129
  client: OIDCInterface;
120
130
  user: OIDCInterface;
121
131
  };
122
- languageSwitcher: {
123
- enabled: boolean;
124
- default: string;
125
- endpoint: string;
126
- };
127
132
  search: {
128
133
  fields: string[];
129
134
  tags: string[];
@@ -133,7 +138,7 @@ interface ConfigInterface {
133
138
  wildcard: WildCardType;
134
139
  };
135
140
  logs: {
136
- console: Omit<logInfo, "url" | "app" | "categoriesLevel">;
141
+ console: Omit<logInfo, "hostname" | "app" | "categoriesLevel">;
137
142
  graylog: logInfo;
138
143
  matomo: logInfo;
139
144
  };
@@ -248,4 +253,4 @@ interface CollectionResult {
248
253
  documentAvailableVersions: informationUnitsResponseItem[];
249
254
  }
250
255
 
251
- export type { AutocompleteSuggestion, AvailableVersionsInterface, ClassInterface, CollectionContext, CollectionResult, ConfigInterface, DefaultCrexDirectories, DefaultCrexObject, DefaultCrexRenditions, DefaultPageInfo, DefaultRequest, DefaultResponse, DirectoryNodes, DirectoryNodesResponse, DocumentTypesItem, DocumentTypesResponse, Filters, Labels, LanguageAndCountries, Link, OIDCInterface, Tags, TopicsRequestItem, TopicsResponseItem, TreeOfContent, idShortID, informationUnitsItems, informationUnitsRenditions, informationUnitsResponse, informationUnitsResponseItem, logInfo };
256
+ export type { AutocompleteSuggestion, AvailableVersionsInterface, ClassInterface, CollectionContext, CollectionResult, ConfigInterface, CookiesConfigs, DefaultCrexDirectories, DefaultCrexObject, DefaultCrexRenditions, DefaultPageInfo, DefaultRequest, DefaultResponse, DirectoryNodes, DirectoryNodesResponse, DocumentTypesItem, DocumentTypesResponse, Filters, Labels, LanguageAndCountries, Link, OIDCInterface, Tags, TopicsRequestItem, TopicsResponseItem, TreeOfContent, idShortID, informationUnitsItems, informationUnitsRenditions, informationUnitsResponse, informationUnitsResponseItem, logInfo };
package/dist/index.d.ts CHANGED
@@ -91,22 +91,29 @@ interface logInfo {
91
91
  silent: boolean;
92
92
  minimumLevel: LogLevelType;
93
93
  categoriesLevel: LogCategoriesType[];
94
- url: string;
94
+ hostname: string;
95
+ port?: number;
95
96
  app: string;
96
97
  }
97
98
  interface OIDCInterface {
98
99
  enabled: boolean;
99
- name: string;
100
100
  id: string;
101
101
  secret: string;
102
102
  issuer: string;
103
103
  scope?: string;
104
104
  userInfoEndPoint?: string;
105
105
  }
106
- interface ConfigInterface {
107
- projectName: string;
108
- baseUrl: string;
106
+ interface CookiesConfigs {
109
107
  publicNextApiUrl: string;
108
+ OIDC: {
109
+ clientEnabled: boolean;
110
+ userEnabled: boolean;
111
+ };
112
+ languageSwitcher: {
113
+ enabled: boolean;
114
+ default: string;
115
+ endpoint: string;
116
+ };
110
117
  results: {
111
118
  resultViewStyle: ResultViewStyles;
112
119
  disabledResults: ResultTypes[];
@@ -115,15 +122,13 @@ interface ConfigInterface {
115
122
  filesEnabledToOpen?: FilesExtensions[];
116
123
  resultsToHide?: ResultTypes[];
117
124
  };
125
+ }
126
+ interface ConfigInterface {
127
+ baseUrl: string;
118
128
  OIDC: {
119
129
  client: OIDCInterface;
120
130
  user: OIDCInterface;
121
131
  };
122
- languageSwitcher: {
123
- enabled: boolean;
124
- default: string;
125
- endpoint: string;
126
- };
127
132
  search: {
128
133
  fields: string[];
129
134
  tags: string[];
@@ -133,7 +138,7 @@ interface ConfigInterface {
133
138
  wildcard: WildCardType;
134
139
  };
135
140
  logs: {
136
- console: Omit<logInfo, "url" | "app" | "categoriesLevel">;
141
+ console: Omit<logInfo, "hostname" | "app" | "categoriesLevel">;
137
142
  graylog: logInfo;
138
143
  matomo: logInfo;
139
144
  };
@@ -248,4 +253,4 @@ interface CollectionResult {
248
253
  documentAvailableVersions: informationUnitsResponseItem[];
249
254
  }
250
255
 
251
- export type { AutocompleteSuggestion, AvailableVersionsInterface, ClassInterface, CollectionContext, CollectionResult, ConfigInterface, DefaultCrexDirectories, DefaultCrexObject, DefaultCrexRenditions, DefaultPageInfo, DefaultRequest, DefaultResponse, DirectoryNodes, DirectoryNodesResponse, DocumentTypesItem, DocumentTypesResponse, Filters, Labels, LanguageAndCountries, Link, OIDCInterface, Tags, TopicsRequestItem, TopicsResponseItem, TreeOfContent, idShortID, informationUnitsItems, informationUnitsRenditions, informationUnitsResponse, informationUnitsResponseItem, logInfo };
256
+ export type { AutocompleteSuggestion, AvailableVersionsInterface, ClassInterface, CollectionContext, CollectionResult, ConfigInterface, CookiesConfigs, DefaultCrexDirectories, DefaultCrexObject, DefaultCrexRenditions, DefaultPageInfo, DefaultRequest, DefaultResponse, DirectoryNodes, DirectoryNodesResponse, DocumentTypesItem, DocumentTypesResponse, Filters, Labels, LanguageAndCountries, Link, OIDCInterface, Tags, TopicsRequestItem, TopicsResponseItem, TreeOfContent, idShortID, informationUnitsItems, informationUnitsRenditions, informationUnitsResponse, informationUnitsResponseItem, logInfo };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@c-rex/interfaces",
3
- "version": "0.1.10",
3
+ "version": "0.1.12",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "module": "./dist/index.mjs",