Vana SDK - v4.4.0
    Preparing search index...

    Function pdppGrantsToScopes

    • The scope keys for a list of PDPP grants: one per stream, in grant order, without duplicates.

      Parameters

      • grants: readonly PdppGrant[]

        The grants a builder requests.

      Returns string[]

      The derived scope keys (empty for no grants).

      InvalidPdppGrantError when a grant is malformed, names no streams, or has a source_id or stream outside the grammar.