@hyperbook/types 0.7.0 → 0.8.1

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +3 -1
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -33,6 +33,8 @@ export type HyperbookPageFrontmatter = {
33
33
  index?: number;
34
34
  hide?: boolean;
35
35
  toc?: boolean;
36
+ next?: string;
37
+ prev?: string;
36
38
  };
37
39
  export type HyperbookSectionFrontmatter = HyperbookPageFrontmatter & {
38
40
  virtual?: boolean;
@@ -53,6 +55,7 @@ export type HyperbookSection = HyperbookSectionFrontmatter & {
53
55
  export type HyperbookFrontmatter = HyperbookPageFrontmatter | HyperbookSectionFrontmatter;
54
56
  export type HyperbookJson = {
55
57
  name: string;
58
+ trailingSlash?: boolean;
56
59
  description?: string;
57
60
  logo?: string;
58
61
  author?: {
@@ -88,7 +91,6 @@ export type HyperbookJson = {
88
91
  label: string;
89
92
  };
90
93
  links?: Link[];
91
- template?: string;
92
94
  elements?: {
93
95
  bookmarks?: false | ElementConfig;
94
96
  excalidraw?: ElementConfig & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyperbook/types",
3
- "version": "0.7.0",
3
+ "version": "0.8.1",
4
4
  "author": "Mike Barkmin",
5
5
  "homepage": "https://github.com/openpatch/hyperbook#readme",
6
6
  "license": "MIT",