@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.
Files changed (2) hide show
  1. package/dist/render.d.ts +4 -1
  2. 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: (link: string | LinkDefinition, absolute?: boolean) => Promise<string>;
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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dosgato/templating",
3
- "version": "0.0.48",
3
+ "version": "0.0.49",
4
4
  "description": "A library to support building templates for dosgato CMS.",
5
5
  "type": "module",
6
6
  "exports": {