@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.
- package/dist/component.d.ts +2 -2
- package/package.json +1 -1
package/dist/component.d.ts
CHANGED
|
@@ -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
|
|
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 =
|
|
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.
|