@unhead/shared 1.8.0-beta.1 → 1.8.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.
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { HeadPluginInput, HeadTag, BaseMeta, MetaFlatInput, Head, MaybeArray, HeadSafe, HeadEntry, TemplateParams } from '@unhead/schema';
|
|
2
2
|
|
|
3
3
|
type Arrayable<T> = T | Array<T>;
|
|
4
4
|
declare function asArray<T>(value: Arrayable<T>): T[];
|
|
@@ -12,7 +12,7 @@ declare const TagConfigKeys: string[];
|
|
|
12
12
|
declare const IsBrowser: boolean;
|
|
13
13
|
declare const composableNames: string[];
|
|
14
14
|
|
|
15
|
-
declare function defineHeadPlugin(plugin:
|
|
15
|
+
declare function defineHeadPlugin(plugin: HeadPluginInput): HeadPluginInput;
|
|
16
16
|
|
|
17
17
|
declare function hashCode(s: string): string;
|
|
18
18
|
declare function hashTag(tag: HeadTag): string;
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { HeadPluginInput, HeadTag, BaseMeta, MetaFlatInput, Head, MaybeArray, HeadSafe, HeadEntry, TemplateParams } from '@unhead/schema';
|
|
2
2
|
|
|
3
3
|
type Arrayable<T> = T | Array<T>;
|
|
4
4
|
declare function asArray<T>(value: Arrayable<T>): T[];
|
|
@@ -12,7 +12,7 @@ declare const TagConfigKeys: string[];
|
|
|
12
12
|
declare const IsBrowser: boolean;
|
|
13
13
|
declare const composableNames: string[];
|
|
14
14
|
|
|
15
|
-
declare function defineHeadPlugin(plugin:
|
|
15
|
+
declare function defineHeadPlugin(plugin: HeadPluginInput): HeadPluginInput;
|
|
16
16
|
|
|
17
17
|
declare function hashCode(s: string): string;
|
|
18
18
|
declare function hashTag(tag: HeadTag): string;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { HeadPluginInput, HeadTag, BaseMeta, MetaFlatInput, Head, MaybeArray, HeadSafe, HeadEntry, TemplateParams } from '@unhead/schema';
|
|
2
2
|
|
|
3
3
|
type Arrayable<T> = T | Array<T>;
|
|
4
4
|
declare function asArray<T>(value: Arrayable<T>): T[];
|
|
@@ -12,7 +12,7 @@ declare const TagConfigKeys: string[];
|
|
|
12
12
|
declare const IsBrowser: boolean;
|
|
13
13
|
declare const composableNames: string[];
|
|
14
14
|
|
|
15
|
-
declare function defineHeadPlugin(plugin:
|
|
15
|
+
declare function defineHeadPlugin(plugin: HeadPluginInput): HeadPluginInput;
|
|
16
16
|
|
|
17
17
|
declare function hashCode(s: string): string;
|
|
18
18
|
declare function hashTag(tag: HeadTag): string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unhead/shared",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.8.0-beta.
|
|
4
|
+
"version": "1.8.0-beta.10",
|
|
5
5
|
"author": "Harlan Wilton <harlan@harlanzw.com>",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"funding": "https://github.com/sponsors/harlan-zw",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"dist"
|
|
35
35
|
],
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@unhead/schema": "1.8.0-beta.
|
|
37
|
+
"@unhead/schema": "1.8.0-beta.10"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"packrup": "^0.1.0"
|