@c-rex/interfaces 0.0.7 → 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 +24 -1
- package/dist/index.d.ts +24 -1
- package/package.json +1 -1
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;
|
|
@@ -43,9 +48,26 @@ interface logInfo {
|
|
|
43
48
|
url: string;
|
|
44
49
|
app: string;
|
|
45
50
|
}
|
|
51
|
+
interface OIDCInterface {
|
|
52
|
+
enabled: boolean;
|
|
53
|
+
name: string;
|
|
54
|
+
id: string;
|
|
55
|
+
secret: string;
|
|
56
|
+
issuer: string;
|
|
57
|
+
scope?: string;
|
|
58
|
+
}
|
|
46
59
|
interface ConfigInterface {
|
|
47
60
|
projectName: string;
|
|
48
61
|
baseUrl: string;
|
|
62
|
+
OIDC: {
|
|
63
|
+
client: OIDCInterface;
|
|
64
|
+
user: OIDCInterface;
|
|
65
|
+
};
|
|
66
|
+
languageSwitcher: {
|
|
67
|
+
enabled: boolean;
|
|
68
|
+
default: string;
|
|
69
|
+
endpoint: string;
|
|
70
|
+
};
|
|
49
71
|
search: {
|
|
50
72
|
fields: string[];
|
|
51
73
|
tags: string[];
|
|
@@ -79,6 +101,7 @@ interface informationUnitsItems extends idShortID {
|
|
|
79
101
|
class: informationUnitsClass;
|
|
80
102
|
labels: Labels[];
|
|
81
103
|
titles: Labels[];
|
|
104
|
+
versionOf: idShortID;
|
|
82
105
|
links: DefaultLinksRequest[];
|
|
83
106
|
renditions: informationUnitsRenditions[];
|
|
84
107
|
iirdsVersion: {
|
|
@@ -130,4 +153,4 @@ interface TreeOfContent {
|
|
|
130
153
|
children: TreeOfContent[];
|
|
131
154
|
}
|
|
132
155
|
|
|
133
|
-
export type { AutocompleteSuggestion, ConfigInterface, DefaultLinksRequest, DefaultPageInfo, DefaultRequest, DirectoryNodes, DocumentTypesItem, Filters, Labels, 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;
|
|
@@ -43,9 +48,26 @@ interface logInfo {
|
|
|
43
48
|
url: string;
|
|
44
49
|
app: string;
|
|
45
50
|
}
|
|
51
|
+
interface OIDCInterface {
|
|
52
|
+
enabled: boolean;
|
|
53
|
+
name: string;
|
|
54
|
+
id: string;
|
|
55
|
+
secret: string;
|
|
56
|
+
issuer: string;
|
|
57
|
+
scope?: string;
|
|
58
|
+
}
|
|
46
59
|
interface ConfigInterface {
|
|
47
60
|
projectName: string;
|
|
48
61
|
baseUrl: string;
|
|
62
|
+
OIDC: {
|
|
63
|
+
client: OIDCInterface;
|
|
64
|
+
user: OIDCInterface;
|
|
65
|
+
};
|
|
66
|
+
languageSwitcher: {
|
|
67
|
+
enabled: boolean;
|
|
68
|
+
default: string;
|
|
69
|
+
endpoint: string;
|
|
70
|
+
};
|
|
49
71
|
search: {
|
|
50
72
|
fields: string[];
|
|
51
73
|
tags: string[];
|
|
@@ -79,6 +101,7 @@ interface informationUnitsItems extends idShortID {
|
|
|
79
101
|
class: informationUnitsClass;
|
|
80
102
|
labels: Labels[];
|
|
81
103
|
titles: Labels[];
|
|
104
|
+
versionOf: idShortID;
|
|
82
105
|
links: DefaultLinksRequest[];
|
|
83
106
|
renditions: informationUnitsRenditions[];
|
|
84
107
|
iirdsVersion: {
|
|
@@ -130,4 +153,4 @@ interface TreeOfContent {
|
|
|
130
153
|
children: TreeOfContent[];
|
|
131
154
|
}
|
|
132
155
|
|
|
133
|
-
export type { AutocompleteSuggestion, ConfigInterface, DefaultLinksRequest, DefaultPageInfo, DefaultRequest, DirectoryNodes, DocumentTypesItem, Filters, Labels, 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 };
|