iya-sts
    Preparing search index...
    importFile: (
        options: any,
    ) => Promise<
        {
            batches: number;
            batchSize: number;
            committedThrough: number;
            examples: any[];
            file: any;
            imported: number;
            lockSeconds: number;
            lockWaitSeconds: number;
            mailTaken: number;
            origin: string;
            perSecond: number;
            present: number;
            realm: string;
            records: number;
            refusals: {};
            refused: number;
            seconds: number;
            skipped: number;
            stopped: string;
            taken: number;
            usersDn: any;
        },
    > = importFile

    Type Declaration

      • (
            options: any,
        ): Promise<
            {
                batches: number;
                batchSize: number;
                committedThrough: number;
                examples: any[];
                file: any;
                imported: number;
                lockSeconds: number;
                lockWaitSeconds: number;
                mailTaken: number;
                origin: string;
                perSecond: number;
                present: number;
                realm: string;
                records: number;
                refusals: {};
                refused: number;
                seconds: number;
                skipped: number;
                stopped: string;
                taken: number;
                usersDn: any;
            },
        >
      • Imports the people of an LDIF file into one realm's ou=users.

        Parameters

        • options: any

          { db, realmId, usersDn, file, batch, skip, codec, digest, mailDigest, language, maxEntries, sealing, settle, seal, uuid, now, liveCheck }: db a pg Pool (or anything with connect() and query()), codec a directory_codec codec, digest(name) the name's lookup form, mailDigest(address) the mail lookup form of an email-shaped pseudonym (#644), seal(fn) runs fn in the realm, settle() waits for data-key rows, maxEntries() the realm's ceiling, sealing whether a blob must come back sealed

        Returns Promise<
            {
                batches: number;
                batchSize: number;
                committedThrough: number;
                examples: any[];
                file: any;
                imported: number;
                lockSeconds: number;
                lockWaitSeconds: number;
                mailTaken: number;
                origin: string;
                perSecond: number;
                present: number;
                realm: string;
                records: number;
                refusals: {};
                refused: number;
                seconds: number;
                skipped: number;
                stopped: string;
                taken: number;
                usersDn: any;
            },
        >

        a promise of the report