@xylabs/react-rich-result 6.3.7 → 6.3.9
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/browser/index.d.ts +654 -0
- package/package.json +7 -7
- package/dist/types/RichResult.d.ts +0 -7
- package/dist/types/RichResult.d.ts.map +0 -1
- package/dist/types/index.d.ts +0 -3
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/jsonld/Action.d.ts +0 -25
- package/dist/types/jsonld/Action.d.ts.map +0 -1
- package/dist/types/jsonld/ActionStatusType.d.ts +0 -10
- package/dist/types/jsonld/ActionStatusType.d.ts.map +0 -1
- package/dist/types/jsonld/AdministrativeArea.d.ts +0 -4
- package/dist/types/jsonld/AdministrativeArea.d.ts.map +0 -1
- package/dist/types/jsonld/AggregateRating.d.ts +0 -9
- package/dist/types/jsonld/AggregateRating.d.ts.map +0 -1
- package/dist/types/jsonld/Article.d.ts +0 -15
- package/dist/types/jsonld/Article.d.ts.map +0 -1
- package/dist/types/jsonld/Base.d.ts +0 -5
- package/dist/types/jsonld/Base.d.ts.map +0 -1
- package/dist/types/jsonld/Brand.d.ts +0 -11
- package/dist/types/jsonld/Brand.d.ts.map +0 -1
- package/dist/types/jsonld/Class.d.ts +0 -8
- package/dist/types/jsonld/Class.d.ts.map +0 -1
- package/dist/types/jsonld/ContactPoint.d.ts +0 -20
- package/dist/types/jsonld/ContactPoint.d.ts.map +0 -1
- package/dist/types/jsonld/ContactPointOption.d.ts +0 -8
- package/dist/types/jsonld/ContactPointOption.d.ts.map +0 -1
- package/dist/types/jsonld/Country.d.ts +0 -4
- package/dist/types/jsonld/Country.d.ts.map +0 -1
- package/dist/types/jsonld/CreativeWork.d.ts +0 -123
- package/dist/types/jsonld/CreativeWork.d.ts.map +0 -1
- package/dist/types/jsonld/DateTime.d.ts +0 -3
- package/dist/types/jsonld/DateTime.d.ts.map +0 -1
- package/dist/types/jsonld/EntryPoint.d.ts +0 -14
- package/dist/types/jsonld/EntryPoint.d.ts.map +0 -1
- package/dist/types/jsonld/Enumeration.d.ts +0 -8
- package/dist/types/jsonld/Enumeration.d.ts.map +0 -1
- package/dist/types/jsonld/GeoShape.d.ts +0 -16
- package/dist/types/jsonld/GeoShape.d.ts.map +0 -1
- package/dist/types/jsonld/GeospatialGeometry.d.ts +0 -16
- package/dist/types/jsonld/GeospatialGeometry.d.ts.map +0 -1
- package/dist/types/jsonld/ImageObject.d.ts +0 -10
- package/dist/types/jsonld/ImageObject.d.ts.map +0 -1
- package/dist/types/jsonld/Intangible.d.ts +0 -4
- package/dist/types/jsonld/Intangible.d.ts.map +0 -1
- package/dist/types/jsonld/Integer.d.ts +0 -3
- package/dist/types/jsonld/Integer.d.ts.map +0 -1
- package/dist/types/jsonld/ItemAvailability.d.ts +0 -15
- package/dist/types/jsonld/ItemAvailability.d.ts.map +0 -1
- package/dist/types/jsonld/Language.d.ts +0 -4
- package/dist/types/jsonld/Language.d.ts.map +0 -1
- package/dist/types/jsonld/Map.d.ts +0 -7
- package/dist/types/jsonld/Map.d.ts.map +0 -1
- package/dist/types/jsonld/MapCategoryType.d.ts +0 -10
- package/dist/types/jsonld/MapCategoryType.d.ts.map +0 -1
- package/dist/types/jsonld/MediaObject.d.ts +0 -11
- package/dist/types/jsonld/MediaObject.d.ts.map +0 -1
- package/dist/types/jsonld/MobileApplication.d.ts +0 -7
- package/dist/types/jsonld/MobileApplication.d.ts.map +0 -1
- package/dist/types/jsonld/Offer.d.ts +0 -65
- package/dist/types/jsonld/Offer.d.ts.map +0 -1
- package/dist/types/jsonld/Organization.d.ts +0 -78
- package/dist/types/jsonld/Organization.d.ts.map +0 -1
- package/dist/types/jsonld/Person.d.ts +0 -72
- package/dist/types/jsonld/Person.d.ts.map +0 -1
- package/dist/types/jsonld/Photograph.d.ts +0 -4
- package/dist/types/jsonld/Photograph.d.ts.map +0 -1
- package/dist/types/jsonld/Place.d.ts +0 -43
- package/dist/types/jsonld/Place.d.ts.map +0 -1
- package/dist/types/jsonld/PostalAddress.d.ts +0 -13
- package/dist/types/jsonld/PostalAddress.d.ts.map +0 -1
- package/dist/types/jsonld/Product.d.ts +0 -57
- package/dist/types/jsonld/Product.d.ts.map +0 -1
- package/dist/types/jsonld/Property.d.ts +0 -11
- package/dist/types/jsonld/Property.d.ts.map +0 -1
- package/dist/types/jsonld/PropertyValue.d.ts +0 -17
- package/dist/types/jsonld/PropertyValue.d.ts.map +0 -1
- package/dist/types/jsonld/QualitativeValue.d.ts +0 -16
- package/dist/types/jsonld/QualitativeValue.d.ts.map +0 -1
- package/dist/types/jsonld/QuantitativeValue.d.ts +0 -16
- package/dist/types/jsonld/QuantitativeValue.d.ts.map +0 -1
- package/dist/types/jsonld/Rating.d.ts +0 -11
- package/dist/types/jsonld/Rating.d.ts.map +0 -1
- package/dist/types/jsonld/Review.d.ts +0 -11
- package/dist/types/jsonld/Review.d.ts.map +0 -1
- package/dist/types/jsonld/Service.d.ts +0 -39
- package/dist/types/jsonld/Service.d.ts.map +0 -1
- package/dist/types/jsonld/SoftwareApplication.d.ts +0 -29
- package/dist/types/jsonld/SoftwareApplication.d.ts.map +0 -1
- package/dist/types/jsonld/StructuredValue.d.ts +0 -4
- package/dist/types/jsonld/StructuredValue.d.ts.map +0 -1
- package/dist/types/jsonld/Text.d.ts +0 -3
- package/dist/types/jsonld/Text.d.ts.map +0 -1
- package/dist/types/jsonld/Thing.d.ts +0 -23
- package/dist/types/jsonld/Thing.d.ts.map +0 -1
- package/dist/types/jsonld/Time.d.ts +0 -3
- package/dist/types/jsonld/Time.d.ts.map +0 -1
- package/dist/types/jsonld/URL.d.ts +0 -3
- package/dist/types/jsonld/URL.d.ts.map +0 -1
- package/dist/types/jsonld/VirtualLocation.d.ts +0 -4
- package/dist/types/jsonld/VirtualLocation.d.ts.map +0 -1
- package/dist/types/jsonld/index.d.ts +0 -48
- package/dist/types/jsonld/index.d.ts.map +0 -1
|
@@ -0,0 +1,654 @@
|
|
|
1
|
+
import { Enum, EnumValue } from '@xylabs/enum';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
|
|
4
|
+
declare const ActionStatusType: Enum<{
|
|
5
|
+
ActiveActionStatus: "ActiveActionStatus";
|
|
6
|
+
CompletedActionStatus: "CompletedActionStatus";
|
|
7
|
+
FailedActionStatus: "FailedActionStatus";
|
|
8
|
+
PotentialActionStatus: "PotentialActionStatus";
|
|
9
|
+
}>;
|
|
10
|
+
type ActionStatusType = EnumValue<typeof ActionStatusType>;
|
|
11
|
+
|
|
12
|
+
type DateTime = string;
|
|
13
|
+
|
|
14
|
+
interface Base {
|
|
15
|
+
'@type': string;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
type Text$1 = string | string[];
|
|
19
|
+
|
|
20
|
+
interface Rating extends Intangible {
|
|
21
|
+
bestRating?: number;
|
|
22
|
+
ratingExplaination?: Text$1;
|
|
23
|
+
ratingValue?: number;
|
|
24
|
+
reviewAspect?: Text$1;
|
|
25
|
+
worstRating?: number;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
interface AggregateRating extends Rating {
|
|
29
|
+
itemReviewed?: Thing;
|
|
30
|
+
ratingCount?: number;
|
|
31
|
+
reviewCount?: number;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
type Integer = number;
|
|
35
|
+
|
|
36
|
+
type Language = Intangible;
|
|
37
|
+
|
|
38
|
+
type URL$1 = string | string[];
|
|
39
|
+
|
|
40
|
+
interface MediaObject extends CreativeWork {
|
|
41
|
+
contentSize?: Text$1;
|
|
42
|
+
contentUrl?: URL$1;
|
|
43
|
+
height?: unknown;
|
|
44
|
+
width?: unknown;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
interface GeospatialGeometry extends Intangible {
|
|
48
|
+
geoContains?: Place | GeospatialGeometry;
|
|
49
|
+
geoCoveredBy?: Place | GeospatialGeometry;
|
|
50
|
+
geoCovers?: Place | GeospatialGeometry;
|
|
51
|
+
geoCrosses?: Place | GeospatialGeometry;
|
|
52
|
+
geoDisjoint?: Place | GeospatialGeometry;
|
|
53
|
+
geoEquals?: Place | GeospatialGeometry;
|
|
54
|
+
geoIntersects?: Place | GeospatialGeometry;
|
|
55
|
+
geoOverlaps?: Place | GeospatialGeometry;
|
|
56
|
+
geoTouches?: Place | GeospatialGeometry;
|
|
57
|
+
geoWithin?: Place | GeospatialGeometry;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
interface ImageObject extends MediaObject {
|
|
61
|
+
caption?: Text$1;
|
|
62
|
+
exifData?: Text$1;
|
|
63
|
+
representativeOfPage?: boolean;
|
|
64
|
+
thumbnail?: ImageObject;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
declare const MapCategoryType: Enum<{
|
|
68
|
+
ParkingMap: "ParkingMap";
|
|
69
|
+
SeatingMap: "SeatingMap";
|
|
70
|
+
TransitMap: "TransitMap";
|
|
71
|
+
VenueMap: "VenueMap";
|
|
72
|
+
}>;
|
|
73
|
+
type MapCategoryType = EnumValue<typeof MapCategoryType>;
|
|
74
|
+
|
|
75
|
+
interface Map extends CreativeWork {
|
|
76
|
+
mapType?: MapCategoryType;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
type Photograph = CreativeWork;
|
|
80
|
+
|
|
81
|
+
declare const ContactPointOption: Enum<{
|
|
82
|
+
HearingImpairedSupported: "HearingImpairedSupported";
|
|
83
|
+
TollFree: "TollFree";
|
|
84
|
+
}>;
|
|
85
|
+
type ContactPointOption = EnumValue<typeof ContactPointOption>;
|
|
86
|
+
|
|
87
|
+
type Country = AdministrativeArea;
|
|
88
|
+
|
|
89
|
+
interface GeoShape extends Thing {
|
|
90
|
+
address?: PostalAddress | Text$1;
|
|
91
|
+
addressCountry?: Country | Text$1;
|
|
92
|
+
box?: Text$1;
|
|
93
|
+
circle?: Text$1;
|
|
94
|
+
elevation?: number | Text$1;
|
|
95
|
+
line?: Text$1;
|
|
96
|
+
polygon?: Text$1;
|
|
97
|
+
postalCode?: Text$1;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
interface Review extends CreativeWork {
|
|
101
|
+
itemReviewed?: Thing;
|
|
102
|
+
reviewAspect?: Text;
|
|
103
|
+
reviewBody?: Text;
|
|
104
|
+
reviewRating?: Rating;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
interface Brand extends Intangible {
|
|
108
|
+
aggregateRating?: AggregateRating;
|
|
109
|
+
logo?: ImageObject | URL;
|
|
110
|
+
review?: Review;
|
|
111
|
+
slogan?: Text;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
interface Article extends CreativeWork {
|
|
115
|
+
articleBody?: Text$1;
|
|
116
|
+
articleSection?: Text$1;
|
|
117
|
+
backstory?: CreativeWork | Text$1;
|
|
118
|
+
pageEnd?: Integer | Text$1;
|
|
119
|
+
pageStart?: Integer | Text$1;
|
|
120
|
+
pagination?: Text$1;
|
|
121
|
+
speakable?: unknown | URL;
|
|
122
|
+
wordCount?: Integer;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
interface Person extends Thing {
|
|
126
|
+
additionalName?: string;
|
|
127
|
+
address?: string | PostalAddress;
|
|
128
|
+
affiliation?: Organization | Organization[];
|
|
129
|
+
alumniOf?: Organization | Organization[];
|
|
130
|
+
award?: string | string[];
|
|
131
|
+
birthDate?: string | Date;
|
|
132
|
+
birthPlace?: string | Place;
|
|
133
|
+
brand?: Brand | Organization;
|
|
134
|
+
callSign?: string;
|
|
135
|
+
children?: Person | Person[];
|
|
136
|
+
colleague?: Person | string | (Person | string)[];
|
|
137
|
+
contactPoint?: ContactPoint;
|
|
138
|
+
deathDate?: string | Date;
|
|
139
|
+
deathPlace?: string | Place;
|
|
140
|
+
duns?: string;
|
|
141
|
+
email?: string;
|
|
142
|
+
familyName?: string;
|
|
143
|
+
faxNumber?: string;
|
|
144
|
+
follows?: Person | Person[];
|
|
145
|
+
funder?: Organization | Person | (Organization | Person)[];
|
|
146
|
+
gender?: string;
|
|
147
|
+
givenName?: string;
|
|
148
|
+
globalLocationNumber?: string;
|
|
149
|
+
hasCredential?: unknown;
|
|
150
|
+
hasOccupation?: unknown;
|
|
151
|
+
hasOfferCatalog?: unknown;
|
|
152
|
+
hasPOS?: Place;
|
|
153
|
+
height?: unknown;
|
|
154
|
+
homeLocation?: ContactPoint | Place;
|
|
155
|
+
honorificPrefix?: string;
|
|
156
|
+
honorificSuffix?: string;
|
|
157
|
+
interactionStatistic?: unknown;
|
|
158
|
+
isicV4?: string;
|
|
159
|
+
jobTitle?: string;
|
|
160
|
+
knows?: Person | Person[];
|
|
161
|
+
knowsAbout?: string | Thing | (string | Thing)[];
|
|
162
|
+
knowsLanguage?: Language | string | (Language | string)[];
|
|
163
|
+
makesOffer?: Offer | Offer[];
|
|
164
|
+
memberOf?: Organization | unknown | (Organization | unknown)[];
|
|
165
|
+
naics?: string;
|
|
166
|
+
nationality?: Country;
|
|
167
|
+
netWorth?: unknown;
|
|
168
|
+
owns?: Product | unknown | (Product | unknown)[];
|
|
169
|
+
parent?: Person | Person[];
|
|
170
|
+
performerIn?: Event | CreativeWork | string | (Event | CreativeWork | string)[];
|
|
171
|
+
publishingPrinciples?: CreativeWork | string;
|
|
172
|
+
relatedTo?: Person | Person[];
|
|
173
|
+
seeks?: unknown;
|
|
174
|
+
sibling?: Person | Person[];
|
|
175
|
+
sponsor?: Organization | Person | (Organization | Person)[];
|
|
176
|
+
spouse?: Person;
|
|
177
|
+
taxID?: string;
|
|
178
|
+
telephone?: string;
|
|
179
|
+
vatID?: string;
|
|
180
|
+
weight?: unknown;
|
|
181
|
+
workLocation?: ContactPoint | Place | (ContactPoint | Place)[];
|
|
182
|
+
worksFor?: Organization | Organization[];
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
interface Property extends Intangible {
|
|
186
|
+
domainIncludes?: Class;
|
|
187
|
+
inverseOf?: Property;
|
|
188
|
+
rangeIncludes?: Class;
|
|
189
|
+
supersededBy?: Class | Enumeration | Property;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
interface Class extends Intangible {
|
|
193
|
+
supersededBy?: Class | Enumeration | Property;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
interface Enumeration extends Intangible {
|
|
197
|
+
supersededBy?: Class | Enumeration | Property;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
type StructuredValue = Intangible;
|
|
201
|
+
|
|
202
|
+
interface QualitativeValue extends Enumeration {
|
|
203
|
+
additionalProperty?: PropertyValue;
|
|
204
|
+
equal?: QualitativeValue;
|
|
205
|
+
greater?: QualitativeValue;
|
|
206
|
+
greaterOrEqual?: QualitativeValue;
|
|
207
|
+
lesser?: QualitativeValue;
|
|
208
|
+
lesserOrEqual?: QualitativeValue;
|
|
209
|
+
nonEqual?: QualitativeValue;
|
|
210
|
+
valueReference?: Enumeration | PropertyValue | QualitativeValue | QuantitativeValue | StructuredValue;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
interface PropertyValue extends StructuredValue {
|
|
214
|
+
maxValue?: number;
|
|
215
|
+
measurementTechnique?: string | URL$1;
|
|
216
|
+
minValue?: number;
|
|
217
|
+
propertyId?: string | URL$1;
|
|
218
|
+
unitCode?: string | URL$1;
|
|
219
|
+
unitText?: string;
|
|
220
|
+
value?: boolean | number | StructuredValue | string;
|
|
221
|
+
valueReference?: Enumeration | PropertyValue | QualitativeValue | QuantitativeValue | StructuredValue;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
interface QuantitativeValue extends Enumeration {
|
|
225
|
+
additionalProperty?: PropertyValue;
|
|
226
|
+
maxValue?: number;
|
|
227
|
+
minValue?: number;
|
|
228
|
+
unitCode?: string | URL$1;
|
|
229
|
+
unitText?: string;
|
|
230
|
+
value?: boolean | number | StructuredValue | string;
|
|
231
|
+
valueReference?: Enumeration | PropertyValue | QualitativeValue | QuantitativeValue | StructuredValue;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
type VirtualLocation = Thing;
|
|
235
|
+
|
|
236
|
+
interface Organization extends Thing {
|
|
237
|
+
actionableFeedbackPolicy?: CreativeWork | URL;
|
|
238
|
+
address?: PostalAddress | Text$1;
|
|
239
|
+
aggregateRating?: AggregateRating;
|
|
240
|
+
alumni?: Person;
|
|
241
|
+
areaServed?: AdministrativeArea | GeoShape | Place | Text$1;
|
|
242
|
+
award?: Text$1;
|
|
243
|
+
brand?: Brand;
|
|
244
|
+
contactPoint?: ContactPoint;
|
|
245
|
+
correctionsPolicy?: CreativeWork | URL;
|
|
246
|
+
department?: Organization;
|
|
247
|
+
dissolutionDate?: DateTime;
|
|
248
|
+
diversityPolicy?: CreativeWork | URL;
|
|
249
|
+
diversityStaffingReport?: Article | URL;
|
|
250
|
+
duns?: Text$1;
|
|
251
|
+
email?: Text$1;
|
|
252
|
+
employee?: Person | Person[];
|
|
253
|
+
ethicsPolicy?: CreativeWork | URL;
|
|
254
|
+
event?: Event;
|
|
255
|
+
faxNumber?: Text$1;
|
|
256
|
+
founder?: Person | Text$1;
|
|
257
|
+
founders?: (Person | Text$1)[];
|
|
258
|
+
foundingDate?: DateTime;
|
|
259
|
+
foundingLocation?: Place;
|
|
260
|
+
funder?: Organization | Person;
|
|
261
|
+
globalLocationNumber?: Text$1;
|
|
262
|
+
hasCredential?: unknown;
|
|
263
|
+
hasMerchantReturnPolicy?: unknown;
|
|
264
|
+
hasOfferCatalog?: unknown;
|
|
265
|
+
hasPOS?: Place;
|
|
266
|
+
interactionStatistic?: unknown;
|
|
267
|
+
isicV4?: Text$1;
|
|
268
|
+
knowsAbout?: Text$1 | Thing | URL;
|
|
269
|
+
knowsLanguage?: Language | Text$1;
|
|
270
|
+
legalName?: Text$1;
|
|
271
|
+
location?: Place | PostalAddress | Text$1 | VirtualLocation;
|
|
272
|
+
logo?: unknown;
|
|
273
|
+
makesOffer?: Offer;
|
|
274
|
+
member?: Organization | Person;
|
|
275
|
+
memberOf?: Organization | unknown;
|
|
276
|
+
naics?: Text$1;
|
|
277
|
+
nonprofitStatus?: unknown;
|
|
278
|
+
numberOfEmployees?: QuantitativeValue;
|
|
279
|
+
ownershipFundingInfo?: unknown | CreativeWork | Text$1 | URL;
|
|
280
|
+
owns?: unknown | Product;
|
|
281
|
+
parentOrganization?: Organization;
|
|
282
|
+
publishingPrinciples?: CreativeWork | URL;
|
|
283
|
+
review?: Review;
|
|
284
|
+
seeks?: unknown;
|
|
285
|
+
slogan?: Text$1;
|
|
286
|
+
sponsor?: Organization | Person;
|
|
287
|
+
subOrganization?: Organization;
|
|
288
|
+
taxID?: Text$1;
|
|
289
|
+
telephone?: Text$1;
|
|
290
|
+
unnamedSourcesPolicy?: CreativeWork | URL;
|
|
291
|
+
vatID?: Text$1;
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
interface Service extends Intangible {
|
|
295
|
+
aggregateRating?: AggregateRating;
|
|
296
|
+
areaServed?: AdministrativeArea | GeoShape | Place | Text$1;
|
|
297
|
+
audience?: unknown;
|
|
298
|
+
availableChannel?: unknown;
|
|
299
|
+
award?: Text$1;
|
|
300
|
+
brand?: unknown | Organization;
|
|
301
|
+
broker?: Organization | Person;
|
|
302
|
+
category?: unknown | Text$1 | Thing | URL$1;
|
|
303
|
+
hasOfferCatalog?: unknown;
|
|
304
|
+
hoursAvailable?: unknown;
|
|
305
|
+
isRelatedTo?: Product | Service;
|
|
306
|
+
isSimilarTo?: Product | Service;
|
|
307
|
+
logo?: ImageObject | URL$1;
|
|
308
|
+
offers?: Offer[];
|
|
309
|
+
provider?: Organization | Person;
|
|
310
|
+
providerMobility?: Text$1;
|
|
311
|
+
review?: Review;
|
|
312
|
+
serviceOutput?: Thing;
|
|
313
|
+
serviceType?: unknown | Text$1;
|
|
314
|
+
slogan?: Text$1;
|
|
315
|
+
termsOfService?: Text$1 | URL$1;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
interface Product extends Thing {
|
|
319
|
+
additionalProperty?: PropertyValue;
|
|
320
|
+
aggregateRating?: AggregateRating;
|
|
321
|
+
audience?: unknown;
|
|
322
|
+
award?: Text$1;
|
|
323
|
+
brand?: Brand | Organization;
|
|
324
|
+
category?: unknown | Text$1 | Thing | URL$1;
|
|
325
|
+
color?: Text$1;
|
|
326
|
+
depth?: unknown | QuantitativeValue;
|
|
327
|
+
gtin?: Text$1;
|
|
328
|
+
gtin12?: Text$1;
|
|
329
|
+
gtin13?: Text$1;
|
|
330
|
+
gtin14?: Text$1;
|
|
331
|
+
gtin8?: Text$1;
|
|
332
|
+
hasEnergyConsumptionDetails?: unknown;
|
|
333
|
+
hasMerchantReturnPolicy?: unknown;
|
|
334
|
+
height?: unknown | QuantitativeValue;
|
|
335
|
+
inAccessoryOrSparePartFor?: Product;
|
|
336
|
+
inProductGroupWithId?: Text$1;
|
|
337
|
+
isConsumableFor?: Product;
|
|
338
|
+
isRelatedTo?: Product | Service;
|
|
339
|
+
isSimilarTo?: Product | Service;
|
|
340
|
+
isVariantOf?: unknown;
|
|
341
|
+
itemCondition?: unknown;
|
|
342
|
+
logo?: ImageObject | URL$1;
|
|
343
|
+
manufacturer?: Organization;
|
|
344
|
+
material?: Product | Text$1 | URL$1;
|
|
345
|
+
model?: unknown | Text$1;
|
|
346
|
+
mpn?: Text$1;
|
|
347
|
+
nsn?: Text$1;
|
|
348
|
+
offers?: Offer[];
|
|
349
|
+
pattern?: unknown | Text$1;
|
|
350
|
+
productID?: Text$1;
|
|
351
|
+
productionDate?: DateTime;
|
|
352
|
+
purchaseDate?: DateTime;
|
|
353
|
+
review?: Review;
|
|
354
|
+
size?: unknown | QuantitativeValue | Text$1;
|
|
355
|
+
sku?: Text$1;
|
|
356
|
+
slogan?: Text$1;
|
|
357
|
+
weight?: QuantitativeValue;
|
|
358
|
+
width?: unknown | QuantitativeValue;
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
interface ContactPoint extends Thing {
|
|
362
|
+
areaServed?: AdministrativeArea | GeoShape | Place | Text$1;
|
|
363
|
+
availableLanguages?: Language | Text$1;
|
|
364
|
+
contactOption?: ContactPointOption;
|
|
365
|
+
contactType?: Text$1;
|
|
366
|
+
email?: Text$1;
|
|
367
|
+
hoursAvailable?: unknown;
|
|
368
|
+
productsSupported?: Product | Text$1;
|
|
369
|
+
telephone?: Text$1;
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
interface PostalAddress extends ContactPoint {
|
|
373
|
+
addressCountry?: Country | Text$1;
|
|
374
|
+
addressLocality?: Text$1;
|
|
375
|
+
addressRegion?: Text$1;
|
|
376
|
+
postOfficeBoxNumber?: Text$1;
|
|
377
|
+
postalCode?: Text$1;
|
|
378
|
+
streetAddress?: Text$1;
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
interface Place extends Thing, GeospatialGeometry {
|
|
382
|
+
additionalProperty?: PropertyValue;
|
|
383
|
+
address?: PostalAddress | Text$1;
|
|
384
|
+
aggregateRating?: AggregateRating;
|
|
385
|
+
amenityFeature?: unknown;
|
|
386
|
+
branchCode?: Text$1;
|
|
387
|
+
containedInPlace?: Place;
|
|
388
|
+
containsPlace?: Place;
|
|
389
|
+
event?: Event;
|
|
390
|
+
geo?: unknown;
|
|
391
|
+
geoLocationNumber?: Text$1;
|
|
392
|
+
hasDriveThroughService?: boolean;
|
|
393
|
+
hasMap?: Map | URL$1;
|
|
394
|
+
isAccessibleForFree?: boolean;
|
|
395
|
+
isicV4?: Text$1;
|
|
396
|
+
latitude?: number | Text$1;
|
|
397
|
+
logo?: ImageObject | URL$1;
|
|
398
|
+
longitude?: number | Text$1;
|
|
399
|
+
maximumAttendeeCapacity?: Integer;
|
|
400
|
+
openingHoursSpecification?: unknown;
|
|
401
|
+
photo?: ImageObject | Photograph;
|
|
402
|
+
publicAccess?: boolean;
|
|
403
|
+
review?: Review;
|
|
404
|
+
slogan?: Text$1;
|
|
405
|
+
smokingAllowed?: boolean;
|
|
406
|
+
specialOpeningHoursSpecification?: unknown;
|
|
407
|
+
telephone?: Text$1;
|
|
408
|
+
tourBookingPage?: URL$1;
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
type AdministrativeArea = Place;
|
|
412
|
+
|
|
413
|
+
declare const ItemAvailability: Enum<{
|
|
414
|
+
Discontinued: "https://schema.org/Discontinued";
|
|
415
|
+
InStock: "https://schema.org/InStock";
|
|
416
|
+
InStoreOnly: "https://schema.org/InStoreOnly";
|
|
417
|
+
LimitedAvailability: "https://schema.org/LimitedAvailability";
|
|
418
|
+
OnlineOnly: "https://schema.org/OnlineOnly";
|
|
419
|
+
OutOfStock: "https://schema.org/OutOfStock";
|
|
420
|
+
PreOrder: "https://schema.org/PreOrder";
|
|
421
|
+
PreSale: "https://schema.org/PreSale";
|
|
422
|
+
SoldOut: "https://schema.org/SoldOut";
|
|
423
|
+
}>;
|
|
424
|
+
type ItemAvailability = EnumValue<typeof ItemAvailability>;
|
|
425
|
+
|
|
426
|
+
type Time = string;
|
|
427
|
+
|
|
428
|
+
interface Offer extends Intangible {
|
|
429
|
+
acceptedPaymentMethod?: unknown;
|
|
430
|
+
addOn?: Offer;
|
|
431
|
+
advanceBookingRequirement?: QuantitativeValue;
|
|
432
|
+
aggrigateRating?: AggregateRating;
|
|
433
|
+
areaServed?: AdministrativeArea | GeoShape | Place | Text$1;
|
|
434
|
+
availability?: ItemAvailability;
|
|
435
|
+
availabilityAtOrFrom?: Place;
|
|
436
|
+
availabilityEnds?: DateTime | Time;
|
|
437
|
+
availabilityStarts?: DateTime | Time;
|
|
438
|
+
availableDeliveryMethod?: unknown;
|
|
439
|
+
businessFunction?: unknown;
|
|
440
|
+
category?: unknown | Text$1 | Thing | URL$1;
|
|
441
|
+
deliveryLeadTime?: QuantitativeValue;
|
|
442
|
+
eligibleCustomerType?: unknown;
|
|
443
|
+
eligibleDuration?: QuantitativeValue;
|
|
444
|
+
eligibleQuantity?: QuantitativeValue;
|
|
445
|
+
eligibleRegion?: GeoShape | Place | Text$1;
|
|
446
|
+
eligibleTransactionVolume?: unknown;
|
|
447
|
+
gtin?: Text$1;
|
|
448
|
+
gtin12?: Text$1;
|
|
449
|
+
gtin13?: Text$1;
|
|
450
|
+
gtin14?: Text$1;
|
|
451
|
+
gtin8?: Text$1;
|
|
452
|
+
includesObject?: unknown;
|
|
453
|
+
ineligibleRegion?: GeoShape | Place | Text$1;
|
|
454
|
+
inventoryLevel?: QuantitativeValue;
|
|
455
|
+
itemCondition?: unknown;
|
|
456
|
+
itemOffered?: unknown | CreativeWork | Event | unknown | Product | Service | unknown;
|
|
457
|
+
leaseLength?: unknown | QuantitativeValue;
|
|
458
|
+
mpn?: Text$1;
|
|
459
|
+
offeredBy?: Organization | Person;
|
|
460
|
+
price?: number | Text$1;
|
|
461
|
+
priceCurrency?: Text$1;
|
|
462
|
+
priceSpecification?: unknown;
|
|
463
|
+
priceValidUntil?: DateTime;
|
|
464
|
+
review?: Review;
|
|
465
|
+
seller?: Organization | Person;
|
|
466
|
+
serialNumber?: Text$1;
|
|
467
|
+
shippingDetails?: unknown;
|
|
468
|
+
sku?: Text$1;
|
|
469
|
+
validFrom?: DateTime;
|
|
470
|
+
validThrough?: DateTime;
|
|
471
|
+
warranty?: unknown;
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
interface CreativeWork extends Thing {
|
|
475
|
+
about?: Thing;
|
|
476
|
+
abstract?: Text$1;
|
|
477
|
+
accessMode?: Text$1;
|
|
478
|
+
accessModeSufficient?: unknown;
|
|
479
|
+
accessibilityAPI?: Text$1;
|
|
480
|
+
accessibilityControl?: Text$1;
|
|
481
|
+
accessibilityFeature?: Text$1;
|
|
482
|
+
accessibilityHazard?: Text$1;
|
|
483
|
+
accessibilitySummary?: Text$1;
|
|
484
|
+
accountablePerson?: Person;
|
|
485
|
+
acquireLicensePage?: CreativeWork | URL$1;
|
|
486
|
+
aggregateRating?: AggregateRating;
|
|
487
|
+
alternativeHeading?: Text$1;
|
|
488
|
+
assesses?: unknown | Text$1;
|
|
489
|
+
associatedMedia?: MediaObject;
|
|
490
|
+
audience?: unknown;
|
|
491
|
+
audio?: unknown | unknown | unknown;
|
|
492
|
+
author?: Organization | Person;
|
|
493
|
+
award?: Text$1;
|
|
494
|
+
character?: Person;
|
|
495
|
+
citation?: CreativeWork | Text$1;
|
|
496
|
+
comment?: unknown;
|
|
497
|
+
commentCount?: Integer;
|
|
498
|
+
conditionsOfAccess?: Text$1;
|
|
499
|
+
contentLocation?: Place;
|
|
500
|
+
contentRating?: Rating | Text$1;
|
|
501
|
+
contentReferenceTime?: DateTime;
|
|
502
|
+
contributor?: Organization | Person;
|
|
503
|
+
copyrightHolder?: Organization | Person;
|
|
504
|
+
copyrightNotice?: Text$1;
|
|
505
|
+
copyrightYear?: number;
|
|
506
|
+
correction?: unknown | Text$1 | URL$1;
|
|
507
|
+
creativeWorkStatus?: unknown | Text$1;
|
|
508
|
+
creator?: Organization | Person;
|
|
509
|
+
creditText?: Text$1;
|
|
510
|
+
dateCreated?: DateTime;
|
|
511
|
+
dateModified?: DateTime;
|
|
512
|
+
datePublished?: DateTime;
|
|
513
|
+
discussionUrl?: URL$1;
|
|
514
|
+
editEIDR?: Text$1 | URL$1;
|
|
515
|
+
editor?: Person;
|
|
516
|
+
educationalAlignment?: unknown;
|
|
517
|
+
educationalLevel?: unknown | Text$1 | URL$1;
|
|
518
|
+
educationalUse?: unknown | Text$1;
|
|
519
|
+
encoding?: MediaObject;
|
|
520
|
+
encodingFormat?: Text$1 | URL$1;
|
|
521
|
+
exampleOfWork?: CreativeWork;
|
|
522
|
+
expires?: DateTime;
|
|
523
|
+
funder?: Organization | Person;
|
|
524
|
+
genre?: Text$1 | URL$1;
|
|
525
|
+
hasPart?: CreativeWork;
|
|
526
|
+
headline?: Text$1;
|
|
527
|
+
inLanguage?: Language | Text$1;
|
|
528
|
+
interactionStatistic?: unknown;
|
|
529
|
+
interactiveityType?: Text$1;
|
|
530
|
+
isAccessibleForFree?: boolean;
|
|
531
|
+
isBasedOn?: CreativeWork | Product | URL$1;
|
|
532
|
+
isFamilyFriendly?: boolean;
|
|
533
|
+
isPartOf?: CreativeWork | URL$1;
|
|
534
|
+
keywords?: unknown | Text$1 | URL$1;
|
|
535
|
+
learningResourceType?: unknown | Text$1;
|
|
536
|
+
license?: CreativeWork | URL$1;
|
|
537
|
+
locationCreated?: Place;
|
|
538
|
+
mainEntry?: Thing;
|
|
539
|
+
maintainer?: Organization | Person;
|
|
540
|
+
material?: Product | Text$1 | URL$1;
|
|
541
|
+
materialExtent?: QuantitativeValue | Text$1;
|
|
542
|
+
mentions?: Thing;
|
|
543
|
+
offers?: unknown | Offer[];
|
|
544
|
+
pattern?: unknown | Text$1;
|
|
545
|
+
position?: Integer | Text$1;
|
|
546
|
+
producer?: Organization | Person;
|
|
547
|
+
provider?: Organization | Person;
|
|
548
|
+
publication?: unknown;
|
|
549
|
+
publisher?: Organization | Person;
|
|
550
|
+
publisherImprint?: Organization;
|
|
551
|
+
publishingPrinciples?: CreativeWork | URL$1;
|
|
552
|
+
recordedAt?: Event;
|
|
553
|
+
releasedEvent?: unknown;
|
|
554
|
+
review?: Review;
|
|
555
|
+
schemaVersion?: Text$1 | URL$1;
|
|
556
|
+
sdDatePublished?: DateTime;
|
|
557
|
+
sdLicense?: CreativeWork | URL$1;
|
|
558
|
+
sdPublisher?: Organization | Person;
|
|
559
|
+
size?: unknown | QuantitativeValue | Text$1;
|
|
560
|
+
sourceOrganization?: Organization;
|
|
561
|
+
spatial?: Place;
|
|
562
|
+
spatialCoverage?: Place;
|
|
563
|
+
sponsor?: Organization | Person;
|
|
564
|
+
teaches?: unknown | Text$1;
|
|
565
|
+
temporal?: DateTime | Text$1;
|
|
566
|
+
temporalCoverage?: DateTime | Text$1 | URL$1;
|
|
567
|
+
text?: Text$1;
|
|
568
|
+
thumbnailUrl?: URL$1;
|
|
569
|
+
timeRequired?: unknown;
|
|
570
|
+
translationOfWork?: CreativeWork;
|
|
571
|
+
translator?: Organization | Person;
|
|
572
|
+
typicalAgeRange?: Text$1;
|
|
573
|
+
usageInfo?: CreativeWork | URL$1;
|
|
574
|
+
version?: number | Text$1;
|
|
575
|
+
video?: unknown;
|
|
576
|
+
workExample?: CreativeWork;
|
|
577
|
+
workTranslation?: CreativeWork;
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
interface Thing extends Base {
|
|
581
|
+
additionalType?: URL$1;
|
|
582
|
+
alternateName?: Text$1;
|
|
583
|
+
description?: Text$1;
|
|
584
|
+
disambiguatingDescription?: Text$1;
|
|
585
|
+
identifier?: PropertyValue | Text$1 | URL$1;
|
|
586
|
+
image?: ImageObject | URL$1;
|
|
587
|
+
mainIdentityOfPage?: CreativeWork | URL$1;
|
|
588
|
+
name?: Text$1;
|
|
589
|
+
potentialAction?: Action;
|
|
590
|
+
sameAs?: URL$1;
|
|
591
|
+
subjectOf?: CreativeWork | Event;
|
|
592
|
+
url?: URL$1;
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
type Intangible = Thing;
|
|
596
|
+
|
|
597
|
+
interface SoftwareApplication extends CreativeWork {
|
|
598
|
+
applicationCategory?: Text$1 | URL$1;
|
|
599
|
+
applicationSubCategory?: Text$1 | URL$1;
|
|
600
|
+
applicationSuite?: Text$1;
|
|
601
|
+
availableOnDevice?: Text$1;
|
|
602
|
+
countriesNotSupported?: Text$1;
|
|
603
|
+
countriesSupported?: Text$1;
|
|
604
|
+
downloadUrl?: URL$1;
|
|
605
|
+
featureList?: Text$1 | URL$1;
|
|
606
|
+
installUrl?: URL$1;
|
|
607
|
+
memoryRequirements?: Text$1 | URL$1;
|
|
608
|
+
operatingSystem?: Text$1;
|
|
609
|
+
permissions?: Text$1;
|
|
610
|
+
processorRequiremewnts?: Text$1;
|
|
611
|
+
releaseNotes?: Text$1 | URL$1;
|
|
612
|
+
screenshot?: ImageObject | URL$1;
|
|
613
|
+
softwareAddOn?: SoftwareApplication;
|
|
614
|
+
softwareHelp?: CreativeWork;
|
|
615
|
+
softwareRequirements?: Text$1 | URL$1;
|
|
616
|
+
softwareVersion?: Text$1;
|
|
617
|
+
storageRequirements?: Text$1 | URL$1;
|
|
618
|
+
supportingData?: unknown;
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
interface EntryPoint extends Intangible {
|
|
622
|
+
actionApplication?: SoftwareApplication;
|
|
623
|
+
actionPlatform?: Text$1 | URL$1;
|
|
624
|
+
contentType?: Text$1;
|
|
625
|
+
encodingType?: Text$1;
|
|
626
|
+
httpMethod?: Text$1;
|
|
627
|
+
urlTemplate?: Text$1;
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
interface Action extends Thing {
|
|
631
|
+
actionStatus?: ActionStatusType;
|
|
632
|
+
agent?: Organization | Person;
|
|
633
|
+
endTime?: DateTime | Time;
|
|
634
|
+
error?: Thing;
|
|
635
|
+
instrument?: Thing;
|
|
636
|
+
location?: Place | PostalAddress | string | VirtualLocation;
|
|
637
|
+
object?: Thing;
|
|
638
|
+
participant?: Organization | Person;
|
|
639
|
+
result?: Thing;
|
|
640
|
+
startTime?: DateTime | Time;
|
|
641
|
+
target?: EntryPoint;
|
|
642
|
+
}
|
|
643
|
+
|
|
644
|
+
interface MobileApplication extends SoftwareApplication {
|
|
645
|
+
carrierRequirements?: Text$1;
|
|
646
|
+
}
|
|
647
|
+
|
|
648
|
+
interface RichResultProps {
|
|
649
|
+
thing: Thing;
|
|
650
|
+
}
|
|
651
|
+
declare const RichResult: React.FC<RichResultProps>;
|
|
652
|
+
|
|
653
|
+
export { ActionStatusType, ContactPointOption, ItemAvailability, MapCategoryType, RichResult };
|
|
654
|
+
export type { Action, AdministrativeArea, AggregateRating, Article, Base, Brand, Class, ContactPoint, Country, CreativeWork, DateTime, EntryPoint, Enumeration, GeoShape, GeospatialGeometry, ImageObject, Intangible, Integer, Language, Map, MediaObject, MobileApplication, Offer, Organization, Person, Photograph, Place, PostalAddress, Product, Property, PropertyValue, QualitativeValue, QuantitativeValue, Rating, Review, RichResultProps, Service, SoftwareApplication, StructuredValue, Text$1 as Text, Thing, Time, URL$1 as URL, VirtualLocation };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xylabs/react-rich-result",
|
|
3
|
-
"version": "6.3.
|
|
3
|
+
"version": "6.3.9",
|
|
4
4
|
"description": "Common React library for all XY Labs projects that use React",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"utility",
|
|
@@ -26,24 +26,24 @@
|
|
|
26
26
|
"type": "module",
|
|
27
27
|
"exports": {
|
|
28
28
|
".": {
|
|
29
|
-
"types": "./dist/
|
|
29
|
+
"types": "./dist/browser/index.d.ts",
|
|
30
30
|
"default": "./dist/browser/index.mjs"
|
|
31
31
|
},
|
|
32
32
|
"./package.json": "./package.json"
|
|
33
33
|
},
|
|
34
34
|
"module": "./dist/browser/index.mjs",
|
|
35
|
-
"types": "dist/
|
|
35
|
+
"types": "dist/browser/index.d.ts",
|
|
36
36
|
"workspaces": [
|
|
37
37
|
"packages/*"
|
|
38
38
|
],
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@xylabs/enum": "^4.
|
|
40
|
+
"@xylabs/enum": "^4.13.4"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@types/react": "^19.1.8",
|
|
44
|
-
"@xylabs/ts-scripts-yarn3": "^
|
|
45
|
-
"@xylabs/tsconfig-react": "^
|
|
46
|
-
"knip": "^5.61.
|
|
44
|
+
"@xylabs/ts-scripts-yarn3": "^7.0.0-rc.8",
|
|
45
|
+
"@xylabs/tsconfig-react": "^7.0.0-rc.8",
|
|
46
|
+
"knip": "^5.61.3",
|
|
47
47
|
"react": "^19.1.0",
|
|
48
48
|
"typescript": "^5.8.3"
|
|
49
49
|
},
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RichResult.d.ts","sourceRoot":"","sources":["../../src/RichResult.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,KAAK,EAAQ,KAAK,EAAE,MAAM,mBAAmB,CAAA;AAMpD,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,KAAK,CAAA;CACb;AAED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAKhD,CAAA"}
|
package/dist/types/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA;AACjC,cAAc,kBAAkB,CAAA"}
|