@c-rex/interfaces 0.0.8 → 0.1.0

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
@@ -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;
@@ -58,6 +63,11 @@ interface ConfigInterface {
58
63
  client: OIDCInterface;
59
64
  user: OIDCInterface;
60
65
  };
66
+ languageSwitcher: {
67
+ enabled: boolean;
68
+ default: string;
69
+ endpoint: string;
70
+ };
61
71
  search: {
62
72
  fields: string[];
63
73
  tags: string[];
@@ -91,6 +101,7 @@ interface informationUnitsItems extends idShortID {
91
101
  class: informationUnitsClass;
92
102
  labels: Labels[];
93
103
  titles: Labels[];
104
+ versionOf: idShortID;
94
105
  links: DefaultLinksRequest[];
95
106
  renditions: informationUnitsRenditions[];
96
107
  iirdsVersion: {
@@ -142,4 +153,4 @@ interface TreeOfContent {
142
153
  children: TreeOfContent[];
143
154
  }
144
155
 
145
- export type { AutocompleteSuggestion, ConfigInterface, DefaultLinksRequest, DefaultPageInfo, DefaultRequest, DirectoryNodes, DocumentTypesItem, Filters, Labels, OIDCInterface, TreeOfContent, idShortID, informationUnits, informationUnitsDirectories, informationUnitsItems, informationUnitsRenditions, informationUnitsResponse, logInfo };
156
+ 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
@@ -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;
@@ -58,6 +63,11 @@ interface ConfigInterface {
58
63
  client: OIDCInterface;
59
64
  user: OIDCInterface;
60
65
  };
66
+ languageSwitcher: {
67
+ enabled: boolean;
68
+ default: string;
69
+ endpoint: string;
70
+ };
61
71
  search: {
62
72
  fields: string[];
63
73
  tags: string[];
@@ -91,6 +101,7 @@ interface informationUnitsItems extends idShortID {
91
101
  class: informationUnitsClass;
92
102
  labels: Labels[];
93
103
  titles: Labels[];
104
+ versionOf: idShortID;
94
105
  links: DefaultLinksRequest[];
95
106
  renditions: informationUnitsRenditions[];
96
107
  iirdsVersion: {
@@ -142,4 +153,4 @@ interface TreeOfContent {
142
153
  children: TreeOfContent[];
143
154
  }
144
155
 
145
- export type { AutocompleteSuggestion, ConfigInterface, DefaultLinksRequest, DefaultPageInfo, DefaultRequest, DirectoryNodes, DocumentTypesItem, Filters, Labels, OIDCInterface, TreeOfContent, idShortID, informationUnits, informationUnitsDirectories, informationUnitsItems, informationUnitsRenditions, informationUnitsResponse, logInfo };
156
+ 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.0",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "module": "./dist/index.mjs",