@abaplint/core 2.93.58 → 2.93.60

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.
@@ -2539,6 +2539,15 @@ declare class Hide implements IStatement {
2539
2539
  getMatcher(): IStatementRunnable;
2540
2540
  }
2541
2541
 
2542
+ declare class HttpService extends AbstractObject {
2543
+ getType(): string;
2544
+ getAllowedNaming(): {
2545
+ maxLength: number;
2546
+ allowNamespace: boolean;
2547
+ };
2548
+ getDescription(): string | undefined;
2549
+ }
2550
+
2542
2551
  declare interface IABAPFileInformation {
2543
2552
  listInterfaceDefinitions(): readonly InfoInterfaceDefinition[];
2544
2553
  getInterfaceDefinitionByName(name: string): InfoInterfaceDefinition | undefined;
@@ -2600,6 +2609,15 @@ declare interface IAllowedNaming {
2600
2609
  customRegex?: RegExp;
2601
2610
  }
2602
2611
 
2612
+ declare class IAMApp extends AbstractObject {
2613
+ getType(): string;
2614
+ getAllowedNaming(): {
2615
+ maxLength: number;
2616
+ allowNamespace: boolean;
2617
+ };
2618
+ getDescription(): string | undefined;
2619
+ }
2620
+
2603
2621
  declare interface IArtifact {
2604
2622
  getType(): string;
2605
2623
  getAllowedNaming(): IAllowedNaming;
@@ -2941,6 +2959,15 @@ declare class ImportNametab implements IStatement {
2941
2959
  getMatcher(): IStatementRunnable;
2942
2960
  }
2943
2961
 
2962
+ declare class InboundService extends AbstractObject {
2963
+ getType(): string;
2964
+ getAllowedNaming(): {
2965
+ maxLength: number;
2966
+ allowNamespace: boolean;
2967
+ };
2968
+ getDescription(): string | undefined;
2969
+ }
2970
+
2944
2971
  declare class Include implements IStatement {
2945
2972
  getMatcher(): IStatementRunnable;
2946
2973
  }
@@ -4032,6 +4059,8 @@ declare namespace Objects {
4032
4059
  BehaviorDefinition,
4033
4060
  BSPApplication,
4034
4061
  BusinessAddInImplementation,
4062
+ BusinessCatalogAppAssignment,
4063
+ BusinessCatalog,
4035
4064
  BusinessConfigurationSet,
4036
4065
  BusinessFunctionAssignment,
4037
4066
  BusinessFunctionSetAssignment,
@@ -4043,8 +4072,6 @@ declare namespace Objects {
4043
4072
  CheckpointGroup,
4044
4073
  ClassCategory,
4045
4074
  Class,
4046
- BusinessCatalog,
4047
- BusinessCatalogAppAssignment,
4048
4075
  Classification,
4049
4076
  CompositeEnhancementImplementation,
4050
4077
  CompositeEnhancementSpot,
@@ -4083,13 +4110,16 @@ declare namespace Objects {
4083
4110
  GeneralHierarchyStorageExtrensionName,
4084
4111
  GeneralStorageStructure,
4085
4112
  GeneralText,
4113
+ HttpService,
4086
4114
  IACBinaryData,
4087
4115
  IACLanguageResource,
4088
4116
  IACService,
4089
4117
  IACTemplate,
4118
+ IAMApp,
4090
4119
  ICFService,
4091
4120
  IdocExtension,
4092
4121
  Idoc,
4122
+ InboundService,
4093
4123
  InfoObject,
4094
4124
  Interface,
4095
4125
  LockObject,
@@ -96,7 +96,7 @@ class Procedural {
96
96
  found = new basic_1.TableType(found, { withHeader: true });
97
97
  }
98
98
  }
99
- if (found instanceof basic_1.UnknownType && ((_a = param.type) === null || _a === void 0 ? void 0 : _a.includes("-"))) {
99
+ if ((found instanceof basic_1.UnknownType || found instanceof basic_1.VoidType) && ((_a = param.type) === null || _a === void 0 ? void 0 : _a.includes("-"))) {
100
100
  const [name, field] = param.type.split("-");
101
101
  const f = ddic.lookupTableOrView(name).type;
102
102
  if (f && f instanceof basic_1.StructureType) {
@@ -106,7 +106,7 @@ class Procedural {
106
106
  }
107
107
  }
108
108
  }
109
- else if (found instanceof basic_1.UnknownType && ((_b = param.type) === null || _b === void 0 ? void 0 : _b.includes("=>"))) {
109
+ else if ((found instanceof basic_1.UnknownType || found instanceof basic_1.VoidType) && ((_b = param.type) === null || _b === void 0 ? void 0 : _b.includes("=>"))) {
110
110
  const [name, field] = param.type.split("=>");
111
111
  const def = this.scope.findObjectDefinition(name);
112
112
  const c = new _object_oriented_1.ObjectOriented(this.scope).searchTypeName(def, field);
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.HttpService = void 0;
4
+ const _abstract_object_1 = require("./_abstract_object");
5
+ class HttpService extends _abstract_object_1.AbstractObject {
6
+ getType() {
7
+ return "HTTP";
8
+ }
9
+ getAllowedNaming() {
10
+ return {
11
+ maxLength: 200,
12
+ allowNamespace: true,
13
+ };
14
+ }
15
+ getDescription() {
16
+ // todo
17
+ return undefined;
18
+ }
19
+ }
20
+ exports.HttpService = HttpService;
21
+ //# sourceMappingURL=http_service.js.map
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.IAMApp = void 0;
4
+ const _abstract_object_1 = require("./_abstract_object");
5
+ class IAMApp extends _abstract_object_1.AbstractObject {
6
+ getType() {
7
+ return "SIA6";
8
+ }
9
+ getAllowedNaming() {
10
+ return {
11
+ maxLength: 200,
12
+ allowNamespace: true,
13
+ };
14
+ }
15
+ getDescription() {
16
+ // todo
17
+ return undefined;
18
+ }
19
+ }
20
+ exports.IAMApp = IAMApp;
21
+ //# sourceMappingURL=iam_app.js.map
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.InboundService = void 0;
4
+ const _abstract_object_1 = require("./_abstract_object");
5
+ class InboundService extends _abstract_object_1.AbstractObject {
6
+ getType() {
7
+ return "SCO2";
8
+ }
9
+ getAllowedNaming() {
10
+ return {
11
+ maxLength: 200,
12
+ allowNamespace: true,
13
+ };
14
+ }
15
+ getDescription() {
16
+ // todo
17
+ return undefined;
18
+ }
19
+ }
20
+ exports.InboundService = InboundService;
21
+ //# sourceMappingURL=inbound_service.js.map
@@ -24,6 +24,8 @@ __exportStar(require("./authorization_object"), exports);
24
24
  __exportStar(require("./behavior_definition"), exports);
25
25
  __exportStar(require("./bsp_application"), exports);
26
26
  __exportStar(require("./business_add_in_implementation"), exports);
27
+ __exportStar(require("./business_catalog_app_assignment"), exports);
28
+ __exportStar(require("./business_catalog"), exports);
27
29
  __exportStar(require("./business_configuration_set"), exports);
28
30
  __exportStar(require("./business_function_assignment"), exports);
29
31
  __exportStar(require("./business_function_set_assignment"), exports);
@@ -33,8 +35,6 @@ __exportStar(require("./change_document"), exports);
33
35
  __exportStar(require("./chapter_of_book_structure"), exports);
34
36
  __exportStar(require("./checkpoint_group"), exports);
35
37
  __exportStar(require("./class"), exports);
36
- __exportStar(require("./business_catalog"), exports);
37
- __exportStar(require("./business_catalog_app_assignment"), exports);
38
38
  __exportStar(require("./classification"), exports);
39
39
  __exportStar(require("./composite_enhancement_implementation"), exports);
40
40
  __exportStar(require("./composite_enhancement_spot"), exports);
@@ -70,13 +70,16 @@ __exportStar(require("./gateway_vocabulary_annotation"), exports);
70
70
  __exportStar(require("./general_hierarchy_storage_extrension_name"), exports);
71
71
  __exportStar(require("./general_storage_structure"), exports);
72
72
  __exportStar(require("./general_text"), exports);
73
+ __exportStar(require("./http_service"), exports);
73
74
  __exportStar(require("./iac_binary_data"), exports);
74
75
  __exportStar(require("./iac_language_resource"), exports);
75
76
  __exportStar(require("./iac_service"), exports);
76
77
  __exportStar(require("./iac_template"), exports);
78
+ __exportStar(require("./iam_app"), exports);
77
79
  __exportStar(require("./icf_service"), exports);
78
80
  __exportStar(require("./idoc_extension"), exports);
79
81
  __exportStar(require("./idoc"), exports);
82
+ __exportStar(require("./inbound_service"), exports);
80
83
  __exportStar(require("./info_object"), exports);
81
84
  __exportStar(require("./interface"), exports);
82
85
  __exportStar(require("./lock_object"), exports);
@@ -63,7 +63,7 @@ class Registry {
63
63
  }
64
64
  static abaplintVersion() {
65
65
  // magic, see build script "version.sh"
66
- return "2.93.58";
66
+ return "2.93.60";
67
67
  }
68
68
  getDDICReferences() {
69
69
  return this.references;
@@ -37,23 +37,28 @@ class CloudTypes {
37
37
  }
38
38
  run(obj) {
39
39
  if (this.reg.getConfig().getVersion() !== version_1.Version.Cloud
40
+ || obj instanceof Objects.AssignmentServiceToAuthorizationGroup
41
+ || obj instanceof Objects.BehaviorDefinition
42
+ || obj instanceof Objects.BusinessCatalog
43
+ || obj instanceof Objects.BusinessCatalogAppAssignment
44
+ || obj instanceof Objects.CDSMetadataExtension
40
45
  || obj instanceof Objects.Class
46
+ || obj instanceof Objects.DataControl
47
+ || obj instanceof Objects.DataDefinition
48
+ || obj instanceof Objects.DataElement
49
+ || obj instanceof Objects.Domain
50
+ || obj instanceof Objects.FunctionGroup
51
+ || obj instanceof Objects.HttpService
52
+ || obj instanceof Objects.IAMApp
53
+ || obj instanceof Objects.InboundService
41
54
  || obj instanceof Objects.Interface
55
+ || obj instanceof Objects.LockObject
42
56
  || obj instanceof Objects.MessageClass
43
57
  || obj instanceof Objects.Package
58
+ || obj instanceof Objects.ServiceBinding
44
59
  || obj instanceof Objects.Table
45
60
  || obj instanceof Objects.TableType
46
- || obj instanceof Objects.DataDefinition
47
- || obj instanceof Objects.BusinessCatalog
48
- || obj instanceof Objects.BusinessCatalogAppAssignment
49
- || obj instanceof Objects.AssignmentServiceToAuthorizationGroup
50
- || obj instanceof Objects.DataControl
51
- || obj instanceof Objects.LockObject
52
- || obj instanceof Objects.CDSMetadataExtension
53
- || obj instanceof Objects.Transformation
54
- || obj instanceof Objects.FunctionGroup
55
- || obj instanceof Objects.DataElement
56
- || obj instanceof Objects.Domain) {
61
+ || obj instanceof Objects.Transformation) {
57
62
  return [];
58
63
  }
59
64
  const position = new position_1.Position(1, 1);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abaplint/core",
3
- "version": "2.93.58",
3
+ "version": "2.93.60",
4
4
  "description": "abaplint - Core API",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/abaplint.d.ts",