@unhead/schema-org 2.0.19 → 2.1.1
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/chunks/index.mjs +23 -0
- package/dist/chunks/index10.mjs +63 -0
- package/dist/chunks/index11.mjs +35 -0
- package/dist/chunks/index12.mjs +48 -0
- package/dist/chunks/index13.mjs +36 -0
- package/dist/chunks/index14.mjs +25 -0
- package/dist/chunks/index15.mjs +37 -0
- package/dist/chunks/index16.mjs +27 -0
- package/dist/chunks/index17.mjs +34 -0
- package/dist/chunks/index18.mjs +32 -0
- package/dist/chunks/index19.mjs +31 -0
- package/dist/chunks/index2.mjs +12 -0
- package/dist/chunks/index20.mjs +31 -0
- package/dist/chunks/index21.mjs +30 -0
- package/dist/chunks/index22.mjs +30 -0
- package/dist/chunks/index23.mjs +82 -0
- package/dist/chunks/index24.mjs +14 -0
- package/dist/chunks/index25.mjs +33 -0
- package/dist/chunks/index26.mjs +31 -0
- package/dist/chunks/index27.mjs +29 -0
- package/dist/chunks/index28.mjs +12 -0
- package/dist/chunks/index29.mjs +46 -0
- package/dist/chunks/index3.mjs +317 -0
- package/dist/chunks/index30.mjs +53 -0
- package/dist/chunks/index31.mjs +41 -0
- package/dist/chunks/index32.mjs +26 -0
- package/dist/chunks/index33.mjs +47 -0
- package/dist/chunks/index34.mjs +29 -0
- package/dist/chunks/index35.mjs +34 -0
- package/dist/chunks/index36.mjs +33 -0
- package/dist/chunks/index37.mjs +34 -0
- package/dist/chunks/index38.mjs +51 -0
- package/dist/chunks/index39.mjs +17 -0
- package/dist/chunks/index4.mjs +54 -0
- package/dist/chunks/index40.mjs +29 -0
- package/dist/chunks/index5.mjs +31 -0
- package/dist/chunks/index6.mjs +29 -0
- package/dist/chunks/index7.mjs +35 -0
- package/dist/chunks/index8.mjs +18 -0
- package/dist/chunks/index9.mjs +20 -0
- package/dist/index.d.mts +6 -11
- package/dist/index.d.ts +6 -11
- package/dist/index.mjs +43 -3
- package/dist/react.d.mts +3 -3
- package/dist/react.d.ts +3 -3
- package/dist/react.mjs +3 -5
- package/dist/shared/schema-org.40UJYB57.mjs +19 -0
- package/dist/shared/{schema-org.B3f2mYF6.d.ts → schema-org.BR4WcSqZ.d.ts} +3 -3
- package/dist/shared/schema-org.CAKsqzbX.d.ts +1022 -0
- package/dist/shared/{schema-org.D5CDiwX5.d.ts → schema-org.CFcsqFfN.d.mts} +215 -15
- package/dist/shared/{schema-org.D5CDiwX5.d.mts → schema-org.CFcsqFfN.d.ts} +215 -15
- package/dist/shared/{schema-org.q010LqYD.mjs → schema-org.CHbRCiep.mjs} +12 -0
- package/dist/shared/schema-org.Cp6bpwL2.mjs +875 -0
- package/dist/shared/schema-org.Dg61qWpa.mjs +27 -0
- package/dist/shared/schema-org.UT1u1UYq.d.mts +1022 -0
- package/dist/shared/{schema-org.jGJJYnRv.d.mts → schema-org.oFHFm6my.d.mts} +3 -3
- package/dist/solid-js.d.mts +3 -3
- package/dist/solid-js.d.ts +3 -3
- package/dist/solid-js.mjs +3 -5
- package/dist/svelte.d.mts +3 -3
- package/dist/svelte.d.ts +3 -3
- package/dist/svelte.mjs +3 -5
- package/dist/vue.d.mts +3 -3
- package/dist/vue.d.ts +3 -3
- package/dist/vue.mjs +6 -7
- package/package.json +12 -14
- package/dist/shared/schema-org.B8mOT8YC.d.ts +0 -44
- package/dist/shared/schema-org.CWjoIjIr.d.mts +0 -44
- package/dist/shared/schema-org.DoKdjnca.mjs +0 -1690
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as unhead_types from 'unhead/types';
|
|
2
|
-
import { M as MetaInput } from './schema-org.
|
|
2
|
+
import { M as MetaInput } from './schema-org.CFcsqFfN.mjs';
|
|
3
3
|
|
|
4
4
|
interface PluginSchemaOrgOptions {
|
|
5
5
|
minify?: boolean;
|
|
@@ -17,5 +17,5 @@ declare function PluginSchemaOrg(options?: PluginSchemaOrgOptions & {
|
|
|
17
17
|
*/
|
|
18
18
|
declare function SchemaOrgUnheadPlugin(config: MetaInput, meta: () => Partial<MetaInput> | Promise<Partial<MetaInput>>, options?: PluginSchemaOrgOptions): unhead_types.HeadPluginInput;
|
|
19
19
|
|
|
20
|
-
export {
|
|
21
|
-
export type { PluginSchemaOrgOptions as
|
|
20
|
+
export { PluginSchemaOrg as P, SchemaOrgUnheadPlugin as S, UnheadSchemaOrg as U };
|
|
21
|
+
export type { PluginSchemaOrgOptions as a };
|
package/dist/solid-js.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HeadEntryOptions, ActiveHeadEntry } from 'unhead/types';
|
|
2
|
-
import {
|
|
3
|
-
export { c as defineArticle,
|
|
4
|
-
export { M as MetaInput,
|
|
2
|
+
import { X as UseSchemaOrgInput } from './shared/schema-org.UT1u1UYq.mjs';
|
|
3
|
+
export { c as defineArticle, e as defineBook, g as defineBreadcrumb, h as defineComment, i as defineCourse, j as defineDataset, k as defineEvent, l as defineFoodEstablishment, m as defineHowTo, o as defineImage, p as defineItemList, q as defineJobPosting, s as defineLocalBusiness, t as defineMovie, u as defineMusicAlbum, v as defineMusicGroup, w as defineMusicPlaylist, x as defineMusicRecording, A as defineOrganization, B as definePerson, D as definePodcastEpisode, E as definePodcastSeason, F as definePodcastSeries, G as defineProduct, H as defineQuestion, J as defineRecipe, K as defineReview, M as defineService, N as defineSoftwareApp, O as defineTVEpisode, P as defineTVSeason, Q as defineTVSeries, R as defineVideo, T as defineWebPage, U as defineWebSite } from './shared/schema-org.UT1u1UYq.mjs';
|
|
4
|
+
export { M as MetaInput, U as UserConfig } from './shared/schema-org.CFcsqFfN.mjs';
|
|
5
5
|
|
|
6
6
|
declare const schemaOrgAutoImports: {
|
|
7
7
|
from: string;
|
package/dist/solid-js.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HeadEntryOptions, ActiveHeadEntry } from 'unhead/types';
|
|
2
|
-
import {
|
|
3
|
-
export { c as defineArticle,
|
|
4
|
-
export { M as MetaInput,
|
|
2
|
+
import { X as UseSchemaOrgInput } from './shared/schema-org.CAKsqzbX.js';
|
|
3
|
+
export { c as defineArticle, e as defineBook, g as defineBreadcrumb, h as defineComment, i as defineCourse, j as defineDataset, k as defineEvent, l as defineFoodEstablishment, m as defineHowTo, o as defineImage, p as defineItemList, q as defineJobPosting, s as defineLocalBusiness, t as defineMovie, u as defineMusicAlbum, v as defineMusicGroup, w as defineMusicPlaylist, x as defineMusicRecording, A as defineOrganization, B as definePerson, D as definePodcastEpisode, E as definePodcastSeason, F as definePodcastSeries, G as defineProduct, H as defineQuestion, J as defineRecipe, K as defineReview, M as defineService, N as defineSoftwareApp, O as defineTVEpisode, P as defineTVSeason, Q as defineTVSeries, R as defineVideo, T as defineWebPage, U as defineWebSite } from './shared/schema-org.CAKsqzbX.js';
|
|
4
|
+
export { M as MetaInput, U as UserConfig } from './shared/schema-org.CFcsqFfN.js';
|
|
5
5
|
|
|
6
6
|
declare const schemaOrgAutoImports: {
|
|
7
7
|
from: string;
|
package/dist/solid-js.mjs
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import { useUnhead, useHead } from '@unhead/solid-js';
|
|
2
|
-
import { s as schemaAutoImports } from './shared/schema-org.
|
|
3
|
-
import {
|
|
4
|
-
export {
|
|
5
|
-
import 'defu';
|
|
2
|
+
import { s as schemaAutoImports } from './shared/schema-org.CHbRCiep.mjs';
|
|
3
|
+
import { U as UnheadSchemaOrg, a3 as normalizeSchemaOrgInput } from './shared/schema-org.Cp6bpwL2.mjs';
|
|
4
|
+
export { i as defineArticle, j as defineBook, l as defineBreadcrumb, n as defineComment, o as defineCourse, p as defineDataset, q as defineEvent, s as defineFoodEstablishment, t as defineHowTo, v as defineImage, w as defineItemList, x as defineJobPosting, z as defineLocalBusiness, A as defineMovie, B as defineMusicAlbum, C as defineMusicGroup, D as defineMusicPlaylist, E as defineMusicRecording, H as defineOrganization, I as definePerson, K as definePodcastEpisode, L as definePodcastSeason, M as definePodcastSeries, N as defineProduct, O as defineQuestion, R as defineRecipe, T as defineReview, W as defineService, X as defineSoftwareApp, Y as defineTVEpisode, Z as defineTVSeason, _ as defineTVSeries, $ as defineVideo, a1 as defineWebPage, a2 as defineWebSite } from './shared/schema-org.Cp6bpwL2.mjs';
|
|
6
5
|
import 'unhead/plugins';
|
|
7
6
|
import 'unhead/utils';
|
|
8
7
|
import 'ufo';
|
|
9
|
-
import 'ohash';
|
|
10
8
|
|
|
11
9
|
const schemaOrgAutoImports = [
|
|
12
10
|
{
|
package/dist/svelte.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HeadEntryOptions, ActiveHeadEntry } from 'unhead/types';
|
|
2
|
-
import {
|
|
3
|
-
export { c as defineArticle,
|
|
4
|
-
export { M as MetaInput,
|
|
2
|
+
import { X as UseSchemaOrgInput } from './shared/schema-org.UT1u1UYq.mjs';
|
|
3
|
+
export { c as defineArticle, e as defineBook, g as defineBreadcrumb, h as defineComment, i as defineCourse, j as defineDataset, k as defineEvent, l as defineFoodEstablishment, m as defineHowTo, o as defineImage, p as defineItemList, q as defineJobPosting, s as defineLocalBusiness, t as defineMovie, u as defineMusicAlbum, v as defineMusicGroup, w as defineMusicPlaylist, x as defineMusicRecording, A as defineOrganization, B as definePerson, D as definePodcastEpisode, E as definePodcastSeason, F as definePodcastSeries, G as defineProduct, H as defineQuestion, J as defineRecipe, K as defineReview, M as defineService, N as defineSoftwareApp, O as defineTVEpisode, P as defineTVSeason, Q as defineTVSeries, R as defineVideo, T as defineWebPage, U as defineWebSite } from './shared/schema-org.UT1u1UYq.mjs';
|
|
4
|
+
export { M as MetaInput, U as UserConfig } from './shared/schema-org.CFcsqFfN.mjs';
|
|
5
5
|
|
|
6
6
|
declare function useSchemaOrg(input?: UseSchemaOrgInput, options?: HeadEntryOptions): ActiveHeadEntry<UseSchemaOrgInput>;
|
|
7
7
|
|
package/dist/svelte.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HeadEntryOptions, ActiveHeadEntry } from 'unhead/types';
|
|
2
|
-
import {
|
|
3
|
-
export { c as defineArticle,
|
|
4
|
-
export { M as MetaInput,
|
|
2
|
+
import { X as UseSchemaOrgInput } from './shared/schema-org.CAKsqzbX.js';
|
|
3
|
+
export { c as defineArticle, e as defineBook, g as defineBreadcrumb, h as defineComment, i as defineCourse, j as defineDataset, k as defineEvent, l as defineFoodEstablishment, m as defineHowTo, o as defineImage, p as defineItemList, q as defineJobPosting, s as defineLocalBusiness, t as defineMovie, u as defineMusicAlbum, v as defineMusicGroup, w as defineMusicPlaylist, x as defineMusicRecording, A as defineOrganization, B as definePerson, D as definePodcastEpisode, E as definePodcastSeason, F as definePodcastSeries, G as defineProduct, H as defineQuestion, J as defineRecipe, K as defineReview, M as defineService, N as defineSoftwareApp, O as defineTVEpisode, P as defineTVSeason, Q as defineTVSeries, R as defineVideo, T as defineWebPage, U as defineWebSite } from './shared/schema-org.CAKsqzbX.js';
|
|
4
|
+
export { M as MetaInput, U as UserConfig } from './shared/schema-org.CFcsqFfN.js';
|
|
5
5
|
|
|
6
6
|
declare function useSchemaOrg(input?: UseSchemaOrgInput, options?: HeadEntryOptions): ActiveHeadEntry<UseSchemaOrgInput>;
|
|
7
7
|
|
package/dist/svelte.mjs
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import { useUnhead, useHead } from '@unhead/svelte';
|
|
2
|
-
import { s as schemaAutoImports } from './shared/schema-org.
|
|
3
|
-
import {
|
|
4
|
-
export {
|
|
5
|
-
import 'defu';
|
|
2
|
+
import { s as schemaAutoImports } from './shared/schema-org.CHbRCiep.mjs';
|
|
3
|
+
import { U as UnheadSchemaOrg, a3 as normalizeSchemaOrgInput } from './shared/schema-org.Cp6bpwL2.mjs';
|
|
4
|
+
export { i as defineArticle, j as defineBook, l as defineBreadcrumb, n as defineComment, o as defineCourse, p as defineDataset, q as defineEvent, s as defineFoodEstablishment, t as defineHowTo, v as defineImage, w as defineItemList, x as defineJobPosting, z as defineLocalBusiness, A as defineMovie, B as defineMusicAlbum, C as defineMusicGroup, D as defineMusicPlaylist, E as defineMusicRecording, H as defineOrganization, I as definePerson, K as definePodcastEpisode, L as definePodcastSeason, M as definePodcastSeries, N as defineProduct, O as defineQuestion, R as defineRecipe, T as defineReview, W as defineService, X as defineSoftwareApp, Y as defineTVEpisode, Z as defineTVSeason, _ as defineTVSeries, $ as defineVideo, a1 as defineWebPage, a2 as defineWebSite } from './shared/schema-org.Cp6bpwL2.mjs';
|
|
6
5
|
import 'unhead/plugins';
|
|
7
6
|
import 'unhead/utils';
|
|
8
7
|
import 'ufo';
|
|
9
|
-
import 'ohash';
|
|
10
8
|
|
|
11
9
|
function useSchemaOrg(input = [], options = {}) {
|
|
12
10
|
const unhead = options.head || useUnhead();
|
package/dist/vue.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { P as PluginSchemaOrg, S as SchemaOrgUnheadPlugin } from './shared/schema-org.oFHFm6my.mjs';
|
|
2
2
|
import { ComponentResolver } from 'unplugin-vue-components';
|
|
3
3
|
import { defineComponent } from 'vue';
|
|
4
|
-
import {
|
|
5
|
-
export { M as MetaInput,
|
|
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
6
|
import { DeepResolvableProperties, UseHeadOptions } from '@unhead/vue';
|
|
7
7
|
import { ActiveHeadEntry } from 'unhead/types';
|
|
8
8
|
|
package/dist/vue.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { P as PluginSchemaOrg, S as SchemaOrgUnheadPlugin } from './shared/schema-org.BR4WcSqZ.js';
|
|
2
2
|
import { ComponentResolver } from 'unplugin-vue-components';
|
|
3
3
|
import { defineComponent } from 'vue';
|
|
4
|
-
import {
|
|
5
|
-
export { M as MetaInput,
|
|
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
6
|
import { DeepResolvableProperties, UseHeadOptions } from '@unhead/vue';
|
|
7
7
|
import { ActiveHeadEntry } from 'unhead/types';
|
|
8
8
|
|
package/dist/vue.mjs
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
3
|
-
import { s as schemaAutoImports } from './shared/schema-org.
|
|
4
|
-
import { defineComponent, ref, computed, unref, h } from 'vue';
|
|
1
|
+
import { U as UnheadSchemaOrg, a3 as normalizeSchemaOrgInput } from './shared/schema-org.Cp6bpwL2.mjs';
|
|
2
|
+
export { P as PluginSchemaOrg, S as SchemaOrgUnheadPlugin } from './shared/schema-org.Cp6bpwL2.mjs';
|
|
3
|
+
import { s as schemaAutoImports } from './shared/schema-org.CHbRCiep.mjs';
|
|
4
|
+
import { defineComponent, ref, computed, unref, h, isRef } from 'vue';
|
|
5
5
|
import { injectHead, useHead } from '@unhead/vue';
|
|
6
|
-
import 'defu';
|
|
7
6
|
import 'unhead/plugins';
|
|
8
7
|
import 'unhead/utils';
|
|
9
8
|
import 'ufo';
|
|
10
|
-
import 'ohash';
|
|
11
9
|
|
|
12
10
|
const schemaOrgAutoImports = [
|
|
13
11
|
{
|
|
@@ -144,7 +142,8 @@ const SchemaOrgSoftwareApp = /* @__PURE__ */ defineSchemaOrgComponent("SchemaOrg
|
|
|
144
142
|
function provideResolver(input, resolver) {
|
|
145
143
|
if (!input)
|
|
146
144
|
input = {};
|
|
147
|
-
input.
|
|
145
|
+
const target = isRef(input) ? input.value : input;
|
|
146
|
+
target._resolver = resolver;
|
|
148
147
|
return input;
|
|
149
148
|
}
|
|
150
149
|
function defineAddress(input) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unhead/schema-org",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.1.1",
|
|
5
5
|
"description": "Unhead Schema.org for Simple and Automated Google Rich Results",
|
|
6
6
|
"author": "Harlan Wilton <harlan@harlanzw.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -71,10 +71,10 @@
|
|
|
71
71
|
"dist"
|
|
72
72
|
],
|
|
73
73
|
"peerDependencies": {
|
|
74
|
-
"@unhead/
|
|
75
|
-
"@unhead/
|
|
76
|
-
"@unhead/svelte": "2.
|
|
77
|
-
"@unhead/vue": "2.
|
|
74
|
+
"@unhead/solid-js": "2.1.1",
|
|
75
|
+
"@unhead/react": "2.1.1",
|
|
76
|
+
"@unhead/svelte": "2.1.1",
|
|
77
|
+
"@unhead/vue": "2.1.1"
|
|
78
78
|
},
|
|
79
79
|
"peerDependenciesMeta": {
|
|
80
80
|
"@unhead/react": {
|
|
@@ -91,18 +91,16 @@
|
|
|
91
91
|
}
|
|
92
92
|
},
|
|
93
93
|
"dependencies": {
|
|
94
|
-
"defu": "^6.1.4",
|
|
95
|
-
"ohash": "^2.0.11",
|
|
96
94
|
"ufo": "^1.6.1",
|
|
97
|
-
"unhead": "2.
|
|
95
|
+
"unhead": "2.1.1"
|
|
98
96
|
},
|
|
99
97
|
"devDependencies": {
|
|
100
|
-
"unplugin-vue-components": "^
|
|
101
|
-
"@unhead/react": "2.
|
|
102
|
-
"@unhead/solid-js": "2.
|
|
103
|
-
"@unhead/svelte": "2.
|
|
104
|
-
"@unhead/vue": "2.
|
|
105
|
-
"unhead": "2.
|
|
98
|
+
"unplugin-vue-components": "^30.0.0",
|
|
99
|
+
"@unhead/react": "2.1.1",
|
|
100
|
+
"@unhead/solid-js": "2.1.1",
|
|
101
|
+
"@unhead/svelte": "2.1.1",
|
|
102
|
+
"@unhead/vue": "2.1.1",
|
|
103
|
+
"unhead": "2.1.1"
|
|
106
104
|
},
|
|
107
105
|
"build": {
|
|
108
106
|
"external": [
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { aA as PostalAddress, ay as PostalAddressStrict, az as PostalAddressName, e as AggregateOffer, h as AggregateRating, k as Article, t as BreadcrumbList, w as Comment, F as Event, Q as FoodEstablishment, L as VirtualLocation, J as Place, X as HowTo, $ as HowToStep, a4 as ImageObject, aa as JobPosting, ag as LocalBusiness, am as Offer, ap as OpeningHoursSpecification, as as Organization, av as Person, aD as Product, aH as Question, aN as Recipe, aS as Review, aY as VideoObject, a$ as WebPage, b6 as WebSite, m as Book, z as Course, a7 as ItemList, ad as ListItem, aj as Movie, ba as SearchAction, b3 as ReadAction, aV as SoftwareApp, o as BookEdition, A as Arrayable, T as Thing } from './schema-org.D5CDiwX5.js';
|
|
2
|
-
import { Unhead, HeadEntryOptions, ActiveHeadEntry } from 'unhead/types';
|
|
3
|
-
|
|
4
|
-
declare function defineAddress<T extends Record<string, any>>(input?: PostalAddress & T): (PostalAddressStrict & T) | (PostalAddressName & T);
|
|
5
|
-
declare function defineAggregateOffer<T extends Record<string, any>>(input?: AggregateOffer & T): AggregateOffer & T;
|
|
6
|
-
declare function defineAggregateRating<T extends Record<string, any>>(input?: AggregateRating & T): AggregateRating & T;
|
|
7
|
-
declare function defineArticle<T extends Record<string, any>>(input?: Article & T): Article & T;
|
|
8
|
-
declare function defineBreadcrumb<T extends Record<string, any>>(input?: BreadcrumbList & T): BreadcrumbList & T;
|
|
9
|
-
declare function defineComment<T extends Record<string, any>>(input?: Comment & T): Comment & T;
|
|
10
|
-
declare function defineEvent<T extends Record<string, any>>(input?: Event & T): Event & T;
|
|
11
|
-
declare function defineFoodEstablishment<T extends Record<string, any>>(input?: FoodEstablishment & T): FoodEstablishment & T;
|
|
12
|
-
declare function defineVirtualLocation<T extends Record<string, any>>(input?: VirtualLocation & T): VirtualLocation & T;
|
|
13
|
-
declare function definePlace<T extends Record<string, any>>(input?: Place & T): Place & T;
|
|
14
|
-
declare function defineHowTo<T extends Record<string, any>>(input?: HowTo & T): HowTo & T;
|
|
15
|
-
declare function defineHowToStep<T extends Record<string, any>>(input?: HowToStep & T): HowToStep & T;
|
|
16
|
-
declare function defineImage<T extends Record<string, any>>(input?: ImageObject & T): ImageObject & T;
|
|
17
|
-
declare function defineJobPosting<T extends Record<string, any>>(input?: JobPosting & T): JobPosting & T;
|
|
18
|
-
declare function defineLocalBusiness<T extends Record<string, any>>(input?: LocalBusiness & T): LocalBusiness & T;
|
|
19
|
-
declare function defineOffer<T extends Record<string, any>>(input?: Offer & T): Offer & T;
|
|
20
|
-
declare function defineOpeningHours<T extends Record<string, any>>(input?: OpeningHoursSpecification & T): OpeningHoursSpecification & T;
|
|
21
|
-
declare function defineOrganization<T extends Record<string, any>>(input?: Organization & T): Organization & T;
|
|
22
|
-
declare function definePerson<T extends Record<string, any>>(input?: Person & T): Person & T;
|
|
23
|
-
declare function defineProduct<T extends Record<string, any>>(input?: Product & T): Product & T;
|
|
24
|
-
declare function defineQuestion<T extends Record<string, any>>(input?: Question & T): Question & T;
|
|
25
|
-
declare function defineRecipe<T extends Record<string, any>>(input?: Recipe & T): Recipe & T;
|
|
26
|
-
declare function defineReview<T extends Record<string, any>>(input?: Review & T): Review & T;
|
|
27
|
-
declare function defineVideo<T extends Record<string, any>>(input?: VideoObject & T): VideoObject & T;
|
|
28
|
-
declare function defineWebPage<T extends Record<string, any>>(input?: WebPage & T): WebPage & T;
|
|
29
|
-
declare function defineWebSite<T extends Record<string, any>>(input?: WebSite & T): WebSite & T;
|
|
30
|
-
declare function defineBook<T extends Record<string, any>>(input?: Book & T): Book & T;
|
|
31
|
-
declare function defineCourse<T extends Record<string, any>>(input?: Course & T): Course & T;
|
|
32
|
-
declare function defineItemList<T extends Record<string, any>>(input?: ItemList & T): ItemList & T;
|
|
33
|
-
declare function defineListItem<T extends Record<string, any>>(input?: ListItem & T): ListItem & T;
|
|
34
|
-
declare function defineMovie<T extends Record<string, any>>(input?: Movie & T): Movie & T;
|
|
35
|
-
declare function defineSearchAction<T extends Record<string, any>>(input?: SearchAction & T): SearchAction & T;
|
|
36
|
-
declare function defineReadAction<T extends Record<string, any>>(input?: ReadAction & T): ReadAction & T;
|
|
37
|
-
declare function defineSoftwareApp<T extends Record<string, any>>(input?: SoftwareApp & T): SoftwareApp & T;
|
|
38
|
-
declare function defineBookEdition<T extends Record<string, any>>(input?: BookEdition & T): BookEdition & T;
|
|
39
|
-
type UseSchemaOrgInput = Arrayable<Thing | Record<string, any>>;
|
|
40
|
-
declare function normalizeSchemaOrgInput<T extends UseSchemaOrgInput>(input: T): T;
|
|
41
|
-
declare function useSchemaOrg(unhead: Unhead<any>, input?: UseSchemaOrgInput, options?: HeadEntryOptions): ActiveHeadEntry<UseSchemaOrgInput>;
|
|
42
|
-
|
|
43
|
-
export { defineBook as A, defineCourse as B, defineItemList as C, defineListItem as D, defineMovie as E, defineSearchAction as F, defineReadAction as G, defineSoftwareApp as H, defineBookEdition as I, normalizeSchemaOrgInput as J, useSchemaOrg as K, defineAggregateOffer as a, defineAggregateRating as b, defineArticle as c, defineAddress as d, defineBreadcrumb as e, defineComment as f, defineEvent as g, defineFoodEstablishment as h, defineVirtualLocation as i, definePlace as j, defineHowTo as k, defineHowToStep as l, defineImage as m, defineJobPosting as n, defineLocalBusiness as o, defineOffer as p, defineOpeningHours as q, defineOrganization as r, definePerson as s, defineProduct as t, defineQuestion as u, defineRecipe as v, defineReview as w, defineVideo as x, defineWebPage as y, defineWebSite as z };
|
|
44
|
-
export type { UseSchemaOrgInput as U };
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { aA as PostalAddress, ay as PostalAddressStrict, az as PostalAddressName, e as AggregateOffer, h as AggregateRating, k as Article, t as BreadcrumbList, w as Comment, F as Event, Q as FoodEstablishment, L as VirtualLocation, J as Place, X as HowTo, $ as HowToStep, a4 as ImageObject, aa as JobPosting, ag as LocalBusiness, am as Offer, ap as OpeningHoursSpecification, as as Organization, av as Person, aD as Product, aH as Question, aN as Recipe, aS as Review, aY as VideoObject, a$ as WebPage, b6 as WebSite, m as Book, z as Course, a7 as ItemList, ad as ListItem, aj as Movie, ba as SearchAction, b3 as ReadAction, aV as SoftwareApp, o as BookEdition, A as Arrayable, T as Thing } from './schema-org.D5CDiwX5.mjs';
|
|
2
|
-
import { Unhead, HeadEntryOptions, ActiveHeadEntry } from 'unhead/types';
|
|
3
|
-
|
|
4
|
-
declare function defineAddress<T extends Record<string, any>>(input?: PostalAddress & T): (PostalAddressStrict & T) | (PostalAddressName & T);
|
|
5
|
-
declare function defineAggregateOffer<T extends Record<string, any>>(input?: AggregateOffer & T): AggregateOffer & T;
|
|
6
|
-
declare function defineAggregateRating<T extends Record<string, any>>(input?: AggregateRating & T): AggregateRating & T;
|
|
7
|
-
declare function defineArticle<T extends Record<string, any>>(input?: Article & T): Article & T;
|
|
8
|
-
declare function defineBreadcrumb<T extends Record<string, any>>(input?: BreadcrumbList & T): BreadcrumbList & T;
|
|
9
|
-
declare function defineComment<T extends Record<string, any>>(input?: Comment & T): Comment & T;
|
|
10
|
-
declare function defineEvent<T extends Record<string, any>>(input?: Event & T): Event & T;
|
|
11
|
-
declare function defineFoodEstablishment<T extends Record<string, any>>(input?: FoodEstablishment & T): FoodEstablishment & T;
|
|
12
|
-
declare function defineVirtualLocation<T extends Record<string, any>>(input?: VirtualLocation & T): VirtualLocation & T;
|
|
13
|
-
declare function definePlace<T extends Record<string, any>>(input?: Place & T): Place & T;
|
|
14
|
-
declare function defineHowTo<T extends Record<string, any>>(input?: HowTo & T): HowTo & T;
|
|
15
|
-
declare function defineHowToStep<T extends Record<string, any>>(input?: HowToStep & T): HowToStep & T;
|
|
16
|
-
declare function defineImage<T extends Record<string, any>>(input?: ImageObject & T): ImageObject & T;
|
|
17
|
-
declare function defineJobPosting<T extends Record<string, any>>(input?: JobPosting & T): JobPosting & T;
|
|
18
|
-
declare function defineLocalBusiness<T extends Record<string, any>>(input?: LocalBusiness & T): LocalBusiness & T;
|
|
19
|
-
declare function defineOffer<T extends Record<string, any>>(input?: Offer & T): Offer & T;
|
|
20
|
-
declare function defineOpeningHours<T extends Record<string, any>>(input?: OpeningHoursSpecification & T): OpeningHoursSpecification & T;
|
|
21
|
-
declare function defineOrganization<T extends Record<string, any>>(input?: Organization & T): Organization & T;
|
|
22
|
-
declare function definePerson<T extends Record<string, any>>(input?: Person & T): Person & T;
|
|
23
|
-
declare function defineProduct<T extends Record<string, any>>(input?: Product & T): Product & T;
|
|
24
|
-
declare function defineQuestion<T extends Record<string, any>>(input?: Question & T): Question & T;
|
|
25
|
-
declare function defineRecipe<T extends Record<string, any>>(input?: Recipe & T): Recipe & T;
|
|
26
|
-
declare function defineReview<T extends Record<string, any>>(input?: Review & T): Review & T;
|
|
27
|
-
declare function defineVideo<T extends Record<string, any>>(input?: VideoObject & T): VideoObject & T;
|
|
28
|
-
declare function defineWebPage<T extends Record<string, any>>(input?: WebPage & T): WebPage & T;
|
|
29
|
-
declare function defineWebSite<T extends Record<string, any>>(input?: WebSite & T): WebSite & T;
|
|
30
|
-
declare function defineBook<T extends Record<string, any>>(input?: Book & T): Book & T;
|
|
31
|
-
declare function defineCourse<T extends Record<string, any>>(input?: Course & T): Course & T;
|
|
32
|
-
declare function defineItemList<T extends Record<string, any>>(input?: ItemList & T): ItemList & T;
|
|
33
|
-
declare function defineListItem<T extends Record<string, any>>(input?: ListItem & T): ListItem & T;
|
|
34
|
-
declare function defineMovie<T extends Record<string, any>>(input?: Movie & T): Movie & T;
|
|
35
|
-
declare function defineSearchAction<T extends Record<string, any>>(input?: SearchAction & T): SearchAction & T;
|
|
36
|
-
declare function defineReadAction<T extends Record<string, any>>(input?: ReadAction & T): ReadAction & T;
|
|
37
|
-
declare function defineSoftwareApp<T extends Record<string, any>>(input?: SoftwareApp & T): SoftwareApp & T;
|
|
38
|
-
declare function defineBookEdition<T extends Record<string, any>>(input?: BookEdition & T): BookEdition & T;
|
|
39
|
-
type UseSchemaOrgInput = Arrayable<Thing | Record<string, any>>;
|
|
40
|
-
declare function normalizeSchemaOrgInput<T extends UseSchemaOrgInput>(input: T): T;
|
|
41
|
-
declare function useSchemaOrg(unhead: Unhead<any>, input?: UseSchemaOrgInput, options?: HeadEntryOptions): ActiveHeadEntry<UseSchemaOrgInput>;
|
|
42
|
-
|
|
43
|
-
export { defineBook as A, defineCourse as B, defineItemList as C, defineListItem as D, defineMovie as E, defineSearchAction as F, defineReadAction as G, defineSoftwareApp as H, defineBookEdition as I, normalizeSchemaOrgInput as J, useSchemaOrg as K, defineAggregateOffer as a, defineAggregateRating as b, defineArticle as c, defineAddress as d, defineBreadcrumb as e, defineComment as f, defineEvent as g, defineFoodEstablishment as h, defineVirtualLocation as i, definePlace as j, defineHowTo as k, defineHowToStep as l, defineImage as m, defineJobPosting as n, defineLocalBusiness as o, defineOffer as p, defineOpeningHours as q, defineOrganization as r, definePerson as s, defineProduct as t, defineQuestion as u, defineRecipe as v, defineReview as w, defineVideo as x, defineWebPage as y, defineWebSite as z };
|
|
44
|
-
export type { UseSchemaOrgInput as U };
|