@unhead/schema-org 1.8.4 → 1.8.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.cjs +6 -1
- package/dist/index.d.cts +4 -3
- package/dist/index.d.mts +4 -3
- package/dist/index.d.ts +4 -3
- package/dist/index.mjs +6 -3
- package/dist/shared/{schema-org.bc5190e8.d.ts → schema-org.320d2e5d.d.cts} +134 -106
- package/dist/shared/{schema-org.bc5190e8.d.cts → schema-org.320d2e5d.d.mts} +134 -106
- package/dist/shared/{schema-org.bc5190e8.d.mts → schema-org.320d2e5d.d.ts} +134 -106
- package/dist/shared/{schema-org.b696cb4d.mjs → schema-org.cefa8818.mjs} +82 -62
- package/dist/shared/{schema-org.5d94f209.cjs → schema-org.f81cbd4d.cjs} +82 -61
- package/dist/vue.cjs +9 -1
- package/dist/vue.d.cts +5 -3
- package/dist/vue.d.mts +5 -3
- package/dist/vue.d.ts +5 -3
- package/dist/vue.mjs +9 -3
- package/package.json +7 -7
package/dist/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const plugin = require('./shared/schema-org.
|
|
3
|
+
const plugin = require('./shared/schema-org.f81cbd4d.cjs');
|
|
4
4
|
const unhead = require('unhead');
|
|
5
5
|
require('@unhead/shared');
|
|
6
6
|
require('ufo');
|
|
@@ -32,6 +32,9 @@ function defineComment(input) {
|
|
|
32
32
|
function defineEvent(input) {
|
|
33
33
|
return provideResolver(input, "event");
|
|
34
34
|
}
|
|
35
|
+
function defineFoodEstablishment(input) {
|
|
36
|
+
return provideResolver(input, "foodEstablishment");
|
|
37
|
+
}
|
|
35
38
|
function defineVirtualLocation(input) {
|
|
36
39
|
return provideResolver(input, "virtualLocation");
|
|
37
40
|
}
|
|
@@ -154,6 +157,7 @@ exports.createSchemaOrgGraph = plugin.createSchemaOrgGraph;
|
|
|
154
157
|
exports.dedupeNodes = plugin.dedupeNodes;
|
|
155
158
|
exports.defineSchemaOrgResolver = plugin.defineSchemaOrgResolver;
|
|
156
159
|
exports.eventResolver = plugin.eventResolver;
|
|
160
|
+
exports.foodEstablishmentResolver = plugin.foodEstablishmentResolver;
|
|
157
161
|
exports.howToResolver = plugin.howToResolver;
|
|
158
162
|
exports.howToStepDirectionResolver = plugin.howToStepDirectionResolver;
|
|
159
163
|
exports.howToStepResolver = plugin.howToStepResolver;
|
|
@@ -195,6 +199,7 @@ exports.defineBreadcrumb = defineBreadcrumb;
|
|
|
195
199
|
exports.defineComment = defineComment;
|
|
196
200
|
exports.defineCourse = defineCourse;
|
|
197
201
|
exports.defineEvent = defineEvent;
|
|
202
|
+
exports.defineFoodEstablishment = defineFoodEstablishment;
|
|
198
203
|
exports.defineHowTo = defineHowTo;
|
|
199
204
|
exports.defineHowToStep = defineHowToStep;
|
|
200
205
|
exports.defineImage = defineImage;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as Thing, S as SchemaOrgNodeDefinition, a as SchemaOrgNode, M as MetaInput, R as ResolvedMeta, b as SchemaOrgGraph, A as Arrayable, P as PostalAddress, c as AggregateOffer, d as AggregateRating, e as Article, B as BreadcrumbList, C as Comment, E as Event, V as VirtualLocation, f as Place, H as HowTo, g as HowToStep, I as ImageObject, J as JobPosting, L as LocalBusiness, O as Offer, h as OpeningHoursSpecification, i as Organization, j as Person, k as Product, Q as Question, l as Recipe, m as Review, n as VideoObject, W as WebPage, o as WebSite, p as Book, q as Course, r as ItemList, s as ListItem, t as Movie, u as SearchAction, v as ReadAction, w as SoftwareApp, x as BookEdition } from './shared/schema-org.
|
|
2
|
-
export { z as AggregateOfferSimple,
|
|
1
|
+
import { T as Thing, S as SchemaOrgNodeDefinition, a as SchemaOrgNode, M as MetaInput, R as ResolvedMeta, b as SchemaOrgGraph, A as Arrayable, P as PostalAddress, c as AggregateOffer, d as AggregateRating, e as Article, B as BreadcrumbList, C as Comment, E as Event, F as FoodEstablishment, V as VirtualLocation, f as Place, H as HowTo, g as HowToStep, I as ImageObject, J as JobPosting, L as LocalBusiness, O as Offer, h as OpeningHoursSpecification, i as Organization, j as Person, k as Product, Q as Question, l as Recipe, m as Review, n as VideoObject, W as WebPage, o as WebSite, p as Book, q as Course, r as ItemList, s as ListItem, t as Movie, u as SearchAction, v as ReadAction, w as SoftwareApp, x as BookEdition } from './shared/schema-org.320d2e5d.cjs';
|
|
2
|
+
export { z as AggregateOfferSimple, G as AggregateRatingSimple, N as ArticleSimple, Z as BookEditionSimple, Y as BookSimple, a1 as BreadcrumbSimple, a4 as CommentSimple, a6 as CourseSimple, a8 as EventSimple, af as FoodEstablishmentSimple, am as HowToDirection, ai as HowToId, ah as HowToSimple, ak as HowToStepSimple, bm as Id, bl as IdReference, bg as Identity, aq as ImageSimple, ao as ItemListSimple, as as JobPostingSimple, au as ListItemSimple, aw as LocalBusinessSimple, ay as MovieSimple, be as NodeRelation, bf as NodeRelations, aT as NutritionInformation, aA as OfferSimple, aC as OpeningHoursSimple, bi as OptionalSchemaOrgPrefix, aE as OrganizationSimple, aG as PersonSimple, ad as PlaceSimple, bc as PluginSchemaOrg, ba as PluginSchemaOrgOptions, aI as PostalAddressSimple, U as PrimaryArticleId, $ as PrimaryBookId, a2 as PrimaryBreadcrumbId, a9 as PrimaryEventId, b1 as PrimaryWebPageId, b6 as PrimaryWebSiteId, aL as ProductId, aK as ProductSimple, aN as QuestionSimple, aQ as Rating, aP as RatingSimple, b3 as ReadActionInput, aU as RecipeId, aS as RecipeSimple, bh as ResolvableDate, aY as ReviewSimple, bd as SchemaOrgUnheadPlugin, b8 as SearchActionInput, aW as SoftwareAppSimple, bb as UnheadSchemaOrg, bj as UserConfig, a_ as VideoSimple, ab as VirtualLocationSimple, b0 as WebPageSimple, b5 as WebSiteSimple, bk as WithResolver, aJ as addressResolver, D as aggregateOfferResolver, K as aggregateRatingResolver, X as articleResolver, _ as bookEditionResolver, a0 as bookResolver, a3 as breadcrumbResolver, a5 as commentResolver, a7 as courseResolver, y as createSchemaOrgGraph, aa as eventResolver, ag as foodEstablishmentResolver, aj as howToResolver, an as howToStepDirectionResolver, al as howToStepResolver, ar as imageResolver, ap as itemListResolver, at as jobPostingResolver, av as listItemResolver, ax as localBusinessResolver, az as movieResolver, aB as offerResolver, aD as openingHoursResolver, aF as organizationResolver, aH as personResolver, ae as placeResolver, aM as productResolver, aO as questionResolver, aR as ratingResolver, b4 as readActionResolver, aV as recipeResolver, aZ as reviewResolver, b9 as searchActionResolver, aX as softwareAppResolver, a$ as videoResolver, ac as virtualLocationResolver, b2 as webPageResolver, b7 as webSiteResolver } from './shared/schema-org.320d2e5d.cjs';
|
|
3
3
|
import * as _unhead_schema from '@unhead/schema';
|
|
4
4
|
import * as unhead from 'unhead';
|
|
5
5
|
|
|
@@ -40,6 +40,7 @@ declare function defineArticle<T extends Record<string, any>>(input?: Article &
|
|
|
40
40
|
declare function defineBreadcrumb<T extends Record<string, any>>(input?: BreadcrumbList & T): BreadcrumbList & T;
|
|
41
41
|
declare function defineComment<T extends Record<string, any>>(input?: Comment & T): Comment & T;
|
|
42
42
|
declare function defineEvent<T extends Record<string, any>>(input?: Event & T): Event & T;
|
|
43
|
+
declare function defineFoodEstablishment<T extends Record<string, any>>(input?: FoodEstablishment & T): FoodEstablishment & T;
|
|
43
44
|
declare function defineVirtualLocation<T extends Record<string, any>>(input?: VirtualLocation & T): VirtualLocation & T;
|
|
44
45
|
declare function definePlace<T extends Record<string, any>>(input?: Place & T): Place & T;
|
|
45
46
|
declare function defineHowTo<T extends Record<string, any>>(input?: HowTo & T): HowTo & T;
|
|
@@ -74,4 +75,4 @@ declare function useSchemaOrg(input: UseSchemaOrgInput): void | _unhead_schema.A
|
|
|
74
75
|
};
|
|
75
76
|
}>>;
|
|
76
77
|
|
|
77
|
-
export { AggregateOffer, AggregateRating, Arrayable, Article, Book, BookEdition, BreadcrumbList, Comment, Course, Event, HowTo, HowToStep, ImageObject, ItemList, JobPosting, ListItem, LocalBusiness, MetaInput, Movie, Offer, OpeningHoursSpecification, Organization, Person, Place, PostalAddress, Product, Question, ReadAction, Recipe, ResolvedMeta, Review, SchemaOrgGraph, SchemaOrgNode, SchemaOrgNodeDefinition, SearchAction, SoftwareApp, Thing, type UseSchemaOrgInput, VideoObject, VirtualLocation, WebPage, WebSite, dedupeNodes, defineAddress, defineAggregateOffer, defineAggregateRating, defineArticle, defineBook, defineBookEdition, defineBreadcrumb, defineComment, defineCourse, defineEvent, defineHowTo, defineHowToStep, defineImage, defineItemList, defineJobPosting, defineListItem, defineLocalBusiness, defineMovie, defineOffer, defineOpeningHours, defineOrganization, definePerson, definePlace, defineProduct, defineQuestion, defineReadAction, defineRecipe, defineReview, defineSchemaOrgResolver, defineSearchAction, defineSoftwareApp, defineVideo, defineVirtualLocation, defineWebPage, defineWebSite, normaliseNodes, resolveMeta, resolveNode, resolveNodeId, resolveRelation, useSchemaOrg };
|
|
78
|
+
export { AggregateOffer, AggregateRating, Arrayable, Article, Book, BookEdition, BreadcrumbList, Comment, Course, Event, FoodEstablishment, HowTo, HowToStep, ImageObject, ItemList, JobPosting, ListItem, LocalBusiness, MetaInput, Movie, Offer, OpeningHoursSpecification, Organization, Person, Place, PostalAddress, Product, Question, ReadAction, Recipe, ResolvedMeta, Review, SchemaOrgGraph, SchemaOrgNode, SchemaOrgNodeDefinition, SearchAction, SoftwareApp, Thing, type UseSchemaOrgInput, VideoObject, VirtualLocation, WebPage, WebSite, dedupeNodes, defineAddress, defineAggregateOffer, defineAggregateRating, defineArticle, defineBook, defineBookEdition, defineBreadcrumb, defineComment, defineCourse, defineEvent, defineFoodEstablishment, defineHowTo, defineHowToStep, defineImage, defineItemList, defineJobPosting, defineListItem, defineLocalBusiness, defineMovie, defineOffer, defineOpeningHours, defineOrganization, definePerson, definePlace, defineProduct, defineQuestion, defineReadAction, defineRecipe, defineReview, defineSchemaOrgResolver, defineSearchAction, defineSoftwareApp, defineVideo, defineVirtualLocation, defineWebPage, defineWebSite, normaliseNodes, resolveMeta, resolveNode, resolveNodeId, resolveRelation, useSchemaOrg };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as Thing, S as SchemaOrgNodeDefinition, a as SchemaOrgNode, M as MetaInput, R as ResolvedMeta, b as SchemaOrgGraph, A as Arrayable, P as PostalAddress, c as AggregateOffer, d as AggregateRating, e as Article, B as BreadcrumbList, C as Comment, E as Event, V as VirtualLocation, f as Place, H as HowTo, g as HowToStep, I as ImageObject, J as JobPosting, L as LocalBusiness, O as Offer, h as OpeningHoursSpecification, i as Organization, j as Person, k as Product, Q as Question, l as Recipe, m as Review, n as VideoObject, W as WebPage, o as WebSite, p as Book, q as Course, r as ItemList, s as ListItem, t as Movie, u as SearchAction, v as ReadAction, w as SoftwareApp, x as BookEdition } from './shared/schema-org.
|
|
2
|
-
export { z as AggregateOfferSimple,
|
|
1
|
+
import { T as Thing, S as SchemaOrgNodeDefinition, a as SchemaOrgNode, M as MetaInput, R as ResolvedMeta, b as SchemaOrgGraph, A as Arrayable, P as PostalAddress, c as AggregateOffer, d as AggregateRating, e as Article, B as BreadcrumbList, C as Comment, E as Event, F as FoodEstablishment, V as VirtualLocation, f as Place, H as HowTo, g as HowToStep, I as ImageObject, J as JobPosting, L as LocalBusiness, O as Offer, h as OpeningHoursSpecification, i as Organization, j as Person, k as Product, Q as Question, l as Recipe, m as Review, n as VideoObject, W as WebPage, o as WebSite, p as Book, q as Course, r as ItemList, s as ListItem, t as Movie, u as SearchAction, v as ReadAction, w as SoftwareApp, x as BookEdition } from './shared/schema-org.320d2e5d.mjs';
|
|
2
|
+
export { z as AggregateOfferSimple, G as AggregateRatingSimple, N as ArticleSimple, Z as BookEditionSimple, Y as BookSimple, a1 as BreadcrumbSimple, a4 as CommentSimple, a6 as CourseSimple, a8 as EventSimple, af as FoodEstablishmentSimple, am as HowToDirection, ai as HowToId, ah as HowToSimple, ak as HowToStepSimple, bm as Id, bl as IdReference, bg as Identity, aq as ImageSimple, ao as ItemListSimple, as as JobPostingSimple, au as ListItemSimple, aw as LocalBusinessSimple, ay as MovieSimple, be as NodeRelation, bf as NodeRelations, aT as NutritionInformation, aA as OfferSimple, aC as OpeningHoursSimple, bi as OptionalSchemaOrgPrefix, aE as OrganizationSimple, aG as PersonSimple, ad as PlaceSimple, bc as PluginSchemaOrg, ba as PluginSchemaOrgOptions, aI as PostalAddressSimple, U as PrimaryArticleId, $ as PrimaryBookId, a2 as PrimaryBreadcrumbId, a9 as PrimaryEventId, b1 as PrimaryWebPageId, b6 as PrimaryWebSiteId, aL as ProductId, aK as ProductSimple, aN as QuestionSimple, aQ as Rating, aP as RatingSimple, b3 as ReadActionInput, aU as RecipeId, aS as RecipeSimple, bh as ResolvableDate, aY as ReviewSimple, bd as SchemaOrgUnheadPlugin, b8 as SearchActionInput, aW as SoftwareAppSimple, bb as UnheadSchemaOrg, bj as UserConfig, a_ as VideoSimple, ab as VirtualLocationSimple, b0 as WebPageSimple, b5 as WebSiteSimple, bk as WithResolver, aJ as addressResolver, D as aggregateOfferResolver, K as aggregateRatingResolver, X as articleResolver, _ as bookEditionResolver, a0 as bookResolver, a3 as breadcrumbResolver, a5 as commentResolver, a7 as courseResolver, y as createSchemaOrgGraph, aa as eventResolver, ag as foodEstablishmentResolver, aj as howToResolver, an as howToStepDirectionResolver, al as howToStepResolver, ar as imageResolver, ap as itemListResolver, at as jobPostingResolver, av as listItemResolver, ax as localBusinessResolver, az as movieResolver, aB as offerResolver, aD as openingHoursResolver, aF as organizationResolver, aH as personResolver, ae as placeResolver, aM as productResolver, aO as questionResolver, aR as ratingResolver, b4 as readActionResolver, aV as recipeResolver, aZ as reviewResolver, b9 as searchActionResolver, aX as softwareAppResolver, a$ as videoResolver, ac as virtualLocationResolver, b2 as webPageResolver, b7 as webSiteResolver } from './shared/schema-org.320d2e5d.mjs';
|
|
3
3
|
import * as _unhead_schema from '@unhead/schema';
|
|
4
4
|
import * as unhead from 'unhead';
|
|
5
5
|
|
|
@@ -40,6 +40,7 @@ declare function defineArticle<T extends Record<string, any>>(input?: Article &
|
|
|
40
40
|
declare function defineBreadcrumb<T extends Record<string, any>>(input?: BreadcrumbList & T): BreadcrumbList & T;
|
|
41
41
|
declare function defineComment<T extends Record<string, any>>(input?: Comment & T): Comment & T;
|
|
42
42
|
declare function defineEvent<T extends Record<string, any>>(input?: Event & T): Event & T;
|
|
43
|
+
declare function defineFoodEstablishment<T extends Record<string, any>>(input?: FoodEstablishment & T): FoodEstablishment & T;
|
|
43
44
|
declare function defineVirtualLocation<T extends Record<string, any>>(input?: VirtualLocation & T): VirtualLocation & T;
|
|
44
45
|
declare function definePlace<T extends Record<string, any>>(input?: Place & T): Place & T;
|
|
45
46
|
declare function defineHowTo<T extends Record<string, any>>(input?: HowTo & T): HowTo & T;
|
|
@@ -74,4 +75,4 @@ declare function useSchemaOrg(input: UseSchemaOrgInput): void | _unhead_schema.A
|
|
|
74
75
|
};
|
|
75
76
|
}>>;
|
|
76
77
|
|
|
77
|
-
export { AggregateOffer, AggregateRating, Arrayable, Article, Book, BookEdition, BreadcrumbList, Comment, Course, Event, HowTo, HowToStep, ImageObject, ItemList, JobPosting, ListItem, LocalBusiness, MetaInput, Movie, Offer, OpeningHoursSpecification, Organization, Person, Place, PostalAddress, Product, Question, ReadAction, Recipe, ResolvedMeta, Review, SchemaOrgGraph, SchemaOrgNode, SchemaOrgNodeDefinition, SearchAction, SoftwareApp, Thing, type UseSchemaOrgInput, VideoObject, VirtualLocation, WebPage, WebSite, dedupeNodes, defineAddress, defineAggregateOffer, defineAggregateRating, defineArticle, defineBook, defineBookEdition, defineBreadcrumb, defineComment, defineCourse, defineEvent, defineHowTo, defineHowToStep, defineImage, defineItemList, defineJobPosting, defineListItem, defineLocalBusiness, defineMovie, defineOffer, defineOpeningHours, defineOrganization, definePerson, definePlace, defineProduct, defineQuestion, defineReadAction, defineRecipe, defineReview, defineSchemaOrgResolver, defineSearchAction, defineSoftwareApp, defineVideo, defineVirtualLocation, defineWebPage, defineWebSite, normaliseNodes, resolveMeta, resolveNode, resolveNodeId, resolveRelation, useSchemaOrg };
|
|
78
|
+
export { AggregateOffer, AggregateRating, Arrayable, Article, Book, BookEdition, BreadcrumbList, Comment, Course, Event, FoodEstablishment, HowTo, HowToStep, ImageObject, ItemList, JobPosting, ListItem, LocalBusiness, MetaInput, Movie, Offer, OpeningHoursSpecification, Organization, Person, Place, PostalAddress, Product, Question, ReadAction, Recipe, ResolvedMeta, Review, SchemaOrgGraph, SchemaOrgNode, SchemaOrgNodeDefinition, SearchAction, SoftwareApp, Thing, type UseSchemaOrgInput, VideoObject, VirtualLocation, WebPage, WebSite, dedupeNodes, defineAddress, defineAggregateOffer, defineAggregateRating, defineArticle, defineBook, defineBookEdition, defineBreadcrumb, defineComment, defineCourse, defineEvent, defineFoodEstablishment, defineHowTo, defineHowToStep, defineImage, defineItemList, defineJobPosting, defineListItem, defineLocalBusiness, defineMovie, defineOffer, defineOpeningHours, defineOrganization, definePerson, definePlace, defineProduct, defineQuestion, defineReadAction, defineRecipe, defineReview, defineSchemaOrgResolver, defineSearchAction, defineSoftwareApp, defineVideo, defineVirtualLocation, defineWebPage, defineWebSite, normaliseNodes, resolveMeta, resolveNode, resolveNodeId, resolveRelation, useSchemaOrg };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as Thing, S as SchemaOrgNodeDefinition, a as SchemaOrgNode, M as MetaInput, R as ResolvedMeta, b as SchemaOrgGraph, A as Arrayable, P as PostalAddress, c as AggregateOffer, d as AggregateRating, e as Article, B as BreadcrumbList, C as Comment, E as Event, V as VirtualLocation, f as Place, H as HowTo, g as HowToStep, I as ImageObject, J as JobPosting, L as LocalBusiness, O as Offer, h as OpeningHoursSpecification, i as Organization, j as Person, k as Product, Q as Question, l as Recipe, m as Review, n as VideoObject, W as WebPage, o as WebSite, p as Book, q as Course, r as ItemList, s as ListItem, t as Movie, u as SearchAction, v as ReadAction, w as SoftwareApp, x as BookEdition } from './shared/schema-org.
|
|
2
|
-
export { z as AggregateOfferSimple,
|
|
1
|
+
import { T as Thing, S as SchemaOrgNodeDefinition, a as SchemaOrgNode, M as MetaInput, R as ResolvedMeta, b as SchemaOrgGraph, A as Arrayable, P as PostalAddress, c as AggregateOffer, d as AggregateRating, e as Article, B as BreadcrumbList, C as Comment, E as Event, F as FoodEstablishment, V as VirtualLocation, f as Place, H as HowTo, g as HowToStep, I as ImageObject, J as JobPosting, L as LocalBusiness, O as Offer, h as OpeningHoursSpecification, i as Organization, j as Person, k as Product, Q as Question, l as Recipe, m as Review, n as VideoObject, W as WebPage, o as WebSite, p as Book, q as Course, r as ItemList, s as ListItem, t as Movie, u as SearchAction, v as ReadAction, w as SoftwareApp, x as BookEdition } from './shared/schema-org.320d2e5d.js';
|
|
2
|
+
export { z as AggregateOfferSimple, G as AggregateRatingSimple, N as ArticleSimple, Z as BookEditionSimple, Y as BookSimple, a1 as BreadcrumbSimple, a4 as CommentSimple, a6 as CourseSimple, a8 as EventSimple, af as FoodEstablishmentSimple, am as HowToDirection, ai as HowToId, ah as HowToSimple, ak as HowToStepSimple, bm as Id, bl as IdReference, bg as Identity, aq as ImageSimple, ao as ItemListSimple, as as JobPostingSimple, au as ListItemSimple, aw as LocalBusinessSimple, ay as MovieSimple, be as NodeRelation, bf as NodeRelations, aT as NutritionInformation, aA as OfferSimple, aC as OpeningHoursSimple, bi as OptionalSchemaOrgPrefix, aE as OrganizationSimple, aG as PersonSimple, ad as PlaceSimple, bc as PluginSchemaOrg, ba as PluginSchemaOrgOptions, aI as PostalAddressSimple, U as PrimaryArticleId, $ as PrimaryBookId, a2 as PrimaryBreadcrumbId, a9 as PrimaryEventId, b1 as PrimaryWebPageId, b6 as PrimaryWebSiteId, aL as ProductId, aK as ProductSimple, aN as QuestionSimple, aQ as Rating, aP as RatingSimple, b3 as ReadActionInput, aU as RecipeId, aS as RecipeSimple, bh as ResolvableDate, aY as ReviewSimple, bd as SchemaOrgUnheadPlugin, b8 as SearchActionInput, aW as SoftwareAppSimple, bb as UnheadSchemaOrg, bj as UserConfig, a_ as VideoSimple, ab as VirtualLocationSimple, b0 as WebPageSimple, b5 as WebSiteSimple, bk as WithResolver, aJ as addressResolver, D as aggregateOfferResolver, K as aggregateRatingResolver, X as articleResolver, _ as bookEditionResolver, a0 as bookResolver, a3 as breadcrumbResolver, a5 as commentResolver, a7 as courseResolver, y as createSchemaOrgGraph, aa as eventResolver, ag as foodEstablishmentResolver, aj as howToResolver, an as howToStepDirectionResolver, al as howToStepResolver, ar as imageResolver, ap as itemListResolver, at as jobPostingResolver, av as listItemResolver, ax as localBusinessResolver, az as movieResolver, aB as offerResolver, aD as openingHoursResolver, aF as organizationResolver, aH as personResolver, ae as placeResolver, aM as productResolver, aO as questionResolver, aR as ratingResolver, b4 as readActionResolver, aV as recipeResolver, aZ as reviewResolver, b9 as searchActionResolver, aX as softwareAppResolver, a$ as videoResolver, ac as virtualLocationResolver, b2 as webPageResolver, b7 as webSiteResolver } from './shared/schema-org.320d2e5d.js';
|
|
3
3
|
import * as _unhead_schema from '@unhead/schema';
|
|
4
4
|
import * as unhead from 'unhead';
|
|
5
5
|
|
|
@@ -40,6 +40,7 @@ declare function defineArticle<T extends Record<string, any>>(input?: Article &
|
|
|
40
40
|
declare function defineBreadcrumb<T extends Record<string, any>>(input?: BreadcrumbList & T): BreadcrumbList & T;
|
|
41
41
|
declare function defineComment<T extends Record<string, any>>(input?: Comment & T): Comment & T;
|
|
42
42
|
declare function defineEvent<T extends Record<string, any>>(input?: Event & T): Event & T;
|
|
43
|
+
declare function defineFoodEstablishment<T extends Record<string, any>>(input?: FoodEstablishment & T): FoodEstablishment & T;
|
|
43
44
|
declare function defineVirtualLocation<T extends Record<string, any>>(input?: VirtualLocation & T): VirtualLocation & T;
|
|
44
45
|
declare function definePlace<T extends Record<string, any>>(input?: Place & T): Place & T;
|
|
45
46
|
declare function defineHowTo<T extends Record<string, any>>(input?: HowTo & T): HowTo & T;
|
|
@@ -74,4 +75,4 @@ declare function useSchemaOrg(input: UseSchemaOrgInput): void | _unhead_schema.A
|
|
|
74
75
|
};
|
|
75
76
|
}>>;
|
|
76
77
|
|
|
77
|
-
export { AggregateOffer, AggregateRating, Arrayable, Article, Book, BookEdition, BreadcrumbList, Comment, Course, Event, HowTo, HowToStep, ImageObject, ItemList, JobPosting, ListItem, LocalBusiness, MetaInput, Movie, Offer, OpeningHoursSpecification, Organization, Person, Place, PostalAddress, Product, Question, ReadAction, Recipe, ResolvedMeta, Review, SchemaOrgGraph, SchemaOrgNode, SchemaOrgNodeDefinition, SearchAction, SoftwareApp, Thing, type UseSchemaOrgInput, VideoObject, VirtualLocation, WebPage, WebSite, dedupeNodes, defineAddress, defineAggregateOffer, defineAggregateRating, defineArticle, defineBook, defineBookEdition, defineBreadcrumb, defineComment, defineCourse, defineEvent, defineHowTo, defineHowToStep, defineImage, defineItemList, defineJobPosting, defineListItem, defineLocalBusiness, defineMovie, defineOffer, defineOpeningHours, defineOrganization, definePerson, definePlace, defineProduct, defineQuestion, defineReadAction, defineRecipe, defineReview, defineSchemaOrgResolver, defineSearchAction, defineSoftwareApp, defineVideo, defineVirtualLocation, defineWebPage, defineWebSite, normaliseNodes, resolveMeta, resolveNode, resolveNodeId, resolveRelation, useSchemaOrg };
|
|
78
|
+
export { AggregateOffer, AggregateRating, Arrayable, Article, Book, BookEdition, BreadcrumbList, Comment, Course, Event, FoodEstablishment, HowTo, HowToStep, ImageObject, ItemList, JobPosting, ListItem, LocalBusiness, MetaInput, Movie, Offer, OpeningHoursSpecification, Organization, Person, Place, PostalAddress, Product, Question, ReadAction, Recipe, ResolvedMeta, Review, SchemaOrgGraph, SchemaOrgNode, SchemaOrgNodeDefinition, SearchAction, SoftwareApp, Thing, type UseSchemaOrgInput, VideoObject, VirtualLocation, WebPage, WebSite, dedupeNodes, defineAddress, defineAggregateOffer, defineAggregateRating, defineArticle, defineBook, defineBookEdition, defineBreadcrumb, defineComment, defineCourse, defineEvent, defineFoodEstablishment, defineHowTo, defineHowToStep, defineImage, defineItemList, defineJobPosting, defineListItem, defineLocalBusiness, defineMovie, defineOffer, defineOpeningHours, defineOrganization, definePerson, definePlace, defineProduct, defineQuestion, defineReadAction, defineRecipe, defineReview, defineSchemaOrgResolver, defineSearchAction, defineSoftwareApp, defineVideo, defineVirtualLocation, defineWebPage, defineWebSite, normaliseNodes, resolveMeta, resolveNode, resolveNodeId, resolveRelation, useSchemaOrg };
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { U as UnheadSchemaOrg } from './shared/schema-org.
|
|
2
|
-
export { H as HowToId,
|
|
1
|
+
import { U as UnheadSchemaOrg } from './shared/schema-org.cefa8818.mjs';
|
|
2
|
+
export { H as HowToId, a1 as PluginSchemaOrg, P as PrimaryArticleId, k as PrimaryBookId, m as PrimaryBreadcrumbId, s as PrimaryEventId, X as PrimaryWebPageId, _ as PrimaryWebSiteId, M as ProductId, R as RecipeId, a2 as SchemaOrgUnheadPlugin, L as addressResolver, g as aggregateOfferResolver, h as aggregateRatingResolver, i as articleResolver, j as bookEditionResolver, l as bookResolver, o as breadcrumbResolver, p as commentResolver, q as courseResolver, c as createSchemaOrgGraph, a as dedupeNodes, d as defineSchemaOrgResolver, t as eventResolver, w as foodEstablishmentResolver, x as howToResolver, z as howToStepDirectionResolver, y as howToStepResolver, B as imageResolver, A as itemListResolver, C as jobPostingResolver, D as listItemResolver, E as localBusinessResolver, F as movieResolver, n as normaliseNodes, G as offerResolver, I as openingHoursResolver, J as organizationResolver, K as personResolver, u as placeResolver, N as productResolver, O as questionResolver, Q as ratingResolver, Z as readActionResolver, S as recipeResolver, r as resolveMeta, b as resolveNode, e as resolveNodeId, f as resolveRelation, V as reviewResolver, a0 as searchActionResolver, T as softwareAppResolver, W as videoResolver, v as virtualLocationResolver, Y as webPageResolver, $ as webSiteResolver } from './shared/schema-org.cefa8818.mjs';
|
|
3
3
|
import { getActiveHead, useHead } from 'unhead';
|
|
4
4
|
import '@unhead/shared';
|
|
5
5
|
import 'ufo';
|
|
@@ -31,6 +31,9 @@ function defineComment(input) {
|
|
|
31
31
|
function defineEvent(input) {
|
|
32
32
|
return provideResolver(input, "event");
|
|
33
33
|
}
|
|
34
|
+
function defineFoodEstablishment(input) {
|
|
35
|
+
return provideResolver(input, "foodEstablishment");
|
|
36
|
+
}
|
|
34
37
|
function defineVirtualLocation(input) {
|
|
35
38
|
return provideResolver(input, "virtualLocation");
|
|
36
39
|
}
|
|
@@ -128,4 +131,4 @@ function useSchemaOrg(input) {
|
|
|
128
131
|
});
|
|
129
132
|
}
|
|
130
133
|
|
|
131
|
-
export { UnheadSchemaOrg, defineAddress, defineAggregateOffer, defineAggregateRating, defineArticle, defineBook, defineBookEdition, defineBreadcrumb, defineComment, defineCourse, defineEvent, defineHowTo, defineHowToStep, defineImage, defineItemList, defineJobPosting, defineListItem, defineLocalBusiness, defineMovie, defineOffer, defineOpeningHours, defineOrganization, definePerson, definePlace, defineProduct, defineQuestion, defineReadAction, defineRecipe, defineReview, defineSearchAction, defineSoftwareApp, defineVideo, defineVirtualLocation, defineWebPage, defineWebSite, useSchemaOrg };
|
|
134
|
+
export { UnheadSchemaOrg, defineAddress, defineAggregateOffer, defineAggregateRating, defineArticle, defineBook, defineBookEdition, defineBreadcrumb, defineComment, defineCourse, defineEvent, defineFoodEstablishment, defineHowTo, defineHowToStep, defineImage, defineItemList, defineJobPosting, defineListItem, defineLocalBusiness, defineMovie, defineOffer, defineOpeningHours, defineOrganization, definePerson, definePlace, defineProduct, defineQuestion, defineReadAction, defineRecipe, defineReview, defineSearchAction, defineSoftwareApp, defineVideo, defineVirtualLocation, defineWebPage, defineWebSite, useSchemaOrg };
|
|
@@ -833,6 +833,139 @@ declare const PrimaryEventId = "#event";
|
|
|
833
833
|
*/
|
|
834
834
|
declare const eventResolver: SchemaOrgNodeDefinition<Event>;
|
|
835
835
|
|
|
836
|
+
type DayOfWeek = 'Friday' | 'Monday' | 'PublicHolidays' | 'Saturday' | 'Sunday' | 'Thursday' | 'Tuesday' | 'Wednesday';
|
|
837
|
+
type Time = `${number}${number}:${number}${number}`;
|
|
838
|
+
interface OpeningHoursSimple extends Thing {
|
|
839
|
+
'@type'?: 'OpeningHoursSpecification';
|
|
840
|
+
/**
|
|
841
|
+
* The day of the week for which these opening hours are valid.
|
|
842
|
+
*/
|
|
843
|
+
dayOfWeek: Arrayable<DayOfWeek>;
|
|
844
|
+
/**
|
|
845
|
+
* The opening hour of the place or service on the given day(s) of the week.
|
|
846
|
+
*/
|
|
847
|
+
opens?: Time;
|
|
848
|
+
/**
|
|
849
|
+
* The closing hour of the place or service on the given day(s) of the week.
|
|
850
|
+
*/
|
|
851
|
+
closes?: Time;
|
|
852
|
+
/**
|
|
853
|
+
* The date when the item becomes valid.
|
|
854
|
+
*/
|
|
855
|
+
validFrom?: ResolvableDate;
|
|
856
|
+
/**
|
|
857
|
+
* The date after when the item is not valid. For example, the end of an offer, salary period, or a period of opening hours.
|
|
858
|
+
*/
|
|
859
|
+
validThrough?: ResolvableDate;
|
|
860
|
+
}
|
|
861
|
+
interface OpeningHoursSpecification extends OpeningHoursSimple {
|
|
862
|
+
}
|
|
863
|
+
declare const openingHoursResolver: SchemaOrgNodeDefinition<OpeningHoursSpecification>;
|
|
864
|
+
|
|
865
|
+
type ValidLocalBusinessSubTypes = 'AnimalShelter' | 'ArchiveOrganization' | 'AutomotiveBusiness' | 'ChildCare' | 'Dentist' | 'DryCleaningOrLaundry' | 'EmergencyService' | 'EmploymentAgency' | 'EntertainmentBusiness' | 'FinancialService' | 'FoodEstablishment' | 'GovernmentOffice' | 'HealthAndBeautyBusiness' | 'HomeAndConstructionBusiness' | 'InternetCafe' | 'LegalService' | 'Library' | 'LodgingBusiness' | 'MedicalBusiness' | 'ProfessionalService' | 'RadioStation' | 'RealEstateAgent' | 'RecyclingCenter' | 'SelfStorage' | 'ShoppingCenter' | 'SportsActivityLocation' | 'Store' | 'TelevisionStation' | 'TouristInformationCenter' | 'TravelAgency';
|
|
866
|
+
interface LocalBusinessSimple extends Organization {
|
|
867
|
+
'@type'?: ['Organization', 'LocalBusiness'] | ['Organization', 'LocalBusiness', ValidLocalBusinessSubTypes] | ValidLocalBusinessSubTypes;
|
|
868
|
+
/**
|
|
869
|
+
* The primary public telephone number of the business.
|
|
870
|
+
*/
|
|
871
|
+
telephone?: string;
|
|
872
|
+
/**
|
|
873
|
+
* The primary public email address of the business.
|
|
874
|
+
*/
|
|
875
|
+
email?: string;
|
|
876
|
+
/**
|
|
877
|
+
* The primary public fax number of the business.
|
|
878
|
+
*/
|
|
879
|
+
faxNumber?: string;
|
|
880
|
+
/**
|
|
881
|
+
* The price range of the business, represented by a string of dollar symbols (e.g., $, $$, or $$$ ).
|
|
882
|
+
*/
|
|
883
|
+
priceRange?: string;
|
|
884
|
+
/**
|
|
885
|
+
* An array of GeoShape, Place or string definitions.
|
|
886
|
+
*/
|
|
887
|
+
areaServed?: unknown;
|
|
888
|
+
/**
|
|
889
|
+
* A GeoCoordinates object.
|
|
890
|
+
*/
|
|
891
|
+
geo?: unknown;
|
|
892
|
+
/**
|
|
893
|
+
* The VAT ID of the business.
|
|
894
|
+
*/
|
|
895
|
+
vatID?: string;
|
|
896
|
+
/**
|
|
897
|
+
* The tax ID of the business.
|
|
898
|
+
*/
|
|
899
|
+
taxID?: string;
|
|
900
|
+
/**
|
|
901
|
+
* The currency accepted.
|
|
902
|
+
*/
|
|
903
|
+
currenciesAccepted?: string;
|
|
904
|
+
/**
|
|
905
|
+
* The operating hours of the business.
|
|
906
|
+
*/
|
|
907
|
+
openingHoursSpecification?: NodeRelations<OpeningHoursSpecification>;
|
|
908
|
+
}
|
|
909
|
+
interface LocalBusiness extends LocalBusinessSimple {
|
|
910
|
+
}
|
|
911
|
+
/**
|
|
912
|
+
* Describes a business which allows public visitation.
|
|
913
|
+
* Typically, used to represent the business 'behind' the website, or on a page about a specific business.
|
|
914
|
+
*/
|
|
915
|
+
declare const localBusinessResolver: SchemaOrgNodeDefinition<LocalBusiness>;
|
|
916
|
+
|
|
917
|
+
interface RatingSimple extends Thing {
|
|
918
|
+
'@type'?: 'Rating';
|
|
919
|
+
/**
|
|
920
|
+
* A numerical quality rating for the item, either a number, fraction, or percentage
|
|
921
|
+
* (for example, "4", "60%", or "6 / 10").
|
|
922
|
+
* Google understands the scale for fractions and percentages,
|
|
923
|
+
* since the scale is implied in the fraction itself or the percentage.
|
|
924
|
+
* The default scale for numbers is a 5-point scale, where 1 is the lowest value and 5 is the highest value.
|
|
925
|
+
* If another scale is intended, use bestRating and worstRating.
|
|
926
|
+
*/
|
|
927
|
+
ratingValue: number | string;
|
|
928
|
+
/**
|
|
929
|
+
* The highest value allowed in this rating system. If bestRating is omitted, 5 is assumed.
|
|
930
|
+
*/
|
|
931
|
+
bestRating?: number;
|
|
932
|
+
/**
|
|
933
|
+
* The lowest value allowed in this rating system. If worstRating is omitted, 1 is assumed.
|
|
934
|
+
*/
|
|
935
|
+
worstRating?: number;
|
|
936
|
+
}
|
|
937
|
+
interface Rating extends RatingSimple {
|
|
938
|
+
}
|
|
939
|
+
declare const ratingResolver: SchemaOrgNodeDefinition<Rating>;
|
|
940
|
+
|
|
941
|
+
type ValidFoodEstablishmentSubTypes = 'Bakery' | 'BarOrPub' | 'Brewery' | 'Dentist' | 'CafeOrCoffeeShop' | 'Distillery' | 'FastFoodRestaurant' | 'IceCreamShop' | 'Restaurant' | 'Winery';
|
|
942
|
+
interface FoodEstablishmentSimple extends Omit<LocalBusiness, '@type'> {
|
|
943
|
+
'@type'?: ['Organization', 'LocalBusiness', 'FoodEstablishment'] | ['Organization', 'LocalBusiness', 'FoodEstablishment', ValidFoodEstablishmentSubTypes] | ValidFoodEstablishmentSubTypes;
|
|
944
|
+
/**
|
|
945
|
+
* Indicates whether a FoodEstablishment accepts reservations.
|
|
946
|
+
*/
|
|
947
|
+
acceptsReservations?: string | boolean;
|
|
948
|
+
/**
|
|
949
|
+
* URL of the menu.
|
|
950
|
+
*/
|
|
951
|
+
hasMenu?: string;
|
|
952
|
+
/**
|
|
953
|
+
* The cuisine of the restaurant.
|
|
954
|
+
*/
|
|
955
|
+
servesCuisine?: string;
|
|
956
|
+
/**
|
|
957
|
+
* An official rating for a lodging business or food establishment
|
|
958
|
+
*/
|
|
959
|
+
starRating?: NodeRelations<Rating>;
|
|
960
|
+
}
|
|
961
|
+
interface FoodEstablishment extends FoodEstablishmentSimple {
|
|
962
|
+
}
|
|
963
|
+
/**
|
|
964
|
+
* Describes a business which allows public visitation.
|
|
965
|
+
* Typically, used to represent the business 'behind' the website, or on a page about a specific business.
|
|
966
|
+
*/
|
|
967
|
+
declare const foodEstablishmentResolver: SchemaOrgNodeDefinition<FoodEstablishment>;
|
|
968
|
+
|
|
836
969
|
interface HowToDirection extends Thing {
|
|
837
970
|
/**
|
|
838
971
|
* The text of the direction or tip.
|
|
@@ -1015,111 +1148,6 @@ interface JobPosting extends JobPostingSimple {
|
|
|
1015
1148
|
declare const jobPostingResolver: SchemaOrgNodeDefinition<JobPosting>;
|
|
1016
1149
|
type EmploymentType = 'FULL_TIME' | 'PART_TIME' | 'CONTRACTOR' | 'TEMPORARY' | 'INTERN' | 'VOLUNTEER' | 'PER_DIEM' | 'OTHER';
|
|
1017
1150
|
|
|
1018
|
-
type DayOfWeek = 'Friday' | 'Monday' | 'PublicHolidays' | 'Saturday' | 'Sunday' | 'Thursday' | 'Tuesday' | 'Wednesday';
|
|
1019
|
-
type Time = `${number}${number}:${number}${number}`;
|
|
1020
|
-
interface OpeningHoursSimple extends Thing {
|
|
1021
|
-
'@type'?: 'OpeningHoursSpecification';
|
|
1022
|
-
/**
|
|
1023
|
-
* The day of the week for which these opening hours are valid.
|
|
1024
|
-
*/
|
|
1025
|
-
dayOfWeek: Arrayable<DayOfWeek>;
|
|
1026
|
-
/**
|
|
1027
|
-
* The opening hour of the place or service on the given day(s) of the week.
|
|
1028
|
-
*/
|
|
1029
|
-
opens?: Time;
|
|
1030
|
-
/**
|
|
1031
|
-
* The closing hour of the place or service on the given day(s) of the week.
|
|
1032
|
-
*/
|
|
1033
|
-
closes?: Time;
|
|
1034
|
-
/**
|
|
1035
|
-
* The date when the item becomes valid.
|
|
1036
|
-
*/
|
|
1037
|
-
validFrom?: ResolvableDate;
|
|
1038
|
-
/**
|
|
1039
|
-
* The date after when the item is not valid. For example, the end of an offer, salary period, or a period of opening hours.
|
|
1040
|
-
*/
|
|
1041
|
-
validThrough?: ResolvableDate;
|
|
1042
|
-
}
|
|
1043
|
-
interface OpeningHoursSpecification extends OpeningHoursSimple {
|
|
1044
|
-
}
|
|
1045
|
-
declare const openingHoursResolver: SchemaOrgNodeDefinition<OpeningHoursSpecification>;
|
|
1046
|
-
|
|
1047
|
-
type ValidLocalBusinessSubTypes = 'AnimalShelter' | 'ArchiveOrganization' | 'AutomotiveBusiness' | 'ChildCare' | 'Dentist' | 'DryCleaningOrLaundry' | 'EmergencyService' | 'EmploymentAgency' | 'EntertainmentBusiness' | 'FinancialService' | 'FoodEstablishment' | 'GovernmentOffice' | 'HealthAndBeautyBusiness' | 'HomeAndConstructionBusiness' | 'InternetCafe' | 'LegalService' | 'Library' | 'LodgingBusiness' | 'MedicalBusiness' | 'ProfessionalService' | 'RadioStation' | 'RealEstateAgent' | 'RecyclingCenter' | 'SelfStorage' | 'ShoppingCenter' | 'SportsActivityLocation' | 'Store' | 'TelevisionStation' | 'TouristInformationCenter' | 'TravelAgency';
|
|
1048
|
-
interface LocalBusinessSimple extends Organization {
|
|
1049
|
-
'@type'?: ['Organization', 'LocalBusiness'] | ['Organization', 'LocalBusiness', ValidLocalBusinessSubTypes] | ValidLocalBusinessSubTypes;
|
|
1050
|
-
/**
|
|
1051
|
-
* The primary public telephone number of the business.
|
|
1052
|
-
*/
|
|
1053
|
-
telephone?: string;
|
|
1054
|
-
/**
|
|
1055
|
-
* The primary public email address of the business.
|
|
1056
|
-
*/
|
|
1057
|
-
email?: string;
|
|
1058
|
-
/**
|
|
1059
|
-
* The primary public fax number of the business.
|
|
1060
|
-
*/
|
|
1061
|
-
faxNumber?: string;
|
|
1062
|
-
/**
|
|
1063
|
-
* The price range of the business, represented by a string of dollar symbols (e.g., $, $$, or $$$ ).
|
|
1064
|
-
*/
|
|
1065
|
-
priceRange?: string;
|
|
1066
|
-
/**
|
|
1067
|
-
* An array of GeoShape, Place or string definitions.
|
|
1068
|
-
*/
|
|
1069
|
-
areaServed?: unknown;
|
|
1070
|
-
/**
|
|
1071
|
-
* A GeoCoordinates object.
|
|
1072
|
-
*/
|
|
1073
|
-
geo?: unknown;
|
|
1074
|
-
/**
|
|
1075
|
-
* The VAT ID of the business.
|
|
1076
|
-
*/
|
|
1077
|
-
vatID?: string;
|
|
1078
|
-
/**
|
|
1079
|
-
* The tax ID of the business.
|
|
1080
|
-
*/
|
|
1081
|
-
taxID?: string;
|
|
1082
|
-
/**
|
|
1083
|
-
* The currency accepted.
|
|
1084
|
-
*/
|
|
1085
|
-
currenciesAccepted?: string;
|
|
1086
|
-
/**
|
|
1087
|
-
* The operating hours of the business.
|
|
1088
|
-
*/
|
|
1089
|
-
openingHoursSpecification?: NodeRelations<OpeningHoursSpecification>;
|
|
1090
|
-
}
|
|
1091
|
-
interface LocalBusiness extends LocalBusinessSimple {
|
|
1092
|
-
}
|
|
1093
|
-
/**
|
|
1094
|
-
* Describes a business which allows public visitation.
|
|
1095
|
-
* Typically, used to represent the business 'behind' the website, or on a page about a specific business.
|
|
1096
|
-
*/
|
|
1097
|
-
declare const localBusinessResolver: SchemaOrgNodeDefinition<LocalBusiness>;
|
|
1098
|
-
|
|
1099
|
-
interface RatingSimple extends Thing {
|
|
1100
|
-
'@type'?: 'Rating';
|
|
1101
|
-
/**
|
|
1102
|
-
* A numerical quality rating for the item, either a number, fraction, or percentage
|
|
1103
|
-
* (for example, "4", "60%", or "6 / 10").
|
|
1104
|
-
* Google understands the scale for fractions and percentages,
|
|
1105
|
-
* since the scale is implied in the fraction itself or the percentage.
|
|
1106
|
-
* The default scale for numbers is a 5-point scale, where 1 is the lowest value and 5 is the highest value.
|
|
1107
|
-
* If another scale is intended, use bestRating and worstRating.
|
|
1108
|
-
*/
|
|
1109
|
-
ratingValue: number | string;
|
|
1110
|
-
/**
|
|
1111
|
-
* The highest value allowed in this rating system. If bestRating is omitted, 5 is assumed.
|
|
1112
|
-
*/
|
|
1113
|
-
bestRating?: number;
|
|
1114
|
-
/**
|
|
1115
|
-
* The lowest value allowed in this rating system. If worstRating is omitted, 1 is assumed.
|
|
1116
|
-
*/
|
|
1117
|
-
worstRating?: number;
|
|
1118
|
-
}
|
|
1119
|
-
interface Rating extends RatingSimple {
|
|
1120
|
-
}
|
|
1121
|
-
declare const ratingResolver: SchemaOrgNodeDefinition<Rating>;
|
|
1122
|
-
|
|
1123
1151
|
interface ReviewSimple extends Thing {
|
|
1124
1152
|
/**
|
|
1125
1153
|
* A title for the review.
|
|
@@ -1541,4 +1569,4 @@ declare function PluginSchemaOrg(options?: PluginSchemaOrgOptions & {
|
|
|
1541
1569
|
*/
|
|
1542
1570
|
declare function SchemaOrgUnheadPlugin(config: MetaInput, meta: () => Partial<MetaInput> | Promise<Partial<MetaInput>>, options?: PluginSchemaOrgOptions): _unhead_schema.HeadPluginInput;
|
|
1543
1571
|
|
|
1544
|
-
export {
|
|
1572
|
+
export { PrimaryBookId as $, type Arrayable as A, type BreadcrumbList as B, type Comment$1 as C, aggregateOfferResolver as D, type Event as E, type FoodEstablishment as F, type AggregateRatingSimple as G, type HowTo as H, type ImageObject as I, type JobPosting as J, aggregateRatingResolver as K, type LocalBusiness as L, type MetaInput as M, type ArticleSimple as N, type Offer as O, type PostalAddress as P, type Question as Q, type ResolvedMeta as R, type SchemaOrgNodeDefinition as S, type Thing as T, PrimaryArticleId as U, type VirtualLocation as V, type WebPage as W, articleResolver as X, type BookSimple as Y, type BookEditionSimple as Z, bookEditionResolver as _, type SchemaOrgNode as a, videoResolver as a$, bookResolver as a0, type BreadcrumbSimple as a1, PrimaryBreadcrumbId as a2, breadcrumbResolver as a3, type CommentSimple as a4, commentResolver as a5, type CourseSimple as a6, courseResolver as a7, type EventSimple as a8, PrimaryEventId as a9, type OfferSimple as aA, offerResolver as aB, type OpeningHoursSimple as aC, openingHoursResolver as aD, type OrganizationSimple as aE, organizationResolver as aF, type PersonSimple as aG, personResolver as aH, type PostalAddressSimple as aI, addressResolver as aJ, type ProductSimple as aK, ProductId as aL, productResolver as aM, type QuestionSimple as aN, questionResolver as aO, type RatingSimple as aP, type Rating as aQ, ratingResolver as aR, type RecipeSimple as aS, type NutritionInformation as aT, RecipeId as aU, recipeResolver as aV, type SoftwareAppSimple as aW, softwareAppResolver as aX, type ReviewSimple as aY, reviewResolver as aZ, type VideoSimple as a_, eventResolver as aa, type VirtualLocationSimple as ab, virtualLocationResolver as ac, type PlaceSimple as ad, placeResolver as ae, type FoodEstablishmentSimple as af, foodEstablishmentResolver as ag, type HowToSimple as ah, HowToId as ai, howToResolver as aj, type HowToStepSimple as ak, howToStepResolver as al, type HowToDirection as am, howToStepDirectionResolver as an, type ItemListSimple as ao, itemListResolver as ap, type ImageSimple as aq, imageResolver as ar, type JobPostingSimple as as, jobPostingResolver as at, type ListItemSimple as au, listItemResolver as av, type LocalBusinessSimple as aw, localBusinessResolver as ax, type MovieSimple as ay, movieResolver as az, type SchemaOrgGraph as b, type WebPageSimple as b0, PrimaryWebPageId as b1, webPageResolver as b2, type ReadActionInput as b3, readActionResolver as b4, type WebSiteSimple as b5, PrimaryWebSiteId as b6, webSiteResolver as b7, type SearchActionInput as b8, searchActionResolver as b9, type PluginSchemaOrgOptions as ba, UnheadSchemaOrg as bb, PluginSchemaOrg as bc, SchemaOrgUnheadPlugin as bd, type NodeRelation as be, type NodeRelations as bf, type Identity as bg, type ResolvableDate as bh, type OptionalSchemaOrgPrefix as bi, type UserConfig as bj, type WithResolver as bk, type IdReference as bl, type Id as bm, type AggregateOffer as c, type AggregateRating as d, type Article as e, type Place as f, type HowToStep as g, type OpeningHoursSpecification as h, type Organization as i, type Person as j, type Product as k, type Recipe as l, type Review as m, type VideoObject as n, type WebSite as o, type Book as p, type Course as q, type ItemList as r, type ListItem as s, type Movie as t, type SearchAction as u, type ReadAction as v, type SoftwareApp as w, type BookEdition as x, createSchemaOrgGraph as y, type AggregateOfferSimple as z };
|