PagePluginFunction | WebHare Platform SDK
WebHare Platform SDK
    Preparing search index...

    Type Alias PagePluginFunction<PluginDataType>

    PagePluginFunction: (
        req: PagePluginRequest,
        plugindata: PluginDataType,
    ) => Promise<void> | void

    Defines the callback offered by a plugin (not exported from webhare/router yet, plugin APIs are still unstable)

    Type Parameters

    • PluginDataType = Record<string, unknown>

    Type declaration