@hyperbook/types 0.21.0 → 0.22.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.
- package/dist/index.d.ts +7 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -131,6 +131,10 @@ export type HyperbookJson = {
|
|
|
131
131
|
label: string;
|
|
132
132
|
};
|
|
133
133
|
links?: Link[];
|
|
134
|
+
cloud?: {
|
|
135
|
+
url: string;
|
|
136
|
+
id: string;
|
|
137
|
+
};
|
|
134
138
|
elements?: {
|
|
135
139
|
bookmarks?: false | ElementConfig;
|
|
136
140
|
code?: ElementConfig & {
|
|
@@ -183,7 +187,9 @@ export interface HyperbookContext {
|
|
|
183
187
|
config: HyperbookJson;
|
|
184
188
|
library?: HyperlibraryJson;
|
|
185
189
|
project?: Hyperproject;
|
|
186
|
-
makeUrl(path: string | string[], base: "public" | "book" | "archive" | "glossary" | "assets", page?: HyperbookPage
|
|
190
|
+
makeUrl(path: string | string[], base: "public" | "book" | "archive" | "glossary" | "assets", page?: HyperbookPage, options?: {
|
|
191
|
+
versioned?: boolean;
|
|
192
|
+
}): string;
|
|
187
193
|
navigation: Navigation;
|
|
188
194
|
}
|
|
189
195
|
export {};
|