@dosgato/templating 0.0.46 → 0.0.47

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.
@@ -168,7 +168,6 @@ export declare abstract class Component<DataType extends ComponentData = any, Fe
168
168
  */
169
169
  static editBar: (path: string, opts: EditBarOpts) => string;
170
170
  static newBar: (path: string, opts: EditBarOpts) => string;
171
- static repairHTML: (html: string) => string;
172
171
  constructor(data: DataType, path: string, parent: Component | undefined, editMode: boolean);
173
172
  areas: Map<string, Component<any, any, any>[]>;
174
173
  data: Omit<DataType, 'areas'>;
package/dist/render.d.ts CHANGED
@@ -73,7 +73,7 @@ export interface APIClient {
73
73
  id?: string;
74
74
  path?: string;
75
75
  link?: string | PageLink;
76
- }) => Promise<PageRecord<PageData>>;
76
+ }) => Promise<PageRecord<PageData> | undefined>;
77
77
  /** Get all ancestor pages of a specific page. First array element will be the pagetree root page. */
78
78
  getAncestors: ({ id, path }: {
79
79
  id?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dosgato/templating",
3
- "version": "0.0.46",
3
+ "version": "0.0.47",
4
4
  "description": "A library to support building templates for dosgato CMS.",
5
5
  "type": "module",
6
6
  "exports": {