@unhead/schema-org 2.0.0-rc.9 → 2.0.1
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.mjs +1 -1
- package/dist/react.mjs +2 -2
- package/dist/shared/{schema-org.Cf0csF9n.mjs → schema-org.DoKdjnca.mjs} +0 -6
- package/dist/solid-js.mjs +2 -2
- package/dist/svelte.mjs +2 -2
- package/dist/vue.d.mts +37 -37
- package/dist/vue.d.ts +37 -37
- package/dist/vue.mjs +2 -2
- package/package.json +7 -28
- package/react.d.ts +1 -1
- package/solid-js.d.ts +1 -1
- package/svelte.d.ts +1 -1
- package/vue.d.ts +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { H as HowToId, a1 as PluginSchemaOrg, P as PrimaryArticleId, k as PrimaryBookId, m as PrimaryBreadcrumbId, s as PrimaryEventId, W as PrimaryWebPageId, Z as PrimaryWebSiteId, M as ProductId, R as RecipeId, a2 as SchemaOrgUnheadPlugin, a0 as UnheadSchemaOrg, 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, f as dedupeNodes, a3 as defineAddress, a4 as defineAggregateOffer, a5 as defineAggregateRating, a6 as defineArticle, at as defineBook, aB as defineBookEdition, a7 as defineBreadcrumb, a8 as defineComment, au as defineCourse, a9 as defineEvent, aa as defineFoodEstablishment, ad as defineHowTo, ae as defineHowToStep, af as defineImage, av as defineItemList, ag as defineJobPosting, aw as defineListItem, ah as defineLocalBusiness, ax as defineMovie, ai as defineOffer, aj as defineOpeningHours, ak as defineOrganization, al as definePerson, ac as definePlace, am as defineProduct, an as defineQuestion, az as defineReadAction, ao as defineRecipe, ap as defineReview, d as defineSchemaOrgResolver, ay as defineSearchAction, aA as defineSoftwareApp, aq as defineVideo, ab as defineVirtualLocation, ar as defineWebPage, as as defineWebSite, t as eventResolver, w as foodEstablishmentResolver, x as howToResolver, z as howToStepDirectionResolver, y as howToStepResolver, A as imageResolver, B as itemListResolver, C as jobPostingResolver, D as listItemResolver, E as localBusinessResolver, F as movieResolver, n as normaliseNodes, aC as normalizeSchemaOrgInput, G as offerResolver, I as openingHoursResolver, J as organizationResolver, K as personResolver, u as placeResolver, N as productResolver, O as questionResolver, Q as ratingResolver, Y as readActionResolver, S as recipeResolver, r as resolveMeta, a as resolveNode, b as resolveNodeId, e as resolveRelation, T as reviewResolver, $ as searchActionResolver, U as softwareAppResolver, aD as useSchemaOrg, V as videoResolver, v as virtualLocationResolver, X as webPageResolver, _ as webSiteResolver } from './shared/schema-org.
|
|
1
|
+
export { H as HowToId, a1 as PluginSchemaOrg, P as PrimaryArticleId, k as PrimaryBookId, m as PrimaryBreadcrumbId, s as PrimaryEventId, W as PrimaryWebPageId, Z as PrimaryWebSiteId, M as ProductId, R as RecipeId, a2 as SchemaOrgUnheadPlugin, a0 as UnheadSchemaOrg, 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, f as dedupeNodes, a3 as defineAddress, a4 as defineAggregateOffer, a5 as defineAggregateRating, a6 as defineArticle, at as defineBook, aB as defineBookEdition, a7 as defineBreadcrumb, a8 as defineComment, au as defineCourse, a9 as defineEvent, aa as defineFoodEstablishment, ad as defineHowTo, ae as defineHowToStep, af as defineImage, av as defineItemList, ag as defineJobPosting, aw as defineListItem, ah as defineLocalBusiness, ax as defineMovie, ai as defineOffer, aj as defineOpeningHours, ak as defineOrganization, al as definePerson, ac as definePlace, am as defineProduct, an as defineQuestion, az as defineReadAction, ao as defineRecipe, ap as defineReview, d as defineSchemaOrgResolver, ay as defineSearchAction, aA as defineSoftwareApp, aq as defineVideo, ab as defineVirtualLocation, ar as defineWebPage, as as defineWebSite, t as eventResolver, w as foodEstablishmentResolver, x as howToResolver, z as howToStepDirectionResolver, y as howToStepResolver, A as imageResolver, B as itemListResolver, C as jobPostingResolver, D as listItemResolver, E as localBusinessResolver, F as movieResolver, n as normaliseNodes, aC as normalizeSchemaOrgInput, G as offerResolver, I as openingHoursResolver, J as organizationResolver, K as personResolver, u as placeResolver, N as productResolver, O as questionResolver, Q as ratingResolver, Y as readActionResolver, S as recipeResolver, r as resolveMeta, a as resolveNode, b as resolveNodeId, e as resolveRelation, T as reviewResolver, $ as searchActionResolver, U as softwareAppResolver, aD as useSchemaOrg, V as videoResolver, v as virtualLocationResolver, X as webPageResolver, _ as webSiteResolver } from './shared/schema-org.DoKdjnca.mjs';
|
|
2
2
|
import 'defu';
|
|
3
3
|
import 'unhead/plugins';
|
|
4
4
|
import 'unhead/utils';
|
package/dist/react.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useUnhead, useHead } from '@unhead/react';
|
|
2
2
|
import { s as schemaAutoImports } from './shared/schema-org.q010LqYD.mjs';
|
|
3
|
-
import { a0 as UnheadSchemaOrg, aC as normalizeSchemaOrgInput } from './shared/schema-org.
|
|
4
|
-
export { a6 as defineArticle, at as defineBook, a7 as defineBreadcrumb, a8 as defineComment, au as defineCourse, a9 as defineEvent, aa as defineFoodEstablishment, ad as defineHowTo, af as defineImage, av as defineItemList, ag as defineJobPosting, ah as defineLocalBusiness, ax as defineMovie, ak as defineOrganization, al as definePerson, am as defineProduct, an as defineQuestion, ao as defineRecipe, ap as defineReview, aA as defineSoftwareApp, aq as defineVideo, ar as defineWebPage, as as defineWebSite } from './shared/schema-org.
|
|
3
|
+
import { a0 as UnheadSchemaOrg, aC as normalizeSchemaOrgInput } from './shared/schema-org.DoKdjnca.mjs';
|
|
4
|
+
export { a6 as defineArticle, at as defineBook, a7 as defineBreadcrumb, a8 as defineComment, au as defineCourse, a9 as defineEvent, aa as defineFoodEstablishment, ad as defineHowTo, af as defineImage, av as defineItemList, ag as defineJobPosting, ah as defineLocalBusiness, ax as defineMovie, ak as defineOrganization, al as definePerson, am as defineProduct, an as defineQuestion, ao as defineRecipe, ap as defineReview, aA as defineSoftwareApp, aq as defineVideo, ar as defineWebPage, as as defineWebSite } from './shared/schema-org.DoKdjnca.mjs';
|
|
5
5
|
import 'defu';
|
|
6
6
|
import 'unhead/plugins';
|
|
7
7
|
import 'unhead/utils';
|
|
@@ -1190,11 +1190,6 @@ function loadResolver(resolver) {
|
|
|
1190
1190
|
return null;
|
|
1191
1191
|
}
|
|
1192
1192
|
|
|
1193
|
-
const resolver = {
|
|
1194
|
-
__proto__: null,
|
|
1195
|
-
loadResolver: loadResolver
|
|
1196
|
-
};
|
|
1197
|
-
|
|
1198
1193
|
function resolveMeta(meta) {
|
|
1199
1194
|
if (!meta.host && meta.canonicalHost)
|
|
1200
1195
|
meta.host = meta.canonicalHost;
|
|
@@ -1474,7 +1469,6 @@ function SchemaOrgUnheadPlugin(config, meta, options) {
|
|
|
1474
1469
|
graph = graph || createSchemaOrgGraph();
|
|
1475
1470
|
for (const tag of tags) {
|
|
1476
1471
|
if (tag.tag === "script" && tag.props.type === "application/ld+json" && tag.props.nodes) {
|
|
1477
|
-
const { loadResolver } = await Promise.resolve().then(function () { return resolver; });
|
|
1478
1472
|
const nodes = await tag.props.nodes;
|
|
1479
1473
|
for (const node of Array.isArray(nodes) ? nodes : [nodes]) {
|
|
1480
1474
|
if (typeof node !== "object" || Object.keys(node).length === 0) {
|
package/dist/solid-js.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useUnhead, useHead } from '@unhead/solid-js';
|
|
2
2
|
import { s as schemaAutoImports } from './shared/schema-org.q010LqYD.mjs';
|
|
3
|
-
import { a0 as UnheadSchemaOrg, aC as normalizeSchemaOrgInput } from './shared/schema-org.
|
|
4
|
-
export { a6 as defineArticle, at as defineBook, a7 as defineBreadcrumb, a8 as defineComment, au as defineCourse, a9 as defineEvent, aa as defineFoodEstablishment, ad as defineHowTo, af as defineImage, av as defineItemList, ag as defineJobPosting, ah as defineLocalBusiness, ax as defineMovie, ak as defineOrganization, al as definePerson, am as defineProduct, an as defineQuestion, ao as defineRecipe, ap as defineReview, aA as defineSoftwareApp, aq as defineVideo, ar as defineWebPage, as as defineWebSite } from './shared/schema-org.
|
|
3
|
+
import { a0 as UnheadSchemaOrg, aC as normalizeSchemaOrgInput } from './shared/schema-org.DoKdjnca.mjs';
|
|
4
|
+
export { a6 as defineArticle, at as defineBook, a7 as defineBreadcrumb, a8 as defineComment, au as defineCourse, a9 as defineEvent, aa as defineFoodEstablishment, ad as defineHowTo, af as defineImage, av as defineItemList, ag as defineJobPosting, ah as defineLocalBusiness, ax as defineMovie, ak as defineOrganization, al as definePerson, am as defineProduct, an as defineQuestion, ao as defineRecipe, ap as defineReview, aA as defineSoftwareApp, aq as defineVideo, ar as defineWebPage, as as defineWebSite } from './shared/schema-org.DoKdjnca.mjs';
|
|
5
5
|
import 'defu';
|
|
6
6
|
import 'unhead/plugins';
|
|
7
7
|
import 'unhead/utils';
|
package/dist/svelte.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useUnhead, useHead } from '@unhead/svelte';
|
|
2
2
|
import { s as schemaAutoImports } from './shared/schema-org.q010LqYD.mjs';
|
|
3
|
-
import { a0 as UnheadSchemaOrg, aC as normalizeSchemaOrgInput } from './shared/schema-org.
|
|
4
|
-
export { a6 as defineArticle, at as defineBook, a7 as defineBreadcrumb, a8 as defineComment, au as defineCourse, a9 as defineEvent, aa as defineFoodEstablishment, ad as defineHowTo, af as defineImage, av as defineItemList, ag as defineJobPosting, ah as defineLocalBusiness, ax as defineMovie, ak as defineOrganization, al as definePerson, am as defineProduct, an as defineQuestion, ao as defineRecipe, ap as defineReview, aA as defineSoftwareApp, aq as defineVideo, ar as defineWebPage, as as defineWebSite } from './shared/schema-org.
|
|
3
|
+
import { a0 as UnheadSchemaOrg, aC as normalizeSchemaOrgInput } from './shared/schema-org.DoKdjnca.mjs';
|
|
4
|
+
export { a6 as defineArticle, at as defineBook, a7 as defineBreadcrumb, a8 as defineComment, au as defineCourse, a9 as defineEvent, aa as defineFoodEstablishment, ad as defineHowTo, af as defineImage, av as defineItemList, ag as defineJobPosting, ah as defineLocalBusiness, ax as defineMovie, ak as defineOrganization, al as definePerson, am as defineProduct, an as defineQuestion, ao as defineRecipe, ap as defineReview, aA as defineSoftwareApp, aq as defineVideo, ar as defineWebPage, as as defineWebSite } from './shared/schema-org.DoKdjnca.mjs';
|
|
5
5
|
import 'defu';
|
|
6
6
|
import 'unhead/plugins';
|
|
7
7
|
import 'unhead/utils';
|
package/dist/vue.d.mts
CHANGED
|
@@ -3,7 +3,7 @@ import { ComponentResolver } from 'unplugin-vue-components';
|
|
|
3
3
|
import { defineComponent } from 'vue';
|
|
4
4
|
import { aA as PostalAddress, ay as PostalAddressStrict, az as PostalAddressName, e as AggregateOffer, h as AggregateRating, k as Article, t as BreadcrumbList, w as Comment, F as Event, Q as FoodEstablishment, L as VirtualLocation, J as Place, X as HowTo, $ as HowToStep, a4 as ImageObject, aa as JobPosting, ag as LocalBusiness, am as Offer, ap as OpeningHoursSpecification, as as Organization, av as Person, aD as Product, aH as Question, aN as Recipe, aS as Review, aY as VideoObject, a$ as WebPage, b6 as WebSite, m as Book, z as Course, a7 as ItemList, ad as ListItem, aj as Movie, ba as SearchAction, b3 as ReadAction, aV as SoftwareApp, o as BookEdition, A as Arrayable, T as Thing } from './shared/schema-org.C0WLgys2.mjs';
|
|
5
5
|
export { M as MetaInput, bh as UserConfig } from './shared/schema-org.C0WLgys2.mjs';
|
|
6
|
-
import {
|
|
6
|
+
import { DeepResolvableProperties, UseHeadOptions } from '@unhead/vue';
|
|
7
7
|
import { ActiveHeadEntry } from 'unhead/types';
|
|
8
8
|
|
|
9
9
|
interface SchemaOrgResolverOptions {
|
|
@@ -46,42 +46,42 @@ declare const SchemaOrgItemList: any;
|
|
|
46
46
|
declare const SchemaOrgBook: any;
|
|
47
47
|
declare const SchemaOrgSoftwareApp: any;
|
|
48
48
|
|
|
49
|
-
declare function defineAddress<T extends Record<string, any>>(input?:
|
|
50
|
-
declare function defineAggregateOffer<T extends Record<string, any>>(input?:
|
|
51
|
-
declare function defineAggregateRating<T extends Record<string, any>>(input?:
|
|
52
|
-
declare function defineArticle<T extends Record<string, any>>(input?:
|
|
53
|
-
declare function defineBreadcrumb<T extends Record<string, any>>(input?:
|
|
54
|
-
declare function defineComment<T extends Record<string, any>>(input?:
|
|
55
|
-
declare function defineEvent<T extends Record<string, any>>(input?:
|
|
56
|
-
declare function defineFoodEstablishment<T extends Record<string, any>>(input?:
|
|
57
|
-
declare function defineVirtualLocation<T extends Record<string, any>>(input?:
|
|
58
|
-
declare function definePlace<T extends Record<string, any>>(input?:
|
|
59
|
-
declare function defineHowTo<T extends Record<string, any>>(input?:
|
|
60
|
-
declare function defineHowToStep<T extends Record<string, any>>(input?:
|
|
61
|
-
declare function defineImage<T extends Record<string, any>>(input?:
|
|
62
|
-
declare function defineJobPosting<T extends Record<string, any>>(input?:
|
|
63
|
-
declare function defineLocalBusiness<T extends Record<string, any>>(input?:
|
|
64
|
-
declare function defineOffer<T extends Record<string, any>>(input?:
|
|
65
|
-
declare function defineOpeningHours<T extends Record<string, any>>(input?:
|
|
66
|
-
declare function defineOrganization<T extends Record<string, any>>(input?:
|
|
67
|
-
declare function definePerson<T extends Record<string, any>>(input?:
|
|
68
|
-
declare function defineProduct<T extends Record<string, any>>(input?:
|
|
69
|
-
declare function defineQuestion<T extends Record<string, any>>(input?:
|
|
70
|
-
declare function defineRecipe<T extends Record<string, any>>(input?:
|
|
71
|
-
declare function defineReview<T extends Record<string, any>>(input?:
|
|
72
|
-
declare function defineVideo<T extends Record<string, any>>(input?:
|
|
73
|
-
declare function defineWebPage<T extends Record<string, any>>(input?:
|
|
74
|
-
declare function defineWebSite<T extends Record<string, any>>(input?:
|
|
75
|
-
declare function defineBook<T extends Record<string, any>>(input?:
|
|
76
|
-
declare function defineCourse<T extends Record<string, any>>(input?:
|
|
77
|
-
declare function defineItemList<T extends Record<string, any>>(input?:
|
|
78
|
-
declare function defineListItem<T extends Record<string, any>>(input?:
|
|
79
|
-
declare function defineMovie<T extends Record<string, any>>(input?:
|
|
80
|
-
declare function defineSearchAction<T extends Record<string, any>>(input?:
|
|
81
|
-
declare function defineReadAction<T extends Record<string, any>>(input?:
|
|
82
|
-
declare function defineSoftwareApp<T extends Record<string, any>>(input?:
|
|
83
|
-
declare function defineBookEdition<T extends Record<string, any>>(input?:
|
|
84
|
-
type UseSchemaOrgInput = Arrayable<
|
|
49
|
+
declare function defineAddress<T extends Record<string, any>>(input?: DeepResolvableProperties<PostalAddress & T>): DeepResolvableProperties<PostalAddressStrict & T> | DeepResolvableProperties<PostalAddressName & T>;
|
|
50
|
+
declare function defineAggregateOffer<T extends Record<string, any>>(input?: DeepResolvableProperties<AggregateOffer & T>): DeepResolvableProperties<AggregateOffer & T>;
|
|
51
|
+
declare function defineAggregateRating<T extends Record<string, any>>(input?: DeepResolvableProperties<AggregateRating & T>): DeepResolvableProperties<AggregateRating & T>;
|
|
52
|
+
declare function defineArticle<T extends Record<string, any>>(input?: DeepResolvableProperties<Article & T>): DeepResolvableProperties<Article & T>;
|
|
53
|
+
declare function defineBreadcrumb<T extends Record<string, any>>(input?: DeepResolvableProperties<BreadcrumbList & T>): DeepResolvableProperties<BreadcrumbList & T>;
|
|
54
|
+
declare function defineComment<T extends Record<string, any>>(input?: DeepResolvableProperties<Comment & T>): DeepResolvableProperties<Comment & T>;
|
|
55
|
+
declare function defineEvent<T extends Record<string, any>>(input?: DeepResolvableProperties<Event & T>): DeepResolvableProperties<Event & T>;
|
|
56
|
+
declare function defineFoodEstablishment<T extends Record<string, any>>(input?: DeepResolvableProperties<FoodEstablishment & T>): DeepResolvableProperties<FoodEstablishment & T>;
|
|
57
|
+
declare function defineVirtualLocation<T extends Record<string, any>>(input?: DeepResolvableProperties<VirtualLocation & T>): DeepResolvableProperties<VirtualLocation & T>;
|
|
58
|
+
declare function definePlace<T extends Record<string, any>>(input?: DeepResolvableProperties<Place & T>): DeepResolvableProperties<Place & T>;
|
|
59
|
+
declare function defineHowTo<T extends Record<string, any>>(input?: DeepResolvableProperties<HowTo & T>): DeepResolvableProperties<HowTo & T>;
|
|
60
|
+
declare function defineHowToStep<T extends Record<string, any>>(input?: DeepResolvableProperties<HowToStep & T>): DeepResolvableProperties<HowToStep & T>;
|
|
61
|
+
declare function defineImage<T extends Record<string, any>>(input?: DeepResolvableProperties<ImageObject & T>): DeepResolvableProperties<ImageObject & T>;
|
|
62
|
+
declare function defineJobPosting<T extends Record<string, any>>(input?: DeepResolvableProperties<JobPosting & T>): DeepResolvableProperties<JobPosting & T>;
|
|
63
|
+
declare function defineLocalBusiness<T extends Record<string, any>>(input?: DeepResolvableProperties<LocalBusiness & T>): DeepResolvableProperties<LocalBusiness & T>;
|
|
64
|
+
declare function defineOffer<T extends Record<string, any>>(input?: DeepResolvableProperties<Offer & T>): DeepResolvableProperties<Offer & T>;
|
|
65
|
+
declare function defineOpeningHours<T extends Record<string, any>>(input?: DeepResolvableProperties<OpeningHoursSpecification & T>): DeepResolvableProperties<OpeningHoursSpecification & T>;
|
|
66
|
+
declare function defineOrganization<T extends Record<string, any>>(input?: DeepResolvableProperties<Organization & T>): DeepResolvableProperties<Organization & T>;
|
|
67
|
+
declare function definePerson<T extends Record<string, any>>(input?: DeepResolvableProperties<Person & T>): DeepResolvableProperties<Person & T>;
|
|
68
|
+
declare function defineProduct<T extends Record<string, any>>(input?: DeepResolvableProperties<Product & T>): DeepResolvableProperties<Product & T>;
|
|
69
|
+
declare function defineQuestion<T extends Record<string, any>>(input?: DeepResolvableProperties<Question & T>): DeepResolvableProperties<Question & T>;
|
|
70
|
+
declare function defineRecipe<T extends Record<string, any>>(input?: DeepResolvableProperties<Recipe & T>): DeepResolvableProperties<Recipe & T>;
|
|
71
|
+
declare function defineReview<T extends Record<string, any>>(input?: DeepResolvableProperties<Review & T>): DeepResolvableProperties<Review & T>;
|
|
72
|
+
declare function defineVideo<T extends Record<string, any>>(input?: DeepResolvableProperties<VideoObject & T>): DeepResolvableProperties<VideoObject & T>;
|
|
73
|
+
declare function defineWebPage<T extends Record<string, any>>(input?: DeepResolvableProperties<WebPage & T>): DeepResolvableProperties<WebPage & T>;
|
|
74
|
+
declare function defineWebSite<T extends Record<string, any>>(input?: DeepResolvableProperties<WebSite & T>): DeepResolvableProperties<WebSite & T>;
|
|
75
|
+
declare function defineBook<T extends Record<string, any>>(input?: DeepResolvableProperties<Book & T>): DeepResolvableProperties<Book & T>;
|
|
76
|
+
declare function defineCourse<T extends Record<string, any>>(input?: DeepResolvableProperties<Course & T>): DeepResolvableProperties<Course & T>;
|
|
77
|
+
declare function defineItemList<T extends Record<string, any>>(input?: DeepResolvableProperties<ItemList & T>): DeepResolvableProperties<ItemList & T>;
|
|
78
|
+
declare function defineListItem<T extends Record<string, any>>(input?: DeepResolvableProperties<ListItem & T>): DeepResolvableProperties<ListItem & T>;
|
|
79
|
+
declare function defineMovie<T extends Record<string, any>>(input?: DeepResolvableProperties<Movie & T>): DeepResolvableProperties<Movie & T>;
|
|
80
|
+
declare function defineSearchAction<T extends Record<string, any>>(input?: DeepResolvableProperties<SearchAction & T>): DeepResolvableProperties<SearchAction & T>;
|
|
81
|
+
declare function defineReadAction<T extends Record<string, any>>(input?: DeepResolvableProperties<ReadAction & T>): DeepResolvableProperties<ReadAction & T>;
|
|
82
|
+
declare function defineSoftwareApp<T extends Record<string, any>>(input?: DeepResolvableProperties<SoftwareApp & T>): DeepResolvableProperties<SoftwareApp & T>;
|
|
83
|
+
declare function defineBookEdition<T extends Record<string, any>>(input?: DeepResolvableProperties<BookEdition & T>): DeepResolvableProperties<BookEdition & T>;
|
|
84
|
+
type UseSchemaOrgInput = Arrayable<DeepResolvableProperties<Thing | Record<string, any>>>;
|
|
85
85
|
declare function useSchemaOrg(input?: UseSchemaOrgInput, options?: UseHeadOptions): ActiveHeadEntry<UseSchemaOrgInput>;
|
|
86
86
|
|
|
87
87
|
export { SchemaOrgArticle, SchemaOrgBook, SchemaOrgBreadcrumb, SchemaOrgComment, SchemaOrgCourse, SchemaOrgEvent, SchemaOrgFoodEstablishment, SchemaOrgHowTo, SchemaOrgImage, SchemaOrgItemList, SchemaOrgJobPosting, SchemaOrgLocalBusiness, SchemaOrgMovie, SchemaOrgOrganization, SchemaOrgPerson, SchemaOrgProduct, SchemaOrgQuestion, SchemaOrgRecipe, SchemaOrgResolver, type SchemaOrgResolverOptions, SchemaOrgReview, SchemaOrgSoftwareApp, SchemaOrgVideo, SchemaOrgWebPage, SchemaOrgWebSite, type UseSchemaOrgInput, 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, defineSchemaOrgComponent, defineSearchAction, defineSoftwareApp, defineVideo, defineVirtualLocation, defineWebPage, defineWebSite, schemaOrgAutoImports, schemaOrgComponents, useSchemaOrg };
|
package/dist/vue.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { ComponentResolver } from 'unplugin-vue-components';
|
|
|
3
3
|
import { defineComponent } from 'vue';
|
|
4
4
|
import { aA as PostalAddress, ay as PostalAddressStrict, az as PostalAddressName, e as AggregateOffer, h as AggregateRating, k as Article, t as BreadcrumbList, w as Comment, F as Event, Q as FoodEstablishment, L as VirtualLocation, J as Place, X as HowTo, $ as HowToStep, a4 as ImageObject, aa as JobPosting, ag as LocalBusiness, am as Offer, ap as OpeningHoursSpecification, as as Organization, av as Person, aD as Product, aH as Question, aN as Recipe, aS as Review, aY as VideoObject, a$ as WebPage, b6 as WebSite, m as Book, z as Course, a7 as ItemList, ad as ListItem, aj as Movie, ba as SearchAction, b3 as ReadAction, aV as SoftwareApp, o as BookEdition, A as Arrayable, T as Thing } from './shared/schema-org.C0WLgys2.js';
|
|
5
5
|
export { M as MetaInput, bh as UserConfig } from './shared/schema-org.C0WLgys2.js';
|
|
6
|
-
import {
|
|
6
|
+
import { DeepResolvableProperties, UseHeadOptions } from '@unhead/vue';
|
|
7
7
|
import { ActiveHeadEntry } from 'unhead/types';
|
|
8
8
|
|
|
9
9
|
interface SchemaOrgResolverOptions {
|
|
@@ -46,42 +46,42 @@ declare const SchemaOrgItemList: any;
|
|
|
46
46
|
declare const SchemaOrgBook: any;
|
|
47
47
|
declare const SchemaOrgSoftwareApp: any;
|
|
48
48
|
|
|
49
|
-
declare function defineAddress<T extends Record<string, any>>(input?:
|
|
50
|
-
declare function defineAggregateOffer<T extends Record<string, any>>(input?:
|
|
51
|
-
declare function defineAggregateRating<T extends Record<string, any>>(input?:
|
|
52
|
-
declare function defineArticle<T extends Record<string, any>>(input?:
|
|
53
|
-
declare function defineBreadcrumb<T extends Record<string, any>>(input?:
|
|
54
|
-
declare function defineComment<T extends Record<string, any>>(input?:
|
|
55
|
-
declare function defineEvent<T extends Record<string, any>>(input?:
|
|
56
|
-
declare function defineFoodEstablishment<T extends Record<string, any>>(input?:
|
|
57
|
-
declare function defineVirtualLocation<T extends Record<string, any>>(input?:
|
|
58
|
-
declare function definePlace<T extends Record<string, any>>(input?:
|
|
59
|
-
declare function defineHowTo<T extends Record<string, any>>(input?:
|
|
60
|
-
declare function defineHowToStep<T extends Record<string, any>>(input?:
|
|
61
|
-
declare function defineImage<T extends Record<string, any>>(input?:
|
|
62
|
-
declare function defineJobPosting<T extends Record<string, any>>(input?:
|
|
63
|
-
declare function defineLocalBusiness<T extends Record<string, any>>(input?:
|
|
64
|
-
declare function defineOffer<T extends Record<string, any>>(input?:
|
|
65
|
-
declare function defineOpeningHours<T extends Record<string, any>>(input?:
|
|
66
|
-
declare function defineOrganization<T extends Record<string, any>>(input?:
|
|
67
|
-
declare function definePerson<T extends Record<string, any>>(input?:
|
|
68
|
-
declare function defineProduct<T extends Record<string, any>>(input?:
|
|
69
|
-
declare function defineQuestion<T extends Record<string, any>>(input?:
|
|
70
|
-
declare function defineRecipe<T extends Record<string, any>>(input?:
|
|
71
|
-
declare function defineReview<T extends Record<string, any>>(input?:
|
|
72
|
-
declare function defineVideo<T extends Record<string, any>>(input?:
|
|
73
|
-
declare function defineWebPage<T extends Record<string, any>>(input?:
|
|
74
|
-
declare function defineWebSite<T extends Record<string, any>>(input?:
|
|
75
|
-
declare function defineBook<T extends Record<string, any>>(input?:
|
|
76
|
-
declare function defineCourse<T extends Record<string, any>>(input?:
|
|
77
|
-
declare function defineItemList<T extends Record<string, any>>(input?:
|
|
78
|
-
declare function defineListItem<T extends Record<string, any>>(input?:
|
|
79
|
-
declare function defineMovie<T extends Record<string, any>>(input?:
|
|
80
|
-
declare function defineSearchAction<T extends Record<string, any>>(input?:
|
|
81
|
-
declare function defineReadAction<T extends Record<string, any>>(input?:
|
|
82
|
-
declare function defineSoftwareApp<T extends Record<string, any>>(input?:
|
|
83
|
-
declare function defineBookEdition<T extends Record<string, any>>(input?:
|
|
84
|
-
type UseSchemaOrgInput = Arrayable<
|
|
49
|
+
declare function defineAddress<T extends Record<string, any>>(input?: DeepResolvableProperties<PostalAddress & T>): DeepResolvableProperties<PostalAddressStrict & T> | DeepResolvableProperties<PostalAddressName & T>;
|
|
50
|
+
declare function defineAggregateOffer<T extends Record<string, any>>(input?: DeepResolvableProperties<AggregateOffer & T>): DeepResolvableProperties<AggregateOffer & T>;
|
|
51
|
+
declare function defineAggregateRating<T extends Record<string, any>>(input?: DeepResolvableProperties<AggregateRating & T>): DeepResolvableProperties<AggregateRating & T>;
|
|
52
|
+
declare function defineArticle<T extends Record<string, any>>(input?: DeepResolvableProperties<Article & T>): DeepResolvableProperties<Article & T>;
|
|
53
|
+
declare function defineBreadcrumb<T extends Record<string, any>>(input?: DeepResolvableProperties<BreadcrumbList & T>): DeepResolvableProperties<BreadcrumbList & T>;
|
|
54
|
+
declare function defineComment<T extends Record<string, any>>(input?: DeepResolvableProperties<Comment & T>): DeepResolvableProperties<Comment & T>;
|
|
55
|
+
declare function defineEvent<T extends Record<string, any>>(input?: DeepResolvableProperties<Event & T>): DeepResolvableProperties<Event & T>;
|
|
56
|
+
declare function defineFoodEstablishment<T extends Record<string, any>>(input?: DeepResolvableProperties<FoodEstablishment & T>): DeepResolvableProperties<FoodEstablishment & T>;
|
|
57
|
+
declare function defineVirtualLocation<T extends Record<string, any>>(input?: DeepResolvableProperties<VirtualLocation & T>): DeepResolvableProperties<VirtualLocation & T>;
|
|
58
|
+
declare function definePlace<T extends Record<string, any>>(input?: DeepResolvableProperties<Place & T>): DeepResolvableProperties<Place & T>;
|
|
59
|
+
declare function defineHowTo<T extends Record<string, any>>(input?: DeepResolvableProperties<HowTo & T>): DeepResolvableProperties<HowTo & T>;
|
|
60
|
+
declare function defineHowToStep<T extends Record<string, any>>(input?: DeepResolvableProperties<HowToStep & T>): DeepResolvableProperties<HowToStep & T>;
|
|
61
|
+
declare function defineImage<T extends Record<string, any>>(input?: DeepResolvableProperties<ImageObject & T>): DeepResolvableProperties<ImageObject & T>;
|
|
62
|
+
declare function defineJobPosting<T extends Record<string, any>>(input?: DeepResolvableProperties<JobPosting & T>): DeepResolvableProperties<JobPosting & T>;
|
|
63
|
+
declare function defineLocalBusiness<T extends Record<string, any>>(input?: DeepResolvableProperties<LocalBusiness & T>): DeepResolvableProperties<LocalBusiness & T>;
|
|
64
|
+
declare function defineOffer<T extends Record<string, any>>(input?: DeepResolvableProperties<Offer & T>): DeepResolvableProperties<Offer & T>;
|
|
65
|
+
declare function defineOpeningHours<T extends Record<string, any>>(input?: DeepResolvableProperties<OpeningHoursSpecification & T>): DeepResolvableProperties<OpeningHoursSpecification & T>;
|
|
66
|
+
declare function defineOrganization<T extends Record<string, any>>(input?: DeepResolvableProperties<Organization & T>): DeepResolvableProperties<Organization & T>;
|
|
67
|
+
declare function definePerson<T extends Record<string, any>>(input?: DeepResolvableProperties<Person & T>): DeepResolvableProperties<Person & T>;
|
|
68
|
+
declare function defineProduct<T extends Record<string, any>>(input?: DeepResolvableProperties<Product & T>): DeepResolvableProperties<Product & T>;
|
|
69
|
+
declare function defineQuestion<T extends Record<string, any>>(input?: DeepResolvableProperties<Question & T>): DeepResolvableProperties<Question & T>;
|
|
70
|
+
declare function defineRecipe<T extends Record<string, any>>(input?: DeepResolvableProperties<Recipe & T>): DeepResolvableProperties<Recipe & T>;
|
|
71
|
+
declare function defineReview<T extends Record<string, any>>(input?: DeepResolvableProperties<Review & T>): DeepResolvableProperties<Review & T>;
|
|
72
|
+
declare function defineVideo<T extends Record<string, any>>(input?: DeepResolvableProperties<VideoObject & T>): DeepResolvableProperties<VideoObject & T>;
|
|
73
|
+
declare function defineWebPage<T extends Record<string, any>>(input?: DeepResolvableProperties<WebPage & T>): DeepResolvableProperties<WebPage & T>;
|
|
74
|
+
declare function defineWebSite<T extends Record<string, any>>(input?: DeepResolvableProperties<WebSite & T>): DeepResolvableProperties<WebSite & T>;
|
|
75
|
+
declare function defineBook<T extends Record<string, any>>(input?: DeepResolvableProperties<Book & T>): DeepResolvableProperties<Book & T>;
|
|
76
|
+
declare function defineCourse<T extends Record<string, any>>(input?: DeepResolvableProperties<Course & T>): DeepResolvableProperties<Course & T>;
|
|
77
|
+
declare function defineItemList<T extends Record<string, any>>(input?: DeepResolvableProperties<ItemList & T>): DeepResolvableProperties<ItemList & T>;
|
|
78
|
+
declare function defineListItem<T extends Record<string, any>>(input?: DeepResolvableProperties<ListItem & T>): DeepResolvableProperties<ListItem & T>;
|
|
79
|
+
declare function defineMovie<T extends Record<string, any>>(input?: DeepResolvableProperties<Movie & T>): DeepResolvableProperties<Movie & T>;
|
|
80
|
+
declare function defineSearchAction<T extends Record<string, any>>(input?: DeepResolvableProperties<SearchAction & T>): DeepResolvableProperties<SearchAction & T>;
|
|
81
|
+
declare function defineReadAction<T extends Record<string, any>>(input?: DeepResolvableProperties<ReadAction & T>): DeepResolvableProperties<ReadAction & T>;
|
|
82
|
+
declare function defineSoftwareApp<T extends Record<string, any>>(input?: DeepResolvableProperties<SoftwareApp & T>): DeepResolvableProperties<SoftwareApp & T>;
|
|
83
|
+
declare function defineBookEdition<T extends Record<string, any>>(input?: DeepResolvableProperties<BookEdition & T>): DeepResolvableProperties<BookEdition & T>;
|
|
84
|
+
type UseSchemaOrgInput = Arrayable<DeepResolvableProperties<Thing | Record<string, any>>>;
|
|
85
85
|
declare function useSchemaOrg(input?: UseSchemaOrgInput, options?: UseHeadOptions): ActiveHeadEntry<UseSchemaOrgInput>;
|
|
86
86
|
|
|
87
87
|
export { SchemaOrgArticle, SchemaOrgBook, SchemaOrgBreadcrumb, SchemaOrgComment, SchemaOrgCourse, SchemaOrgEvent, SchemaOrgFoodEstablishment, SchemaOrgHowTo, SchemaOrgImage, SchemaOrgItemList, SchemaOrgJobPosting, SchemaOrgLocalBusiness, SchemaOrgMovie, SchemaOrgOrganization, SchemaOrgPerson, SchemaOrgProduct, SchemaOrgQuestion, SchemaOrgRecipe, SchemaOrgResolver, type SchemaOrgResolverOptions, SchemaOrgReview, SchemaOrgSoftwareApp, SchemaOrgVideo, SchemaOrgWebPage, SchemaOrgWebSite, type UseSchemaOrgInput, 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, defineSchemaOrgComponent, defineSearchAction, defineSoftwareApp, defineVideo, defineVirtualLocation, defineWebPage, defineWebSite, schemaOrgAutoImports, schemaOrgComponents, useSchemaOrg };
|
package/dist/vue.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a0 as UnheadSchemaOrg, aC as normalizeSchemaOrgInput } from './shared/schema-org.
|
|
2
|
-
export { a1 as PluginSchemaOrg, a2 as SchemaOrgUnheadPlugin } from './shared/schema-org.
|
|
1
|
+
import { a0 as UnheadSchemaOrg, aC as normalizeSchemaOrgInput } from './shared/schema-org.DoKdjnca.mjs';
|
|
2
|
+
export { a1 as PluginSchemaOrg, a2 as SchemaOrgUnheadPlugin } from './shared/schema-org.DoKdjnca.mjs';
|
|
3
3
|
import { s as schemaAutoImports } from './shared/schema-org.q010LqYD.mjs';
|
|
4
4
|
import { defineComponent, ref, computed, unref, h } from 'vue';
|
|
5
5
|
import { injectHead, useHead } from '@unhead/vue';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unhead/schema-org",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.0.
|
|
4
|
+
"version": "2.0.1",
|
|
5
5
|
"description": "Unhead Schema.org for Simple and Automated Google Rich Results",
|
|
6
6
|
"author": "Harlan Wilton <harlan@harlanzw.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -70,39 +70,18 @@
|
|
|
70
70
|
"*.d.ts",
|
|
71
71
|
"dist"
|
|
72
72
|
],
|
|
73
|
-
"peerDependencies": {
|
|
74
|
-
"@unhead/react": "^2",
|
|
75
|
-
"@unhead/solid-js": "^2",
|
|
76
|
-
"@unhead/svelte": "^2",
|
|
77
|
-
"@unhead/vue": "^2",
|
|
78
|
-
"unhead": "^2"
|
|
79
|
-
},
|
|
80
|
-
"peerDependenciesMeta": {
|
|
81
|
-
"@unhead/react": {
|
|
82
|
-
"optional": true
|
|
83
|
-
},
|
|
84
|
-
"@unhead/solid-js": {
|
|
85
|
-
"optional": true
|
|
86
|
-
},
|
|
87
|
-
"@unhead/svelte": {
|
|
88
|
-
"optional": true
|
|
89
|
-
},
|
|
90
|
-
"@unhead/vue": {
|
|
91
|
-
"optional": true
|
|
92
|
-
}
|
|
93
|
-
},
|
|
94
73
|
"dependencies": {
|
|
95
74
|
"defu": "^6.1.4",
|
|
96
|
-
"ohash": "^2.0.
|
|
75
|
+
"ohash": "^2.0.11",
|
|
97
76
|
"ufo": "^1.5.4"
|
|
98
77
|
},
|
|
99
78
|
"devDependencies": {
|
|
100
79
|
"unplugin-vue-components": "^28.4.1",
|
|
101
|
-
"@unhead/react": "2.0.
|
|
102
|
-
"@unhead/
|
|
103
|
-
"@unhead/
|
|
104
|
-
"@unhead/vue": "2.0.
|
|
105
|
-
"unhead": "2.0.
|
|
80
|
+
"@unhead/react": "2.0.1",
|
|
81
|
+
"@unhead/solid-js": "2.0.1",
|
|
82
|
+
"@unhead/svelte": "2.0.1",
|
|
83
|
+
"@unhead/vue": "2.0.1",
|
|
84
|
+
"unhead": "2.0.1"
|
|
106
85
|
},
|
|
107
86
|
"build": {
|
|
108
87
|
"external": [
|
package/react.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './dist/svelte'
|
|
1
|
+
export * from './dist/svelte'
|
package/solid-js.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './dist/solid-js'
|
|
1
|
+
export * from './dist/solid-js'
|
package/svelte.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './dist/svelte'
|
|
1
|
+
export * from './dist/svelte'
|
package/vue.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './dist/vue'
|
|
1
|
+
export * from './dist/vue'
|