@dogsbay/types 0.2.0-beta.172 → 0.2.0-beta.174
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/format.d.ts +7 -0
- package/dist/frontmatter-schema.js +2 -0
- package/package.json +1 -1
package/dist/format.d.ts
CHANGED
|
@@ -183,6 +183,13 @@ export interface NavItem {
|
|
|
183
183
|
* visibility rule the diff renderer applies to tabs).
|
|
184
184
|
*/
|
|
185
185
|
mark?: NavMark;
|
|
186
|
+
/**
|
|
187
|
+
* This entry and everything under it are UNLISTED: built and reachable by URL, but left out
|
|
188
|
+
* of the menu, previous / next, child links, the book view, llms.txt, search and the sitemap,
|
|
189
|
+
* and `noindex`. Not access control. A page's own front matter `unlisted: true` unlists that
|
|
190
|
+
* page only. `@dogsbay/site-files` `markUnlisted` / `listedNav`; plans/unlisted-pages.md.
|
|
191
|
+
*/
|
|
192
|
+
unlisted?: boolean;
|
|
186
193
|
}
|
|
187
194
|
export type NavMarkKind = "added" | "changed" | "removed" | "moved";
|
|
188
195
|
export interface NavMark {
|
|
@@ -48,6 +48,8 @@ export const WELL_KNOWN_FIELDS = {
|
|
|
48
48
|
targetKeyword: { type: "string" },
|
|
49
49
|
// visibility / build behaviour the emitters read
|
|
50
50
|
draft: { type: "boolean" },
|
|
51
|
+
// built and served, listed nowhere (plans/unlisted-pages.md)
|
|
52
|
+
unlisted: { type: "boolean" },
|
|
51
53
|
noindex: { type: "boolean" },
|
|
52
54
|
nofollow: { type: "boolean" },
|
|
53
55
|
excludeFromSearch: { type: "boolean" },
|