Skip to content

checkPermissions

Module @netwiv/api/core · Kind Function

import { checkPermissions } from '@netwiv/api/core';

Get permission state for a plugin.

This should be used by plugin authors to wrap their actual implementation.

function checkPermissions<T>(plugin: string): Promise<T>

Descriptions come from the pinned @tauri-apps/api@2.11.1 declarations (MIT OR Apache-2.0); imports are shown with @netwiv/api paths.