UNPKG

@apideck/react-vault

Version:

<br />

10 lines (9 loc) 425 B
import { Connection } from '../types/Connection'; /** * Check if a connection has applicable data scopes configured. * Returns true if there are actual resources with read/write permissions. * * This is used to determine whether to show consent-related UI elements * (consent screen, permission badges, etc.) */ export declare const hasApplicableScopes: (connection: Connection | null | undefined) => boolean;