Documentation
    Preparing search index...

    Type Alias AclChecker

    AclChecker: (
        pubkey: string,
        dTag: string,
        aggregateHash: string,
        capability: Capability,
    ) => boolean

    ACL check function type — performs the actual capability check. Provided by @kehto/acl's check() at runtime, or by the legacy aclStore.check().

    Type Declaration

      • (
            pubkey: string,
            dTag: string,
            aggregateHash: string,
            capability: Capability,
        ): boolean
      • Parameters

        • pubkey: string
        • dTag: string
        • aggregateHash: string
        • capability: Capability

        Returns boolean