nuxt-schema-org 6.1.2 → 6.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/devtools/components/schema-org/SchemaValidator.vue +326 -0
- package/dist/devtools/lib/schema-org/fetch.ts +13 -0
- package/dist/devtools/lib/schema-org/rpc.ts +46 -0
- package/dist/devtools/lib/schema-org/util/schema-validation.ts +470 -0
- package/dist/devtools/nuxt.config.ts +7 -0
- package/dist/devtools/pages/schema-org/debug.vue +23 -0
- package/dist/devtools/pages/schema-org/docs.vue +3 -0
- package/dist/devtools/pages/schema-org/index.vue +8 -0
- package/dist/devtools/pages/schema-org/raw.vue +25 -0
- package/dist/devtools/pages/schema-org.vue +54 -0
- package/dist/module.cjs +75 -14
- package/dist/module.d.cts +1 -1
- package/dist/module.d.mts +1 -1
- package/dist/module.d.ts +1 -1
- package/dist/module.json +1 -1
- package/dist/module.mjs +75 -14
- package/dist/runtime/app/plugins/defaults.js +1 -1
- package/dist/runtime/app/plugins/i18n/defaults.js +3 -3
- package/dist/runtime/server/routes/__schema-org__/debug.js +1 -1
- package/dist/runtime/server/utils/config.d.ts +1 -1
- package/dist/schema.cjs +2147 -9
- package/dist/schema.d.cts +185 -1
- package/dist/schema.d.mts +185 -1
- package/dist/schema.d.ts +185 -1
- package/dist/schema.mjs +2035 -1
- package/dist/shared/nuxt-schema-org.BQ-jW5j5.d.cts +2770 -0
- package/dist/shared/nuxt-schema-org.BQ-jW5j5.d.mts +2770 -0
- package/dist/shared/nuxt-schema-org.BQ-jW5j5.d.ts +2770 -0
- package/dist/vendor/schema-org-v2/LICENSE +21 -0
- package/dist/vendor/schema-org-v2/chunks/index.mjs +23 -0
- package/dist/vendor/schema-org-v2/chunks/index10.mjs +63 -0
- package/dist/vendor/schema-org-v2/chunks/index11.mjs +35 -0
- package/dist/vendor/schema-org-v2/chunks/index12.mjs +48 -0
- package/dist/vendor/schema-org-v2/chunks/index13.mjs +36 -0
- package/dist/vendor/schema-org-v2/chunks/index14.mjs +25 -0
- package/dist/vendor/schema-org-v2/chunks/index15.mjs +37 -0
- package/dist/vendor/schema-org-v2/chunks/index16.mjs +27 -0
- package/dist/vendor/schema-org-v2/chunks/index17.mjs +34 -0
- package/dist/vendor/schema-org-v2/chunks/index18.mjs +32 -0
- package/dist/vendor/schema-org-v2/chunks/index19.mjs +31 -0
- package/dist/vendor/schema-org-v2/chunks/index2.mjs +12 -0
- package/dist/vendor/schema-org-v2/chunks/index20.mjs +31 -0
- package/dist/vendor/schema-org-v2/chunks/index21.mjs +30 -0
- package/dist/vendor/schema-org-v2/chunks/index22.mjs +30 -0
- package/dist/vendor/schema-org-v2/chunks/index23.mjs +82 -0
- package/dist/vendor/schema-org-v2/chunks/index24.mjs +14 -0
- package/dist/vendor/schema-org-v2/chunks/index25.mjs +33 -0
- package/dist/vendor/schema-org-v2/chunks/index26.mjs +31 -0
- package/dist/vendor/schema-org-v2/chunks/index27.mjs +29 -0
- package/dist/vendor/schema-org-v2/chunks/index28.mjs +12 -0
- package/dist/vendor/schema-org-v2/chunks/index29.mjs +46 -0
- package/dist/vendor/schema-org-v2/chunks/index3.mjs +317 -0
- package/dist/vendor/schema-org-v2/chunks/index30.mjs +53 -0
- package/dist/vendor/schema-org-v2/chunks/index31.mjs +41 -0
- package/dist/vendor/schema-org-v2/chunks/index32.mjs +26 -0
- package/dist/vendor/schema-org-v2/chunks/index33.mjs +47 -0
- package/dist/vendor/schema-org-v2/chunks/index34.mjs +29 -0
- package/dist/vendor/schema-org-v2/chunks/index35.mjs +34 -0
- package/dist/vendor/schema-org-v2/chunks/index36.mjs +33 -0
- package/dist/vendor/schema-org-v2/chunks/index37.mjs +34 -0
- package/dist/vendor/schema-org-v2/chunks/index38.mjs +51 -0
- package/dist/vendor/schema-org-v2/chunks/index39.mjs +17 -0
- package/dist/vendor/schema-org-v2/chunks/index4.mjs +54 -0
- package/dist/vendor/schema-org-v2/chunks/index40.mjs +29 -0
- package/dist/vendor/schema-org-v2/chunks/index5.mjs +31 -0
- package/dist/vendor/schema-org-v2/chunks/index6.mjs +29 -0
- package/dist/vendor/schema-org-v2/chunks/index7.mjs +35 -0
- package/dist/vendor/schema-org-v2/chunks/index8.mjs +18 -0
- package/dist/vendor/schema-org-v2/chunks/index9.mjs +20 -0
- package/dist/vendor/schema-org-v2/index.d.mts +32 -0
- package/dist/vendor/schema-org-v2/index.d.ts +32 -0
- package/dist/vendor/schema-org-v2/index.mjs +46 -0
- package/dist/vendor/schema-org-v2/shared/schema-org.BR4WcSqZ.d.ts +21 -0
- package/dist/vendor/schema-org-v2/shared/schema-org.Ba7D0Hp1.mjs +19 -0
- package/dist/vendor/schema-org-v2/shared/schema-org.CAKsqzbX.d.ts +1022 -0
- package/dist/vendor/schema-org-v2/shared/schema-org.CFcsqFfN.d.mts +1824 -0
- package/dist/vendor/schema-org-v2/shared/schema-org.CFcsqFfN.d.ts +1824 -0
- package/dist/vendor/schema-org-v2/shared/schema-org.CHbRCiep.mjs +52 -0
- package/dist/vendor/schema-org-v2/shared/schema-org.Dryb3EoR.mjs +884 -0
- package/dist/vendor/schema-org-v2/shared/schema-org.F44ipjVJ.mjs +27 -0
- package/dist/vendor/schema-org-v2/shared/schema-org.UT1u1UYq.d.mts +1022 -0
- package/dist/vendor/schema-org-v2/shared/schema-org.oFHFm6my.d.mts +21 -0
- package/dist/vendor/schema-org-v2/vendor.json +4 -0
- package/dist/vendor/schema-org-v2/vue.d.mts +88 -0
- package/dist/vendor/schema-org-v2/vue.d.ts +88 -0
- package/dist/vendor/schema-org-v2/vue.mjs +262 -0
- package/dist/vendor/schema-org-v3/LICENSE +21 -0
- package/dist/vendor/schema-org-v3/index.d.mts +34 -0
- package/dist/vendor/schema-org-v3/index.d.ts +34 -0
- package/dist/vendor/schema-org-v3/index.mjs +4 -0
- package/dist/vendor/schema-org-v3/shared/schema-org.D9o9UOh2.d.mts +11 -0
- package/dist/vendor/schema-org-v3/shared/schema-org.DNQroCjX.d.mts +2770 -0
- package/dist/vendor/schema-org-v3/shared/schema-org.DNQroCjX.d.ts +2770 -0
- package/dist/vendor/schema-org-v3/shared/schema-org.DYFTMLZ0.mjs +2035 -0
- package/dist/vendor/schema-org-v3/shared/schema-org.DjDPlqPB.d.mts +150 -0
- package/dist/vendor/schema-org-v3/shared/schema-org.mKZYVZ3E.d.ts +150 -0
- package/dist/vendor/schema-org-v3/shared/schema-org.rS-TANmN.d.ts +11 -0
- package/dist/vendor/schema-org-v3/vendor.json +4 -0
- package/dist/vendor/schema-org-v3/vue.d.mts +100 -0
- package/dist/vendor/schema-org-v3/vue.d.ts +100 -0
- package/dist/vendor/schema-org-v3/vue.mjs +302 -0
- package/package.json +12 -12
- package/dist/devtools/200.html +0 -1
- package/dist/devtools/404.html +0 -1
- package/dist/devtools/_nuxt/B1DdtD2d.js +0 -30
- package/dist/devtools/_nuxt/BOpHBWj1.js +0 -1
- package/dist/devtools/_nuxt/BdQEHo9i.js +0 -1
- package/dist/devtools/_nuxt/BvDCh0XJ.js +0 -1
- package/dist/devtools/_nuxt/C6vgB62o.js +0 -1
- package/dist/devtools/_nuxt/CCjZBs6a.js +0 -3
- package/dist/devtools/_nuxt/CHHO6nw6.js +0 -1
- package/dist/devtools/_nuxt/CQr7N5ou.js +0 -6
- package/dist/devtools/_nuxt/CRABcd13.js +0 -1
- package/dist/devtools/_nuxt/Cy67RPmZ.js +0 -1
- package/dist/devtools/_nuxt/D-Oj-loM.js +0 -154
- package/dist/devtools/_nuxt/D6u4txBo.js +0 -1
- package/dist/devtools/_nuxt/DKZUJ--l.js +0 -1
- package/dist/devtools/_nuxt/DLXftbE1.js +0 -1
- package/dist/devtools/_nuxt/DevtoolsSnippet.CuW0O0Zu.css +0 -1
- package/dist/devtools/_nuxt/QcnxyHc5.js +0 -1
- package/dist/devtools/_nuxt/builds/latest.json +0 -1
- package/dist/devtools/_nuxt/builds/meta/95d63156-724e-4e59-80e5-16d5973219b2.json +0 -1
- package/dist/devtools/_nuxt/entry.DprwPCib.css +0 -2
- package/dist/devtools/_nuxt/fira-code.Bc8wnsZt.woff2 +0 -0
- package/dist/devtools/_nuxt/hubot-sans.DLGyhQVu.woff2 +0 -0
- package/dist/devtools/_nuxt/pages.BpqfEWCe.css +0 -1
- package/dist/devtools/debug/index.html +0 -1
- package/dist/devtools/docs/index.html +0 -1
- package/dist/devtools/index.html +0 -1
- package/dist/devtools/nodes/index.html +0 -1
- package/dist/devtools/raw/index.html +0 -1
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as unhead_types from 'unhead/types';
|
|
2
|
+
import { M as MetaInput } from './schema-org.CFcsqFfN.mjs';
|
|
3
|
+
|
|
4
|
+
interface PluginSchemaOrgOptions {
|
|
5
|
+
minify?: boolean;
|
|
6
|
+
trailingSlash?: boolean;
|
|
7
|
+
}
|
|
8
|
+
declare function UnheadSchemaOrg(options?: PluginSchemaOrgOptions): unhead_types.HeadPluginInput;
|
|
9
|
+
/**
|
|
10
|
+
* @deprecated Providing a plugin is no longer required. You can remove this code.
|
|
11
|
+
*/
|
|
12
|
+
declare function PluginSchemaOrg(options?: PluginSchemaOrgOptions & {
|
|
13
|
+
resolveMeta?: () => Record<string, any>;
|
|
14
|
+
}): unhead_types.HeadPluginInput;
|
|
15
|
+
/**
|
|
16
|
+
* @deprecated Providing a plugin is no longer required. You can remove this code.
|
|
17
|
+
*/
|
|
18
|
+
declare function SchemaOrgUnheadPlugin(config: MetaInput, meta: () => Partial<MetaInput> | Promise<Partial<MetaInput>>, options?: PluginSchemaOrgOptions): unhead_types.HeadPluginInput;
|
|
19
|
+
|
|
20
|
+
export { PluginSchemaOrg as P, SchemaOrgUnheadPlugin as S, UnheadSchemaOrg as U };
|
|
21
|
+
export type { PluginSchemaOrgOptions as a };
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
export { P as PluginSchemaOrg, S as SchemaOrgUnheadPlugin } from './shared/schema-org.oFHFm6my.mjs';
|
|
2
|
+
import { ComponentResolver } from 'unplugin-vue-components';
|
|
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
|
+
import { DeepResolvableProperties, UseHeadOptions } from '@unhead/vue';
|
|
7
|
+
import { ActiveHeadEntry } from 'unhead/types';
|
|
8
|
+
|
|
9
|
+
interface SchemaOrgResolverOptions {
|
|
10
|
+
/**
|
|
11
|
+
* prefix for headless ui components used in templates
|
|
12
|
+
*
|
|
13
|
+
* @default ""
|
|
14
|
+
*/
|
|
15
|
+
prefix?: string;
|
|
16
|
+
}
|
|
17
|
+
declare const schemaOrgAutoImports: {
|
|
18
|
+
from: string;
|
|
19
|
+
imports: string[];
|
|
20
|
+
}[];
|
|
21
|
+
declare const schemaOrgComponents: string[];
|
|
22
|
+
declare function SchemaOrgResolver(options?: SchemaOrgResolverOptions): ComponentResolver;
|
|
23
|
+
|
|
24
|
+
declare function defineSchemaOrgComponent(name: string, defineFn: (input: any) => any): ReturnType<typeof defineComponent>;
|
|
25
|
+
declare const SchemaOrgArticle: any;
|
|
26
|
+
declare const SchemaOrgBreadcrumb: any;
|
|
27
|
+
declare const SchemaOrgComment: any;
|
|
28
|
+
declare const SchemaOrgEvent: any;
|
|
29
|
+
declare const SchemaOrgFoodEstablishment: any;
|
|
30
|
+
declare const SchemaOrgHowTo: any;
|
|
31
|
+
declare const SchemaOrgImage: any;
|
|
32
|
+
declare const SchemaOrgJobPosting: any;
|
|
33
|
+
declare const SchemaOrgLocalBusiness: any;
|
|
34
|
+
declare const SchemaOrgOrganization: any;
|
|
35
|
+
declare const SchemaOrgPerson: any;
|
|
36
|
+
declare const SchemaOrgProduct: any;
|
|
37
|
+
declare const SchemaOrgQuestion: any;
|
|
38
|
+
declare const SchemaOrgRecipe: any;
|
|
39
|
+
declare const SchemaOrgReview: any;
|
|
40
|
+
declare const SchemaOrgVideo: any;
|
|
41
|
+
declare const SchemaOrgWebPage: any;
|
|
42
|
+
declare const SchemaOrgWebSite: any;
|
|
43
|
+
declare const SchemaOrgMovie: any;
|
|
44
|
+
declare const SchemaOrgCourse: any;
|
|
45
|
+
declare const SchemaOrgItemList: any;
|
|
46
|
+
declare const SchemaOrgBook: any;
|
|
47
|
+
declare const SchemaOrgSoftwareApp: any;
|
|
48
|
+
|
|
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
|
+
declare function useSchemaOrg(input?: UseSchemaOrgInput, options?: UseHeadOptions): ActiveHeadEntry<UseSchemaOrgInput>;
|
|
86
|
+
|
|
87
|
+
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 };
|
|
88
|
+
export type { SchemaOrgResolverOptions, UseSchemaOrgInput };
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
export { P as PluginSchemaOrg, S as SchemaOrgUnheadPlugin } from './shared/schema-org.BR4WcSqZ.js';
|
|
2
|
+
import { ComponentResolver } from 'unplugin-vue-components';
|
|
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
|
+
import { DeepResolvableProperties, UseHeadOptions } from '@unhead/vue';
|
|
7
|
+
import { ActiveHeadEntry } from 'unhead/types';
|
|
8
|
+
|
|
9
|
+
interface SchemaOrgResolverOptions {
|
|
10
|
+
/**
|
|
11
|
+
* prefix for headless ui components used in templates
|
|
12
|
+
*
|
|
13
|
+
* @default ""
|
|
14
|
+
*/
|
|
15
|
+
prefix?: string;
|
|
16
|
+
}
|
|
17
|
+
declare const schemaOrgAutoImports: {
|
|
18
|
+
from: string;
|
|
19
|
+
imports: string[];
|
|
20
|
+
}[];
|
|
21
|
+
declare const schemaOrgComponents: string[];
|
|
22
|
+
declare function SchemaOrgResolver(options?: SchemaOrgResolverOptions): ComponentResolver;
|
|
23
|
+
|
|
24
|
+
declare function defineSchemaOrgComponent(name: string, defineFn: (input: any) => any): ReturnType<typeof defineComponent>;
|
|
25
|
+
declare const SchemaOrgArticle: any;
|
|
26
|
+
declare const SchemaOrgBreadcrumb: any;
|
|
27
|
+
declare const SchemaOrgComment: any;
|
|
28
|
+
declare const SchemaOrgEvent: any;
|
|
29
|
+
declare const SchemaOrgFoodEstablishment: any;
|
|
30
|
+
declare const SchemaOrgHowTo: any;
|
|
31
|
+
declare const SchemaOrgImage: any;
|
|
32
|
+
declare const SchemaOrgJobPosting: any;
|
|
33
|
+
declare const SchemaOrgLocalBusiness: any;
|
|
34
|
+
declare const SchemaOrgOrganization: any;
|
|
35
|
+
declare const SchemaOrgPerson: any;
|
|
36
|
+
declare const SchemaOrgProduct: any;
|
|
37
|
+
declare const SchemaOrgQuestion: any;
|
|
38
|
+
declare const SchemaOrgRecipe: any;
|
|
39
|
+
declare const SchemaOrgReview: any;
|
|
40
|
+
declare const SchemaOrgVideo: any;
|
|
41
|
+
declare const SchemaOrgWebPage: any;
|
|
42
|
+
declare const SchemaOrgWebSite: any;
|
|
43
|
+
declare const SchemaOrgMovie: any;
|
|
44
|
+
declare const SchemaOrgCourse: any;
|
|
45
|
+
declare const SchemaOrgItemList: any;
|
|
46
|
+
declare const SchemaOrgBook: any;
|
|
47
|
+
declare const SchemaOrgSoftwareApp: any;
|
|
48
|
+
|
|
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
|
+
declare function useSchemaOrg(input?: UseSchemaOrgInput, options?: UseHeadOptions): ActiveHeadEntry<UseSchemaOrgInput>;
|
|
86
|
+
|
|
87
|
+
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 };
|
|
88
|
+
export type { SchemaOrgResolverOptions, UseSchemaOrgInput };
|
|
@@ -0,0 +1,262 @@
|
|
|
1
|
+
import { U as UnheadSchemaOrg, a3 as normalizeSchemaOrgInput } from './shared/schema-org.Dryb3EoR.mjs';
|
|
2
|
+
export { P as PluginSchemaOrg, S as SchemaOrgUnheadPlugin } from './shared/schema-org.Dryb3EoR.mjs';
|
|
3
|
+
import { s as schemaAutoImports } from './shared/schema-org.CHbRCiep.mjs';
|
|
4
|
+
import { defineComponent, ref, computed, unref, h, isRef } from 'vue';
|
|
5
|
+
import { injectHead, useHead } from '@unhead/vue';
|
|
6
|
+
import 'unhead/plugins';
|
|
7
|
+
import 'unhead/utils';
|
|
8
|
+
import 'ufo';
|
|
9
|
+
|
|
10
|
+
const schemaOrgAutoImports = [
|
|
11
|
+
{
|
|
12
|
+
from: "@unhead/schema-org/vue",
|
|
13
|
+
imports: schemaAutoImports
|
|
14
|
+
}
|
|
15
|
+
];
|
|
16
|
+
const schemaOrgComponents = [
|
|
17
|
+
"SchemaOrgArticle",
|
|
18
|
+
"SchemaOrgBreadcrumb",
|
|
19
|
+
"SchemaOrgComment",
|
|
20
|
+
"SchemaOrgEvent",
|
|
21
|
+
"SchemaOrgFoodEstablishment",
|
|
22
|
+
"SchemaOrgHowTo",
|
|
23
|
+
"SchemaOrgImage",
|
|
24
|
+
"SchemaOrgJobPosting",
|
|
25
|
+
"SchemaOrgLocalBusiness",
|
|
26
|
+
"SchemaOrgOrganization",
|
|
27
|
+
"SchemaOrgPerson",
|
|
28
|
+
"SchemaOrgProduct",
|
|
29
|
+
"SchemaOrgQuestion",
|
|
30
|
+
"SchemaOrgRecipe",
|
|
31
|
+
"SchemaOrgReview",
|
|
32
|
+
"SchemaOrgVideo",
|
|
33
|
+
"SchemaOrgWebPage",
|
|
34
|
+
"SchemaOrgWebSite",
|
|
35
|
+
"SchemaOrgMovie",
|
|
36
|
+
"SchemaOrgCourse",
|
|
37
|
+
"SchemaOrgItemList",
|
|
38
|
+
"SchemaOrgBook",
|
|
39
|
+
"SchemaOrgSoftwareApp"
|
|
40
|
+
];
|
|
41
|
+
function SchemaOrgResolver(options = {}) {
|
|
42
|
+
const { prefix = "" } = options;
|
|
43
|
+
return {
|
|
44
|
+
type: "component",
|
|
45
|
+
resolve: (name) => {
|
|
46
|
+
if (name.startsWith(prefix)) {
|
|
47
|
+
const componentName = name.substring(prefix.length);
|
|
48
|
+
if (schemaOrgComponents.includes(componentName)) {
|
|
49
|
+
return {
|
|
50
|
+
name: componentName,
|
|
51
|
+
from: "@unhead/schema-org/vue"
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
function shallowVNodesToText(nodes) {
|
|
60
|
+
let text = "";
|
|
61
|
+
for (const node of nodes) {
|
|
62
|
+
if (typeof node.children === "string")
|
|
63
|
+
text += node.children.trim();
|
|
64
|
+
}
|
|
65
|
+
return text;
|
|
66
|
+
}
|
|
67
|
+
function fixKey(s) {
|
|
68
|
+
let key = s.replace(/-./g, (x) => x[1].toUpperCase());
|
|
69
|
+
if (key === "type" || key === "id")
|
|
70
|
+
key = `@${key}`;
|
|
71
|
+
return key;
|
|
72
|
+
}
|
|
73
|
+
function ignoreKey(s) {
|
|
74
|
+
if (s.startsWith("aria-") || s.startsWith("data-"))
|
|
75
|
+
return false;
|
|
76
|
+
return s === "class" || s === "style";
|
|
77
|
+
}
|
|
78
|
+
function defineSchemaOrgComponent(name, defineFn) {
|
|
79
|
+
return defineComponent({
|
|
80
|
+
name,
|
|
81
|
+
props: {
|
|
82
|
+
as: String
|
|
83
|
+
},
|
|
84
|
+
setup(props, { slots, attrs }) {
|
|
85
|
+
const node = ref(null);
|
|
86
|
+
const nodePartial = computed(() => {
|
|
87
|
+
const val = {};
|
|
88
|
+
Object.entries(unref(attrs)).forEach(([key, value]) => {
|
|
89
|
+
if (!ignoreKey(key)) {
|
|
90
|
+
val[fixKey(key)] = unref(value);
|
|
91
|
+
}
|
|
92
|
+
});
|
|
93
|
+
if (!node.value) {
|
|
94
|
+
for (const [key, slot] of Object.entries(slots)) {
|
|
95
|
+
if (!slot || key === "default")
|
|
96
|
+
continue;
|
|
97
|
+
val[fixKey(key)] = shallowVNodesToText(slot(props));
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
return val;
|
|
101
|
+
});
|
|
102
|
+
if (defineFn) {
|
|
103
|
+
useSchemaOrg(defineFn(unref(nodePartial)));
|
|
104
|
+
}
|
|
105
|
+
return () => {
|
|
106
|
+
const data = unref(nodePartial);
|
|
107
|
+
if (!slots.default)
|
|
108
|
+
return null;
|
|
109
|
+
const childSlots = [];
|
|
110
|
+
if (slots.default)
|
|
111
|
+
childSlots.push(slots.default(data));
|
|
112
|
+
return h(props.as || "div", {}, childSlots);
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
});
|
|
116
|
+
}
|
|
117
|
+
const SchemaOrgArticle = /* @__PURE__ */ defineSchemaOrgComponent("SchemaOrgArticle", defineArticle);
|
|
118
|
+
const SchemaOrgBreadcrumb = /* @__PURE__ */ defineSchemaOrgComponent("SchemaOrgBreadcrumb", defineBreadcrumb);
|
|
119
|
+
const SchemaOrgComment = /* @__PURE__ */ defineSchemaOrgComponent("SchemaOrgComment", defineComment);
|
|
120
|
+
const SchemaOrgEvent = /* @__PURE__ */ defineSchemaOrgComponent("SchemaOrgEvent", defineEvent);
|
|
121
|
+
const SchemaOrgFoodEstablishment = /* @__PURE__ */ defineSchemaOrgComponent("SchemaOrgFoodEstablishment", defineFoodEstablishment);
|
|
122
|
+
const SchemaOrgHowTo = /* @__PURE__ */ defineSchemaOrgComponent("SchemaOrgHowTo", defineHowTo);
|
|
123
|
+
const SchemaOrgImage = /* @__PURE__ */ defineSchemaOrgComponent("SchemaOrgImage", defineImage);
|
|
124
|
+
const SchemaOrgJobPosting = /* @__PURE__ */ defineSchemaOrgComponent("SchemaOrgJobPosting", defineJobPosting);
|
|
125
|
+
const SchemaOrgLocalBusiness = /* @__PURE__ */ defineSchemaOrgComponent("SchemaOrgLocalBusiness", defineLocalBusiness);
|
|
126
|
+
const SchemaOrgOrganization = /* @__PURE__ */ defineSchemaOrgComponent("SchemaOrgOrganization", defineOrganization);
|
|
127
|
+
const SchemaOrgPerson = /* @__PURE__ */ defineSchemaOrgComponent("SchemaOrgPerson", definePerson);
|
|
128
|
+
const SchemaOrgProduct = /* @__PURE__ */ defineSchemaOrgComponent("SchemaOrgProduct", defineProduct);
|
|
129
|
+
const SchemaOrgQuestion = /* @__PURE__ */ defineSchemaOrgComponent("SchemaOrgQuestion", defineQuestion);
|
|
130
|
+
const SchemaOrgRecipe = /* @__PURE__ */ defineSchemaOrgComponent("SchemaOrgRecipe", defineRecipe);
|
|
131
|
+
const SchemaOrgReview = /* @__PURE__ */ defineSchemaOrgComponent("SchemaOrgReview", defineReview);
|
|
132
|
+
const SchemaOrgVideo = /* @__PURE__ */ defineSchemaOrgComponent("SchemaOrgVideo", defineVideo);
|
|
133
|
+
const SchemaOrgWebPage = /* @__PURE__ */ defineSchemaOrgComponent("SchemaOrgWebPage", defineWebPage);
|
|
134
|
+
const SchemaOrgWebSite = /* @__PURE__ */ defineSchemaOrgComponent("SchemaOrgWebSite", defineWebSite);
|
|
135
|
+
const SchemaOrgMovie = /* @__PURE__ */ defineSchemaOrgComponent("SchemaOrgMovie", defineMovie);
|
|
136
|
+
const SchemaOrgCourse = /* @__PURE__ */ defineSchemaOrgComponent("SchemaOrgCourse", defineCourse);
|
|
137
|
+
const SchemaOrgItemList = /* @__PURE__ */ defineSchemaOrgComponent("SchemaOrgItemList", defineItemList);
|
|
138
|
+
const SchemaOrgBook = /* @__PURE__ */ defineSchemaOrgComponent("SchemaOrgBook", defineBook);
|
|
139
|
+
const SchemaOrgSoftwareApp = /* @__PURE__ */ defineSchemaOrgComponent("SchemaOrgSoftwareApp", defineSoftwareApp);
|
|
140
|
+
|
|
141
|
+
function provideResolver(input, resolver) {
|
|
142
|
+
if (!input)
|
|
143
|
+
input = {};
|
|
144
|
+
const target = isRef(input) ? input.value : input;
|
|
145
|
+
target._resolver = resolver;
|
|
146
|
+
return input;
|
|
147
|
+
}
|
|
148
|
+
function defineAddress(input) {
|
|
149
|
+
return provideResolver(input, "address");
|
|
150
|
+
}
|
|
151
|
+
function defineAggregateOffer(input) {
|
|
152
|
+
return provideResolver(input, "aggregateOffer");
|
|
153
|
+
}
|
|
154
|
+
function defineAggregateRating(input) {
|
|
155
|
+
return provideResolver(input, "aggregateRating");
|
|
156
|
+
}
|
|
157
|
+
function defineArticle(input) {
|
|
158
|
+
return provideResolver(input, "article");
|
|
159
|
+
}
|
|
160
|
+
function defineBreadcrumb(input) {
|
|
161
|
+
return provideResolver(input, "breadcrumb");
|
|
162
|
+
}
|
|
163
|
+
function defineComment(input) {
|
|
164
|
+
return provideResolver(input, "comment");
|
|
165
|
+
}
|
|
166
|
+
function defineEvent(input) {
|
|
167
|
+
return provideResolver(input, "event");
|
|
168
|
+
}
|
|
169
|
+
function defineFoodEstablishment(input) {
|
|
170
|
+
return provideResolver(input, "foodEstablishment");
|
|
171
|
+
}
|
|
172
|
+
function defineVirtualLocation(input) {
|
|
173
|
+
return provideResolver(input, "virtualLocation");
|
|
174
|
+
}
|
|
175
|
+
function definePlace(input) {
|
|
176
|
+
return provideResolver(input, "place");
|
|
177
|
+
}
|
|
178
|
+
function defineHowTo(input) {
|
|
179
|
+
return provideResolver(input, "howTo");
|
|
180
|
+
}
|
|
181
|
+
function defineHowToStep(input) {
|
|
182
|
+
return provideResolver(input, "howToStep");
|
|
183
|
+
}
|
|
184
|
+
function defineImage(input) {
|
|
185
|
+
return provideResolver(input, "image");
|
|
186
|
+
}
|
|
187
|
+
function defineJobPosting(input) {
|
|
188
|
+
return provideResolver(input, "jobPosting");
|
|
189
|
+
}
|
|
190
|
+
function defineLocalBusiness(input) {
|
|
191
|
+
return provideResolver(input, "localBusiness");
|
|
192
|
+
}
|
|
193
|
+
function defineOffer(input) {
|
|
194
|
+
return provideResolver(input, "offer");
|
|
195
|
+
}
|
|
196
|
+
function defineOpeningHours(input) {
|
|
197
|
+
return provideResolver(input, "openingHours");
|
|
198
|
+
}
|
|
199
|
+
function defineOrganization(input) {
|
|
200
|
+
return provideResolver(input, "organization");
|
|
201
|
+
}
|
|
202
|
+
function definePerson(input) {
|
|
203
|
+
return provideResolver(input, "person");
|
|
204
|
+
}
|
|
205
|
+
function defineProduct(input) {
|
|
206
|
+
return provideResolver(input, "product");
|
|
207
|
+
}
|
|
208
|
+
function defineQuestion(input) {
|
|
209
|
+
return provideResolver(input, "question");
|
|
210
|
+
}
|
|
211
|
+
function defineRecipe(input) {
|
|
212
|
+
return provideResolver(input, "recipe");
|
|
213
|
+
}
|
|
214
|
+
function defineReview(input) {
|
|
215
|
+
return provideResolver(input, "review");
|
|
216
|
+
}
|
|
217
|
+
function defineVideo(input) {
|
|
218
|
+
return provideResolver(input, "video");
|
|
219
|
+
}
|
|
220
|
+
function defineWebPage(input) {
|
|
221
|
+
return provideResolver(input, "webPage");
|
|
222
|
+
}
|
|
223
|
+
function defineWebSite(input) {
|
|
224
|
+
return provideResolver(input, "webSite");
|
|
225
|
+
}
|
|
226
|
+
function defineBook(input) {
|
|
227
|
+
return provideResolver(input, "book");
|
|
228
|
+
}
|
|
229
|
+
function defineCourse(input) {
|
|
230
|
+
return provideResolver(input, "course");
|
|
231
|
+
}
|
|
232
|
+
function defineItemList(input) {
|
|
233
|
+
return provideResolver(input, "itemList");
|
|
234
|
+
}
|
|
235
|
+
function defineListItem(input) {
|
|
236
|
+
return provideResolver(input, "listItem");
|
|
237
|
+
}
|
|
238
|
+
function defineMovie(input) {
|
|
239
|
+
return provideResolver(input, "movie");
|
|
240
|
+
}
|
|
241
|
+
function defineSearchAction(input) {
|
|
242
|
+
return provideResolver(input, "searchAction");
|
|
243
|
+
}
|
|
244
|
+
function defineReadAction(input) {
|
|
245
|
+
return provideResolver(input, "readAction");
|
|
246
|
+
}
|
|
247
|
+
function defineSoftwareApp(input) {
|
|
248
|
+
return provideResolver(input, "softwareApp");
|
|
249
|
+
}
|
|
250
|
+
function defineBookEdition(input) {
|
|
251
|
+
return provideResolver(input, "bookEdition");
|
|
252
|
+
}
|
|
253
|
+
function useSchemaOrg(input = [], options = {}) {
|
|
254
|
+
const unhead = options.head || injectHead();
|
|
255
|
+
unhead.use(UnheadSchemaOrg());
|
|
256
|
+
const entry = useHead(normalizeSchemaOrgInput(input), options);
|
|
257
|
+
const corePatch = entry.patch;
|
|
258
|
+
entry.patch = (input2) => corePatch(normalizeSchemaOrgInput(input2));
|
|
259
|
+
return entry;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
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 };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) Harlan Wilton <harlan@harlanzw.com>
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { b1 as Thing, aO as SchemaOrgNodeDefinition, S as MetaInput, aJ as ResolvedMeta, aM as SchemaOrgGraph, d as Arrayable } from './shared/schema-org.DNQroCjX.mjs';
|
|
2
|
+
export { A as AggregateOffer, a as AggregateOfferSimple, b as AggregateRating, c as AggregateRatingSimple, e as Article, f as ArticleSimple, B as Book, g as BookEdition, h as BookEditionSimple, i as BookSimple, j as BreadcrumbList, k as BreadcrumbSimple, C as Comment, l as CommentSimple, m as Course, n as CourseSimple, D as DataCatalog, o as DataDownload, p as Dataset, q as DatasetSimple, E as Event, r as EventSimple, F as FoodEstablishment, s as FoodEstablishmentSimple, H as HowTo, t as HowToDirection, u as HowToId, v as HowToSimple, w as HowToStep, x as HowToStepSimple, I as Id, y as IdReference, z as Identity, G as ImageObject, J as ImageSimple, K as ItemList, L as ItemListSimple, M as JobPosting, N as JobPostingSimple, O as ListItem, P as ListItemSimple, Q as LocalBusiness, R as LocalBusinessSimple, T as Movie, U as MovieSimple, V as MusicAlbum, W as MusicAlbumSimple, X as MusicGroup, Y as MusicGroupSimple, Z as MusicPlaylist, _ as MusicPlaylistSimple, $ as MusicRecording, a0 as MusicRecordingSimple, a1 as NodeRelation, a2 as NodeRelations, a3 as NutritionInformation, a4 as Offer, a5 as OfferSimple, a6 as OpeningHoursSimple, a7 as OpeningHoursSpecification, a8 as OptionalSchemaOrgPrefix, a9 as Organization, aa as OrganizationSimple, ab as Person, ac as PersonSimple, ad as Place, ae as PlaceSimple, af as PodcastEpisode, ag as PodcastEpisodeSimple, ah as PodcastSeason, ai as PodcastSeasonSimple, aj as PodcastSeries, ak as PodcastSeriesSimple, al as PostalAddress, am as PostalAddressName, an as PostalAddressSimple, ao as PostalAddressStrict, ap as PrimaryArticleId, aq as PrimaryBookId, ar as PrimaryBreadcrumbId, as as PrimaryDatasetId, at as PrimaryEventId, au as PrimaryWebPageId, av as PrimaryWebSiteId, aw as Product, ax as ProductId, ay as ProductSimple, az as Question, aA as QuestionSimple, aB as Rating, aC as RatingSimple, aD as ReadAction, aE as ReadActionInput, aF as Recipe, aG as RecipeId, aH as RecipeSimple, aI as ResolvableDate, aK as Review, aL as ReviewSimple, aN as SchemaOrgNode, aP as SearchAction, aQ as SearchActionInput, aR as Service, aS as ServiceChannel, aT as ServiceId, aU as ServiceSimple, aV as SoftwareApp, aW as SoftwareAppSimple, aX as TVEpisode, aY as TVEpisodeSimple, aZ as TVSeason, a_ as TVSeasonSimple, a$ as TVSeries, b0 as TVSeriesSimple, b2 as UserConfig, b3 as VideoObject, b4 as VideoSimple, b5 as VirtualLocation, b6 as VirtualLocationSimple, b7 as WebPage, b8 as WebPageSimple, b9 as WebSite, ba as WebSiteSimple, bb as WithResolver, bc as addressResolver, bd as aggregateOfferResolver, be as aggregateRatingResolver, bf as articleResolver, bg as bookEditionResolver, bh as bookResolver, bi as breadcrumbResolver, bj as commentResolver, bk as courseResolver, bl as createSchemaOrgGraph, bm as datasetResolver, bn as eventResolver, bo as foodEstablishmentResolver, bp as howToResolver, bq as howToStepDirectionResolver, br as howToStepResolver, bs as imageResolver, bt as itemListResolver, bu as jobPostingResolver, bv as listItemResolver, bw as localBusinessResolver, bx as movieResolver, by as musicAlbumResolver, bz as musicGroupResolver, bA as musicPlaylistResolver, bB as musicRecordingResolver, bC as offerResolver, bD as openingHoursResolver, bE as organizationResolver, bF as personResolver, bG as placeResolver, bH as podcastEpisodeResolver, bI as podcastSeasonResolver, bJ as podcastSeriesResolver, bK as productResolver, bL as questionResolver, bM as ratingResolver, bN as readActionResolver, bO as recipeResolver, bP as reviewResolver, bQ as searchActionResolver, bR as serviceResolver, bS as softwareAppResolver, bT as tvEpisodeResolver, bU as tvSeasonResolver, bV as tvSeriesResolver, bW as videoResolver, bX as virtualLocationResolver, bY as webPageResolver, bZ as webSiteResolver } from './shared/schema-org.DNQroCjX.mjs';
|
|
3
|
+
export { P as PluginSchemaOrgOptions, U as UnheadSchemaOrg } from './shared/schema-org.D9o9UOh2.mjs';
|
|
4
|
+
export { U as UseSchemaOrgInput, d as defineAddress, a as defineAggregateOffer, b as defineAggregateRating, c as defineArticle, e as defineBook, f as defineBookEdition, g as defineBreadcrumb, h as defineComment, i as defineCourse, j as defineDataset, k as defineEvent, l as defineFoodEstablishment, m as defineHowTo, n as defineHowToStep, o as defineImage, p as defineItemList, q as defineJobPosting, r as defineListItem, s as defineLocalBusiness, t as defineMovie, u as defineMusicAlbum, v as defineMusicGroup, w as defineMusicPlaylist, x as defineMusicRecording, y as defineOffer, z as defineOpeningHours, A as defineOrganization, B as definePerson, C as definePlace, D as definePodcastEpisode, E as definePodcastSeason, F as definePodcastSeries, G as defineProduct, H as defineQuestion, I as defineReadAction, J as defineRecipe, K as defineReview, L as defineSearchAction, M as defineService, N as defineSoftwareApp, O as defineTVEpisode, P as defineTVSeason, Q as defineTVSeries, R as defineVideo, S as defineVirtualLocation, T as defineWebPage, V as defineWebSite, W as normalizeSchemaOrgInput, X as useSchemaOrg } from './shared/schema-org.DjDPlqPB.mjs';
|
|
5
|
+
import 'unhead/types';
|
|
6
|
+
|
|
7
|
+
declare function defineSchemaOrgResolver<T extends Thing>(schema: SchemaOrgNodeDefinition<T>): SchemaOrgNodeDefinition<T>;
|
|
8
|
+
|
|
9
|
+
interface ResolverOptions {
|
|
10
|
+
/**
|
|
11
|
+
* Return single images as an object.
|
|
12
|
+
*/
|
|
13
|
+
array?: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Move added nodes to the root graph.
|
|
16
|
+
*/
|
|
17
|
+
root?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Generates ids for nodes.
|
|
20
|
+
*/
|
|
21
|
+
generateId?: boolean;
|
|
22
|
+
afterResolve?: (node: any) => void;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
declare function resolveMeta(meta: Partial<MetaInput>): ResolvedMeta;
|
|
26
|
+
declare function resolveNode<T extends Thing>(node: T, ctx: SchemaOrgGraph, resolver?: SchemaOrgNodeDefinition<T>): T;
|
|
27
|
+
declare function resolveNodeId<T extends Thing>(node: T, ctx: SchemaOrgGraph, resolver?: SchemaOrgNodeDefinition<T>, resolveAsRoot?: boolean): T;
|
|
28
|
+
declare function resolveRelation(input: Arrayable<any>, ctx: SchemaOrgGraph, fallbackResolver?: SchemaOrgNodeDefinition<any>, options?: ResolverOptions): any;
|
|
29
|
+
|
|
30
|
+
declare function merge(target: any, source: any): any;
|
|
31
|
+
|
|
32
|
+
declare const schemaAutoImports: string[];
|
|
33
|
+
|
|
34
|
+
export { Arrayable, MetaInput, ResolvedMeta, SchemaOrgGraph, SchemaOrgNodeDefinition, Thing, defineSchemaOrgResolver, merge, resolveMeta, resolveNode, resolveNodeId, resolveRelation, schemaAutoImports };
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { b1 as Thing, aO as SchemaOrgNodeDefinition, S as MetaInput, aJ as ResolvedMeta, aM as SchemaOrgGraph, d as Arrayable } from './shared/schema-org.DNQroCjX.js';
|
|
2
|
+
export { A as AggregateOffer, a as AggregateOfferSimple, b as AggregateRating, c as AggregateRatingSimple, e as Article, f as ArticleSimple, B as Book, g as BookEdition, h as BookEditionSimple, i as BookSimple, j as BreadcrumbList, k as BreadcrumbSimple, C as Comment, l as CommentSimple, m as Course, n as CourseSimple, D as DataCatalog, o as DataDownload, p as Dataset, q as DatasetSimple, E as Event, r as EventSimple, F as FoodEstablishment, s as FoodEstablishmentSimple, H as HowTo, t as HowToDirection, u as HowToId, v as HowToSimple, w as HowToStep, x as HowToStepSimple, I as Id, y as IdReference, z as Identity, G as ImageObject, J as ImageSimple, K as ItemList, L as ItemListSimple, M as JobPosting, N as JobPostingSimple, O as ListItem, P as ListItemSimple, Q as LocalBusiness, R as LocalBusinessSimple, T as Movie, U as MovieSimple, V as MusicAlbum, W as MusicAlbumSimple, X as MusicGroup, Y as MusicGroupSimple, Z as MusicPlaylist, _ as MusicPlaylistSimple, $ as MusicRecording, a0 as MusicRecordingSimple, a1 as NodeRelation, a2 as NodeRelations, a3 as NutritionInformation, a4 as Offer, a5 as OfferSimple, a6 as OpeningHoursSimple, a7 as OpeningHoursSpecification, a8 as OptionalSchemaOrgPrefix, a9 as Organization, aa as OrganizationSimple, ab as Person, ac as PersonSimple, ad as Place, ae as PlaceSimple, af as PodcastEpisode, ag as PodcastEpisodeSimple, ah as PodcastSeason, ai as PodcastSeasonSimple, aj as PodcastSeries, ak as PodcastSeriesSimple, al as PostalAddress, am as PostalAddressName, an as PostalAddressSimple, ao as PostalAddressStrict, ap as PrimaryArticleId, aq as PrimaryBookId, ar as PrimaryBreadcrumbId, as as PrimaryDatasetId, at as PrimaryEventId, au as PrimaryWebPageId, av as PrimaryWebSiteId, aw as Product, ax as ProductId, ay as ProductSimple, az as Question, aA as QuestionSimple, aB as Rating, aC as RatingSimple, aD as ReadAction, aE as ReadActionInput, aF as Recipe, aG as RecipeId, aH as RecipeSimple, aI as ResolvableDate, aK as Review, aL as ReviewSimple, aN as SchemaOrgNode, aP as SearchAction, aQ as SearchActionInput, aR as Service, aS as ServiceChannel, aT as ServiceId, aU as ServiceSimple, aV as SoftwareApp, aW as SoftwareAppSimple, aX as TVEpisode, aY as TVEpisodeSimple, aZ as TVSeason, a_ as TVSeasonSimple, a$ as TVSeries, b0 as TVSeriesSimple, b2 as UserConfig, b3 as VideoObject, b4 as VideoSimple, b5 as VirtualLocation, b6 as VirtualLocationSimple, b7 as WebPage, b8 as WebPageSimple, b9 as WebSite, ba as WebSiteSimple, bb as WithResolver, bc as addressResolver, bd as aggregateOfferResolver, be as aggregateRatingResolver, bf as articleResolver, bg as bookEditionResolver, bh as bookResolver, bi as breadcrumbResolver, bj as commentResolver, bk as courseResolver, bl as createSchemaOrgGraph, bm as datasetResolver, bn as eventResolver, bo as foodEstablishmentResolver, bp as howToResolver, bq as howToStepDirectionResolver, br as howToStepResolver, bs as imageResolver, bt as itemListResolver, bu as jobPostingResolver, bv as listItemResolver, bw as localBusinessResolver, bx as movieResolver, by as musicAlbumResolver, bz as musicGroupResolver, bA as musicPlaylistResolver, bB as musicRecordingResolver, bC as offerResolver, bD as openingHoursResolver, bE as organizationResolver, bF as personResolver, bG as placeResolver, bH as podcastEpisodeResolver, bI as podcastSeasonResolver, bJ as podcastSeriesResolver, bK as productResolver, bL as questionResolver, bM as ratingResolver, bN as readActionResolver, bO as recipeResolver, bP as reviewResolver, bQ as searchActionResolver, bR as serviceResolver, bS as softwareAppResolver, bT as tvEpisodeResolver, bU as tvSeasonResolver, bV as tvSeriesResolver, bW as videoResolver, bX as virtualLocationResolver, bY as webPageResolver, bZ as webSiteResolver } from './shared/schema-org.DNQroCjX.js';
|
|
3
|
+
export { P as PluginSchemaOrgOptions, U as UnheadSchemaOrg } from './shared/schema-org.rS-TANmN.js';
|
|
4
|
+
export { U as UseSchemaOrgInput, d as defineAddress, a as defineAggregateOffer, b as defineAggregateRating, c as defineArticle, e as defineBook, f as defineBookEdition, g as defineBreadcrumb, h as defineComment, i as defineCourse, j as defineDataset, k as defineEvent, l as defineFoodEstablishment, m as defineHowTo, n as defineHowToStep, o as defineImage, p as defineItemList, q as defineJobPosting, r as defineListItem, s as defineLocalBusiness, t as defineMovie, u as defineMusicAlbum, v as defineMusicGroup, w as defineMusicPlaylist, x as defineMusicRecording, y as defineOffer, z as defineOpeningHours, A as defineOrganization, B as definePerson, C as definePlace, D as definePodcastEpisode, E as definePodcastSeason, F as definePodcastSeries, G as defineProduct, H as defineQuestion, I as defineReadAction, J as defineRecipe, K as defineReview, L as defineSearchAction, M as defineService, N as defineSoftwareApp, O as defineTVEpisode, P as defineTVSeason, Q as defineTVSeries, R as defineVideo, S as defineVirtualLocation, T as defineWebPage, V as defineWebSite, W as normalizeSchemaOrgInput, X as useSchemaOrg } from './shared/schema-org.mKZYVZ3E.js';
|
|
5
|
+
import 'unhead/types';
|
|
6
|
+
|
|
7
|
+
declare function defineSchemaOrgResolver<T extends Thing>(schema: SchemaOrgNodeDefinition<T>): SchemaOrgNodeDefinition<T>;
|
|
8
|
+
|
|
9
|
+
interface ResolverOptions {
|
|
10
|
+
/**
|
|
11
|
+
* Return single images as an object.
|
|
12
|
+
*/
|
|
13
|
+
array?: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Move added nodes to the root graph.
|
|
16
|
+
*/
|
|
17
|
+
root?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Generates ids for nodes.
|
|
20
|
+
*/
|
|
21
|
+
generateId?: boolean;
|
|
22
|
+
afterResolve?: (node: any) => void;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
declare function resolveMeta(meta: Partial<MetaInput>): ResolvedMeta;
|
|
26
|
+
declare function resolveNode<T extends Thing>(node: T, ctx: SchemaOrgGraph, resolver?: SchemaOrgNodeDefinition<T>): T;
|
|
27
|
+
declare function resolveNodeId<T extends Thing>(node: T, ctx: SchemaOrgGraph, resolver?: SchemaOrgNodeDefinition<T>, resolveAsRoot?: boolean): T;
|
|
28
|
+
declare function resolveRelation(input: Arrayable<any>, ctx: SchemaOrgGraph, fallbackResolver?: SchemaOrgNodeDefinition<any>, options?: ResolverOptions): any;
|
|
29
|
+
|
|
30
|
+
declare function merge(target: any, source: any): any;
|
|
31
|
+
|
|
32
|
+
declare const schemaAutoImports: string[];
|
|
33
|
+
|
|
34
|
+
export { Arrayable, MetaInput, ResolvedMeta, SchemaOrgGraph, SchemaOrgNodeDefinition, Thing, defineSchemaOrgResolver, merge, resolveMeta, resolveNode, resolveNodeId, resolveRelation, schemaAutoImports };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { H as HowToId, P as PrimaryArticleId, a as PrimaryBookId, b as PrimaryBreadcrumbId, c as PrimaryDatasetId, d as PrimaryEventId, e as PrimaryWebPageId, f as PrimaryWebSiteId, g as ProductId, R as RecipeId, S as ServiceId, U as UnheadSchemaOrg, h as addressResolver, i as aggregateOfferResolver, j as aggregateRatingResolver, k as articleResolver, l as bookEditionResolver, m as bookResolver, n as breadcrumbResolver, o as commentResolver, p as courseResolver, q as createSchemaOrgGraph, r as datasetResolver, s as defineAddress, t as defineAggregateOffer, u as defineAggregateRating, v as defineArticle, w as defineBook, x as defineBookEdition, y as defineBreadcrumb, z as defineComment, A as defineCourse, B as defineDataset, C as defineEvent, D as defineFoodEstablishment, E as defineHowTo, F as defineHowToStep, G as defineImage, I as defineItemList, J as defineJobPosting, K as defineListItem, L as defineLocalBusiness, M as defineMovie, N as defineMusicAlbum, O as defineMusicGroup, Q as defineMusicPlaylist, T as defineMusicRecording, V as defineOffer, W as defineOpeningHours, X as defineOrganization, Y as definePerson, Z as definePlace, _ as definePodcastEpisode, $ as definePodcastSeason, a0 as definePodcastSeries, a1 as defineProduct, a2 as defineQuestion, a3 as defineReadAction, a4 as defineRecipe, a5 as defineReview, a6 as defineSchemaOrgResolver, a7 as defineSearchAction, a8 as defineService, a9 as defineSoftwareApp, aa as defineTVEpisode, ab as defineTVSeason, ac as defineTVSeries, ad as defineVideo, ae as defineVirtualLocation, af as defineWebPage, ag as defineWebSite, ah as eventResolver, ai as foodEstablishmentResolver, aj as howToResolver, ak as howToStepDirectionResolver, al as howToStepResolver, am as imageResolver, an as itemListResolver, ao as jobPostingResolver, ap as listItemResolver, aq as localBusinessResolver, ar as merge, as as movieResolver, at as musicAlbumResolver, au as musicGroupResolver, av as musicPlaylistResolver, aw as musicRecordingResolver, ax as normalizeSchemaOrgInput, ay as offerResolver, az as openingHoursResolver, aA as organizationResolver, aB as personResolver, aC as placeResolver, aD as podcastEpisodeResolver, aE as podcastSeasonResolver, aF as podcastSeriesResolver, aG as productResolver, aH as questionResolver, aI as ratingResolver, aJ as readActionResolver, aK as recipeResolver, aL as resolveMeta, aM as resolveNode, aN as resolveNodeId, aO as resolveRelation, aP as reviewResolver, aQ as schemaAutoImports, aR as searchActionResolver, aS as serviceResolver, aT as softwareAppResolver, aU as tvEpisodeResolver, aV as tvSeasonResolver, aW as tvSeriesResolver, aX as useSchemaOrg, aY as videoResolver, aZ as virtualLocationResolver, a_ as webPageResolver, a$ as webSiteResolver } from './shared/schema-org.DYFTMLZ0.mjs';
|
|
2
|
+
import 'ufo';
|
|
3
|
+
import 'unhead/plugins';
|
|
4
|
+
import 'unhead/utils';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as unhead_types from 'unhead/types';
|
|
2
|
+
import { S as MetaInput } from './schema-org.DNQroCjX.mjs';
|
|
3
|
+
|
|
4
|
+
interface PluginSchemaOrgOptions {
|
|
5
|
+
minify?: boolean;
|
|
6
|
+
trailingSlash?: boolean;
|
|
7
|
+
}
|
|
8
|
+
declare function UnheadSchemaOrg(config?: MetaInput, meta?: () => Partial<MetaInput> | Promise<Partial<MetaInput>>, options?: PluginSchemaOrgOptions): unhead_types.HeadPluginInput;
|
|
9
|
+
|
|
10
|
+
export { UnheadSchemaOrg as U };
|
|
11
|
+
export type { PluginSchemaOrgOptions as P };
|