Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/core / / RedactionInput
Interface: RedactionInput
Defined in: packages/core/src/contracts/redaction-validator.ts:32
Input handed to RedactionValidator.validate(...).
Stable
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
context? | readonly | { attribute?: string; origin?: string; spanType?: string; } | Optional context describing where the value originated. | packages/core/src/contracts/redaction-validator.ts:37 |
context.attribute? | readonly | string | - | packages/core/src/contracts/redaction-validator.ts:38 |
context.origin? | readonly | string | - | packages/core/src/contracts/redaction-validator.ts:40 |
context.spanType? | readonly | string | - | packages/core/src/contracts/redaction-validator.ts:39 |
tier | readonly | Sensitivity | Tier declared by the upstream caller for this value. | packages/core/src/contracts/redaction-validator.ts:35 |
value | readonly | unknown | - | packages/core/src/contracts/redaction-validator.ts:33 |