@unhead/schema-org 2.0.0-alpha.2 → 2.0.0-alpha.21
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/index.d.mts +6 -43
- package/dist/index.d.ts +6 -43
- package/dist/index.mjs +3 -133
- package/dist/react.d.mts +13 -0
- package/dist/react.d.ts +13 -0
- package/dist/react.mjs +29 -0
- package/dist/shared/{schema-org.79PF9OEn.mjs → schema-org.BxLItFmu.mjs} +230 -85
- package/dist/shared/schema-org.C2ZsOrzt.d.ts +20 -0
- package/dist/shared/schema-org.CKJLadAI.d.mts +43 -0
- package/dist/shared/{schema-org.D_ha4uKf.d.cts → schema-org.CdY0-o8g.d.mts} +1 -19
- package/dist/shared/{schema-org.D_ha4uKf.d.mts → schema-org.CdY0-o8g.d.ts} +1 -19
- package/dist/shared/schema-org.De0W-DRU.d.ts +43 -0
- package/dist/shared/schema-org.TfU_rjvo.d.mts +20 -0
- package/dist/shared/schema-org.q010LqYD.mjs +40 -0
- package/dist/solid-js.d.mts +13 -0
- package/dist/solid-js.d.ts +13 -0
- package/dist/solid-js.mjs +29 -0
- package/dist/svelte.d.mts +13 -0
- package/dist/svelte.d.ts +13 -0
- package/dist/svelte.mjs +26 -0
- package/dist/vue.d.mts +43 -51
- package/dist/vue.d.ts +43 -51
- package/dist/vue.mjs +13 -54
- package/package.json +54 -16
- package/react.d.ts +1 -0
- package/solid-js.d.ts +1 -0
- package/svelte.d.ts +1 -0
- package/dist/index.cjs +0 -229
- package/dist/index.d.cts +0 -74
- package/dist/shared/schema-org.D-L8HzUn.cjs +0 -1611
- package/dist/shared/schema-org.D_ha4uKf.d.ts +0 -1642
- package/dist/vue.cjs +0 -371
- package/dist/vue.d.cts +0 -95
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { HeadEntryOptions, ActiveHeadEntry } from 'unhead/types';
|
|
2
|
+
import { U as UseSchemaOrgInput } from './shared/schema-org.CKJLadAI.mjs';
|
|
3
|
+
export { c as defineArticle, A as defineBook, e as defineBreadcrumb, f as defineComment, B as defineCourse, g as defineEvent, h as defineFoodEstablishment, k as defineHowTo, m as defineImage, C as defineItemList, n as defineJobPosting, o as defineLocalBusiness, E as defineMovie, r as defineOrganization, s as definePerson, t as defineProduct, u as defineQuestion, v as defineRecipe, w as defineReview, H as defineSoftwareApp, x as defineVideo, y as defineWebPage, z as defineWebSite } from './shared/schema-org.CKJLadAI.mjs';
|
|
4
|
+
export { M as MetaInput, bf as UserConfig } from './shared/schema-org.CdY0-o8g.mjs';
|
|
5
|
+
|
|
6
|
+
declare const schemaOrgAutoImports: {
|
|
7
|
+
from: string;
|
|
8
|
+
imports: string[];
|
|
9
|
+
}[];
|
|
10
|
+
|
|
11
|
+
declare function useSchemaOrg(input?: UseSchemaOrgInput, options?: HeadEntryOptions): ActiveHeadEntry<UseSchemaOrgInput>;
|
|
12
|
+
|
|
13
|
+
export { schemaOrgAutoImports, useSchemaOrg };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { HeadEntryOptions, ActiveHeadEntry } from 'unhead/types';
|
|
2
|
+
import { U as UseSchemaOrgInput } from './shared/schema-org.De0W-DRU.js';
|
|
3
|
+
export { c as defineArticle, A as defineBook, e as defineBreadcrumb, f as defineComment, B as defineCourse, g as defineEvent, h as defineFoodEstablishment, k as defineHowTo, m as defineImage, C as defineItemList, n as defineJobPosting, o as defineLocalBusiness, E as defineMovie, r as defineOrganization, s as definePerson, t as defineProduct, u as defineQuestion, v as defineRecipe, w as defineReview, H as defineSoftwareApp, x as defineVideo, y as defineWebPage, z as defineWebSite } from './shared/schema-org.De0W-DRU.js';
|
|
4
|
+
export { M as MetaInput, bf as UserConfig } from './shared/schema-org.CdY0-o8g.js';
|
|
5
|
+
|
|
6
|
+
declare const schemaOrgAutoImports: {
|
|
7
|
+
from: string;
|
|
8
|
+
imports: string[];
|
|
9
|
+
}[];
|
|
10
|
+
|
|
11
|
+
declare function useSchemaOrg(input?: UseSchemaOrgInput, options?: HeadEntryOptions): ActiveHeadEntry<UseSchemaOrgInput>;
|
|
12
|
+
|
|
13
|
+
export { schemaOrgAutoImports, useSchemaOrg };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { useUnhead, useHead } from '@unhead/solid-js';
|
|
2
|
+
import { s as schemaAutoImports } from './shared/schema-org.q010LqYD.mjs';
|
|
3
|
+
import { a0 as UnheadSchemaOrg, aC as normalizeSchemaOrgInput } from './shared/schema-org.BxLItFmu.mjs';
|
|
4
|
+
export { a6 as defineArticle, at as defineBook, a7 as defineBreadcrumb, a8 as defineComment, au as defineCourse, a9 as defineEvent, aa as defineFoodEstablishment, ad as defineHowTo, af as defineImage, av as defineItemList, ag as defineJobPosting, ah as defineLocalBusiness, ax as defineMovie, ak as defineOrganization, al as definePerson, am as defineProduct, an as defineQuestion, ao as defineRecipe, ap as defineReview, aA as defineSoftwareApp, aq as defineVideo, ar as defineWebPage, as as defineWebSite } from './shared/schema-org.BxLItFmu.mjs';
|
|
5
|
+
import 'defu';
|
|
6
|
+
import 'unhead/plugins';
|
|
7
|
+
import 'unhead/utils';
|
|
8
|
+
import 'ufo';
|
|
9
|
+
import 'ohash';
|
|
10
|
+
|
|
11
|
+
const schemaOrgAutoImports = [
|
|
12
|
+
{
|
|
13
|
+
from: "@unhead/schema-org/solid-js",
|
|
14
|
+
imports: schemaAutoImports
|
|
15
|
+
}
|
|
16
|
+
];
|
|
17
|
+
function useSchemaOrg(input = [], options = {}) {
|
|
18
|
+
const unhead = options.head || useUnhead();
|
|
19
|
+
unhead.use(UnheadSchemaOrg());
|
|
20
|
+
const entry = useHead(normalizeSchemaOrgInput(input), options);
|
|
21
|
+
const corePatch = entry.patch;
|
|
22
|
+
if (!entry.__patched) {
|
|
23
|
+
entry.patch = (input2) => corePatch(normalizeSchemaOrgInput(input2));
|
|
24
|
+
entry.__patched = true;
|
|
25
|
+
}
|
|
26
|
+
return entry;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export { schemaOrgAutoImports, useSchemaOrg };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { HeadEntryOptions, ActiveHeadEntry } from 'unhead/types';
|
|
2
|
+
import { U as UseSchemaOrgInput } from './shared/schema-org.CKJLadAI.mjs';
|
|
3
|
+
export { c as defineArticle, A as defineBook, e as defineBreadcrumb, f as defineComment, B as defineCourse, g as defineEvent, h as defineFoodEstablishment, k as defineHowTo, m as defineImage, C as defineItemList, n as defineJobPosting, o as defineLocalBusiness, E as defineMovie, r as defineOrganization, s as definePerson, t as defineProduct, u as defineQuestion, v as defineRecipe, w as defineReview, H as defineSoftwareApp, x as defineVideo, y as defineWebPage, z as defineWebSite } from './shared/schema-org.CKJLadAI.mjs';
|
|
4
|
+
export { M as MetaInput, bf as UserConfig } from './shared/schema-org.CdY0-o8g.mjs';
|
|
5
|
+
|
|
6
|
+
declare function useSchemaOrg(input?: UseSchemaOrgInput, options?: HeadEntryOptions): ActiveHeadEntry<UseSchemaOrgInput>;
|
|
7
|
+
|
|
8
|
+
declare const schemaOrgAutoImports: {
|
|
9
|
+
from: string;
|
|
10
|
+
imports: string[];
|
|
11
|
+
}[];
|
|
12
|
+
|
|
13
|
+
export { schemaOrgAutoImports, useSchemaOrg };
|
package/dist/svelte.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { HeadEntryOptions, ActiveHeadEntry } from 'unhead/types';
|
|
2
|
+
import { U as UseSchemaOrgInput } from './shared/schema-org.De0W-DRU.js';
|
|
3
|
+
export { c as defineArticle, A as defineBook, e as defineBreadcrumb, f as defineComment, B as defineCourse, g as defineEvent, h as defineFoodEstablishment, k as defineHowTo, m as defineImage, C as defineItemList, n as defineJobPosting, o as defineLocalBusiness, E as defineMovie, r as defineOrganization, s as definePerson, t as defineProduct, u as defineQuestion, v as defineRecipe, w as defineReview, H as defineSoftwareApp, x as defineVideo, y as defineWebPage, z as defineWebSite } from './shared/schema-org.De0W-DRU.js';
|
|
4
|
+
export { M as MetaInput, bf as UserConfig } from './shared/schema-org.CdY0-o8g.js';
|
|
5
|
+
|
|
6
|
+
declare function useSchemaOrg(input?: UseSchemaOrgInput, options?: HeadEntryOptions): ActiveHeadEntry<UseSchemaOrgInput>;
|
|
7
|
+
|
|
8
|
+
declare const schemaOrgAutoImports: {
|
|
9
|
+
from: string;
|
|
10
|
+
imports: string[];
|
|
11
|
+
}[];
|
|
12
|
+
|
|
13
|
+
export { schemaOrgAutoImports, useSchemaOrg };
|
package/dist/svelte.mjs
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { useUnhead, useHead } from '@unhead/svelte';
|
|
2
|
+
import { s as schemaAutoImports } from './shared/schema-org.q010LqYD.mjs';
|
|
3
|
+
import { a0 as UnheadSchemaOrg, aC as normalizeSchemaOrgInput } from './shared/schema-org.BxLItFmu.mjs';
|
|
4
|
+
export { a6 as defineArticle, at as defineBook, a7 as defineBreadcrumb, a8 as defineComment, au as defineCourse, a9 as defineEvent, aa as defineFoodEstablishment, ad as defineHowTo, af as defineImage, av as defineItemList, ag as defineJobPosting, ah as defineLocalBusiness, ax as defineMovie, ak as defineOrganization, al as definePerson, am as defineProduct, an as defineQuestion, ao as defineRecipe, ap as defineReview, aA as defineSoftwareApp, aq as defineVideo, ar as defineWebPage, as as defineWebSite } from './shared/schema-org.BxLItFmu.mjs';
|
|
5
|
+
import 'defu';
|
|
6
|
+
import 'unhead/plugins';
|
|
7
|
+
import 'unhead/utils';
|
|
8
|
+
import 'ufo';
|
|
9
|
+
import 'ohash';
|
|
10
|
+
|
|
11
|
+
function useSchemaOrg(input = [], options = {}) {
|
|
12
|
+
const unhead = options.head || useUnhead();
|
|
13
|
+
unhead.use(UnheadSchemaOrg());
|
|
14
|
+
const entry = useHead(normalizeSchemaOrgInput(input), options);
|
|
15
|
+
const corePatch = entry.patch;
|
|
16
|
+
entry.patch = (input2) => corePatch(normalizeSchemaOrgInput(input2));
|
|
17
|
+
return entry;
|
|
18
|
+
}
|
|
19
|
+
const schemaOrgAutoImports = [
|
|
20
|
+
{
|
|
21
|
+
from: "@unhead/schema-org/svelte",
|
|
22
|
+
imports: schemaAutoImports
|
|
23
|
+
}
|
|
24
|
+
];
|
|
25
|
+
|
|
26
|
+
export { schemaOrgAutoImports, useSchemaOrg };
|
package/dist/vue.d.mts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
export { M as MetaInput, bc as PluginSchemaOrg, bd as SchemaOrgUnheadPlugin, bj as UserConfig } from './shared/schema-org.D_ha4uKf.mjs';
|
|
1
|
+
export { a as PluginSchemaOrg, S as SchemaOrgUnheadPlugin } from './shared/schema-org.TfU_rjvo.mjs';
|
|
3
2
|
import { ComponentResolver } from 'unplugin-vue-components';
|
|
4
3
|
import { defineComponent } from 'vue';
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
7
|
-
import '
|
|
4
|
+
import { ResolvableProperties, UseHeadOptions } from '@unhead/vue';
|
|
5
|
+
import { ActiveHeadEntry } from 'unhead/types';
|
|
6
|
+
import { ay as PostalAddress, 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, aB as Product, aF as Question, aL as Recipe, aQ as Review, aW as VideoObject, aZ as WebPage, b4 as WebSite, m as Book, z as Course, a7 as ItemList, ad as ListItem, aj as Movie, b8 as SearchAction, b1 as ReadAction, aT as SoftwareApp, o as BookEdition, A as Arrayable, T as Thing } from './shared/schema-org.CdY0-o8g.mjs';
|
|
7
|
+
export { M as MetaInput, bf as UserConfig } from './shared/schema-org.CdY0-o8g.mjs';
|
|
8
8
|
|
|
9
9
|
interface SchemaOrgResolverOptions {
|
|
10
10
|
/**
|
|
@@ -14,7 +14,6 @@ interface SchemaOrgResolverOptions {
|
|
|
14
14
|
*/
|
|
15
15
|
prefix?: string;
|
|
16
16
|
}
|
|
17
|
-
declare const schemaAutoImports: string[];
|
|
18
17
|
declare const schemaOrgAutoImports: {
|
|
19
18
|
from: string;
|
|
20
19
|
imports: string[];
|
|
@@ -47,49 +46,42 @@ declare const SchemaOrgItemList: any;
|
|
|
47
46
|
declare const SchemaOrgBook: any;
|
|
48
47
|
declare const SchemaOrgSoftwareApp: any;
|
|
49
48
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
declare function
|
|
54
|
-
declare function
|
|
55
|
-
declare function
|
|
56
|
-
declare function
|
|
57
|
-
declare function
|
|
58
|
-
declare function
|
|
59
|
-
declare function
|
|
60
|
-
declare function
|
|
61
|
-
declare function
|
|
62
|
-
declare function
|
|
63
|
-
declare function
|
|
64
|
-
declare function
|
|
65
|
-
declare function
|
|
66
|
-
declare function
|
|
67
|
-
declare function
|
|
68
|
-
declare function
|
|
69
|
-
declare function
|
|
70
|
-
declare function
|
|
71
|
-
declare function
|
|
72
|
-
declare function
|
|
73
|
-
declare function
|
|
74
|
-
declare function
|
|
75
|
-
declare function
|
|
76
|
-
declare function
|
|
77
|
-
declare function
|
|
78
|
-
declare function
|
|
79
|
-
declare function
|
|
80
|
-
declare function
|
|
81
|
-
declare function
|
|
82
|
-
declare function
|
|
83
|
-
declare function
|
|
84
|
-
declare function
|
|
85
|
-
|
|
86
|
-
declare function
|
|
87
|
-
declare function defineBookEdition<T extends Record<string, any>>(input?: DeepMaybeRef<BookEdition & T>): DeepMaybeRef<BookEdition & T>;
|
|
88
|
-
type UseSchemaOrgInput = Arrayable<DeepMaybeRef<Thing | Record<string, any>>>;
|
|
89
|
-
declare function useSchemaOrg(input: UseSchemaOrgInput): _unhead_vue.ActiveHeadEntry<_unhead_vue.UseHeadInput<{
|
|
90
|
-
script: {
|
|
91
|
-
nodes: UseSchemaOrgInput;
|
|
92
|
-
};
|
|
93
|
-
}>>;
|
|
49
|
+
declare function defineAddress<T extends Record<string, any>>(input?: ResolvableProperties<PostalAddress & T>): ResolvableProperties<PostalAddress & T>;
|
|
50
|
+
declare function defineAggregateOffer<T extends Record<string, any>>(input?: ResolvableProperties<AggregateOffer & T>): ResolvableProperties<AggregateOffer & T>;
|
|
51
|
+
declare function defineAggregateRating<T extends Record<string, any>>(input?: ResolvableProperties<AggregateRating & T>): ResolvableProperties<AggregateRating & T>;
|
|
52
|
+
declare function defineArticle<T extends Record<string, any>>(input?: ResolvableProperties<Article & T>): ResolvableProperties<Article & T>;
|
|
53
|
+
declare function defineBreadcrumb<T extends Record<string, any>>(input?: ResolvableProperties<BreadcrumbList & T>): ResolvableProperties<BreadcrumbList & T>;
|
|
54
|
+
declare function defineComment<T extends Record<string, any>>(input?: ResolvableProperties<Comment & T>): ResolvableProperties<Comment & T>;
|
|
55
|
+
declare function defineEvent<T extends Record<string, any>>(input?: ResolvableProperties<Event & T>): ResolvableProperties<Event & T>;
|
|
56
|
+
declare function defineFoodEstablishment<T extends Record<string, any>>(input?: ResolvableProperties<FoodEstablishment & T>): ResolvableProperties<FoodEstablishment & T>;
|
|
57
|
+
declare function defineVirtualLocation<T extends Record<string, any>>(input?: ResolvableProperties<VirtualLocation & T>): ResolvableProperties<VirtualLocation & T>;
|
|
58
|
+
declare function definePlace<T extends Record<string, any>>(input?: ResolvableProperties<Place & T>): ResolvableProperties<Place & T>;
|
|
59
|
+
declare function defineHowTo<T extends Record<string, any>>(input?: ResolvableProperties<HowTo & T>): ResolvableProperties<HowTo & T>;
|
|
60
|
+
declare function defineHowToStep<T extends Record<string, any>>(input?: ResolvableProperties<HowToStep & T>): ResolvableProperties<HowToStep & T>;
|
|
61
|
+
declare function defineImage<T extends Record<string, any>>(input?: ResolvableProperties<ImageObject & T>): ResolvableProperties<ImageObject & T>;
|
|
62
|
+
declare function defineJobPosting<T extends Record<string, any>>(input?: ResolvableProperties<JobPosting & T>): ResolvableProperties<JobPosting & T>;
|
|
63
|
+
declare function defineLocalBusiness<T extends Record<string, any>>(input?: ResolvableProperties<LocalBusiness & T>): ResolvableProperties<LocalBusiness & T>;
|
|
64
|
+
declare function defineOffer<T extends Record<string, any>>(input?: ResolvableProperties<Offer & T>): ResolvableProperties<Offer & T>;
|
|
65
|
+
declare function defineOpeningHours<T extends Record<string, any>>(input?: ResolvableProperties<OpeningHoursSpecification & T>): ResolvableProperties<OpeningHoursSpecification & T>;
|
|
66
|
+
declare function defineOrganization<T extends Record<string, any>>(input?: ResolvableProperties<Organization & T>): ResolvableProperties<Organization & T>;
|
|
67
|
+
declare function definePerson<T extends Record<string, any>>(input?: ResolvableProperties<Person & T>): ResolvableProperties<Person & T>;
|
|
68
|
+
declare function defineProduct<T extends Record<string, any>>(input?: ResolvableProperties<Product & T>): ResolvableProperties<Product & T>;
|
|
69
|
+
declare function defineQuestion<T extends Record<string, any>>(input?: ResolvableProperties<Question & T>): ResolvableProperties<Question & T>;
|
|
70
|
+
declare function defineRecipe<T extends Record<string, any>>(input?: ResolvableProperties<Recipe & T>): ResolvableProperties<Recipe & T>;
|
|
71
|
+
declare function defineReview<T extends Record<string, any>>(input?: ResolvableProperties<Review & T>): ResolvableProperties<Review & T>;
|
|
72
|
+
declare function defineVideo<T extends Record<string, any>>(input?: ResolvableProperties<VideoObject & T>): ResolvableProperties<VideoObject & T>;
|
|
73
|
+
declare function defineWebPage<T extends Record<string, any>>(input?: ResolvableProperties<WebPage & T>): ResolvableProperties<WebPage & T>;
|
|
74
|
+
declare function defineWebSite<T extends Record<string, any>>(input?: ResolvableProperties<WebSite & T>): ResolvableProperties<WebSite & T>;
|
|
75
|
+
declare function defineBook<T extends Record<string, any>>(input?: ResolvableProperties<Book & T>): ResolvableProperties<Book & T>;
|
|
76
|
+
declare function defineCourse<T extends Record<string, any>>(input?: ResolvableProperties<Course & T>): ResolvableProperties<Course & T>;
|
|
77
|
+
declare function defineItemList<T extends Record<string, any>>(input?: ResolvableProperties<ItemList & T>): ResolvableProperties<ItemList & T>;
|
|
78
|
+
declare function defineListItem<T extends Record<string, any>>(input?: ResolvableProperties<ListItem & T>): ResolvableProperties<ListItem & T>;
|
|
79
|
+
declare function defineMovie<T extends Record<string, any>>(input?: ResolvableProperties<Movie & T>): ResolvableProperties<Movie & T>;
|
|
80
|
+
declare function defineSearchAction<T extends Record<string, any>>(input?: ResolvableProperties<SearchAction & T>): ResolvableProperties<SearchAction & T>;
|
|
81
|
+
declare function defineReadAction<T extends Record<string, any>>(input?: ResolvableProperties<ReadAction & T>): ResolvableProperties<ReadAction & T>;
|
|
82
|
+
declare function defineSoftwareApp<T extends Record<string, any>>(input?: ResolvableProperties<SoftwareApp & T>): ResolvableProperties<SoftwareApp & T>;
|
|
83
|
+
declare function defineBookEdition<T extends Record<string, any>>(input?: ResolvableProperties<BookEdition & T>): ResolvableProperties<BookEdition & T>;
|
|
84
|
+
type UseSchemaOrgInput = Arrayable<ResolvableProperties<Thing | Record<string, any>>>;
|
|
85
|
+
declare function useSchemaOrg(input?: UseSchemaOrgInput, options?: UseHeadOptions): ActiveHeadEntry<UseSchemaOrgInput>;
|
|
94
86
|
|
|
95
|
-
export {
|
|
87
|
+
export { 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, schemaOrgAutoImports, schemaOrgComponents, useSchemaOrg };
|
package/dist/vue.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
export { M as MetaInput, bc as PluginSchemaOrg, bd as SchemaOrgUnheadPlugin, bj as UserConfig } from './shared/schema-org.D_ha4uKf.js';
|
|
1
|
+
export { a as PluginSchemaOrg, S as SchemaOrgUnheadPlugin } from './shared/schema-org.C2ZsOrzt.js';
|
|
3
2
|
import { ComponentResolver } from 'unplugin-vue-components';
|
|
4
3
|
import { defineComponent } from 'vue';
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
7
|
-
import '
|
|
4
|
+
import { ResolvableProperties, UseHeadOptions } from '@unhead/vue';
|
|
5
|
+
import { ActiveHeadEntry } from 'unhead/types';
|
|
6
|
+
import { ay as PostalAddress, 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, aB as Product, aF as Question, aL as Recipe, aQ as Review, aW as VideoObject, aZ as WebPage, b4 as WebSite, m as Book, z as Course, a7 as ItemList, ad as ListItem, aj as Movie, b8 as SearchAction, b1 as ReadAction, aT as SoftwareApp, o as BookEdition, A as Arrayable, T as Thing } from './shared/schema-org.CdY0-o8g.js';
|
|
7
|
+
export { M as MetaInput, bf as UserConfig } from './shared/schema-org.CdY0-o8g.js';
|
|
8
8
|
|
|
9
9
|
interface SchemaOrgResolverOptions {
|
|
10
10
|
/**
|
|
@@ -14,7 +14,6 @@ interface SchemaOrgResolverOptions {
|
|
|
14
14
|
*/
|
|
15
15
|
prefix?: string;
|
|
16
16
|
}
|
|
17
|
-
declare const schemaAutoImports: string[];
|
|
18
17
|
declare const schemaOrgAutoImports: {
|
|
19
18
|
from: string;
|
|
20
19
|
imports: string[];
|
|
@@ -47,49 +46,42 @@ declare const SchemaOrgItemList: any;
|
|
|
47
46
|
declare const SchemaOrgBook: any;
|
|
48
47
|
declare const SchemaOrgSoftwareApp: any;
|
|
49
48
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
declare function
|
|
54
|
-
declare function
|
|
55
|
-
declare function
|
|
56
|
-
declare function
|
|
57
|
-
declare function
|
|
58
|
-
declare function
|
|
59
|
-
declare function
|
|
60
|
-
declare function
|
|
61
|
-
declare function
|
|
62
|
-
declare function
|
|
63
|
-
declare function
|
|
64
|
-
declare function
|
|
65
|
-
declare function
|
|
66
|
-
declare function
|
|
67
|
-
declare function
|
|
68
|
-
declare function
|
|
69
|
-
declare function
|
|
70
|
-
declare function
|
|
71
|
-
declare function
|
|
72
|
-
declare function
|
|
73
|
-
declare function
|
|
74
|
-
declare function
|
|
75
|
-
declare function
|
|
76
|
-
declare function
|
|
77
|
-
declare function
|
|
78
|
-
declare function
|
|
79
|
-
declare function
|
|
80
|
-
declare function
|
|
81
|
-
declare function
|
|
82
|
-
declare function
|
|
83
|
-
declare function
|
|
84
|
-
declare function
|
|
85
|
-
|
|
86
|
-
declare function
|
|
87
|
-
declare function defineBookEdition<T extends Record<string, any>>(input?: DeepMaybeRef<BookEdition & T>): DeepMaybeRef<BookEdition & T>;
|
|
88
|
-
type UseSchemaOrgInput = Arrayable<DeepMaybeRef<Thing | Record<string, any>>>;
|
|
89
|
-
declare function useSchemaOrg(input: UseSchemaOrgInput): _unhead_vue.ActiveHeadEntry<_unhead_vue.UseHeadInput<{
|
|
90
|
-
script: {
|
|
91
|
-
nodes: UseSchemaOrgInput;
|
|
92
|
-
};
|
|
93
|
-
}>>;
|
|
49
|
+
declare function defineAddress<T extends Record<string, any>>(input?: ResolvableProperties<PostalAddress & T>): ResolvableProperties<PostalAddress & T>;
|
|
50
|
+
declare function defineAggregateOffer<T extends Record<string, any>>(input?: ResolvableProperties<AggregateOffer & T>): ResolvableProperties<AggregateOffer & T>;
|
|
51
|
+
declare function defineAggregateRating<T extends Record<string, any>>(input?: ResolvableProperties<AggregateRating & T>): ResolvableProperties<AggregateRating & T>;
|
|
52
|
+
declare function defineArticle<T extends Record<string, any>>(input?: ResolvableProperties<Article & T>): ResolvableProperties<Article & T>;
|
|
53
|
+
declare function defineBreadcrumb<T extends Record<string, any>>(input?: ResolvableProperties<BreadcrumbList & T>): ResolvableProperties<BreadcrumbList & T>;
|
|
54
|
+
declare function defineComment<T extends Record<string, any>>(input?: ResolvableProperties<Comment & T>): ResolvableProperties<Comment & T>;
|
|
55
|
+
declare function defineEvent<T extends Record<string, any>>(input?: ResolvableProperties<Event & T>): ResolvableProperties<Event & T>;
|
|
56
|
+
declare function defineFoodEstablishment<T extends Record<string, any>>(input?: ResolvableProperties<FoodEstablishment & T>): ResolvableProperties<FoodEstablishment & T>;
|
|
57
|
+
declare function defineVirtualLocation<T extends Record<string, any>>(input?: ResolvableProperties<VirtualLocation & T>): ResolvableProperties<VirtualLocation & T>;
|
|
58
|
+
declare function definePlace<T extends Record<string, any>>(input?: ResolvableProperties<Place & T>): ResolvableProperties<Place & T>;
|
|
59
|
+
declare function defineHowTo<T extends Record<string, any>>(input?: ResolvableProperties<HowTo & T>): ResolvableProperties<HowTo & T>;
|
|
60
|
+
declare function defineHowToStep<T extends Record<string, any>>(input?: ResolvableProperties<HowToStep & T>): ResolvableProperties<HowToStep & T>;
|
|
61
|
+
declare function defineImage<T extends Record<string, any>>(input?: ResolvableProperties<ImageObject & T>): ResolvableProperties<ImageObject & T>;
|
|
62
|
+
declare function defineJobPosting<T extends Record<string, any>>(input?: ResolvableProperties<JobPosting & T>): ResolvableProperties<JobPosting & T>;
|
|
63
|
+
declare function defineLocalBusiness<T extends Record<string, any>>(input?: ResolvableProperties<LocalBusiness & T>): ResolvableProperties<LocalBusiness & T>;
|
|
64
|
+
declare function defineOffer<T extends Record<string, any>>(input?: ResolvableProperties<Offer & T>): ResolvableProperties<Offer & T>;
|
|
65
|
+
declare function defineOpeningHours<T extends Record<string, any>>(input?: ResolvableProperties<OpeningHoursSpecification & T>): ResolvableProperties<OpeningHoursSpecification & T>;
|
|
66
|
+
declare function defineOrganization<T extends Record<string, any>>(input?: ResolvableProperties<Organization & T>): ResolvableProperties<Organization & T>;
|
|
67
|
+
declare function definePerson<T extends Record<string, any>>(input?: ResolvableProperties<Person & T>): ResolvableProperties<Person & T>;
|
|
68
|
+
declare function defineProduct<T extends Record<string, any>>(input?: ResolvableProperties<Product & T>): ResolvableProperties<Product & T>;
|
|
69
|
+
declare function defineQuestion<T extends Record<string, any>>(input?: ResolvableProperties<Question & T>): ResolvableProperties<Question & T>;
|
|
70
|
+
declare function defineRecipe<T extends Record<string, any>>(input?: ResolvableProperties<Recipe & T>): ResolvableProperties<Recipe & T>;
|
|
71
|
+
declare function defineReview<T extends Record<string, any>>(input?: ResolvableProperties<Review & T>): ResolvableProperties<Review & T>;
|
|
72
|
+
declare function defineVideo<T extends Record<string, any>>(input?: ResolvableProperties<VideoObject & T>): ResolvableProperties<VideoObject & T>;
|
|
73
|
+
declare function defineWebPage<T extends Record<string, any>>(input?: ResolvableProperties<WebPage & T>): ResolvableProperties<WebPage & T>;
|
|
74
|
+
declare function defineWebSite<T extends Record<string, any>>(input?: ResolvableProperties<WebSite & T>): ResolvableProperties<WebSite & T>;
|
|
75
|
+
declare function defineBook<T extends Record<string, any>>(input?: ResolvableProperties<Book & T>): ResolvableProperties<Book & T>;
|
|
76
|
+
declare function defineCourse<T extends Record<string, any>>(input?: ResolvableProperties<Course & T>): ResolvableProperties<Course & T>;
|
|
77
|
+
declare function defineItemList<T extends Record<string, any>>(input?: ResolvableProperties<ItemList & T>): ResolvableProperties<ItemList & T>;
|
|
78
|
+
declare function defineListItem<T extends Record<string, any>>(input?: ResolvableProperties<ListItem & T>): ResolvableProperties<ListItem & T>;
|
|
79
|
+
declare function defineMovie<T extends Record<string, any>>(input?: ResolvableProperties<Movie & T>): ResolvableProperties<Movie & T>;
|
|
80
|
+
declare function defineSearchAction<T extends Record<string, any>>(input?: ResolvableProperties<SearchAction & T>): ResolvableProperties<SearchAction & T>;
|
|
81
|
+
declare function defineReadAction<T extends Record<string, any>>(input?: ResolvableProperties<ReadAction & T>): ResolvableProperties<ReadAction & T>;
|
|
82
|
+
declare function defineSoftwareApp<T extends Record<string, any>>(input?: ResolvableProperties<SoftwareApp & T>): ResolvableProperties<SoftwareApp & T>;
|
|
83
|
+
declare function defineBookEdition<T extends Record<string, any>>(input?: ResolvableProperties<BookEdition & T>): ResolvableProperties<BookEdition & T>;
|
|
84
|
+
type UseSchemaOrgInput = Arrayable<ResolvableProperties<Thing | Record<string, any>>>;
|
|
85
|
+
declare function useSchemaOrg(input?: UseSchemaOrgInput, options?: UseHeadOptions): ActiveHeadEntry<UseSchemaOrgInput>;
|
|
94
86
|
|
|
95
|
-
export {
|
|
87
|
+
export { 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, schemaOrgAutoImports, schemaOrgComponents, useSchemaOrg };
|
package/dist/vue.mjs
CHANGED
|
@@ -1,50 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { a1 as PluginSchemaOrg, a2 as SchemaOrgUnheadPlugin } from './shared/schema-org.
|
|
1
|
+
import { a0 as UnheadSchemaOrg, aC as normalizeSchemaOrgInput } from './shared/schema-org.BxLItFmu.mjs';
|
|
2
|
+
export { a1 as PluginSchemaOrg, a2 as SchemaOrgUnheadPlugin } from './shared/schema-org.BxLItFmu.mjs';
|
|
3
|
+
import { s as schemaAutoImports } from './shared/schema-org.q010LqYD.mjs';
|
|
3
4
|
import { defineComponent, ref, computed, unref, h } from 'vue';
|
|
4
5
|
import { injectHead, useHead } from '@unhead/vue';
|
|
5
|
-
import '@unhead/shared';
|
|
6
6
|
import 'defu';
|
|
7
|
+
import 'unhead/plugins';
|
|
8
|
+
import 'unhead/utils';
|
|
7
9
|
import 'ufo';
|
|
8
10
|
import 'ohash';
|
|
9
11
|
|
|
10
|
-
const schemaAutoImports = [
|
|
11
|
-
"defineAddress",
|
|
12
|
-
"defineAggregateOffer",
|
|
13
|
-
"defineAggregateRating",
|
|
14
|
-
"defineArticle",
|
|
15
|
-
"defineBook",
|
|
16
|
-
"defineBookEdition",
|
|
17
|
-
"defineBreadcrumb",
|
|
18
|
-
"defineComment",
|
|
19
|
-
"defineCourse",
|
|
20
|
-
"defineEvent",
|
|
21
|
-
"defineFoodEstablishment",
|
|
22
|
-
"defineHowTo",
|
|
23
|
-
"defineHowToStep",
|
|
24
|
-
"defineImage",
|
|
25
|
-
"defineItemList",
|
|
26
|
-
"defineJobPosting",
|
|
27
|
-
"defineListItem",
|
|
28
|
-
"defineLocalBusiness",
|
|
29
|
-
"defineMovie",
|
|
30
|
-
"defineOffer",
|
|
31
|
-
"defineOpeningHours",
|
|
32
|
-
"defineOrganization",
|
|
33
|
-
"definePerson",
|
|
34
|
-
"definePlace",
|
|
35
|
-
"defineProduct",
|
|
36
|
-
"defineQuestion",
|
|
37
|
-
"defineReadAction",
|
|
38
|
-
"defineRecipe",
|
|
39
|
-
"defineReview",
|
|
40
|
-
"defineSearchAction",
|
|
41
|
-
"defineSoftwareApp",
|
|
42
|
-
"defineVideo",
|
|
43
|
-
"defineVirtualLocation",
|
|
44
|
-
"defineWebPage",
|
|
45
|
-
"defineWebSite",
|
|
46
|
-
"useSchemaOrg"
|
|
47
|
-
];
|
|
48
12
|
const schemaOrgAutoImports = [
|
|
49
13
|
{
|
|
50
14
|
from: "@unhead/schema-org/vue",
|
|
@@ -288,18 +252,13 @@ function defineSoftwareApp(input) {
|
|
|
288
252
|
function defineBookEdition(input) {
|
|
289
253
|
return provideResolver(input, "bookEdition");
|
|
290
254
|
}
|
|
291
|
-
function useSchemaOrg(input) {
|
|
292
|
-
const
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
key: "schema-org-graph",
|
|
299
|
-
nodes: input
|
|
300
|
-
}
|
|
301
|
-
]
|
|
302
|
-
});
|
|
255
|
+
function useSchemaOrg(input = [], options = {}) {
|
|
256
|
+
const unhead = options.head || injectHead();
|
|
257
|
+
unhead.use(UnheadSchemaOrg());
|
|
258
|
+
const entry = useHead(normalizeSchemaOrgInput(input), options);
|
|
259
|
+
const corePatch = entry.patch;
|
|
260
|
+
entry.patch = (input2) => corePatch(normalizeSchemaOrgInput(input2));
|
|
261
|
+
return entry;
|
|
303
262
|
}
|
|
304
263
|
|
|
305
|
-
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,
|
|
264
|
+
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 };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unhead/schema-org",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.0.0-alpha.
|
|
4
|
+
"version": "2.0.0-alpha.21",
|
|
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",
|
|
@@ -28,53 +28,91 @@
|
|
|
28
28
|
"exports": {
|
|
29
29
|
".": {
|
|
30
30
|
"types": "./dist/index.d.ts",
|
|
31
|
-
"import": "./dist/index.mjs"
|
|
32
|
-
"require": "./dist/index.cjs"
|
|
31
|
+
"import": "./dist/index.mjs"
|
|
33
32
|
},
|
|
34
33
|
"./vue": {
|
|
35
34
|
"types": "./dist/vue.d.ts",
|
|
36
|
-
"import": "./dist/vue.mjs"
|
|
37
|
-
|
|
35
|
+
"import": "./dist/vue.mjs"
|
|
36
|
+
},
|
|
37
|
+
"./svelte": {
|
|
38
|
+
"types": "./dist/svelte.d.ts",
|
|
39
|
+
"import": "./dist/svelte.mjs"
|
|
40
|
+
},
|
|
41
|
+
"./react": {
|
|
42
|
+
"types": "./dist/react.d.ts",
|
|
43
|
+
"import": "./dist/react.mjs"
|
|
44
|
+
},
|
|
45
|
+
"./solid-js": {
|
|
46
|
+
"types": "./dist/solid-js.d.ts",
|
|
47
|
+
"import": "./dist/solid-js.mjs"
|
|
38
48
|
}
|
|
39
49
|
},
|
|
40
|
-
"main": "dist/index.
|
|
50
|
+
"main": "dist/index.mjs",
|
|
41
51
|
"module": "dist/index.mjs",
|
|
42
52
|
"types": "dist/index.d.ts",
|
|
43
53
|
"typesVersions": {
|
|
44
54
|
"*": {
|
|
45
55
|
"vue": [
|
|
46
56
|
"dist/vue"
|
|
57
|
+
],
|
|
58
|
+
"svelte": [
|
|
59
|
+
"dist/svelte"
|
|
60
|
+
],
|
|
61
|
+
"react": [
|
|
62
|
+
"dist/react"
|
|
63
|
+
],
|
|
64
|
+
"solid-js": [
|
|
65
|
+
"dist/solid-js"
|
|
47
66
|
]
|
|
48
67
|
}
|
|
49
68
|
},
|
|
50
69
|
"files": [
|
|
51
70
|
"dist",
|
|
71
|
+
"react.d.ts",
|
|
72
|
+
"solid-js.d.ts",
|
|
73
|
+
"svelte.d.ts",
|
|
52
74
|
"vue.d.ts"
|
|
53
75
|
],
|
|
54
76
|
"peerDependencies": {
|
|
55
|
-
"@unhead/
|
|
56
|
-
"unhead": "^
|
|
77
|
+
"@unhead/react": "^2",
|
|
78
|
+
"@unhead/solid-js": "^2",
|
|
79
|
+
"@unhead/svelte": "^2",
|
|
80
|
+
"@unhead/vue": "^2",
|
|
81
|
+
"unhead": "^2"
|
|
57
82
|
},
|
|
58
83
|
"peerDependenciesMeta": {
|
|
84
|
+
"@unhead/react": {
|
|
85
|
+
"optional": true
|
|
86
|
+
},
|
|
87
|
+
"@unhead/solid-js": {
|
|
88
|
+
"optional": true
|
|
89
|
+
},
|
|
90
|
+
"@unhead/svelte": {
|
|
91
|
+
"optional": true
|
|
92
|
+
},
|
|
59
93
|
"@unhead/vue": {
|
|
60
94
|
"optional": true
|
|
61
95
|
}
|
|
62
96
|
},
|
|
63
97
|
"dependencies": {
|
|
64
98
|
"defu": "^6.1.4",
|
|
65
|
-
"ohash": "^
|
|
66
|
-
"ufo": "^1.5.4"
|
|
67
|
-
"@unhead/schema": "2.0.0-alpha.2",
|
|
68
|
-
"@unhead/shared": "2.0.0-alpha.2",
|
|
69
|
-
"@unhead/vue": "2.0.0-alpha.2",
|
|
70
|
-
"unhead": "2.0.0-alpha.2"
|
|
99
|
+
"ohash": "^2.0.4",
|
|
100
|
+
"ufo": "^1.5.4"
|
|
71
101
|
},
|
|
72
102
|
"devDependencies": {
|
|
73
|
-
"unplugin-vue-components": "^28.
|
|
103
|
+
"unplugin-vue-components": "^28.4.0",
|
|
104
|
+
"@unhead/react": "2.0.0-alpha.21",
|
|
105
|
+
"@unhead/solid-js": "2.0.0-alpha.21",
|
|
106
|
+
"@unhead/svelte": "2.0.0-alpha.21",
|
|
107
|
+
"@unhead/vue": "2.0.0-alpha.21",
|
|
108
|
+
"unhead": "2.0.0-alpha.21"
|
|
74
109
|
},
|
|
75
110
|
"build": {
|
|
76
111
|
"external": [
|
|
77
|
-
"vue"
|
|
112
|
+
"vue",
|
|
113
|
+
"svelte",
|
|
114
|
+
"react",
|
|
115
|
+
"solid-js"
|
|
78
116
|
]
|
|
79
117
|
},
|
|
80
118
|
"scripts": {
|
package/react.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './dist/svelte'
|
package/solid-js.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './dist/solid-js'
|
package/svelte.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './dist/svelte'
|