@unhead/schema 1.7.3 → 1.7.4
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 +4 -1
- package/dist/index.d.mts +4 -1
- package/dist/index.d.ts +4 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -166,6 +166,9 @@ interface Unhead<Input extends {} = Head> {
|
|
|
166
166
|
* Use a head plugin, loads the plugins hooks.
|
|
167
167
|
*/
|
|
168
168
|
use: (plugin: HeadPlugin) => void;
|
|
169
|
+
/**
|
|
170
|
+
* Is it a server-side render context.
|
|
171
|
+
*/
|
|
169
172
|
ssr: boolean;
|
|
170
173
|
/**
|
|
171
174
|
* @internal
|
|
@@ -342,7 +345,7 @@ interface BaseMeta extends Omit<Meta$1, 'content'> {
|
|
|
342
345
|
*
|
|
343
346
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-content
|
|
344
347
|
*/
|
|
345
|
-
content?: MaybeArray<Stringable
|
|
348
|
+
content?: MaybeArray<Stringable> | null;
|
|
346
349
|
}
|
|
347
350
|
type EntryAugmentation = undefined | Record<string, any>;
|
|
348
351
|
type MaybeFunctionEntries<T> = {
|
package/dist/index.d.mts
CHANGED
|
@@ -166,6 +166,9 @@ interface Unhead<Input extends {} = Head> {
|
|
|
166
166
|
* Use a head plugin, loads the plugins hooks.
|
|
167
167
|
*/
|
|
168
168
|
use: (plugin: HeadPlugin) => void;
|
|
169
|
+
/**
|
|
170
|
+
* Is it a server-side render context.
|
|
171
|
+
*/
|
|
169
172
|
ssr: boolean;
|
|
170
173
|
/**
|
|
171
174
|
* @internal
|
|
@@ -342,7 +345,7 @@ interface BaseMeta extends Omit<Meta$1, 'content'> {
|
|
|
342
345
|
*
|
|
343
346
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-content
|
|
344
347
|
*/
|
|
345
|
-
content?: MaybeArray<Stringable
|
|
348
|
+
content?: MaybeArray<Stringable> | null;
|
|
346
349
|
}
|
|
347
350
|
type EntryAugmentation = undefined | Record<string, any>;
|
|
348
351
|
type MaybeFunctionEntries<T> = {
|
package/dist/index.d.ts
CHANGED
|
@@ -166,6 +166,9 @@ interface Unhead<Input extends {} = Head> {
|
|
|
166
166
|
* Use a head plugin, loads the plugins hooks.
|
|
167
167
|
*/
|
|
168
168
|
use: (plugin: HeadPlugin) => void;
|
|
169
|
+
/**
|
|
170
|
+
* Is it a server-side render context.
|
|
171
|
+
*/
|
|
169
172
|
ssr: boolean;
|
|
170
173
|
/**
|
|
171
174
|
* @internal
|
|
@@ -342,7 +345,7 @@ interface BaseMeta extends Omit<Meta$1, 'content'> {
|
|
|
342
345
|
*
|
|
343
346
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#attr-content
|
|
344
347
|
*/
|
|
345
|
-
content?: MaybeArray<Stringable
|
|
348
|
+
content?: MaybeArray<Stringable> | null;
|
|
346
349
|
}
|
|
347
350
|
type EntryAugmentation = undefined | Record<string, any>;
|
|
348
351
|
type MaybeFunctionEntries<T> = {
|