@vex-chat/libvex
    Preparing search index...

    Interface PlatformPreset

    Bundles platform-specific adapters + storage factory.

    Each platform (Tauri, Expo, Node CLI) provides a preset factory that returns one of these. The store's bootstrap functions accept it so app code stays a one-liner.

    interface PlatformPreset {
        adapters: IClientAdapters;
        deviceName: string;
        createStorage(
            dbName: string,
            privateKey: string,
            logger: ILogger,
        ): Promise<IStorage>;
    }
    Index

    Properties

    adapters: IClientAdapters
    deviceName: string

    Methods

    • Parameters

      • dbName: string
      • privateKey: string
      • logger: ILogger

      Returns Promise<IStorage>