toip.tools

interface · Browser and Node

Profile

An action vocabulary. rootRequires lists what a root mandate must constrain: an attribute name, or "attr:op".

@toip-tools/mandatesView source
TypeScriptImport
import { type Profile } from "@toip-tools/mandates";

Declaration

TypeScriptinterface
interface Profile {
  id: string;
  actions: Record<string, { required: string[] }>;
  rootRequires: string[];
}

Properties

idrequired
string
actionsrequired
Record<string, { required: string[]; }>
rootRequiresrequired
string[]