interface · Browser and Node

# DelegateOptions

`@toip-tools/mandates` · [View source](https://github.com/yourbuddyconner/toip-tools/blob/main/packages/mandates/src/issue.ts#L38)

Import:

```ts
import { type DelegateOptions } from "@toip-tools/mandates";
```

## Declaration

interface:

```ts
interface DelegateOptions {
  subject: string;
  validUntil: string;
  status: StatusEntry;
  /** Narrower versions of the parent's dimensions. */
  tighten: Partial<Record<string, Constraint>>;
  /** New dimensions. */
  add?: Record<string, Constraint>;
  purpose?: string;
  /** Default: the parent's minus one. */
  maxDepth?: number;
  /** Default: the parent's. */
  escalation?: MandateSubject["escalation"];
  /** Default: the parent's. */
  revocation?: MandateSubject["revocation"];
}
```

## Properties

**`subject` (required)**

`string`

**`validUntil` (required)**

`string`

**`status` (required)**

`StatusEntry`

**`tighten` (required)**

`Partial<Record<string, Constraint>>`

Narrower versions of the parent's dimensions.

**`add` (optional)**

`Record<string, Constraint> | undefined`

New dimensions.

**`purpose` (optional)**

`string | undefined`

**`maxDepth` (optional)**

`number | undefined`

Default: the parent's minus one.

**`escalation` (optional)**

`{ approvable: string[]; approvalTtlSeconds: number; } | undefined`

Default: the parent's.

**`revocation` (optional)**

`{ maxAgeSeconds: number; } | undefined`

Default: the parent's.

[Usage guide](https://toip.tools/toolkit/mandates/#usage) · [Error handling](https://toip.tools/toolkit/mandates/#errors) · [All exports](https://toip.tools/toolkit/mandates/api/)

---

This is the Markdown version of https://toip.tools/toolkit/mandates/api/DelegateOptions/. An index of the documentation for AI assistants is at https://toip.tools/llms.txt.
