@villedemontreal/workit-types
Version:
TypeScript types for Workit
29 lines (28 loc) • 679 B
TypeScript
export interface IVariableObject {
type: string;
value: string;
valueInfo: any;
}
export interface IVariable {
[custom: string]: any;
}
export interface IVariablePayload {
activityId: string;
activityInstanceId: string;
errorMessage: string | null;
errorDetails: any;
executionId: string;
id: string;
lockExpirationTime: string;
processDefinitionId: string;
processDefinitionKey: string;
processInstanceId: string;
retries: number | null;
suspended: boolean;
workerId: string;
topicName: string;
tenantId: string | null;
variables: IVariable;
priority: number;
businessKey: string | null;
}