@c-rex/interfaces 0.1.8 → 0.1.10

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
@@ -1,4 +1,4 @@
1
- import { LogLevelType, LogCategoriesType, ResultViewStyles, ResultTypes, articlePageLayoutType, FilesExtensions, WildCardType } from '@c-rex/types';
1
+ import { LogLevelType, LogCategoriesType, ResultViewStyles, ResultTypes, articlePageLayoutType, FilesExtensions, WildCardType, DocumentsType, articleInfoItemType } from '@c-rex/types';
2
2
 
3
3
  interface DefaultCrexDirectories extends idShortID {
4
4
  labels: Labels[];
@@ -101,10 +101,12 @@ interface OIDCInterface {
101
101
  secret: string;
102
102
  issuer: string;
103
103
  scope?: string;
104
+ userInfoEndPoint?: string;
104
105
  }
105
106
  interface ConfigInterface {
106
107
  projectName: string;
107
108
  baseUrl: string;
109
+ publicNextApiUrl: string;
108
110
  results: {
109
111
  resultViewStyle: ResultViewStyles;
110
112
  disabledResults: ResultTypes[];
@@ -171,14 +173,7 @@ interface informationUnitsResponseItem {
171
173
  localeType: string;
172
174
  link: string;
173
175
  disabled: boolean;
174
- filesToOpen: {
175
- format: string;
176
- link: string;
177
- }[];
178
- filesToDownload: {
179
- format: string;
180
- link: string;
181
- }[];
176
+ files: DocumentsType;
182
177
  }
183
178
  interface informationUnitsResponse {
184
179
  items: informationUnitsResponseItem[];
@@ -199,7 +194,7 @@ interface TreeOfContent {
199
194
  active: boolean;
200
195
  children: TreeOfContent[];
201
196
  }
202
- interface SidebarAvailableVersionsInterface {
197
+ interface AvailableVersionsInterface {
203
198
  shortId: string;
204
199
  active: boolean;
205
200
  lang: string;
@@ -232,4 +227,25 @@ interface LanguageAndCountries {
232
227
  value: string;
233
228
  }
234
229
 
235
- export type { AutocompleteSuggestion, ClassInterface, ConfigInterface, DefaultCrexDirectories, DefaultCrexObject, DefaultCrexRenditions, DefaultPageInfo, DefaultRequest, DefaultResponse, DirectoryNodes, DirectoryNodesResponse, DocumentTypesItem, DocumentTypesResponse, Filters, Labels, LanguageAndCountries, Link, OIDCInterface, SidebarAvailableVersionsInterface, Tags, TopicsRequestItem, TopicsResponseItem, TreeOfContent, idShortID, informationUnitsItems, informationUnitsRenditions, informationUnitsResponse, informationUnitsResponseItem, logInfo };
230
+ interface CollectionContext {
231
+ id: string;
232
+ informationUnitsItem: informationUnitsItems;
233
+ rootNode: DirectoryNodes;
234
+ }
235
+ interface CollectionResult {
236
+ metaTags: {
237
+ name: string;
238
+ content: string;
239
+ }[];
240
+ articleHtml: string;
241
+ document: informationUnitsItems;
242
+ article: informationUnitsItems;
243
+ attachments?: DocumentsType;
244
+ articleInfo?: articleInfoItemType[];
245
+ documentInfo?: articleInfoItemType[];
246
+ rootNode: DirectoryNodes;
247
+ articleAvailableVersions: informationUnitsResponseItem[];
248
+ documentAvailableVersions: informationUnitsResponseItem[];
249
+ }
250
+
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 };
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { LogLevelType, LogCategoriesType, ResultViewStyles, ResultTypes, articlePageLayoutType, FilesExtensions, WildCardType } from '@c-rex/types';
1
+ import { LogLevelType, LogCategoriesType, ResultViewStyles, ResultTypes, articlePageLayoutType, FilesExtensions, WildCardType, DocumentsType, articleInfoItemType } from '@c-rex/types';
2
2
 
3
3
  interface DefaultCrexDirectories extends idShortID {
4
4
  labels: Labels[];
@@ -101,10 +101,12 @@ interface OIDCInterface {
101
101
  secret: string;
102
102
  issuer: string;
103
103
  scope?: string;
104
+ userInfoEndPoint?: string;
104
105
  }
105
106
  interface ConfigInterface {
106
107
  projectName: string;
107
108
  baseUrl: string;
109
+ publicNextApiUrl: string;
108
110
  results: {
109
111
  resultViewStyle: ResultViewStyles;
110
112
  disabledResults: ResultTypes[];
@@ -171,14 +173,7 @@ interface informationUnitsResponseItem {
171
173
  localeType: string;
172
174
  link: string;
173
175
  disabled: boolean;
174
- filesToOpen: {
175
- format: string;
176
- link: string;
177
- }[];
178
- filesToDownload: {
179
- format: string;
180
- link: string;
181
- }[];
176
+ files: DocumentsType;
182
177
  }
183
178
  interface informationUnitsResponse {
184
179
  items: informationUnitsResponseItem[];
@@ -199,7 +194,7 @@ interface TreeOfContent {
199
194
  active: boolean;
200
195
  children: TreeOfContent[];
201
196
  }
202
- interface SidebarAvailableVersionsInterface {
197
+ interface AvailableVersionsInterface {
203
198
  shortId: string;
204
199
  active: boolean;
205
200
  lang: string;
@@ -232,4 +227,25 @@ interface LanguageAndCountries {
232
227
  value: string;
233
228
  }
234
229
 
235
- export type { AutocompleteSuggestion, ClassInterface, ConfigInterface, DefaultCrexDirectories, DefaultCrexObject, DefaultCrexRenditions, DefaultPageInfo, DefaultRequest, DefaultResponse, DirectoryNodes, DirectoryNodesResponse, DocumentTypesItem, DocumentTypesResponse, Filters, Labels, LanguageAndCountries, Link, OIDCInterface, SidebarAvailableVersionsInterface, Tags, TopicsRequestItem, TopicsResponseItem, TreeOfContent, idShortID, informationUnitsItems, informationUnitsRenditions, informationUnitsResponse, informationUnitsResponseItem, logInfo };
230
+ interface CollectionContext {
231
+ id: string;
232
+ informationUnitsItem: informationUnitsItems;
233
+ rootNode: DirectoryNodes;
234
+ }
235
+ interface CollectionResult {
236
+ metaTags: {
237
+ name: string;
238
+ content: string;
239
+ }[];
240
+ articleHtml: string;
241
+ document: informationUnitsItems;
242
+ article: informationUnitsItems;
243
+ attachments?: DocumentsType;
244
+ articleInfo?: articleInfoItemType[];
245
+ documentInfo?: articleInfoItemType[];
246
+ rootNode: DirectoryNodes;
247
+ articleAvailableVersions: informationUnitsResponseItem[];
248
+ documentAvailableVersions: informationUnitsResponseItem[];
249
+ }
250
+
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 };
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"sourcesContent":["export * from './common'\nexport * from './config'\nexport * from './directoryNodes'\nexport * from './documentTypes'\nexport * from './informationUnits'\nexport * from './treeOfContent'\nexport * from './topics'\nexport * from './languages'"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
1
+ {"version":3,"sources":["../src/index.ts"],"sourcesContent":["export * from './common'\nexport * from './config'\nexport * from './directoryNodes'\nexport * from './documentTypes'\nexport * from './informationUnits'\nexport * from './treeOfContent'\nexport * from './topics'\nexport * from './languages'\nexport * from './collectors'"],"mappings":";;;;;;;;;;;;;;;;AAAA;AAAA;","names":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@c-rex/interfaces",
3
- "version": "0.1.8",
3
+ "version": "0.1.10",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "module": "./dist/index.mjs",