@dvelop-sdk/task 3.0.4 → 3.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/tasks/complete-task/complete-task.d.ts +1 -1
- package/lib/tasks/complete-task/complete-task.js +1 -1
- package/lib/tasks/create-task/create-task.d.ts +1 -1
- package/lib/tasks/create-task/create-task.js +2 -2
- package/lib/tasks/create-task/create-task.js.map +1 -1
- package/lib/tasks/delete-task/delete-task.d.ts +1 -1
- package/lib/tasks/delete-task/delete-task.js +1 -1
- package/lib/tasks/get-task-count/get-task-count.d.ts +1 -1
- package/lib/tasks/get-task-count/get-task-count.js +1 -1
- package/lib/tasks/update-task/update-task.d.ts +1 -1
- package/lib/tasks/update-task/update-task.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
<a href="https://github.com/d-velop/dvelop-sdk-node">
|
|
10
10
|
<img alt="GitHub" src="https://img.shields.io/badge/GitHub-dvelop--sdk--node-%23ff0844?logo=github&style=for-the-badge">
|
|
11
11
|
</a>
|
|
12
|
-
<a href="https://github.com/d-velop/dvelop-sdk-node/blob/
|
|
12
|
+
<a href="https://github.com/d-velop/dvelop-sdk-node/blob/main/LICENSE">
|
|
13
13
|
<img alt="license" src="https://img.shields.io/github/license/d-velop/dvelop-sdk-node?style=for-the-badge">
|
|
14
14
|
</a>
|
|
15
15
|
|
package/lib/index.d.ts
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
<a href="https://github.com/d-velop/dvelop-sdk-node">
|
|
11
11
|
<img alt="GitHub" src="https://img.shields.io/badge/GitHub-dvelop--sdk--node-%23ff0844?logo=github&style=for-the-badge">
|
|
12
12
|
</a>
|
|
13
|
-
<a href="https://github.com/d-velop/dvelop-sdk-node/blob/
|
|
13
|
+
<a href="https://github.com/d-velop/dvelop-sdk-node/blob/main/LICENSE">
|
|
14
14
|
<img alt="license" src="https://img.shields.io/github/license/d-velop/dvelop-sdk-node?style=for-the-badge">
|
|
15
15
|
</a>
|
|
16
16
|
</br>
|
package/lib/index.js
CHANGED
|
@@ -32,7 +32,7 @@ exports.updateTask = exports.getTaskCount = exports.deleteTask = exports.complet
|
|
|
32
32
|
<a href="https://github.com/d-velop/dvelop-sdk-node">
|
|
33
33
|
<img alt="GitHub" src="https://img.shields.io/badge/GitHub-dvelop--sdk--node-%23ff0844?logo=github&style=for-the-badge">
|
|
34
34
|
</a>
|
|
35
|
-
<a href="https://github.com/d-velop/dvelop-sdk-node/blob/
|
|
35
|
+
<a href="https://github.com/d-velop/dvelop-sdk-node/blob/main/LICENSE">
|
|
36
36
|
<img alt="license" src="https://img.shields.io/github/license/d-velop/dvelop-sdk-node?style=for-the-badge">
|
|
37
37
|
</a>
|
|
38
38
|
</br>
|
|
@@ -10,7 +10,7 @@ export interface CompleteTaskParams {
|
|
|
10
10
|
}
|
|
11
11
|
/**
|
|
12
12
|
* Factory for the {@link completeTask}-function. See [Advanced Topics](https://github.com/d-velop/dvelop-sdk-node#advanced-topics) for more information.
|
|
13
|
-
* @typeparam T Return type of the {@link completeTask}-function. A corresponding
|
|
13
|
+
* @typeparam T Return type of the {@link completeTask}-function. A corresponding transformFunction has to be supplied.
|
|
14
14
|
* @internal
|
|
15
15
|
* @category Task
|
|
16
16
|
*/
|
|
@@ -40,7 +40,7 @@ exports.completeTask = exports._completeTaskFactory = void 0;
|
|
|
40
40
|
var http_1 = require("../../utils/http");
|
|
41
41
|
/**
|
|
42
42
|
* Factory for the {@link completeTask}-function. See [Advanced Topics](https://github.com/d-velop/dvelop-sdk-node#advanced-topics) for more information.
|
|
43
|
-
* @typeparam T Return type of the {@link completeTask}-function. A corresponding
|
|
43
|
+
* @typeparam T Return type of the {@link completeTask}-function. A corresponding transformFunction has to be supplied.
|
|
44
44
|
* @internal
|
|
45
45
|
* @category Task
|
|
46
46
|
*/
|
|
@@ -89,7 +89,7 @@ export interface CreateTaskParams {
|
|
|
89
89
|
export declare function _createTaskDefaultTransformFunction(response: HttpResponse, _: DvelopContext, __: CreateTaskParams): string;
|
|
90
90
|
/**
|
|
91
91
|
* Factory for the {@link createTask}-function. See [Advanced Topics](https://github.com/d-velop/dvelop-sdk-node#advanced-topics) for more information.
|
|
92
|
-
* @typeparam T Return type of the {@link createTask}-function. A corresponding
|
|
92
|
+
* @typeparam T Return type of the {@link createTask}-function. A corresponding transformFunction has to be supplied.
|
|
93
93
|
* @internal
|
|
94
94
|
* @category Task
|
|
95
95
|
*/
|
|
@@ -56,12 +56,12 @@ var http_1 = require("../../utils/http");
|
|
|
56
56
|
* @category Task
|
|
57
57
|
*/
|
|
58
58
|
function _createTaskDefaultTransformFunction(response, _, __) {
|
|
59
|
-
return response.headers["location"];
|
|
59
|
+
return response.headers["location"] || "";
|
|
60
60
|
}
|
|
61
61
|
exports._createTaskDefaultTransformFunction = _createTaskDefaultTransformFunction;
|
|
62
62
|
/**
|
|
63
63
|
* Factory for the {@link createTask}-function. See [Advanced Topics](https://github.com/d-velop/dvelop-sdk-node#advanced-topics) for more information.
|
|
64
|
-
* @typeparam T Return type of the {@link createTask}-function. A corresponding
|
|
64
|
+
* @typeparam T Return type of the {@link createTask}-function. A corresponding transformFunction has to be supplied.
|
|
65
65
|
* @internal
|
|
66
66
|
* @category Task
|
|
67
67
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-task.js","sourceRoot":"","sources":["../../../src/tasks/create-task/create-task.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAAoE;AACpE,yCAAyF;AA2EzF;;;;GAIG;AACH,SAAgB,mCAAmC,CAAC,QAAsB,EAAE,CAAgB,EAAE,EAAoB;IAChH,OAAO,QAAQ,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"create-task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AAQ,GAAiB,SAK7B;oBAEF,sBAAO,iBAAiB,CAAC,QAAQ,EAAE,OAAO,EAAE,MAAM,CAAC,EAAC;;;SACrD,CAAC;AACJ,CAAC;AAtCD,gDAsCC;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,0BAA0B;AAC1B,SAAgB,UAAU,CAAC,OAAsB,EAAE,MAAwB;IACzE,OAAO,kBAAkB,CAAC,kCAA2B,EAAE,mCAAmC,EAAE,wBAAiB,CAAC,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;AAClI,CAAC;AAFD,gCAEC"}
|
|
@@ -10,7 +10,7 @@ export interface DeleteTaskParams {
|
|
|
10
10
|
}
|
|
11
11
|
/**
|
|
12
12
|
* Factory for the {@link deleteTask}-function. See [Advanced Topics](https://github.com/d-velop/dvelop-sdk-node#advanced-topics) for more information.
|
|
13
|
-
* @typeparam T Return type of the {@link deleteTask}-function. A corresponding
|
|
13
|
+
* @typeparam T Return type of the {@link deleteTask}-function. A corresponding transformFunction has to be supplied.
|
|
14
14
|
* @internal
|
|
15
15
|
* @category Task
|
|
16
16
|
*/
|
|
@@ -40,7 +40,7 @@ exports.deleteTask = exports._deleteTaskFactory = void 0;
|
|
|
40
40
|
var http_1 = require("../../utils/http");
|
|
41
41
|
/**
|
|
42
42
|
* Factory for the {@link deleteTask}-function. See [Advanced Topics](https://github.com/d-velop/dvelop-sdk-node#advanced-topics) for more information.
|
|
43
|
-
* @typeparam T Return type of the {@link deleteTask}-function. A corresponding
|
|
43
|
+
* @typeparam T Return type of the {@link deleteTask}-function. A corresponding transformFunction has to be supplied.
|
|
44
44
|
* @internal
|
|
45
45
|
* @category Task
|
|
46
46
|
*/
|
|
@@ -8,7 +8,7 @@ import { HttpConfig, HttpResponse } from "../../utils/http";
|
|
|
8
8
|
export declare function _getTaskCountDefaultTransformFunction(response: HttpResponse, _: DvelopContext): number;
|
|
9
9
|
/**
|
|
10
10
|
* Factory for the {@link getTaskCount}-function. See [Advanced Topics](https://github.com/d-velop/dvelop-sdk-node#advanced-topics) for more information.
|
|
11
|
-
* @typeparam T Return type of the {@link getTaskCount}-function. A corresponding
|
|
11
|
+
* @typeparam T Return type of the {@link getTaskCount}-function. A corresponding transformFunction has to be supplied.
|
|
12
12
|
* @internal
|
|
13
13
|
* @category Task
|
|
14
14
|
*/
|
|
@@ -49,7 +49,7 @@ function _getTaskCountDefaultTransformFunction(response, _) {
|
|
|
49
49
|
exports._getTaskCountDefaultTransformFunction = _getTaskCountDefaultTransformFunction;
|
|
50
50
|
/**
|
|
51
51
|
* Factory for the {@link getTaskCount}-function. See [Advanced Topics](https://github.com/d-velop/dvelop-sdk-node#advanced-topics) for more information.
|
|
52
|
-
* @typeparam T Return type of the {@link getTaskCount}-function. A corresponding
|
|
52
|
+
* @typeparam T Return type of the {@link getTaskCount}-function. A corresponding transformFunction has to be supplied.
|
|
53
53
|
* @internal
|
|
54
54
|
* @category Task
|
|
55
55
|
*/
|
|
@@ -85,7 +85,7 @@ export interface UpdateTaskParams {
|
|
|
85
85
|
}
|
|
86
86
|
/**
|
|
87
87
|
* Factory for the {@link updateTask}-function. See [Advanced Topics](https://github.com/d-velop/dvelop-sdk-node#advanced-topics) for more information.
|
|
88
|
-
* @typeparam T Return type of the {@link updateTask}-function. A corresponding
|
|
88
|
+
* @typeparam T Return type of the {@link updateTask}-function. A corresponding transformFunction has to be supplied.
|
|
89
89
|
* @internal
|
|
90
90
|
* @category Task
|
|
91
91
|
*/
|
|
@@ -51,7 +51,7 @@ exports.updateTask = exports._updateTaskFactory = void 0;
|
|
|
51
51
|
var http_1 = require("../../utils/http");
|
|
52
52
|
/**
|
|
53
53
|
* Factory for the {@link updateTask}-function. See [Advanced Topics](https://github.com/d-velop/dvelop-sdk-node#advanced-topics) for more information.
|
|
54
|
-
* @typeparam T Return type of the {@link updateTask}-function. A corresponding
|
|
54
|
+
* @typeparam T Return type of the {@link updateTask}-function. A corresponding transformFunction has to be supplied.
|
|
55
55
|
* @internal
|
|
56
56
|
* @category Task
|
|
57
57
|
*/
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dvelop-sdk/task",
|
|
3
3
|
"description": "This package contains functionality for the Task-App in the d.velop cloud.",
|
|
4
|
-
"version": "3.0.
|
|
4
|
+
"version": "3.0.6",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"types": "lib/index.d.ts",
|
|
@@ -20,6 +20,6 @@
|
|
|
20
20
|
"access": "public"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@dvelop-sdk/core": "^2.
|
|
23
|
+
"@dvelop-sdk/core": "^2.1.3"
|
|
24
24
|
}
|
|
25
25
|
}
|