@hyperbook/types 0.13.0 → 0.15.0

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 +2 -1
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -64,6 +64,7 @@ export type HyperbookJson = {
64
64
  logo?: string;
65
65
  allowDangerousHtml?: boolean;
66
66
  trailingSlash?: boolean;
67
+ importExport?: boolean;
67
68
  search?: boolean;
68
69
  qrcode?: boolean;
69
70
  author?: {
@@ -154,7 +155,7 @@ export interface HyperbookContext {
154
155
  config: HyperbookJson;
155
156
  library?: HyperlibraryJson;
156
157
  project?: Hyperproject;
157
- makeUrl(path: string | string[], base: "public" | "book" | "archive" | "glossary" | "assets"): string;
158
+ makeUrl(path: string | string[], base: "public" | "book" | "archive" | "glossary" | "assets", page?: HyperbookPage): string;
158
159
  navigation: Navigation;
159
160
  }
160
161
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyperbook/types",
3
- "version": "0.13.0",
3
+ "version": "0.15.0",
4
4
  "author": "Mike Barkmin",
5
5
  "homepage": "https://github.com/openpatch/hyperbook#readme",
6
6
  "license": "MIT",