@c-rex/interfaces 0.1.2 → 0.1.4
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 +35 -10
- package/dist/index.d.ts +35 -10
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { LogLevelType, LogCategoriesType, ResultViewStyles } from '@c-rex/types';
|
|
1
|
+
import { LogLevelType, LogCategoriesType, ResultViewStyles, ResultTypes, FilesExtensions } from '@c-rex/types';
|
|
2
2
|
|
|
3
3
|
interface DefaultPageInfo {
|
|
4
4
|
pageNumber: number;
|
|
@@ -59,7 +59,14 @@ interface OIDCInterface {
|
|
|
59
59
|
interface ConfigInterface {
|
|
60
60
|
projectName: string;
|
|
61
61
|
baseUrl: string;
|
|
62
|
-
|
|
62
|
+
results: {
|
|
63
|
+
resultViewStyle: ResultViewStyles;
|
|
64
|
+
disabledResults: ResultTypes[];
|
|
65
|
+
articlePageLayout: "BLOG" | "DOCUMENT";
|
|
66
|
+
filesEnabledToDownload?: FilesExtensions[];
|
|
67
|
+
filesEnabledToOpen?: FilesExtensions[];
|
|
68
|
+
resultsToHide?: ResultTypes[];
|
|
69
|
+
};
|
|
63
70
|
OIDC: {
|
|
64
71
|
client: OIDCInterface;
|
|
65
72
|
user: OIDCInterface;
|
|
@@ -113,15 +120,26 @@ interface informationUnitsItems extends idShortID {
|
|
|
113
120
|
directoryNodes: DirectoryNodes[];
|
|
114
121
|
languages: string[];
|
|
115
122
|
}
|
|
116
|
-
interface
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
123
|
+
interface informationUnitsResponseItem {
|
|
124
|
+
language: string;
|
|
125
|
+
title: string;
|
|
126
|
+
type: string;
|
|
127
|
+
shortId: string;
|
|
128
|
+
localeType: string;
|
|
129
|
+
link: string;
|
|
130
|
+
disabled: boolean;
|
|
131
|
+
filesToOpen: {
|
|
121
132
|
format: string;
|
|
122
|
-
type: string;
|
|
123
133
|
link: string;
|
|
124
134
|
}[];
|
|
135
|
+
filesToDownload: {
|
|
136
|
+
format: string;
|
|
137
|
+
link: string;
|
|
138
|
+
}[];
|
|
139
|
+
}
|
|
140
|
+
interface informationUnitsResponse {
|
|
141
|
+
items: informationUnitsResponseItem[];
|
|
142
|
+
pageInfo: DefaultPageInfo;
|
|
125
143
|
}
|
|
126
144
|
interface informationUnits {
|
|
127
145
|
items: informationUnitsItems[];
|
|
@@ -137,7 +155,13 @@ interface AutocompleteSuggestion {
|
|
|
137
155
|
interface DirectoryNodes extends informationUnitsDirectories {
|
|
138
156
|
childNodes: informationUnitsDirectories[];
|
|
139
157
|
parents: idShortID[];
|
|
140
|
-
informationUnits: idShortID
|
|
158
|
+
informationUnits: (idShortID & {
|
|
159
|
+
labels: Labels[];
|
|
160
|
+
})[];
|
|
161
|
+
}
|
|
162
|
+
interface DirectoryNodesResponse {
|
|
163
|
+
items: DirectoryNodes[];
|
|
164
|
+
pageInfo: DefaultPageInfo;
|
|
141
165
|
}
|
|
142
166
|
|
|
143
167
|
interface DocumentTypesItem extends idShortID {
|
|
@@ -155,9 +179,10 @@ interface TreeOfContent {
|
|
|
155
179
|
}
|
|
156
180
|
interface SidebarAvailableVersionsInterface {
|
|
157
181
|
shortId: string;
|
|
182
|
+
active: boolean;
|
|
158
183
|
lang: string;
|
|
159
184
|
country: string;
|
|
160
185
|
link: string;
|
|
161
186
|
}
|
|
162
187
|
|
|
163
|
-
export type { AutocompleteSuggestion, ConfigInterface, DefaultLinksRequest, DefaultPageInfo, DefaultRequest, DirectoryNodes, DocumentTypesItem, Filters, Labels, LanguageAndCountries, OIDCInterface, SidebarAvailableVersionsInterface, TreeOfContent, idShortID, informationUnits, informationUnitsClass, informationUnitsDirectories, informationUnitsItems, informationUnitsRenditions, informationUnitsResponse, logInfo };
|
|
188
|
+
export type { AutocompleteSuggestion, ConfigInterface, DefaultLinksRequest, DefaultPageInfo, DefaultRequest, DirectoryNodes, DirectoryNodesResponse, DocumentTypesItem, Filters, Labels, LanguageAndCountries, OIDCInterface, SidebarAvailableVersionsInterface, TreeOfContent, idShortID, informationUnits, informationUnitsClass, informationUnitsDirectories, informationUnitsItems, informationUnitsRenditions, informationUnitsResponse, informationUnitsResponseItem, logInfo };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { LogLevelType, LogCategoriesType, ResultViewStyles } from '@c-rex/types';
|
|
1
|
+
import { LogLevelType, LogCategoriesType, ResultViewStyles, ResultTypes, FilesExtensions } from '@c-rex/types';
|
|
2
2
|
|
|
3
3
|
interface DefaultPageInfo {
|
|
4
4
|
pageNumber: number;
|
|
@@ -59,7 +59,14 @@ interface OIDCInterface {
|
|
|
59
59
|
interface ConfigInterface {
|
|
60
60
|
projectName: string;
|
|
61
61
|
baseUrl: string;
|
|
62
|
-
|
|
62
|
+
results: {
|
|
63
|
+
resultViewStyle: ResultViewStyles;
|
|
64
|
+
disabledResults: ResultTypes[];
|
|
65
|
+
articlePageLayout: "BLOG" | "DOCUMENT";
|
|
66
|
+
filesEnabledToDownload?: FilesExtensions[];
|
|
67
|
+
filesEnabledToOpen?: FilesExtensions[];
|
|
68
|
+
resultsToHide?: ResultTypes[];
|
|
69
|
+
};
|
|
63
70
|
OIDC: {
|
|
64
71
|
client: OIDCInterface;
|
|
65
72
|
user: OIDCInterface;
|
|
@@ -113,15 +120,26 @@ interface informationUnitsItems extends idShortID {
|
|
|
113
120
|
directoryNodes: DirectoryNodes[];
|
|
114
121
|
languages: string[];
|
|
115
122
|
}
|
|
116
|
-
interface
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
123
|
+
interface informationUnitsResponseItem {
|
|
124
|
+
language: string;
|
|
125
|
+
title: string;
|
|
126
|
+
type: string;
|
|
127
|
+
shortId: string;
|
|
128
|
+
localeType: string;
|
|
129
|
+
link: string;
|
|
130
|
+
disabled: boolean;
|
|
131
|
+
filesToOpen: {
|
|
121
132
|
format: string;
|
|
122
|
-
type: string;
|
|
123
133
|
link: string;
|
|
124
134
|
}[];
|
|
135
|
+
filesToDownload: {
|
|
136
|
+
format: string;
|
|
137
|
+
link: string;
|
|
138
|
+
}[];
|
|
139
|
+
}
|
|
140
|
+
interface informationUnitsResponse {
|
|
141
|
+
items: informationUnitsResponseItem[];
|
|
142
|
+
pageInfo: DefaultPageInfo;
|
|
125
143
|
}
|
|
126
144
|
interface informationUnits {
|
|
127
145
|
items: informationUnitsItems[];
|
|
@@ -137,7 +155,13 @@ interface AutocompleteSuggestion {
|
|
|
137
155
|
interface DirectoryNodes extends informationUnitsDirectories {
|
|
138
156
|
childNodes: informationUnitsDirectories[];
|
|
139
157
|
parents: idShortID[];
|
|
140
|
-
informationUnits: idShortID
|
|
158
|
+
informationUnits: (idShortID & {
|
|
159
|
+
labels: Labels[];
|
|
160
|
+
})[];
|
|
161
|
+
}
|
|
162
|
+
interface DirectoryNodesResponse {
|
|
163
|
+
items: DirectoryNodes[];
|
|
164
|
+
pageInfo: DefaultPageInfo;
|
|
141
165
|
}
|
|
142
166
|
|
|
143
167
|
interface DocumentTypesItem extends idShortID {
|
|
@@ -155,9 +179,10 @@ interface TreeOfContent {
|
|
|
155
179
|
}
|
|
156
180
|
interface SidebarAvailableVersionsInterface {
|
|
157
181
|
shortId: string;
|
|
182
|
+
active: boolean;
|
|
158
183
|
lang: string;
|
|
159
184
|
country: string;
|
|
160
185
|
link: string;
|
|
161
186
|
}
|
|
162
187
|
|
|
163
|
-
export type { AutocompleteSuggestion, ConfigInterface, DefaultLinksRequest, DefaultPageInfo, DefaultRequest, DirectoryNodes, DocumentTypesItem, Filters, Labels, LanguageAndCountries, OIDCInterface, SidebarAvailableVersionsInterface, TreeOfContent, idShortID, informationUnits, informationUnitsClass, informationUnitsDirectories, informationUnitsItems, informationUnitsRenditions, informationUnitsResponse, logInfo };
|
|
188
|
+
export type { AutocompleteSuggestion, ConfigInterface, DefaultLinksRequest, DefaultPageInfo, DefaultRequest, DirectoryNodes, DirectoryNodesResponse, DocumentTypesItem, Filters, Labels, LanguageAndCountries, OIDCInterface, SidebarAvailableVersionsInterface, TreeOfContent, idShortID, informationUnits, informationUnitsClass, informationUnitsDirectories, informationUnitsItems, informationUnitsRenditions, informationUnitsResponse, informationUnitsResponseItem, logInfo };
|