-
Notifications
You must be signed in to change notification settings - Fork 70
/
deployement-with-definitions.ts
38 lines (33 loc) · 1.19 KB
/
deployement-with-definitions.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// Copyright (c) 2023 Sourcefuse Technologies
//
// This software is released under the MIT License.
// https://opensource.org/licenses/MIT
import {CaseDefinition} from './case-definition';
import {DecisionDefinition} from './decision-definition';
import {DecisionRequirementDefinition} from './decision-requirements-definition';
import {ProcessDefinition} from './process-definition';
import {Link} from './types';
export interface DeploymentWithDefinitions {
links: Link[];
id: string;
name: string;
source: string;
tenantId: string;
deploymentTime: string;
deployedProcessDefinitions: DeployedProcessDefinitions;
deployedCaseDefinitions: DeployedCaseDefinitions;
deployedDecisionDefinitions: DeployedDecisionDefinitions;
deployedDecisionRequirementsDefinitions: DeployedDecisionRequirementDefinitions;
}
export type DeployedProcessDefinitions = {
[definitionId: string]: ProcessDefinition;
};
export type DeployedCaseDefinitions = {
[definitionId: string]: CaseDefinition;
};
export type DeployedDecisionDefinitions = {
[definitionId: string]: DecisionDefinition;
};
export type DeployedDecisionRequirementDefinitions = {
[definitionId: string]: DecisionRequirementDefinition;
};