@dosgato/templating 0.0.48 → 0.0.49
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 -1
- package/package.json +1 -1
package/dist/render.d.ts
CHANGED
|
@@ -46,7 +46,10 @@ export interface APIClient {
|
|
|
46
46
|
* method to convert a link, as input by a user, into a URL suitable for an href, or optionally
|
|
47
47
|
* an absolute URL suitable for a backend http request or non-HTML document like an RSS feed.
|
|
48
48
|
*/
|
|
49
|
-
resolveLink: (
|
|
49
|
+
resolveLink: (lnk: string | LinkDefinition, opts?: {
|
|
50
|
+
absolute?: boolean;
|
|
51
|
+
extension?: string;
|
|
52
|
+
}) => Promise<string>;
|
|
50
53
|
/**
|
|
51
54
|
* This function will be provided by the rendering server and should be used inside your fetch
|
|
52
55
|
* method to prepare editor-provided HTML for rendering. It will do things like find and resolve
|