@dosgato/templating 1.1.8 → 1.1.9
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/render.d.ts +4 -2
- package/package.json +1 -1
package/dist/render.d.ts
CHANGED
|
@@ -201,8 +201,10 @@ export interface APIClient {
|
|
|
201
201
|
* Helpful for evaluating links when you need more than just an href like you'd get from `resolveLink`.
|
|
202
202
|
*/
|
|
203
203
|
getPageNoData: ({ link }: {
|
|
204
|
-
link
|
|
205
|
-
}) => Promise<PageRecordNoData
|
|
204
|
+
link: string | PageLink;
|
|
205
|
+
}) => Promise<PageRecordNoData & {
|
|
206
|
+
title: string;
|
|
207
|
+
} | undefined>;
|
|
206
208
|
/** Get all ancestor pages of a specific page. First array element will be the pagetree root page. */
|
|
207
209
|
getAncestors: ({ id, path }: {
|
|
208
210
|
id?: string;
|