@unhead/schema-org
Advanced tools
Comparing version 1.10.4 to 1.11.0-beta.1
@@ -1,3 +0,3 @@ | ||
import { T as Thing, S as SchemaOrgNodeDefinition, a as SchemaOrgNode, M as MetaInput, R as ResolvedMeta, b as SchemaOrgGraph, A as Arrayable, P as PostalAddress, c as AggregateOffer, d as AggregateRating, e as Article, B as BreadcrumbList, C as Comment, E as Event, F as FoodEstablishment, V as VirtualLocation, f as Place, H as HowTo, g as HowToStep, I as ImageObject, J as JobPosting, L as LocalBusiness, O as Offer, h as OpeningHoursSpecification, i as Organization, j as Person, k as Product, Q as Question, l as Recipe, m as Review, n as VideoObject, W as WebPage, o as WebSite, p as Book, q as Course, r as ItemList, s as ListItem, t as Movie, u as SearchAction, v as ReadAction, w as SoftwareApp, x as BookEdition } from './shared/schema-org.397d7cf9.js'; | ||
export { z as AggregateOfferSimple, G as AggregateRatingSimple, N as ArticleSimple, Z as BookEditionSimple, Y as BookSimple, a1 as BreadcrumbSimple, a4 as CommentSimple, a6 as CourseSimple, a8 as EventSimple, af as FoodEstablishmentSimple, am as HowToDirection, ai as HowToId, ah as HowToSimple, ak as HowToStepSimple, bm as Id, bl as IdReference, bg as Identity, aq as ImageSimple, ao as ItemListSimple, as as JobPostingSimple, au as ListItemSimple, aw as LocalBusinessSimple, ay as MovieSimple, be as NodeRelation, bf as NodeRelations, aT as NutritionInformation, aA as OfferSimple, aC as OpeningHoursSimple, bi as OptionalSchemaOrgPrefix, aE as OrganizationSimple, aG as PersonSimple, ad as PlaceSimple, bc as PluginSchemaOrg, ba as PluginSchemaOrgOptions, aI as PostalAddressSimple, U as PrimaryArticleId, $ as PrimaryBookId, a2 as PrimaryBreadcrumbId, a9 as PrimaryEventId, b1 as PrimaryWebPageId, b6 as PrimaryWebSiteId, aL as ProductId, aK as ProductSimple, aN as QuestionSimple, aQ as Rating, aP as RatingSimple, b3 as ReadActionInput, aU as RecipeId, aS as RecipeSimple, bh as ResolvableDate, aY as ReviewSimple, bd as SchemaOrgUnheadPlugin, b8 as SearchActionInput, aW as SoftwareAppSimple, bb as UnheadSchemaOrg, bj as UserConfig, a_ as VideoSimple, ab as VirtualLocationSimple, b0 as WebPageSimple, b5 as WebSiteSimple, bk as WithResolver, aJ as addressResolver, D as aggregateOfferResolver, K as aggregateRatingResolver, X as articleResolver, _ as bookEditionResolver, a0 as bookResolver, a3 as breadcrumbResolver, a5 as commentResolver, a7 as courseResolver, y as createSchemaOrgGraph, aa as eventResolver, ag as foodEstablishmentResolver, aj as howToResolver, an as howToStepDirectionResolver, al as howToStepResolver, ar as imageResolver, ap as itemListResolver, at as jobPostingResolver, av as listItemResolver, ax as localBusinessResolver, az as movieResolver, aB as offerResolver, aD as openingHoursResolver, aF as organizationResolver, aH as personResolver, ae as placeResolver, aM as productResolver, aO as questionResolver, aR as ratingResolver, b4 as readActionResolver, aV as recipeResolver, aZ as reviewResolver, b9 as searchActionResolver, aX as softwareAppResolver, a$ as videoResolver, ac as virtualLocationResolver, b2 as webPageResolver, b7 as webSiteResolver } from './shared/schema-org.397d7cf9.js'; | ||
import { T as Thing, S as SchemaOrgNodeDefinition, M as MetaInput, R as ResolvedMeta, a as SchemaOrgGraph, A as Arrayable, b as SchemaOrgNode, P as PostalAddress, c as AggregateOffer, d as AggregateRating, e as Article, B as BreadcrumbList, C as Comment, E as Event, F as FoodEstablishment, V as VirtualLocation, f as Place, H as HowTo, g as HowToStep, I as ImageObject, J as JobPosting, L as LocalBusiness, O as Offer, h as OpeningHoursSpecification, i as Organization, j as Person, k as Product, Q as Question, l as Recipe, m as Review, n as VideoObject, W as WebPage, o as WebSite, p as Book, q as Course, r as ItemList, s as ListItem, t as Movie, u as SearchAction, v as ReadAction, w as SoftwareApp, x as BookEdition } from './shared/schema-org.d2b719c3.js'; | ||
export { z as AggregateOfferSimple, G as AggregateRatingSimple, N as ArticleSimple, Z as BookEditionSimple, Y as BookSimple, a1 as BreadcrumbSimple, a4 as CommentSimple, a6 as CourseSimple, a8 as EventSimple, af as FoodEstablishmentSimple, am as HowToDirection, ai as HowToId, ah as HowToSimple, ak as HowToStepSimple, bm as Id, bl as IdReference, bg as Identity, ao as ImageSimple, aq as ItemListSimple, as as JobPostingSimple, au as ListItemSimple, aw as LocalBusinessSimple, ay as MovieSimple, be as NodeRelation, bf as NodeRelations, aT as NutritionInformation, aA as OfferSimple, aC as OpeningHoursSimple, bi as OptionalSchemaOrgPrefix, aE as OrganizationSimple, aG as PersonSimple, ab as PlaceSimple, bc as PluginSchemaOrg, ba as PluginSchemaOrgOptions, aI as PostalAddressSimple, U as PrimaryArticleId, $ as PrimaryBookId, a2 as PrimaryBreadcrumbId, a9 as PrimaryEventId, b1 as PrimaryWebPageId, b6 as PrimaryWebSiteId, aL as ProductId, aK as ProductSimple, aN as QuestionSimple, aQ as Rating, aP as RatingSimple, b3 as ReadActionInput, aU as RecipeId, aS as RecipeSimple, bh as ResolvableDate, aW as ReviewSimple, bd as SchemaOrgUnheadPlugin, b8 as SearchActionInput, aY as SoftwareAppSimple, bb as UnheadSchemaOrg, bj as UserConfig, a_ as VideoSimple, ad as VirtualLocationSimple, b0 as WebPageSimple, b5 as WebSiteSimple, bk as WithResolver, aJ as addressResolver, D as aggregateOfferResolver, K as aggregateRatingResolver, X as articleResolver, _ as bookEditionResolver, a0 as bookResolver, a3 as breadcrumbResolver, a5 as commentResolver, a7 as courseResolver, y as createSchemaOrgGraph, aa as eventResolver, ag as foodEstablishmentResolver, aj as howToResolver, an as howToStepDirectionResolver, al as howToStepResolver, ap as imageResolver, ar as itemListResolver, at as jobPostingResolver, av as listItemResolver, ax as localBusinessResolver, az as movieResolver, aB as offerResolver, aD as openingHoursResolver, aF as organizationResolver, aH as personResolver, ac as placeResolver, aM as productResolver, aO as questionResolver, aR as ratingResolver, b4 as readActionResolver, aV as recipeResolver, aX as reviewResolver, b9 as searchActionResolver, aZ as softwareAppResolver, a$ as videoResolver, ae as virtualLocationResolver, b2 as webPageResolver, b7 as webSiteResolver } from './shared/schema-org.d2b719c3.js'; | ||
import * as _unhead_schema from '@unhead/schema'; | ||
@@ -8,9 +8,2 @@ import * as unhead from 'unhead'; | ||
/** | ||
* Dedupe, flatten and a collection of nodes. Will also sort node keys and remove meta keys. | ||
* @param nodes | ||
*/ | ||
declare function dedupeNodes(nodes: SchemaOrgNode[]): SchemaOrgNode[]; | ||
declare function normaliseNodes(nodes: SchemaOrgNode[]): SchemaOrgNode[]; | ||
interface ResolverOptions { | ||
@@ -34,5 +27,12 @@ /** | ||
declare function resolveNode<T extends Thing>(node: T, ctx: SchemaOrgGraph, resolver: SchemaOrgNodeDefinition<T>): T; | ||
declare function resolveNodeId<T extends Thing>(node: T, ctx: SchemaOrgGraph, resolver: SchemaOrgNodeDefinition<T>, resolveAsRoot?: boolean): T; | ||
declare function resolveNodeId<T extends Thing>(node: T, ctx: SchemaOrgGraph, resolver?: SchemaOrgNodeDefinition<T>, resolveAsRoot?: boolean): T; | ||
declare function resolveRelation(input: Arrayable<any>, ctx: SchemaOrgGraph, fallbackResolver?: SchemaOrgNodeDefinition<any>, options?: ResolverOptions): any; | ||
/** | ||
* Dedupe, flatten and a collection of nodes. Will also sort node keys and remove meta keys. | ||
* @param nodes | ||
*/ | ||
declare function dedupeNodes(nodes: SchemaOrgNode[]): SchemaOrgNode[]; | ||
declare function normaliseNodes(nodes: SchemaOrgNode[]): SchemaOrgNode[]; | ||
declare function defineAddress<T extends Record<string, any>>(input?: PostalAddress & T): PostalAddress & T; | ||
@@ -39,0 +39,0 @@ declare function defineAggregateOffer<T extends Record<string, any>>(input?: AggregateOffer & T): AggregateOffer & T; |
@@ -0,7 +1,7 @@ | ||
import { P as PostalAddress, c as AggregateOffer, d as AggregateRating, e as Article, B as BreadcrumbList, C as Comment, E as Event, F as FoodEstablishment, V as VirtualLocation, f as Place, H as HowTo, g as HowToStep, I as ImageObject, J as JobPosting, L as LocalBusiness, O as Offer, h as OpeningHoursSpecification, i as Organization, j as Person, k as Product, Q as Question, l as Recipe, m as Review, n as VideoObject, W as WebPage, o as WebSite, p as Book, q as Course, r as ItemList, s as ListItem, t as Movie, u as SearchAction, v as ReadAction, w as SoftwareApp, x as BookEdition, A as Arrayable, T as Thing } from './shared/schema-org.d2b719c3.js'; | ||
export { M as MetaInput, bc as PluginSchemaOrg, bd as SchemaOrgUnheadPlugin, bj as UserConfig } from './shared/schema-org.d2b719c3.js'; | ||
import { ComponentResolver } from 'unplugin-vue-components'; | ||
import { defineComponent } from 'vue'; | ||
import * as _unhead_vue from '@unhead/vue'; | ||
import { MaybeComputedRefOrPromise } from '@unhead/vue'; | ||
import { P as PostalAddress, c as AggregateOffer, d as AggregateRating, e as Article, B as BreadcrumbList, C as Comment, E as Event, F as FoodEstablishment, V as VirtualLocation, f as Place, H as HowTo, g as HowToStep, I as ImageObject, J as JobPosting, L as LocalBusiness, O as Offer, h as OpeningHoursSpecification, i as Organization, j as Person, k as Product, Q as Question, l as Recipe, m as Review, n as VideoObject, W as WebPage, o as WebSite, p as Book, q as Course, r as ItemList, s as ListItem, t as Movie, u as SearchAction, v as ReadAction, w as SoftwareApp, x as BookEdition, A as Arrayable, T as Thing } from './shared/schema-org.397d7cf9.js'; | ||
export { M as MetaInput, bc as PluginSchemaOrg, bd as SchemaOrgUnheadPlugin, bj as UserConfig } from './shared/schema-org.397d7cf9.js'; | ||
import { defineComponent } from 'vue'; | ||
import { MaybeComputedRefOrFalsy } from '@unhead/vue'; | ||
import '@unhead/schema'; | ||
@@ -25,4 +25,29 @@ | ||
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; | ||
type DeepMaybeRef<T> = { | ||
[key in keyof T]?: MaybeComputedRefOrPromise<T[key]>; | ||
[key in keyof T]?: MaybeComputedRefOrFalsy<T[key]>; | ||
}; | ||
@@ -71,27 +96,2 @@ declare function defineAddress<T extends Record<string, any>>(input?: DeepMaybeRef<PostalAddress & T>): DeepMaybeRef<PostalAddress & T>; | ||
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; | ||
export { type DeepMaybeRef, SchemaOrgArticle, SchemaOrgBook, SchemaOrgBreadcrumb, SchemaOrgComment, SchemaOrgCourse, SchemaOrgEvent, SchemaOrgFoodEstablishment, SchemaOrgHowTo, SchemaOrgImage, SchemaOrgItemList, SchemaOrgJobPosting, SchemaOrgLocalBusiness, SchemaOrgMovie, SchemaOrgOrganization, SchemaOrgPerson, SchemaOrgProduct, SchemaOrgQuestion, SchemaOrgRecipe, SchemaOrgResolver, type SchemaOrgResolverOptions, SchemaOrgReview, SchemaOrgSoftwareApp, SchemaOrgVideo, SchemaOrgWebPage, SchemaOrgWebSite, type UseSchemaOrgInput, defineAddress, defineAggregateOffer, defineAggregateRating, defineArticle, defineBook, defineBookEdition, defineBreadcrumb, defineComment, defineCourse, defineEvent, defineFoodEstablishment, defineHowTo, defineHowToStep, defineImage, defineItemList, defineJobPosting, defineListItem, defineLocalBusiness, defineMovie, defineOffer, defineOpeningHours, defineOrganization, definePerson, definePlace, defineProduct, defineQuestion, defineReadAction, defineRecipe, defineReview, defineSchemaOrgComponent, defineSearchAction, defineSoftwareApp, defineVideo, defineVirtualLocation, defineWebPage, defineWebSite, schemaAutoImports, schemaOrgAutoImports, schemaOrgComponents, useSchemaOrg }; |
{ | ||
"name": "@unhead/schema-org", | ||
"version": "1.10.4", | ||
"type": "module", | ||
"version": "1.11.0-beta.1", | ||
"description": "Unhead Schema.org for Simple and Automated Google Rich Results", | ||
@@ -51,6 +52,6 @@ "author": "Harlan Wilton <harlan@harlanzw.com>", | ||
"unplugin-vue-components": "^0.27.4", | ||
"@unhead/schema": "1.10.4", | ||
"@unhead/shared": "1.10.4", | ||
"@unhead/vue": "1.10.4", | ||
"unhead": "1.10.4" | ||
"@unhead/schema": "1.11.0-beta.1", | ||
"@unhead/shared": "1.11.0-beta.1", | ||
"@unhead/vue": "1.11.0-beta.1", | ||
"unhead": "1.11.0-beta.1" | ||
}, | ||
@@ -57,0 +58,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
399081
7198
Yes
1
1