@unhead/schema-org 1.8.1 → 1.8.2

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const plugin = require('./shared/schema-org.a8dde0e3.cjs');
3
+ const plugin = require('./shared/schema-org.e1b939f4.cjs');
4
4
  const unhead = require('unhead');
5
5
  require('@unhead/shared');
6
6
  require('ufo');
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.96c8f113.cjs';
2
- export { z as AggregateOfferSimple, F as AggregateRatingSimple, K as ArticleSimple, Y as BookEditionSimple, X as BookSimple, a0 as BreadcrumbSimple, a3 as CommentSimple, a5 as CourseSimple, a7 as EventSimple, aj as HowToDirection, af as HowToId, ae as HowToSimple, ah as HowToStepSimple, bj as Id, bi as IdReference, bd as Identity, an as ImageSimple, al as ItemListSimple, ap as JobPostingSimple, ar as ListItemSimple, at as LocalBusinessSimple, av as MovieSimple, bb as NodeRelation, bc as NodeRelations, aQ as NutritionInformation, ax as OfferSimple, az as OpeningHoursSimple, bf as OptionalSchemaOrgPrefix, aB as OrganizationSimple, aD as PersonSimple, ac as PlaceSimple, b9 as PluginSchemaOrg, b7 as PluginSchemaOrgOptions, aF as PostalAddressSimple, N as PrimaryArticleId, _ as PrimaryBookId, a1 as PrimaryBreadcrumbId, a8 as PrimaryEventId, a_ as PrimaryWebPageId, b3 as PrimaryWebSiteId, aI as ProductId, aH as ProductSimple, aK as QuestionSimple, aN as Rating, aM as RatingSimple, b0 as ReadActionInput, aR as RecipeId, aP as RecipeSimple, be as ResolvableDate, aV as ReviewSimple, ba as SchemaOrgUnheadPlugin, b5 as SearchActionInput, aT as SoftwareAppSimple, b8 as UnheadSchemaOrg, bg as UserConfig, aX as VideoSimple, aa as VirtualLocationSimple, aZ as WebPageSimple, b2 as WebSiteSimple, bh as WithResolver, aG as addressResolver, D as aggregateOfferResolver, G as aggregateRatingResolver, U as articleResolver, Z as bookEditionResolver, $ as bookResolver, a2 as breadcrumbResolver, a4 as commentResolver, a6 as courseResolver, y as createSchemaOrgGraph, a9 as eventResolver, ag as howToResolver, ak as howToStepDirectionResolver, ai as howToStepResolver, ao as imageResolver, am as itemListResolver, aq as jobPostingResolver, as as listItemResolver, au as localBusinessResolver, aw as movieResolver, ay as offerResolver, aA as openingHoursResolver, aC as organizationResolver, aE as personResolver, ad as placeResolver, aJ as productResolver, aL as questionResolver, aO as ratingResolver, b1 as readActionResolver, aS as recipeResolver, aW as reviewResolver, b6 as searchActionResolver, aU as softwareAppResolver, aY as videoResolver, ab as virtualLocationResolver, a$ as webPageResolver, b4 as webSiteResolver } from './shared/schema-org.96c8f113.cjs';
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.248e802f.cjs';
2
+ export { z as AggregateOfferSimple, F as AggregateRatingSimple, K as ArticleSimple, Y as BookEditionSimple, X as BookSimple, a0 as BreadcrumbSimple, a3 as CommentSimple, a5 as CourseSimple, a7 as EventSimple, aj as HowToDirection, af as HowToId, ae as HowToSimple, ah as HowToStepSimple, bj as Id, bi as IdReference, bd as Identity, an as ImageSimple, al as ItemListSimple, ap as JobPostingSimple, ar as ListItemSimple, at as LocalBusinessSimple, av as MovieSimple, bb as NodeRelation, bc as NodeRelations, aQ as NutritionInformation, ax as OfferSimple, az as OpeningHoursSimple, bf as OptionalSchemaOrgPrefix, aB as OrganizationSimple, aD as PersonSimple, ac as PlaceSimple, b9 as PluginSchemaOrg, b7 as PluginSchemaOrgOptions, aF as PostalAddressSimple, N as PrimaryArticleId, _ as PrimaryBookId, a1 as PrimaryBreadcrumbId, a8 as PrimaryEventId, a_ as PrimaryWebPageId, b3 as PrimaryWebSiteId, aI as ProductId, aH as ProductSimple, aK as QuestionSimple, aN as Rating, aM as RatingSimple, b0 as ReadActionInput, aR as RecipeId, aP as RecipeSimple, be as ResolvableDate, aV as ReviewSimple, ba as SchemaOrgUnheadPlugin, b5 as SearchActionInput, aT as SoftwareAppSimple, b8 as UnheadSchemaOrg, bg as UserConfig, aX as VideoSimple, aa as VirtualLocationSimple, aZ as WebPageSimple, b2 as WebSiteSimple, bh as WithResolver, aG as addressResolver, D as aggregateOfferResolver, G as aggregateRatingResolver, U as articleResolver, Z as bookEditionResolver, $ as bookResolver, a2 as breadcrumbResolver, a4 as commentResolver, a6 as courseResolver, y as createSchemaOrgGraph, a9 as eventResolver, ag as howToResolver, ak as howToStepDirectionResolver, ai as howToStepResolver, ao as imageResolver, am as itemListResolver, aq as jobPostingResolver, as as listItemResolver, au as localBusinessResolver, aw as movieResolver, ay as offerResolver, aA as openingHoursResolver, aC as organizationResolver, aE as personResolver, ad as placeResolver, aJ as productResolver, aL as questionResolver, aO as ratingResolver, b1 as readActionResolver, aS as recipeResolver, aW as reviewResolver, b6 as searchActionResolver, aU as softwareAppResolver, aY as videoResolver, ab as virtualLocationResolver, a$ as webPageResolver, b4 as webSiteResolver } from './shared/schema-org.248e802f.cjs';
3
3
  import * as _unhead_schema from '@unhead/schema';
4
4
  import * as unhead from 'unhead';
5
5
 
@@ -28,7 +28,7 @@ interface ResolverOptions {
28
28
  afterResolve?: (node: any) => void;
29
29
  }
30
30
 
31
- declare function resolveMeta(meta: MetaInput): ResolvedMeta;
31
+ declare function resolveMeta(meta: Partial<MetaInput>): ResolvedMeta;
32
32
  declare function resolveNode<T extends Thing>(node: T, ctx: SchemaOrgGraph, resolver: SchemaOrgNodeDefinition<T>): T;
33
33
  declare function resolveNodeId<T extends Thing>(node: T, ctx: SchemaOrgGraph, resolver: SchemaOrgNodeDefinition<T>, resolveAsRoot?: boolean): T;
34
34
  declare function resolveRelation(input: Arrayable<any>, ctx: SchemaOrgGraph, fallbackResolver?: SchemaOrgNodeDefinition<any>, options?: ResolverOptions): any;
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.96c8f113.mjs';
2
- export { z as AggregateOfferSimple, F as AggregateRatingSimple, K as ArticleSimple, Y as BookEditionSimple, X as BookSimple, a0 as BreadcrumbSimple, a3 as CommentSimple, a5 as CourseSimple, a7 as EventSimple, aj as HowToDirection, af as HowToId, ae as HowToSimple, ah as HowToStepSimple, bj as Id, bi as IdReference, bd as Identity, an as ImageSimple, al as ItemListSimple, ap as JobPostingSimple, ar as ListItemSimple, at as LocalBusinessSimple, av as MovieSimple, bb as NodeRelation, bc as NodeRelations, aQ as NutritionInformation, ax as OfferSimple, az as OpeningHoursSimple, bf as OptionalSchemaOrgPrefix, aB as OrganizationSimple, aD as PersonSimple, ac as PlaceSimple, b9 as PluginSchemaOrg, b7 as PluginSchemaOrgOptions, aF as PostalAddressSimple, N as PrimaryArticleId, _ as PrimaryBookId, a1 as PrimaryBreadcrumbId, a8 as PrimaryEventId, a_ as PrimaryWebPageId, b3 as PrimaryWebSiteId, aI as ProductId, aH as ProductSimple, aK as QuestionSimple, aN as Rating, aM as RatingSimple, b0 as ReadActionInput, aR as RecipeId, aP as RecipeSimple, be as ResolvableDate, aV as ReviewSimple, ba as SchemaOrgUnheadPlugin, b5 as SearchActionInput, aT as SoftwareAppSimple, b8 as UnheadSchemaOrg, bg as UserConfig, aX as VideoSimple, aa as VirtualLocationSimple, aZ as WebPageSimple, b2 as WebSiteSimple, bh as WithResolver, aG as addressResolver, D as aggregateOfferResolver, G as aggregateRatingResolver, U as articleResolver, Z as bookEditionResolver, $ as bookResolver, a2 as breadcrumbResolver, a4 as commentResolver, a6 as courseResolver, y as createSchemaOrgGraph, a9 as eventResolver, ag as howToResolver, ak as howToStepDirectionResolver, ai as howToStepResolver, ao as imageResolver, am as itemListResolver, aq as jobPostingResolver, as as listItemResolver, au as localBusinessResolver, aw as movieResolver, ay as offerResolver, aA as openingHoursResolver, aC as organizationResolver, aE as personResolver, ad as placeResolver, aJ as productResolver, aL as questionResolver, aO as ratingResolver, b1 as readActionResolver, aS as recipeResolver, aW as reviewResolver, b6 as searchActionResolver, aU as softwareAppResolver, aY as videoResolver, ab as virtualLocationResolver, a$ as webPageResolver, b4 as webSiteResolver } from './shared/schema-org.96c8f113.mjs';
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.248e802f.mjs';
2
+ export { z as AggregateOfferSimple, F as AggregateRatingSimple, K as ArticleSimple, Y as BookEditionSimple, X as BookSimple, a0 as BreadcrumbSimple, a3 as CommentSimple, a5 as CourseSimple, a7 as EventSimple, aj as HowToDirection, af as HowToId, ae as HowToSimple, ah as HowToStepSimple, bj as Id, bi as IdReference, bd as Identity, an as ImageSimple, al as ItemListSimple, ap as JobPostingSimple, ar as ListItemSimple, at as LocalBusinessSimple, av as MovieSimple, bb as NodeRelation, bc as NodeRelations, aQ as NutritionInformation, ax as OfferSimple, az as OpeningHoursSimple, bf as OptionalSchemaOrgPrefix, aB as OrganizationSimple, aD as PersonSimple, ac as PlaceSimple, b9 as PluginSchemaOrg, b7 as PluginSchemaOrgOptions, aF as PostalAddressSimple, N as PrimaryArticleId, _ as PrimaryBookId, a1 as PrimaryBreadcrumbId, a8 as PrimaryEventId, a_ as PrimaryWebPageId, b3 as PrimaryWebSiteId, aI as ProductId, aH as ProductSimple, aK as QuestionSimple, aN as Rating, aM as RatingSimple, b0 as ReadActionInput, aR as RecipeId, aP as RecipeSimple, be as ResolvableDate, aV as ReviewSimple, ba as SchemaOrgUnheadPlugin, b5 as SearchActionInput, aT as SoftwareAppSimple, b8 as UnheadSchemaOrg, bg as UserConfig, aX as VideoSimple, aa as VirtualLocationSimple, aZ as WebPageSimple, b2 as WebSiteSimple, bh as WithResolver, aG as addressResolver, D as aggregateOfferResolver, G as aggregateRatingResolver, U as articleResolver, Z as bookEditionResolver, $ as bookResolver, a2 as breadcrumbResolver, a4 as commentResolver, a6 as courseResolver, y as createSchemaOrgGraph, a9 as eventResolver, ag as howToResolver, ak as howToStepDirectionResolver, ai as howToStepResolver, ao as imageResolver, am as itemListResolver, aq as jobPostingResolver, as as listItemResolver, au as localBusinessResolver, aw as movieResolver, ay as offerResolver, aA as openingHoursResolver, aC as organizationResolver, aE as personResolver, ad as placeResolver, aJ as productResolver, aL as questionResolver, aO as ratingResolver, b1 as readActionResolver, aS as recipeResolver, aW as reviewResolver, b6 as searchActionResolver, aU as softwareAppResolver, aY as videoResolver, ab as virtualLocationResolver, a$ as webPageResolver, b4 as webSiteResolver } from './shared/schema-org.248e802f.mjs';
3
3
  import * as _unhead_schema from '@unhead/schema';
4
4
  import * as unhead from 'unhead';
5
5
 
@@ -28,7 +28,7 @@ interface ResolverOptions {
28
28
  afterResolve?: (node: any) => void;
29
29
  }
30
30
 
31
- declare function resolveMeta(meta: MetaInput): ResolvedMeta;
31
+ declare function resolveMeta(meta: Partial<MetaInput>): ResolvedMeta;
32
32
  declare function resolveNode<T extends Thing>(node: T, ctx: SchemaOrgGraph, resolver: SchemaOrgNodeDefinition<T>): T;
33
33
  declare function resolveNodeId<T extends Thing>(node: T, ctx: SchemaOrgGraph, resolver: SchemaOrgNodeDefinition<T>, resolveAsRoot?: boolean): T;
34
34
  declare function resolveRelation(input: Arrayable<any>, ctx: SchemaOrgGraph, fallbackResolver?: SchemaOrgNodeDefinition<any>, options?: ResolverOptions): any;
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.96c8f113.js';
2
- export { z as AggregateOfferSimple, F as AggregateRatingSimple, K as ArticleSimple, Y as BookEditionSimple, X as BookSimple, a0 as BreadcrumbSimple, a3 as CommentSimple, a5 as CourseSimple, a7 as EventSimple, aj as HowToDirection, af as HowToId, ae as HowToSimple, ah as HowToStepSimple, bj as Id, bi as IdReference, bd as Identity, an as ImageSimple, al as ItemListSimple, ap as JobPostingSimple, ar as ListItemSimple, at as LocalBusinessSimple, av as MovieSimple, bb as NodeRelation, bc as NodeRelations, aQ as NutritionInformation, ax as OfferSimple, az as OpeningHoursSimple, bf as OptionalSchemaOrgPrefix, aB as OrganizationSimple, aD as PersonSimple, ac as PlaceSimple, b9 as PluginSchemaOrg, b7 as PluginSchemaOrgOptions, aF as PostalAddressSimple, N as PrimaryArticleId, _ as PrimaryBookId, a1 as PrimaryBreadcrumbId, a8 as PrimaryEventId, a_ as PrimaryWebPageId, b3 as PrimaryWebSiteId, aI as ProductId, aH as ProductSimple, aK as QuestionSimple, aN as Rating, aM as RatingSimple, b0 as ReadActionInput, aR as RecipeId, aP as RecipeSimple, be as ResolvableDate, aV as ReviewSimple, ba as SchemaOrgUnheadPlugin, b5 as SearchActionInput, aT as SoftwareAppSimple, b8 as UnheadSchemaOrg, bg as UserConfig, aX as VideoSimple, aa as VirtualLocationSimple, aZ as WebPageSimple, b2 as WebSiteSimple, bh as WithResolver, aG as addressResolver, D as aggregateOfferResolver, G as aggregateRatingResolver, U as articleResolver, Z as bookEditionResolver, $ as bookResolver, a2 as breadcrumbResolver, a4 as commentResolver, a6 as courseResolver, y as createSchemaOrgGraph, a9 as eventResolver, ag as howToResolver, ak as howToStepDirectionResolver, ai as howToStepResolver, ao as imageResolver, am as itemListResolver, aq as jobPostingResolver, as as listItemResolver, au as localBusinessResolver, aw as movieResolver, ay as offerResolver, aA as openingHoursResolver, aC as organizationResolver, aE as personResolver, ad as placeResolver, aJ as productResolver, aL as questionResolver, aO as ratingResolver, b1 as readActionResolver, aS as recipeResolver, aW as reviewResolver, b6 as searchActionResolver, aU as softwareAppResolver, aY as videoResolver, ab as virtualLocationResolver, a$ as webPageResolver, b4 as webSiteResolver } from './shared/schema-org.96c8f113.js';
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.248e802f.js';
2
+ export { z as AggregateOfferSimple, F as AggregateRatingSimple, K as ArticleSimple, Y as BookEditionSimple, X as BookSimple, a0 as BreadcrumbSimple, a3 as CommentSimple, a5 as CourseSimple, a7 as EventSimple, aj as HowToDirection, af as HowToId, ae as HowToSimple, ah as HowToStepSimple, bj as Id, bi as IdReference, bd as Identity, an as ImageSimple, al as ItemListSimple, ap as JobPostingSimple, ar as ListItemSimple, at as LocalBusinessSimple, av as MovieSimple, bb as NodeRelation, bc as NodeRelations, aQ as NutritionInformation, ax as OfferSimple, az as OpeningHoursSimple, bf as OptionalSchemaOrgPrefix, aB as OrganizationSimple, aD as PersonSimple, ac as PlaceSimple, b9 as PluginSchemaOrg, b7 as PluginSchemaOrgOptions, aF as PostalAddressSimple, N as PrimaryArticleId, _ as PrimaryBookId, a1 as PrimaryBreadcrumbId, a8 as PrimaryEventId, a_ as PrimaryWebPageId, b3 as PrimaryWebSiteId, aI as ProductId, aH as ProductSimple, aK as QuestionSimple, aN as Rating, aM as RatingSimple, b0 as ReadActionInput, aR as RecipeId, aP as RecipeSimple, be as ResolvableDate, aV as ReviewSimple, ba as SchemaOrgUnheadPlugin, b5 as SearchActionInput, aT as SoftwareAppSimple, b8 as UnheadSchemaOrg, bg as UserConfig, aX as VideoSimple, aa as VirtualLocationSimple, aZ as WebPageSimple, b2 as WebSiteSimple, bh as WithResolver, aG as addressResolver, D as aggregateOfferResolver, G as aggregateRatingResolver, U as articleResolver, Z as bookEditionResolver, $ as bookResolver, a2 as breadcrumbResolver, a4 as commentResolver, a6 as courseResolver, y as createSchemaOrgGraph, a9 as eventResolver, ag as howToResolver, ak as howToStepDirectionResolver, ai as howToStepResolver, ao as imageResolver, am as itemListResolver, aq as jobPostingResolver, as as listItemResolver, au as localBusinessResolver, aw as movieResolver, ay as offerResolver, aA as openingHoursResolver, aC as organizationResolver, aE as personResolver, ad as placeResolver, aJ as productResolver, aL as questionResolver, aO as ratingResolver, b1 as readActionResolver, aS as recipeResolver, aW as reviewResolver, b6 as searchActionResolver, aU as softwareAppResolver, aY as videoResolver, ab as virtualLocationResolver, a$ as webPageResolver, b4 as webSiteResolver } from './shared/schema-org.248e802f.js';
3
3
  import * as _unhead_schema from '@unhead/schema';
4
4
  import * as unhead from 'unhead';
5
5
 
@@ -28,7 +28,7 @@ interface ResolverOptions {
28
28
  afterResolve?: (node: any) => void;
29
29
  }
30
30
 
31
- declare function resolveMeta(meta: MetaInput): ResolvedMeta;
31
+ declare function resolveMeta(meta: Partial<MetaInput>): ResolvedMeta;
32
32
  declare function resolveNode<T extends Thing>(node: T, ctx: SchemaOrgGraph, resolver: SchemaOrgNodeDefinition<T>): T;
33
33
  declare function resolveNodeId<T extends Thing>(node: T, ctx: SchemaOrgGraph, resolver: SchemaOrgNodeDefinition<T>, resolveAsRoot?: boolean): T;
34
34
  declare function resolveRelation(input: Arrayable<any>, ctx: SchemaOrgGraph, fallbackResolver?: SchemaOrgNodeDefinition<any>, options?: ResolverOptions): any;
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
- import { U as UnheadSchemaOrg } from './shared/schema-org.792f9fa2.mjs';
2
- export { H as HowToId, a0 as PluginSchemaOrg, P as PrimaryArticleId, k as PrimaryBookId, m as PrimaryBreadcrumbId, s as PrimaryEventId, W as PrimaryWebPageId, Z as PrimaryWebSiteId, L as ProductId, R as RecipeId, a1 as SchemaOrgUnheadPlugin, K 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 howToResolver, y as howToStepDirectionResolver, x as howToStepResolver, A as imageResolver, z as itemListResolver, B as jobPostingResolver, C as listItemResolver, D as localBusinessResolver, E as movieResolver, n as normaliseNodes, F as offerResolver, G as openingHoursResolver, I as organizationResolver, J as personResolver, u as placeResolver, M as productResolver, N as questionResolver, O as ratingResolver, Y as readActionResolver, Q as recipeResolver, r as resolveMeta, b as resolveNode, e as resolveNodeId, f as resolveRelation, T as reviewResolver, $ as searchActionResolver, S as softwareAppResolver, V as videoResolver, v as virtualLocationResolver, X as webPageResolver, _ as webSiteResolver } from './shared/schema-org.792f9fa2.mjs';
1
+ import { U as UnheadSchemaOrg } from './shared/schema-org.3f27883f.mjs';
2
+ export { H as HowToId, a0 as PluginSchemaOrg, P as PrimaryArticleId, k as PrimaryBookId, m as PrimaryBreadcrumbId, s as PrimaryEventId, W as PrimaryWebPageId, Z as PrimaryWebSiteId, L as ProductId, R as RecipeId, a1 as SchemaOrgUnheadPlugin, K 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 howToResolver, y as howToStepDirectionResolver, x as howToStepResolver, A as imageResolver, z as itemListResolver, B as jobPostingResolver, C as listItemResolver, D as localBusinessResolver, E as movieResolver, n as normaliseNodes, F as offerResolver, G as openingHoursResolver, I as organizationResolver, J as personResolver, u as placeResolver, M as productResolver, N as questionResolver, O as ratingResolver, Y as readActionResolver, Q as recipeResolver, r as resolveMeta, b as resolveNode, e as resolveNodeId, f as resolveRelation, T as reviewResolver, $ as searchActionResolver, S as softwareAppResolver, V as videoResolver, v as virtualLocationResolver, X as webPageResolver, _ as webSiteResolver } from './shared/schema-org.3f27883f.mjs';
3
3
  import { getActiveHead, useHead } from 'unhead';
4
4
  import '@unhead/shared';
5
5
  import 'ufo';
@@ -1536,6 +1536,6 @@ declare function PluginSchemaOrg(options?: PluginSchemaOrgOptions & {
1536
1536
  /**
1537
1537
  * @deprecated Providing a plugin is no longer required. You can remove this code.
1538
1538
  */
1539
- declare function SchemaOrgUnheadPlugin(config: MetaInput, meta: () => Record<string, any>, options?: PluginSchemaOrgOptions): _unhead_schema.HeadPluginInput;
1539
+ declare function SchemaOrgUnheadPlugin(config: MetaInput, meta: () => Partial<MetaInput> | Promise<Partial<MetaInput>>, options?: PluginSchemaOrgOptions): _unhead_schema.HeadPluginInput;
1540
1540
 
1541
1541
  export { bookResolver as $, type Arrayable as A, type BreadcrumbList as B, type Comment$1 as C, aggregateOfferResolver as D, type Event as E, type AggregateRatingSimple as F, aggregateRatingResolver as G, type HowTo as H, type ImageObject as I, type JobPosting as J, type ArticleSimple as K, type LocalBusiness as L, type MetaInput as M, PrimaryArticleId 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, articleResolver as U, type VirtualLocation as V, type WebPage as W, type BookSimple as X, type BookEditionSimple as Y, bookEditionResolver as Z, PrimaryBookId as _, type SchemaOrgNode as a, webPageResolver as a$, type BreadcrumbSimple as a0, PrimaryBreadcrumbId as a1, breadcrumbResolver as a2, type CommentSimple as a3, commentResolver as a4, type CourseSimple as a5, courseResolver as a6, type EventSimple as a7, PrimaryEventId as a8, eventResolver as a9, openingHoursResolver as aA, type OrganizationSimple as aB, organizationResolver as aC, type PersonSimple as aD, personResolver as aE, type PostalAddressSimple as aF, addressResolver as aG, type ProductSimple as aH, ProductId as aI, productResolver as aJ, type QuestionSimple as aK, questionResolver as aL, type RatingSimple as aM, type Rating as aN, ratingResolver as aO, type RecipeSimple as aP, type NutritionInformation as aQ, RecipeId as aR, recipeResolver as aS, type SoftwareAppSimple as aT, softwareAppResolver as aU, type ReviewSimple as aV, reviewResolver as aW, type VideoSimple as aX, videoResolver as aY, type WebPageSimple as aZ, PrimaryWebPageId as a_, type VirtualLocationSimple as aa, virtualLocationResolver as ab, type PlaceSimple as ac, placeResolver as ad, type HowToSimple as ae, HowToId as af, howToResolver as ag, type HowToStepSimple as ah, howToStepResolver as ai, type HowToDirection as aj, howToStepDirectionResolver as ak, type ItemListSimple as al, itemListResolver as am, type ImageSimple as an, imageResolver as ao, type JobPostingSimple as ap, jobPostingResolver as aq, type ListItemSimple as ar, listItemResolver as as, type LocalBusinessSimple as at, localBusinessResolver as au, type MovieSimple as av, movieResolver as aw, type OfferSimple as ax, offerResolver as ay, type OpeningHoursSimple as az, type SchemaOrgGraph as b, type ReadActionInput as b0, readActionResolver as b1, type WebSiteSimple as b2, PrimaryWebSiteId as b3, webSiteResolver as b4, type SearchActionInput as b5, searchActionResolver as b6, type PluginSchemaOrgOptions as b7, UnheadSchemaOrg as b8, PluginSchemaOrg as b9, SchemaOrgUnheadPlugin as ba, type NodeRelation as bb, type NodeRelations as bc, type Identity as bd, type ResolvableDate as be, type OptionalSchemaOrgPrefix as bf, type UserConfig as bg, type WithResolver as bh, type IdReference as bi, type Id as bj, 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 };
@@ -1536,6 +1536,6 @@ declare function PluginSchemaOrg(options?: PluginSchemaOrgOptions & {
1536
1536
  /**
1537
1537
  * @deprecated Providing a plugin is no longer required. You can remove this code.
1538
1538
  */
1539
- declare function SchemaOrgUnheadPlugin(config: MetaInput, meta: () => Record<string, any>, options?: PluginSchemaOrgOptions): _unhead_schema.HeadPluginInput;
1539
+ declare function SchemaOrgUnheadPlugin(config: MetaInput, meta: () => Partial<MetaInput> | Promise<Partial<MetaInput>>, options?: PluginSchemaOrgOptions): _unhead_schema.HeadPluginInput;
1540
1540
 
1541
1541
  export { bookResolver as $, type Arrayable as A, type BreadcrumbList as B, type Comment$1 as C, aggregateOfferResolver as D, type Event as E, type AggregateRatingSimple as F, aggregateRatingResolver as G, type HowTo as H, type ImageObject as I, type JobPosting as J, type ArticleSimple as K, type LocalBusiness as L, type MetaInput as M, PrimaryArticleId 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, articleResolver as U, type VirtualLocation as V, type WebPage as W, type BookSimple as X, type BookEditionSimple as Y, bookEditionResolver as Z, PrimaryBookId as _, type SchemaOrgNode as a, webPageResolver as a$, type BreadcrumbSimple as a0, PrimaryBreadcrumbId as a1, breadcrumbResolver as a2, type CommentSimple as a3, commentResolver as a4, type CourseSimple as a5, courseResolver as a6, type EventSimple as a7, PrimaryEventId as a8, eventResolver as a9, openingHoursResolver as aA, type OrganizationSimple as aB, organizationResolver as aC, type PersonSimple as aD, personResolver as aE, type PostalAddressSimple as aF, addressResolver as aG, type ProductSimple as aH, ProductId as aI, productResolver as aJ, type QuestionSimple as aK, questionResolver as aL, type RatingSimple as aM, type Rating as aN, ratingResolver as aO, type RecipeSimple as aP, type NutritionInformation as aQ, RecipeId as aR, recipeResolver as aS, type SoftwareAppSimple as aT, softwareAppResolver as aU, type ReviewSimple as aV, reviewResolver as aW, type VideoSimple as aX, videoResolver as aY, type WebPageSimple as aZ, PrimaryWebPageId as a_, type VirtualLocationSimple as aa, virtualLocationResolver as ab, type PlaceSimple as ac, placeResolver as ad, type HowToSimple as ae, HowToId as af, howToResolver as ag, type HowToStepSimple as ah, howToStepResolver as ai, type HowToDirection as aj, howToStepDirectionResolver as ak, type ItemListSimple as al, itemListResolver as am, type ImageSimple as an, imageResolver as ao, type JobPostingSimple as ap, jobPostingResolver as aq, type ListItemSimple as ar, listItemResolver as as, type LocalBusinessSimple as at, localBusinessResolver as au, type MovieSimple as av, movieResolver as aw, type OfferSimple as ax, offerResolver as ay, type OpeningHoursSimple as az, type SchemaOrgGraph as b, type ReadActionInput as b0, readActionResolver as b1, type WebSiteSimple as b2, PrimaryWebSiteId as b3, webSiteResolver as b4, type SearchActionInput as b5, searchActionResolver as b6, type PluginSchemaOrgOptions as b7, UnheadSchemaOrg as b8, PluginSchemaOrg as b9, SchemaOrgUnheadPlugin as ba, type NodeRelation as bb, type NodeRelations as bc, type Identity as bd, type ResolvableDate as be, type OptionalSchemaOrgPrefix as bf, type UserConfig as bg, type WithResolver as bh, type IdReference as bi, type Id as bj, 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 };
@@ -1536,6 +1536,6 @@ declare function PluginSchemaOrg(options?: PluginSchemaOrgOptions & {
1536
1536
  /**
1537
1537
  * @deprecated Providing a plugin is no longer required. You can remove this code.
1538
1538
  */
1539
- declare function SchemaOrgUnheadPlugin(config: MetaInput, meta: () => Record<string, any>, options?: PluginSchemaOrgOptions): _unhead_schema.HeadPluginInput;
1539
+ declare function SchemaOrgUnheadPlugin(config: MetaInput, meta: () => Partial<MetaInput> | Promise<Partial<MetaInput>>, options?: PluginSchemaOrgOptions): _unhead_schema.HeadPluginInput;
1540
1540
 
1541
1541
  export { bookResolver as $, type Arrayable as A, type BreadcrumbList as B, type Comment$1 as C, aggregateOfferResolver as D, type Event as E, type AggregateRatingSimple as F, aggregateRatingResolver as G, type HowTo as H, type ImageObject as I, type JobPosting as J, type ArticleSimple as K, type LocalBusiness as L, type MetaInput as M, PrimaryArticleId 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, articleResolver as U, type VirtualLocation as V, type WebPage as W, type BookSimple as X, type BookEditionSimple as Y, bookEditionResolver as Z, PrimaryBookId as _, type SchemaOrgNode as a, webPageResolver as a$, type BreadcrumbSimple as a0, PrimaryBreadcrumbId as a1, breadcrumbResolver as a2, type CommentSimple as a3, commentResolver as a4, type CourseSimple as a5, courseResolver as a6, type EventSimple as a7, PrimaryEventId as a8, eventResolver as a9, openingHoursResolver as aA, type OrganizationSimple as aB, organizationResolver as aC, type PersonSimple as aD, personResolver as aE, type PostalAddressSimple as aF, addressResolver as aG, type ProductSimple as aH, ProductId as aI, productResolver as aJ, type QuestionSimple as aK, questionResolver as aL, type RatingSimple as aM, type Rating as aN, ratingResolver as aO, type RecipeSimple as aP, type NutritionInformation as aQ, RecipeId as aR, recipeResolver as aS, type SoftwareAppSimple as aT, softwareAppResolver as aU, type ReviewSimple as aV, reviewResolver as aW, type VideoSimple as aX, videoResolver as aY, type WebPageSimple as aZ, PrimaryWebPageId as a_, type VirtualLocationSimple as aa, virtualLocationResolver as ab, type PlaceSimple as ac, placeResolver as ad, type HowToSimple as ae, HowToId as af, howToResolver as ag, type HowToStepSimple as ah, howToStepResolver as ai, type HowToDirection as aj, howToStepDirectionResolver as ak, type ItemListSimple as al, itemListResolver as am, type ImageSimple as an, imageResolver as ao, type JobPostingSimple as ap, jobPostingResolver as aq, type ListItemSimple as ar, listItemResolver as as, type LocalBusinessSimple as at, localBusinessResolver as au, type MovieSimple as av, movieResolver as aw, type OfferSimple as ax, offerResolver as ay, type OpeningHoursSimple as az, type SchemaOrgGraph as b, type ReadActionInput as b0, readActionResolver as b1, type WebSiteSimple as b2, PrimaryWebSiteId as b3, webSiteResolver as b4, type SearchActionInput as b5, searchActionResolver as b6, type PluginSchemaOrgOptions as b7, UnheadSchemaOrg as b8, PluginSchemaOrg as b9, SchemaOrgUnheadPlugin as ba, type NodeRelation as bb, type NodeRelations as bc, type Identity as bd, type ResolvableDate as be, type OptionalSchemaOrgPrefix as bf, type UserConfig as bg, type WithResolver as bh, type IdReference as bi, type Id as bj, 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 };
@@ -1,4 +1,4 @@
1
- import { hashCode, defineHeadPlugin } from '@unhead/shared';
1
+ import { hashCode, defineHeadPlugin, processTemplateParams } from '@unhead/shared';
2
2
  import { hasProtocol, joinURL, withBase, withoutTrailingSlash, hasTrailingSlash, withTrailingSlash } from 'ufo';
3
3
 
4
4
  function defineSchemaOrgResolver(schema) {
@@ -1692,7 +1692,7 @@ function resolveMeta(meta) {
1692
1692
  else if (!meta.trailingSlash && hasTrailingSlash(meta.path))
1693
1693
  meta.path = withoutTrailingSlash(meta.path);
1694
1694
  }
1695
- meta.url = joinURL(meta.host, meta.path);
1695
+ meta.url = joinURL(meta.host || "", meta.path);
1696
1696
  return {
1697
1697
  ...meta,
1698
1698
  host: meta.host,
@@ -1953,7 +1953,7 @@ function SchemaOrgUnheadPlugin(config, meta, options) {
1953
1953
  config = resolveMeta({ ...config });
1954
1954
  let graph;
1955
1955
  let resolvedMeta = {};
1956
- return defineHeadPlugin({
1956
+ return defineHeadPlugin((head) => ({
1957
1957
  key: "schema-org",
1958
1958
  hooks: {
1959
1959
  "entries:resolve": function() {
@@ -1990,9 +1990,9 @@ function SchemaOrgUnheadPlugin(config, meta, options) {
1990
1990
  resolvedMeta.image = tag.props.content;
1991
1991
  } else if (tag.tag === "templateParams" && tag.props.schemaOrg) {
1992
1992
  resolvedMeta = {
1993
+ ...resolvedMeta,
1993
1994
  // @ts-expect-error untyped
1994
- ...tag.props.schemaOrg,
1995
- ...resolvedMeta
1995
+ ...tag.props.schemaOrg
1996
1996
  };
1997
1997
  delete tag.props.schemaOrg;
1998
1998
  }
@@ -2001,16 +2001,21 @@ function SchemaOrgUnheadPlugin(config, meta, options) {
2001
2001
  for (const tag of ctx.tags) {
2002
2002
  if (tag.tag === "script" && tag.key === "schema-org-graph") {
2003
2003
  const minify = options?.minify || process.env.NODE_ENV === "production";
2004
- tag.innerHTML = JSON.stringify({
2005
- "@context": "https://schema.org",
2006
- "@graph": graph.resolveGraph({ ...config, ...resolvedMeta, ...await meta?.() || {} })
2007
- }, null, minify ? 0 : 2);
2004
+ tag.innerHTML = processTemplateParams(
2005
+ JSON.stringify({
2006
+ "@context": "https://schema.org",
2007
+ "@graph": graph.resolveGraph({ ...await meta?.() || {}, ...config, ...resolvedMeta })
2008
+ }, null, minify ? 0 : 2),
2009
+ head._templateParams,
2010
+ head._separator
2011
+ );
2008
2012
  delete tag.props.nodes;
2013
+ return;
2009
2014
  }
2010
2015
  }
2011
2016
  }
2012
2017
  }
2013
- });
2018
+ }));
2014
2019
  }
2015
2020
 
2016
2021
  export { searchActionResolver as $, imageResolver as A, jobPostingResolver as B, listItemResolver as C, localBusinessResolver as D, movieResolver as E, offerResolver as F, openingHoursResolver as G, HowToId as H, organizationResolver as I, personResolver as J, addressResolver as K, ProductId as L, productResolver as M, questionResolver as N, ratingResolver as O, PrimaryArticleId as P, recipeResolver as Q, RecipeId as R, softwareAppResolver as S, reviewResolver as T, UnheadSchemaOrg as U, videoResolver as V, PrimaryWebPageId as W, webPageResolver as X, readActionResolver as Y, PrimaryWebSiteId as Z, webSiteResolver as _, dedupeNodes as a, PluginSchemaOrg as a0, SchemaOrgUnheadPlugin as a1, resolveNode as b, createSchemaOrgGraph as c, defineSchemaOrgResolver as d, resolveNodeId as e, resolveRelation as f, aggregateOfferResolver as g, aggregateRatingResolver as h, articleResolver as i, bookEditionResolver as j, PrimaryBookId as k, bookResolver as l, PrimaryBreadcrumbId as m, normaliseNodes as n, breadcrumbResolver as o, commentResolver as p, courseResolver as q, resolveMeta as r, PrimaryEventId as s, eventResolver as t, placeResolver as u, virtualLocationResolver as v, howToResolver as w, howToStepResolver as x, howToStepDirectionResolver as y, itemListResolver as z };
@@ -1694,7 +1694,7 @@ function resolveMeta(meta) {
1694
1694
  else if (!meta.trailingSlash && ufo.hasTrailingSlash(meta.path))
1695
1695
  meta.path = ufo.withoutTrailingSlash(meta.path);
1696
1696
  }
1697
- meta.url = ufo.joinURL(meta.host, meta.path);
1697
+ meta.url = ufo.joinURL(meta.host || "", meta.path);
1698
1698
  return {
1699
1699
  ...meta,
1700
1700
  host: meta.host,
@@ -1955,7 +1955,7 @@ function SchemaOrgUnheadPlugin(config, meta, options) {
1955
1955
  config = resolveMeta({ ...config });
1956
1956
  let graph;
1957
1957
  let resolvedMeta = {};
1958
- return shared.defineHeadPlugin({
1958
+ return shared.defineHeadPlugin((head) => ({
1959
1959
  key: "schema-org",
1960
1960
  hooks: {
1961
1961
  "entries:resolve": function() {
@@ -1992,9 +1992,9 @@ function SchemaOrgUnheadPlugin(config, meta, options) {
1992
1992
  resolvedMeta.image = tag.props.content;
1993
1993
  } else if (tag.tag === "templateParams" && tag.props.schemaOrg) {
1994
1994
  resolvedMeta = {
1995
+ ...resolvedMeta,
1995
1996
  // @ts-expect-error untyped
1996
- ...tag.props.schemaOrg,
1997
- ...resolvedMeta
1997
+ ...tag.props.schemaOrg
1998
1998
  };
1999
1999
  delete tag.props.schemaOrg;
2000
2000
  }
@@ -2003,16 +2003,21 @@ function SchemaOrgUnheadPlugin(config, meta, options) {
2003
2003
  for (const tag of ctx.tags) {
2004
2004
  if (tag.tag === "script" && tag.key === "schema-org-graph") {
2005
2005
  const minify = options?.minify || process.env.NODE_ENV === "production";
2006
- tag.innerHTML = JSON.stringify({
2007
- "@context": "https://schema.org",
2008
- "@graph": graph.resolveGraph({ ...config, ...resolvedMeta, ...await meta?.() || {} })
2009
- }, null, minify ? 0 : 2);
2006
+ tag.innerHTML = shared.processTemplateParams(
2007
+ JSON.stringify({
2008
+ "@context": "https://schema.org",
2009
+ "@graph": graph.resolveGraph({ ...await meta?.() || {}, ...config, ...resolvedMeta })
2010
+ }, null, minify ? 0 : 2),
2011
+ head._templateParams,
2012
+ head._separator
2013
+ );
2010
2014
  delete tag.props.nodes;
2015
+ return;
2011
2016
  }
2012
2017
  }
2013
2018
  }
2014
2019
  }
2015
- });
2020
+ }));
2016
2021
  }
2017
2022
 
2018
2023
  exports.HowToId = HowToId;
package/dist/vue.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const plugin = require('./shared/schema-org.a8dde0e3.cjs');
3
+ const plugin = require('./shared/schema-org.e1b939f4.cjs');
4
4
  const vue = require('@unhead/vue');
5
5
  const vue$1 = require('vue');
6
6
  require('@unhead/shared');
package/dist/vue.d.cts CHANGED
@@ -1,8 +1,8 @@
1
1
  import { ComponentResolver } from 'unplugin-vue-components';
2
2
  import * as _unhead_vue from '@unhead/vue';
3
3
  import { MaybeComputedRefOrPromise } from '@unhead/vue';
4
- import { 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, A as Arrayable, T as Thing } from './shared/schema-org.96c8f113.cjs';
5
- export { M as MetaInput, b9 as PluginSchemaOrg, ba as SchemaOrgUnheadPlugin, bg as UserConfig } from './shared/schema-org.96c8f113.cjs';
4
+ import { 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, A as Arrayable, T as Thing } from './shared/schema-org.248e802f.cjs';
5
+ export { M as MetaInput, b9 as PluginSchemaOrg, ba as SchemaOrgUnheadPlugin, bg as UserConfig } from './shared/schema-org.248e802f.cjs';
6
6
  import { defineComponent } from 'vue';
7
7
  import '@unhead/schema';
8
8
 
package/dist/vue.d.mts CHANGED
@@ -1,8 +1,8 @@
1
1
  import { ComponentResolver } from 'unplugin-vue-components';
2
2
  import * as _unhead_vue from '@unhead/vue';
3
3
  import { MaybeComputedRefOrPromise } from '@unhead/vue';
4
- import { 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, A as Arrayable, T as Thing } from './shared/schema-org.96c8f113.mjs';
5
- export { M as MetaInput, b9 as PluginSchemaOrg, ba as SchemaOrgUnheadPlugin, bg as UserConfig } from './shared/schema-org.96c8f113.mjs';
4
+ import { 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, A as Arrayable, T as Thing } from './shared/schema-org.248e802f.mjs';
5
+ export { M as MetaInput, b9 as PluginSchemaOrg, ba as SchemaOrgUnheadPlugin, bg as UserConfig } from './shared/schema-org.248e802f.mjs';
6
6
  import { defineComponent } from 'vue';
7
7
  import '@unhead/schema';
8
8
 
package/dist/vue.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  import { ComponentResolver } from 'unplugin-vue-components';
2
2
  import * as _unhead_vue from '@unhead/vue';
3
3
  import { MaybeComputedRefOrPromise } from '@unhead/vue';
4
- import { 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, A as Arrayable, T as Thing } from './shared/schema-org.96c8f113.js';
5
- export { M as MetaInput, b9 as PluginSchemaOrg, ba as SchemaOrgUnheadPlugin, bg as UserConfig } from './shared/schema-org.96c8f113.js';
4
+ import { 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, A as Arrayable, T as Thing } from './shared/schema-org.248e802f.js';
5
+ export { M as MetaInput, b9 as PluginSchemaOrg, ba as SchemaOrgUnheadPlugin, bg as UserConfig } from './shared/schema-org.248e802f.js';
6
6
  import { defineComponent } from 'vue';
7
7
  import '@unhead/schema';
8
8
 
package/dist/vue.mjs CHANGED
@@ -1,5 +1,5 @@
1
- import { U as UnheadSchemaOrg } from './shared/schema-org.792f9fa2.mjs';
2
- export { a0 as PluginSchemaOrg, a1 as SchemaOrgUnheadPlugin } from './shared/schema-org.792f9fa2.mjs';
1
+ import { U as UnheadSchemaOrg } from './shared/schema-org.3f27883f.mjs';
2
+ export { a0 as PluginSchemaOrg, a1 as SchemaOrgUnheadPlugin } from './shared/schema-org.3f27883f.mjs';
3
3
  import { injectHead, useHead } from '@unhead/vue';
4
4
  import { defineComponent, ref, computed, unref, h } from 'vue';
5
5
  import '@unhead/shared';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unhead/schema-org",
3
- "version": "1.8.1",
3
+ "version": "1.8.2",
4
4
  "description": "Unhead Schema.org for Simple and Automated Google Rich Results",
5
5
  "author": "Harlan Wilton <harlan@harlanzw.com>",
6
6
  "license": "MIT",
@@ -40,7 +40,7 @@
40
40
  ],
41
41
  "peerDependencies": {
42
42
  "unhead": ">=1.7.4",
43
- "@unhead/shared": "1.8.1"
43
+ "@unhead/shared": "1.8.2"
44
44
  },
45
45
  "dependencies": {
46
46
  "ufo": "^1.3.1"
@@ -48,10 +48,10 @@
48
48
  "devDependencies": {
49
49
  "unplugin-vue-components": "^0.25.2",
50
50
  "vue": "^3.3.7",
51
- "@unhead/schema": "1.8.1",
52
- "@unhead/shared": "1.8.1",
53
- "@unhead/vue": "1.8.1",
54
- "unhead": "1.8.1"
51
+ "@unhead/schema": "1.8.2",
52
+ "@unhead/shared": "1.8.2",
53
+ "@unhead/vue": "1.8.2",
54
+ "unhead": "1.8.2"
55
55
  },
56
56
  "scripts": {
57
57
  "build": "unbuild .",