@dvelop-sdk/business-objects 1.0.1 → 1.0.2
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
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
|
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
|
|
18
18
|
<p>This package contains functionality for the <a href="https://dv-businessobjects-assets.s3.eu-central-1.amazonaws.com/documentation/latest/business_objects_api.html">BusinessObjects-App</a> in the d.velop cloud.</p>
|
|
19
19
|
|
|
20
|
-
<a href="https://d-velop.github.io/dvelop-sdk-node/modules/
|
|
20
|
+
<a href="https://d-velop.github.io/dvelop-sdk-node/modules/business_objects.html"><strong>Explore the docs »</strong></a>
|
|
21
21
|
|
|
22
22
|
</br>
|
|
23
23
|
|
|
@@ -2,7 +2,7 @@ import { DvelopContext } from "@dvelop-sdk/core";
|
|
|
2
2
|
import { HttpConfig, HttpResponse } from "../../utils/http";
|
|
3
3
|
/**
|
|
4
4
|
* Parameters for the {@link getBoEntities}-function.
|
|
5
|
-
* @category
|
|
5
|
+
* @category Entity
|
|
6
6
|
*/
|
|
7
7
|
export interface GetBoEntitiesParams {
|
|
8
8
|
/** Name of the model */
|
|
@@ -14,14 +14,14 @@ export interface GetBoEntitiesParams {
|
|
|
14
14
|
* Default transform-function provided to the {@link getBoEntities}-function. See [Advanced Topics](https://github.com/d-velop/dvelop-sdk-node#advanced-topics) for more information.
|
|
15
15
|
* @template E Return type
|
|
16
16
|
* @internal
|
|
17
|
-
* @category
|
|
17
|
+
* @category Entity
|
|
18
18
|
*/
|
|
19
19
|
export declare function _getBoEntitiesDefaultTransformFunction<E>(response: HttpResponse, _: DvelopContext, __: GetBoEntitiesParams): E[];
|
|
20
20
|
/**
|
|
21
21
|
* Factory for {@link getBoEntities}-function. See [Advanced Topics](https://github.com/d-velop/dvelop-sdk-node#advanced-topics) for more information.
|
|
22
22
|
* @template E Return type of the {@link getBoEntities}-function. A corresponding transformFunction has to be supplied.
|
|
23
23
|
* @internal
|
|
24
|
-
* @category
|
|
24
|
+
* @category Entity
|
|
25
25
|
*/
|
|
26
26
|
export declare function _getBoEntitiesFactory<E>(httpRequestFunction: (context: DvelopContext, config: HttpConfig) => Promise<HttpResponse>, transformFunction: (response: HttpResponse, context: DvelopContext, params: GetBoEntitiesParams) => E[]): (context: DvelopContext, params: GetBoEntitiesParams) => Promise<E[]>;
|
|
27
27
|
/**
|
|
@@ -42,7 +42,7 @@ var http_1 = require("../../utils/http");
|
|
|
42
42
|
* Default transform-function provided to the {@link getBoEntities}-function. See [Advanced Topics](https://github.com/d-velop/dvelop-sdk-node#advanced-topics) for more information.
|
|
43
43
|
* @template E Return type
|
|
44
44
|
* @internal
|
|
45
|
-
* @category
|
|
45
|
+
* @category Entity
|
|
46
46
|
*/
|
|
47
47
|
function _getBoEntitiesDefaultTransformFunction(response, _, __) {
|
|
48
48
|
return response.data.value;
|
|
@@ -52,7 +52,7 @@ exports._getBoEntitiesDefaultTransformFunction = _getBoEntitiesDefaultTransformF
|
|
|
52
52
|
* Factory for {@link getBoEntities}-function. See [Advanced Topics](https://github.com/d-velop/dvelop-sdk-node#advanced-topics) for more information.
|
|
53
53
|
* @template E Return type of the {@link getBoEntities}-function. A corresponding transformFunction has to be supplied.
|
|
54
54
|
* @internal
|
|
55
|
-
* @category
|
|
55
|
+
* @category Entity
|
|
56
56
|
*/
|
|
57
57
|
function _getBoEntitiesFactory(httpRequestFunction, transformFunction) {
|
|
58
58
|
var _this = this;
|
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
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
<a href="https://github.com/d-velop/dvelop-sdk-node">
|
|
12
12
|
<img alt="GitHub" src="https://img.shields.io/badge/GitHub-dvelop--sdk--node-%23ff0844?logo=github&style=for-the-badge">
|
|
13
13
|
</a>
|
|
14
|
-
<a href="https://github.com/d-velop/dvelop-sdk-node/blob/
|
|
14
|
+
<a href="https://github.com/d-velop/dvelop-sdk-node/blob/main/LICENSE">
|
|
15
15
|
<img alt="license" src="https://img.shields.io/github/license/d-velop/dvelop-sdk-node?style=for-the-badge">
|
|
16
16
|
</a
|
|
17
17
|
</br>
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dvelop-sdk/business-objects",
|
|
3
3
|
"description": "This package contains functionality for the BusinessObjects-App in the d.velop cloud.",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.2",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"types": "lib/index.d.ts",
|
|
@@ -25,4 +25,4 @@
|
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@dvelop-sdk/core": "^2.0.0"
|
|
27
27
|
}
|
|
28
|
-
}
|
|
28
|
+
}
|