UNPKG

@unhead/schema-org

Version:

Unhead Schema.org for Simple and Automated Google Rich Results

101 lines (96 loc) 9.9 kB
export { U as UnheadSchemaOrg } from './shared/schema-org.D9o9UOh2.mjs'; import { ComponentResolver } from 'unplugin-vue-components'; import { defineComponent } from 'vue'; import { DeepResolvableProperties, UseHeadOptions } from '@unhead/vue'; import { ActiveHeadEntry } from 'unhead/types'; import { d as Arrayable, b1 as Thing, al as PostalAddress, A as AggregateOffer, b as AggregateRating, e as Article, B as Book, g as BookEdition, j as BreadcrumbList, C as Comment, m as Course, p as Dataset, E as Event, F as FoodEstablishment, H as HowTo, w as HowToStep, G as ImageObject, K as ItemList, M as JobPosting, O as ListItem, Q as LocalBusiness, T as Movie, V as MusicAlbum, X as MusicGroup, Z as MusicPlaylist, $ as MusicRecording, a4 as Offer, a7 as OpeningHoursSpecification, a9 as Organization, ab as Person, ad as Place, af as PodcastEpisode, ah as PodcastSeason, aj as PodcastSeries, aw as Product, az as Question, aD as ReadAction, aF as Recipe, aK as Review, aP as SearchAction, aR as Service, aV as SoftwareApp, aX as TVEpisode, aZ as TVSeason, a$ as TVSeries, b3 as VideoObject, b5 as VirtualLocation, b7 as WebPage, b9 as WebSite } from './shared/schema-org.DNQroCjX.mjs'; export { S as MetaInput, b2 as UserConfig } from './shared/schema-org.DNQroCjX.mjs'; interface SchemaOrgResolverOptions { /** * prefix for headless ui components used in templates * * @default "" */ prefix?: string; } declare const schemaOrgAutoImports: { from: string; imports: string[]; }[]; declare const schemaOrgComponents: string[]; declare function SchemaOrgResolver(options?: SchemaOrgResolverOptions): ComponentResolver; declare function defineSchemaOrgComponent(name: string, defineFn: (input: any) => any): ReturnType<typeof defineComponent>; declare const SchemaOrgArticle: any; declare const SchemaOrgBreadcrumb: any; declare const SchemaOrgComment: any; declare const SchemaOrgEvent: any; declare const SchemaOrgFoodEstablishment: any; declare const SchemaOrgHowTo: any; declare const SchemaOrgImage: any; declare const SchemaOrgJobPosting: any; declare const SchemaOrgLocalBusiness: any; declare const SchemaOrgOrganization: any; declare const SchemaOrgPerson: any; declare const SchemaOrgProduct: any; declare const SchemaOrgQuestion: any; declare const SchemaOrgRecipe: any; declare const SchemaOrgReview: any; declare const SchemaOrgVideo: any; declare const SchemaOrgWebPage: any; declare const SchemaOrgWebSite: any; declare const SchemaOrgMovie: any; declare const SchemaOrgCourse: any; declare const SchemaOrgItemList: any; declare const SchemaOrgBook: any; declare const SchemaOrgSoftwareApp: any; declare function defineAddress<T extends Record<string, any>>(input?: DeepResolvableProperties<PostalAddress & T>): any; declare function defineAggregateOffer<T extends Record<string, any>>(input?: DeepResolvableProperties<AggregateOffer & T>): any; declare function defineAggregateRating<T extends Record<string, any>>(input?: DeepResolvableProperties<AggregateRating & T>): any; declare function defineArticle<T extends Record<string, any>>(input?: DeepResolvableProperties<Article & T>): any; declare function defineBreadcrumb<T extends Record<string, any>>(input?: DeepResolvableProperties<BreadcrumbList & T>): any; declare function defineComment<T extends Record<string, any>>(input?: DeepResolvableProperties<Comment & T>): any; declare function defineEvent<T extends Record<string, any>>(input?: DeepResolvableProperties<Event & T>): any; declare function defineFoodEstablishment<T extends Record<string, any>>(input?: DeepResolvableProperties<FoodEstablishment & T>): any; declare function defineVirtualLocation<T extends Record<string, any>>(input?: DeepResolvableProperties<VirtualLocation & T>): any; declare function definePlace<T extends Record<string, any>>(input?: DeepResolvableProperties<Place & T>): any; declare function defineHowTo<T extends Record<string, any>>(input?: DeepResolvableProperties<HowTo & T>): any; declare function defineHowToStep<T extends Record<string, any>>(input?: DeepResolvableProperties<HowToStep & T>): any; declare function defineImage<T extends Record<string, any>>(input?: DeepResolvableProperties<ImageObject & T>): any; declare function defineJobPosting<T extends Record<string, any>>(input?: DeepResolvableProperties<JobPosting & T>): any; declare function defineLocalBusiness<T extends Record<string, any>>(input?: DeepResolvableProperties<LocalBusiness & T>): any; declare function defineOffer<T extends Record<string, any>>(input?: DeepResolvableProperties<Offer & T>): any; declare function defineOpeningHours<T extends Record<string, any>>(input?: DeepResolvableProperties<OpeningHoursSpecification & T>): any; declare function defineOrganization<T extends Record<string, any>>(input?: DeepResolvableProperties<Organization & T>): any; declare function definePerson<T extends Record<string, any>>(input?: DeepResolvableProperties<Person & T>): any; declare function defineProduct<T extends Record<string, any>>(input?: DeepResolvableProperties<Product & T>): any; declare function defineQuestion<T extends Record<string, any>>(input?: DeepResolvableProperties<Question & T>): any; declare function defineRecipe<T extends Record<string, any>>(input?: DeepResolvableProperties<Recipe & T>): any; declare function defineReview<T extends Record<string, any>>(input?: DeepResolvableProperties<Review & T>): any; declare function defineVideo<T extends Record<string, any>>(input?: DeepResolvableProperties<VideoObject & T>): any; declare function defineWebPage<T extends Record<string, any>>(input?: DeepResolvableProperties<WebPage & T>): any; declare function defineWebSite<T extends Record<string, any>>(input?: DeepResolvableProperties<WebSite & T>): any; declare function defineBook<T extends Record<string, any>>(input?: DeepResolvableProperties<Book & T>): any; declare function defineCourse<T extends Record<string, any>>(input?: DeepResolvableProperties<Course & T>): any; declare function defineItemList<T extends Record<string, any>>(input?: DeepResolvableProperties<ItemList & T>): any; declare function defineListItem<T extends Record<string, any>>(input?: DeepResolvableProperties<ListItem & T>): any; declare function defineMovie<T extends Record<string, any>>(input?: DeepResolvableProperties<Movie & T>): any; declare function defineSearchAction<T extends Record<string, any>>(input?: DeepResolvableProperties<SearchAction & T>): any; declare function defineReadAction<T extends Record<string, any>>(input?: DeepResolvableProperties<ReadAction & T>): any; declare function defineSoftwareApp<T extends Record<string, any>>(input?: DeepResolvableProperties<SoftwareApp & T>): any; declare function defineBookEdition<T extends Record<string, any>>(input?: DeepResolvableProperties<BookEdition & T>): any; declare function defineDataset<T extends Record<string, any>>(input?: DeepResolvableProperties<Dataset & T>): any; declare function defineMusicRecording<T extends Record<string, any>>(input?: DeepResolvableProperties<MusicRecording & T>): any; declare function defineMusicAlbum<T extends Record<string, any>>(input?: DeepResolvableProperties<MusicAlbum & T>): any; declare function defineMusicGroup<T extends Record<string, any>>(input?: DeepResolvableProperties<MusicGroup & T>): any; declare function defineMusicPlaylist<T extends Record<string, any>>(input?: DeepResolvableProperties<MusicPlaylist & T>): any; declare function definePodcastSeries<T extends Record<string, any>>(input?: DeepResolvableProperties<PodcastSeries & T>): any; declare function definePodcastEpisode<T extends Record<string, any>>(input?: DeepResolvableProperties<PodcastEpisode & T>): any; declare function definePodcastSeason<T extends Record<string, any>>(input?: DeepResolvableProperties<PodcastSeason & T>): any; declare function defineTVSeries<T extends Record<string, any>>(input?: DeepResolvableProperties<TVSeries & T>): any; declare function defineTVSeason<T extends Record<string, any>>(input?: DeepResolvableProperties<TVSeason & T>): any; declare function defineTVEpisode<T extends Record<string, any>>(input?: DeepResolvableProperties<TVEpisode & T>): any; declare function defineService<T extends Record<string, any>>(input?: DeepResolvableProperties<Service & T>): any; type UseSchemaOrgInput = Arrayable<DeepResolvableProperties<Thing | Record<string, any>>>; declare function useSchemaOrg(input?: UseSchemaOrgInput, options?: UseHeadOptions): ActiveHeadEntry<UseSchemaOrgInput>; 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, defineDataset, defineEvent, defineFoodEstablishment, defineHowTo, defineHowToStep, defineImage, defineItemList, defineJobPosting, defineListItem, defineLocalBusiness, defineMovie, defineMusicAlbum, defineMusicGroup, defineMusicPlaylist, defineMusicRecording, defineOffer, defineOpeningHours, defineOrganization, definePerson, definePlace, definePodcastEpisode, definePodcastSeason, definePodcastSeries, defineProduct, defineQuestion, defineReadAction, defineRecipe, defineReview, defineSchemaOrgComponent, defineSearchAction, defineService, defineSoftwareApp, defineTVEpisode, defineTVSeason, defineTVSeries, defineVideo, defineVirtualLocation, defineWebPage, defineWebSite, schemaOrgAutoImports, schemaOrgComponents, useSchemaOrg }; export type { SchemaOrgResolverOptions, UseSchemaOrgInput };