@mcp-abap-adt/adt-clients 7.4.4 → 7.5.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/README.md +22 -7
- package/dist/batch/AdtClientBatch.d.ts +28 -28
- package/dist/core/accessControl/types.d.ts +1 -30
- package/dist/core/accessControl/types.d.ts.map +1 -1
- package/dist/core/appendStructure/types.d.ts +1 -35
- package/dist/core/appendStructure/types.d.ts.map +1 -1
- package/dist/core/authorizationField/types.d.ts +1 -48
- package/dist/core/authorizationField/types.d.ts.map +1 -1
- package/dist/core/behaviorDefinition/types.d.ts +1 -128
- package/dist/core/behaviorDefinition/types.d.ts.map +1 -1
- package/dist/core/behaviorImplementation/types.d.ts +1 -29
- package/dist/core/behaviorImplementation/types.d.ts.map +1 -1
- package/dist/core/class/AdtLocalDefinitions.d.ts +2 -6
- package/dist/core/class/AdtLocalDefinitions.d.ts.map +1 -1
- package/dist/core/class/AdtLocalMacros.d.ts +2 -6
- package/dist/core/class/AdtLocalMacros.d.ts.map +1 -1
- package/dist/core/class/AdtLocalTestClass.d.ts +2 -7
- package/dist/core/class/AdtLocalTestClass.d.ts.map +1 -1
- package/dist/core/class/AdtLocalTypes.d.ts +2 -6
- package/dist/core/class/AdtLocalTypes.d.ts.map +1 -1
- package/dist/core/class/types.d.ts +1 -45
- package/dist/core/class/types.d.ts.map +1 -1
- package/dist/core/dataElement/types.d.ts +1 -76
- package/dist/core/dataElement/types.d.ts.map +1 -1
- package/dist/core/ddl/types.d.ts +1 -34
- package/dist/core/ddl/types.d.ts.map +1 -1
- package/dist/core/domain/types.d.ts +1 -61
- package/dist/core/domain/types.d.ts.map +1 -1
- package/dist/core/enhancement/types.d.ts +4 -84
- package/dist/core/enhancement/types.d.ts.map +1 -1
- package/dist/core/featureToggle/types.d.ts +1 -113
- package/dist/core/featureToggle/types.d.ts.map +1 -1
- package/dist/core/functionGroup/types.d.ts +1 -33
- package/dist/core/functionGroup/types.d.ts.map +1 -1
- package/dist/core/functionInclude/types.d.ts +1 -22
- package/dist/core/functionInclude/types.d.ts.map +1 -1
- package/dist/core/functionModule/types.d.ts +1 -34
- package/dist/core/functionModule/types.d.ts.map +1 -1
- package/dist/core/interface/types.d.ts +1 -31
- package/dist/core/interface/types.d.ts.map +1 -1
- package/dist/core/messageClass/types.d.ts +1 -49
- package/dist/core/messageClass/types.d.ts.map +1 -1
- package/dist/core/metadataExtension/types.d.ts +1 -29
- package/dist/core/metadataExtension/types.d.ts.map +1 -1
- package/dist/core/package/types.d.ts +1 -20
- package/dist/core/package/types.d.ts.map +1 -1
- package/dist/core/program/types.d.ts +1 -38
- package/dist/core/program/types.d.ts.map +1 -1
- package/dist/core/scalarFunction/types.d.ts +1 -34
- package/dist/core/scalarFunction/types.d.ts.map +1 -1
- package/dist/core/scalarFunctionImplementation/types.d.ts +1 -35
- package/dist/core/scalarFunctionImplementation/types.d.ts.map +1 -1
- package/dist/core/service/types.d.ts +2 -139
- package/dist/core/service/types.d.ts.map +1 -1
- package/dist/core/serviceDefinition/types.d.ts +1 -30
- package/dist/core/serviceDefinition/types.d.ts.map +1 -1
- package/dist/core/shared/types.d.ts +1 -223
- package/dist/core/shared/types.d.ts.map +1 -1
- package/dist/core/structure/types.d.ts +1 -47
- package/dist/core/structure/types.d.ts.map +1 -1
- package/dist/core/table/types.d.ts +1 -30
- package/dist/core/table/types.d.ts.map +1 -1
- package/dist/core/tabletype/types.d.ts +1 -39
- package/dist/core/tabletype/types.d.ts.map +1 -1
- package/dist/core/transformation/types.d.ts +1 -32
- package/dist/core/transformation/types.d.ts.map +1 -1
- package/dist/core/transport/types.d.ts +1 -26
- package/dist/core/transport/types.d.ts.map +1 -1
- package/dist/core/unitTest/AdtCdsUnitTest.d.ts +3 -16
- package/dist/core/unitTest/AdtCdsUnitTest.d.ts.map +1 -1
- package/dist/core/unitTest/types.d.ts +1 -59
- package/dist/core/unitTest/types.d.ts.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -68,8 +68,9 @@ This package is responsible for:
|
|
|
68
68
|
|
|
69
69
|
This package interacts with external packages **ONLY through interfaces**:
|
|
70
70
|
|
|
71
|
-
- **`@mcp-abap-adt/
|
|
72
|
-
-
|
|
71
|
+
- **`@mcp-abap-adt/interfaces`** (`^11.0.0`): The contract package — the single definition site for every public type this package exposes (see [Type System](#type-system)). This is the one runtime dependency whose *types* are part of this package's public API.
|
|
72
|
+
- **`@mcp-abap-adt/connection`**: Uses the `IAbapConnection` interface for HTTP requests — does not know about the concrete connection implementation. It is a **dev** dependency; consumers supply their own implementation.
|
|
73
|
+
- **No other direct package dependencies**: all remaining interactions happen through well-defined interfaces
|
|
73
74
|
|
|
74
75
|
## Installation
|
|
75
76
|
|
|
@@ -515,19 +516,33 @@ Refer to the TypeScript typings (`src/index.ts`) for the full API surface.
|
|
|
515
516
|
|
|
516
517
|
## Type System
|
|
517
518
|
|
|
518
|
-
###
|
|
519
|
+
### Single Definition Site: `@mcp-abap-adt/interfaces`
|
|
519
520
|
|
|
520
|
-
|
|
521
|
+
Since **7.5.0**, every public type is **defined once**, in `@mcp-abap-adt/interfaces` (`^11.0.0`). This package no longer declares its own copies — the low-level `*Params` interfaces, every `IXxxConfig`/`IXxxState` pair, the option/result types, and the cross-cutting types in `src/core/shared/types.ts` are all re-exports.
|
|
522
|
+
|
|
523
|
+
**Prefer importing types straight from the contract package:**
|
|
521
524
|
|
|
522
525
|
```typescript
|
|
523
|
-
//
|
|
526
|
+
// Recommended — import types from the contract package
|
|
524
527
|
import type {
|
|
525
528
|
IClassConfig,
|
|
526
529
|
IClassState,
|
|
527
530
|
IProgramConfig
|
|
528
|
-
} from '@mcp-abap-adt/
|
|
531
|
+
} from '@mcp-abap-adt/interfaces';
|
|
532
|
+
|
|
533
|
+
// Still works — this package re-exports the same types unchanged
|
|
534
|
+
import type { IClassConfig } from '@mcp-abap-adt/adt-clients';
|
|
529
535
|
```
|
|
530
536
|
|
|
537
|
+
Both forms resolve to the identical type. The re-exports exist so that existing code keeps compiling; new code should depend on `@mcp-abap-adt/interfaces` directly, so that types travel independently of this client's release cycle.
|
|
538
|
+
|
|
539
|
+
Two categories deliberately remain local, because they describe *this client* rather than the wire contract:
|
|
540
|
+
|
|
541
|
+
- Runtime (value) exports: `ENHANCEMENT_TYPE_CODES` and the enhancement URL helpers, `resolveBindingVariant` / `SERVICE_BINDING_VARIANT_MAP`.
|
|
542
|
+
- `IAdtClientOptions` — constructor options for `AdtClient` itself.
|
|
543
|
+
|
|
544
|
+
> **Version pairing.** Because the types are now sourced rather than copied, `@mcp-abap-adt/interfaces` is a hard peer of this package's public API. A major bump there implies a bump here; keep the two in step rather than letting a resolver pick a mismatched pair.
|
|
545
|
+
|
|
531
546
|
### Naming Conventions
|
|
532
547
|
|
|
533
548
|
The package uses **dual naming conventions** to distinguish API layers:
|
|
@@ -556,7 +571,7 @@ This dual convention:
|
|
|
556
571
|
- Provides familiar camelCase for JavaScript/TypeScript consumers
|
|
557
572
|
- Enables proper type checking at each layer
|
|
558
573
|
|
|
559
|
-
See [Architecture Documentation](docs/architecture/ARCHITECTURE.md#type-system-
|
|
574
|
+
See [Architecture Documentation](docs/architecture/ARCHITECTURE.md#type-system-and-exports) for details.
|
|
560
575
|
|
|
561
576
|
## Migration Guide
|
|
562
577
|
|
|
@@ -6,36 +6,36 @@ export declare class AdtClientBatch {
|
|
|
6
6
|
private innerClient;
|
|
7
7
|
private realConnection;
|
|
8
8
|
constructor(connection: IAbapConnection, logger?: ILogger, options?: IAdtClientOptions);
|
|
9
|
-
getClass(): import("@mcp-abap-adt/interfaces").IAdtObject<import("
|
|
10
|
-
getProgram(): import("@mcp-abap-adt/interfaces").IAdtObject<import("
|
|
11
|
-
getInterface(): import("@mcp-abap-adt/interfaces").IAdtObject<import("
|
|
12
|
-
getDomain(): import("@mcp-abap-adt/interfaces").IAdtObject<import("
|
|
13
|
-
getDataElement(): import("@mcp-abap-adt/interfaces").IAdtObject<import("
|
|
14
|
-
getStructure(): import("@mcp-abap-adt/interfaces").IAdtObject<import("
|
|
15
|
-
getTable(): import("@mcp-abap-adt/interfaces").IAdtObject<import("
|
|
16
|
-
getTableType(): import("@mcp-abap-adt/interfaces").IAdtObject<import("
|
|
17
|
-
getDdl(): import("@mcp-abap-adt/interfaces").IAdtObject<import("
|
|
18
|
-
getFunctionGroup(): import("@mcp-abap-adt/interfaces").IAdtObject<import("
|
|
19
|
-
getFunctionModule(): import("@mcp-abap-adt/interfaces").IAdtObject<import("
|
|
20
|
-
getPackage(): import("@mcp-abap-adt/interfaces").IAdtObject<import("
|
|
21
|
-
getServiceDefinition(): import("@mcp-abap-adt/interfaces").IAdtObject<import("
|
|
22
|
-
getScalarFunction(): import("@mcp-abap-adt/interfaces").IAdtObject<import("
|
|
23
|
-
getScalarFunctionImplementation(): import("@mcp-abap-adt/interfaces").IAdtObject<import("
|
|
24
|
-
getAppendStructure(): import("@mcp-abap-adt/interfaces").IAdtObject<import("
|
|
25
|
-
getServiceBinding(): import("
|
|
26
|
-
getService(): import("
|
|
27
|
-
getBehaviorDefinition(): import("@mcp-abap-adt/interfaces").IAdtObject<import("
|
|
28
|
-
getBehaviorImplementation(): import("@mcp-abap-adt/interfaces").IAdtObject<import("
|
|
29
|
-
getMetadataExtension(): import("@mcp-abap-adt/interfaces").IAdtObject<import("
|
|
30
|
-
getEnhancement(): import("@mcp-abap-adt/interfaces").IAdtObject<import("
|
|
31
|
-
getUnitTest(): import("@mcp-abap-adt/interfaces").IAdtObject<import("
|
|
32
|
-
getCdsUnitTest(): import("@mcp-abap-adt/interfaces").IAdtObject<import("
|
|
9
|
+
getClass(): import("@mcp-abap-adt/interfaces").IAdtObject<import("@mcp-abap-adt/interfaces").IClassConfig, import("@mcp-abap-adt/interfaces").IClassState>;
|
|
10
|
+
getProgram(): import("@mcp-abap-adt/interfaces").IAdtObject<import("@mcp-abap-adt/interfaces").IProgramConfig, import("@mcp-abap-adt/interfaces").IProgramState>;
|
|
11
|
+
getInterface(): import("@mcp-abap-adt/interfaces").IAdtObject<import("@mcp-abap-adt/interfaces").IInterfaceConfig, import("@mcp-abap-adt/interfaces").IInterfaceState>;
|
|
12
|
+
getDomain(): import("@mcp-abap-adt/interfaces").IAdtObject<import("@mcp-abap-adt/interfaces").IDomainConfig, import("@mcp-abap-adt/interfaces").IDomainState>;
|
|
13
|
+
getDataElement(): import("@mcp-abap-adt/interfaces").IAdtObject<import("@mcp-abap-adt/interfaces").IDataElementConfig, import("@mcp-abap-adt/interfaces").IDataElementState>;
|
|
14
|
+
getStructure(): import("@mcp-abap-adt/interfaces").IAdtObject<import("@mcp-abap-adt/interfaces").IStructureConfig, import("@mcp-abap-adt/interfaces").IStructureState>;
|
|
15
|
+
getTable(): import("@mcp-abap-adt/interfaces").IAdtObject<import("@mcp-abap-adt/interfaces").ITableConfig, import("@mcp-abap-adt/interfaces").ITableState>;
|
|
16
|
+
getTableType(): import("@mcp-abap-adt/interfaces").IAdtObject<import("@mcp-abap-adt/interfaces").ITableTypeConfig, import("@mcp-abap-adt/interfaces").ITableTypeState>;
|
|
17
|
+
getDdl(): import("@mcp-abap-adt/interfaces").IAdtObject<import("@mcp-abap-adt/interfaces").IDdlConfig, import("@mcp-abap-adt/interfaces").IDdlState>;
|
|
18
|
+
getFunctionGroup(): import("@mcp-abap-adt/interfaces").IAdtObject<import("@mcp-abap-adt/interfaces").IFunctionGroupConfig, import("@mcp-abap-adt/interfaces").IFunctionGroupState>;
|
|
19
|
+
getFunctionModule(): import("@mcp-abap-adt/interfaces").IAdtObject<import("@mcp-abap-adt/interfaces").IFunctionModuleConfig, import("@mcp-abap-adt/interfaces").IFunctionModuleState>;
|
|
20
|
+
getPackage(): import("@mcp-abap-adt/interfaces").IAdtObject<import("@mcp-abap-adt/interfaces").IPackageConfig, import("@mcp-abap-adt/interfaces").IPackageState>;
|
|
21
|
+
getServiceDefinition(): import("@mcp-abap-adt/interfaces").IAdtObject<import("@mcp-abap-adt/interfaces").IServiceDefinitionConfig, import("@mcp-abap-adt/interfaces").IServiceDefinitionState>;
|
|
22
|
+
getScalarFunction(): import("@mcp-abap-adt/interfaces").IAdtObject<import("@mcp-abap-adt/interfaces").IScalarFunctionConfig, import("@mcp-abap-adt/interfaces").IScalarFunctionState>;
|
|
23
|
+
getScalarFunctionImplementation(): import("@mcp-abap-adt/interfaces").IAdtObject<import("@mcp-abap-adt/interfaces").IScalarFunctionImplementationConfig, import("@mcp-abap-adt/interfaces").IScalarFunctionImplementationState>;
|
|
24
|
+
getAppendStructure(): import("@mcp-abap-adt/interfaces").IAdtObject<import("@mcp-abap-adt/interfaces").IAppendStructureConfig, import("@mcp-abap-adt/interfaces").IAppendStructureState>;
|
|
25
|
+
getServiceBinding(): import("@mcp-abap-adt/interfaces").IAdtServiceBinding;
|
|
26
|
+
getService(): import("@mcp-abap-adt/interfaces").IAdtServiceBinding;
|
|
27
|
+
getBehaviorDefinition(): import("@mcp-abap-adt/interfaces").IAdtObject<import("@mcp-abap-adt/interfaces").IBehaviorDefinitionConfig, import("@mcp-abap-adt/interfaces").IBehaviorDefinitionState>;
|
|
28
|
+
getBehaviorImplementation(): import("@mcp-abap-adt/interfaces").IAdtObject<import("@mcp-abap-adt/interfaces").IBehaviorImplementationConfig, import("@mcp-abap-adt/interfaces").IBehaviorImplementationState>;
|
|
29
|
+
getMetadataExtension(): import("@mcp-abap-adt/interfaces").IAdtObject<import("@mcp-abap-adt/interfaces").IMetadataExtensionConfig, import("@mcp-abap-adt/interfaces").IMetadataExtensionState>;
|
|
30
|
+
getEnhancement(): import("@mcp-abap-adt/interfaces").IAdtObject<import("@mcp-abap-adt/interfaces").IEnhancementConfig, import("@mcp-abap-adt/interfaces").IEnhancementState>;
|
|
31
|
+
getUnitTest(): import("@mcp-abap-adt/interfaces").IAdtObject<import("@mcp-abap-adt/interfaces").IUnitTestConfig, import("@mcp-abap-adt/interfaces").IUnitTestState>;
|
|
32
|
+
getCdsUnitTest(): import("@mcp-abap-adt/interfaces").IAdtObject<import("@mcp-abap-adt/interfaces").ICdsUnitTestConfig, import("@mcp-abap-adt/interfaces").ICdsUnitTestState>;
|
|
33
33
|
getRequest(): import("../core/transport").AdtRequest;
|
|
34
34
|
getUtils(): import("../core/shared").AdtUtils;
|
|
35
|
-
getLocalTestClass(): import("@mcp-abap-adt/interfaces").IAdtObject<import("
|
|
36
|
-
getLocalTypes(): import("@mcp-abap-adt/interfaces").IAdtObject<import("
|
|
37
|
-
getLocalDefinitions(): import("@mcp-abap-adt/interfaces").IAdtObject<import("
|
|
38
|
-
getLocalMacros(): import("@mcp-abap-adt/interfaces").IAdtObject<import("
|
|
35
|
+
getLocalTestClass(): import("@mcp-abap-adt/interfaces").IAdtObject<import("@mcp-abap-adt/interfaces").ILocalTestClassConfig, import("@mcp-abap-adt/interfaces").IClassState>;
|
|
36
|
+
getLocalTypes(): import("@mcp-abap-adt/interfaces").IAdtObject<import("@mcp-abap-adt/interfaces").ILocalTypesConfig, import("@mcp-abap-adt/interfaces").IClassState>;
|
|
37
|
+
getLocalDefinitions(): import("@mcp-abap-adt/interfaces").IAdtObject<import("@mcp-abap-adt/interfaces").ILocalDefinitionsConfig, import("@mcp-abap-adt/interfaces").IClassState>;
|
|
38
|
+
getLocalMacros(): import("@mcp-abap-adt/interfaces").IAdtObject<import("@mcp-abap-adt/interfaces").ILocalMacrosConfig, import("@mcp-abap-adt/interfaces").IClassState>;
|
|
39
39
|
batchExecute(): Promise<IAdtResponse[]>;
|
|
40
40
|
reset(): void;
|
|
41
41
|
getRecorder(): BatchRecordingConnection;
|
|
@@ -1,31 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export interface ICreateAccessControlParams {
|
|
3
|
-
access_control_name: string;
|
|
4
|
-
description?: string;
|
|
5
|
-
package_name: string;
|
|
6
|
-
transport_request?: string;
|
|
7
|
-
masterSystem?: string;
|
|
8
|
-
responsible?: string;
|
|
9
|
-
masterLanguage?: string;
|
|
10
|
-
}
|
|
11
|
-
export interface IUpdateAccessControlParams {
|
|
12
|
-
access_control_name: string;
|
|
13
|
-
source_code: string;
|
|
14
|
-
transport_request?: string;
|
|
15
|
-
}
|
|
16
|
-
export interface IDeleteAccessControlParams {
|
|
17
|
-
access_control_name: string;
|
|
18
|
-
transport_request?: string;
|
|
19
|
-
}
|
|
20
|
-
export interface IAccessControlConfig {
|
|
21
|
-
accessControlName: string;
|
|
22
|
-
masterLanguage?: string;
|
|
23
|
-
packageName?: string;
|
|
24
|
-
transportRequest?: string;
|
|
25
|
-
description?: string;
|
|
26
|
-
sourceCode?: string;
|
|
27
|
-
}
|
|
28
|
-
export interface IAccessControlState extends IAdtObjectState {
|
|
29
|
-
readSourceResult?: IAdtResponse;
|
|
30
|
-
}
|
|
1
|
+
export type { IAccessControlConfig, IAccessControlState, ICreateAccessControlParams, IDeleteAccessControlParams, IUpdateAccessControlParams, } from '@mcp-abap-adt/interfaces';
|
|
31
2
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/core/accessControl/types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/core/accessControl/types.ts"],"names":[],"mappings":"AACA,YAAY,EACV,oBAAoB,EACpB,mBAAmB,EACnB,0BAA0B,EAC1B,0BAA0B,EAC1B,0BAA0B,GAC3B,MAAM,0BAA0B,CAAC"}
|
|
@@ -1,36 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
* AppendStructure (TABL/DS append) module type definitions
|
|
3
|
-
*/
|
|
4
|
-
import type { IAdtObjectState } from '@mcp-abap-adt/interfaces';
|
|
5
|
-
export interface ICreateAppendStructureParams {
|
|
6
|
-
append_structure_name: string;
|
|
7
|
-
base_object: string;
|
|
8
|
-
description?: string;
|
|
9
|
-
package_name: string;
|
|
10
|
-
transport_request?: string;
|
|
11
|
-
masterSystem?: string;
|
|
12
|
-
responsible?: string;
|
|
13
|
-
masterLanguage?: string;
|
|
14
|
-
}
|
|
15
|
-
export interface IUpdateAppendStructureParams {
|
|
16
|
-
append_structure_name: string;
|
|
17
|
-
source_code: string;
|
|
18
|
-
transport_request?: string;
|
|
19
|
-
}
|
|
20
|
-
export interface IDeleteAppendStructureParams {
|
|
21
|
-
append_structure_name: string;
|
|
22
|
-
transport_request?: string;
|
|
23
|
-
}
|
|
24
|
-
export interface IAppendStructureConfig {
|
|
25
|
-
appendStructureName: string;
|
|
26
|
-
baseObject?: string;
|
|
27
|
-
masterLanguage?: string;
|
|
28
|
-
packageName?: string;
|
|
29
|
-
transportRequest?: string;
|
|
30
|
-
description?: string;
|
|
31
|
-
sourceCode?: string;
|
|
32
|
-
}
|
|
33
|
-
export interface IAppendStructureState extends IAdtObjectState {
|
|
34
|
-
validationSupported?: boolean;
|
|
35
|
-
}
|
|
1
|
+
export type { IAppendStructureConfig, IAppendStructureState, ICreateAppendStructureParams, IDeleteAppendStructureParams, IUpdateAppendStructureParams, } from '@mcp-abap-adt/interfaces';
|
|
36
2
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/core/appendStructure/types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/core/appendStructure/types.ts"],"names":[],"mappings":"AACA,YAAY,EACV,sBAAsB,EACtB,qBAAqB,EACrB,4BAA4B,EAC5B,4BAA4B,EAC5B,4BAA4B,GAC7B,MAAM,0BAA0B,CAAC"}
|
|
@@ -1,52 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* AuthorizationField (SUSO / AUTH) module type definitions
|
|
3
3
|
*/
|
|
4
|
-
|
|
5
|
-
export interface ICreateAuthorizationFieldParams {
|
|
6
|
-
authorization_field_name: string;
|
|
7
|
-
description?: string;
|
|
8
|
-
package_name: string;
|
|
9
|
-
transport_request?: string;
|
|
10
|
-
master_system?: string;
|
|
11
|
-
responsible?: string;
|
|
12
|
-
field_name?: string;
|
|
13
|
-
roll_name?: string;
|
|
14
|
-
check_table?: string;
|
|
15
|
-
exit_fb?: string;
|
|
16
|
-
abap_language_version?: string;
|
|
17
|
-
search?: string;
|
|
18
|
-
objexit?: string;
|
|
19
|
-
domname?: string;
|
|
20
|
-
outputlen?: string;
|
|
21
|
-
convexit?: string;
|
|
22
|
-
orglvlinfo?: string;
|
|
23
|
-
col_searchhelp?: string;
|
|
24
|
-
col_searchhelp_name?: string;
|
|
25
|
-
col_searchhelp_descr?: string;
|
|
26
|
-
}
|
|
27
|
-
export interface IAuthorizationFieldConfig {
|
|
28
|
-
authorizationFieldName: string;
|
|
29
|
-
packageName?: string;
|
|
30
|
-
description?: string;
|
|
31
|
-
transportRequest?: string;
|
|
32
|
-
masterSystem?: string;
|
|
33
|
-
responsible?: string;
|
|
34
|
-
fieldName?: string;
|
|
35
|
-
rollName?: string;
|
|
36
|
-
checkTable?: string;
|
|
37
|
-
exitFb?: string;
|
|
38
|
-
abapLanguageVersion?: string;
|
|
39
|
-
search?: string;
|
|
40
|
-
objexit?: string;
|
|
41
|
-
domname?: string;
|
|
42
|
-
outputlen?: string;
|
|
43
|
-
convexit?: string;
|
|
44
|
-
orglvlinfo?: string;
|
|
45
|
-
colSearchhelp?: string;
|
|
46
|
-
colSearchhelpName?: string;
|
|
47
|
-
colSearchhelpDescr?: string;
|
|
48
|
-
onLock?: (lockHandle: string) => void;
|
|
49
|
-
}
|
|
50
|
-
export interface IAuthorizationFieldState extends IAdtObjectState {
|
|
51
|
-
}
|
|
4
|
+
export type { IAuthorizationFieldConfig, IAuthorizationFieldState, ICreateAuthorizationFieldParams, } from '@mcp-abap-adt/interfaces';
|
|
52
5
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/core/authorizationField/types.ts"],"names":[],"mappings":"AAAA;;GAEG;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/core/authorizationField/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,YAAY,EACV,yBAAyB,EACzB,wBAAwB,EACxB,+BAA+B,GAChC,MAAM,0BAA0B,CAAC"}
|
|
@@ -1,129 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
/**
|
|
3
|
-
* Implementation type for Behavior Definition
|
|
4
|
-
*/
|
|
5
|
-
export type BehaviorDefinitionImplementationType = 'Managed' | 'Unmanaged' | 'Abstract' | 'Projection';
|
|
6
|
-
/**
|
|
7
|
-
* Parameters for validating a behavior definition before creation
|
|
8
|
-
*/
|
|
9
|
-
export interface IBehaviorDefinitionValidationParams {
|
|
10
|
-
/** Name of the behavior definition object */
|
|
11
|
-
objname: string;
|
|
12
|
-
/** Root entity name */
|
|
13
|
-
rootEntity: string;
|
|
14
|
-
/** Description of the behavior definition */
|
|
15
|
-
description: string;
|
|
16
|
-
/** Package name where the object will be created */
|
|
17
|
-
package: string;
|
|
18
|
-
/** Implementation type (Managed, Unmanaged, Abstract, Projection) */
|
|
19
|
-
implementationType: BehaviorDefinitionImplementationType;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Validation result
|
|
23
|
-
*/
|
|
24
|
-
export interface IValidationResult {
|
|
25
|
-
severity: 'OK' | 'ERROR' | 'WARNING';
|
|
26
|
-
shortText?: string;
|
|
27
|
-
longText?: string;
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* Parameters for creating a behavior definition
|
|
31
|
-
*/
|
|
32
|
-
export interface IBehaviorDefinitionCreateParams {
|
|
33
|
-
/** Name of the behavior definition */
|
|
34
|
-
name: string;
|
|
35
|
-
/** Description */
|
|
36
|
-
description: string;
|
|
37
|
-
/** Package name */
|
|
38
|
-
package: string;
|
|
39
|
-
/** Implementation type */
|
|
40
|
-
implementationType: BehaviorDefinitionImplementationType;
|
|
41
|
-
/** Language (default: EN) */
|
|
42
|
-
language?: string;
|
|
43
|
-
/** Responsible user */
|
|
44
|
-
responsible?: string;
|
|
45
|
-
/** Master system */
|
|
46
|
-
masterSystem?: string;
|
|
47
|
-
/** Transport request number */
|
|
48
|
-
transportRequest?: string;
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* Parameters for updating a behavior definition
|
|
52
|
-
*/
|
|
53
|
-
export interface IUpdateBehaviorDefinitionParams {
|
|
54
|
-
/** Name of the behavior definition */
|
|
55
|
-
name: string;
|
|
56
|
-
/** Source code */
|
|
57
|
-
sourceCode: string;
|
|
58
|
-
/** Lock handle from lock operation */
|
|
59
|
-
lockHandle: string;
|
|
60
|
-
/** Optional transport request number */
|
|
61
|
-
transportRequest?: string;
|
|
62
|
-
}
|
|
63
|
-
/**
|
|
64
|
-
* Lock result containing lock handle
|
|
65
|
-
*/
|
|
66
|
-
export interface ILockResult {
|
|
67
|
-
lockHandle: string;
|
|
68
|
-
corrnr?: string;
|
|
69
|
-
corruser?: string;
|
|
70
|
-
corrtext?: string;
|
|
71
|
-
isLocal?: boolean;
|
|
72
|
-
isLinkUp?: boolean;
|
|
73
|
-
}
|
|
74
|
-
/**
|
|
75
|
-
* Check reporter type
|
|
76
|
-
*/
|
|
77
|
-
export type CheckReporter = 'bdefImplementationCheck' | 'abapCheckRun';
|
|
78
|
-
/**
|
|
79
|
-
* Check message from validation
|
|
80
|
-
*/
|
|
81
|
-
export interface ICheckMessage {
|
|
82
|
-
uri: string;
|
|
83
|
-
type: 'E' | 'W' | 'I' | 'S';
|
|
84
|
-
shortText: string;
|
|
85
|
-
code: string;
|
|
86
|
-
}
|
|
87
|
-
/**
|
|
88
|
-
* Check run result
|
|
89
|
-
*/
|
|
90
|
-
export interface ICheckRunResult {
|
|
91
|
-
reporter: CheckReporter;
|
|
92
|
-
triggeringUri: string;
|
|
93
|
-
status: string;
|
|
94
|
-
statusText: string;
|
|
95
|
-
messages?: ICheckMessage[];
|
|
96
|
-
}
|
|
97
|
-
export interface IBehaviorDefinitionConfig {
|
|
98
|
-
name: string;
|
|
99
|
-
masterLanguage?: string;
|
|
100
|
-
packageName?: string;
|
|
101
|
-
transportRequest?: string;
|
|
102
|
-
description?: string;
|
|
103
|
-
implementationType?: 'Managed' | 'Unmanaged' | 'Abstract' | 'Projection';
|
|
104
|
-
rootEntity?: string;
|
|
105
|
-
sourceCode?: string;
|
|
106
|
-
onLock?: (lockHandle: string) => void;
|
|
107
|
-
}
|
|
108
|
-
/**
|
|
109
|
-
* State maintained by the Behavior Definition Builder
|
|
110
|
-
*/
|
|
111
|
-
import type { IAdtObjectState } from '@mcp-abap-adt/interfaces';
|
|
112
|
-
/**
|
|
113
|
-
* State maintained by the Behavior Definition Builder
|
|
114
|
-
*/
|
|
115
|
-
export interface IBehaviorDefinitionState extends IAdtObjectState {
|
|
116
|
-
/** Name of the behavior definition */
|
|
117
|
-
name?: string;
|
|
118
|
-
/** Lock result */
|
|
119
|
-
lockResult?: AxiosResponse<unknown>;
|
|
120
|
-
/** Update source result (separate from updateResult) */
|
|
121
|
-
updateSourceResult?: AxiosResponse<unknown>;
|
|
122
|
-
/** Check results (array for multiple checks) */
|
|
123
|
-
checkResults?: AxiosResponse<unknown>[];
|
|
124
|
-
/** Delete check result */
|
|
125
|
-
deleteCheckResult?: AxiosResponse<unknown>;
|
|
126
|
-
/** Validation result */
|
|
127
|
-
validationResult?: AxiosResponse<unknown>;
|
|
128
|
-
}
|
|
1
|
+
export type { BehaviorDefinitionImplementationType, CheckReporter, IBehaviorDefinitionConfig, IBehaviorDefinitionCreateParams, IBehaviorDefinitionState, IBehaviorDefinitionValidationParams, ICheckMessage, ICheckRunResult, ILockResult, IUpdateBehaviorDefinitionParams, IValidationResult, } from '@mcp-abap-adt/interfaces';
|
|
129
2
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/core/behaviorDefinition/types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/core/behaviorDefinition/types.ts"],"names":[],"mappings":"AACA,YAAY,EACV,oCAAoC,EACpC,aAAa,EACb,yBAAyB,EACzB,+BAA+B,EAC/B,wBAAwB,EACxB,mCAAmC,EACnC,aAAa,EACb,eAAe,EACf,WAAW,EACX,+BAA+B,EAC/B,iBAAiB,GAClB,MAAM,0BAA0B,CAAC"}
|
|
@@ -1,33 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Behavior Implementation module type definitions
|
|
3
3
|
*/
|
|
4
|
-
|
|
5
|
-
export interface ICreateBehaviorImplementationParams {
|
|
6
|
-
class_name: string;
|
|
7
|
-
description?: string;
|
|
8
|
-
package_name: string;
|
|
9
|
-
transport_request?: string;
|
|
10
|
-
master_system?: string;
|
|
11
|
-
responsible?: string;
|
|
12
|
-
behavior_definition: string;
|
|
13
|
-
}
|
|
14
|
-
export interface IBehaviorImplementationConfig {
|
|
15
|
-
className: string;
|
|
16
|
-
description?: string;
|
|
17
|
-
packageName?: string;
|
|
18
|
-
transportRequest?: string;
|
|
19
|
-
behaviorDefinition: string;
|
|
20
|
-
sourceCode?: string;
|
|
21
|
-
/**
|
|
22
|
-
* Custom code for implementations include (local handler class) - used in updateImplementations()
|
|
23
|
-
* If provided, takes precedence over sourceCode and default generated code.
|
|
24
|
-
* Should contain the complete local handler class definition and implementation.
|
|
25
|
-
* Example: "CLASS lhc_ZOK_I_CDS_TEST DEFINITION INHERITING FROM cl_abap_behavior_handler..."
|
|
26
|
-
*/
|
|
27
|
-
implementationCode?: string;
|
|
28
|
-
masterSystem?: string;
|
|
29
|
-
responsible?: string;
|
|
30
|
-
}
|
|
31
|
-
export interface IBehaviorImplementationState extends IAdtObjectState {
|
|
32
|
-
}
|
|
4
|
+
export type { IBehaviorImplementationConfig, IBehaviorImplementationState, ICreateBehaviorImplementationParams, } from '@mcp-abap-adt/interfaces';
|
|
33
5
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/core/behaviorImplementation/types.ts"],"names":[],"mappings":"AAAA;;GAEG;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/core/behaviorImplementation/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,YAAY,EACV,6BAA6B,EAC7B,4BAA4B,EAC5B,mCAAmC,GACpC,MAAM,0BAA0B,CAAC"}
|
|
@@ -4,15 +4,11 @@
|
|
|
4
4
|
* Local definitions are type declarations needed for components in the private section.
|
|
5
5
|
* All operations require the parent class to be locked.
|
|
6
6
|
*/
|
|
7
|
-
import type { IAdtOperationOptions, IObjectVersion } from '@mcp-abap-adt/interfaces';
|
|
7
|
+
import type { IAdtOperationOptions, ILocalDefinitionsConfig, IObjectVersion } from '@mcp-abap-adt/interfaces';
|
|
8
8
|
import type { IReadOptions } from '../shared/types';
|
|
9
9
|
import { AdtClass } from './AdtClass';
|
|
10
10
|
import type { IClassState } from './types';
|
|
11
|
-
export
|
|
12
|
-
className: string;
|
|
13
|
-
definitionsCode?: string;
|
|
14
|
-
transportRequest?: string;
|
|
15
|
-
}
|
|
11
|
+
export type { ILocalDefinitionsConfig } from '@mcp-abap-adt/interfaces';
|
|
16
12
|
export declare class AdtLocalDefinitions extends AdtClass {
|
|
17
13
|
readonly objectType: string;
|
|
18
14
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AdtLocalDefinitions.d.ts","sourceRoot":"","sources":["../../../src/core/class/AdtLocalDefinitions.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAEV,oBAAoB,EACpB,cAAc,EACf,MAAM,0BAA0B,CAAC;AAElC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAGtC,OAAO,KAAK,EAAE,WAAW,EAAE,MAA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AC,GACvC,OAAO,CAAC,WAAW,CAAC;IAQvB;;OAEG;IACG,KAAK,CACT,MAAM,EAAE,OAAO,CAAC,uBAAuB,CAAC,EACxC,OAAO,GAAE,QAAQ,GAAG,UAAuB,GAC1C,OAAO,CAAC,WAAW,CAAC;IA4BvB,WAAW,CACT,MAAM,EAAE,OAAO,CAAC;QAAE,SAAS,EAAE,MAAM,CAAA;KAAE,CAAC,GACrC,OAAO,CAAC,cAAc,EAAE,CAAC;CAI7B"}
|
|
@@ -5,15 +5,11 @@
|
|
|
5
5
|
* Note: Macros are supported in older ABAP versions but not in newer ones.
|
|
6
6
|
* All operations require the parent class to be locked.
|
|
7
7
|
*/
|
|
8
|
-
import type { IAdtOperationOptions, IObjectVersion } from '@mcp-abap-adt/interfaces';
|
|
8
|
+
import type { IAdtOperationOptions, ILocalMacrosConfig, IObjectVersion } from '@mcp-abap-adt/interfaces';
|
|
9
9
|
import type { IReadOptions } from '../shared/types';
|
|
10
10
|
import { AdtClass } from './AdtClass';
|
|
11
11
|
import type { IClassState } from './types';
|
|
12
|
-
export
|
|
13
|
-
className: string;
|
|
14
|
-
macrosCode?: string;
|
|
15
|
-
transportRequest?: string;
|
|
16
|
-
}
|
|
12
|
+
export type { ILocalMacrosConfig } from '@mcp-abap-adt/interfaces';
|
|
17
13
|
export declare class AdtLocalMacros extends AdtClass {
|
|
18
14
|
readonly objectType: string;
|
|
19
15
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AdtLocalMacros.d.ts","sourceRoot":"","sources":["../../../src/core/class/AdtLocalMacros.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAEV,oBAAoB,EACpB,cAAc,EACf,MAAM,0BAA0B,CAAC;AAElC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAGtC,OAAO,KAAK,EAAE,WAAW,EAAE,MA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,GAAG,OAAO,CAAC,WAAW,CAAC;IAQzE;;OAEG;IACG,KAAK,CACT,MAAM,EAAE,OAAO,CAAC,kBAAkB,CAAC,EACnC,OAAO,GAAE,QAAQ,GAAG,UAAuB,GAC1C,OAAO,CAAC,WAAW,CAAC;IA4BvB,WAAW,CACT,MAAM,EAAE,OAAO,CAAC;QAAE,SAAS,EAAE,MAAM,CAAA;KAAE,CAAC,GACrC,OAAO,CAAC,cAAc,EAAE,CAAC;CAI7B"}
|
|
@@ -4,16 +4,11 @@
|
|
|
4
4
|
* Local test classes are defined in the testclasses include of an ABAP class.
|
|
5
5
|
* All operations require the parent class to be locked.
|
|
6
6
|
*/
|
|
7
|
-
import type { IAdtOperationOptions, IObjectVersion } from '@mcp-abap-adt/interfaces';
|
|
7
|
+
import type { IAdtOperationOptions, ILocalTestClassConfig, IObjectVersion } from '@mcp-abap-adt/interfaces';
|
|
8
8
|
import type { IReadOptions } from '../shared/types';
|
|
9
9
|
import { AdtClass } from './AdtClass';
|
|
10
10
|
import type { IClassState } from './types';
|
|
11
|
-
export
|
|
12
|
-
className: string;
|
|
13
|
-
testClassCode?: string;
|
|
14
|
-
testClassName?: string;
|
|
15
|
-
transportRequest?: string;
|
|
16
|
-
}
|
|
11
|
+
export type { ILocalTestClassConfig } from '@mcp-abap-adt/interfaces';
|
|
17
12
|
export declare class AdtLocalTestClass extends AdtClass {
|
|
18
13
|
readonly objectType: string;
|
|
19
14
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AdtLocalTestClass.d.ts","sourceRoot":"","sources":["../../../src/core/class/AdtLocalTestClass.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAEV,oBAAoB,EACpB,cAAc,EACf,MAAM,0BAA0B,CAAC;AAElC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAGtC,OAAO,KAAK,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AO,CAAC,qBAAqB,CAAC,EACtC,MAAM,GAAE,MAAmB,GAC1B,OAAO,CAAC,WAAW,CAAC;IA8BvB,WAAW,CACT,MAAM,EAAE,OAAO,CAAC;QAAE,SAAS,EAAE,MAAM,CAAA;KAAE,CAAC,GACrC,OAAO,CAAC,cAAc,EAAE,CAAC;CAI7B"}
|
|
@@ -4,15 +4,11 @@
|
|
|
4
4
|
* Local types are defined in the implementations include of an ABAP class.
|
|
5
5
|
* All operations require the parent class to be locked.
|
|
6
6
|
*/
|
|
7
|
-
import type { IAdtOperationOptions, IObjectVersion } from '@mcp-abap-adt/interfaces';
|
|
7
|
+
import type { IAdtOperationOptions, ILocalTypesConfig, IObjectVersion } from '@mcp-abap-adt/interfaces';
|
|
8
8
|
import type { IReadOptions } from '../shared/types';
|
|
9
9
|
import { AdtClass } from './AdtClass';
|
|
10
10
|
import type { IClassState } from './types';
|
|
11
|
-
export
|
|
12
|
-
className: string;
|
|
13
|
-
localTypesCode?: string;
|
|
14
|
-
transportRequest?: string;
|
|
15
|
-
}
|
|
11
|
+
export type { ILocalTypesConfig } from '@mcp-abap-adt/interfaces';
|
|
16
12
|
export declare class AdtLocalTypes extends AdtClass {
|
|
17
13
|
readonly objectType: string;
|
|
18
14
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AdtLocalTypes.d.ts","sourceRoot":"","sources":["../../../src/core/class/AdtLocalTypes.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAEV,oBAAoB,EACpB,cAAc,EACf,MAAM,0BAA0B,CAAC;AAElC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAGtC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"AdtLocalTypes.d.ts","sourceRoot":"","sources":["../../../src/core/class/AdtLocalTypes.ts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,OAAO,GAAE,QAAQ,GAAG,UAAuB,GAC1C,OAAO,CAAC,WAAW,CAAC;IA4BvB,WAAW,CACT,MAAM,EAAE,OAAO,CAAC;QAAE,SAAS,EAAE,MAAM,CAAA;KAAE,CAAC,GACrC,OAAO,CAAC,cAAc,EAAE,CAAC;CAI7B"}
|
|
@@ -1,49 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Class module type definitions
|
|
3
3
|
*/
|
|
4
|
-
|
|
5
|
-
export interface ICreateClassParams {
|
|
6
|
-
class_name: string;
|
|
7
|
-
description?: string;
|
|
8
|
-
package_name: string;
|
|
9
|
-
transport_request?: string;
|
|
10
|
-
master_system?: string;
|
|
11
|
-
responsible?: string;
|
|
12
|
-
masterLanguage?: string;
|
|
13
|
-
superclass?: string;
|
|
14
|
-
final?: boolean;
|
|
15
|
-
abstract?: boolean;
|
|
16
|
-
create_protected?: boolean;
|
|
17
|
-
template_xml?: string;
|
|
18
|
-
}
|
|
19
|
-
export interface IDeleteClassParams {
|
|
20
|
-
class_name: string;
|
|
21
|
-
transport_request?: string;
|
|
22
|
-
}
|
|
23
|
-
export interface IClassConfig {
|
|
24
|
-
className: string;
|
|
25
|
-
masterLanguage?: string;
|
|
26
|
-
description?: string;
|
|
27
|
-
packageName?: string;
|
|
28
|
-
transportRequest?: string;
|
|
29
|
-
sourceCode?: string;
|
|
30
|
-
testClassCode?: string;
|
|
31
|
-
testClassName?: string;
|
|
32
|
-
localTypesCode?: string;
|
|
33
|
-
definitionsCode?: string;
|
|
34
|
-
macrosCode?: string;
|
|
35
|
-
superclass?: string;
|
|
36
|
-
final?: boolean;
|
|
37
|
-
abstract?: boolean;
|
|
38
|
-
createProtected?: boolean;
|
|
39
|
-
masterSystem?: string;
|
|
40
|
-
responsible?: string;
|
|
41
|
-
classTemplate?: string;
|
|
42
|
-
}
|
|
43
|
-
export interface IClassState extends IAdtObjectState {
|
|
44
|
-
testClassCode?: string;
|
|
45
|
-
testActivateResult?: AxiosResponse;
|
|
46
|
-
testLockHandle?: string;
|
|
47
|
-
testClassesResult?: AxiosResponse;
|
|
48
|
-
}
|
|
4
|
+
export type { IClassConfig, IClassState, ICreateClassParams, IDeleteClassParams, } from '@mcp-abap-adt/interfaces';
|
|
49
5
|
//# sourceMappingURL=types.d.ts.map
|