iya-sts
    Preparing search index...

    Variable distinctValues

    distinctValues: (
        realm: string,
        subject: string,
        feature: string,
        prefix: string,
        sealing: boolean,
    ) => Promise<number> = ...

    Type Declaration

      • (
            realm: string,
            subject: string,
            feature: string,
            prefix: string,
            sealing: boolean,
        ): Promise<number>
      • Counts the distinct values of a feature a subject has, optionally under a prefix.

        Parameters

        • realm: string

          the realm

        • subject: string

          the subject

        • feature: string

          the feature

        • prefix: string

          the values' prefix, or empty

        • sealing: boolean

          whether there is a key to seal under

        Returns Promise<number>

        the count