@xylabs/react-rich-result 7.1.17 → 7.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/README.md +6 -46
- package/dist/browser/index.mjs +1 -2
- package/dist/browser/index.mjs.map +1 -1
- package/package.json +30 -19
- package/src/RichResult.tsx +0 -18
- package/src/index.ts +0 -2
- package/src/jsonld/Action.ts +0 -26
- package/src/jsonld/ActionStatusType.ts +0 -11
- package/src/jsonld/AdministrativeArea.ts +0 -5
- package/src/jsonld/AggregateRating.ts +0 -10
- package/src/jsonld/Article.ts +0 -16
- package/src/jsonld/Base.ts +0 -5
- package/src/jsonld/Brand.ts +0 -11
- package/src/jsonld/Class.ts +0 -9
- package/src/jsonld/ContactPoint.ts +0 -21
- package/src/jsonld/ContactPointOption.ts +0 -9
- package/src/jsonld/Country.ts +0 -5
- package/src/jsonld/CreativeWork.ts +0 -125
- package/src/jsonld/DateTime.ts +0 -3
- package/src/jsonld/EntryPoint.ts +0 -15
- package/src/jsonld/Enumeration.ts +0 -9
- package/src/jsonld/GeoShape.ts +0 -17
- package/src/jsonld/GeospatialGeometry.ts +0 -17
- package/src/jsonld/ImageObject.ts +0 -11
- package/src/jsonld/Intangible.ts +0 -5
- package/src/jsonld/Integer.ts +0 -3
- package/src/jsonld/ItemAvailability.ts +0 -25
- package/src/jsonld/Language.ts +0 -5
- package/src/jsonld/Map.ts +0 -8
- package/src/jsonld/MapCategoryType.ts +0 -11
- package/src/jsonld/MediaObject.ts +0 -12
- package/src/jsonld/MobileApplication.ts +0 -8
- package/src/jsonld/Offer.ts +0 -66
- package/src/jsonld/Organization.ts +0 -80
- package/src/jsonld/Person.ts +0 -73
- package/src/jsonld/Photograph.ts +0 -5
- package/src/jsonld/Place.ts +0 -44
- package/src/jsonld/PostalAddress.ts +0 -14
- package/src/jsonld/Product.ts +0 -59
- package/src/jsonld/Property.ts +0 -12
- package/src/jsonld/PropertyValue.ts +0 -18
- package/src/jsonld/QualitativeValue.ts +0 -17
- package/src/jsonld/QuantitativeValue.ts +0 -17
- package/src/jsonld/Rating.ts +0 -12
- package/src/jsonld/Review.ts +0 -12
- package/src/jsonld/Service.ts +0 -41
- package/src/jsonld/SoftwareApplication.ts +0 -31
- package/src/jsonld/StructuredValue.ts +0 -5
- package/src/jsonld/Text.ts +0 -3
- package/src/jsonld/Thing.ts +0 -24
- package/src/jsonld/Time.ts +0 -3
- package/src/jsonld/URL.ts +0 -3
- package/src/jsonld/VirtualLocation.ts +0 -5
- package/src/jsonld/index.ts +0 -47
package/src/jsonld/Offer.ts
DELETED
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import type { AdministrativeArea } from './AdministrativeArea.ts'
|
|
2
|
-
import type { AggregateRating } from './AggregateRating.ts'
|
|
3
|
-
import type { CreativeWork } from './CreativeWork.ts'
|
|
4
|
-
import type { DateTime } from './DateTime.ts'
|
|
5
|
-
import type { GeoShape } from './GeoShape.ts'
|
|
6
|
-
import type { Intangible } from './Intangible.ts'
|
|
7
|
-
import type { ItemAvailability } from './ItemAvailability.ts'
|
|
8
|
-
import type { Organization } from './Organization.ts'
|
|
9
|
-
import type { Person } from './Person.ts'
|
|
10
|
-
import type { Place } from './Place.ts'
|
|
11
|
-
import type { Product } from './Product.ts'
|
|
12
|
-
import type { QuantitativeValue } from './QuantitativeValue.ts'
|
|
13
|
-
import type { Review } from './Review.ts'
|
|
14
|
-
import type { Service } from './Service.ts'
|
|
15
|
-
import type { Text } from './Text.ts'
|
|
16
|
-
import type { Thing } from './Thing.ts'
|
|
17
|
-
import type { Time } from './Time.ts'
|
|
18
|
-
import type { URL } from './URL.ts'
|
|
19
|
-
|
|
20
|
-
interface Offer extends Intangible {
|
|
21
|
-
acceptedPaymentMethod?: unknown
|
|
22
|
-
addOn?: Offer
|
|
23
|
-
advanceBookingRequirement?: QuantitativeValue
|
|
24
|
-
aggrigateRating?: AggregateRating
|
|
25
|
-
areaServed?: AdministrativeArea | GeoShape | Place | Text
|
|
26
|
-
availability?: ItemAvailability
|
|
27
|
-
availabilityAtOrFrom?: Place
|
|
28
|
-
availabilityEnds?: DateTime | Time
|
|
29
|
-
availabilityStarts?: DateTime | Time
|
|
30
|
-
availableDeliveryMethod?: unknown
|
|
31
|
-
businessFunction?: unknown
|
|
32
|
-
category?: unknown | Text | Thing | URL
|
|
33
|
-
deliveryLeadTime?: QuantitativeValue
|
|
34
|
-
eligibleCustomerType?: unknown
|
|
35
|
-
eligibleDuration?: QuantitativeValue
|
|
36
|
-
eligibleQuantity?: QuantitativeValue
|
|
37
|
-
eligibleRegion?: GeoShape | Place | Text
|
|
38
|
-
eligibleTransactionVolume?: unknown
|
|
39
|
-
gtin?: Text
|
|
40
|
-
gtin12?: Text
|
|
41
|
-
gtin13?: Text
|
|
42
|
-
gtin14?: Text
|
|
43
|
-
gtin8?: Text
|
|
44
|
-
includesObject?: unknown
|
|
45
|
-
ineligibleRegion?: GeoShape | Place | Text
|
|
46
|
-
inventoryLevel?: QuantitativeValue
|
|
47
|
-
itemCondition?: unknown
|
|
48
|
-
itemOffered?: unknown | CreativeWork | Event | unknown | Product | Service | unknown
|
|
49
|
-
leaseLength?: unknown | QuantitativeValue
|
|
50
|
-
mpn?: Text
|
|
51
|
-
offeredBy?: Organization | Person
|
|
52
|
-
price?: number | Text
|
|
53
|
-
priceCurrency?: Text
|
|
54
|
-
priceSpecification?: unknown
|
|
55
|
-
priceValidUntil?: DateTime
|
|
56
|
-
review?: Review
|
|
57
|
-
seller?: Organization | Person
|
|
58
|
-
serialNumber?: Text
|
|
59
|
-
shippingDetails?: unknown
|
|
60
|
-
sku?: Text
|
|
61
|
-
validFrom?: DateTime
|
|
62
|
-
validThrough?: DateTime
|
|
63
|
-
warranty?: unknown
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
export type { Offer }
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
import type { AdministrativeArea } from './AdministrativeArea.ts'
|
|
2
|
-
import type { AggregateRating } from './AggregateRating.ts'
|
|
3
|
-
import type { Article } from './Article.ts'
|
|
4
|
-
import type { Brand } from './Brand.ts'
|
|
5
|
-
import type { ContactPoint } from './ContactPoint.ts'
|
|
6
|
-
import type { CreativeWork } from './CreativeWork.ts'
|
|
7
|
-
import type { DateTime } from './DateTime.ts'
|
|
8
|
-
import type { GeoShape } from './GeoShape.ts'
|
|
9
|
-
import type { Language } from './Language.ts'
|
|
10
|
-
import type { Offer } from './Offer.ts'
|
|
11
|
-
import type { Person } from './Person.ts'
|
|
12
|
-
import type { Place } from './Place.ts'
|
|
13
|
-
import type { PostalAddress } from './PostalAddress.ts'
|
|
14
|
-
import type { Product } from './Product.ts'
|
|
15
|
-
import type { QuantitativeValue } from './QuantitativeValue.ts'
|
|
16
|
-
import type { Review } from './Review.ts'
|
|
17
|
-
import type { Text } from './Text.ts'
|
|
18
|
-
import type { Thing } from './Thing.ts'
|
|
19
|
-
import type { VirtualLocation } from './VirtualLocation.ts'
|
|
20
|
-
|
|
21
|
-
// TODO: Resolve Anys
|
|
22
|
-
interface Organization extends Thing {
|
|
23
|
-
actionableFeedbackPolicy?: CreativeWork | URL
|
|
24
|
-
address?: PostalAddress | Text
|
|
25
|
-
aggregateRating?: AggregateRating
|
|
26
|
-
alumni?: Person
|
|
27
|
-
areaServed?: AdministrativeArea | GeoShape | Place | Text
|
|
28
|
-
award?: Text
|
|
29
|
-
brand?: Brand
|
|
30
|
-
contactPoint?: ContactPoint
|
|
31
|
-
correctionsPolicy?: CreativeWork | URL
|
|
32
|
-
department?: Organization
|
|
33
|
-
dissolutionDate?: DateTime
|
|
34
|
-
diversityPolicy?: CreativeWork | URL
|
|
35
|
-
diversityStaffingReport?: Article | URL
|
|
36
|
-
duns?: Text
|
|
37
|
-
email?: Text
|
|
38
|
-
employee?: Person | Person[]
|
|
39
|
-
ethicsPolicy?: CreativeWork | URL
|
|
40
|
-
event?: Event
|
|
41
|
-
faxNumber?: Text
|
|
42
|
-
founder?: Person | Text
|
|
43
|
-
founders?: (Person | Text)[]
|
|
44
|
-
foundingDate?: DateTime
|
|
45
|
-
foundingLocation?: Place
|
|
46
|
-
funder?: Organization | Person
|
|
47
|
-
globalLocationNumber?: Text
|
|
48
|
-
hasCredential?: unknown
|
|
49
|
-
hasMerchantReturnPolicy?: unknown
|
|
50
|
-
hasOfferCatalog?: unknown
|
|
51
|
-
hasPOS?: Place
|
|
52
|
-
interactionStatistic?: unknown
|
|
53
|
-
isicV4?: Text
|
|
54
|
-
knowsAbout?: Text | Thing | URL
|
|
55
|
-
knowsLanguage?: Language | Text
|
|
56
|
-
legalName?: Text
|
|
57
|
-
location?: Place | PostalAddress | Text | VirtualLocation
|
|
58
|
-
logo?: unknown
|
|
59
|
-
makesOffer?: Offer
|
|
60
|
-
member?: Organization | Person
|
|
61
|
-
memberOf?: Organization | unknown
|
|
62
|
-
naics?: Text
|
|
63
|
-
nonprofitStatus?: unknown
|
|
64
|
-
numberOfEmployees?: QuantitativeValue
|
|
65
|
-
ownershipFundingInfo?: unknown | CreativeWork | Text | URL
|
|
66
|
-
owns?: unknown | Product
|
|
67
|
-
parentOrganization?: Organization
|
|
68
|
-
publishingPrinciples?: CreativeWork | URL
|
|
69
|
-
review?: Review
|
|
70
|
-
seeks?: unknown
|
|
71
|
-
slogan?: Text
|
|
72
|
-
sponsor?: Organization | Person
|
|
73
|
-
subOrganization?: Organization
|
|
74
|
-
taxID?: Text
|
|
75
|
-
telephone?: Text
|
|
76
|
-
unnamedSourcesPolicy?: CreativeWork | URL
|
|
77
|
-
vatID?: Text
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
export type { Organization }
|
package/src/jsonld/Person.ts
DELETED
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import type { Brand } from './Brand.ts'
|
|
2
|
-
import type { ContactPoint } from './ContactPoint.ts'
|
|
3
|
-
import type { Country } from './Country.ts'
|
|
4
|
-
import type { CreativeWork } from './CreativeWork.ts'
|
|
5
|
-
import type { Language } from './Language.ts'
|
|
6
|
-
import type { Offer } from './Offer.ts'
|
|
7
|
-
import type { Organization } from './Organization.ts'
|
|
8
|
-
import type { Place } from './Place.ts'
|
|
9
|
-
import type { PostalAddress } from './PostalAddress.ts'
|
|
10
|
-
import type { Product } from './Product.ts'
|
|
11
|
-
import type { Thing } from './Thing.ts'
|
|
12
|
-
|
|
13
|
-
interface Person extends Thing {
|
|
14
|
-
additionalName?: string
|
|
15
|
-
address?: string | PostalAddress
|
|
16
|
-
affiliation?: Organization | Organization[]
|
|
17
|
-
alumniOf?: Organization | Organization[]
|
|
18
|
-
award?: string | string[]
|
|
19
|
-
birthDate?: string | Date
|
|
20
|
-
birthPlace?: string | Place
|
|
21
|
-
brand?: Brand | Organization
|
|
22
|
-
callSign?: string
|
|
23
|
-
children?: Person | Person[]
|
|
24
|
-
colleague?: Person | string | (Person | string)[]
|
|
25
|
-
contactPoint?: ContactPoint
|
|
26
|
-
deathDate?: string | Date
|
|
27
|
-
deathPlace?: string | Place
|
|
28
|
-
duns?: string
|
|
29
|
-
email?: string
|
|
30
|
-
familyName?: string
|
|
31
|
-
faxNumber?: string
|
|
32
|
-
follows?: Person | Person[]
|
|
33
|
-
funder?: Organization | Person | (Organization | Person)[]
|
|
34
|
-
gender?: string
|
|
35
|
-
givenName?: string
|
|
36
|
-
globalLocationNumber?: string
|
|
37
|
-
hasCredential?: unknown
|
|
38
|
-
hasOccupation?: unknown
|
|
39
|
-
hasOfferCatalog?: unknown
|
|
40
|
-
hasPOS?: Place
|
|
41
|
-
height?: unknown
|
|
42
|
-
homeLocation?: ContactPoint | Place
|
|
43
|
-
honorificPrefix?: string
|
|
44
|
-
honorificSuffix?: string
|
|
45
|
-
interactionStatistic?: unknown
|
|
46
|
-
isicV4?: string
|
|
47
|
-
jobTitle?: string
|
|
48
|
-
knows?: Person | Person[]
|
|
49
|
-
knowsAbout?: string | Thing | (string | Thing)[]
|
|
50
|
-
knowsLanguage?: Language | string | (Language | string)[]
|
|
51
|
-
makesOffer?: Offer | Offer[]
|
|
52
|
-
memberOf?: Organization | unknown | (Organization | unknown)[]
|
|
53
|
-
naics?: string
|
|
54
|
-
nationality?: Country
|
|
55
|
-
netWorth?: unknown
|
|
56
|
-
owns?: Product | unknown | (Product | unknown)[]
|
|
57
|
-
parent?: Person | Person[]
|
|
58
|
-
performerIn?: Event | CreativeWork | string | (Event | CreativeWork | string)[]
|
|
59
|
-
publishingPrinciples?: CreativeWork | string
|
|
60
|
-
relatedTo?: Person | Person[]
|
|
61
|
-
seeks?: unknown
|
|
62
|
-
sibling?: Person | Person[]
|
|
63
|
-
sponsor?: Organization | Person | (Organization | Person)[]
|
|
64
|
-
spouse?: Person
|
|
65
|
-
taxID?: string
|
|
66
|
-
telephone?: string
|
|
67
|
-
vatID?: string
|
|
68
|
-
weight?: unknown
|
|
69
|
-
workLocation?: ContactPoint | Place | (ContactPoint | Place)[]
|
|
70
|
-
worksFor?: Organization | Organization[]
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
export type { Person }
|
package/src/jsonld/Photograph.ts
DELETED
package/src/jsonld/Place.ts
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import type { AggregateRating } from './AggregateRating.ts'
|
|
2
|
-
import type { GeospatialGeometry } from './GeospatialGeometry.ts'
|
|
3
|
-
import type { ImageObject } from './ImageObject.ts'
|
|
4
|
-
import type { Integer } from './Integer.ts'
|
|
5
|
-
import type { Map } from './Map.ts'
|
|
6
|
-
import type { Photograph } from './Photograph.ts'
|
|
7
|
-
import type { PostalAddress } from './PostalAddress.ts'
|
|
8
|
-
import type { PropertyValue } from './PropertyValue.ts'
|
|
9
|
-
import type { Review } from './Review.ts'
|
|
10
|
-
import type { Text } from './Text.ts'
|
|
11
|
-
import type { Thing } from './Thing.ts'
|
|
12
|
-
import type { URL } from './URL.ts'
|
|
13
|
-
|
|
14
|
-
interface Place extends Thing, GeospatialGeometry {
|
|
15
|
-
additionalProperty?: PropertyValue
|
|
16
|
-
address?: PostalAddress | Text
|
|
17
|
-
aggregateRating?: AggregateRating
|
|
18
|
-
amenityFeature?: unknown
|
|
19
|
-
branchCode?: Text
|
|
20
|
-
containedInPlace?: Place
|
|
21
|
-
containsPlace?: Place
|
|
22
|
-
event?: Event
|
|
23
|
-
geo?: unknown
|
|
24
|
-
geoLocationNumber?: Text
|
|
25
|
-
hasDriveThroughService?: boolean
|
|
26
|
-
hasMap?: Map | URL
|
|
27
|
-
isAccessibleForFree?: boolean
|
|
28
|
-
isicV4?: Text
|
|
29
|
-
latitude?: number | Text
|
|
30
|
-
logo?: ImageObject | URL
|
|
31
|
-
longitude?: number | Text
|
|
32
|
-
maximumAttendeeCapacity?: Integer
|
|
33
|
-
openingHoursSpecification?: unknown
|
|
34
|
-
photo?: ImageObject | Photograph
|
|
35
|
-
publicAccess?: boolean
|
|
36
|
-
review?: Review
|
|
37
|
-
slogan?: Text
|
|
38
|
-
smokingAllowed?: boolean
|
|
39
|
-
specialOpeningHoursSpecification?: unknown
|
|
40
|
-
telephone?: Text
|
|
41
|
-
tourBookingPage?: URL
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
export type { Place }
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { ContactPoint } from './ContactPoint.ts'
|
|
2
|
-
import type { Country } from './Country.ts'
|
|
3
|
-
import type { Text } from './Text.ts'
|
|
4
|
-
|
|
5
|
-
interface PostalAddress extends ContactPoint {
|
|
6
|
-
addressCountry?: Country | Text
|
|
7
|
-
addressLocality?: Text
|
|
8
|
-
addressRegion?: Text
|
|
9
|
-
postOfficeBoxNumber?: Text
|
|
10
|
-
postalCode?: Text
|
|
11
|
-
streetAddress?: Text
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export type { PostalAddress }
|
package/src/jsonld/Product.ts
DELETED
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import type { AggregateRating } from './AggregateRating.ts'
|
|
2
|
-
import type { Brand } from './Brand.ts'
|
|
3
|
-
import type { DateTime } from './DateTime.ts'
|
|
4
|
-
import type { ImageObject } from './ImageObject.ts'
|
|
5
|
-
import type { Offer } from './Offer.ts'
|
|
6
|
-
import type { Organization } from './Organization.ts'
|
|
7
|
-
import type { PropertyValue } from './PropertyValue.ts'
|
|
8
|
-
import type { QuantitativeValue } from './QuantitativeValue.ts'
|
|
9
|
-
import type { Review } from './Review.ts'
|
|
10
|
-
import type { Service } from './Service.ts'
|
|
11
|
-
import type { Text } from './Text.ts'
|
|
12
|
-
import type { Thing } from './Thing.ts'
|
|
13
|
-
import type { URL } from './URL.ts'
|
|
14
|
-
|
|
15
|
-
// TODO: Resolve Anys
|
|
16
|
-
interface Product extends Thing {
|
|
17
|
-
additionalProperty?: PropertyValue
|
|
18
|
-
aggregateRating?: AggregateRating
|
|
19
|
-
audience?: unknown
|
|
20
|
-
award?: Text
|
|
21
|
-
brand?: Brand | Organization
|
|
22
|
-
category?: unknown | Text | Thing | URL
|
|
23
|
-
color?: Text
|
|
24
|
-
depth?: unknown | QuantitativeValue
|
|
25
|
-
gtin?: Text
|
|
26
|
-
gtin12?: Text
|
|
27
|
-
gtin13?: Text
|
|
28
|
-
gtin14?: Text
|
|
29
|
-
gtin8?: Text
|
|
30
|
-
hasEnergyConsumptionDetails?: unknown
|
|
31
|
-
hasMerchantReturnPolicy?: unknown
|
|
32
|
-
height?: unknown | QuantitativeValue
|
|
33
|
-
inAccessoryOrSparePartFor?: Product
|
|
34
|
-
inProductGroupWithId?: Text
|
|
35
|
-
isConsumableFor?: Product
|
|
36
|
-
isRelatedTo?: Product | Service
|
|
37
|
-
isSimilarTo?: Product | Service
|
|
38
|
-
isVariantOf?: unknown
|
|
39
|
-
itemCondition?: unknown
|
|
40
|
-
logo?: ImageObject | URL
|
|
41
|
-
manufacturer?: Organization
|
|
42
|
-
material?: Product | Text | URL
|
|
43
|
-
model?: unknown | Text
|
|
44
|
-
mpn?: Text
|
|
45
|
-
nsn?: Text
|
|
46
|
-
offers?: Offer[]
|
|
47
|
-
pattern?: unknown | Text
|
|
48
|
-
productID?: Text
|
|
49
|
-
productionDate?: DateTime
|
|
50
|
-
purchaseDate?: DateTime
|
|
51
|
-
review?: Review
|
|
52
|
-
size?: unknown | QuantitativeValue | Text
|
|
53
|
-
sku?: Text
|
|
54
|
-
slogan?: Text
|
|
55
|
-
weight?: QuantitativeValue
|
|
56
|
-
width?: unknown | QuantitativeValue
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
export type { Product }
|
package/src/jsonld/Property.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { Class } from './Class.ts'
|
|
2
|
-
import type { Enumeration } from './Enumeration.ts'
|
|
3
|
-
import type { Intangible } from './Intangible.ts'
|
|
4
|
-
|
|
5
|
-
interface Property extends Intangible {
|
|
6
|
-
domainIncludes?: Class
|
|
7
|
-
inverseOf?: Property
|
|
8
|
-
rangeIncludes?: Class
|
|
9
|
-
supersededBy?: Class | Enumeration | Property
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
export type { Property }
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type { Enumeration } from './Enumeration.ts'
|
|
2
|
-
import type { QualitativeValue } from './QualitativeValue.ts'
|
|
3
|
-
import type { QuantitativeValue } from './QuantitativeValue.ts'
|
|
4
|
-
import type { StructuredValue } from './StructuredValue.ts'
|
|
5
|
-
import type { URL } from './URL.ts'
|
|
6
|
-
|
|
7
|
-
interface PropertyValue extends StructuredValue {
|
|
8
|
-
maxValue?: number
|
|
9
|
-
measurementTechnique?: string | URL
|
|
10
|
-
minValue?: number
|
|
11
|
-
propertyId?: string | URL
|
|
12
|
-
unitCode?: string | URL
|
|
13
|
-
unitText?: string
|
|
14
|
-
value?: boolean | number | StructuredValue | string
|
|
15
|
-
valueReference?: Enumeration | PropertyValue | QualitativeValue | QuantitativeValue | StructuredValue
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
export type { PropertyValue }
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { Enumeration } from './Enumeration.ts'
|
|
2
|
-
import type { PropertyValue } from './PropertyValue.ts'
|
|
3
|
-
import type { QuantitativeValue } from './QuantitativeValue.ts'
|
|
4
|
-
import type { StructuredValue } from './StructuredValue.ts'
|
|
5
|
-
|
|
6
|
-
interface QualitativeValue extends Enumeration {
|
|
7
|
-
additionalProperty?: PropertyValue
|
|
8
|
-
equal?: QualitativeValue
|
|
9
|
-
greater?: QualitativeValue
|
|
10
|
-
greaterOrEqual?: QualitativeValue
|
|
11
|
-
lesser?: QualitativeValue
|
|
12
|
-
lesserOrEqual?: QualitativeValue
|
|
13
|
-
nonEqual?: QualitativeValue
|
|
14
|
-
valueReference?: Enumeration | PropertyValue | QualitativeValue | QuantitativeValue | StructuredValue
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export type { QualitativeValue }
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { Enumeration } from './Enumeration.ts'
|
|
2
|
-
import type { PropertyValue } from './PropertyValue.ts'
|
|
3
|
-
import type { QualitativeValue } from './QualitativeValue.ts'
|
|
4
|
-
import type { StructuredValue } from './StructuredValue.ts'
|
|
5
|
-
import type { URL } from './URL.ts'
|
|
6
|
-
|
|
7
|
-
interface QuantitativeValue extends Enumeration {
|
|
8
|
-
additionalProperty?: PropertyValue
|
|
9
|
-
maxValue?: number
|
|
10
|
-
minValue?: number
|
|
11
|
-
unitCode?: string | URL
|
|
12
|
-
unitText?: string
|
|
13
|
-
value?: boolean | number | StructuredValue | string
|
|
14
|
-
valueReference?: Enumeration | PropertyValue | QualitativeValue | QuantitativeValue | StructuredValue
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export type { QuantitativeValue }
|
package/src/jsonld/Rating.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { Intangible } from './Intangible.ts'
|
|
2
|
-
import type { Text } from './Text.ts'
|
|
3
|
-
|
|
4
|
-
interface Rating extends Intangible {
|
|
5
|
-
bestRating?: number
|
|
6
|
-
ratingExplaination?: Text
|
|
7
|
-
ratingValue?: number
|
|
8
|
-
reviewAspect?: Text
|
|
9
|
-
worstRating?: number
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
export type { Rating }
|
package/src/jsonld/Review.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { CreativeWork } from './CreativeWork.ts'
|
|
2
|
-
import type { Rating } from './Rating.ts'
|
|
3
|
-
import type { Thing } from './Thing.ts'
|
|
4
|
-
|
|
5
|
-
interface Review extends CreativeWork {
|
|
6
|
-
itemReviewed?: Thing
|
|
7
|
-
reviewAspect?: Text
|
|
8
|
-
reviewBody?: Text
|
|
9
|
-
reviewRating?: Rating
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
export type { Review }
|
package/src/jsonld/Service.ts
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import type { AdministrativeArea } from './AdministrativeArea.ts'
|
|
2
|
-
import type { AggregateRating } from './AggregateRating.ts'
|
|
3
|
-
import type { GeoShape } from './GeoShape.ts'
|
|
4
|
-
import type { ImageObject } from './ImageObject.ts'
|
|
5
|
-
import type { Intangible } from './Intangible.ts'
|
|
6
|
-
import type { Offer } from './Offer.ts'
|
|
7
|
-
import type { Organization } from './Organization.ts'
|
|
8
|
-
import type { Person } from './Person.ts'
|
|
9
|
-
import type { Place } from './Place.ts'
|
|
10
|
-
import type { Product } from './Product.ts'
|
|
11
|
-
import type { Review } from './Review.ts'
|
|
12
|
-
import type { Text } from './Text.ts'
|
|
13
|
-
import type { Thing } from './Thing.ts'
|
|
14
|
-
import type { URL } from './URL.ts'
|
|
15
|
-
|
|
16
|
-
// TODO: Resolve Anys
|
|
17
|
-
interface Service extends Intangible {
|
|
18
|
-
aggregateRating?: AggregateRating
|
|
19
|
-
areaServed?: AdministrativeArea | GeoShape | Place | Text
|
|
20
|
-
audience?: unknown
|
|
21
|
-
availableChannel?: unknown
|
|
22
|
-
award?: Text
|
|
23
|
-
brand?: unknown | Organization
|
|
24
|
-
broker?: Organization | Person
|
|
25
|
-
category?: unknown | Text | Thing | URL
|
|
26
|
-
hasOfferCatalog?: unknown
|
|
27
|
-
hoursAvailable?: unknown
|
|
28
|
-
isRelatedTo?: Product | Service
|
|
29
|
-
isSimilarTo?: Product | Service
|
|
30
|
-
logo?: ImageObject | URL
|
|
31
|
-
offers?: Offer[]
|
|
32
|
-
provider?: Organization | Person
|
|
33
|
-
providerMobility?: Text
|
|
34
|
-
review?: Review
|
|
35
|
-
serviceOutput?: Thing
|
|
36
|
-
serviceType?: unknown | Text
|
|
37
|
-
slogan?: Text
|
|
38
|
-
termsOfService?: Text | URL
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
export type { Service }
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import type { CreativeWork } from './CreativeWork.ts'
|
|
2
|
-
import type { ImageObject } from './ImageObject.ts'
|
|
3
|
-
import type { Text } from './Text.ts'
|
|
4
|
-
import type { URL } from './URL.ts'
|
|
5
|
-
|
|
6
|
-
// TODO: Resolve Anys
|
|
7
|
-
interface SoftwareApplication extends CreativeWork {
|
|
8
|
-
applicationCategory?: Text | URL
|
|
9
|
-
applicationSubCategory?: Text | URL
|
|
10
|
-
applicationSuite?: Text
|
|
11
|
-
availableOnDevice?: Text
|
|
12
|
-
countriesNotSupported?: Text
|
|
13
|
-
countriesSupported?: Text
|
|
14
|
-
downloadUrl?: URL
|
|
15
|
-
featureList?: Text | URL
|
|
16
|
-
installUrl?: URL
|
|
17
|
-
memoryRequirements?: Text | URL
|
|
18
|
-
operatingSystem?: Text
|
|
19
|
-
permissions?: Text
|
|
20
|
-
processorRequiremewnts?: Text
|
|
21
|
-
releaseNotes?: Text | URL
|
|
22
|
-
screenshot?: ImageObject | URL
|
|
23
|
-
softwareAddOn?: SoftwareApplication
|
|
24
|
-
softwareHelp?: CreativeWork
|
|
25
|
-
softwareRequirements?: Text | URL
|
|
26
|
-
softwareVersion?: Text
|
|
27
|
-
storageRequirements?: Text | URL
|
|
28
|
-
supportingData?: unknown
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
export type { SoftwareApplication }
|
package/src/jsonld/Text.ts
DELETED
package/src/jsonld/Thing.ts
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import type { Action } from './Action.ts'
|
|
2
|
-
import type { Base } from './Base.ts'
|
|
3
|
-
import type { CreativeWork } from './CreativeWork.ts'
|
|
4
|
-
import type { ImageObject } from './ImageObject.ts'
|
|
5
|
-
import type { PropertyValue } from './PropertyValue.ts'
|
|
6
|
-
import type { Text } from './Text.ts'
|
|
7
|
-
import type { URL } from './URL.ts'
|
|
8
|
-
|
|
9
|
-
interface Thing extends Base {
|
|
10
|
-
additionalType?: URL
|
|
11
|
-
alternateName?: Text
|
|
12
|
-
description?: Text
|
|
13
|
-
disambiguatingDescription?: Text
|
|
14
|
-
identifier?: PropertyValue | Text | URL
|
|
15
|
-
image?: ImageObject | URL
|
|
16
|
-
mainIdentityOfPage?: CreativeWork | URL
|
|
17
|
-
name?: Text
|
|
18
|
-
potentialAction?: Action
|
|
19
|
-
sameAs?: URL
|
|
20
|
-
subjectOf?: CreativeWork | Event
|
|
21
|
-
url?: URL
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export type { Thing }
|
package/src/jsonld/Time.ts
DELETED
package/src/jsonld/URL.ts
DELETED
package/src/jsonld/index.ts
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
export * from './Action.ts'
|
|
2
|
-
export * from './ActionStatusType.ts'
|
|
3
|
-
export * from './AdministrativeArea.ts'
|
|
4
|
-
export * from './AggregateRating.ts'
|
|
5
|
-
export * from './Article.ts'
|
|
6
|
-
export * from './Base.ts'
|
|
7
|
-
export * from './Brand.ts'
|
|
8
|
-
export * from './Class.ts'
|
|
9
|
-
export * from './ContactPoint.ts'
|
|
10
|
-
export * from './ContactPointOption.ts'
|
|
11
|
-
export * from './Country.ts'
|
|
12
|
-
export * from './CreativeWork.ts'
|
|
13
|
-
export * from './DateTime.ts'
|
|
14
|
-
export * from './EntryPoint.ts'
|
|
15
|
-
export * from './Enumeration.ts'
|
|
16
|
-
export * from './GeoShape.ts'
|
|
17
|
-
export * from './GeospatialGeometry.ts'
|
|
18
|
-
export * from './ImageObject.ts'
|
|
19
|
-
export * from './Intangible.ts'
|
|
20
|
-
export * from './Integer.ts'
|
|
21
|
-
export * from './ItemAvailability.ts'
|
|
22
|
-
export * from './Language.ts'
|
|
23
|
-
export * from './Map.ts'
|
|
24
|
-
export * from './MapCategoryType.ts'
|
|
25
|
-
export * from './MediaObject.ts'
|
|
26
|
-
export * from './MobileApplication.ts'
|
|
27
|
-
export * from './Offer.ts'
|
|
28
|
-
export * from './Organization.ts'
|
|
29
|
-
export * from './Person.ts'
|
|
30
|
-
export * from './Photograph.ts'
|
|
31
|
-
export * from './Place.ts'
|
|
32
|
-
export * from './PostalAddress.ts'
|
|
33
|
-
export * from './Product.ts'
|
|
34
|
-
export * from './Property.ts'
|
|
35
|
-
export * from './PropertyValue.ts'
|
|
36
|
-
export * from './QualitativeValue.ts'
|
|
37
|
-
export * from './QuantitativeValue.ts'
|
|
38
|
-
export * from './Rating.ts'
|
|
39
|
-
export * from './Review.ts'
|
|
40
|
-
export * from './Service.ts'
|
|
41
|
-
export * from './SoftwareApplication.ts'
|
|
42
|
-
export * from './StructuredValue.ts'
|
|
43
|
-
export * from './Text.ts'
|
|
44
|
-
export * from './Thing.ts'
|
|
45
|
-
export * from './Time.ts'
|
|
46
|
-
export * from './URL.ts'
|
|
47
|
-
export * from './VirtualLocation.ts'
|