@aicacia/db
    Preparing search index...

    Interface SingletonConfig<T>

    Singleton configuration

    interface SingletonConfig<T> {
        defaultValue?: T;
        id: string;
        source: SingletonSourceAdapter<T>;
    }

    Type Parameters

    • T
    Index

    Properties

    defaultValue?: T

    Default value if not yet set

    id: string

    Unique singleton identifier

    source: SingletonSourceAdapter<T>

    Source adapter for this singleton