@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 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> = {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@unhead/schema",
3
3
  "type": "module",
4
- "version": "1.7.3",
4
+ "version": "1.7.4",
5
5
  "author": "Harlan Wilton <harlan@harlanzw.com>",
6
6
  "license": "MIT",
7
7
  "funding": "https://github.com/sponsors/harlan-zw",