---
title: "Task: Approvals as contracts"
manual: "adsum by web-vision"
version: "main"
permalink: "https://docs.typo3.org/permalink/web-vision/adsum-monorepo:task-1791608415@main"
source: "Changelog/1.0.0/Task-1791608415-ApprovalsAsContracts.rst"
rendered: "2026-11-07T02:01:32+00:00"
---

# Task: Approvals as contracts {#task-1791608415}

## Description {#description}

Packages that have their requests approved use the contracts of the approval module: the state of an approval
(`ApprovalStates`), the approve and reject actions of a reader (`ApprovalActions`), the chain a subject needs
(`ApprovalChains`) and its preview (`ChainPreview`). The subject, attributes, steps, origin and status of an
approval are contract types, and `SubmitForApproval` answers a `SubmittedApproval`.

## Impact {#impact}

A package submitting approvals imports these types from `WebVision\Adsum\Core\Approval\Contract`.
