UNPKG

@atproto/oauth-scopes

Version:

A library for manipulating and validating ATproto OAuth scopes in TypeScript.

10 lines • 383 B
import type { ScopeStringFor } from './syntax.js'; import type { Matchable } from './util.js'; /** * Interface destined to provide consistency across parsed permission scopes for * resources (blob, repo, etc.). */ export interface ResourcePermission<R extends string, T> extends Matchable<T> { toString(): ScopeStringFor<R>; } //# sourceMappingURL=resource-permission.d.ts.map