zibri
    Preparing search index...

    Interface for an asset service.

    interface AssetServiceInterface {
        assetsPath: string;
        assetsRoute: `/${string}`;
        attachTo: (app: ZibriApplication, ...params: any[]) => void | Promise<void>;
        emailTemplatePath: string;
        pageTemplatePath: string;
        publicAssetsPath: string;
    }

    Implemented by

    Index

    Properties

    assetsPath: string

    The path of the assets.

    assetsRoute: `/${string}`

    The route under which the file explorer with the public assets is registered.

    attachTo: (app: ZibriApplication, ...params: any[]) => void | Promise<void>

    Attaches the service to the application.

    emailTemplatePath: string

    The path of the email templates.

    pageTemplatePath: string

    The path of the page templates.

    publicAssetsPath: string

    The path of the assets which are also publicly registered on the online file explorer.