@darthcav/ts-http-server
    Preparing search index...

    Type Alias LauncherOptions

    Options passed to the launcher function.

    type LauncherOptions = {
        decorators?: Map<string, unknown>;
        done?: () => void;
        locals: LauncherLocals;
        logger: Logger;
        opts?: FastifyServerOptions;
        plugins: Map<string, FSTPlugin>;
        routes: Map<string, RouteOptions>;
        verifyToken?: TokenVerifier;
    }
    Index

    Properties

    decorators?: Map<string, unknown>

    Map of named decorators to add to the Fastify instance.

    done?: () => void

    Optional callback invoked once the server is listening.

    Application locals decorated onto the Fastify instance.

    logger: Logger

    Logger instance used for error and info output.

    opts?: FastifyServerOptions

    Optional Fastify server options (merged over defaultFastifyOptions).

    plugins: Map<string, FSTPlugin>

    Map of named plugins to register.

    routes: Map<string, RouteOptions>

    Map of named routes to register.

    verifyToken?: TokenVerifier

    Token verifier registered as the verifyToken Fastify decorator.

    When omitted and locals.authPaths is set, all protected routes will respond with 401 Unauthorized.