@sap-ux/adp-tooling 0.19.9 → 0.19.10
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.
|
@@ -3,7 +3,7 @@ import type { MiddlewareUtils } from '@ui5/server';
|
|
|
3
3
|
import type { NextFunction, Request, Response, Router } from 'express';
|
|
4
4
|
import type { Logger, ToolsLogger } from '@sap-ux/logger';
|
|
5
5
|
import type { UI5FlexLayer } from '@sap-ux/project-access';
|
|
6
|
-
import type { AdaptationProjectType, MergedAppDescriptor } from '@sap-ux/axios-extension';
|
|
6
|
+
import type { AbapServiceProvider, AdaptationProjectType, MergedAppDescriptor } from '@sap-ux/axios-extension';
|
|
7
7
|
import type { AdpPreviewConfig, CommonChangeProperties, DescriptorVariant, OperationType, CommonAdditionalChangeInfoProperties } from '../types';
|
|
8
8
|
import type { Editor } from 'mem-fs-editor';
|
|
9
9
|
declare global {
|
|
@@ -55,9 +55,13 @@ export declare class AdpPreview {
|
|
|
55
55
|
[name: string]: string;
|
|
56
56
|
};
|
|
57
57
|
/**
|
|
58
|
-
* @returns
|
|
58
|
+
* @returns The project type.
|
|
59
59
|
*/
|
|
60
60
|
get projectType(): AdaptationProjectType | undefined;
|
|
61
|
+
/**
|
|
62
|
+
* @returns the ABAP service provider used to connect to the backend, or undefined if not initialized or in CF build mode.
|
|
63
|
+
*/
|
|
64
|
+
get serviceProvider(): AbapServiceProvider | undefined;
|
|
61
65
|
/**
|
|
62
66
|
* Constructor taking the config and a logger as input.
|
|
63
67
|
*
|
|
@@ -75,11 +75,17 @@ class AdpPreview {
|
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
77
|
/**
|
|
78
|
-
* @returns
|
|
78
|
+
* @returns The project type.
|
|
79
79
|
*/
|
|
80
80
|
get projectType() {
|
|
81
81
|
return this.projectTypeValue;
|
|
82
82
|
}
|
|
83
|
+
/**
|
|
84
|
+
* @returns the ABAP service provider used to connect to the backend, or undefined if not initialized or in CF build mode.
|
|
85
|
+
*/
|
|
86
|
+
get serviceProvider() {
|
|
87
|
+
return this.provider;
|
|
88
|
+
}
|
|
83
89
|
/**
|
|
84
90
|
* Constructor taking the config and a logger as input.
|
|
85
91
|
*
|
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"bugs": {
|
|
10
10
|
"url": "https://github.com/SAP/open-ux-tools/issues?q=is%3Aopen+is%3Aissue+label%3Abug+label%3Aadp-tooling"
|
|
11
11
|
},
|
|
12
|
-
"version": "0.19.
|
|
12
|
+
"version": "0.19.10",
|
|
13
13
|
"license": "Apache-2.0",
|
|
14
14
|
"author": "@SAP/ux-tools-team",
|
|
15
15
|
"main": "dist/index.js",
|