Update updateProcess definition
This commit is contained in:
parent
a110c2896d
commit
760ba21175
@ -270,12 +270,13 @@ export class SDKSignerClient {
|
|||||||
/**
|
/**
|
||||||
* Update a process
|
* Update a process
|
||||||
*/
|
*/
|
||||||
async updateProcess(processId: string, stateId: string, data: any): Promise<ServerResponse> {
|
async updateProcess(processId: string, newData: { [label: string]: any }, privateFields: string[], roles: any | null): Promise<ServerResponse> {
|
||||||
const message: ClientMessage = {
|
const message: ClientMessage = {
|
||||||
type: MessageType.UPDATE_PROCESS,
|
type: MessageType.UPDATE_PROCESS,
|
||||||
processId,
|
processId,
|
||||||
stateId,
|
newData,
|
||||||
...data,
|
privateFields,
|
||||||
|
roles,
|
||||||
messageId: this.generateMessageId()
|
messageId: this.generateMessageId()
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user