@abaplint/core 2.103.5 → 2.103.6

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.
@@ -606,6 +606,15 @@ declare class BusinessObjectModel extends AbstractObject {
606
606
  getDescription(): string | undefined;
607
607
  }
608
608
 
609
+ declare class BusinessObjectType extends AbstractObject {
610
+ getType(): string;
611
+ getAllowedNaming(): {
612
+ maxLength: number;
613
+ allowNamespace: boolean;
614
+ };
615
+ getDescription(): string | undefined;
616
+ }
617
+
609
618
  declare class Call implements IStatement {
610
619
  getMatcher(): IStatementRunnable;
611
620
  }
@@ -4364,9 +4373,9 @@ declare namespace Objects {
4364
4373
  export {
4365
4374
  ActivationVariant,
4366
4375
  APIReleaseState,
4367
- ApplicationLogObject,
4368
4376
  ApplicationJobCatalogEntry,
4369
4377
  ApplicationJobTemplate,
4378
+ ApplicationLogObject,
4370
4379
  AssignmentServiceToAuthorizationGroup,
4371
4380
  ATCCheckCategory,
4372
4381
  ATCCheckObject,
@@ -4385,6 +4394,7 @@ declare namespace Objects {
4385
4394
  BusinessFunctionAssignment,
4386
4395
  BusinessFunctionSetAssignment,
4387
4396
  BusinessObjectModel,
4397
+ BusinessObjectType,
4388
4398
  ParsedMetadataExtension,
4389
4399
  CDSMetadataExtension,
4390
4400
  ChangeDocument,
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BusinessObjectType = void 0;
4
+ const _abstract_object_1 = require("./_abstract_object");
5
+ class BusinessObjectType extends _abstract_object_1.AbstractObject {
6
+ getType() {
7
+ return "SOBJ";
8
+ }
9
+ getAllowedNaming() {
10
+ return {
11
+ maxLength: 200,
12
+ allowNamespace: true,
13
+ };
14
+ }
15
+ getDescription() {
16
+ // todo
17
+ return undefined;
18
+ }
19
+ }
20
+ exports.BusinessObjectType = BusinessObjectType;
21
+ //# sourceMappingURL=business_object_type.js.map
@@ -16,9 +16,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./activation_variant"), exports);
18
18
  __exportStar(require("./api_release_state"), exports);
19
- __exportStar(require("./application_log_object"), exports);
20
19
  __exportStar(require("./application_job_catalog_entry"), exports);
21
20
  __exportStar(require("./application_job_template"), exports);
21
+ __exportStar(require("./application_log_object"), exports);
22
22
  __exportStar(require("./assignment_service_to_authorization_group"), exports);
23
23
  __exportStar(require("./atc_check_category"), exports);
24
24
  __exportStar(require("./atc_check_object"), exports);
@@ -37,6 +37,7 @@ __exportStar(require("./business_configuration_set"), exports);
37
37
  __exportStar(require("./business_function_assignment"), exports);
38
38
  __exportStar(require("./business_function_set_assignment"), exports);
39
39
  __exportStar(require("./business_object_model"), exports);
40
+ __exportStar(require("./business_object_type"), exports);
40
41
  __exportStar(require("./cds_metadata_extension"), exports);
41
42
  __exportStar(require("./change_document"), exports);
42
43
  __exportStar(require("./chapter_of_book_structure"), exports);
@@ -63,8 +64,8 @@ __exportStar(require("./ecatt_test_script"), exports);
63
64
  __exportStar(require("./enhancement_implementation"), exports);
64
65
  __exportStar(require("./enhancement_spot"), exports);
65
66
  __exportStar(require("./event_binding"), exports);
66
- __exportStar(require("./event_consumer"), exports);
67
67
  __exportStar(require("./event_binding"), exports);
68
+ __exportStar(require("./event_consumer"), exports);
68
69
  __exportStar(require("./extension_index"), exports);
69
70
  __exportStar(require("./field_catalog"), exports);
70
71
  __exportStar(require("./form_object_form"), exports);
@@ -65,7 +65,7 @@ class Registry {
65
65
  }
66
66
  static abaplintVersion() {
67
67
  // magic, see build script "version.sh"
68
- return "2.103.5";
68
+ return "2.103.6";
69
69
  }
70
70
  getDDICReferences() {
71
71
  return this.ddicReferences;
@@ -35,9 +35,8 @@ class CloudTypes {
35
35
  this.reg = reg;
36
36
  return this;
37
37
  }
38
- run(obj) {
39
- if (this.reg.getConfig().getVersion() !== version_1.Version.Cloud
40
- || obj instanceof Objects.ApplicationJobCatalogEntry
38
+ static isCloud(obj) {
39
+ return obj instanceof Objects.ApplicationJobCatalogEntry
41
40
  || obj instanceof Objects.ApplicationJobTemplate
42
41
  || obj instanceof Objects.AssignmentServiceToAuthorizationGroup
43
42
  || obj instanceof Objects.ATCCheckCategory
@@ -75,7 +74,10 @@ class CloudTypes {
75
74
  || obj instanceof Objects.ServiceDefinition
76
75
  || obj instanceof Objects.Table
77
76
  || obj instanceof Objects.TableType
78
- || obj instanceof Objects.Transformation) {
77
+ || obj instanceof Objects.Transformation;
78
+ }
79
+ run(obj) {
80
+ if (this.reg.getConfig().getVersion() !== version_1.Version.Cloud || CloudTypes.isCloud(obj)) {
79
81
  return [];
80
82
  }
81
83
  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.103.5",
3
+ "version": "2.103.6",
4
4
  "description": "abaplint - Core API",
5
5
  "main": "build/src/index.js",
6
6
  "typings": "build/abaplint.d.ts",