import { type GuardOptions } from "https://deno.land/x/permissionGuard@2.4.0/src/guard.ts";
Configuration for the guard.
Use with the guard() method.
Properties
optional
granted: GuardGrant[]An optional list of Deno permission names or descriptors that should be permitted by the guard
An optional flag to determine whether the guard
should stop the process when permissions listed in the granted
array have not been granted.
An optional flag to determine whether the guard should
stop the process when permissions not listed in the granted
array have been granted.
An optional flag to determine whether the guard should
revoke top-level permissions not listed in the granted
array.