Update updateProcess definition
This commit is contained in:
parent
a110c2896d
commit
760ba21175
@ -270,12 +270,13 @@ export class SDKSignerClient {
|
||||
/**
|
||||
* 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 = {
|
||||
type: MessageType.UPDATE_PROCESS,
|
||||
processId,
|
||||
stateId,
|
||||
...data,
|
||||
newData,
|
||||
privateFields,
|
||||
roles,
|
||||
messageId: this.generateMessageId()
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user