d-velop / dvelop-sdk-node

Official SDK to build Apps for d.velop cloud
Apache License 2.0
10 stars 14 forks source link

Missing Parameter in interface CreateTaskParams #198

Closed mcremer-able closed 2 months ago

mcremer-able commented 2 months ago

The parameter actionScopes does not appear in the interface, but is allowed via plain http.

Suggested change

Add the following type

type actionScopes = {
    complete: ("details" | "list")[];
    claim: ("details" | "list")[];
    forward: ("details" | "list")[];
}

https://github.com/d-velop/dvelop-sdk-node/blob/445557a5707e25157dd52d29f26280cf5d613dfe/packages/task/src/tasks/create-task/create-task.ts#L8-L75

LenKlose commented 2 months ago

Hi @mcremer-able,

i added your changes to @dvelop-sdk/task and deployed them in the next version (3.0.9).

Could you please check out this version by running npm i @dvelop-sdk/task@next and test the changes? I will deploy them shortly.

mcremer-able commented 2 months ago

LGTM