@dosgato/templating 0.0.87 → 0.0.88

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,7 @@ export declare abstract class Component<DataType extends ComponentData = any, Fe
168
168
  */
169
169
  renderRichText: (html: string, opts?: {
170
170
  headerLevel?: number;
171
- advanceHeader?: string | undefined | null;
171
+ advanceHeader?: string;
172
172
  }) => string;
173
173
  /**
174
174
  * The final phase of rendering a component is the render phase. This step is BOTTOM-UP -
@@ -502,7 +502,7 @@ export interface RenderedComponent<C extends Component = Component> {
502
502
  component: C;
503
503
  output: string;
504
504
  }
505
- export declare abstract class Page<DataType extends PageData = any, FetchedType = any, RenderContextType extends ContextBase = any> extends Component<DataType, FetchedType, RenderContextType> {
505
+ export declare abstract class Page<DataType extends PageData = any, FetchedType = any, RenderContextType extends ContextBase = ContextBase> extends Component<DataType, FetchedType, RenderContextType> {
506
506
  /**
507
507
  * The page id in case you need to pass it to the API, e.g. this.api.getRootPage(this.id)
508
508
  * in a page template or this.api.getRootPage(this.page.id) in a component template.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dosgato/templating",
3
- "version": "0.0.87",
3
+ "version": "0.0.88",
4
4
  "description": "A library to support building templates for dosgato CMS.",
5
5
  "type": "module",
6
6
  "exports": {