Documentation
    Preparing search index...

    Interface MockConfigState

    In-memory state of the config mock.

    service.mock.state().schemas.get('w1')?.version; // 1
    
    interface MockConfigState {
        schemas: Map<string, { schema: NappletConfigSchema; version?: number }>;
        settingsOpened: MockConfigSettingsRequest[];
        stores: Map<string, ConfigValues>;
        subscribers: Set<string>;
    }
    Index

    Properties

    schemas: Map<string, { schema: NappletConfigSchema; version?: number }>

    Accepted schema per window.

    settingsOpened: MockConfigSettingsRequest[]

    Settings UI requests, oldest first.

    stores: Map<string, ConfigValues>

    Persisted (user-set) values per window.

    subscribers: Set<string>

    Windows with a live config.subscribe.