@mcp-abap-adt/interfaces 0.1.13 → 0.1.14

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/CHANGELOG.md CHANGED
@@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.1.14] - 2025-12-19
11
+
12
+ ### Added
13
+ - **LogLevel Enum**: Added `LogLevel` enum to logging domain exports
14
+ - Defines log levels: `ERROR = 0`, `WARN = 1`, `INFO = 2`, `DEBUG = 3`
15
+ - Exported from `@mcp-abap-adt/interfaces` for use across all packages
16
+ - Allows logger implementations to use standardized log level constants
17
+ - **Usage**: `import { LogLevel } from '@mcp-abap-adt/interfaces';`
18
+
10
19
  ## [0.1.13] - 2025-12-19
11
20
 
12
21
  ### Removed
package/dist/index.d.ts CHANGED
@@ -20,6 +20,7 @@ export type { SapAuthType } from './sap/SapAuthType';
20
20
  export type { ISessionStorage } from './storage/ISessionStorage';
21
21
  export type { ISessionState } from './storage/ISessionState';
22
22
  export type { ILogger } from './logging/ILogger';
23
+ export { LogLevel } from './logging/LogLevel';
23
24
  export type { IValidatedAuthConfig } from './validation/IValidatedAuthConfig';
24
25
  export type { IHeaderValidationResult } from './validation/IHeaderValidationResult';
25
26
  export { AuthMethodPriority } from './validation/IValidatedAuthConfig';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,YAAY,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACxE,YAAY,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAClE,YAAY,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAC9C,YAAY,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAGhD,YAAY,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAC7D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AAE,MAAM,uBAAuB,CAAC"}
package/dist/index.js CHANGED
@@ -20,7 +20,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
20
20
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
21
21
  };
22
22
  Object.defineProperty(exports, "__esModule", { value: true });
23
- exports.AdtObjectErrorCodes = exports.AuthMethodPriority = void 0;
23
+ exports.AdtObjectErrorCodes = exports.AuthMethodPriority = exports.LogLevel = void 0;
24
+ var LogLevel_1 = require("./logging/LogLevel");
25
+ Object.defineProperty(exports, "LogLevel", { enumerable: true, get: function () { return LogLevel_1.LogLevel; } });
24
26
  var IValidatedAuthConfig_1 = require("./validation/IValidatedAuthConfig");
25
27
  Object.defineProperty(exports, "AuthMethodPriority", { enumerable: true, get: function () { return IValidatedAuthConfig_1.AuthMethodPriority; } });
26
28
  // Headers domain
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Log levels for logger implementations
3
+ */
4
+ export declare enum LogLevel {
5
+ ERROR = 0,
6
+ WARN = 1,
7
+ INFO = 2,
8
+ DEBUG = 3
9
+ }
10
+ //# sourceMappingURL=LogLevel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LogLevel.d.ts","sourceRoot":"","sources":["../../src/logging/LogLevel.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,QAAQ;IAClB,KAAK,IAAI;IACT,IAAI,IAAI;IACR,IAAI,IAAI;IACR,KAAK,IAAI;CACV"}
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LogLevel = void 0;
4
+ /**
5
+ * Log levels for logger implementations
6
+ */
7
+ var LogLevel;
8
+ (function (LogLevel) {
9
+ LogLevel[LogLevel["ERROR"] = 0] = "ERROR";
10
+ LogLevel[LogLevel["WARN"] = 1] = "WARN";
11
+ LogLevel[LogLevel["INFO"] = 2] = "INFO";
12
+ LogLevel[LogLevel["DEBUG"] = 3] = "DEBUG";
13
+ })(LogLevel || (exports.LogLevel = LogLevel = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mcp-abap-adt/interfaces",
3
- "version": "0.1.13",
3
+ "version": "0.1.14",
4
4
  "description": "Shared interfaces for MCP ABAP ADT packages",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",