@devgateway/dvz-wp-commons 1.0.5 → 1.2.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/build/index.d.ts CHANGED
@@ -1,18 +1,16 @@
1
- export { APIConfig } from './APIConfig';
2
- export { getTranslatedOptions, getTranslation, isSupersetAPI } from './APIutils';
3
- export { BlockEditWithAPIMetadata, BlockEditWithFilters, type BlockEditWithFiltersState, type BlockEditWithAPIMetadataState, type BlockEditWithAPIMetadataProps, type BlockEditWithFiltersProps, ComponentWithSettings, type ComponentWithSettingsProps, type ComponentWithSettingsState, SizeConfig, type SizeConfigProps } from './Blocks';
4
- export { categorical, sequential, diverging, type ChartColorsProps, ChartColors } from './ChartColors';
5
- export { ChartLegends, type LegendProps as ChartLegendsProps } from './ChartLegends';
6
- export { ChartMeasures, type ChartMeasuresProps } from './ChartMeasures';
7
- export { DEFAULT_FORMAT_SETTINGS, BLOCKS_CATEGORY, BLOCKS_NS } from './Constants';
8
- export { CSVConfig } from './CSVSourceConfig';
9
- export { DataFilters, type DataFiltersProps } from './DataFilters';
10
- export { Format, type FormatProps } from './Format';
11
- export { MapCSVSourceConfig, type MapCSVSourceConfigProps } from './MapCSVSourceConfig';
12
- export { Measures, type MeasuresProps } from './Measures';
13
- export { extractAxisValues, getSelectedLabelsForApp, transformDataToAppObject, updateMeasureLabels, getSelectedItemsForApp, getStoredOrSetItem } from './MobileConfigUtils';
14
- export { Tooltip, } from './Tooltip';
15
- export * from './types';
16
- export { panelFocus, togglePanel } from './Util';
17
- export * from './icons';
18
- export * from './post-type';
1
+ export { APIConfig } from "./APIConfig";
2
+ export { CSVConfig } from "./CSVSourceConfig";
3
+ export { DataFilters } from "./DataFilters";
4
+ export { Format } from "./Format";
5
+ export { MapCSVSourceConfig } from "./MapCSVSourceConfig";
6
+ export { Measures } from "./Measures";
7
+ export { Tooltip } from "./Tooltip";
8
+ export { ChartLegends } from "./ChartLegends";
9
+ export { ChartMeasures } from "./ChartMeasures";
10
+ export { getTranslatedOptions, getTranslation, isSupersetAPI } from "./APIutils";
11
+ export { BlockEditWithAPIMetadata, BlockEditWithFilters, ComponentWithSettings, SizeConfig } from "./Blocks";
12
+ export { categorical, sequential, diverging, ChartColors } from "./ChartColors";
13
+ export { DEFAULT_FORMAT_SETTINGS, BLOCKS_CATEGORY, BLOCKS_NS } from "./Constants";
14
+ export { extractAxisValues, getSelectedLabelsForApp, transformDataToAppObject, updateMeasureLabels, getSelectedItemsForApp, getStoredOrSetItem } from "./MobileConfigUtils";
15
+ export { panelFocus, togglePanel } from "./Util";
16
+ export { GenericIcon, ChartIcon } from "./icons/index";
package/build/index.js CHANGED
@@ -2,18 +2,15 @@ export { APIConfig } from './APIConfig';
2
2
  export { getTranslatedOptions, getTranslation, isSupersetAPI } from './APIutils';
3
3
  export { BlockEditWithAPIMetadata, BlockEditWithFilters, ComponentWithSettings, SizeConfig } from './Blocks';
4
4
  export { categorical, sequential, diverging, ChartColors } from './ChartColors';
5
- export { ChartLegends } from './ChartLegends';
6
- export { ChartMeasures } from './ChartMeasures';
7
5
  export { DEFAULT_FORMAT_SETTINGS, BLOCKS_CATEGORY, BLOCKS_NS } from './Constants';
8
6
  export { CSVConfig } from './CSVSourceConfig';
9
- export { DataFilters } from './DataFilters';
10
- export { Format } from './Format';
11
- export { MapCSVSourceConfig } from './MapCSVSourceConfig';
12
- export { Measures } from './Measures';
7
+ export { DataFilters, } from './DataFilters';
8
+ export { Format, } from './Format';
9
+ export { MapCSVSourceConfig, } from './MapCSVSourceConfig';
10
+ export { Measures, } from './Measures';
13
11
  export { extractAxisValues, getSelectedLabelsForApp, transformDataToAppObject, updateMeasureLabels, getSelectedItemsForApp, getStoredOrSetItem } from './MobileConfigUtils';
14
12
  export { Tooltip, } from './Tooltip';
15
- export * from './types';
16
13
  export { panelFocus, togglePanel } from './Util';
17
- export * from './icons';
18
- // export * from './hooks';
19
- export * from './post-type';
14
+ export { ChartLegends } from './ChartLegends';
15
+ export { ChartMeasures } from './ChartMeasures';
16
+ export { GenericIcon, ChartIcon } from './icons/index';
@@ -1 +1 @@
1
- {"root":["../src/APIConfig.tsx","../src/APIutils.ts","../src/Blocks.tsx","../src/CSVSourceConfig.tsx","../src/ChartColors.tsx","../src/ChartLegends.tsx","../src/ChartMeasures.tsx","../src/Constants.ts","../src/DataFilters.tsx","../src/Format.tsx","../src/MapCSVSourceConfig.tsx","../src/Measures.tsx","../src/MobileConfigUtils.ts","../src/Tooltip.tsx","../src/Util.tsx","../src/common-types.d.ts","../src/index.ts","../src/post-type.ts","../src/types.ts","../src/hooks/index.ts","../src/icons/Chart.tsx","../src/icons/Generic.tsx","../src/icons/index.ts"],"version":"5.8.3"}
1
+ {"root":["../src/APIConfig.js","../src/APIutils.js","../src/Blocks.js","../src/CSVSourceConfig.js","../src/ChartColors.jsx","../src/ChartLegends.jsx","../src/ChartMeasures.jsx","../src/Constants.js","../src/DataFilters.jsx","../src/Format.jsx","../src/MapCSVSourceConfig.js","../src/Measures.jsx","../src/MobileConfigUtils.js","../src/Tooltip.jsx","../src/Util.jsx","../src/index.js","../src/hooks/index.ts","../src/icons/Chart.js","../src/icons/Generic.js","../src/icons/index.js"],"version":"5.9.3"}
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@devgateway/dvz-wp-commons",
3
- "version": "1.0.5",
3
+ "version": "1.2.0",
4
4
  "private": false,
5
5
  "description": "Common Utilities for Data Viz Wordpress that can be also used in other projects",
6
6
  "author": "Sebastian Dimunzio",
7
- "license": "MIT",
7
+ "license": "GPL-2.0-or-later",
8
8
  "maintainers": [
9
9
  "Sebastian Dimunzio",
10
10
  "Timothy Mugo"
@@ -34,33 +34,33 @@
34
34
  "registry": "https://registry.npmjs.org/"
35
35
  },
36
36
  "devDependencies": {
37
- "@babel/runtime": "^7.27.0",
37
+ "@babel/runtime": "^7.28.4",
38
38
  "@colbyfayock/semantic-release-pnpm": "^1.2.2",
39
39
  "@semantic-release/changelog": "^6.0.3",
40
40
  "@types/lodash.isempty": "^4.4.9",
41
- "@types/papaparse": "^5.3.15",
41
+ "@types/papaparse": "^5.3.16",
42
42
  "@types/react": "18.3.1",
43
- "@types/wordpress__block-editor": "^11.5.16",
44
- "@wordpress/scripts": "^30.15.0",
45
- "dotenv": "^16.5.0",
46
- "dotenv-webpack": "^8.1.0",
47
- "semantic-release": "^24.2.3",
43
+ "@types/wordpress__block-editor": "^11.5.17",
44
+ "@wordpress/scripts": "^30.25.0",
45
+ "dotenv": "^17.2.3",
46
+ "dotenv-webpack": "^8.1.1",
47
+ "semantic-release": "^24.2.9",
48
48
  "semantic-release-monorepo": "^8.0.2",
49
- "ts-loader": "^9.5.2",
50
- "typescript": "^5.8.3"
49
+ "ts-loader": "^9.5.4",
50
+ "typescript": "^5.9.3"
51
51
  },
52
52
  "dependencies": {
53
- "@wordpress/api-fetch": "^7.22.0",
54
- "@wordpress/block-editor": "^14.17.0",
55
- "@wordpress/components": "^29.8.0",
56
- "@wordpress/data": "^10.22.0",
57
- "@wordpress/editor": "^14.22.0",
58
- "@wordpress/element": "^6.22.0",
59
- "@wordpress/i18n": "^5.22.0",
60
- "@wordpress/icons": "^10.22.0",
53
+ "@wordpress/api-fetch": "^7.32.0",
54
+ "@wordpress/block-editor": "^15.5.0",
55
+ "@wordpress/components": "^30.5.0",
56
+ "@wordpress/data": "^10.32.0",
57
+ "@wordpress/editor": "^14.32.0",
58
+ "@wordpress/element": "^6.32.0",
59
+ "@wordpress/i18n": "^6.5.0",
60
+ "@wordpress/icons": "^10.32.0",
61
61
  "classnames": "^2.5.1",
62
62
  "lodash.isempty": "^4.4.0",
63
- "papaparse": "^5.5.2"
63
+ "papaparse": "^5.5.3"
64
64
  },
65
65
  "peerDependencies": {
66
66
  "react": "18.3.1"
@@ -1,193 +0,0 @@
1
- import { About, Cury, Meta, Self, WpTerm } from "./types";
2
- export interface Post {
3
- id: number;
4
- date: Date;
5
- date_gmt: Date;
6
- guid: PostGUID;
7
- modified: Date;
8
- modified_gmt: Date;
9
- slug: string;
10
- status: string;
11
- type: string;
12
- link: string;
13
- title: PostGUID;
14
- content: PostContent;
15
- excerpt: PostContent;
16
- author: number;
17
- featured_media: number;
18
- comment_status: string;
19
- ping_status: string;
20
- sticky: boolean;
21
- template: string;
22
- format: string;
23
- meta: Meta;
24
- categories: number[];
25
- tags: any[];
26
- bread_crumbs: any[];
27
- class_list: string[];
28
- acf: any[];
29
- yoast_head: string;
30
- yoast_head_json: PostYoastHeadJSON;
31
- meta_fields: {
32
- [key: string]: string[];
33
- };
34
- meta_fields_2: {
35
- [key: string]: string[];
36
- };
37
- _links: PostLinks;
38
- }
39
- export interface PostLinks {
40
- self: Self[];
41
- collection: About[];
42
- about: About[];
43
- author: PostAuthorElement[];
44
- replies: PostAuthorElement[];
45
- "version-history": PostVersionHistory[];
46
- "predecessor-version": PostPredecessorVersion[];
47
- "wp:attachment": About[];
48
- "wp:term": WpTerm[];
49
- curies: Cury[];
50
- }
51
- export interface PostAuthorElement {
52
- embeddable: boolean;
53
- href: string;
54
- }
55
- export interface PostPredecessorVersion {
56
- id: number;
57
- href: string;
58
- }
59
- export interface PostVersionHistory {
60
- count: number;
61
- href: string;
62
- }
63
- export declare enum PostTaxonomy {
64
- BreadCrumbs = "bread_crumbs",
65
- Category = "category",
66
- PostTag = "post_tag"
67
- }
68
- export interface PostContent {
69
- rendered: string;
70
- protected: boolean;
71
- }
72
- export interface PostGUID {
73
- rendered: string;
74
- }
75
- export interface PostMeta {
76
- _acf_changed: boolean;
77
- inline_featured_image: boolean;
78
- redirect_url: string;
79
- myguten_meta_block_field: string;
80
- footnotes: string;
81
- }
82
- export interface PostYoastHeadJSON {
83
- title?: string;
84
- robots?: PostRobots;
85
- canonical?: string;
86
- og_locale?: string;
87
- og_type?: string;
88
- og_title?: string;
89
- og_url?: string;
90
- og_site_name?: string;
91
- article_published_time?: Date;
92
- article_modified_time?: Date;
93
- og_image?: PostOgImage[];
94
- author?: string;
95
- twitter_card?: string;
96
- twitter_creator?: string;
97
- twitter_site?: string;
98
- twitter_misc?: PostTwitterMisc;
99
- schema?: PostSchema;
100
- og_description?: string;
101
- }
102
- export interface PostOgImage {
103
- width: number | string;
104
- height: number | string;
105
- url: string;
106
- type: string;
107
- }
108
- export interface PostRobots {
109
- index: string;
110
- follow: string;
111
- "max-snippet": string;
112
- "max-image-preview": string;
113
- "max-video-preview": string;
114
- }
115
- export interface PostSchema {
116
- "@context": string;
117
- "@graph": PostGraph[];
118
- }
119
- export interface PostGraph {
120
- "@type": string;
121
- "@id": string;
122
- isPartOf?: Breadcrumb;
123
- author?: GraphAuthorClass;
124
- headline?: string;
125
- datePublished?: Date;
126
- dateModified?: Date;
127
- mainEntityOfPage?: Breadcrumb;
128
- wordCount?: number;
129
- commentCount?: number;
130
- publisher?: Breadcrumb;
131
- inLanguage?: string;
132
- potentialAction?: PotentialAction[];
133
- url?: string;
134
- name?: string;
135
- description?: string;
136
- alternateName?: string;
137
- logo?: PostImage;
138
- image?: PostImage;
139
- sameAs?: string[];
140
- articleSection?: string[];
141
- breadcrumb?: Breadcrumb;
142
- itemListElement?: ItemListElement[];
143
- thumbnailUrl?: string;
144
- primaryImageOfPage?: Breadcrumb;
145
- contentUrl?: string;
146
- }
147
- export interface GraphAuthorClass {
148
- name: string;
149
- "@id": string;
150
- }
151
- export interface Breadcrumb {
152
- "@id": string;
153
- }
154
- export interface PostImage {
155
- "@id": string;
156
- "@type"?: string;
157
- inLanguage?: string;
158
- url?: string;
159
- contentUrl?: string;
160
- caption?: string;
161
- width?: number;
162
- height?: number;
163
- }
164
- export interface ItemListElement {
165
- "@type": string;
166
- position: number;
167
- name: string;
168
- item?: string;
169
- }
170
- export interface PotentialAction {
171
- "@type": PotentialActionType;
172
- name?: string;
173
- target: string[] | TargetClass;
174
- "query-input"?: QueryInput;
175
- }
176
- export declare enum PotentialActionType {
177
- CommentAction = "CommentAction",
178
- ReadAction = "ReadAction",
179
- SearchAction = "SearchAction"
180
- }
181
- export interface QueryInput {
182
- "@type": string;
183
- valueRequired: boolean;
184
- valueName: string;
185
- }
186
- export interface TargetClass {
187
- "@type": string;
188
- urlTemplate: string;
189
- }
190
- export interface PostTwitterMisc {
191
- "Written by": string;
192
- "Est. reading time"?: string;
193
- }
@@ -1,12 +0,0 @@
1
- export var PostTaxonomy;
2
- (function (PostTaxonomy) {
3
- PostTaxonomy["BreadCrumbs"] = "bread_crumbs";
4
- PostTaxonomy["Category"] = "category";
5
- PostTaxonomy["PostTag"] = "post_tag";
6
- })(PostTaxonomy || (PostTaxonomy = {}));
7
- export var PotentialActionType;
8
- (function (PotentialActionType) {
9
- PotentialActionType["CommentAction"] = "CommentAction";
10
- PotentialActionType["ReadAction"] = "ReadAction";
11
- PotentialActionType["SearchAction"] = "SearchAction";
12
- })(PotentialActionType || (PotentialActionType = {}));
package/build/types.d.ts DELETED
@@ -1,349 +0,0 @@
1
- export type Options = {
2
- label: string;
3
- value: string;
4
- labels?: Record<string, string>;
5
- };
6
- export interface Dimension {
7
- label: string;
8
- labels: Record<string, any>;
9
- value: string;
10
- type: string;
11
- field: string | null;
12
- }
13
- export interface FileContent {
14
- id: string;
15
- createdDate: Date;
16
- name: string;
17
- contentType: string;
18
- size: number;
19
- }
20
- export interface Category {
21
- id: number;
22
- type: string;
23
- code: string;
24
- value: string;
25
- position: number | null;
26
- parent: string | null;
27
- fileContent?: FileContent | null;
28
- labels: Record<string, any>;
29
- descriptions: Record<string, any>;
30
- categoryStyle: Record<string, any> | null;
31
- createdDate?: Date;
32
- updatedDate?: Date;
33
- delegate?: string | null;
34
- aClass?: string | null;
35
- enabled?: boolean | null;
36
- param?: string | null;
37
- field?: string | null;
38
- fieldType?: string | null;
39
- items?: CategoryItem[];
40
- }
41
- export interface CategoryItem {
42
- value: string;
43
- id: any;
44
- code?: string;
45
- labels?: Record<string, any>;
46
- position?: number;
47
- }
48
- export type Categories = {
49
- type: string;
50
- items: Category[];
51
- }[];
52
- export interface Measure {
53
- label: string;
54
- labels: Record<string, any>;
55
- value: string;
56
- group: Group;
57
- styles: Styles;
58
- position: number;
59
- enabled: boolean | null;
60
- }
61
- export interface Group {
62
- label: string;
63
- labels: Record<string, any>;
64
- }
65
- export interface Styles {
66
- textColor: string | null;
67
- backgroundColor: string | null;
68
- className: string | null;
69
- color: string;
70
- }
71
- export interface Filter {
72
- label: string;
73
- labels: Record<string, any>;
74
- param: string;
75
- type: string;
76
- field: string;
77
- value: string[];
78
- values: string;
79
- }
80
- export interface DgSettings {
81
- react_ui_url: string;
82
- react_api_url: string | null;
83
- apache_superset_url: string | boolean | null;
84
- react_search_type: string;
85
- react_menu_type: string;
86
- languages: Languages;
87
- landing_page_url: string;
88
- google_analytics_code: string;
89
- name: string;
90
- description: string;
91
- site_logo: number;
92
- site_icon: number;
93
- }
94
- export interface Languages {
95
- [key: string]: Language;
96
- }
97
- export interface Language {
98
- enable: number;
99
- locale: string;
100
- name: string;
101
- translation: string;
102
- date: string;
103
- time: string;
104
- flag: string;
105
- wpseo_og_locale: string;
106
- }
107
- export interface Taxonomy {
108
- id: number;
109
- name: string;
110
- slug: string;
111
- description: string;
112
- types: string[];
113
- hierarchical: boolean;
114
- rest_base: string;
115
- rest_namespace: string;
116
- _links: Links;
117
- taxonomy: string;
118
- }
119
- export interface Links {
120
- collection: Collection[];
121
- "wp:items": Collection[];
122
- curies: Cury[];
123
- }
124
- export interface Collection {
125
- href: string;
126
- }
127
- export interface Cury {
128
- name: string;
129
- href: string;
130
- templated: boolean;
131
- }
132
- export interface Taxonomies {
133
- [key: string]: Taxonomy;
134
- }
135
- export interface Wp_Types {
136
- description: string;
137
- hierarchical: boolean;
138
- has_archive: boolean;
139
- name: string;
140
- slug: string;
141
- icon: string;
142
- taxonomies: string[];
143
- rest_base: string;
144
- rest_namespace: string;
145
- template: any[];
146
- template_lock: boolean;
147
- yoast_head: string | null;
148
- yoast_head_json: Record<string, any> | null;
149
- _links: Links;
150
- }
151
- export interface Links {
152
- collection: Collection[];
153
- "wp:items": Collection[];
154
- curies: Cury[];
155
- }
156
- export interface Collection {
157
- href: string;
158
- }
159
- export interface EurekaResponse {
160
- applications: ApplicationsClass;
161
- }
162
- export interface ApplicationsClass {
163
- versions__delta: string;
164
- apps__hashcode: string;
165
- application: Application[];
166
- }
167
- export interface Application {
168
- name: string;
169
- instance: Instance[];
170
- }
171
- export interface Instance {
172
- instanceId: string;
173
- hostName: string;
174
- app: string;
175
- ipAddr: string;
176
- status: string;
177
- overriddenStatus: string;
178
- port: Port;
179
- securePort: Port;
180
- countryId: number;
181
- dataCenterInfo: DataCenterInfo;
182
- leaseInfo: LeaseInfo;
183
- metadata: Metadata;
184
- homePageUrl: string;
185
- statusPageUrl: string;
186
- healthCheckUrl: string;
187
- vipAddress: string;
188
- secureVipAddress: string;
189
- isCoordinatingDiscoveryServer: string;
190
- lastUpdatedTimestamp: string;
191
- lastDirtyTimestamp: string;
192
- actionType: string;
193
- }
194
- export interface DataCenterInfo {
195
- "@class": string;
196
- name: string;
197
- }
198
- export interface LeaseInfo {
199
- renewalIntervalInSecs: number;
200
- durationInSecs: number;
201
- registrationTimestamp: number;
202
- lastRenewalTimestamp: number;
203
- evictionTimestamp: number;
204
- serviceUpTimestamp: number;
205
- }
206
- export interface Metadata {
207
- "management.port": string;
208
- tetsim?: string;
209
- label?: string;
210
- "dataset.required"?: string;
211
- type?: string;
212
- }
213
- export interface Port {
214
- $: number;
215
- "@enabled": string;
216
- }
217
- export interface Media {
218
- id: number;
219
- date: Date;
220
- date_gmt: Date;
221
- guid: Caption;
222
- modified: Date;
223
- modified_gmt: Date;
224
- slug: string;
225
- status: Status;
226
- type: Type;
227
- link: string;
228
- title: Caption;
229
- author: number;
230
- featured_media: number;
231
- comment_status: CommentStatus;
232
- ping_status: PingStatus;
233
- template: string;
234
- meta: Meta;
235
- bread_crumbs: any[];
236
- class_list: string[];
237
- acf: any[];
238
- meta_fields: MetaFields;
239
- description: Caption;
240
- caption: Caption;
241
- alt_text: string;
242
- media_type: MediaType;
243
- mime_type: MIMEType;
244
- media_details: MediaDetails;
245
- post: null;
246
- source_url: string;
247
- _links: Links;
248
- }
249
- export interface Links {
250
- self: Self[];
251
- collection: About[];
252
- about: About[];
253
- author: Author[];
254
- replies: Author[];
255
- "wp:term": WpTerm[];
256
- curies: Cury[];
257
- }
258
- export interface About {
259
- href: string;
260
- }
261
- export interface Author {
262
- embeddable: boolean;
263
- href: string;
264
- }
265
- export interface Cury {
266
- name: string;
267
- href: string;
268
- templated: boolean;
269
- }
270
- export interface Self {
271
- href: string;
272
- targetHints: TargetHints;
273
- }
274
- export interface TargetHints {
275
- allow: Allow[];
276
- }
277
- export declare enum Allow {
278
- Get = "GET"
279
- }
280
- export interface WpTerm {
281
- taxonomy: Taxonomy;
282
- embeddable: boolean;
283
- href: string;
284
- }
285
- export declare enum MediaTaxonomy {
286
- BreadCrumbs = "bread_crumbs"
287
- }
288
- export interface Caption {
289
- rendered: string;
290
- }
291
- export declare enum CommentStatus {
292
- Open = "open"
293
- }
294
- export interface MediaDetails {
295
- filesize: number;
296
- sizes: Sizes;
297
- }
298
- export interface Sizes {
299
- }
300
- export declare enum MediaType {
301
- File = "file"
302
- }
303
- export interface Meta {
304
- _acf_changed: boolean;
305
- inline_featured_image: boolean;
306
- redirect_url: string;
307
- myguten_meta_block_field: string;
308
- }
309
- export interface MetaFields {
310
- _wp_attached_file: string[];
311
- _wp_attachment_metadata: string[];
312
- _edit_lock?: string[];
313
- }
314
- export declare enum MIMEType {
315
- ApplicationJSON = "application/json"
316
- }
317
- export declare enum PingStatus {
318
- Closed = "closed"
319
- }
320
- export declare enum Status {
321
- Inherit = "inherit"
322
- }
323
- export declare enum Type {
324
- Attachment = "attachment"
325
- }
326
- export interface Menu {
327
- term_id: number;
328
- name: string;
329
- slug: string;
330
- term_group: number;
331
- term_taxonomy_id: number;
332
- taxonomy: string;
333
- description: string;
334
- parent: number;
335
- count: number;
336
- filter: string;
337
- term_order: string;
338
- icon_media_id?: number;
339
- }
340
- export interface SearchResult {
341
- id: number;
342
- title: string;
343
- url: string;
344
- type: string;
345
- subtype: string;
346
- _links: Links;
347
- value: string;
348
- }
349
- export type SearchResults = SearchResult[];