zibri
    Preparing search index...

    Type Alias ZibriApplicationOptions

    All options for a Zibri application.

    type ZibriApplicationOptions = {
        authStrategies?: AuthStrategies;
        baseUrl: string;
        bodyParsers?: Newable<BodyParserInterface>[];
        controllers: Newable<unknown>[];
        cronJobs?: Newable<CronJob>[];
        dataSources?: Newable<BaseDataSource>[];
        name: string;
        providers?: DiProvider<unknown>[];
        version: Version;
    }
    Index

    Properties

    authStrategies?: AuthStrategies

    The auth strategies to register.

    If nothing is provided, the Zibri default jwt auth strategy will be used.

    baseUrl: string

    The base url of the app. Eg. Http://localhost:3000.

    bodyParsers?: Newable<BodyParserInterface>[]

    The body parsers to register.

    If nothing is provided, the Zibri default parsers will be used.

    controllers: Newable<unknown>[]

    The controllers to register in the app.

    cronJobs?: Newable<CronJob>[]

    The cron jobs to register in the app.

    dataSources?: Newable<BaseDataSource>[]

    The data sources to register in the app.

    name: string

    The name of the app.

    providers?: DiProvider<unknown>[]

    The DI providers to register/override.

    version: Version

    The SemVer version of the app.

    Is also used by migrations by default.