@atproto/oauth-scopes
Version:
A library for manipulating and validating ATproto OAuth scopes in TypeScript.
10 lines • 373 B
TypeScript
import { ScopeStringFor } from './syntax.js';
import { 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