@unhead/schema-org 3.0.0-beta.4 → 3.0.0-beta.6
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.d.mts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.mjs +2 -44
- package/dist/react.d.mts +3 -3
- package/dist/react.d.ts +3 -3
- package/dist/react.mjs +3 -3
- package/dist/shared/schema-org.BS2Q1uTx.d.mts +11 -0
- package/dist/shared/{schema-org.CAKsqzbX.d.ts → schema-org.C1OXVKVP.d.ts} +142 -48
- package/dist/shared/schema-org.C7IeLKiX.d.ts +11 -0
- package/dist/shared/{schema-org.CFcsqFfN.d.mts → schema-org.CX_95Tmq.d.mts} +2 -22
- package/dist/shared/{schema-org.CFcsqFfN.d.ts → schema-org.CX_95Tmq.d.ts} +2 -22
- package/dist/shared/{schema-org.UT1u1UYq.d.mts → schema-org.Cxijls86.d.mts} +142 -48
- package/dist/shared/schema-org.PsNrfvgh.mjs +1930 -0
- package/dist/solid-js.d.mts +3 -3
- package/dist/solid-js.d.ts +3 -3
- package/dist/solid-js.mjs +3 -3
- package/dist/svelte.d.mts +3 -3
- package/dist/svelte.d.ts +3 -3
- package/dist/svelte.mjs +3 -3
- package/dist/vue.d.mts +38 -38
- package/dist/vue.d.ts +38 -38
- package/dist/vue.mjs +47 -43
- package/package.json +12 -12
- package/dist/chunks/index.mjs +0 -23
- package/dist/chunks/index10.mjs +0 -63
- package/dist/chunks/index11.mjs +0 -35
- package/dist/chunks/index12.mjs +0 -48
- package/dist/chunks/index13.mjs +0 -36
- package/dist/chunks/index14.mjs +0 -25
- package/dist/chunks/index15.mjs +0 -37
- package/dist/chunks/index16.mjs +0 -27
- package/dist/chunks/index17.mjs +0 -34
- package/dist/chunks/index18.mjs +0 -32
- package/dist/chunks/index19.mjs +0 -31
- package/dist/chunks/index2.mjs +0 -12
- package/dist/chunks/index20.mjs +0 -31
- package/dist/chunks/index21.mjs +0 -30
- package/dist/chunks/index22.mjs +0 -30
- package/dist/chunks/index23.mjs +0 -82
- package/dist/chunks/index24.mjs +0 -14
- package/dist/chunks/index25.mjs +0 -33
- package/dist/chunks/index26.mjs +0 -31
- package/dist/chunks/index27.mjs +0 -29
- package/dist/chunks/index28.mjs +0 -12
- package/dist/chunks/index29.mjs +0 -46
- package/dist/chunks/index3.mjs +0 -317
- package/dist/chunks/index30.mjs +0 -53
- package/dist/chunks/index31.mjs +0 -41
- package/dist/chunks/index32.mjs +0 -26
- package/dist/chunks/index33.mjs +0 -47
- package/dist/chunks/index34.mjs +0 -29
- package/dist/chunks/index35.mjs +0 -34
- package/dist/chunks/index36.mjs +0 -33
- package/dist/chunks/index37.mjs +0 -34
- package/dist/chunks/index38.mjs +0 -51
- package/dist/chunks/index39.mjs +0 -17
- package/dist/chunks/index4.mjs +0 -54
- package/dist/chunks/index40.mjs +0 -29
- package/dist/chunks/index5.mjs +0 -31
- package/dist/chunks/index6.mjs +0 -29
- package/dist/chunks/index7.mjs +0 -35
- package/dist/chunks/index8.mjs +0 -18
- package/dist/chunks/index9.mjs +0 -20
- package/dist/shared/schema-org.40UJYB57.mjs +0 -19
- package/dist/shared/schema-org.BR4WcSqZ.d.ts +0 -21
- package/dist/shared/schema-org.Cp6bpwL2.mjs +0 -875
- package/dist/shared/schema-org.Dg61qWpa.mjs +0 -27
- package/dist/shared/schema-org.oFHFm6my.d.mts +0 -21
package/dist/solid-js.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HeadEntryOptions, ActiveHeadEntry } from 'unhead/types';
|
|
2
|
-
import { X as UseSchemaOrgInput } from './shared/schema-org.
|
|
3
|
-
export { c as defineArticle, e as defineBook, g as defineBreadcrumb, h as defineComment, i as defineCourse, j as defineDataset, k as defineEvent, l as defineFoodEstablishment, m as defineHowTo, o as defineImage, p as defineItemList, q as defineJobPosting, s as defineLocalBusiness, t as defineMovie, u as defineMusicAlbum, v as defineMusicGroup, w as defineMusicPlaylist, x as defineMusicRecording, A as defineOrganization, B as definePerson, D as definePodcastEpisode, E as definePodcastSeason, F as definePodcastSeries, G as defineProduct, H as defineQuestion, J as defineRecipe, K as defineReview, M as defineService, N as defineSoftwareApp, O as defineTVEpisode, P as defineTVSeason, Q as defineTVSeries, R as defineVideo, T as defineWebPage, U as defineWebSite } from './shared/schema-org.
|
|
4
|
-
export { M as MetaInput, U as UserConfig } from './shared/schema-org.
|
|
2
|
+
import { X as UseSchemaOrgInput } from './shared/schema-org.Cxijls86.mjs';
|
|
3
|
+
export { c as defineArticle, e as defineBook, g as defineBreadcrumb, h as defineComment, i as defineCourse, j as defineDataset, k as defineEvent, l as defineFoodEstablishment, m as defineHowTo, o as defineImage, p as defineItemList, q as defineJobPosting, s as defineLocalBusiness, t as defineMovie, u as defineMusicAlbum, v as defineMusicGroup, w as defineMusicPlaylist, x as defineMusicRecording, A as defineOrganization, B as definePerson, D as definePodcastEpisode, E as definePodcastSeason, F as definePodcastSeries, G as defineProduct, H as defineQuestion, J as defineRecipe, K as defineReview, M as defineService, N as defineSoftwareApp, O as defineTVEpisode, P as defineTVSeason, Q as defineTVSeries, R as defineVideo, T as defineWebPage, U as defineWebSite } from './shared/schema-org.Cxijls86.mjs';
|
|
4
|
+
export { M as MetaInput, U as UserConfig } from './shared/schema-org.CX_95Tmq.mjs';
|
|
5
5
|
|
|
6
6
|
declare const schemaOrgAutoImports: {
|
|
7
7
|
from: string;
|
package/dist/solid-js.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HeadEntryOptions, ActiveHeadEntry } from 'unhead/types';
|
|
2
|
-
import { X as UseSchemaOrgInput } from './shared/schema-org.
|
|
3
|
-
export { c as defineArticle, e as defineBook, g as defineBreadcrumb, h as defineComment, i as defineCourse, j as defineDataset, k as defineEvent, l as defineFoodEstablishment, m as defineHowTo, o as defineImage, p as defineItemList, q as defineJobPosting, s as defineLocalBusiness, t as defineMovie, u as defineMusicAlbum, v as defineMusicGroup, w as defineMusicPlaylist, x as defineMusicRecording, A as defineOrganization, B as definePerson, D as definePodcastEpisode, E as definePodcastSeason, F as definePodcastSeries, G as defineProduct, H as defineQuestion, J as defineRecipe, K as defineReview, M as defineService, N as defineSoftwareApp, O as defineTVEpisode, P as defineTVSeason, Q as defineTVSeries, R as defineVideo, T as defineWebPage, U as defineWebSite } from './shared/schema-org.
|
|
4
|
-
export { M as MetaInput, U as UserConfig } from './shared/schema-org.
|
|
2
|
+
import { X as UseSchemaOrgInput } from './shared/schema-org.C1OXVKVP.js';
|
|
3
|
+
export { c as defineArticle, e as defineBook, g as defineBreadcrumb, h as defineComment, i as defineCourse, j as defineDataset, k as defineEvent, l as defineFoodEstablishment, m as defineHowTo, o as defineImage, p as defineItemList, q as defineJobPosting, s as defineLocalBusiness, t as defineMovie, u as defineMusicAlbum, v as defineMusicGroup, w as defineMusicPlaylist, x as defineMusicRecording, A as defineOrganization, B as definePerson, D as definePodcastEpisode, E as definePodcastSeason, F as definePodcastSeries, G as defineProduct, H as defineQuestion, J as defineRecipe, K as defineReview, M as defineService, N as defineSoftwareApp, O as defineTVEpisode, P as defineTVSeason, Q as defineTVSeries, R as defineVideo, T as defineWebPage, U as defineWebSite } from './shared/schema-org.C1OXVKVP.js';
|
|
4
|
+
export { M as MetaInput, U as UserConfig } from './shared/schema-org.CX_95Tmq.js';
|
|
5
5
|
|
|
6
6
|
declare const schemaOrgAutoImports: {
|
|
7
7
|
from: string;
|
package/dist/solid-js.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { useUnhead, useHead } from '@unhead/solid-js';
|
|
2
2
|
import { s as schemaAutoImports } from './shared/schema-org.CHbRCiep.mjs';
|
|
3
|
-
import { U as UnheadSchemaOrg,
|
|
4
|
-
export { i as defineArticle, j as defineBook, l as defineBreadcrumb, n as defineComment, o as defineCourse, p as defineDataset, q as defineEvent, s as defineFoodEstablishment, t as defineHowTo, v as defineImage, w as defineItemList, x as defineJobPosting, z as defineLocalBusiness, A as defineMovie, B as defineMusicAlbum, C as defineMusicGroup, D as defineMusicPlaylist, E as defineMusicRecording, H as defineOrganization, I as definePerson, K as definePodcastEpisode, L as definePodcastSeason, M as definePodcastSeries, N as defineProduct, O as defineQuestion,
|
|
3
|
+
import { U as UnheadSchemaOrg, a1 as normalizeSchemaOrgInput } from './shared/schema-org.PsNrfvgh.mjs';
|
|
4
|
+
export { i as defineArticle, j as defineBook, l as defineBreadcrumb, n as defineComment, o as defineCourse, p as defineDataset, q as defineEvent, s as defineFoodEstablishment, t as defineHowTo, v as defineImage, w as defineItemList, x as defineJobPosting, z as defineLocalBusiness, A as defineMovie, B as defineMusicAlbum, C as defineMusicGroup, D as defineMusicPlaylist, E as defineMusicRecording, H as defineOrganization, I as definePerson, K as definePodcastEpisode, L as definePodcastSeason, M as definePodcastSeries, N as defineProduct, O as defineQuestion, Q as defineRecipe, R as defineReview, T as defineService, V as defineSoftwareApp, W as defineTVEpisode, X as defineTVSeason, Y as defineTVSeries, Z as defineVideo, $ as defineWebPage, a0 as defineWebSite } from './shared/schema-org.PsNrfvgh.mjs';
|
|
5
|
+
import 'ufo';
|
|
5
6
|
import 'unhead/plugins';
|
|
6
7
|
import 'unhead/utils';
|
|
7
|
-
import 'ufo';
|
|
8
8
|
|
|
9
9
|
const schemaOrgAutoImports = [
|
|
10
10
|
{
|
package/dist/svelte.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HeadEntryOptions, ActiveHeadEntry } from 'unhead/types';
|
|
2
|
-
import { X as UseSchemaOrgInput } from './shared/schema-org.
|
|
3
|
-
export { c as defineArticle, e as defineBook, g as defineBreadcrumb, h as defineComment, i as defineCourse, j as defineDataset, k as defineEvent, l as defineFoodEstablishment, m as defineHowTo, o as defineImage, p as defineItemList, q as defineJobPosting, s as defineLocalBusiness, t as defineMovie, u as defineMusicAlbum, v as defineMusicGroup, w as defineMusicPlaylist, x as defineMusicRecording, A as defineOrganization, B as definePerson, D as definePodcastEpisode, E as definePodcastSeason, F as definePodcastSeries, G as defineProduct, H as defineQuestion, J as defineRecipe, K as defineReview, M as defineService, N as defineSoftwareApp, O as defineTVEpisode, P as defineTVSeason, Q as defineTVSeries, R as defineVideo, T as defineWebPage, U as defineWebSite } from './shared/schema-org.
|
|
4
|
-
export { M as MetaInput, U as UserConfig } from './shared/schema-org.
|
|
2
|
+
import { X as UseSchemaOrgInput } from './shared/schema-org.Cxijls86.mjs';
|
|
3
|
+
export { c as defineArticle, e as defineBook, g as defineBreadcrumb, h as defineComment, i as defineCourse, j as defineDataset, k as defineEvent, l as defineFoodEstablishment, m as defineHowTo, o as defineImage, p as defineItemList, q as defineJobPosting, s as defineLocalBusiness, t as defineMovie, u as defineMusicAlbum, v as defineMusicGroup, w as defineMusicPlaylist, x as defineMusicRecording, A as defineOrganization, B as definePerson, D as definePodcastEpisode, E as definePodcastSeason, F as definePodcastSeries, G as defineProduct, H as defineQuestion, J as defineRecipe, K as defineReview, M as defineService, N as defineSoftwareApp, O as defineTVEpisode, P as defineTVSeason, Q as defineTVSeries, R as defineVideo, T as defineWebPage, U as defineWebSite } from './shared/schema-org.Cxijls86.mjs';
|
|
4
|
+
export { M as MetaInput, U as UserConfig } from './shared/schema-org.CX_95Tmq.mjs';
|
|
5
5
|
|
|
6
6
|
declare function useSchemaOrg(input?: UseSchemaOrgInput, options?: HeadEntryOptions): ActiveHeadEntry<UseSchemaOrgInput>;
|
|
7
7
|
|
package/dist/svelte.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HeadEntryOptions, ActiveHeadEntry } from 'unhead/types';
|
|
2
|
-
import { X as UseSchemaOrgInput } from './shared/schema-org.
|
|
3
|
-
export { c as defineArticle, e as defineBook, g as defineBreadcrumb, h as defineComment, i as defineCourse, j as defineDataset, k as defineEvent, l as defineFoodEstablishment, m as defineHowTo, o as defineImage, p as defineItemList, q as defineJobPosting, s as defineLocalBusiness, t as defineMovie, u as defineMusicAlbum, v as defineMusicGroup, w as defineMusicPlaylist, x as defineMusicRecording, A as defineOrganization, B as definePerson, D as definePodcastEpisode, E as definePodcastSeason, F as definePodcastSeries, G as defineProduct, H as defineQuestion, J as defineRecipe, K as defineReview, M as defineService, N as defineSoftwareApp, O as defineTVEpisode, P as defineTVSeason, Q as defineTVSeries, R as defineVideo, T as defineWebPage, U as defineWebSite } from './shared/schema-org.
|
|
4
|
-
export { M as MetaInput, U as UserConfig } from './shared/schema-org.
|
|
2
|
+
import { X as UseSchemaOrgInput } from './shared/schema-org.C1OXVKVP.js';
|
|
3
|
+
export { c as defineArticle, e as defineBook, g as defineBreadcrumb, h as defineComment, i as defineCourse, j as defineDataset, k as defineEvent, l as defineFoodEstablishment, m as defineHowTo, o as defineImage, p as defineItemList, q as defineJobPosting, s as defineLocalBusiness, t as defineMovie, u as defineMusicAlbum, v as defineMusicGroup, w as defineMusicPlaylist, x as defineMusicRecording, A as defineOrganization, B as definePerson, D as definePodcastEpisode, E as definePodcastSeason, F as definePodcastSeries, G as defineProduct, H as defineQuestion, J as defineRecipe, K as defineReview, M as defineService, N as defineSoftwareApp, O as defineTVEpisode, P as defineTVSeason, Q as defineTVSeries, R as defineVideo, T as defineWebPage, U as defineWebSite } from './shared/schema-org.C1OXVKVP.js';
|
|
4
|
+
export { M as MetaInput, U as UserConfig } from './shared/schema-org.CX_95Tmq.js';
|
|
5
5
|
|
|
6
6
|
declare function useSchemaOrg(input?: UseSchemaOrgInput, options?: HeadEntryOptions): ActiveHeadEntry<UseSchemaOrgInput>;
|
|
7
7
|
|
package/dist/svelte.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { useUnhead, useHead } from '@unhead/svelte';
|
|
2
2
|
import { s as schemaAutoImports } from './shared/schema-org.CHbRCiep.mjs';
|
|
3
|
-
import { U as UnheadSchemaOrg,
|
|
4
|
-
export { i as defineArticle, j as defineBook, l as defineBreadcrumb, n as defineComment, o as defineCourse, p as defineDataset, q as defineEvent, s as defineFoodEstablishment, t as defineHowTo, v as defineImage, w as defineItemList, x as defineJobPosting, z as defineLocalBusiness, A as defineMovie, B as defineMusicAlbum, C as defineMusicGroup, D as defineMusicPlaylist, E as defineMusicRecording, H as defineOrganization, I as definePerson, K as definePodcastEpisode, L as definePodcastSeason, M as definePodcastSeries, N as defineProduct, O as defineQuestion,
|
|
3
|
+
import { U as UnheadSchemaOrg, a1 as normalizeSchemaOrgInput } from './shared/schema-org.PsNrfvgh.mjs';
|
|
4
|
+
export { i as defineArticle, j as defineBook, l as defineBreadcrumb, n as defineComment, o as defineCourse, p as defineDataset, q as defineEvent, s as defineFoodEstablishment, t as defineHowTo, v as defineImage, w as defineItemList, x as defineJobPosting, z as defineLocalBusiness, A as defineMovie, B as defineMusicAlbum, C as defineMusicGroup, D as defineMusicPlaylist, E as defineMusicRecording, H as defineOrganization, I as definePerson, K as definePodcastEpisode, L as definePodcastSeason, M as definePodcastSeries, N as defineProduct, O as defineQuestion, Q as defineRecipe, R as defineReview, T as defineService, V as defineSoftwareApp, W as defineTVEpisode, X as defineTVSeason, Y as defineTVSeries, Z as defineVideo, $ as defineWebPage, a0 as defineWebSite } from './shared/schema-org.PsNrfvgh.mjs';
|
|
5
|
+
import 'ufo';
|
|
5
6
|
import 'unhead/plugins';
|
|
6
7
|
import 'unhead/utils';
|
|
7
|
-
import 'ufo';
|
|
8
8
|
|
|
9
9
|
function useSchemaOrg(input = [], options = {}) {
|
|
10
10
|
const unhead = options.head || useUnhead();
|
package/dist/vue.d.mts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { U as UnheadSchemaOrg } from './shared/schema-org.BS2Q1uTx.mjs';
|
|
2
2
|
import { ComponentResolver } from 'unplugin-vue-components';
|
|
3
3
|
import { defineComponent } from 'vue';
|
|
4
|
-
import { aJ as PostalAddress, aH as PostalAddressStrict, aI as PostalAddressName, i as AggregateOffer, l as AggregateRating, o as Article, x as BreadcrumbList, D as Comment, K as Event, a1 as FoodEstablishment, _ as VirtualLocation, X as Place, a4 as HowTo, a8 as HowToStep, ad as ImageObject, aj as JobPosting, ap as LocalBusiness, av as Offer, ay as OpeningHoursSpecification, aB as Organization, aE as Person, aM as Product, aQ as Question, aW as Recipe, a$ as Review, b5 as VideoObject, b8 as WebPage, bf as WebSite, q as Book, G as Course, ag as ItemList, am as ListItem, as as Movie, bj as SearchAction, bc as ReadAction, b2 as SoftwareApp, s as BookEdition, A as Arrayable, T as Thing } from './shared/schema-org.CFcsqFfN.mjs';
|
|
5
|
-
export { M as MetaInput, U as UserConfig } from './shared/schema-org.CFcsqFfN.mjs';
|
|
6
4
|
import { DeepResolvableProperties, UseHeadOptions } from '@unhead/vue';
|
|
7
5
|
import { ActiveHeadEntry } from 'unhead/types';
|
|
6
|
+
import { aJ as PostalAddress, i as AggregateOffer, l as AggregateRating, o as Article, x as BreadcrumbList, D as Comment, K as Event, a1 as FoodEstablishment, _ as VirtualLocation, X as Place, a4 as HowTo, a8 as HowToStep, ad as ImageObject, aj as JobPosting, ap as LocalBusiness, av as Offer, ay as OpeningHoursSpecification, aB as Organization, aE as Person, aM as Product, aQ as Question, aW as Recipe, a$ as Review, b5 as VideoObject, b8 as WebPage, bf as WebSite, q as Book, G as Course, ag as ItemList, am as ListItem, as as Movie, bj as SearchAction, bc as ReadAction, b2 as SoftwareApp, s as BookEdition, A as Arrayable, T as Thing } from './shared/schema-org.CX_95Tmq.mjs';
|
|
7
|
+
export { M as MetaInput, U as UserConfig } from './shared/schema-org.CX_95Tmq.mjs';
|
|
8
8
|
|
|
9
9
|
interface SchemaOrgResolverOptions {
|
|
10
10
|
/**
|
|
@@ -46,41 +46,41 @@ 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?: DeepResolvableProperties<PostalAddress & T>):
|
|
50
|
-
declare function defineAggregateOffer<T extends Record<string, any>>(input?: DeepResolvableProperties<AggregateOffer & T>):
|
|
51
|
-
declare function defineAggregateRating<T extends Record<string, any>>(input?: DeepResolvableProperties<AggregateRating & T>):
|
|
52
|
-
declare function defineArticle<T extends Record<string, any>>(input?: DeepResolvableProperties<Article & T>):
|
|
53
|
-
declare function defineBreadcrumb<T extends Record<string, any>>(input?: DeepResolvableProperties<BreadcrumbList & T>):
|
|
54
|
-
declare function defineComment<T extends Record<string, any>>(input?: DeepResolvableProperties<Comment & T>):
|
|
55
|
-
declare function defineEvent<T extends Record<string, any>>(input?: DeepResolvableProperties<Event & T>):
|
|
56
|
-
declare function defineFoodEstablishment<T extends Record<string, any>>(input?: DeepResolvableProperties<FoodEstablishment & T>):
|
|
57
|
-
declare function defineVirtualLocation<T extends Record<string, any>>(input?: DeepResolvableProperties<VirtualLocation & T>):
|
|
58
|
-
declare function definePlace<T extends Record<string, any>>(input?: DeepResolvableProperties<Place & T>):
|
|
59
|
-
declare function defineHowTo<T extends Record<string, any>>(input?: DeepResolvableProperties<HowTo & T>):
|
|
60
|
-
declare function defineHowToStep<T extends Record<string, any>>(input?: DeepResolvableProperties<HowToStep & T>):
|
|
61
|
-
declare function defineImage<T extends Record<string, any>>(input?: DeepResolvableProperties<ImageObject & T>):
|
|
62
|
-
declare function defineJobPosting<T extends Record<string, any>>(input?: DeepResolvableProperties<JobPosting & T>):
|
|
63
|
-
declare function defineLocalBusiness<T extends Record<string, any>>(input?: DeepResolvableProperties<LocalBusiness & T>):
|
|
64
|
-
declare function defineOffer<T extends Record<string, any>>(input?: DeepResolvableProperties<Offer & T>):
|
|
65
|
-
declare function defineOpeningHours<T extends Record<string, any>>(input?: DeepResolvableProperties<OpeningHoursSpecification & T>):
|
|
66
|
-
declare function defineOrganization<T extends Record<string, any>>(input?: DeepResolvableProperties<Organization & T>):
|
|
67
|
-
declare function definePerson<T extends Record<string, any>>(input?: DeepResolvableProperties<Person & T>):
|
|
68
|
-
declare function defineProduct<T extends Record<string, any>>(input?: DeepResolvableProperties<Product & T>):
|
|
69
|
-
declare function defineQuestion<T extends Record<string, any>>(input?: DeepResolvableProperties<Question & T>):
|
|
70
|
-
declare function defineRecipe<T extends Record<string, any>>(input?: DeepResolvableProperties<Recipe & T>):
|
|
71
|
-
declare function defineReview<T extends Record<string, any>>(input?: DeepResolvableProperties<Review & T>):
|
|
72
|
-
declare function defineVideo<T extends Record<string, any>>(input?: DeepResolvableProperties<VideoObject & T>):
|
|
73
|
-
declare function defineWebPage<T extends Record<string, any>>(input?: DeepResolvableProperties<WebPage & T>):
|
|
74
|
-
declare function defineWebSite<T extends Record<string, any>>(input?: DeepResolvableProperties<WebSite & T>):
|
|
75
|
-
declare function defineBook<T extends Record<string, any>>(input?: DeepResolvableProperties<Book & T>):
|
|
76
|
-
declare function defineCourse<T extends Record<string, any>>(input?: DeepResolvableProperties<Course & T>):
|
|
77
|
-
declare function defineItemList<T extends Record<string, any>>(input?: DeepResolvableProperties<ItemList & T>):
|
|
78
|
-
declare function defineListItem<T extends Record<string, any>>(input?: DeepResolvableProperties<ListItem & T>):
|
|
79
|
-
declare function defineMovie<T extends Record<string, any>>(input?: DeepResolvableProperties<Movie & T>):
|
|
80
|
-
declare function defineSearchAction<T extends Record<string, any>>(input?: DeepResolvableProperties<SearchAction & T>):
|
|
81
|
-
declare function defineReadAction<T extends Record<string, any>>(input?: DeepResolvableProperties<ReadAction & T>):
|
|
82
|
-
declare function defineSoftwareApp<T extends Record<string, any>>(input?: DeepResolvableProperties<SoftwareApp & T>):
|
|
83
|
-
declare function defineBookEdition<T extends Record<string, any>>(input?: DeepResolvableProperties<BookEdition & T>):
|
|
49
|
+
declare function defineAddress<T extends Record<string, any>>(input?: DeepResolvableProperties<PostalAddress & T>): any;
|
|
50
|
+
declare function defineAggregateOffer<T extends Record<string, any>>(input?: DeepResolvableProperties<AggregateOffer & T>): any;
|
|
51
|
+
declare function defineAggregateRating<T extends Record<string, any>>(input?: DeepResolvableProperties<AggregateRating & T>): any;
|
|
52
|
+
declare function defineArticle<T extends Record<string, any>>(input?: DeepResolvableProperties<Article & T>): any;
|
|
53
|
+
declare function defineBreadcrumb<T extends Record<string, any>>(input?: DeepResolvableProperties<BreadcrumbList & T>): any;
|
|
54
|
+
declare function defineComment<T extends Record<string, any>>(input?: DeepResolvableProperties<Comment & T>): any;
|
|
55
|
+
declare function defineEvent<T extends Record<string, any>>(input?: DeepResolvableProperties<Event & T>): any;
|
|
56
|
+
declare function defineFoodEstablishment<T extends Record<string, any>>(input?: DeepResolvableProperties<FoodEstablishment & T>): any;
|
|
57
|
+
declare function defineVirtualLocation<T extends Record<string, any>>(input?: DeepResolvableProperties<VirtualLocation & T>): any;
|
|
58
|
+
declare function definePlace<T extends Record<string, any>>(input?: DeepResolvableProperties<Place & T>): any;
|
|
59
|
+
declare function defineHowTo<T extends Record<string, any>>(input?: DeepResolvableProperties<HowTo & T>): any;
|
|
60
|
+
declare function defineHowToStep<T extends Record<string, any>>(input?: DeepResolvableProperties<HowToStep & T>): any;
|
|
61
|
+
declare function defineImage<T extends Record<string, any>>(input?: DeepResolvableProperties<ImageObject & T>): any;
|
|
62
|
+
declare function defineJobPosting<T extends Record<string, any>>(input?: DeepResolvableProperties<JobPosting & T>): any;
|
|
63
|
+
declare function defineLocalBusiness<T extends Record<string, any>>(input?: DeepResolvableProperties<LocalBusiness & T>): any;
|
|
64
|
+
declare function defineOffer<T extends Record<string, any>>(input?: DeepResolvableProperties<Offer & T>): any;
|
|
65
|
+
declare function defineOpeningHours<T extends Record<string, any>>(input?: DeepResolvableProperties<OpeningHoursSpecification & T>): any;
|
|
66
|
+
declare function defineOrganization<T extends Record<string, any>>(input?: DeepResolvableProperties<Organization & T>): any;
|
|
67
|
+
declare function definePerson<T extends Record<string, any>>(input?: DeepResolvableProperties<Person & T>): any;
|
|
68
|
+
declare function defineProduct<T extends Record<string, any>>(input?: DeepResolvableProperties<Product & T>): any;
|
|
69
|
+
declare function defineQuestion<T extends Record<string, any>>(input?: DeepResolvableProperties<Question & T>): any;
|
|
70
|
+
declare function defineRecipe<T extends Record<string, any>>(input?: DeepResolvableProperties<Recipe & T>): any;
|
|
71
|
+
declare function defineReview<T extends Record<string, any>>(input?: DeepResolvableProperties<Review & T>): any;
|
|
72
|
+
declare function defineVideo<T extends Record<string, any>>(input?: DeepResolvableProperties<VideoObject & T>): any;
|
|
73
|
+
declare function defineWebPage<T extends Record<string, any>>(input?: DeepResolvableProperties<WebPage & T>): any;
|
|
74
|
+
declare function defineWebSite<T extends Record<string, any>>(input?: DeepResolvableProperties<WebSite & T>): any;
|
|
75
|
+
declare function defineBook<T extends Record<string, any>>(input?: DeepResolvableProperties<Book & T>): any;
|
|
76
|
+
declare function defineCourse<T extends Record<string, any>>(input?: DeepResolvableProperties<Course & T>): any;
|
|
77
|
+
declare function defineItemList<T extends Record<string, any>>(input?: DeepResolvableProperties<ItemList & T>): any;
|
|
78
|
+
declare function defineListItem<T extends Record<string, any>>(input?: DeepResolvableProperties<ListItem & T>): any;
|
|
79
|
+
declare function defineMovie<T extends Record<string, any>>(input?: DeepResolvableProperties<Movie & T>): any;
|
|
80
|
+
declare function defineSearchAction<T extends Record<string, any>>(input?: DeepResolvableProperties<SearchAction & T>): any;
|
|
81
|
+
declare function defineReadAction<T extends Record<string, any>>(input?: DeepResolvableProperties<ReadAction & T>): any;
|
|
82
|
+
declare function defineSoftwareApp<T extends Record<string, any>>(input?: DeepResolvableProperties<SoftwareApp & T>): any;
|
|
83
|
+
declare function defineBookEdition<T extends Record<string, any>>(input?: DeepResolvableProperties<BookEdition & T>): any;
|
|
84
84
|
type UseSchemaOrgInput = Arrayable<DeepResolvableProperties<Thing | Record<string, any>>>;
|
|
85
85
|
declare function useSchemaOrg(input?: UseSchemaOrgInput, options?: UseHeadOptions): ActiveHeadEntry<UseSchemaOrgInput>;
|
|
86
86
|
|
package/dist/vue.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { U as UnheadSchemaOrg } from './shared/schema-org.C7IeLKiX.js';
|
|
2
2
|
import { ComponentResolver } from 'unplugin-vue-components';
|
|
3
3
|
import { defineComponent } from 'vue';
|
|
4
|
-
import { aJ as PostalAddress, aH as PostalAddressStrict, aI as PostalAddressName, i as AggregateOffer, l as AggregateRating, o as Article, x as BreadcrumbList, D as Comment, K as Event, a1 as FoodEstablishment, _ as VirtualLocation, X as Place, a4 as HowTo, a8 as HowToStep, ad as ImageObject, aj as JobPosting, ap as LocalBusiness, av as Offer, ay as OpeningHoursSpecification, aB as Organization, aE as Person, aM as Product, aQ as Question, aW as Recipe, a$ as Review, b5 as VideoObject, b8 as WebPage, bf as WebSite, q as Book, G as Course, ag as ItemList, am as ListItem, as as Movie, bj as SearchAction, bc as ReadAction, b2 as SoftwareApp, s as BookEdition, A as Arrayable, T as Thing } from './shared/schema-org.CFcsqFfN.js';
|
|
5
|
-
export { M as MetaInput, U as UserConfig } from './shared/schema-org.CFcsqFfN.js';
|
|
6
4
|
import { DeepResolvableProperties, UseHeadOptions } from '@unhead/vue';
|
|
7
5
|
import { ActiveHeadEntry } from 'unhead/types';
|
|
6
|
+
import { aJ as PostalAddress, i as AggregateOffer, l as AggregateRating, o as Article, x as BreadcrumbList, D as Comment, K as Event, a1 as FoodEstablishment, _ as VirtualLocation, X as Place, a4 as HowTo, a8 as HowToStep, ad as ImageObject, aj as JobPosting, ap as LocalBusiness, av as Offer, ay as OpeningHoursSpecification, aB as Organization, aE as Person, aM as Product, aQ as Question, aW as Recipe, a$ as Review, b5 as VideoObject, b8 as WebPage, bf as WebSite, q as Book, G as Course, ag as ItemList, am as ListItem, as as Movie, bj as SearchAction, bc as ReadAction, b2 as SoftwareApp, s as BookEdition, A as Arrayable, T as Thing } from './shared/schema-org.CX_95Tmq.js';
|
|
7
|
+
export { M as MetaInput, U as UserConfig } from './shared/schema-org.CX_95Tmq.js';
|
|
8
8
|
|
|
9
9
|
interface SchemaOrgResolverOptions {
|
|
10
10
|
/**
|
|
@@ -46,41 +46,41 @@ 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?: DeepResolvableProperties<PostalAddress & T>):
|
|
50
|
-
declare function defineAggregateOffer<T extends Record<string, any>>(input?: DeepResolvableProperties<AggregateOffer & T>):
|
|
51
|
-
declare function defineAggregateRating<T extends Record<string, any>>(input?: DeepResolvableProperties<AggregateRating & T>):
|
|
52
|
-
declare function defineArticle<T extends Record<string, any>>(input?: DeepResolvableProperties<Article & T>):
|
|
53
|
-
declare function defineBreadcrumb<T extends Record<string, any>>(input?: DeepResolvableProperties<BreadcrumbList & T>):
|
|
54
|
-
declare function defineComment<T extends Record<string, any>>(input?: DeepResolvableProperties<Comment & T>):
|
|
55
|
-
declare function defineEvent<T extends Record<string, any>>(input?: DeepResolvableProperties<Event & T>):
|
|
56
|
-
declare function defineFoodEstablishment<T extends Record<string, any>>(input?: DeepResolvableProperties<FoodEstablishment & T>):
|
|
57
|
-
declare function defineVirtualLocation<T extends Record<string, any>>(input?: DeepResolvableProperties<VirtualLocation & T>):
|
|
58
|
-
declare function definePlace<T extends Record<string, any>>(input?: DeepResolvableProperties<Place & T>):
|
|
59
|
-
declare function defineHowTo<T extends Record<string, any>>(input?: DeepResolvableProperties<HowTo & T>):
|
|
60
|
-
declare function defineHowToStep<T extends Record<string, any>>(input?: DeepResolvableProperties<HowToStep & T>):
|
|
61
|
-
declare function defineImage<T extends Record<string, any>>(input?: DeepResolvableProperties<ImageObject & T>):
|
|
62
|
-
declare function defineJobPosting<T extends Record<string, any>>(input?: DeepResolvableProperties<JobPosting & T>):
|
|
63
|
-
declare function defineLocalBusiness<T extends Record<string, any>>(input?: DeepResolvableProperties<LocalBusiness & T>):
|
|
64
|
-
declare function defineOffer<T extends Record<string, any>>(input?: DeepResolvableProperties<Offer & T>):
|
|
65
|
-
declare function defineOpeningHours<T extends Record<string, any>>(input?: DeepResolvableProperties<OpeningHoursSpecification & T>):
|
|
66
|
-
declare function defineOrganization<T extends Record<string, any>>(input?: DeepResolvableProperties<Organization & T>):
|
|
67
|
-
declare function definePerson<T extends Record<string, any>>(input?: DeepResolvableProperties<Person & T>):
|
|
68
|
-
declare function defineProduct<T extends Record<string, any>>(input?: DeepResolvableProperties<Product & T>):
|
|
69
|
-
declare function defineQuestion<T extends Record<string, any>>(input?: DeepResolvableProperties<Question & T>):
|
|
70
|
-
declare function defineRecipe<T extends Record<string, any>>(input?: DeepResolvableProperties<Recipe & T>):
|
|
71
|
-
declare function defineReview<T extends Record<string, any>>(input?: DeepResolvableProperties<Review & T>):
|
|
72
|
-
declare function defineVideo<T extends Record<string, any>>(input?: DeepResolvableProperties<VideoObject & T>):
|
|
73
|
-
declare function defineWebPage<T extends Record<string, any>>(input?: DeepResolvableProperties<WebPage & T>):
|
|
74
|
-
declare function defineWebSite<T extends Record<string, any>>(input?: DeepResolvableProperties<WebSite & T>):
|
|
75
|
-
declare function defineBook<T extends Record<string, any>>(input?: DeepResolvableProperties<Book & T>):
|
|
76
|
-
declare function defineCourse<T extends Record<string, any>>(input?: DeepResolvableProperties<Course & T>):
|
|
77
|
-
declare function defineItemList<T extends Record<string, any>>(input?: DeepResolvableProperties<ItemList & T>):
|
|
78
|
-
declare function defineListItem<T extends Record<string, any>>(input?: DeepResolvableProperties<ListItem & T>):
|
|
79
|
-
declare function defineMovie<T extends Record<string, any>>(input?: DeepResolvableProperties<Movie & T>):
|
|
80
|
-
declare function defineSearchAction<T extends Record<string, any>>(input?: DeepResolvableProperties<SearchAction & T>):
|
|
81
|
-
declare function defineReadAction<T extends Record<string, any>>(input?: DeepResolvableProperties<ReadAction & T>):
|
|
82
|
-
declare function defineSoftwareApp<T extends Record<string, any>>(input?: DeepResolvableProperties<SoftwareApp & T>):
|
|
83
|
-
declare function defineBookEdition<T extends Record<string, any>>(input?: DeepResolvableProperties<BookEdition & T>):
|
|
49
|
+
declare function defineAddress<T extends Record<string, any>>(input?: DeepResolvableProperties<PostalAddress & T>): any;
|
|
50
|
+
declare function defineAggregateOffer<T extends Record<string, any>>(input?: DeepResolvableProperties<AggregateOffer & T>): any;
|
|
51
|
+
declare function defineAggregateRating<T extends Record<string, any>>(input?: DeepResolvableProperties<AggregateRating & T>): any;
|
|
52
|
+
declare function defineArticle<T extends Record<string, any>>(input?: DeepResolvableProperties<Article & T>): any;
|
|
53
|
+
declare function defineBreadcrumb<T extends Record<string, any>>(input?: DeepResolvableProperties<BreadcrumbList & T>): any;
|
|
54
|
+
declare function defineComment<T extends Record<string, any>>(input?: DeepResolvableProperties<Comment & T>): any;
|
|
55
|
+
declare function defineEvent<T extends Record<string, any>>(input?: DeepResolvableProperties<Event & T>): any;
|
|
56
|
+
declare function defineFoodEstablishment<T extends Record<string, any>>(input?: DeepResolvableProperties<FoodEstablishment & T>): any;
|
|
57
|
+
declare function defineVirtualLocation<T extends Record<string, any>>(input?: DeepResolvableProperties<VirtualLocation & T>): any;
|
|
58
|
+
declare function definePlace<T extends Record<string, any>>(input?: DeepResolvableProperties<Place & T>): any;
|
|
59
|
+
declare function defineHowTo<T extends Record<string, any>>(input?: DeepResolvableProperties<HowTo & T>): any;
|
|
60
|
+
declare function defineHowToStep<T extends Record<string, any>>(input?: DeepResolvableProperties<HowToStep & T>): any;
|
|
61
|
+
declare function defineImage<T extends Record<string, any>>(input?: DeepResolvableProperties<ImageObject & T>): any;
|
|
62
|
+
declare function defineJobPosting<T extends Record<string, any>>(input?: DeepResolvableProperties<JobPosting & T>): any;
|
|
63
|
+
declare function defineLocalBusiness<T extends Record<string, any>>(input?: DeepResolvableProperties<LocalBusiness & T>): any;
|
|
64
|
+
declare function defineOffer<T extends Record<string, any>>(input?: DeepResolvableProperties<Offer & T>): any;
|
|
65
|
+
declare function defineOpeningHours<T extends Record<string, any>>(input?: DeepResolvableProperties<OpeningHoursSpecification & T>): any;
|
|
66
|
+
declare function defineOrganization<T extends Record<string, any>>(input?: DeepResolvableProperties<Organization & T>): any;
|
|
67
|
+
declare function definePerson<T extends Record<string, any>>(input?: DeepResolvableProperties<Person & T>): any;
|
|
68
|
+
declare function defineProduct<T extends Record<string, any>>(input?: DeepResolvableProperties<Product & T>): any;
|
|
69
|
+
declare function defineQuestion<T extends Record<string, any>>(input?: DeepResolvableProperties<Question & T>): any;
|
|
70
|
+
declare function defineRecipe<T extends Record<string, any>>(input?: DeepResolvableProperties<Recipe & T>): any;
|
|
71
|
+
declare function defineReview<T extends Record<string, any>>(input?: DeepResolvableProperties<Review & T>): any;
|
|
72
|
+
declare function defineVideo<T extends Record<string, any>>(input?: DeepResolvableProperties<VideoObject & T>): any;
|
|
73
|
+
declare function defineWebPage<T extends Record<string, any>>(input?: DeepResolvableProperties<WebPage & T>): any;
|
|
74
|
+
declare function defineWebSite<T extends Record<string, any>>(input?: DeepResolvableProperties<WebSite & T>): any;
|
|
75
|
+
declare function defineBook<T extends Record<string, any>>(input?: DeepResolvableProperties<Book & T>): any;
|
|
76
|
+
declare function defineCourse<T extends Record<string, any>>(input?: DeepResolvableProperties<Course & T>): any;
|
|
77
|
+
declare function defineItemList<T extends Record<string, any>>(input?: DeepResolvableProperties<ItemList & T>): any;
|
|
78
|
+
declare function defineListItem<T extends Record<string, any>>(input?: DeepResolvableProperties<ListItem & T>): any;
|
|
79
|
+
declare function defineMovie<T extends Record<string, any>>(input?: DeepResolvableProperties<Movie & T>): any;
|
|
80
|
+
declare function defineSearchAction<T extends Record<string, any>>(input?: DeepResolvableProperties<SearchAction & T>): any;
|
|
81
|
+
declare function defineReadAction<T extends Record<string, any>>(input?: DeepResolvableProperties<ReadAction & T>): any;
|
|
82
|
+
declare function defineSoftwareApp<T extends Record<string, any>>(input?: DeepResolvableProperties<SoftwareApp & T>): any;
|
|
83
|
+
declare function defineBookEdition<T extends Record<string, any>>(input?: DeepResolvableProperties<BookEdition & T>): any;
|
|
84
84
|
type UseSchemaOrgInput = Arrayable<DeepResolvableProperties<Thing | Record<string, any>>>;
|
|
85
85
|
declare function useSchemaOrg(input?: UseSchemaOrgInput, options?: UseHeadOptions): ActiveHeadEntry<UseSchemaOrgInput>;
|
|
86
86
|
|
package/dist/vue.mjs
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { U as UnheadSchemaOrg,
|
|
2
|
-
export { P as PluginSchemaOrg, S as SchemaOrgUnheadPlugin } from './shared/schema-org.Cp6bpwL2.mjs';
|
|
1
|
+
import { U as UnheadSchemaOrg, a1 as normalizeSchemaOrgInput, aG as addressResolver, a3 as aggregateOfferResolver, a4 as aggregateRatingResolver, a6 as articleResolver, ab as breadcrumbResolver, ac as commentResolver, ah as eventResolver, ak as foodEstablishmentResolver, aj as virtualLocationResolver, ai as placeResolver, am as howToResolver, an as howToStepResolver, ap as imageResolver, ar as jobPostingResolver, at as localBusinessResolver, az as offerResolver, aA as openingHoursResolver, aB as organizationResolver, aC as personResolver, aI as productResolver, aJ as questionResolver, aM as recipeResolver, aN as reviewResolver, aU as videoResolver, aW as webPageResolver, aZ as webSiteResolver, a9 as bookResolver, ad as courseResolver, aq as itemListResolver, as as listItemResolver, au as movieResolver, a_ as searchActionResolver, aX as readActionResolver, aQ as softwareAppResolver, a7 as bookEditionResolver } from './shared/schema-org.PsNrfvgh.mjs';
|
|
3
2
|
import { s as schemaAutoImports } from './shared/schema-org.CHbRCiep.mjs';
|
|
4
|
-
import { defineComponent, ref, computed, unref, h,
|
|
3
|
+
import { defineComponent, ref, computed, unref, h, toValue } from 'vue';
|
|
5
4
|
import { injectHead, useHead } from '@unhead/vue';
|
|
5
|
+
import 'ufo';
|
|
6
6
|
import 'unhead/plugins';
|
|
7
7
|
import 'unhead/utils';
|
|
8
|
-
import 'ufo';
|
|
9
8
|
|
|
10
9
|
const schemaOrgAutoImports = [
|
|
11
10
|
{
|
|
@@ -142,114 +141,119 @@ const SchemaOrgSoftwareApp = /* @__PURE__ */ defineSchemaOrgComponent("SchemaOrg
|
|
|
142
141
|
function provideResolver(input, resolver) {
|
|
143
142
|
if (!input)
|
|
144
143
|
input = {};
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
144
|
+
if (input && typeof input === "object" && "__v_isRef" in input) {
|
|
145
|
+
const inner = toValue(input);
|
|
146
|
+
if (inner && typeof inner === "object") {
|
|
147
|
+
inner._resolver = resolver;
|
|
148
|
+
}
|
|
149
|
+
return input;
|
|
150
|
+
}
|
|
151
|
+
return { ...input, _resolver: resolver };
|
|
148
152
|
}
|
|
149
153
|
function defineAddress(input) {
|
|
150
|
-
return provideResolver(input,
|
|
154
|
+
return provideResolver(input, addressResolver);
|
|
151
155
|
}
|
|
152
156
|
function defineAggregateOffer(input) {
|
|
153
|
-
return provideResolver(input,
|
|
157
|
+
return provideResolver(input, aggregateOfferResolver);
|
|
154
158
|
}
|
|
155
159
|
function defineAggregateRating(input) {
|
|
156
|
-
return provideResolver(input,
|
|
160
|
+
return provideResolver(input, aggregateRatingResolver);
|
|
157
161
|
}
|
|
158
162
|
function defineArticle(input) {
|
|
159
|
-
return provideResolver(input,
|
|
163
|
+
return provideResolver(input, articleResolver);
|
|
160
164
|
}
|
|
161
165
|
function defineBreadcrumb(input) {
|
|
162
|
-
return provideResolver(input,
|
|
166
|
+
return provideResolver(input, breadcrumbResolver);
|
|
163
167
|
}
|
|
164
168
|
function defineComment(input) {
|
|
165
|
-
return provideResolver(input,
|
|
169
|
+
return provideResolver(input, commentResolver);
|
|
166
170
|
}
|
|
167
171
|
function defineEvent(input) {
|
|
168
|
-
return provideResolver(input,
|
|
172
|
+
return provideResolver(input, eventResolver);
|
|
169
173
|
}
|
|
170
174
|
function defineFoodEstablishment(input) {
|
|
171
|
-
return provideResolver(input,
|
|
175
|
+
return provideResolver(input, foodEstablishmentResolver);
|
|
172
176
|
}
|
|
173
177
|
function defineVirtualLocation(input) {
|
|
174
|
-
return provideResolver(input,
|
|
178
|
+
return provideResolver(input, virtualLocationResolver);
|
|
175
179
|
}
|
|
176
180
|
function definePlace(input) {
|
|
177
|
-
return provideResolver(input,
|
|
181
|
+
return provideResolver(input, placeResolver);
|
|
178
182
|
}
|
|
179
183
|
function defineHowTo(input) {
|
|
180
|
-
return provideResolver(input,
|
|
184
|
+
return provideResolver(input, howToResolver);
|
|
181
185
|
}
|
|
182
186
|
function defineHowToStep(input) {
|
|
183
|
-
return provideResolver(input,
|
|
187
|
+
return provideResolver(input, howToStepResolver);
|
|
184
188
|
}
|
|
185
189
|
function defineImage(input) {
|
|
186
|
-
return provideResolver(input,
|
|
190
|
+
return provideResolver(input, imageResolver);
|
|
187
191
|
}
|
|
188
192
|
function defineJobPosting(input) {
|
|
189
|
-
return provideResolver(input,
|
|
193
|
+
return provideResolver(input, jobPostingResolver);
|
|
190
194
|
}
|
|
191
195
|
function defineLocalBusiness(input) {
|
|
192
|
-
return provideResolver(input,
|
|
196
|
+
return provideResolver(input, localBusinessResolver);
|
|
193
197
|
}
|
|
194
198
|
function defineOffer(input) {
|
|
195
|
-
return provideResolver(input,
|
|
199
|
+
return provideResolver(input, offerResolver);
|
|
196
200
|
}
|
|
197
201
|
function defineOpeningHours(input) {
|
|
198
|
-
return provideResolver(input,
|
|
202
|
+
return provideResolver(input, openingHoursResolver);
|
|
199
203
|
}
|
|
200
204
|
function defineOrganization(input) {
|
|
201
|
-
return provideResolver(input,
|
|
205
|
+
return provideResolver(input, organizationResolver);
|
|
202
206
|
}
|
|
203
207
|
function definePerson(input) {
|
|
204
|
-
return provideResolver(input,
|
|
208
|
+
return provideResolver(input, personResolver);
|
|
205
209
|
}
|
|
206
210
|
function defineProduct(input) {
|
|
207
|
-
return provideResolver(input,
|
|
211
|
+
return provideResolver(input, productResolver);
|
|
208
212
|
}
|
|
209
213
|
function defineQuestion(input) {
|
|
210
|
-
return provideResolver(input,
|
|
214
|
+
return provideResolver(input, questionResolver);
|
|
211
215
|
}
|
|
212
216
|
function defineRecipe(input) {
|
|
213
|
-
return provideResolver(input,
|
|
217
|
+
return provideResolver(input, recipeResolver);
|
|
214
218
|
}
|
|
215
219
|
function defineReview(input) {
|
|
216
|
-
return provideResolver(input,
|
|
220
|
+
return provideResolver(input, reviewResolver);
|
|
217
221
|
}
|
|
218
222
|
function defineVideo(input) {
|
|
219
|
-
return provideResolver(input,
|
|
223
|
+
return provideResolver(input, videoResolver);
|
|
220
224
|
}
|
|
221
225
|
function defineWebPage(input) {
|
|
222
|
-
return provideResolver(input,
|
|
226
|
+
return provideResolver(input, webPageResolver);
|
|
223
227
|
}
|
|
224
228
|
function defineWebSite(input) {
|
|
225
|
-
return provideResolver(input,
|
|
229
|
+
return provideResolver(input, webSiteResolver);
|
|
226
230
|
}
|
|
227
231
|
function defineBook(input) {
|
|
228
|
-
return provideResolver(input,
|
|
232
|
+
return provideResolver(input, bookResolver);
|
|
229
233
|
}
|
|
230
234
|
function defineCourse(input) {
|
|
231
|
-
return provideResolver(input,
|
|
235
|
+
return provideResolver(input, courseResolver);
|
|
232
236
|
}
|
|
233
237
|
function defineItemList(input) {
|
|
234
|
-
return provideResolver(input,
|
|
238
|
+
return provideResolver(input, itemListResolver);
|
|
235
239
|
}
|
|
236
240
|
function defineListItem(input) {
|
|
237
|
-
return provideResolver(input,
|
|
241
|
+
return provideResolver(input, listItemResolver);
|
|
238
242
|
}
|
|
239
243
|
function defineMovie(input) {
|
|
240
|
-
return provideResolver(input,
|
|
244
|
+
return provideResolver(input, movieResolver);
|
|
241
245
|
}
|
|
242
246
|
function defineSearchAction(input) {
|
|
243
|
-
return provideResolver(input,
|
|
247
|
+
return provideResolver(input, searchActionResolver);
|
|
244
248
|
}
|
|
245
249
|
function defineReadAction(input) {
|
|
246
|
-
return provideResolver(input,
|
|
250
|
+
return provideResolver(input, readActionResolver);
|
|
247
251
|
}
|
|
248
252
|
function defineSoftwareApp(input) {
|
|
249
|
-
return provideResolver(input,
|
|
253
|
+
return provideResolver(input, softwareAppResolver);
|
|
250
254
|
}
|
|
251
255
|
function defineBookEdition(input) {
|
|
252
|
-
return provideResolver(input,
|
|
256
|
+
return provideResolver(input, bookEditionResolver);
|
|
253
257
|
}
|
|
254
258
|
function useSchemaOrg(input = [], options = {}) {
|
|
255
259
|
const unhead = options.head || injectHead();
|
|
@@ -260,4 +264,4 @@ function useSchemaOrg(input = [], options = {}) {
|
|
|
260
264
|
return entry;
|
|
261
265
|
}
|
|
262
266
|
|
|
263
|
-
export { SchemaOrgArticle, SchemaOrgBook, SchemaOrgBreadcrumb, SchemaOrgComment, SchemaOrgCourse, SchemaOrgEvent, SchemaOrgFoodEstablishment, SchemaOrgHowTo, SchemaOrgImage, SchemaOrgItemList, SchemaOrgJobPosting, SchemaOrgLocalBusiness, SchemaOrgMovie, SchemaOrgOrganization, SchemaOrgPerson, SchemaOrgProduct, SchemaOrgQuestion, SchemaOrgRecipe, SchemaOrgResolver, SchemaOrgReview, SchemaOrgSoftwareApp, SchemaOrgVideo, SchemaOrgWebPage, SchemaOrgWebSite, 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 };
|
|
267
|
+
export { SchemaOrgArticle, SchemaOrgBook, SchemaOrgBreadcrumb, SchemaOrgComment, SchemaOrgCourse, SchemaOrgEvent, SchemaOrgFoodEstablishment, SchemaOrgHowTo, SchemaOrgImage, SchemaOrgItemList, SchemaOrgJobPosting, SchemaOrgLocalBusiness, SchemaOrgMovie, SchemaOrgOrganization, SchemaOrgPerson, SchemaOrgProduct, SchemaOrgQuestion, SchemaOrgRecipe, SchemaOrgResolver, SchemaOrgReview, SchemaOrgSoftwareApp, SchemaOrgVideo, SchemaOrgWebPage, SchemaOrgWebSite, 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, defineSchemaOrgComponent, defineSearchAction, defineSoftwareApp, defineVideo, defineVirtualLocation, defineWebPage, defineWebSite, schemaOrgAutoImports, schemaOrgComponents, useSchemaOrg };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unhead/schema-org",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.0.0-beta.
|
|
4
|
+
"version": "3.0.0-beta.6",
|
|
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",
|
|
@@ -71,10 +71,10 @@
|
|
|
71
71
|
"dist"
|
|
72
72
|
],
|
|
73
73
|
"peerDependencies": {
|
|
74
|
-
"@unhead/
|
|
75
|
-
"@unhead/
|
|
76
|
-
"@unhead/
|
|
77
|
-
"@unhead/vue": "3.0.0-beta.
|
|
74
|
+
"@unhead/svelte": "3.0.0-beta.6",
|
|
75
|
+
"@unhead/react": "3.0.0-beta.6",
|
|
76
|
+
"@unhead/solid-js": "3.0.0-beta.6",
|
|
77
|
+
"@unhead/vue": "3.0.0-beta.6"
|
|
78
78
|
},
|
|
79
79
|
"peerDependenciesMeta": {
|
|
80
80
|
"@unhead/react": {
|
|
@@ -91,16 +91,16 @@
|
|
|
91
91
|
}
|
|
92
92
|
},
|
|
93
93
|
"dependencies": {
|
|
94
|
-
"ufo": "^1.6.
|
|
95
|
-
"unhead": "3.0.0-beta.
|
|
94
|
+
"ufo": "^1.6.2",
|
|
95
|
+
"unhead": "3.0.0-beta.6"
|
|
96
96
|
},
|
|
97
97
|
"devDependencies": {
|
|
98
98
|
"unplugin-vue-components": "^30.0.0",
|
|
99
|
-
"@unhead/
|
|
100
|
-
"@unhead/svelte": "3.0.0-beta.
|
|
101
|
-
"@unhead/
|
|
102
|
-
"unhead": "3.0.0-beta.
|
|
103
|
-
"
|
|
99
|
+
"@unhead/react": "3.0.0-beta.6",
|
|
100
|
+
"@unhead/svelte": "3.0.0-beta.6",
|
|
101
|
+
"@unhead/solid-js": "3.0.0-beta.6",
|
|
102
|
+
"@unhead/vue": "3.0.0-beta.6",
|
|
103
|
+
"unhead": "3.0.0-beta.6"
|
|
104
104
|
},
|
|
105
105
|
"build": {
|
|
106
106
|
"external": [
|
package/dist/chunks/index.mjs
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { d as defineSchemaOrgResolver, e as resolveRelation, a6 as setIfEmpty, ac as asArray } from '../shared/schema-org.Cp6bpwL2.mjs';
|
|
2
|
-
import { offerResolver } from './index23.mjs';
|
|
3
|
-
import 'unhead/plugins';
|
|
4
|
-
import 'unhead/utils';
|
|
5
|
-
import 'ufo';
|
|
6
|
-
import '../shared/schema-org.Dg61qWpa.mjs';
|
|
7
|
-
|
|
8
|
-
const aggregateOfferResolver = defineSchemaOrgResolver({
|
|
9
|
-
defaults: {
|
|
10
|
-
"@type": "AggregateOffer"
|
|
11
|
-
},
|
|
12
|
-
inheritMeta: [
|
|
13
|
-
{ meta: "currency", key: "priceCurrency" }
|
|
14
|
-
],
|
|
15
|
-
resolve(node, ctx) {
|
|
16
|
-
node.offers = resolveRelation(node.offers, ctx, offerResolver);
|
|
17
|
-
if (node.offers)
|
|
18
|
-
setIfEmpty(node, "offerCount", asArray(node.offers).length);
|
|
19
|
-
return node;
|
|
20
|
-
}
|
|
21
|
-
});
|
|
22
|
-
|
|
23
|
-
export { aggregateOfferResolver };
|