@inrupt/solid-client
Version:
Make your web apps work with Solid Pods.
7 lines (6 loc) • 299 B
TypeScript
import type { AccessModes, ThingPersisted } from "../../interfaces";
import type { ACP } from "../constants";
/** @hidden */
export type ModeType = typeof ACP.allow | typeof ACP.deny;
/** @hidden */
export declare function getModes<T extends ThingPersisted>(policy: T, type: ModeType): AccessModes;