You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nextcloud-server/apps/workflowengine/lib/ResponseDefinitions.php

37 lines
954 B

<?php
declare(strict_types=1);
/**
* SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace OCA\WorkflowEngine;
use OCP\WorkflowEngine\ICheck;
use OCP\WorkflowEngine\IEntity;
use OCP\WorkflowEngine\IEntityEvent;
use OCP\WorkflowEngine\IOperation;
/**
* @psalm-type WorkflowEngineOperator = 'is'|'in'|'match'|'less'|'greater'|'matchesIPv4'|'matchesIPv6'|"!is"|"!in"|"!match"|"!less"|"!greater"|"!matchesIPv4"|"!matchesIPv6"
*
* @psalm-type WorkflowEngineCheck = array{
* class: class-string<ICheck>,
* value: string,
* operator: WorkflowEngineOperator,
* }
*
* @psalm-type WorkflowEngineRule = array{
* id: int,
* class: class-string<IOperation>,
* name: string,
* checks: list<WorkflowEngineCheck>,
* operation: string,
* entity: class-string<IEntity>,
* events: list<class-string<IEntityEvent>>,
* }
*/
class ResponseDefinitions {
}