UNPKG

osm-api

Version:

πŸ—ΊοΈπŸŒ Javascript/Typescript wrapper around the OpenStreetMap API

8 lines (7 loc) β€’ 325 B
import type { OsmOAuth2Scopes } from "../auth/types"; import { type FetchOptions } from "./_osmFetch"; export type Permissions = { permissions: `allow_${OsmOAuth2Scopes}`[]; }; /** Gets the OAuth scopes that this app has access to. */ export declare function getPermissions(options?: FetchOptions): Promise<Permissions>;