@unhead/schema-org 2.1.9 → 3.0.0-beta.10

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.
Files changed (68) hide show
  1. package/dist/index.d.mts +4 -4
  2. package/dist/index.d.ts +4 -4
  3. package/dist/index.mjs +2 -44
  4. package/dist/react.d.mts +3 -3
  5. package/dist/react.d.ts +3 -3
  6. package/dist/react.mjs +3 -3
  7. package/dist/shared/schema-org.BS2Q1uTx.d.mts +11 -0
  8. package/dist/shared/{schema-org.UT1u1UYq.d.mts → schema-org.C1OXVKVP.d.ts} +142 -48
  9. package/dist/shared/schema-org.C7IeLKiX.d.ts +11 -0
  10. package/dist/shared/{schema-org.CFcsqFfN.d.mts → schema-org.CX_95Tmq.d.mts} +2 -22
  11. package/dist/shared/{schema-org.CFcsqFfN.d.ts → schema-org.CX_95Tmq.d.ts} +2 -22
  12. package/dist/shared/{schema-org.CAKsqzbX.d.ts → schema-org.Cxijls86.d.mts} +142 -48
  13. package/dist/shared/schema-org.DvWGLdBv.mjs +1932 -0
  14. package/dist/solid-js.d.mts +3 -3
  15. package/dist/solid-js.d.ts +3 -3
  16. package/dist/solid-js.mjs +3 -3
  17. package/dist/svelte.d.mts +3 -3
  18. package/dist/svelte.d.ts +3 -3
  19. package/dist/svelte.mjs +3 -3
  20. package/dist/vue.d.mts +38 -38
  21. package/dist/vue.d.ts +38 -38
  22. package/dist/vue.mjs +47 -43
  23. package/package.json +11 -11
  24. package/dist/chunks/index.mjs +0 -23
  25. package/dist/chunks/index10.mjs +0 -63
  26. package/dist/chunks/index11.mjs +0 -35
  27. package/dist/chunks/index12.mjs +0 -48
  28. package/dist/chunks/index13.mjs +0 -36
  29. package/dist/chunks/index14.mjs +0 -25
  30. package/dist/chunks/index15.mjs +0 -37
  31. package/dist/chunks/index16.mjs +0 -27
  32. package/dist/chunks/index17.mjs +0 -34
  33. package/dist/chunks/index18.mjs +0 -32
  34. package/dist/chunks/index19.mjs +0 -31
  35. package/dist/chunks/index2.mjs +0 -12
  36. package/dist/chunks/index20.mjs +0 -31
  37. package/dist/chunks/index21.mjs +0 -30
  38. package/dist/chunks/index22.mjs +0 -30
  39. package/dist/chunks/index23.mjs +0 -82
  40. package/dist/chunks/index24.mjs +0 -14
  41. package/dist/chunks/index25.mjs +0 -33
  42. package/dist/chunks/index26.mjs +0 -31
  43. package/dist/chunks/index27.mjs +0 -29
  44. package/dist/chunks/index28.mjs +0 -12
  45. package/dist/chunks/index29.mjs +0 -46
  46. package/dist/chunks/index3.mjs +0 -317
  47. package/dist/chunks/index30.mjs +0 -53
  48. package/dist/chunks/index31.mjs +0 -41
  49. package/dist/chunks/index32.mjs +0 -26
  50. package/dist/chunks/index33.mjs +0 -47
  51. package/dist/chunks/index34.mjs +0 -29
  52. package/dist/chunks/index35.mjs +0 -34
  53. package/dist/chunks/index36.mjs +0 -33
  54. package/dist/chunks/index37.mjs +0 -34
  55. package/dist/chunks/index38.mjs +0 -51
  56. package/dist/chunks/index39.mjs +0 -17
  57. package/dist/chunks/index4.mjs +0 -54
  58. package/dist/chunks/index40.mjs +0 -29
  59. package/dist/chunks/index5.mjs +0 -31
  60. package/dist/chunks/index6.mjs +0 -29
  61. package/dist/chunks/index7.mjs +0 -35
  62. package/dist/chunks/index8.mjs +0 -18
  63. package/dist/chunks/index9.mjs +0 -20
  64. package/dist/shared/schema-org.B9Q-o8S0.mjs +0 -877
  65. package/dist/shared/schema-org.BR4WcSqZ.d.ts +0 -21
  66. package/dist/shared/schema-org.CrNDsWck.mjs +0 -19
  67. package/dist/shared/schema-org.oFHFm6my.d.mts +0 -21
  68. package/dist/shared/schema-org.zHUqdMMo.mjs +0 -27
@@ -1,4 +1,4 @@
1
- import { T as Thing, A as Arrayable, e as NodeRelations, b as Identity, N as NodeRelation, f as ResolvableDate, S as SchemaOrgNodeDefinition, aE as Person, ad as ImageObject, l as AggregateRating, a$ as Review, aB as Organization, av as Offer, b5 as VideoObject, aJ as PostalAddress, aH as PostalAddressStrict, aI as PostalAddressName, i as AggregateOffer, o as Article, q as Book, s as BookEdition, x as BreadcrumbList, D as Comment, G as Course, K as Event, a1 as FoodEstablishment, a4 as HowTo, a8 as HowToStep, ag as ItemList, aj as JobPosting, am as ListItem, ap as LocalBusiness, as as Movie, ay as OpeningHoursSpecification, X as Place, aM as Product, aQ as Question, bc as ReadAction, aW as Recipe, bj as SearchAction, b2 as SoftwareApp, _ as VirtualLocation, b8 as WebPage, bf as WebSite } from './schema-org.CFcsqFfN.js';
1
+ import { T as Thing, A as Arrayable, e as NodeRelations, b as Identity, N as NodeRelation, f as ResolvableDate, S as SchemaOrgNodeDefinition, aE as Person, ad as ImageObject, l as AggregateRating, a$ as Review, aB as Organization, av as Offer, b5 as VideoObject, aJ as PostalAddress, aH as PostalAddressStrict, aI as PostalAddressName, i as AggregateOffer, o as Article, q as Book, s as BookEdition, x as BreadcrumbList, D as Comment, G as Course, K as Event, a1 as FoodEstablishment, a4 as HowTo, a8 as HowToStep, ag as ItemList, aj as JobPosting, am as ListItem, ap as LocalBusiness, as as Movie, ay as OpeningHoursSpecification, X as Place, aM as Product, aQ as Question, bc as ReadAction, aW as Recipe, bj as SearchAction, b2 as SoftwareApp, _ as VirtualLocation, b8 as WebPage, bf as WebSite } from './schema-org.CX_95Tmq.mjs';
2
2
  import { Unhead, HeadEntryOptions, ActiveHeadEntry } from 'unhead/types';
3
3
 
4
4
  /**
@@ -967,53 +967,147 @@ interface TVSeries extends TVSeriesSimple {
967
967
  */
968
968
  declare const tvSeriesResolver: SchemaOrgNodeDefinition<TVSeries>;
969
969
 
970
- declare function defineAddress<T extends Record<string, any>>(input?: PostalAddress & T): (PostalAddressStrict & T) | (PostalAddressName & T);
971
- declare function defineAggregateOffer<T extends Record<string, any>>(input?: AggregateOffer & T): AggregateOffer & T;
972
- declare function defineAggregateRating<T extends Record<string, any>>(input?: AggregateRating & T): AggregateRating & T;
973
- declare function defineArticle<T extends Record<string, any>>(input?: Article & T): Article & T;
974
- declare function defineBreadcrumb<T extends Record<string, any>>(input?: BreadcrumbList & T): BreadcrumbList & T;
975
- declare function defineComment<T extends Record<string, any>>(input?: Comment & T): Comment & T;
976
- declare function defineEvent<T extends Record<string, any>>(input?: Event & T): Event & T;
977
- declare function defineFoodEstablishment<T extends Record<string, any>>(input?: FoodEstablishment & T): FoodEstablishment & T;
978
- declare function defineVirtualLocation<T extends Record<string, any>>(input?: VirtualLocation & T): VirtualLocation & T;
979
- declare function definePlace<T extends Record<string, any>>(input?: Place & T): Place & T;
980
- declare function defineHowTo<T extends Record<string, any>>(input?: HowTo & T): HowTo & T;
981
- declare function defineHowToStep<T extends Record<string, any>>(input?: HowToStep & T): HowToStep & T;
982
- declare function defineImage<T extends Record<string, any>>(input?: ImageObject & T): ImageObject & T;
983
- declare function defineJobPosting<T extends Record<string, any>>(input?: JobPosting & T): JobPosting & T;
984
- declare function defineLocalBusiness<T extends Record<string, any>>(input?: LocalBusiness & T): LocalBusiness & T;
985
- declare function defineOffer<T extends Record<string, any>>(input?: Offer & T): Offer & T;
986
- declare function defineOpeningHours<T extends Record<string, any>>(input?: OpeningHoursSpecification & T): OpeningHoursSpecification & T;
987
- declare function defineOrganization<T extends Record<string, any>>(input?: Organization & T): Organization & T;
988
- declare function definePerson<T extends Record<string, any>>(input?: Person & T): Person & T;
989
- declare function defineProduct<T extends Record<string, any>>(input?: Product & T): Product & T;
990
- declare function defineQuestion<T extends Record<string, any>>(input?: Question & T): Question & T;
991
- declare function defineRecipe<T extends Record<string, any>>(input?: Recipe & T): Recipe & T;
992
- declare function defineReview<T extends Record<string, any>>(input?: Review & T): Review & T;
993
- declare function defineVideo<T extends Record<string, any>>(input?: VideoObject & T): VideoObject & T;
994
- declare function defineWebPage<T extends Record<string, any>>(input?: WebPage & T): WebPage & T;
995
- declare function defineWebSite<T extends Record<string, any>>(input?: WebSite & T): WebSite & T;
996
- declare function defineBook<T extends Record<string, any>>(input?: Book & T): Book & T;
997
- declare function defineCourse<T extends Record<string, any>>(input?: Course & T): Course & T;
998
- declare function defineItemList<T extends Record<string, any>>(input?: ItemList & T): ItemList & T;
999
- declare function defineListItem<T extends Record<string, any>>(input?: ListItem & T): ListItem & T;
1000
- declare function defineMovie<T extends Record<string, any>>(input?: Movie & T): Movie & T;
1001
- declare function defineSearchAction<T extends Record<string, any>>(input?: SearchAction & T): SearchAction & T;
1002
- declare function defineReadAction<T extends Record<string, any>>(input?: ReadAction & T): ReadAction & T;
1003
- declare function defineDataset<T extends Record<string, any>>(input?: Dataset & T): Dataset & T;
1004
- declare function defineMusicRecording<T extends Record<string, any>>(input?: MusicRecording & T): MusicRecording & T;
1005
- declare function defineMusicAlbum<T extends Record<string, any>>(input?: MusicAlbum & T): MusicAlbum & T;
1006
- declare function defineMusicGroup<T extends Record<string, any>>(input?: MusicGroup & T): MusicGroup & T;
1007
- declare function defineMusicPlaylist<T extends Record<string, any>>(input?: MusicPlaylist & T): MusicPlaylist & T;
1008
- declare function definePodcastSeries<T extends Record<string, any>>(input?: PodcastSeries & T): PodcastSeries & T;
1009
- declare function definePodcastEpisode<T extends Record<string, any>>(input?: PodcastEpisode & T): PodcastEpisode & T;
1010
- declare function definePodcastSeason<T extends Record<string, any>>(input?: PodcastSeason & T): PodcastSeason & T;
1011
- declare function defineTVSeries<T extends Record<string, any>>(input?: TVSeries & T): TVSeries & T;
1012
- declare function defineTVSeason<T extends Record<string, any>>(input?: TVSeason & T): TVSeason & T;
1013
- declare function defineTVEpisode<T extends Record<string, any>>(input?: TVEpisode & T): TVEpisode & T;
1014
- declare function defineService<T extends Record<string, any>>(input?: Service & T): Service & T;
1015
- declare function defineSoftwareApp<T extends Record<string, any>>(input?: SoftwareApp & T): SoftwareApp & T;
1016
- declare function defineBookEdition<T extends Record<string, any>>(input?: BookEdition & T): BookEdition & T;
970
+ declare function defineAddress<T extends Record<string, any>>(input?: PostalAddress & T): ((PostalAddressStrict & T) | (PostalAddressName & T)) & {
971
+ _resolver?: SchemaOrgNodeDefinition<any>;
972
+ };
973
+ declare function defineAggregateOffer<T extends Record<string, any>>(input?: AggregateOffer & T): AggregateOffer & T & {
974
+ _resolver?: SchemaOrgNodeDefinition<any>;
975
+ };
976
+ declare function defineAggregateRating<T extends Record<string, any>>(input?: AggregateRating & T): AggregateRating & T & {
977
+ _resolver?: SchemaOrgNodeDefinition<any>;
978
+ };
979
+ declare function defineArticle<T extends Record<string, any>>(input?: Article & T): Article & T & {
980
+ _resolver?: SchemaOrgNodeDefinition<any>;
981
+ };
982
+ declare function defineBreadcrumb<T extends Record<string, any>>(input?: BreadcrumbList & T): BreadcrumbList & T & {
983
+ _resolver?: SchemaOrgNodeDefinition<any>;
984
+ };
985
+ declare function defineComment<T extends Record<string, any>>(input?: Comment & T): Comment & T & {
986
+ _resolver?: SchemaOrgNodeDefinition<any>;
987
+ };
988
+ declare function defineEvent<T extends Record<string, any>>(input?: Event & T): Event & T & {
989
+ _resolver?: SchemaOrgNodeDefinition<any>;
990
+ };
991
+ declare function defineFoodEstablishment<T extends Record<string, any>>(input?: FoodEstablishment & T): FoodEstablishment & T & {
992
+ _resolver?: SchemaOrgNodeDefinition<any>;
993
+ };
994
+ declare function defineVirtualLocation<T extends Record<string, any>>(input?: VirtualLocation & T): VirtualLocation & T & {
995
+ _resolver?: SchemaOrgNodeDefinition<any>;
996
+ };
997
+ declare function definePlace<T extends Record<string, any>>(input?: Place & T): Place & T & {
998
+ _resolver?: SchemaOrgNodeDefinition<any>;
999
+ };
1000
+ declare function defineHowTo<T extends Record<string, any>>(input?: HowTo & T): HowTo & T & {
1001
+ _resolver?: SchemaOrgNodeDefinition<any>;
1002
+ };
1003
+ declare function defineHowToStep<T extends Record<string, any>>(input?: HowToStep & T): HowToStep & T & {
1004
+ _resolver?: SchemaOrgNodeDefinition<any>;
1005
+ };
1006
+ declare function defineImage<T extends Record<string, any>>(input?: ImageObject & T): ImageObject & T & {
1007
+ _resolver?: SchemaOrgNodeDefinition<any>;
1008
+ };
1009
+ declare function defineJobPosting<T extends Record<string, any>>(input?: JobPosting & T): JobPosting & T & {
1010
+ _resolver?: SchemaOrgNodeDefinition<any>;
1011
+ };
1012
+ declare function defineLocalBusiness<T extends Record<string, any>>(input?: LocalBusiness & T): LocalBusiness & T & {
1013
+ _resolver?: SchemaOrgNodeDefinition<any>;
1014
+ };
1015
+ declare function defineOffer<T extends Record<string, any>>(input?: Offer & T): Offer & T & {
1016
+ _resolver?: SchemaOrgNodeDefinition<any>;
1017
+ };
1018
+ declare function defineOpeningHours<T extends Record<string, any>>(input?: OpeningHoursSpecification & T): OpeningHoursSpecification & T & {
1019
+ _resolver?: SchemaOrgNodeDefinition<any>;
1020
+ };
1021
+ declare function defineOrganization<T extends Record<string, any>>(input?: Organization & T): Organization & T & {
1022
+ _resolver?: SchemaOrgNodeDefinition<any>;
1023
+ };
1024
+ declare function definePerson<T extends Record<string, any>>(input?: Person & T): Person & T & {
1025
+ _resolver?: SchemaOrgNodeDefinition<any>;
1026
+ };
1027
+ declare function defineProduct<T extends Record<string, any>>(input?: Product & T): Product & T & {
1028
+ _resolver?: SchemaOrgNodeDefinition<any>;
1029
+ };
1030
+ declare function defineQuestion<T extends Record<string, any>>(input?: Question & T): Question & T & {
1031
+ _resolver?: SchemaOrgNodeDefinition<any>;
1032
+ };
1033
+ declare function defineRecipe<T extends Record<string, any>>(input?: Recipe & T): Recipe & T & {
1034
+ _resolver?: SchemaOrgNodeDefinition<any>;
1035
+ };
1036
+ declare function defineReview<T extends Record<string, any>>(input?: Review & T): Review & T & {
1037
+ _resolver?: SchemaOrgNodeDefinition<any>;
1038
+ };
1039
+ declare function defineVideo<T extends Record<string, any>>(input?: VideoObject & T): VideoObject & T & {
1040
+ _resolver?: SchemaOrgNodeDefinition<any>;
1041
+ };
1042
+ declare function defineWebPage<T extends Record<string, any>>(input?: WebPage & T): WebPage & T & {
1043
+ _resolver?: SchemaOrgNodeDefinition<any>;
1044
+ };
1045
+ declare function defineWebSite<T extends Record<string, any>>(input?: WebSite & T): WebSite & T & {
1046
+ _resolver?: SchemaOrgNodeDefinition<any>;
1047
+ };
1048
+ declare function defineBook<T extends Record<string, any>>(input?: Book & T): Book & T & {
1049
+ _resolver?: SchemaOrgNodeDefinition<any>;
1050
+ };
1051
+ declare function defineCourse<T extends Record<string, any>>(input?: Course & T): Course & T & {
1052
+ _resolver?: SchemaOrgNodeDefinition<any>;
1053
+ };
1054
+ declare function defineItemList<T extends Record<string, any>>(input?: ItemList & T): ItemList & T & {
1055
+ _resolver?: SchemaOrgNodeDefinition<any>;
1056
+ };
1057
+ declare function defineListItem<T extends Record<string, any>>(input?: ListItem & T): ListItem & T & {
1058
+ _resolver?: SchemaOrgNodeDefinition<any>;
1059
+ };
1060
+ declare function defineMovie<T extends Record<string, any>>(input?: Movie & T): Movie & T & {
1061
+ _resolver?: SchemaOrgNodeDefinition<any>;
1062
+ };
1063
+ declare function defineSearchAction<T extends Record<string, any>>(input?: SearchAction & T): SearchAction & T & {
1064
+ _resolver?: SchemaOrgNodeDefinition<any>;
1065
+ };
1066
+ declare function defineReadAction<T extends Record<string, any>>(input?: ReadAction & T): ReadAction & T & {
1067
+ _resolver?: SchemaOrgNodeDefinition<any>;
1068
+ };
1069
+ declare function defineDataset<T extends Record<string, any>>(input?: Dataset & T): Dataset & T & {
1070
+ _resolver?: SchemaOrgNodeDefinition<any>;
1071
+ };
1072
+ declare function defineMusicRecording<T extends Record<string, any>>(input?: MusicRecording & T): MusicRecording & T & {
1073
+ _resolver?: SchemaOrgNodeDefinition<any>;
1074
+ };
1075
+ declare function defineMusicAlbum<T extends Record<string, any>>(input?: MusicAlbum & T): MusicAlbum & T & {
1076
+ _resolver?: SchemaOrgNodeDefinition<any>;
1077
+ };
1078
+ declare function defineMusicGroup<T extends Record<string, any>>(input?: MusicGroup & T): MusicGroup & T & {
1079
+ _resolver?: SchemaOrgNodeDefinition<any>;
1080
+ };
1081
+ declare function defineMusicPlaylist<T extends Record<string, any>>(input?: MusicPlaylist & T): MusicPlaylist & T & {
1082
+ _resolver?: SchemaOrgNodeDefinition<any>;
1083
+ };
1084
+ declare function definePodcastSeries<T extends Record<string, any>>(input?: PodcastSeries & T): PodcastSeries & T & {
1085
+ _resolver?: SchemaOrgNodeDefinition<any>;
1086
+ };
1087
+ declare function definePodcastEpisode<T extends Record<string, any>>(input?: PodcastEpisode & T): PodcastEpisode & T & {
1088
+ _resolver?: SchemaOrgNodeDefinition<any>;
1089
+ };
1090
+ declare function definePodcastSeason<T extends Record<string, any>>(input?: PodcastSeason & T): PodcastSeason & T & {
1091
+ _resolver?: SchemaOrgNodeDefinition<any>;
1092
+ };
1093
+ declare function defineTVSeries<T extends Record<string, any>>(input?: TVSeries & T): TVSeries & T & {
1094
+ _resolver?: SchemaOrgNodeDefinition<any>;
1095
+ };
1096
+ declare function defineTVSeason<T extends Record<string, any>>(input?: TVSeason & T): TVSeason & T & {
1097
+ _resolver?: SchemaOrgNodeDefinition<any>;
1098
+ };
1099
+ declare function defineTVEpisode<T extends Record<string, any>>(input?: TVEpisode & T): TVEpisode & T & {
1100
+ _resolver?: SchemaOrgNodeDefinition<any>;
1101
+ };
1102
+ declare function defineService<T extends Record<string, any>>(input?: Service & T): Service & T & {
1103
+ _resolver?: SchemaOrgNodeDefinition<any>;
1104
+ };
1105
+ declare function defineSoftwareApp<T extends Record<string, any>>(input?: SoftwareApp & T): SoftwareApp & T & {
1106
+ _resolver?: SchemaOrgNodeDefinition<any>;
1107
+ };
1108
+ declare function defineBookEdition<T extends Record<string, any>>(input?: BookEdition & T): BookEdition & T & {
1109
+ _resolver?: SchemaOrgNodeDefinition<any>;
1110
+ };
1017
1111
  type UseSchemaOrgInput = Arrayable<Thing | Record<string, any>>;
1018
1112
  declare function normalizeSchemaOrgInput<T extends UseSchemaOrgInput>(input: T): T;
1019
1113
  declare function useSchemaOrg(unhead: Unhead<any>, input?: UseSchemaOrgInput, options?: HeadEntryOptions): ActiveHeadEntry<UseSchemaOrgInput>;