@mcp-abap-adt/adt-clients 7.0.1 → 7.1.0
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/dist/core/shared/whereUsed.d.ts.map +1 -1
- package/dist/core/shared/whereUsed.js +39 -22
- package/dist/index.abapgit.d.ts +7 -0
- package/dist/index.abapgit.d.ts.map +1 -0
- package/dist/index.abapgit.js +9 -0
- package/dist/index.batch.d.ts +9 -0
- package/dist/index.batch.d.ts.map +1 -0
- package/dist/index.batch.js +13 -0
- package/dist/index.core.d.ts +49 -0
- package/dist/index.core.d.ts.map +1 -0
- package/dist/index.core.js +36 -0
- package/dist/index.d.ts +6 -74
- package/dist/index.d.ts.map +1 -1
- package/dist/index.executors.d.ts +7 -0
- package/dist/index.executors.d.ts.map +1 -0
- package/dist/index.executors.js +9 -0
- package/dist/index.js +20 -81
- package/dist/index.runtime.d.ts +26 -0
- package/dist/index.runtime.d.ts.map +1 -0
- package/dist/index.runtime.js +46 -0
- package/dist/index.ws.d.ts +8 -0
- package/dist/index.ws.d.ts.map +1 -0
- package/dist/index.ws.js +11 -0
- package/package.json +48 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"whereUsed.d.ts","sourceRoot":"","sources":["../../../src/core/shared/whereUsed.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EACV,YAAY,IAAI,aAAa,EAC7B,eAAe,EAChB,MAAM,0BAA0B,CAAC;AAUlC,OAAO,KAAK,EACV,uBAAuB,EACvB,mBAAmB,EACnB,wBAAwB,EACxB,oBAAoB,EAErB,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"whereUsed.d.ts","sourceRoot":"","sources":["../../../src/core/shared/whereUsed.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EACV,YAAY,IAAI,aAAa,EAC7B,eAAe,EAChB,MAAM,0BAA0B,CAAC;AAUlC,OAAO,KAAK,EACV,uBAAuB,EACvB,mBAAmB,EACnB,wBAAwB,EACxB,oBAAoB,EAErB,MAAM,SAAS,CAAC;AAgBjB;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,wBAAgB,oBAAoB,CAClC,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE;IACP,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;CACpB,GACA,MAAM,CA2BR;AAwFD;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,wBAAsB,iBAAiB,CACrC,UAAU,EAAE,eAAe,EAC3B,MAAM,EAAE,wBAAwB,GAC/B,OAAO,CAAC,aAAa,CAAC,CAuBxB;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAsB,YAAY,CAChC,UAAU,EAAE,eAAe,EAC3B,MAAM,EAAE,mBAAmB,GAC1B,OAAO,CAAC,aAAa,CAAC,CA4CxB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,wBAAsB,gBAAgB,CACpC,UAAU,EAAE,eAAe,EAC3B,MAAM,EAAE,uBAAuB,GAC9B,OAAO,CAAC,oBAAoB,CAAC,CAuJ/B"}
|
|
@@ -11,10 +11,18 @@ const fast_xml_parser_1 = require("fast-xml-parser");
|
|
|
11
11
|
const contentTypes_1 = require("../../constants/contentTypes");
|
|
12
12
|
const internalUtils_1 = require("../../utils/internalUtils");
|
|
13
13
|
const timeouts_1 = require("../../utils/timeouts");
|
|
14
|
+
// removeNSPrefix strips the namespace prefix from every element and attribute
|
|
15
|
+
// name. The where-used result is namespaced under http://www.sap.com/adt/ris/
|
|
16
|
+
// usageReferences, but the *prefix* SAP binds to it is system-dependent — some
|
|
17
|
+
// releases emit `usagereferences:` (lower-case), others `usageReferences:`
|
|
18
|
+
// (camel-case). Stripping the prefix lets us read the result regardless of which
|
|
19
|
+
// alias the server chose, instead of hard-coding one and silently parsing 0
|
|
20
|
+
// references on the other. (adtcore:* attributes are normalised the same way.)
|
|
14
21
|
const xmlParser = new fast_xml_parser_1.XMLParser({
|
|
15
22
|
ignoreAttributes: false,
|
|
16
23
|
attributeNamePrefix: '@_',
|
|
17
24
|
parseAttributeValue: false,
|
|
25
|
+
removeNSPrefix: true,
|
|
18
26
|
});
|
|
19
27
|
/**
|
|
20
28
|
* Modify where-used scope to enable/disable specific object types
|
|
@@ -46,12 +54,14 @@ const xmlParser = new fast_xml_parser_1.XMLParser({
|
|
|
46
54
|
* });
|
|
47
55
|
*/
|
|
48
56
|
function modifyWhereUsedScope(scopeXml, options) {
|
|
49
|
-
// Each available type is a self-closing <
|
|
50
|
-
//
|
|
51
|
-
//
|
|
52
|
-
//
|
|
53
|
-
//
|
|
54
|
-
|
|
57
|
+
// Each available type is a self-closing <ns:type .../> tag. The namespace
|
|
58
|
+
// PREFIX is system-dependent (usagereferences: vs usageReferences:), so match
|
|
59
|
+
// any prefix — hard-coding one made the rewrite a silent no-op on the other.
|
|
60
|
+
// We rewrite ONLY the isSelected attribute per tag and never touch the opaque
|
|
61
|
+
// <ns:payload> blob or attribute ordering — SAP emits attributes as
|
|
62
|
+
// `isDefault isSelected name`, so logic must read `name` wherever it appears,
|
|
63
|
+
// not assume it precedes isSelected.
|
|
64
|
+
const typeTagRegex = /<[A-Za-z][\w-]*:type\b[^>]*?\/>/g;
|
|
55
65
|
return scopeXml.replace(typeTagRegex, (tag) => {
|
|
56
66
|
const nameMatch = tag.match(/\bname="([^"]*)"/);
|
|
57
67
|
const name = nameMatch ? nameMatch[1] : '';
|
|
@@ -74,15 +84,16 @@ function modifyWhereUsedScope(scopeXml, options) {
|
|
|
74
84
|
});
|
|
75
85
|
}
|
|
76
86
|
/**
|
|
77
|
-
* Set the isSelected attribute on a single <
|
|
78
|
-
*
|
|
87
|
+
* Set the isSelected attribute on a single <ns:type> tag, inserting it if
|
|
88
|
+
* absent. Leaves all other attributes and their order intact. The namespace
|
|
89
|
+
* prefix is matched (and preserved) rather than hard-coded.
|
|
79
90
|
*/
|
|
80
91
|
function setIsSelected(typeTag, selected) {
|
|
81
92
|
const value = selected ? 'true' : 'false';
|
|
82
93
|
if (/\bisSelected="(?:true|false)"/.test(typeTag)) {
|
|
83
94
|
return typeTag.replace(/\bisSelected="(?:true|false)"/, `isSelected="${value}"`);
|
|
84
95
|
}
|
|
85
|
-
return typeTag.replace(/<
|
|
96
|
+
return typeTag.replace(/<([A-Za-z][\w-]*:type)\b/, `<$1 isSelected="${value}"`);
|
|
86
97
|
}
|
|
87
98
|
/**
|
|
88
99
|
* Build object URI based on type and name
|
|
@@ -229,12 +240,15 @@ async function getWhereUsed(connection, params) {
|
|
|
229
240
|
// optimisation that narrows the searched object types server-side).
|
|
230
241
|
const searchUrl = `/sap/bc/adt/repository/informationsystem/usageReferences?uri=${encodeURIComponent(objectUri)}`;
|
|
231
242
|
// When a scope is provided, extract the inner content of usageScopeResult and
|
|
232
|
-
// re-wrap it as <
|
|
243
|
+
// re-wrap it as <ns:scope>. The namespace prefix is system-dependent
|
|
244
|
+
// (usagereferences: vs usageReferences:), so capture and reuse it, and KEEP the
|
|
245
|
+
// open tag's attributes ($2, i.e. the xmlns declaration) on <scope> so the
|
|
246
|
+
// re-wrapped element stays namespace-bound regardless of which prefix SAP used.
|
|
233
247
|
const scopeContent = params.scopeXml
|
|
234
248
|
? params.scopeXml
|
|
235
249
|
.replace(/<\?xml[^>]*\?>/, '')
|
|
236
|
-
.replace(/<
|
|
237
|
-
.replace(/<\/
|
|
250
|
+
.replace(/<([A-Za-z][\w-]*):usageScopeResult\b([^>]*)>/, '<$1:scope$2>')
|
|
251
|
+
.replace(/<\/([A-Za-z][\w-]*):usageScopeResult>/, '</$1:scope>')
|
|
238
252
|
: '';
|
|
239
253
|
const searchRequestBody = `<?xml version="1.0" encoding="UTF-8"?><usagereferences:usageReferenceRequest xmlns:usagereferences="http://www.sap.com/adt/ris/usageReferences"><usagereferences:affectedObjects/>${scopeContent}</usagereferences:usageReferenceRequest>`;
|
|
240
254
|
return connection.makeAdtRequest({
|
|
@@ -341,9 +355,12 @@ async function getWhereUsedList(connection, params) {
|
|
|
341
355
|
scopeXml,
|
|
342
356
|
});
|
|
343
357
|
const xml = response.data;
|
|
344
|
-
// Parse XML response
|
|
358
|
+
// Parse XML response. Element/attribute names are namespace-prefix-free
|
|
359
|
+
// (see xmlParser config — removeNSPrefix), so `usageReferenceResult`,
|
|
360
|
+
// `referencedObject`, `adtObject`, `@_type`, `@_name`, … regardless of whether
|
|
361
|
+
// the server used the `usagereferences:` or `usageReferences:` prefix.
|
|
345
362
|
const parsed = xmlParser.parse(xml);
|
|
346
|
-
const root = parsed
|
|
363
|
+
const root = parsed.usageReferenceResult;
|
|
347
364
|
if (!root) {
|
|
348
365
|
return {
|
|
349
366
|
objectName: params.object_name,
|
|
@@ -358,30 +375,30 @@ async function getWhereUsedList(connection, params) {
|
|
|
358
375
|
const resultDescription = root['@_resultDescription'] || '';
|
|
359
376
|
// Parse referenced objects
|
|
360
377
|
const references = [];
|
|
361
|
-
const referencedObjectsNode = root
|
|
378
|
+
const referencedObjectsNode = root.referencedObjects;
|
|
362
379
|
if (referencedObjectsNode) {
|
|
363
|
-
const refObjects = referencedObjectsNode
|
|
380
|
+
const refObjects = referencedObjectsNode.referencedObject;
|
|
364
381
|
const refArray = Array.isArray(refObjects)
|
|
365
382
|
? refObjects
|
|
366
383
|
: refObjects
|
|
367
384
|
? [refObjects]
|
|
368
385
|
: [];
|
|
369
386
|
for (const refObj of refArray) {
|
|
370
|
-
const adtObject = refObj
|
|
387
|
+
const adtObject = refObj.adtObject;
|
|
371
388
|
if (!adtObject)
|
|
372
389
|
continue;
|
|
373
390
|
// Skip packages (DEVC/K) - they are container nodes, not actual references
|
|
374
|
-
const objType = adtObject['@
|
|
391
|
+
const objType = adtObject['@_type'] || '';
|
|
375
392
|
if (objType === 'DEVC/K')
|
|
376
393
|
continue;
|
|
377
|
-
const packageRef = adtObject
|
|
394
|
+
const packageRef = adtObject.packageRef;
|
|
378
395
|
references.push({
|
|
379
396
|
uri: refObj['@_uri'] || '',
|
|
380
|
-
name: adtObject['@
|
|
397
|
+
name: adtObject['@_name'] || '',
|
|
381
398
|
type: objType,
|
|
382
399
|
parentUri: refObj['@_parentUri'],
|
|
383
|
-
packageName: packageRef?.['@
|
|
384
|
-
responsible: adtObject['@
|
|
400
|
+
packageName: packageRef?.['@_name'],
|
|
401
|
+
responsible: adtObject['@_responsible'],
|
|
385
402
|
isResult: refObj['@_isResult'] === 'true',
|
|
386
403
|
usageInformation: refObj['@_usageInformation'],
|
|
387
404
|
objectIdentifier: refObj.objectIdentifier,
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ADT Clients — abapGit barrel
|
|
3
|
+
* Covers: AdtAbapGitClient and all ./clients/abapGit/** types.
|
|
4
|
+
*/
|
|
5
|
+
export { AdtAbapGitClient } from './clients/AdtAbapGitClient';
|
|
6
|
+
export type { AbapGitStatus, IAbapGitErrorLogEntry, IAbapGitExternalRepoBranch, IAbapGitExternalRepoCredentials, IAbapGitExternalRepoInfo, IAbapGitLinkArgs, IAbapGitPullArgs, IAbapGitPullResult, IAbapGitRepoStatus, IAbapGitUnlinkArgs, IAdtAbapGitClient, IAdtAbapGitClientOptions, } from './clients/abapGit/index';
|
|
7
|
+
//# sourceMappingURL=index.abapgit.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.abapgit.d.ts","sourceRoot":"","sources":["../src/index.abapgit.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAC9D,YAAY,EACV,aAAa,EACb,qBAAqB,EACrB,0BAA0B,EAC1B,+BAA+B,EAC/B,wBAAwB,EACxB,gBAAgB,EAChB,gBAAgB,EAChB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,iBAAiB,EACjB,wBAAwB,GACzB,MAAM,yBAAyB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* ADT Clients — abapGit barrel
|
|
4
|
+
* Covers: AdtAbapGitClient and all ./clients/abapGit/** types.
|
|
5
|
+
*/
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
exports.AdtAbapGitClient = void 0;
|
|
8
|
+
var AdtAbapGitClient_1 = require("./clients/AdtAbapGitClient");
|
|
9
|
+
Object.defineProperty(exports, "AdtAbapGitClient", { enumerable: true, get: function () { return AdtAbapGitClient_1.AdtAbapGitClient; } });
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ADT Clients — batch barrel
|
|
3
|
+
* Covers: all batch/** modules (AdtClientBatch, AdtRuntimeClientBatch, BatchRecordingConnection).
|
|
4
|
+
*/
|
|
5
|
+
export { AdtClientBatch } from './batch/AdtClientBatch';
|
|
6
|
+
export { AdtRuntimeClientBatch } from './batch/AdtRuntimeClientBatch';
|
|
7
|
+
export { BatchRecordingConnection } from './batch/BatchRecordingConnection';
|
|
8
|
+
export type { IBatchPayload, IBatchRequestPart, IBatchResponsePart, } from './batch/types';
|
|
9
|
+
//# sourceMappingURL=index.batch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.batch.d.ts","sourceRoot":"","sources":["../src/index.batch.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,EAAE,wBAAwB,EAAE,MAAM,kCAAkC,CAAC;AAC5E,YAAY,EACV,aAAa,EACb,iBAAiB,EACjB,kBAAkB,GACnB,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* ADT Clients — batch barrel
|
|
4
|
+
* Covers: all batch/** modules (AdtClientBatch, AdtRuntimeClientBatch, BatchRecordingConnection).
|
|
5
|
+
*/
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
exports.BatchRecordingConnection = exports.AdtRuntimeClientBatch = exports.AdtClientBatch = void 0;
|
|
8
|
+
var AdtClientBatch_1 = require("./batch/AdtClientBatch");
|
|
9
|
+
Object.defineProperty(exports, "AdtClientBatch", { enumerable: true, get: function () { return AdtClientBatch_1.AdtClientBatch; } });
|
|
10
|
+
var AdtRuntimeClientBatch_1 = require("./batch/AdtRuntimeClientBatch");
|
|
11
|
+
Object.defineProperty(exports, "AdtRuntimeClientBatch", { enumerable: true, get: function () { return AdtRuntimeClientBatch_1.AdtRuntimeClientBatch; } });
|
|
12
|
+
var BatchRecordingConnection_1 = require("./batch/BatchRecordingConnection");
|
|
13
|
+
Object.defineProperty(exports, "BatchRecordingConnection", { enumerable: true, get: function () { return BatchRecordingConnection_1.BatchRecordingConnection; } });
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ADT Clients — core barrel
|
|
3
|
+
* Covers: AdtClient, AdtClientLegacy, createAdtClient, all core/** object types,
|
|
4
|
+
* core/shared utilities, and the @mcp-abap-adt/interfaces re-export block (back-compat).
|
|
5
|
+
* Ambiguous utils (discoveryEndpoints, systemInfo) are placed here per the "ambiguous → core" rule.
|
|
6
|
+
*/
|
|
7
|
+
export type { IAbapConnection, IAbapRequestOptions, IAdtObject, IAdtResponse, ILogger, IWebSocketCloseInfo, IWebSocketConnectOptions, IWebSocketMessageEnvelope, IWebSocketMessageHandler, IWebSocketTransport, } from '@mcp-abap-adt/interfaces';
|
|
8
|
+
export type { IAdtClientOptions, IAdtSystemContext } from './clients/AdtClient';
|
|
9
|
+
export { AdtClient } from './clients/AdtClient';
|
|
10
|
+
export { AdtClientLegacy } from './clients/AdtClientLegacy';
|
|
11
|
+
export { createAdtClient } from './clients/createAdtClient';
|
|
12
|
+
export type { AdtAccessControlType, IAccessControlConfig, IAccessControlState, } from './core/accessControl';
|
|
13
|
+
export type { AdtAppendStructureType, IAppendStructureConfig, IAppendStructureState, } from './core/appendStructure';
|
|
14
|
+
export { AdtAppendStructure } from './core/appendStructure';
|
|
15
|
+
export type { IAuthorizationFieldConfig, IAuthorizationFieldState, } from './core/authorizationField';
|
|
16
|
+
export type { AdtBehaviorDefinitionType, BehaviorDefinitionImplementationType, CheckReporter, IBehaviorDefinitionConfig, IBehaviorDefinitionCreateParams, IBehaviorDefinitionState, IBehaviorDefinitionValidationParams, ICheckMessage, ICheckRunResult, ILockResult, IValidationResult, } from './core/behaviorDefinition';
|
|
17
|
+
export type { AdtBehaviorImplementationType, IBehaviorImplementationConfig, IBehaviorImplementationState, ICreateBehaviorImplementationParams, } from './core/behaviorImplementation';
|
|
18
|
+
export type { AdtClassType, ClassUnitTestDefinition, ClassUnitTestRunOptions, IClassConfig, IClassState, ILocalDefinitionsConfig, ILocalMacrosConfig, ILocalTestClassConfig, ILocalTypesConfig, } from './core/class';
|
|
19
|
+
export type { AdtDataElementType, IDataElementConfig, IDataElementState, } from './core/dataElement';
|
|
20
|
+
export type { AdtDdlType, IDdlConfig, IDdlState } from './core/ddl';
|
|
21
|
+
export type { AdtDomainType, IDomainConfig, IDomainState } from './core/domain';
|
|
22
|
+
export type { AdtEnhancement as AdtEnhancementType, EnhancementType, ICreateEnhancementParams, IEnhancementConfig, IEnhancementMetadata, IEnhancementState, } from './core/enhancement';
|
|
23
|
+
export type { FeatureToggleState, IFeatureToggleAttribute, IFeatureToggleCheckStateResult, IFeatureToggleClientLevel, IFeatureToggleConfig, IFeatureToggleHeader, IFeatureToggleObject, IFeatureTogglePlanning, IFeatureToggleReleasePlan, IFeatureToggleRollout, IFeatureToggleRuntimeState, IFeatureToggleSource, IFeatureToggleState, IFeatureToggleUserLevel, } from './core/featureToggle';
|
|
24
|
+
export type { AdtFunctionGroupType, IFunctionGroupConfig, IFunctionGroupState, } from './core/functionGroup';
|
|
25
|
+
export type { IFunctionIncludeConfig, IFunctionIncludeState, } from './core/functionInclude';
|
|
26
|
+
export type { AdtFunctionModuleType, IFunctionModuleConfig, IFunctionModuleState, } from './core/functionModule';
|
|
27
|
+
export type { AdtInterfaceType, IInterfaceConfig, IInterfaceState, } from './core/interface';
|
|
28
|
+
export type { AdtMetadataExtensionType, IMetadataExtensionConfig, IMetadataExtensionCreateParams, IMetadataExtensionState, IMetadataExtensionValidationParams, } from './core/metadataExtension';
|
|
29
|
+
export type { AdtPackageType, ICreatePackageParams, IPackageConfig, IPackageState, } from './core/package';
|
|
30
|
+
export type { AdtProgramType, IProgramConfig, IProgramState, } from './core/program';
|
|
31
|
+
export type { AdtScalarFunctionType, IScalarFunctionConfig, IScalarFunctionState, } from './core/scalarFunction';
|
|
32
|
+
export { AdtScalarFunction } from './core/scalarFunction';
|
|
33
|
+
export type { AdtScalarFunctionImplementationType, IScalarFunctionImplementationConfig, IScalarFunctionImplementationState, } from './core/scalarFunctionImplementation';
|
|
34
|
+
export { AdtScalarFunctionImplementation } from './core/scalarFunctionImplementation';
|
|
35
|
+
export type { AdtServiceBindingType, DesiredPublicationState, GeneratedServiceType, IActivateServiceBindingParams, IAdtService, IAdtServiceBinding, ICheckServiceBindingParams, IClassifyServiceBindingParams, ICreateAndGenerateServiceBindingParams, ICreateServiceBindingParams, IDeleteServiceBindingParams, IGenerateServiceBindingParams, IGetServiceBindingODataParams, IPublishODataV2Params, IReadServiceBindingParams, IServiceBindingConfig, IServiceBindingState, ITransportCheckServiceBindingParams, IUnpublishODataV2Params, IUpdateServiceBindingParams, IValidateServiceBindingParams, ServiceBindingType, ServiceBindingVariant, ServiceBindingVersion, } from './core/service';
|
|
36
|
+
export { AdtService, AdtServiceBinding, resolveBindingVariant, SERVICE_BINDING_VARIANT_MAP, } from './core/service';
|
|
37
|
+
export type { AdtServiceDefinitionType, IServiceDefinitionConfig, IServiceDefinitionState, } from './core/serviceDefinition';
|
|
38
|
+
export type { AdtObjectType, AdtSourceObjectType, GetPackageHierarchyOptions, GetSqlQueryParams, GetTableContentsParams, GetVirtualFoldersContentsParams, GetWhereUsedListParams, GetWhereUsedParams, InactiveObjectsResponse, ObjectReference, PackageHierarchyCodeFormat, PackageHierarchyNode, PackageHierarchySupportedType, ReadOptions, SearchObjectsParams, WhereUsedListResult, WhereUsedReference, } from './core/shared';
|
|
39
|
+
export type { IAdtContentTypes, IAdtHeaders } from './core/shared/contentTypes';
|
|
40
|
+
export { AdtContentTypesBase, AdtContentTypesModern, } from './core/shared/contentTypes';
|
|
41
|
+
export type { AdtStructureType, IStructureConfig, IStructureState, } from './core/structure';
|
|
42
|
+
export type { AdtTableType, ITableConfig, ITableState } from './core/table';
|
|
43
|
+
export type { AdtDdicTableTypeAlias, ITableTypeConfig, ITableTypeState, } from './core/tabletype';
|
|
44
|
+
export type { AdtTransformationType, ITransformationConfig, ITransformationState, TransformationType, } from './core/transformation';
|
|
45
|
+
export type { AdtRequestType, IListTransportsParams, ITransportConfig, ITransportState, } from './core/transport';
|
|
46
|
+
export type { AdtUnitTestType, ICdsUnitTestConfig, ICdsUnitTestState, IUnitTestConfig, IUnitTestState, } from './core/unitTest';
|
|
47
|
+
export { fetchDiscoveryEndpoints, isEndpointInDiscovery, } from './utils/discoveryEndpoints';
|
|
48
|
+
export { getSystemInformation, isModernAdtSystem, resolveContentTypes, } from './utils/systemInfo';
|
|
49
|
+
//# sourceMappingURL=index.core.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.core.d.ts","sourceRoot":"","sources":["../src/index.core.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* ADT Clients — core barrel
|
|
4
|
+
* Covers: AdtClient, AdtClientLegacy, createAdtClient, all core/** object types,
|
|
5
|
+
* core/shared utilities, and the @mcp-abap-adt/interfaces re-export block (back-compat).
|
|
6
|
+
* Ambiguous utils (discoveryEndpoints, systemInfo) are placed here per the "ambiguous → core" rule.
|
|
7
|
+
*/
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.resolveContentTypes = exports.isModernAdtSystem = exports.getSystemInformation = exports.isEndpointInDiscovery = exports.fetchDiscoveryEndpoints = exports.AdtContentTypesModern = exports.AdtContentTypesBase = exports.SERVICE_BINDING_VARIANT_MAP = exports.resolveBindingVariant = exports.AdtServiceBinding = exports.AdtService = exports.AdtScalarFunctionImplementation = exports.AdtScalarFunction = exports.AdtAppendStructure = exports.createAdtClient = exports.AdtClientLegacy = exports.AdtClient = void 0;
|
|
10
|
+
var AdtClient_1 = require("./clients/AdtClient");
|
|
11
|
+
Object.defineProperty(exports, "AdtClient", { enumerable: true, get: function () { return AdtClient_1.AdtClient; } });
|
|
12
|
+
var AdtClientLegacy_1 = require("./clients/AdtClientLegacy");
|
|
13
|
+
Object.defineProperty(exports, "AdtClientLegacy", { enumerable: true, get: function () { return AdtClientLegacy_1.AdtClientLegacy; } });
|
|
14
|
+
var createAdtClient_1 = require("./clients/createAdtClient");
|
|
15
|
+
Object.defineProperty(exports, "createAdtClient", { enumerable: true, get: function () { return createAdtClient_1.createAdtClient; } });
|
|
16
|
+
var appendStructure_1 = require("./core/appendStructure");
|
|
17
|
+
Object.defineProperty(exports, "AdtAppendStructure", { enumerable: true, get: function () { return appendStructure_1.AdtAppendStructure; } });
|
|
18
|
+
var scalarFunction_1 = require("./core/scalarFunction");
|
|
19
|
+
Object.defineProperty(exports, "AdtScalarFunction", { enumerable: true, get: function () { return scalarFunction_1.AdtScalarFunction; } });
|
|
20
|
+
var scalarFunctionImplementation_1 = require("./core/scalarFunctionImplementation");
|
|
21
|
+
Object.defineProperty(exports, "AdtScalarFunctionImplementation", { enumerable: true, get: function () { return scalarFunctionImplementation_1.AdtScalarFunctionImplementation; } });
|
|
22
|
+
var service_1 = require("./core/service");
|
|
23
|
+
Object.defineProperty(exports, "AdtService", { enumerable: true, get: function () { return service_1.AdtService; } });
|
|
24
|
+
Object.defineProperty(exports, "AdtServiceBinding", { enumerable: true, get: function () { return service_1.AdtServiceBinding; } });
|
|
25
|
+
Object.defineProperty(exports, "resolveBindingVariant", { enumerable: true, get: function () { return service_1.resolveBindingVariant; } });
|
|
26
|
+
Object.defineProperty(exports, "SERVICE_BINDING_VARIANT_MAP", { enumerable: true, get: function () { return service_1.SERVICE_BINDING_VARIANT_MAP; } });
|
|
27
|
+
var contentTypes_1 = require("./core/shared/contentTypes");
|
|
28
|
+
Object.defineProperty(exports, "AdtContentTypesBase", { enumerable: true, get: function () { return contentTypes_1.AdtContentTypesBase; } });
|
|
29
|
+
Object.defineProperty(exports, "AdtContentTypesModern", { enumerable: true, get: function () { return contentTypes_1.AdtContentTypesModern; } });
|
|
30
|
+
var discoveryEndpoints_1 = require("./utils/discoveryEndpoints");
|
|
31
|
+
Object.defineProperty(exports, "fetchDiscoveryEndpoints", { enumerable: true, get: function () { return discoveryEndpoints_1.fetchDiscoveryEndpoints; } });
|
|
32
|
+
Object.defineProperty(exports, "isEndpointInDiscovery", { enumerable: true, get: function () { return discoveryEndpoints_1.isEndpointInDiscovery; } });
|
|
33
|
+
var systemInfo_1 = require("./utils/systemInfo");
|
|
34
|
+
Object.defineProperty(exports, "getSystemInformation", { enumerable: true, get: function () { return systemInfo_1.getSystemInformation; } });
|
|
35
|
+
Object.defineProperty(exports, "isModernAdtSystem", { enumerable: true, get: function () { return systemInfo_1.isModernAdtSystem; } });
|
|
36
|
+
Object.defineProperty(exports, "resolveContentTypes", { enumerable: true, get: function () { return systemInfo_1.resolveContentTypes; } });
|
package/dist/index.d.ts
CHANGED
|
@@ -19,78 +19,10 @@
|
|
|
19
19
|
* await client.getProgram().read({ programName: 'ZTEST' });
|
|
20
20
|
* ```
|
|
21
21
|
*/
|
|
22
|
-
export
|
|
23
|
-
export
|
|
24
|
-
export
|
|
25
|
-
export
|
|
26
|
-
export
|
|
27
|
-
export
|
|
28
|
-
export type { IAdtClientOptions, IAdtSystemContext } from './clients/AdtClient';
|
|
29
|
-
export { AdtClient } from './clients/AdtClient';
|
|
30
|
-
export { AdtClientLegacy } from './clients/AdtClientLegacy';
|
|
31
|
-
export { AdtClientsWS } from './clients/AdtClientsWS';
|
|
32
|
-
export { AdtExecutor } from './clients/AdtExecutor';
|
|
33
|
-
export { AdtRuntimeClient } from './clients/AdtRuntimeClient';
|
|
34
|
-
export { AdtRuntimeClientExperimental } from './clients/AdtRuntimeClientExperimental';
|
|
35
|
-
export type { AbapGitStatus, IAbapGitErrorLogEntry, IAbapGitExternalRepoBranch, IAbapGitExternalRepoCredentials, IAbapGitExternalRepoInfo, IAbapGitLinkArgs, IAbapGitPullArgs, IAbapGitPullResult, IAbapGitRepoStatus, IAbapGitUnlinkArgs, IAdtAbapGitClient, IAdtAbapGitClientOptions, } from './clients/abapGit/index';
|
|
36
|
-
export { createAdtClient } from './clients/createAdtClient';
|
|
37
|
-
export type { DebuggerStepAction, IDebuggerAttachParams, IDebuggerGetVariablesParams, IDebuggerListenParams, IDebuggerStepParams, } from './clients/DebuggerSessionClient';
|
|
38
|
-
export { DebuggerSessionClient } from './clients/DebuggerSessionClient';
|
|
39
|
-
export type { AdtAccessControlType, IAccessControlConfig, IAccessControlState, } from './core/accessControl';
|
|
40
|
-
export type { AdtAppendStructureType, IAppendStructureConfig, IAppendStructureState, } from './core/appendStructure';
|
|
41
|
-
export { AdtAppendStructure } from './core/appendStructure';
|
|
42
|
-
export type { IAuthorizationFieldConfig, IAuthorizationFieldState, } from './core/authorizationField';
|
|
43
|
-
export type { AdtBehaviorDefinitionType, BehaviorDefinitionImplementationType, CheckReporter, IBehaviorDefinitionConfig, IBehaviorDefinitionCreateParams, IBehaviorDefinitionState, IBehaviorDefinitionValidationParams, ICheckMessage, ICheckRunResult, ILockResult, IValidationResult, } from './core/behaviorDefinition';
|
|
44
|
-
export type { AdtBehaviorImplementationType, IBehaviorImplementationConfig, IBehaviorImplementationState, ICreateBehaviorImplementationParams, } from './core/behaviorImplementation';
|
|
45
|
-
export type { AdtClassType, ClassUnitTestDefinition, ClassUnitTestRunOptions, IClassConfig, IClassState, ILocalDefinitionsConfig, ILocalMacrosConfig, ILocalTestClassConfig, ILocalTypesConfig, } from './core/class';
|
|
46
|
-
export type { AdtDataElementType, IDataElementConfig, IDataElementState, } from './core/dataElement';
|
|
47
|
-
export type { AdtDdlType, IDdlConfig, IDdlState } from './core/ddl';
|
|
48
|
-
export type { AdtDomainType, IDomainConfig, IDomainState } from './core/domain';
|
|
49
|
-
export type { AdtEnhancement as AdtEnhancementType, EnhancementType, ICreateEnhancementParams, IEnhancementConfig, IEnhancementMetadata, IEnhancementState, } from './core/enhancement';
|
|
50
|
-
export type { FeatureToggleState, IFeatureToggleAttribute, IFeatureToggleCheckStateResult, IFeatureToggleClientLevel, IFeatureToggleConfig, IFeatureToggleHeader, IFeatureToggleObject, IFeatureTogglePlanning, IFeatureToggleReleasePlan, IFeatureToggleRollout, IFeatureToggleRuntimeState, IFeatureToggleSource, IFeatureToggleState, IFeatureToggleUserLevel, } from './core/featureToggle';
|
|
51
|
-
export type { AdtFunctionGroupType, IFunctionGroupConfig, IFunctionGroupState, } from './core/functionGroup';
|
|
52
|
-
export type { IFunctionIncludeConfig, IFunctionIncludeState, } from './core/functionInclude';
|
|
53
|
-
export type { AdtFunctionModuleType, IFunctionModuleConfig, IFunctionModuleState, } from './core/functionModule';
|
|
54
|
-
export type { AdtInterfaceType, IInterfaceConfig, IInterfaceState, } from './core/interface';
|
|
55
|
-
export type { AdtMetadataExtensionType, IMetadataExtensionConfig, IMetadataExtensionCreateParams, IMetadataExtensionState, IMetadataExtensionValidationParams, } from './core/metadataExtension';
|
|
56
|
-
export type { AdtPackageType, ICreatePackageParams, IPackageConfig, IPackageState, } from './core/package';
|
|
57
|
-
export type { AdtProgramType, IProgramConfig, IProgramState, } from './core/program';
|
|
58
|
-
export type { AdtScalarFunctionType, IScalarFunctionConfig, IScalarFunctionState, } from './core/scalarFunction';
|
|
59
|
-
export { AdtScalarFunction } from './core/scalarFunction';
|
|
60
|
-
export type { AdtScalarFunctionImplementationType, IScalarFunctionImplementationConfig, IScalarFunctionImplementationState, } from './core/scalarFunctionImplementation';
|
|
61
|
-
export { AdtScalarFunctionImplementation } from './core/scalarFunctionImplementation';
|
|
62
|
-
export type { AdtServiceBindingType, DesiredPublicationState, GeneratedServiceType, IActivateServiceBindingParams, IAdtService, IAdtServiceBinding, ICheckServiceBindingParams, IClassifyServiceBindingParams, ICreateAndGenerateServiceBindingParams, ICreateServiceBindingParams, IDeleteServiceBindingParams, IGenerateServiceBindingParams, IGetServiceBindingODataParams, IPublishODataV2Params, IReadServiceBindingParams, IServiceBindingConfig, IServiceBindingState, ITransportCheckServiceBindingParams, IUnpublishODataV2Params, IUpdateServiceBindingParams, IValidateServiceBindingParams, ServiceBindingType, ServiceBindingVariant, ServiceBindingVersion, } from './core/service';
|
|
63
|
-
export { AdtService, AdtServiceBinding, resolveBindingVariant, SERVICE_BINDING_VARIANT_MAP, } from './core/service';
|
|
64
|
-
export type { AdtServiceDefinitionType, IServiceDefinitionConfig, IServiceDefinitionState, } from './core/serviceDefinition';
|
|
65
|
-
export type { AdtObjectType, AdtSourceObjectType, GetPackageHierarchyOptions, GetSqlQueryParams, GetTableContentsParams, GetVirtualFoldersContentsParams, GetWhereUsedListParams, GetWhereUsedParams, InactiveObjectsResponse, ObjectReference, PackageHierarchyCodeFormat, PackageHierarchyNode, PackageHierarchySupportedType, ReadOptions, SearchObjectsParams, WhereUsedListResult, WhereUsedReference, } from './core/shared';
|
|
66
|
-
export type { IAdtContentTypes, IAdtHeaders } from './core/shared/contentTypes';
|
|
67
|
-
export { AdtContentTypesBase, AdtContentTypesModern, } from './core/shared/contentTypes';
|
|
68
|
-
export type { AdtStructureType, IStructureConfig, IStructureState, } from './core/structure';
|
|
69
|
-
export type { AdtTableType, ITableConfig, ITableState } from './core/table';
|
|
70
|
-
export type { AdtDdicTableTypeAlias, ITableTypeConfig, ITableTypeState, } from './core/tabletype';
|
|
71
|
-
export type { AdtTransformationType, ITransformationConfig, ITransformationState, TransformationType, } from './core/transformation';
|
|
72
|
-
export type { AdtRequestType, IListTransportsParams, ITransportConfig, ITransportState, } from './core/transport';
|
|
73
|
-
export type { AdtUnitTestType, ICdsUnitTestConfig, ICdsUnitTestState, IUnitTestConfig, IUnitTestState, } from './core/unitTest';
|
|
74
|
-
export type { IClassExecuteWithProfilerOptions, IClassExecuteWithProfilingOptions, IClassExecuteWithProfilingResult, IClassExecutionTarget, IClassExecutor, IExecutor, IProgramExecuteWithProfilerOptions, IProgramExecuteWithProfilingOptions, IProgramExecuteWithProfilingResult, IProgramExecutionTarget, IProgramExecutor, } from './executors';
|
|
75
|
-
export { ApplicationLog } from './runtime/applicationLog/ApplicationLog';
|
|
76
|
-
export { AtcLog } from './runtime/atc/AtcLog';
|
|
77
|
-
export { DdicActivation } from './runtime/ddic/DdicActivation';
|
|
78
|
-
export { AbapDebugger } from './runtime/debugger/AbapDebugger';
|
|
79
|
-
export { AmdpDebugger } from './runtime/debugger/AmdpDebugger';
|
|
80
|
-
export { Debugger } from './runtime/debugger/Debugger';
|
|
81
|
-
export { buildDumpIdPrefix, buildRuntimeDumpsUserQuery, type IRuntimeDumpReadOptions, type IRuntimeDumpReadView, type IRuntimeDumpsListOptions, } from './runtime/dumps';
|
|
82
|
-
export { RuntimeDumps } from './runtime/dumps/RuntimeDumps';
|
|
83
|
-
export { FeedRepository } from './runtime/feeds/FeedRepository';
|
|
84
|
-
export type { IFeedEntry, IFeedQueryOptions, IFeedRepository, } from './runtime/feeds/types';
|
|
85
|
-
export { GatewayErrorLog } from './runtime/gatewayErrorLog/GatewayErrorLog';
|
|
86
|
-
export type { ICallStackEntry, IGatewayErrorDetail, IGatewayErrorEntry, IGatewayException, ISourceCodeLine, } from './runtime/gatewayErrorLog/types';
|
|
87
|
-
export { MemorySnapshots } from './runtime/memory/MemorySnapshots';
|
|
88
|
-
export { SystemMessages } from './runtime/systemMessages/SystemMessages';
|
|
89
|
-
export type { ISystemMessageEntry } from './runtime/systemMessages/types';
|
|
90
|
-
export { CrossTrace } from './runtime/traces/CrossTraceDomain';
|
|
91
|
-
export { Profiler } from './runtime/traces/ProfilerDomain';
|
|
92
|
-
export { St05Trace } from './runtime/traces/St05Trace';
|
|
93
|
-
export type { IListableRuntimeObject, IRuntimeAnalysisObject, } from './runtime/types';
|
|
94
|
-
export { fetchDiscoveryEndpoints, isEndpointInDiscovery, } from './utils/discoveryEndpoints';
|
|
95
|
-
export { getSystemInformation, isModernAdtSystem, resolveContentTypes, } from './utils/systemInfo';
|
|
22
|
+
export * from './index.abapgit';
|
|
23
|
+
export * from './index.batch';
|
|
24
|
+
export * from './index.core';
|
|
25
|
+
export * from './index.executors';
|
|
26
|
+
export * from './index.runtime';
|
|
27
|
+
export * from './index.ws';
|
|
96
28
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ADT Clients — executors barrel
|
|
3
|
+
* Covers: AdtExecutor and all ./executors/** types.
|
|
4
|
+
*/
|
|
5
|
+
export { AdtExecutor } from './clients/AdtExecutor';
|
|
6
|
+
export type { IClassExecuteWithProfilerOptions, IClassExecuteWithProfilingOptions, IClassExecuteWithProfilingResult, IClassExecutionTarget, IClassExecutor, IExecutor, IProgramExecuteWithProfilerOptions, IProgramExecuteWithProfilingOptions, IProgramExecuteWithProfilingResult, IProgramExecutionTarget, IProgramExecutor, } from './executors';
|
|
7
|
+
//# sourceMappingURL=index.executors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.executors.d.ts","sourceRoot":"","sources":["../src/index.executors.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,YAAY,EACV,gCAAgC,EAChC,iCAAiC,EACjC,gCAAgC,EAChC,qBAAqB,EACrB,cAAc,EACd,SAAS,EACT,kCAAkC,EAClC,mCAAmC,EACnC,kCAAkC,EAClC,uBAAuB,EACvB,gBAAgB,GACjB,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* ADT Clients — executors barrel
|
|
4
|
+
* Covers: AdtExecutor and all ./executors/** types.
|
|
5
|
+
*/
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
exports.AdtExecutor = void 0;
|
|
8
|
+
var AdtExecutor_1 = require("./clients/AdtExecutor");
|
|
9
|
+
Object.defineProperty(exports, "AdtExecutor", { enumerable: true, get: function () { return AdtExecutor_1.AdtExecutor; } });
|
package/dist/index.js
CHANGED
|
@@ -20,85 +20,24 @@
|
|
|
20
20
|
* await client.getProgram().read({ programName: 'ZTEST' });
|
|
21
21
|
* ```
|
|
22
22
|
*/
|
|
23
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
24
|
+
if (k2 === undefined) k2 = k;
|
|
25
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
26
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
27
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
28
|
+
}
|
|
29
|
+
Object.defineProperty(o, k2, desc);
|
|
30
|
+
}) : (function(o, m, k, k2) {
|
|
31
|
+
if (k2 === undefined) k2 = k;
|
|
32
|
+
o[k2] = m[k];
|
|
33
|
+
}));
|
|
34
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
35
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
36
|
+
};
|
|
23
37
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
Object.defineProperty(exports, "BatchRecordingConnection", { enumerable: true, get: function () { return BatchRecordingConnection_1.BatchRecordingConnection; } });
|
|
31
|
-
var AdtAbapGitClient_1 = require("./clients/AdtAbapGitClient");
|
|
32
|
-
Object.defineProperty(exports, "AdtAbapGitClient", { enumerable: true, get: function () { return AdtAbapGitClient_1.AdtAbapGitClient; } });
|
|
33
|
-
var AdtClient_1 = require("./clients/AdtClient");
|
|
34
|
-
Object.defineProperty(exports, "AdtClient", { enumerable: true, get: function () { return AdtClient_1.AdtClient; } });
|
|
35
|
-
var AdtClientLegacy_1 = require("./clients/AdtClientLegacy");
|
|
36
|
-
Object.defineProperty(exports, "AdtClientLegacy", { enumerable: true, get: function () { return AdtClientLegacy_1.AdtClientLegacy; } });
|
|
37
|
-
var AdtClientsWS_1 = require("./clients/AdtClientsWS");
|
|
38
|
-
Object.defineProperty(exports, "AdtClientsWS", { enumerable: true, get: function () { return AdtClientsWS_1.AdtClientsWS; } });
|
|
39
|
-
var AdtExecutor_1 = require("./clients/AdtExecutor");
|
|
40
|
-
Object.defineProperty(exports, "AdtExecutor", { enumerable: true, get: function () { return AdtExecutor_1.AdtExecutor; } });
|
|
41
|
-
var AdtRuntimeClient_1 = require("./clients/AdtRuntimeClient");
|
|
42
|
-
Object.defineProperty(exports, "AdtRuntimeClient", { enumerable: true, get: function () { return AdtRuntimeClient_1.AdtRuntimeClient; } });
|
|
43
|
-
var AdtRuntimeClientExperimental_1 = require("./clients/AdtRuntimeClientExperimental");
|
|
44
|
-
Object.defineProperty(exports, "AdtRuntimeClientExperimental", { enumerable: true, get: function () { return AdtRuntimeClientExperimental_1.AdtRuntimeClientExperimental; } });
|
|
45
|
-
var createAdtClient_1 = require("./clients/createAdtClient");
|
|
46
|
-
Object.defineProperty(exports, "createAdtClient", { enumerable: true, get: function () { return createAdtClient_1.createAdtClient; } });
|
|
47
|
-
var DebuggerSessionClient_1 = require("./clients/DebuggerSessionClient");
|
|
48
|
-
Object.defineProperty(exports, "DebuggerSessionClient", { enumerable: true, get: function () { return DebuggerSessionClient_1.DebuggerSessionClient; } });
|
|
49
|
-
var appendStructure_1 = require("./core/appendStructure");
|
|
50
|
-
Object.defineProperty(exports, "AdtAppendStructure", { enumerable: true, get: function () { return appendStructure_1.AdtAppendStructure; } });
|
|
51
|
-
var scalarFunction_1 = require("./core/scalarFunction");
|
|
52
|
-
Object.defineProperty(exports, "AdtScalarFunction", { enumerable: true, get: function () { return scalarFunction_1.AdtScalarFunction; } });
|
|
53
|
-
var scalarFunctionImplementation_1 = require("./core/scalarFunctionImplementation");
|
|
54
|
-
Object.defineProperty(exports, "AdtScalarFunctionImplementation", { enumerable: true, get: function () { return scalarFunctionImplementation_1.AdtScalarFunctionImplementation; } });
|
|
55
|
-
var service_1 = require("./core/service");
|
|
56
|
-
Object.defineProperty(exports, "AdtService", { enumerable: true, get: function () { return service_1.AdtService; } });
|
|
57
|
-
Object.defineProperty(exports, "AdtServiceBinding", { enumerable: true, get: function () { return service_1.AdtServiceBinding; } });
|
|
58
|
-
Object.defineProperty(exports, "resolveBindingVariant", { enumerable: true, get: function () { return service_1.resolveBindingVariant; } });
|
|
59
|
-
Object.defineProperty(exports, "SERVICE_BINDING_VARIANT_MAP", { enumerable: true, get: function () { return service_1.SERVICE_BINDING_VARIANT_MAP; } });
|
|
60
|
-
var contentTypes_1 = require("./core/shared/contentTypes");
|
|
61
|
-
Object.defineProperty(exports, "AdtContentTypesBase", { enumerable: true, get: function () { return contentTypes_1.AdtContentTypesBase; } });
|
|
62
|
-
Object.defineProperty(exports, "AdtContentTypesModern", { enumerable: true, get: function () { return contentTypes_1.AdtContentTypesModern; } });
|
|
63
|
-
var ApplicationLog_1 = require("./runtime/applicationLog/ApplicationLog");
|
|
64
|
-
Object.defineProperty(exports, "ApplicationLog", { enumerable: true, get: function () { return ApplicationLog_1.ApplicationLog; } });
|
|
65
|
-
var AtcLog_1 = require("./runtime/atc/AtcLog");
|
|
66
|
-
Object.defineProperty(exports, "AtcLog", { enumerable: true, get: function () { return AtcLog_1.AtcLog; } });
|
|
67
|
-
var DdicActivation_1 = require("./runtime/ddic/DdicActivation");
|
|
68
|
-
Object.defineProperty(exports, "DdicActivation", { enumerable: true, get: function () { return DdicActivation_1.DdicActivation; } });
|
|
69
|
-
var AbapDebugger_1 = require("./runtime/debugger/AbapDebugger");
|
|
70
|
-
Object.defineProperty(exports, "AbapDebugger", { enumerable: true, get: function () { return AbapDebugger_1.AbapDebugger; } });
|
|
71
|
-
var AmdpDebugger_1 = require("./runtime/debugger/AmdpDebugger");
|
|
72
|
-
Object.defineProperty(exports, "AmdpDebugger", { enumerable: true, get: function () { return AmdpDebugger_1.AmdpDebugger; } });
|
|
73
|
-
var Debugger_1 = require("./runtime/debugger/Debugger");
|
|
74
|
-
Object.defineProperty(exports, "Debugger", { enumerable: true, get: function () { return Debugger_1.Debugger; } });
|
|
75
|
-
// Keep low-level dump types/functions (may be used by consumers)
|
|
76
|
-
var dumps_1 = require("./runtime/dumps");
|
|
77
|
-
Object.defineProperty(exports, "buildDumpIdPrefix", { enumerable: true, get: function () { return dumps_1.buildDumpIdPrefix; } });
|
|
78
|
-
Object.defineProperty(exports, "buildRuntimeDumpsUserQuery", { enumerable: true, get: function () { return dumps_1.buildRuntimeDumpsUserQuery; } });
|
|
79
|
-
var RuntimeDumps_1 = require("./runtime/dumps/RuntimeDumps");
|
|
80
|
-
Object.defineProperty(exports, "RuntimeDumps", { enumerable: true, get: function () { return RuntimeDumps_1.RuntimeDumps; } });
|
|
81
|
-
var FeedRepository_1 = require("./runtime/feeds/FeedRepository");
|
|
82
|
-
Object.defineProperty(exports, "FeedRepository", { enumerable: true, get: function () { return FeedRepository_1.FeedRepository; } });
|
|
83
|
-
var GatewayErrorLog_1 = require("./runtime/gatewayErrorLog/GatewayErrorLog");
|
|
84
|
-
Object.defineProperty(exports, "GatewayErrorLog", { enumerable: true, get: function () { return GatewayErrorLog_1.GatewayErrorLog; } });
|
|
85
|
-
// MemorySnapshots is now accessed via getDebugger().getMemorySnapshots()
|
|
86
|
-
// The class is still exported for backward compatibility
|
|
87
|
-
var MemorySnapshots_1 = require("./runtime/memory/MemorySnapshots");
|
|
88
|
-
Object.defineProperty(exports, "MemorySnapshots", { enumerable: true, get: function () { return MemorySnapshots_1.MemorySnapshots; } });
|
|
89
|
-
var SystemMessages_1 = require("./runtime/systemMessages/SystemMessages");
|
|
90
|
-
Object.defineProperty(exports, "SystemMessages", { enumerable: true, get: function () { return SystemMessages_1.SystemMessages; } });
|
|
91
|
-
var CrossTraceDomain_1 = require("./runtime/traces/CrossTraceDomain");
|
|
92
|
-
Object.defineProperty(exports, "CrossTrace", { enumerable: true, get: function () { return CrossTraceDomain_1.CrossTrace; } });
|
|
93
|
-
// Domain objects
|
|
94
|
-
var ProfilerDomain_1 = require("./runtime/traces/ProfilerDomain");
|
|
95
|
-
Object.defineProperty(exports, "Profiler", { enumerable: true, get: function () { return ProfilerDomain_1.Profiler; } });
|
|
96
|
-
var St05Trace_1 = require("./runtime/traces/St05Trace");
|
|
97
|
-
Object.defineProperty(exports, "St05Trace", { enumerable: true, get: function () { return St05Trace_1.St05Trace; } });
|
|
98
|
-
var discoveryEndpoints_1 = require("./utils/discoveryEndpoints");
|
|
99
|
-
Object.defineProperty(exports, "fetchDiscoveryEndpoints", { enumerable: true, get: function () { return discoveryEndpoints_1.fetchDiscoveryEndpoints; } });
|
|
100
|
-
Object.defineProperty(exports, "isEndpointInDiscovery", { enumerable: true, get: function () { return discoveryEndpoints_1.isEndpointInDiscovery; } });
|
|
101
|
-
var systemInfo_1 = require("./utils/systemInfo");
|
|
102
|
-
Object.defineProperty(exports, "getSystemInformation", { enumerable: true, get: function () { return systemInfo_1.getSystemInformation; } });
|
|
103
|
-
Object.defineProperty(exports, "isModernAdtSystem", { enumerable: true, get: function () { return systemInfo_1.isModernAdtSystem; } });
|
|
104
|
-
Object.defineProperty(exports, "resolveContentTypes", { enumerable: true, get: function () { return systemInfo_1.resolveContentTypes; } });
|
|
38
|
+
__exportStar(require("./index.abapgit"), exports);
|
|
39
|
+
__exportStar(require("./index.batch"), exports);
|
|
40
|
+
__exportStar(require("./index.core"), exports);
|
|
41
|
+
__exportStar(require("./index.executors"), exports);
|
|
42
|
+
__exportStar(require("./index.runtime"), exports);
|
|
43
|
+
__exportStar(require("./index.ws"), exports);
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ADT Clients — runtime barrel
|
|
3
|
+
* Covers: AdtRuntimeClient, AdtRuntimeClientExperimental, and all runtime/** modules.
|
|
4
|
+
*/
|
|
5
|
+
export { AdtRuntimeClient } from './clients/AdtRuntimeClient';
|
|
6
|
+
export { AdtRuntimeClientExperimental } from './clients/AdtRuntimeClientExperimental';
|
|
7
|
+
export { ApplicationLog } from './runtime/applicationLog/ApplicationLog';
|
|
8
|
+
export { AtcLog } from './runtime/atc/AtcLog';
|
|
9
|
+
export { DdicActivation } from './runtime/ddic/DdicActivation';
|
|
10
|
+
export { AbapDebugger } from './runtime/debugger/AbapDebugger';
|
|
11
|
+
export { AmdpDebugger } from './runtime/debugger/AmdpDebugger';
|
|
12
|
+
export { Debugger } from './runtime/debugger/Debugger';
|
|
13
|
+
export { buildDumpIdPrefix, buildRuntimeDumpsUserQuery, type IRuntimeDumpReadOptions, type IRuntimeDumpReadView, type IRuntimeDumpsListOptions, } from './runtime/dumps';
|
|
14
|
+
export { RuntimeDumps } from './runtime/dumps/RuntimeDumps';
|
|
15
|
+
export { FeedRepository } from './runtime/feeds/FeedRepository';
|
|
16
|
+
export type { IFeedEntry, IFeedQueryOptions, IFeedRepository, } from './runtime/feeds/types';
|
|
17
|
+
export { GatewayErrorLog } from './runtime/gatewayErrorLog/GatewayErrorLog';
|
|
18
|
+
export type { ICallStackEntry, IGatewayErrorDetail, IGatewayErrorEntry, IGatewayException, ISourceCodeLine, } from './runtime/gatewayErrorLog/types';
|
|
19
|
+
export { MemorySnapshots } from './runtime/memory/MemorySnapshots';
|
|
20
|
+
export { SystemMessages } from './runtime/systemMessages/SystemMessages';
|
|
21
|
+
export type { ISystemMessageEntry } from './runtime/systemMessages/types';
|
|
22
|
+
export { CrossTrace } from './runtime/traces/CrossTraceDomain';
|
|
23
|
+
export { Profiler } from './runtime/traces/ProfilerDomain';
|
|
24
|
+
export { St05Trace } from './runtime/traces/St05Trace';
|
|
25
|
+
export type { IListableRuntimeObject, IRuntimeAnalysisObject, } from './runtime/types';
|
|
26
|
+
//# sourceMappingURL=index.runtime.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.runtime.d.ts","sourceRoot":"","sources":["../src/index.runtime.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,EAAE,4BAA4B,EAAE,MAAM,wCAAwC,CAAC;AACtF,OAAO,EAAE,cAAc,EAAE,MAAM,yCAAyC,CAAC;AACzE,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAEvD,OAAO,EACL,iBAAiB,EACjB,0BAA0B,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,GAC9B,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC5D,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAChE,YAAY,EACV,UAAU,EACV,iBAAiB,EACjB,eAAe,GAChB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,eAAe,EAAE,MAAM,2CAA2C,CAAC;AAC5E,YAAY,EACV,eAAe,EACf,mBAAmB,EACnB,kBAAkB,EAClB,iBAAiB,EACjB,eAAe,GAChB,MAAM,iCAAiC,CAAC;AAGzC,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACnE,OAAO,EAAE,cAAc,EAAE,MAAM,yCAAyC,CAAC;AACzE,YAAY,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AAC1E,OAAO,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAC;AAE/D,OAAO,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AAC3D,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AACvD,YAAY,EACV,sBAAsB,EACtB,sBAAsB,GACvB,MAAM,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* ADT Clients — runtime barrel
|
|
4
|
+
* Covers: AdtRuntimeClient, AdtRuntimeClientExperimental, and all runtime/** modules.
|
|
5
|
+
*/
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
exports.St05Trace = exports.Profiler = exports.CrossTrace = exports.SystemMessages = exports.MemorySnapshots = exports.GatewayErrorLog = exports.FeedRepository = exports.RuntimeDumps = exports.buildRuntimeDumpsUserQuery = exports.buildDumpIdPrefix = exports.Debugger = exports.AmdpDebugger = exports.AbapDebugger = exports.DdicActivation = exports.AtcLog = exports.ApplicationLog = exports.AdtRuntimeClientExperimental = exports.AdtRuntimeClient = void 0;
|
|
8
|
+
var AdtRuntimeClient_1 = require("./clients/AdtRuntimeClient");
|
|
9
|
+
Object.defineProperty(exports, "AdtRuntimeClient", { enumerable: true, get: function () { return AdtRuntimeClient_1.AdtRuntimeClient; } });
|
|
10
|
+
var AdtRuntimeClientExperimental_1 = require("./clients/AdtRuntimeClientExperimental");
|
|
11
|
+
Object.defineProperty(exports, "AdtRuntimeClientExperimental", { enumerable: true, get: function () { return AdtRuntimeClientExperimental_1.AdtRuntimeClientExperimental; } });
|
|
12
|
+
var ApplicationLog_1 = require("./runtime/applicationLog/ApplicationLog");
|
|
13
|
+
Object.defineProperty(exports, "ApplicationLog", { enumerable: true, get: function () { return ApplicationLog_1.ApplicationLog; } });
|
|
14
|
+
var AtcLog_1 = require("./runtime/atc/AtcLog");
|
|
15
|
+
Object.defineProperty(exports, "AtcLog", { enumerable: true, get: function () { return AtcLog_1.AtcLog; } });
|
|
16
|
+
var DdicActivation_1 = require("./runtime/ddic/DdicActivation");
|
|
17
|
+
Object.defineProperty(exports, "DdicActivation", { enumerable: true, get: function () { return DdicActivation_1.DdicActivation; } });
|
|
18
|
+
var AbapDebugger_1 = require("./runtime/debugger/AbapDebugger");
|
|
19
|
+
Object.defineProperty(exports, "AbapDebugger", { enumerable: true, get: function () { return AbapDebugger_1.AbapDebugger; } });
|
|
20
|
+
var AmdpDebugger_1 = require("./runtime/debugger/AmdpDebugger");
|
|
21
|
+
Object.defineProperty(exports, "AmdpDebugger", { enumerable: true, get: function () { return AmdpDebugger_1.AmdpDebugger; } });
|
|
22
|
+
var Debugger_1 = require("./runtime/debugger/Debugger");
|
|
23
|
+
Object.defineProperty(exports, "Debugger", { enumerable: true, get: function () { return Debugger_1.Debugger; } });
|
|
24
|
+
// Keep low-level dump types/functions (may be used by consumers)
|
|
25
|
+
var dumps_1 = require("./runtime/dumps");
|
|
26
|
+
Object.defineProperty(exports, "buildDumpIdPrefix", { enumerable: true, get: function () { return dumps_1.buildDumpIdPrefix; } });
|
|
27
|
+
Object.defineProperty(exports, "buildRuntimeDumpsUserQuery", { enumerable: true, get: function () { return dumps_1.buildRuntimeDumpsUserQuery; } });
|
|
28
|
+
var RuntimeDumps_1 = require("./runtime/dumps/RuntimeDumps");
|
|
29
|
+
Object.defineProperty(exports, "RuntimeDumps", { enumerable: true, get: function () { return RuntimeDumps_1.RuntimeDumps; } });
|
|
30
|
+
var FeedRepository_1 = require("./runtime/feeds/FeedRepository");
|
|
31
|
+
Object.defineProperty(exports, "FeedRepository", { enumerable: true, get: function () { return FeedRepository_1.FeedRepository; } });
|
|
32
|
+
var GatewayErrorLog_1 = require("./runtime/gatewayErrorLog/GatewayErrorLog");
|
|
33
|
+
Object.defineProperty(exports, "GatewayErrorLog", { enumerable: true, get: function () { return GatewayErrorLog_1.GatewayErrorLog; } });
|
|
34
|
+
// MemorySnapshots is now accessed via getDebugger().getMemorySnapshots()
|
|
35
|
+
// The class is still exported for backward compatibility
|
|
36
|
+
var MemorySnapshots_1 = require("./runtime/memory/MemorySnapshots");
|
|
37
|
+
Object.defineProperty(exports, "MemorySnapshots", { enumerable: true, get: function () { return MemorySnapshots_1.MemorySnapshots; } });
|
|
38
|
+
var SystemMessages_1 = require("./runtime/systemMessages/SystemMessages");
|
|
39
|
+
Object.defineProperty(exports, "SystemMessages", { enumerable: true, get: function () { return SystemMessages_1.SystemMessages; } });
|
|
40
|
+
var CrossTraceDomain_1 = require("./runtime/traces/CrossTraceDomain");
|
|
41
|
+
Object.defineProperty(exports, "CrossTrace", { enumerable: true, get: function () { return CrossTraceDomain_1.CrossTrace; } });
|
|
42
|
+
// Domain objects
|
|
43
|
+
var ProfilerDomain_1 = require("./runtime/traces/ProfilerDomain");
|
|
44
|
+
Object.defineProperty(exports, "Profiler", { enumerable: true, get: function () { return ProfilerDomain_1.Profiler; } });
|
|
45
|
+
var St05Trace_1 = require("./runtime/traces/St05Trace");
|
|
46
|
+
Object.defineProperty(exports, "St05Trace", { enumerable: true, get: function () { return St05Trace_1.St05Trace; } });
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ADT Clients — WebSocket barrel
|
|
3
|
+
* Covers: AdtClientsWS and DebuggerSessionClient.
|
|
4
|
+
*/
|
|
5
|
+
export { AdtClientsWS } from './clients/AdtClientsWS';
|
|
6
|
+
export type { DebuggerStepAction, IDebuggerAttachParams, IDebuggerGetVariablesParams, IDebuggerListenParams, IDebuggerStepParams, } from './clients/DebuggerSessionClient';
|
|
7
|
+
export { DebuggerSessionClient } from './clients/DebuggerSessionClient';
|
|
8
|
+
//# sourceMappingURL=index.ws.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.ws.d.ts","sourceRoot":"","sources":["../src/index.ws.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,YAAY,EACV,kBAAkB,EAClB,qBAAqB,EACrB,2BAA2B,EAC3B,qBAAqB,EACrB,mBAAmB,GACpB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAC"}
|
package/dist/index.ws.js
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* ADT Clients — WebSocket barrel
|
|
4
|
+
* Covers: AdtClientsWS and DebuggerSessionClient.
|
|
5
|
+
*/
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
exports.DebuggerSessionClient = exports.AdtClientsWS = void 0;
|
|
8
|
+
var AdtClientsWS_1 = require("./clients/AdtClientsWS");
|
|
9
|
+
Object.defineProperty(exports, "AdtClientsWS", { enumerable: true, get: function () { return AdtClientsWS_1.AdtClientsWS; } });
|
|
10
|
+
var DebuggerSessionClient_1 = require("./clients/DebuggerSessionClient");
|
|
11
|
+
Object.defineProperty(exports, "DebuggerSessionClient", { enumerable: true, get: function () { return DebuggerSessionClient_1.DebuggerSessionClient; } });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mcp-abap-adt/adt-clients",
|
|
3
|
-
"version": "7.0
|
|
3
|
+
"version": "7.1.0",
|
|
4
4
|
"description": "ADT clients for SAP ABAP systems - AdtClient and AdtRuntimeClient",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -8,6 +8,52 @@
|
|
|
8
8
|
".": {
|
|
9
9
|
"types": "./dist/index.d.ts",
|
|
10
10
|
"default": "./dist/index.js"
|
|
11
|
+
},
|
|
12
|
+
"./core": {
|
|
13
|
+
"types": "./dist/index.core.d.ts",
|
|
14
|
+
"default": "./dist/index.core.js"
|
|
15
|
+
},
|
|
16
|
+
"./runtime": {
|
|
17
|
+
"types": "./dist/index.runtime.d.ts",
|
|
18
|
+
"default": "./dist/index.runtime.js"
|
|
19
|
+
},
|
|
20
|
+
"./batch": {
|
|
21
|
+
"types": "./dist/index.batch.d.ts",
|
|
22
|
+
"default": "./dist/index.batch.js"
|
|
23
|
+
},
|
|
24
|
+
"./ws": {
|
|
25
|
+
"types": "./dist/index.ws.d.ts",
|
|
26
|
+
"default": "./dist/index.ws.js"
|
|
27
|
+
},
|
|
28
|
+
"./abapgit": {
|
|
29
|
+
"types": "./dist/index.abapgit.d.ts",
|
|
30
|
+
"default": "./dist/index.abapgit.js"
|
|
31
|
+
},
|
|
32
|
+
"./executors": {
|
|
33
|
+
"types": "./dist/index.executors.d.ts",
|
|
34
|
+
"default": "./dist/index.executors.js"
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"typesVersions": {
|
|
38
|
+
"*": {
|
|
39
|
+
"core": [
|
|
40
|
+
"dist/index.core.d.ts"
|
|
41
|
+
],
|
|
42
|
+
"runtime": [
|
|
43
|
+
"dist/index.runtime.d.ts"
|
|
44
|
+
],
|
|
45
|
+
"batch": [
|
|
46
|
+
"dist/index.batch.d.ts"
|
|
47
|
+
],
|
|
48
|
+
"ws": [
|
|
49
|
+
"dist/index.ws.d.ts"
|
|
50
|
+
],
|
|
51
|
+
"abapgit": [
|
|
52
|
+
"dist/index.abapgit.d.ts"
|
|
53
|
+
],
|
|
54
|
+
"executors": [
|
|
55
|
+
"dist/index.executors.d.ts"
|
|
56
|
+
]
|
|
11
57
|
}
|
|
12
58
|
},
|
|
13
59
|
"files": [
|
|
@@ -70,8 +116,7 @@
|
|
|
70
116
|
"@mcp-abap-adt/interfaces": "^9.0.0",
|
|
71
117
|
"@mcp-abap-adt/logger": "^0.1.3",
|
|
72
118
|
"axios": "^1.13.6",
|
|
73
|
-
"fast-xml-parser": "^5.4.1"
|
|
74
|
-
"yaml": "^2.3.4"
|
|
119
|
+
"fast-xml-parser": "^5.4.1"
|
|
75
120
|
},
|
|
76
121
|
"devDependencies": {
|
|
77
122
|
"@biomejs/biome": "^2.4.4",
|