@c-rex/interfaces 0.1.3 → 0.1.5
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 +4 -3
- package/dist/index.d.ts +4 -3
- package/package.json +1 -3
package/dist/index.d.mts
CHANGED
|
@@ -62,6 +62,7 @@ interface ConfigInterface {
|
|
|
62
62
|
results: {
|
|
63
63
|
resultViewStyle: ResultViewStyles;
|
|
64
64
|
disabledResults: ResultTypes[];
|
|
65
|
+
articlePageLayout: "BLOG" | "DOCUMENT";
|
|
65
66
|
filesEnabledToDownload?: FilesExtensions[];
|
|
66
67
|
filesEnabledToOpen?: FilesExtensions[];
|
|
67
68
|
resultsToHide?: ResultTypes[];
|
|
@@ -119,7 +120,7 @@ interface informationUnitsItems extends idShortID {
|
|
|
119
120
|
directoryNodes: DirectoryNodes[];
|
|
120
121
|
languages: string[];
|
|
121
122
|
}
|
|
122
|
-
interface
|
|
123
|
+
interface informationUnitsResponseItem {
|
|
123
124
|
language: string;
|
|
124
125
|
title: string;
|
|
125
126
|
type: string;
|
|
@@ -137,7 +138,7 @@ interface informationUnitsResponseItems {
|
|
|
137
138
|
}[];
|
|
138
139
|
}
|
|
139
140
|
interface informationUnitsResponse {
|
|
140
|
-
items:
|
|
141
|
+
items: informationUnitsResponseItem[];
|
|
141
142
|
pageInfo: DefaultPageInfo;
|
|
142
143
|
}
|
|
143
144
|
interface informationUnits {
|
|
@@ -184,4 +185,4 @@ interface SidebarAvailableVersionsInterface {
|
|
|
184
185
|
link: string;
|
|
185
186
|
}
|
|
186
187
|
|
|
187
|
-
export type { AutocompleteSuggestion, ConfigInterface, DefaultLinksRequest, DefaultPageInfo, DefaultRequest, DirectoryNodes, DirectoryNodesResponse, DocumentTypesItem, Filters, Labels, LanguageAndCountries, OIDCInterface, SidebarAvailableVersionsInterface, TreeOfContent, idShortID, informationUnits, informationUnitsClass, informationUnitsDirectories, informationUnitsItems, informationUnitsRenditions, informationUnitsResponse,
|
|
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
|
@@ -62,6 +62,7 @@ interface ConfigInterface {
|
|
|
62
62
|
results: {
|
|
63
63
|
resultViewStyle: ResultViewStyles;
|
|
64
64
|
disabledResults: ResultTypes[];
|
|
65
|
+
articlePageLayout: "BLOG" | "DOCUMENT";
|
|
65
66
|
filesEnabledToDownload?: FilesExtensions[];
|
|
66
67
|
filesEnabledToOpen?: FilesExtensions[];
|
|
67
68
|
resultsToHide?: ResultTypes[];
|
|
@@ -119,7 +120,7 @@ interface informationUnitsItems extends idShortID {
|
|
|
119
120
|
directoryNodes: DirectoryNodes[];
|
|
120
121
|
languages: string[];
|
|
121
122
|
}
|
|
122
|
-
interface
|
|
123
|
+
interface informationUnitsResponseItem {
|
|
123
124
|
language: string;
|
|
124
125
|
title: string;
|
|
125
126
|
type: string;
|
|
@@ -137,7 +138,7 @@ interface informationUnitsResponseItems {
|
|
|
137
138
|
}[];
|
|
138
139
|
}
|
|
139
140
|
interface informationUnitsResponse {
|
|
140
|
-
items:
|
|
141
|
+
items: informationUnitsResponseItem[];
|
|
141
142
|
pageInfo: DefaultPageInfo;
|
|
142
143
|
}
|
|
143
144
|
interface informationUnits {
|
|
@@ -184,4 +185,4 @@ interface SidebarAvailableVersionsInterface {
|
|
|
184
185
|
link: string;
|
|
185
186
|
}
|
|
186
187
|
|
|
187
|
-
export type { AutocompleteSuggestion, ConfigInterface, DefaultLinksRequest, DefaultPageInfo, DefaultRequest, DirectoryNodes, DirectoryNodesResponse, DocumentTypesItem, Filters, Labels, LanguageAndCountries, OIDCInterface, SidebarAvailableVersionsInterface, TreeOfContent, idShortID, informationUnits, informationUnitsClass, informationUnitsDirectories, informationUnitsItems, informationUnitsRenditions, informationUnitsResponse,
|
|
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@c-rex/interfaces",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -13,8 +13,6 @@
|
|
|
13
13
|
"scripts": {
|
|
14
14
|
"dev": "tsup --watch",
|
|
15
15
|
"build": "tsup",
|
|
16
|
-
"test:watch": "jest --watch",
|
|
17
|
-
"test": "jest",
|
|
18
16
|
"lint": "eslint .",
|
|
19
17
|
"lint:fix": "eslint . --fix"
|
|
20
18
|
},
|