@abaplint/core 2.93.54 → 2.93.55
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/build/abaplint.d.ts +20 -0
- package/build/src/abap/5_syntax/statements/move_corresponding.js +3 -3
- package/build/src/objects/business_catalog.js +21 -0
- package/build/src/objects/business_catalog_app_assignment.js +21 -0
- package/build/src/objects/index.js +2 -0
- package/build/src/registry.js +1 -1
- package/build/src/rules/cloud_types.js +4 -0
- package/package.json +1 -1
package/build/abaplint.d.ts
CHANGED
|
@@ -444,6 +444,24 @@ declare class BusinessAddInImplementation extends AbstractObject {
|
|
|
444
444
|
getDescription(): string | undefined;
|
|
445
445
|
}
|
|
446
446
|
|
|
447
|
+
declare class BusinessCatalog extends AbstractObject {
|
|
448
|
+
getType(): string;
|
|
449
|
+
getAllowedNaming(): {
|
|
450
|
+
maxLength: number;
|
|
451
|
+
allowNamespace: boolean;
|
|
452
|
+
};
|
|
453
|
+
getDescription(): string | undefined;
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
declare class BusinessCatalogAppAssignment extends AbstractObject {
|
|
457
|
+
getType(): string;
|
|
458
|
+
getAllowedNaming(): {
|
|
459
|
+
maxLength: number;
|
|
460
|
+
allowNamespace: boolean;
|
|
461
|
+
};
|
|
462
|
+
getDescription(): string | undefined;
|
|
463
|
+
}
|
|
464
|
+
|
|
447
465
|
declare class BusinessConfigurationSet extends AbstractObject {
|
|
448
466
|
getType(): string;
|
|
449
467
|
getAllowedNaming(): {
|
|
@@ -4018,6 +4036,8 @@ declare namespace Objects {
|
|
|
4018
4036
|
CheckpointGroup,
|
|
4019
4037
|
ClassCategory,
|
|
4020
4038
|
Class,
|
|
4039
|
+
BusinessCatalog,
|
|
4040
|
+
BusinessCatalogAppAssignment,
|
|
4021
4041
|
Classification,
|
|
4022
4042
|
CompositeEnhancementImplementation,
|
|
4023
4043
|
CompositeEnhancementSpot,
|
|
@@ -15,12 +15,12 @@ class MoveCorresponding {
|
|
|
15
15
|
}
|
|
16
16
|
const sourceType = new source_1.Source().runSyntax(s, scope, filename);
|
|
17
17
|
const targetType = new target_1.Target().runSyntax(t, scope, filename);
|
|
18
|
-
if (scope.getVersion() < version_1.Version.v740sp05) {
|
|
18
|
+
if (scope.getVersion() < version_1.Version.v740sp05 && scope.getVersion() !== version_1.Version.Cloud) {
|
|
19
19
|
if (sourceType instanceof basic_1.TableType && sourceType.isWithHeader() === false) {
|
|
20
|
-
throw new Error("MOVE-
|
|
20
|
+
throw new Error("MOVE-CORRESPONDING with tables possible from v740sp05");
|
|
21
21
|
}
|
|
22
22
|
else if (targetType instanceof basic_1.TableType && targetType.isWithHeader() === false) {
|
|
23
|
-
throw new Error("MOVE-
|
|
23
|
+
throw new Error("MOVE-CORRESPONDING with tables possible from v740sp05");
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BusinessCatalog = void 0;
|
|
4
|
+
const _abstract_object_1 = require("./_abstract_object");
|
|
5
|
+
class BusinessCatalog extends _abstract_object_1.AbstractObject {
|
|
6
|
+
getType() {
|
|
7
|
+
return "SIA1";
|
|
8
|
+
}
|
|
9
|
+
getAllowedNaming() {
|
|
10
|
+
return {
|
|
11
|
+
maxLength: 200,
|
|
12
|
+
allowNamespace: true,
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
getDescription() {
|
|
16
|
+
// todo
|
|
17
|
+
return undefined;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
exports.BusinessCatalog = BusinessCatalog;
|
|
21
|
+
//# sourceMappingURL=business_catalog.js.map
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BusinessCatalogAppAssignment = void 0;
|
|
4
|
+
const _abstract_object_1 = require("./_abstract_object");
|
|
5
|
+
class BusinessCatalogAppAssignment extends _abstract_object_1.AbstractObject {
|
|
6
|
+
getType() {
|
|
7
|
+
return "SIA7";
|
|
8
|
+
}
|
|
9
|
+
getAllowedNaming() {
|
|
10
|
+
return {
|
|
11
|
+
maxLength: 200,
|
|
12
|
+
allowNamespace: true,
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
getDescription() {
|
|
16
|
+
// todo
|
|
17
|
+
return undefined;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
exports.BusinessCatalogAppAssignment = BusinessCatalogAppAssignment;
|
|
21
|
+
//# sourceMappingURL=business_catalog_app_assignment.js.map
|
|
@@ -33,6 +33,8 @@ __exportStar(require("./change_document"), exports);
|
|
|
33
33
|
__exportStar(require("./chapter_of_book_structure"), exports);
|
|
34
34
|
__exportStar(require("./checkpoint_group"), exports);
|
|
35
35
|
__exportStar(require("./class"), exports);
|
|
36
|
+
__exportStar(require("./business_catalog"), exports);
|
|
37
|
+
__exportStar(require("./business_catalog_app_assignment"), exports);
|
|
36
38
|
__exportStar(require("./classification"), exports);
|
|
37
39
|
__exportStar(require("./composite_enhancement_implementation"), exports);
|
|
38
40
|
__exportStar(require("./composite_enhancement_spot"), exports);
|
package/build/src/registry.js
CHANGED
|
@@ -44,8 +44,12 @@ class CloudTypes {
|
|
|
44
44
|
|| obj instanceof Objects.Table
|
|
45
45
|
|| obj instanceof Objects.TableType
|
|
46
46
|
|| obj instanceof Objects.DataDefinition
|
|
47
|
+
|| obj instanceof Objects.BusinessCatalog
|
|
48
|
+
|| obj instanceof Objects.BusinessCatalogAppAssignment
|
|
49
|
+
|| obj instanceof Objects.AssignmentServiceToAuthorizationGroup
|
|
47
50
|
|| obj instanceof Objects.DataControl
|
|
48
51
|
|| obj instanceof Objects.LockObject
|
|
52
|
+
|| obj instanceof Objects.CDSMetadataExtension
|
|
49
53
|
|| obj instanceof Objects.Transformation
|
|
50
54
|
|| obj instanceof Objects.FunctionGroup
|
|
51
55
|
|| obj instanceof Objects.DataElement
|