mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
AAE-33025 Updated process definition type to support constant values (#10751)
This commit is contained in:
parent
28d8052726
commit
555e6c027f
@ -0,0 +1,20 @@
|
||||
/*!
|
||||
* @license
|
||||
* Copyright © 2005-2025 Hyland Software, Inc. and its affiliates. All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
export interface ConstantValues {
|
||||
unauthorizedStart: string;
|
||||
}
|
@ -15,6 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { ConstantValues } from './constant-values.type';
|
||||
import { ProcessVariableDefinition } from './variable-definition';
|
||||
|
||||
export class ProcessDefinitionCloud {
|
||||
@ -28,6 +29,7 @@ export class ProcessDefinitionCloud {
|
||||
category: string;
|
||||
description: string;
|
||||
variableDefinitions?: ProcessVariableDefinition[];
|
||||
constantValues?: ConstantValues;
|
||||
|
||||
constructor(obj?: any) {
|
||||
this.id = obj?.id;
|
||||
@ -40,5 +42,6 @@ export class ProcessDefinitionCloud {
|
||||
this.category = obj?.category || '';
|
||||
this.description = obj?.description || '';
|
||||
this.variableDefinitions = obj?.variableDefinitions ?? [];
|
||||
this.constantValues = obj?.constantValues ?? {};
|
||||
}
|
||||
}
|
||||
|
@ -19,6 +19,7 @@ import { Pagination } from '@alfresco/js-api';
|
||||
import { IdentityGroupModel } from '../group/models/identity-group.model';
|
||||
import { IdentityUserModel } from '../people/models/identity-user.model';
|
||||
import { ProcessInstanceVariable } from './process-instance-variable.model';
|
||||
import { ConstantValues } from './constant-values.type';
|
||||
|
||||
export class TaskCloudNodePaging {
|
||||
list: TaskCloudPagingList;
|
||||
@ -57,4 +58,5 @@ export interface TaskCloudModel {
|
||||
status: string;
|
||||
taskDefinitionKey: string;
|
||||
processVariables?: ProcessInstanceVariable[];
|
||||
}
|
||||
constantValues?: ConstantValues;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user