@c-rex/interfaces 0.1.11 → 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
@@ -97,17 +97,23 @@ interface logInfo {
97
97
  }
98
98
  interface OIDCInterface {
99
99
  enabled: boolean;
100
- name: string;
101
100
  id: string;
102
101
  secret: string;
103
102
  issuer: string;
104
103
  scope?: string;
105
104
  userInfoEndPoint?: string;
106
105
  }
107
- interface ConfigInterface {
108
- projectName: string;
109
- baseUrl: string;
106
+ interface CookiesConfigs {
110
107
  publicNextApiUrl: string;
108
+ OIDC: {
109
+ clientEnabled: boolean;
110
+ userEnabled: boolean;
111
+ };
112
+ languageSwitcher: {
113
+ enabled: boolean;
114
+ default: string;
115
+ endpoint: string;
116
+ };
111
117
  results: {
112
118
  resultViewStyle: ResultViewStyles;
113
119
  disabledResults: ResultTypes[];
@@ -116,15 +122,13 @@ interface ConfigInterface {
116
122
  filesEnabledToOpen?: FilesExtensions[];
117
123
  resultsToHide?: ResultTypes[];
118
124
  };
125
+ }
126
+ interface ConfigInterface {
127
+ baseUrl: string;
119
128
  OIDC: {
120
129
  client: OIDCInterface;
121
130
  user: OIDCInterface;
122
131
  };
123
- languageSwitcher: {
124
- enabled: boolean;
125
- default: string;
126
- endpoint: string;
127
- };
128
132
  search: {
129
133
  fields: string[];
130
134
  tags: string[];
@@ -249,4 +253,4 @@ interface CollectionResult {
249
253
  documentAvailableVersions: informationUnitsResponseItem[];
250
254
  }
251
255
 
252
- 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
@@ -97,17 +97,23 @@ interface logInfo {
97
97
  }
98
98
  interface OIDCInterface {
99
99
  enabled: boolean;
100
- name: string;
101
100
  id: string;
102
101
  secret: string;
103
102
  issuer: string;
104
103
  scope?: string;
105
104
  userInfoEndPoint?: string;
106
105
  }
107
- interface ConfigInterface {
108
- projectName: string;
109
- baseUrl: string;
106
+ interface CookiesConfigs {
110
107
  publicNextApiUrl: string;
108
+ OIDC: {
109
+ clientEnabled: boolean;
110
+ userEnabled: boolean;
111
+ };
112
+ languageSwitcher: {
113
+ enabled: boolean;
114
+ default: string;
115
+ endpoint: string;
116
+ };
111
117
  results: {
112
118
  resultViewStyle: ResultViewStyles;
113
119
  disabledResults: ResultTypes[];
@@ -116,15 +122,13 @@ interface ConfigInterface {
116
122
  filesEnabledToOpen?: FilesExtensions[];
117
123
  resultsToHide?: ResultTypes[];
118
124
  };
125
+ }
126
+ interface ConfigInterface {
127
+ baseUrl: string;
119
128
  OIDC: {
120
129
  client: OIDCInterface;
121
130
  user: OIDCInterface;
122
131
  };
123
- languageSwitcher: {
124
- enabled: boolean;
125
- default: string;
126
- endpoint: string;
127
- };
128
132
  search: {
129
133
  fields: string[];
130
134
  tags: string[];
@@ -249,4 +253,4 @@ interface CollectionResult {
249
253
  documentAvailableVersions: informationUnitsResponseItem[];
250
254
  }
251
255
 
252
- 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.11",
3
+ "version": "0.1.12",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "module": "./dist/index.mjs",