@kwirthmagnify/kwirth-common 0.5.23 → 0.5.25

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/Channel.d.ts CHANGED
@@ -1,5 +1,3 @@
1
- import { ISenderAccess } from './Sender';
2
- import { IUserInfo } from './Global';
3
1
  declare enum ClusterTypeEnum {
4
2
  KUBERNETES = "kubernetes",
5
3
  DOCKER = "docker"
@@ -52,17 +50,4 @@ interface IBackChannelRequirements {
52
50
  providers: string[];
53
51
  instances?: EChannelInstances;
54
52
  }
55
- interface IBackChannelObject {
56
- writeStorage?(id: string, secret: boolean, data: any): Promise<void>;
57
- readStorage?(id: string, secret: boolean): Promise<any>;
58
- writeStorageCommon?(id: string, secret: boolean, data: any): Promise<void>;
59
- readStorageCommon?(id: string, secret: boolean): Promise<any>;
60
- logInfo?(message: unknown): void;
61
- logTrace?(message: unknown): void;
62
- logWarning?(message: unknown): void;
63
- logError?(message: unknown): void;
64
- getUsers?(): Promise<IUserInfo[]>;
65
- getPluginConfig?(pluginId: string): Promise<Record<string, unknown>>;
66
- senders?: ISenderAccess;
67
- }
68
- export { ClusterTypeEnum, KwirthData, BackChannelData, EClusterType, EChannelInstances, EChannelMode, IBackChannelRequirements, IBackChannelObject };
53
+ export { ClusterTypeEnum, KwirthData, BackChannelData, EClusterType, EChannelInstances, EChannelMode, IBackChannelRequirements };
@@ -0,0 +1,5 @@
1
+ export interface IExtensionScope {
2
+ scope: string;
3
+ label: string;
4
+ description: string;
5
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/dist/index.d.ts CHANGED
@@ -9,6 +9,7 @@ export * from './AccessKey';
9
9
  export * from './Global';
10
10
  export * from './AuthMethod';
11
11
  export * from './ExtensionType';
12
+ export * from './ExtensionScope';
12
13
  export * from './Version';
13
14
  export * from './FrontChannel';
14
15
  export * from './nameGenerator';
package/dist/index.js CHANGED
@@ -40,6 +40,7 @@ __exportStar(require("./AccessKey"), exports);
40
40
  __exportStar(require("./Global"), exports);
41
41
  __exportStar(require("./AuthMethod"), exports);
42
42
  __exportStar(require("./ExtensionType"), exports);
43
+ __exportStar(require("./ExtensionScope"), exports);
43
44
  // (daemons eliminados: se retira export * from './Daemon')
44
45
  __exportStar(require("./Version"), exports);
45
46
  __exportStar(require("./FrontChannel"), exports);
package/package.json CHANGED
@@ -1,51 +1,51 @@
1
- {
2
- "name": "@kwirthmagnify/kwirth-common",
3
- "version": "0.5.23",
4
- "description": "Common interfaces for integrating applications with Kwirth",
5
- "scripts": {
6
- "build": "del .\\dist\\* /s /q && tsc"
7
- },
8
- "publishConfig": {
9
- "access": "public",
10
- "main": "dist/index.js"
11
- },
12
- "main": "dist/index.js",
13
- "module": "dist/index.js",
14
- "types": "dist/index.d.ts",
15
- "files": [
16
- "dist"
17
- ],
18
- "repository": {
19
- "type": "git",
20
- "url": "git+https://github.com/kwirthmagnify/kwirth-common.git"
21
- },
22
- "keywords": [
23
- "kwirth",
24
- "kubernetes",
25
- "log",
26
- "metrics",
27
- "alert",
28
- "trivy",
29
- "operations",
30
- "shell",
31
- "observability",
32
- "kubelog",
33
- "kwirth-log",
34
- "kwirthlog",
35
- "kwirth-metrics",
36
- "kwirthmetrics"
37
- ],
38
- "author": "Julio Fernandez",
39
- "license": "ISC",
40
- "bugs": {
41
- "url": "https://github.com/kwirthmagnify/kwirth-common/issues"
42
- },
43
- "homepage": "https://github.com/kwirthmagnify/kwirth-common#readme",
44
- "dependencies": {
45
- "@kwirthmagnify/kwirth-common": "^0.5.1",
46
- "uuid": "^11.1.0"
47
- },
48
- "devDependencies": {
49
- "typescript": "^5.8.3"
50
- }
51
- }
1
+ {
2
+ "name": "@kwirthmagnify/kwirth-common",
3
+ "version": "0.5.25",
4
+ "description": "Common interfaces for integrating applications with Kwirth",
5
+ "scripts": {
6
+ "build": "del .\\dist\\* /s /q && tsc"
7
+ },
8
+ "publishConfig": {
9
+ "access": "public",
10
+ "main": "dist/index.js"
11
+ },
12
+ "main": "dist/index.js",
13
+ "module": "dist/index.js",
14
+ "types": "dist/index.d.ts",
15
+ "files": [
16
+ "dist"
17
+ ],
18
+ "repository": {
19
+ "type": "git",
20
+ "url": "git+https://github.com/kwirthmagnify/kwirth-common.git"
21
+ },
22
+ "keywords": [
23
+ "kwirth",
24
+ "kubernetes",
25
+ "log",
26
+ "metrics",
27
+ "alert",
28
+ "trivy",
29
+ "operations",
30
+ "shell",
31
+ "observability",
32
+ "kubelog",
33
+ "kwirth-log",
34
+ "kwirthlog",
35
+ "kwirth-metrics",
36
+ "kwirthmetrics"
37
+ ],
38
+ "author": "Julio Fernandez",
39
+ "license": "ISC",
40
+ "bugs": {
41
+ "url": "https://github.com/kwirthmagnify/kwirth-common/issues"
42
+ },
43
+ "homepage": "https://github.com/kwirthmagnify/kwirth-common#readme",
44
+ "dependencies": {
45
+ "@kwirthmagnify/kwirth-common": "^0.5.1",
46
+ "uuid": "^11.1.0"
47
+ },
48
+ "devDependencies": {
49
+ "typescript": "^5.8.3"
50
+ }
51
+ }