@mcp-abap-adt/responsible-rules 23.1.0 → 24.0.1

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/index.d.ts CHANGED
@@ -8,5 +8,5 @@
8
8
  * embedder gets these rules only when it passes them.
9
9
  */
10
10
  export { responsibleRules } from './responsibleRules';
11
- export { listenerSystemTypeRequiredWords, SYSTEM_TYPE_ROW } from './systemType';
11
+ export { listenerSystemTypeRequiredWords, SYSTEM_TYPE_ROW, SYSTEM_TYPES, } from './systemType';
12
12
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,+BAA+B,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EACL,+BAA+B,EAC/B,eAAe,EACf,YAAY,GACb,MAAM,cAAc,CAAC"}
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SYSTEM_TYPE_ROW = exports.listenerSystemTypeRequiredWords = exports.responsibleRules = void 0;
3
+ exports.SYSTEM_TYPES = exports.SYSTEM_TYPE_ROW = exports.listenerSystemTypeRequiredWords = exports.responsibleRules = void 0;
4
4
  /**
5
5
  * @mcp-abap-adt/responsible-rules — the rules of the MCP ABAP ADT servers
6
6
  * that name a call's responsible, user and system: a `SystemContextRules`
@@ -15,4 +15,5 @@ Object.defineProperty(exports, "responsibleRules", { enumerable: true, get: func
15
15
  var systemType_1 = require("./systemType");
16
16
  Object.defineProperty(exports, "listenerSystemTypeRequiredWords", { enumerable: true, get: function () { return systemType_1.listenerSystemTypeRequiredWords; } });
17
17
  Object.defineProperty(exports, "SYSTEM_TYPE_ROW", { enumerable: true, get: function () { return systemType_1.SYSTEM_TYPE_ROW; } });
18
+ Object.defineProperty(exports, "SYSTEM_TYPES", { enumerable: true, get: function () { return systemType_1.SYSTEM_TYPES; } });
18
19
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;GAQG;AACH,uDAAsD;AAA7C,oHAAA,gBAAgB,OAAA;AACzB,2CAAgF;AAAvE,6HAAA,+BAA+B,OAAA;AAAE,6GAAA,eAAe,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;GAQG;AACH,uDAAsD;AAA7C,oHAAA,gBAAgB,OAAA;AACzB,2CAIsB;AAHpB,6HAAA,+BAA+B,OAAA;AAC/B,6GAAA,eAAe,OAAA;AACf,0GAAA,YAAY,OAAA"}
@@ -5,6 +5,8 @@
5
5
  * follow from it.
6
6
  */
7
7
  import type { Parameter } from '@mcp-abap-adt/lib/config';
8
+ /** The system types `--system-type` takes. */
9
+ export declare const SYSTEM_TYPES: readonly ["onprem", "cloud", "legacy"];
8
10
  /** `--system-type` / `SAP_SYSTEM_TYPE`, required. */
9
11
  export declare const SYSTEM_TYPE_ROW: Parameter;
10
12
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"systemType.d.ts","sourceRoot":"","sources":["../src/systemType.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAE1D,qDAAqD;AACrD,eAAO,MAAM,eAAe,EAAE,SAS7B,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,+BAA+B,IAAI,MAAM,CAExD"}
1
+ {"version":3,"file":"systemType.d.ts","sourceRoot":"","sources":["../src/systemType.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAE1D,8CAA8C;AAC9C,eAAO,MAAM,YAAY,wCAAyC,CAAC;AAEnE,qDAAqD;AACrD,eAAO,MAAM,eAAe,EAAE,SAS7B,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,+BAA+B,IAAI,MAAM,CAExD"}
@@ -1,7 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SYSTEM_TYPE_ROW = void 0;
3
+ exports.SYSTEM_TYPE_ROW = exports.SYSTEM_TYPES = void 0;
4
4
  exports.listenerSystemTypeRequiredWords = listenerSystemTypeRequiredWords;
5
+ /** The system types `--system-type` takes. */
6
+ exports.SYSTEM_TYPES = ['onprem', 'cloud', 'legacy'];
5
7
  /** `--system-type` / `SAP_SYSTEM_TYPE`, required. */
6
8
  exports.SYSTEM_TYPE_ROW = {
7
9
  key: 'systemType',
@@ -9,7 +11,7 @@ exports.SYSTEM_TYPE_ROW = {
9
11
  env: 'SAP_SYSTEM_TYPE',
10
12
  yaml: 'system-type',
11
13
  kind: 'enum',
12
- values: ['onprem', 'cloud', 'legacy'],
14
+ values: exports.SYSTEM_TYPES,
13
15
  section: 'OPTIONS',
14
16
  help: "SAP system type, required (no default, never guessed): the tools offered, the connector and how the system's answers are read",
15
17
  };
@@ -1 +1 @@
1
- {"version":3,"file":"systemType.js","sourceRoot":"","sources":["../src/systemType.ts"],"names":[],"mappings":";;;AAyBA,0EAEC;AAnBD,qDAAqD;AACxC,QAAA,eAAe,GAAc;IACxC,GAAG,EAAE,YAAY;IACjB,GAAG,EAAE,eAAe;IACpB,GAAG,EAAE,iBAAiB;IACtB,IAAI,EAAE,aAAa;IACnB,IAAI,EAAE,MAAM;IACZ,MAAM,EAAE,CAAC,QAAQ,EAAE,OAAO,EAAE,QAAQ,CAAC;IACrC,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,+HAA+H;CACtI,CAAC;AAEF;;;;GAIG;AACH,SAAgB,+BAA+B;IAC7C,OAAO,mKAAmK,CAAC;AAC7K,CAAC"}
1
+ {"version":3,"file":"systemType.js","sourceRoot":"","sources":["../src/systemType.ts"],"names":[],"mappings":";;;AA4BA,0EAEC;AAtBD,8CAA8C;AACjC,QAAA,YAAY,GAAG,CAAC,QAAQ,EAAE,OAAO,EAAE,QAAQ,CAAU,CAAC;AAEnE,qDAAqD;AACxC,QAAA,eAAe,GAAc;IACxC,GAAG,EAAE,YAAY;IACjB,GAAG,EAAE,eAAe;IACpB,GAAG,EAAE,iBAAiB;IACtB,IAAI,EAAE,aAAa;IACnB,IAAI,EAAE,MAAM;IACZ,MAAM,EAAE,oBAAY;IACpB,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,+HAA+H;CACtI,CAAC;AAEF;;;;GAIG;AACH,SAAgB,+BAA+B;IAC7C,OAAO,mKAAmK,CAAC;AAC7K,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mcp-abap-adt/responsible-rules",
3
- "version": "23.1.0",
3
+ "version": "24.0.1",
4
4
  "description": "The rules of the MCP ABAP ADT servers that name a call's responsible, user and system: a SystemContextRules of @mcp-abap-adt/lib making each connection's parameters from its systeminformation by the system kind, and the system type the transports require.",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -47,10 +47,10 @@
47
47
  "prepublishOnly": "npm run build"
48
48
  },
49
49
  "peerDependencies": {
50
- "@mcp-abap-adt/lib": "^23.1.0"
50
+ "@mcp-abap-adt/lib": "^24.0.1"
51
51
  },
52
52
  "devDependencies": {
53
- "@mcp-abap-adt/lib": "^23.1.0",
53
+ "@mcp-abap-adt/lib": "^24.0.1",
54
54
  "@types/jest": "*",
55
55
  "@types/node": "*",
56
56
  "typescript": "*"