Documentation / @zerotal/flow / index / PageClassWithMeta
Interface: PageClassWithMeta
Defined in: flow/src/registry.ts:107
A Component constructor plus the optional static metadata a page class may declare
(title, head, models, layout). Used when resolving file-route page exports and
when auto-registering associated model classes.
Constructors
Constructor
new PageClassWithMeta():
Component
Defined in: flow/src/registry.ts:108
Returns
Properties
name
name:
string
Defined in: flow/src/registry.ts:109
title?
optionaltitle?:string
Defined in: flow/src/registry.ts:111
Sets the HTML
head?
optionalhead?:string
Defined in: flow/src/registry.ts:113
Raw HTML to inject into
for this page.models?
optionalmodels?:Record<string, typeofBaseModel>
Defined in: flow/src/registry.ts:115
Optional model associations for auto-registration.
layout?
optionallayout?: () =>Layout
Defined in: flow/src/registry.ts:117
Optional layout class.