@c-rex/interfaces 0.1.5 → 0.1.7
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 +18 -1
- package/dist/index.d.ts +18 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { LogLevelType, LogCategoriesType, ResultViewStyles, ResultTypes, FilesExtensions } from '@c-rex/types';
|
|
1
|
+
import { LogLevelType, LogCategoriesType, ResultViewStyles, ResultTypes, FilesExtensions, WildCardType } from '@c-rex/types';
|
|
2
2
|
|
|
3
3
|
interface DefaultPageInfo {
|
|
4
4
|
pageNumber: number;
|
|
@@ -27,6 +27,20 @@ interface DefaultLinksRequest {
|
|
|
27
27
|
}
|
|
28
28
|
interface DefaultRequest<T> {
|
|
29
29
|
items: T[];
|
|
30
|
+
tags?: {
|
|
31
|
+
[key: string]: {
|
|
32
|
+
labels: string[];
|
|
33
|
+
items: {
|
|
34
|
+
hits: number;
|
|
35
|
+
total: number;
|
|
36
|
+
labels: {
|
|
37
|
+
language?: string;
|
|
38
|
+
value: string;
|
|
39
|
+
}[];
|
|
40
|
+
shortId?: string;
|
|
41
|
+
}[];
|
|
42
|
+
};
|
|
43
|
+
};
|
|
30
44
|
links: DefaultLinksRequest[];
|
|
31
45
|
pageInfo: DefaultPageInfo;
|
|
32
46
|
}
|
|
@@ -82,6 +96,7 @@ interface ConfigInterface {
|
|
|
82
96
|
restrict?: Filters[];
|
|
83
97
|
filter?: Filters[];
|
|
84
98
|
sparqlWhere?: string;
|
|
99
|
+
wildcard: WildCardType;
|
|
85
100
|
};
|
|
86
101
|
logs: {
|
|
87
102
|
console: Omit<logInfo, "url" | "app" | "categoriesLevel">;
|
|
@@ -110,6 +125,7 @@ interface informationUnitsItems extends idShortID {
|
|
|
110
125
|
labels: Labels[];
|
|
111
126
|
titles: Labels[];
|
|
112
127
|
versionOf: idShortID;
|
|
128
|
+
packages: idShortID[];
|
|
113
129
|
links: DefaultLinksRequest[];
|
|
114
130
|
renditions: informationUnitsRenditions[];
|
|
115
131
|
iirdsVersion: {
|
|
@@ -139,6 +155,7 @@ interface informationUnitsResponseItem {
|
|
|
139
155
|
}
|
|
140
156
|
interface informationUnitsResponse {
|
|
141
157
|
items: informationUnitsResponseItem[];
|
|
158
|
+
tags: any;
|
|
142
159
|
pageInfo: DefaultPageInfo;
|
|
143
160
|
}
|
|
144
161
|
interface informationUnits {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { LogLevelType, LogCategoriesType, ResultViewStyles, ResultTypes, FilesExtensions } from '@c-rex/types';
|
|
1
|
+
import { LogLevelType, LogCategoriesType, ResultViewStyles, ResultTypes, FilesExtensions, WildCardType } from '@c-rex/types';
|
|
2
2
|
|
|
3
3
|
interface DefaultPageInfo {
|
|
4
4
|
pageNumber: number;
|
|
@@ -27,6 +27,20 @@ interface DefaultLinksRequest {
|
|
|
27
27
|
}
|
|
28
28
|
interface DefaultRequest<T> {
|
|
29
29
|
items: T[];
|
|
30
|
+
tags?: {
|
|
31
|
+
[key: string]: {
|
|
32
|
+
labels: string[];
|
|
33
|
+
items: {
|
|
34
|
+
hits: number;
|
|
35
|
+
total: number;
|
|
36
|
+
labels: {
|
|
37
|
+
language?: string;
|
|
38
|
+
value: string;
|
|
39
|
+
}[];
|
|
40
|
+
shortId?: string;
|
|
41
|
+
}[];
|
|
42
|
+
};
|
|
43
|
+
};
|
|
30
44
|
links: DefaultLinksRequest[];
|
|
31
45
|
pageInfo: DefaultPageInfo;
|
|
32
46
|
}
|
|
@@ -82,6 +96,7 @@ interface ConfigInterface {
|
|
|
82
96
|
restrict?: Filters[];
|
|
83
97
|
filter?: Filters[];
|
|
84
98
|
sparqlWhere?: string;
|
|
99
|
+
wildcard: WildCardType;
|
|
85
100
|
};
|
|
86
101
|
logs: {
|
|
87
102
|
console: Omit<logInfo, "url" | "app" | "categoriesLevel">;
|
|
@@ -110,6 +125,7 @@ interface informationUnitsItems extends idShortID {
|
|
|
110
125
|
labels: Labels[];
|
|
111
126
|
titles: Labels[];
|
|
112
127
|
versionOf: idShortID;
|
|
128
|
+
packages: idShortID[];
|
|
113
129
|
links: DefaultLinksRequest[];
|
|
114
130
|
renditions: informationUnitsRenditions[];
|
|
115
131
|
iirdsVersion: {
|
|
@@ -139,6 +155,7 @@ interface informationUnitsResponseItem {
|
|
|
139
155
|
}
|
|
140
156
|
interface informationUnitsResponse {
|
|
141
157
|
items: informationUnitsResponseItem[];
|
|
158
|
+
tags: any;
|
|
142
159
|
pageInfo: DefaultPageInfo;
|
|
143
160
|
}
|
|
144
161
|
interface informationUnits {
|