@unhead/schema
Advanced tools
Comparing version 0.1.4 to 0.2.0
@@ -25,2 +25,8 @@ import { HeadTag as HeadTag$1, MergeHead, BodyAttributes as BodyAttributes$1, HtmlAttributes as HtmlAttributes$1, Merge, Base as Base$1, DefinedValueOrEmptyObject, Link as Link$1, DataKeys, Style as Style$1, Script as Script$1, Noscript as Noscript$1, Meta as Meta$1, Stringable } from '@zhead/schema'; | ||
tagPosition?: 'head' | 'bodyClose' | 'bodyOpen'; | ||
/** | ||
* Render the tag before the body close. | ||
* | ||
* @deprecated Use `tagPosition: 'bodyClose'` instead. | ||
*/ | ||
body?: true; | ||
} | ||
@@ -126,4 +132,4 @@ interface InnerContent { | ||
declare type EntryAugmentation = undefined | Record<string, any>; | ||
declare type Title = string; | ||
declare type TitleTemplate = string | null | ((title?: string) => string); | ||
declare type Title = string | null; | ||
declare type TitleTemplate = string | null | ((title?: string) => string | null); | ||
declare type Base<E extends EntryAugmentation = {}> = Partial<Merge<SchemaAugmentations['base'], Base$1>> & DefinedValueOrEmptyObject<E>; | ||
@@ -130,0 +136,0 @@ declare type Link<E extends EntryAugmentation = {}> = Link$1 & DataKeys & SchemaAugmentations['link'] & DefinedValueOrEmptyObject<E>; |
{ | ||
"name": "@unhead/schema", | ||
"type": "module", | ||
"version": "0.1.4", | ||
"version": "0.2.0", | ||
"packageManager": "pnpm@7.14.0", | ||
@@ -6,0 +6,0 @@ "author": "Harlan Wilton <harlan@harlanzw.com>", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13415
335