@c-rex/interfaces 0.0.8 → 0.1.1

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 } from '@c-rex/types';
1
+ import { LogLevelType, LogCategoriesType, ResultViewStyles } from '@c-rex/types';
2
2
 
3
3
  interface DefaultPageInfo {
4
4
  pageNumber: number;
@@ -35,6 +35,11 @@ interface Filters {
35
35
  value: string;
36
36
  operator?: string;
37
37
  }
38
+ interface LanguageAndCountries {
39
+ country: string;
40
+ lang: string;
41
+ value: string;
42
+ }
38
43
 
39
44
  interface logInfo {
40
45
  silent: boolean;
@@ -54,10 +59,16 @@ interface OIDCInterface {
54
59
  interface ConfigInterface {
55
60
  projectName: string;
56
61
  baseUrl: string;
62
+ resultViewStyle: ResultViewStyles;
57
63
  OIDC: {
58
64
  client: OIDCInterface;
59
65
  user: OIDCInterface;
60
66
  };
67
+ languageSwitcher: {
68
+ enabled: boolean;
69
+ default: string;
70
+ endpoint: string;
71
+ };
61
72
  search: {
62
73
  fields: string[];
63
74
  tags: string[];
@@ -91,6 +102,7 @@ interface informationUnitsItems extends idShortID {
91
102
  class: informationUnitsClass;
92
103
  labels: Labels[];
93
104
  titles: Labels[];
105
+ versionOf: idShortID;
94
106
  links: DefaultLinksRequest[];
95
107
  renditions: informationUnitsRenditions[];
96
108
  iirdsVersion: {
@@ -142,4 +154,4 @@ interface TreeOfContent {
142
154
  children: TreeOfContent[];
143
155
  }
144
156
 
145
- export type { AutocompleteSuggestion, ConfigInterface, DefaultLinksRequest, DefaultPageInfo, DefaultRequest, DirectoryNodes, DocumentTypesItem, Filters, Labels, OIDCInterface, TreeOfContent, idShortID, informationUnits, informationUnitsDirectories, informationUnitsItems, informationUnitsRenditions, informationUnitsResponse, logInfo };
157
+ export type { AutocompleteSuggestion, ConfigInterface, DefaultLinksRequest, DefaultPageInfo, DefaultRequest, DirectoryNodes, DocumentTypesItem, Filters, Labels, LanguageAndCountries, OIDCInterface, TreeOfContent, idShortID, informationUnits, informationUnitsDirectories, informationUnitsItems, informationUnitsRenditions, informationUnitsResponse, logInfo };
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { LogLevelType, LogCategoriesType } from '@c-rex/types';
1
+ import { LogLevelType, LogCategoriesType, ResultViewStyles } from '@c-rex/types';
2
2
 
3
3
  interface DefaultPageInfo {
4
4
  pageNumber: number;
@@ -35,6 +35,11 @@ interface Filters {
35
35
  value: string;
36
36
  operator?: string;
37
37
  }
38
+ interface LanguageAndCountries {
39
+ country: string;
40
+ lang: string;
41
+ value: string;
42
+ }
38
43
 
39
44
  interface logInfo {
40
45
  silent: boolean;
@@ -54,10 +59,16 @@ interface OIDCInterface {
54
59
  interface ConfigInterface {
55
60
  projectName: string;
56
61
  baseUrl: string;
62
+ resultViewStyle: ResultViewStyles;
57
63
  OIDC: {
58
64
  client: OIDCInterface;
59
65
  user: OIDCInterface;
60
66
  };
67
+ languageSwitcher: {
68
+ enabled: boolean;
69
+ default: string;
70
+ endpoint: string;
71
+ };
61
72
  search: {
62
73
  fields: string[];
63
74
  tags: string[];
@@ -91,6 +102,7 @@ interface informationUnitsItems extends idShortID {
91
102
  class: informationUnitsClass;
92
103
  labels: Labels[];
93
104
  titles: Labels[];
105
+ versionOf: idShortID;
94
106
  links: DefaultLinksRequest[];
95
107
  renditions: informationUnitsRenditions[];
96
108
  iirdsVersion: {
@@ -142,4 +154,4 @@ interface TreeOfContent {
142
154
  children: TreeOfContent[];
143
155
  }
144
156
 
145
- export type { AutocompleteSuggestion, ConfigInterface, DefaultLinksRequest, DefaultPageInfo, DefaultRequest, DirectoryNodes, DocumentTypesItem, Filters, Labels, OIDCInterface, TreeOfContent, idShortID, informationUnits, informationUnitsDirectories, informationUnitsItems, informationUnitsRenditions, informationUnitsResponse, logInfo };
157
+ export type { AutocompleteSuggestion, ConfigInterface, DefaultLinksRequest, DefaultPageInfo, DefaultRequest, DirectoryNodes, DocumentTypesItem, Filters, Labels, LanguageAndCountries, OIDCInterface, TreeOfContent, idShortID, informationUnits, informationUnitsDirectories, informationUnitsItems, informationUnitsRenditions, informationUnitsResponse, logInfo };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@c-rex/interfaces",
3
- "version": "0.0.8",
3
+ "version": "0.1.1",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "module": "./dist/index.mjs",