Libticketto
    Preparing search index...

    Interface DirectoryStorage

    interface DirectoryStorage {
        all(): Promise<Account[]>;
        get(accountId: string): Promise<undefined | Account>;
        indexByDisplay(display: string): Promise<Account[]>;
        indexByEmail(email: string): Promise<Account[]>;
        indexByPhone(phone: string): Promise<Account[]>;
    }
    Index

    Methods

    • Returns this list of accounts, indexed by display.

      Parameters

      • display: string

        A nickname to display quickly identifying an account.

      Returns Promise<Account[]>