@flink-app/management-actions-plugin 2.0.0-alpha.56 → 2.0.0-alpha.58

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.
@@ -1,4 +1,4 @@
1
- // Generated Sun Feb 15 2026 09:57:15 GMT+0100 (Central European Standard Time)
1
+ // Generated Sat Feb 28 2026 14:03:09 GMT+0100 (Central European Standard Time)
2
2
  import { autoRegisteredAgents } from "@flink-app/flink";
3
3
  export const agents = [];
4
4
  autoRegisteredAgents.push(...agents);
@@ -1,4 +1,4 @@
1
- // Generated Sun Feb 15 2026 09:57:15 GMT+0100 (Central European Standard Time)
1
+ // Generated Sat Feb 28 2026 14:03:09 GMT+0100 (Central European Standard Time)
2
2
  import { autoRegisteredHandlers, HttpMethod } from "@flink-app/flink";
3
3
  import * as Get_0 from "../src/handlers/Get";
4
4
  import * as PostById_1 from "../src/handlers/PostById";
@@ -1,4 +1,4 @@
1
- // Generated Sun Feb 15 2026 09:57:15 GMT+0100 (Central European Standard Time)
1
+ // Generated Sat Feb 28 2026 14:03:09 GMT+0100 (Central European Standard Time)
2
2
  import { autoRegisteredJobs } from "@flink-app/flink";
3
3
  export const jobs = [];
4
4
  autoRegisteredJobs.push(...jobs);
@@ -1,4 +1,4 @@
1
- // Generated Sun Feb 15 2026 09:57:15 GMT+0100 (Central European Standard Time)
1
+ // Generated Sat Feb 28 2026 14:03:09 GMT+0100 (Central European Standard Time)
2
2
  import { autoRegisteredRepos } from "@flink-app/flink";
3
3
  export const repos = [];
4
4
  autoRegisteredRepos.push(...repos);
@@ -1,4 +1,4 @@
1
- // Generated Sun Feb 15 2026 09:57:15 GMT+0100 (Central European Standard Time)
1
+ // Generated Sat Feb 28 2026 14:03:09 GMT+0100 (Central European Standard Time)
2
2
  import { autoRegisteredTools } from "@flink-app/flink";
3
3
  export const tools = [];
4
4
  autoRegisteredTools.push(...tools);
package/.flink/start.ts CHANGED
@@ -1,4 +1,4 @@
1
- // Generated Sun Feb 15 2026 09:57:15 GMT+0100 (Central European Standard Time)
1
+ // Generated Sat Feb 28 2026 14:03:09 GMT+0100 (Central European Standard Time)
2
2
  import "./generatedHandlers";
3
3
  import "./generatedRepos";
4
4
  import "./generatedTools";
package/CHANGELOG.md CHANGED
@@ -1,5 +1,30 @@
1
1
  # @flink-app/management-actions-plugin
2
2
 
3
+ ## 2.0.0-alpha.58
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - @flink-app/flink@2.0.0-alpha.58
9
+ - @flink-app/management-api-plugin@2.0.0-alpha.58
10
+
11
+ ## 2.0.0-alpha.57
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies [ef7f495]
16
+ - Updated dependencies [2d53aa4]
17
+ - Updated dependencies [b3cc5d1]
18
+ - Updated dependencies [d377fac]
19
+ - Updated dependencies [4ad44c0]
20
+ - Updated dependencies [90f80c7]
21
+ - Updated dependencies [f0887e7]
22
+ - Updated dependencies [68c46d3]
23
+ - Updated dependencies [4ad44c0]
24
+ - Updated dependencies
25
+ - @flink-app/flink@2.0.0-alpha.57
26
+ - @flink-app/management-api-plugin@2.0.0-alpha.57
27
+
3
28
  ## 2.0.0-alpha.56
4
29
 
5
30
  ### Patch Changes
@@ -1,7 +1,14 @@
1
+ // Generated Sat Feb 28 2026 14:03:09 GMT+0100 (Central European Standard Time)
1
2
  "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.agents = void 0;
4
- // Generated Sun Feb 15 2026 09:57:15 GMT+0100 (Central European Standard Time)
5
- var flink_1 = require("@flink-app/flink");
6
- exports.agents = [];
7
- flink_1.autoRegisteredAgents.push.apply(flink_1.autoRegisteredAgents, exports.agents);
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "agents", {
7
+ enumerable: true,
8
+ get: function() {
9
+ return agents;
10
+ }
11
+ });
12
+ const _flink = require("@flink-app/flink");
13
+ const agents = [];
14
+ _flink.autoRegisteredAgents.push(...agents);
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["/Users/joel/projects/flink/flink-framework/packages/management-actions-plugin/.flink/generatedAgents.ts"],"sourcesContent":["// Generated Sat Feb 28 2026 14:03:09 GMT+0100 (Central European Standard Time)\nimport { autoRegisteredAgents } from \"@flink-app/flink\";\nexport const agents = [];\nautoRegisteredAgents.push(...agents);\n "],"names":["agents","autoRegisteredAgents","push"],"mappings":"AAAA,+EAA+E;;;;;+BAElEA;;;eAAAA;;;uBADwB;AAC9B,MAAMA,SAAS,EAAE;AACxBC,2BAAoB,CAACC,IAAI,IAAIF"}
@@ -1,7 +1,14 @@
1
+ // Generated Sat Feb 28 2026 14:03:09 GMT+0100 (Central European Standard Time)
1
2
  "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.handlers = void 0;
4
- // Generated Sun Feb 15 2026 09:57:15 GMT+0100 (Central European Standard Time)
5
- var flink_1 = require("@flink-app/flink");
6
- exports.handlers = [];
7
- flink_1.autoRegisteredHandlers.push.apply(flink_1.autoRegisteredHandlers, exports.handlers);
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "handlers", {
7
+ enumerable: true,
8
+ get: function() {
9
+ return handlers;
10
+ }
11
+ });
12
+ const _flink = require("@flink-app/flink");
13
+ const handlers = [];
14
+ _flink.autoRegisteredHandlers.push(...handlers);
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["/Users/joel/projects/flink/flink-framework/packages/management-actions-plugin/.flink/generatedHandlers.ts"],"sourcesContent":["// Generated Sat Feb 28 2026 14:03:09 GMT+0100 (Central European Standard Time)\nimport { autoRegisteredHandlers, HttpMethod } from \"@flink-app/flink\";\nimport * as Get_0 from \"../src/handlers/Get\";\nimport * as PostById_1 from \"../src/handlers/PostById\";\n\nexport const handlers = [];\nautoRegisteredHandlers.push(...handlers);\n "],"names":["handlers","autoRegisteredHandlers","push"],"mappings":"AAAA,+EAA+E;;;;;+BAKlEA;;;eAAAA;;;uBAJsC;AAI5C,MAAMA,WAAW,EAAE;AAC1BC,6BAAsB,CAACC,IAAI,IAAIF"}
@@ -1,7 +1,14 @@
1
+ // Generated Sat Feb 28 2026 14:03:09 GMT+0100 (Central European Standard Time)
1
2
  "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.jobs = void 0;
4
- // Generated Sun Feb 15 2026 09:57:15 GMT+0100 (Central European Standard Time)
5
- var flink_1 = require("@flink-app/flink");
6
- exports.jobs = [];
7
- flink_1.autoRegisteredJobs.push.apply(flink_1.autoRegisteredJobs, exports.jobs);
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "jobs", {
7
+ enumerable: true,
8
+ get: function() {
9
+ return jobs;
10
+ }
11
+ });
12
+ const _flink = require("@flink-app/flink");
13
+ const jobs = [];
14
+ _flink.autoRegisteredJobs.push(...jobs);
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["/Users/joel/projects/flink/flink-framework/packages/management-actions-plugin/.flink/generatedJobs.ts"],"sourcesContent":["// Generated Sat Feb 28 2026 14:03:09 GMT+0100 (Central European Standard Time)\nimport { autoRegisteredJobs } from \"@flink-app/flink\";\nexport const jobs = [];\nautoRegisteredJobs.push(...jobs);\n "],"names":["jobs","autoRegisteredJobs","push"],"mappings":"AAAA,+EAA+E;;;;;+BAElEA;;;eAAAA;;;uBADsB;AAC5B,MAAMA,OAAO,EAAE;AACtBC,yBAAkB,CAACC,IAAI,IAAIF"}
@@ -1,7 +1,14 @@
1
+ // Generated Sat Feb 28 2026 14:03:09 GMT+0100 (Central European Standard Time)
1
2
  "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.repos = void 0;
4
- // Generated Sun Feb 15 2026 09:57:15 GMT+0100 (Central European Standard Time)
5
- var flink_1 = require("@flink-app/flink");
6
- exports.repos = [];
7
- flink_1.autoRegisteredRepos.push.apply(flink_1.autoRegisteredRepos, exports.repos);
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "repos", {
7
+ enumerable: true,
8
+ get: function() {
9
+ return repos;
10
+ }
11
+ });
12
+ const _flink = require("@flink-app/flink");
13
+ const repos = [];
14
+ _flink.autoRegisteredRepos.push(...repos);
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["/Users/joel/projects/flink/flink-framework/packages/management-actions-plugin/.flink/generatedRepos.ts"],"sourcesContent":["// Generated Sat Feb 28 2026 14:03:09 GMT+0100 (Central European Standard Time)\n import { autoRegisteredRepos } from \"@flink-app/flink\";\n export const repos = [];\n autoRegisteredRepos.push(...repos);\n "],"names":["repos","autoRegisteredRepos","push"],"mappings":"AAAA,+EAA+E;;;;;+BAEhEA;;;eAAAA;;;uBADuB;AAC7B,MAAMA,QAAQ,EAAE;AACvBC,0BAAmB,CAACC,IAAI,IAAIF"}
@@ -1,7 +1,14 @@
1
+ // Generated Sat Feb 28 2026 14:03:09 GMT+0100 (Central European Standard Time)
1
2
  "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.tools = void 0;
4
- // Generated Sun Feb 15 2026 09:57:15 GMT+0100 (Central European Standard Time)
5
- var flink_1 = require("@flink-app/flink");
6
- exports.tools = [];
7
- flink_1.autoRegisteredTools.push.apply(flink_1.autoRegisteredTools, exports.tools);
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "tools", {
7
+ enumerable: true,
8
+ get: function() {
9
+ return tools;
10
+ }
11
+ });
12
+ const _flink = require("@flink-app/flink");
13
+ const tools = [];
14
+ _flink.autoRegisteredTools.push(...tools);
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["/Users/joel/projects/flink/flink-framework/packages/management-actions-plugin/.flink/generatedTools.ts"],"sourcesContent":["// Generated Sat Feb 28 2026 14:03:09 GMT+0100 (Central European Standard Time)\nimport { autoRegisteredTools } from \"@flink-app/flink\";\nexport const tools = [];\nautoRegisteredTools.push(...tools);\n "],"names":["tools","autoRegisteredTools","push"],"mappings":"AAAA,+EAA+E;;;;;+BAElEA;;;eAAAA;;;uBADuB;AAC7B,MAAMA,QAAQ,EAAE;AACvBC,0BAAmB,CAACC,IAAI,IAAIF"}
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": "2.0",
3
+ "generated": "2026-02-28T13:03:09.758Z",
4
+ "schemas": {},
5
+ "handlers": {},
6
+ "tools": {}
7
+ }
@@ -1,2 +1,2 @@
1
1
  "use strict";
2
- // Generated Sun Feb 15 2026 09:57:15 GMT+0100 (Central European Standard Time)
2
+ // Generated Sun Feb 15 2026 15:25:23 GMT+0100 (Central European Standard Time)
@@ -1,10 +1,19 @@
1
+ // Generated Sat Feb 28 2026 14:03:09 GMT+0100 (Central European Standard Time)
1
2
  "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- // Generated Sun Feb 15 2026 09:57:15 GMT+0100 (Central European Standard Time)
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "default" // Export an empty object to make it a module
7
+ , {
8
+ enumerable: true,
9
+ get: function() {
10
+ return _default;
11
+ }
12
+ });
4
13
  require("./generatedHandlers");
5
14
  require("./generatedRepos");
6
15
  require("./generatedTools");
7
16
  require("./generatedAgents");
8
17
  require("./generatedJobs");
9
18
  require("../src/index");
10
- exports.default = {}; // Export an empty object to make it a module
19
+ const _default = {};
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["/Users/joel/projects/flink/flink-framework/packages/management-actions-plugin/.flink/start.ts"],"sourcesContent":["// Generated Sat Feb 28 2026 14:03:09 GMT+0100 (Central European Standard Time)\nimport \"./generatedHandlers\";\nimport \"./generatedRepos\";\nimport \"./generatedTools\";\nimport \"./generatedAgents\";\nimport \"./generatedJobs\";\nimport \"../src/index\";\nexport default {}; // Export an empty object to make it a module\n"],"names":[],"mappings":"AAAA,+EAA+E;;;;;+BAO/E,UAAmB,6CAA6C;;;;eAAhE;;;QANO;QACA;QACA;QACA;QACA;QACA;MACP,WAAe,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":"5.6.2"}
@@ -2,4 +2,4 @@ import { FlinkContext, Handler } from "@flink-app/flink";
2
2
  import { ActionView } from "../schemas/Action";
3
3
  declare const getHandler: Handler<FlinkContext, any, ActionView[]>;
4
4
  export default getHandler;
5
- export declare const __assumedHttpMethod = "get", __file = "Get.ts", __query: never[], __params: never[];
5
+ export declare const __assumedHttpMethod = "get", __file = "src/handlers/Get.ts", __query: never[], __params: never[];
@@ -1,69 +1,35 @@
1
1
  "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- var __generator = (this && this.__generator) || function (thisArg, body) {
12
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
13
- return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
14
- function verb(n) { return function (v) { return step([n, v]); }; }
15
- function step(op) {
16
- if (f) throw new TypeError("Generator is already executing.");
17
- while (g && (g = 0, op[0] && (_ = 0)), _) try {
18
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
19
- if (y = 0, t) op = [op[0] & 2, t.value];
20
- switch (op[0]) {
21
- case 0: case 1: t = op; break;
22
- case 4: _.label++; return { value: op[1], done: false };
23
- case 5: _.label++; y = op[1]; op = [0]; continue;
24
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
25
- default:
26
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
27
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
28
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
29
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
30
- if (t[2]) _.ops.pop();
31
- _.trys.pop(); continue;
32
- }
33
- op = body.call(thisArg, _);
34
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
35
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ Object.defineProperty(exports, "default", {
6
+ enumerable: true,
7
+ get: function() {
8
+ return _default;
36
9
  }
37
- };
38
- Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.__params = exports.__query = exports.__file = exports.__assumedHttpMethod = void 0;
40
- var getHandler = function (_a) { return __awaiter(void 0, [_a], void 0, function (_b) {
41
- var modules, module, actions, data;
42
- var _c, _d;
43
- var ctx = _b.ctx, req = _b.req, origin = _b.origin;
44
- return __generator(this, function (_e) {
45
- modules = ctx.plugins.managementApi.moduleList.modules;
46
- module = modules.find(function (p) { return p.id == origin; });
47
- if (((_c = module.data) === null || _c === void 0 ? void 0 : _c.actions) == null) {
48
- return [2 /*return*/, {
49
- data: [],
50
- status: 200,
51
- }];
52
- }
53
- actions = (_d = module.data) === null || _d === void 0 ? void 0 : _d.actions;
54
- data = actions.map(function (a) {
55
- var av = {
56
- id: a.id,
57
- description: a.description,
58
- arguments: a.arguments,
59
- };
60
- return av;
61
- });
62
- return [2 /*return*/, {
63
- data: data,
64
- status: 200,
65
- }];
10
+ });
11
+ const getHandler = async ({ ctx, req, origin })=>{
12
+ var _module_data, _module_data1;
13
+ const modules = ctx.plugins.managementApi.moduleList.modules;
14
+ const module = modules.find((p)=>p.id == origin);
15
+ if (((_module_data = module.data) === null || _module_data === void 0 ? void 0 : _module_data.actions) == null) {
16
+ return {
17
+ data: [],
18
+ status: 200
19
+ };
20
+ }
21
+ const actions = (_module_data1 = module.data) === null || _module_data1 === void 0 ? void 0 : _module_data1.actions;
22
+ const data = actions.map((a)=>{
23
+ let av = {
24
+ id: a.id,
25
+ description: a.description,
26
+ arguments: a.arguments
27
+ };
28
+ return av;
66
29
  });
67
- }); };
68
- exports.default = getHandler;
69
- exports.__assumedHttpMethod = "get", exports.__file = "Get.ts", exports.__query = [], exports.__params = [];
30
+ return {
31
+ data,
32
+ status: 200
33
+ };
34
+ };
35
+ const _default = getHandler;
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["/Users/joel/projects/flink/flink-framework/packages/management-actions-plugin/src/handlers/Get.ts"],"sourcesContent":["import { badRequest, conflict, FlinkContext, Handler, internalServerError } from \"@flink-app/flink\";\nimport { Action, ActionView } from \"../schemas/Action\";\nimport { ActionReturnStatus } from \"../schemas/Action\";\nconst getHandler: Handler<FlinkContext, any, ActionView[]> = async ({ ctx, req, origin }) => {\n const modules = ctx.plugins.managementApi.moduleList.modules as any[];\n const module = modules.find((p) => p.id == origin);\n\n if (module.data?.actions == null) {\n return {\n data: [],\n status: 200,\n };\n }\n\n const actions = module.data?.actions as Action[];\n\n const data = actions.map((a) => {\n let av: ActionView = {\n id: a.id,\n description: a.description,\n arguments: a.arguments,\n };\n return av;\n });\n\n return {\n data,\n status: 200,\n };\n};\n\nexport default getHandler;\n"],"names":["getHandler","ctx","req","origin","module","modules","plugins","managementApi","moduleList","find","p","id","data","actions","status","map","a","av","description","arguments"],"mappings":";;;;+BA+BA;;;eAAA;;;AA5BA,MAAMA,aAAuD,OAAO,EAAEC,GAAG,EAAEC,GAAG,EAAEC,MAAM,EAAE;QAIhFC,cAOYA;IAVhB,MAAMC,UAAUJ,IAAIK,OAAO,CAACC,aAAa,CAACC,UAAU,CAACH,OAAO;IAC5D,MAAMD,SAASC,QAAQI,IAAI,CAAC,CAACC,IAAMA,EAAEC,EAAE,IAAIR;IAE3C,IAAIC,EAAAA,eAAAA,OAAOQ,IAAI,cAAXR,mCAAAA,aAAaS,OAAO,KAAI,MAAM;QAC9B,OAAO;YACHD,MAAM,EAAE;YACRE,QAAQ;QACZ;IACJ;IAEA,MAAMD,WAAUT,gBAAAA,OAAOQ,IAAI,cAAXR,oCAAAA,cAAaS,OAAO;IAEpC,MAAMD,OAAOC,QAAQE,GAAG,CAAC,CAACC;QACtB,IAAIC,KAAiB;YACjBN,IAAIK,EAAEL,EAAE;YACRO,aAAaF,EAAEE,WAAW;YAC1BC,WAAWH,EAAEG,SAAS;QAC1B;QACA,OAAOF;IACX;IAEA,OAAO;QACHL;QACAE,QAAQ;IACZ;AACJ;MAEA,WAAed"}
@@ -2,4 +2,4 @@ import { FlinkContext, Handler } from "@flink-app/flink";
2
2
  import { ActionArgumentsValues, ActionResponse } from "../schemas/Action";
3
3
  declare const postHandler: Handler<FlinkContext, ActionArgumentsValues, ActionResponse>;
4
4
  export default postHandler;
5
- export declare const __assumedHttpMethod = "post", __file = "PostById.ts", __query: never[], __params: never[];
5
+ export declare const __assumedHttpMethod = "post", __file = "src/handlers/PostById.ts", __query: never[], __params: never[];
@@ -1,93 +1,49 @@
1
1
  "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- var __generator = (this && this.__generator) || function (thisArg, body) {
12
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
13
- return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
14
- function verb(n) { return function (v) { return step([n, v]); }; }
15
- function step(op) {
16
- if (f) throw new TypeError("Generator is already executing.");
17
- while (g && (g = 0, op[0] && (_ = 0)), _) try {
18
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
19
- if (y = 0, t) op = [op[0] & 2, t.value];
20
- switch (op[0]) {
21
- case 0: case 1: t = op; break;
22
- case 4: _.label++; return { value: op[1], done: false };
23
- case 5: _.label++; y = op[1]; op = [0]; continue;
24
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
25
- default:
26
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
27
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
28
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
29
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
30
- if (t[2]) _.ops.pop();
31
- _.trys.pop(); continue;
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ Object.defineProperty(exports, "default", {
6
+ enumerable: true,
7
+ get: function() {
8
+ return _default;
9
+ }
10
+ });
11
+ const _flink = require("@flink-app/flink");
12
+ const _Action = require("../schemas/Action");
13
+ const postHandler = async ({ ctx, req, origin })=>{
14
+ var _module_data;
15
+ const modules = ctx.plugins.managementApi.moduleList.modules;
16
+ const module = modules.find((p)=>p.id == origin);
17
+ if (((_module_data = module.data) === null || _module_data === void 0 ? void 0 : _module_data.actions) == null) {
18
+ return (0, _flink.notFound)("Action not found");
19
+ }
20
+ const actions = module.data.actions;
21
+ let action = actions.find((a)=>a.id == req.params.actionId);
22
+ if (action == null) {
23
+ return (0, _flink.notFound)("Action not found");
24
+ }
25
+ for(let i in action.arguments){
26
+ let arg = action.arguments[i];
27
+ if (arg.required) {
28
+ if (req.body[arg.id] == null) {
29
+ return (0, _flink.badRequest)(`${arg.id} is missing `);
32
30
  }
33
- op = body.call(thisArg, _);
34
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
35
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
31
+ }
36
32
  }
37
- };
38
- Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.__params = exports.__query = exports.__file = exports.__assumedHttpMethod = void 0;
40
- var flink_1 = require("@flink-app/flink");
41
- var Action_1 = require("../schemas/Action");
42
- var postHandler = function (_a) { return __awaiter(void 0, [_a], void 0, function (_b) {
43
- var modules, module, actions, action, i, arg, resp, ex_1;
44
- var _c;
45
- var ctx = _b.ctx, req = _b.req, origin = _b.origin;
46
- return __generator(this, function (_d) {
47
- switch (_d.label) {
48
- case 0:
49
- modules = ctx.plugins.managementApi.moduleList.modules;
50
- module = modules.find(function (p) { return p.id == origin; });
51
- if (((_c = module.data) === null || _c === void 0 ? void 0 : _c.actions) == null) {
52
- return [2 /*return*/, (0, flink_1.notFound)("Action not found")];
53
- }
54
- actions = module.data.actions;
55
- action = actions.find(function (a) { return a.id == req.params.actionId; });
56
- if (action == null) {
57
- return [2 /*return*/, (0, flink_1.notFound)("Action not found")];
58
- }
59
- for (i in action.arguments) {
60
- arg = action.arguments[i];
61
- if (arg.required) {
62
- if (req.body[arg.id] == null) {
63
- return [2 /*return*/, (0, flink_1.badRequest)("".concat(arg.id, " is missing "))];
64
- }
65
- }
66
- }
67
- _d.label = 1;
68
- case 1:
69
- _d.trys.push([1, 3, , 4]);
70
- return [4 /*yield*/, action.handler(ctx, req.body)];
71
- case 2:
72
- resp = _d.sent();
73
- if (resp.status == Action_1.ActionReturnStatus.success) {
74
- return [2 /*return*/, {
75
- data: resp,
76
- status: 200,
77
- }];
78
- }
79
- else {
80
- return [2 /*return*/, (0, flink_1.internalServerError)(resp.error)];
81
- }
82
- return [3 /*break*/, 4];
83
- case 3:
84
- ex_1 = _d.sent();
85
- console.log("EXCEPTIOIN managementActionsPlugin:");
86
- console.log(ex_1);
87
- return [2 /*return*/, (0, flink_1.internalServerError)()];
88
- case 4: return [2 /*return*/];
33
+ try {
34
+ const resp = await action.handler(ctx, req.body);
35
+ if (resp.status == _Action.ActionReturnStatus.success) {
36
+ return {
37
+ data: resp,
38
+ status: 200
39
+ };
40
+ } else {
41
+ return (0, _flink.internalServerError)(resp.error);
89
42
  }
90
- });
91
- }); };
92
- exports.default = postHandler;
93
- exports.__assumedHttpMethod = "post", exports.__file = "PostById.ts", exports.__query = [], exports.__params = [];
43
+ } catch (ex) {
44
+ console.log("EXCEPTIOIN managementActionsPlugin:");
45
+ console.log(ex);
46
+ return (0, _flink.internalServerError)();
47
+ }
48
+ };
49
+ const _default = postHandler;
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["/Users/joel/projects/flink/flink-framework/packages/management-actions-plugin/src/handlers/PostById.ts"],"sourcesContent":["import { badRequest, conflict, FlinkContext, Handler, internalServerError, notFound } from \"@flink-app/flink\";\nimport { Action, ActionArgumentsValues, ActionResponse, ActionReturnStatus } from \"../schemas/Action\";\n\nconst postHandler: Handler<FlinkContext, ActionArgumentsValues, ActionResponse> = async ({ ctx, req, origin }) => {\n const modules = ctx.plugins.managementApi.moduleList.modules as any[];\n const module = modules.find((p) => p.id == origin);\n\n if (module.data?.actions == null) {\n return notFound(\"Action not found\");\n }\n\n const actions = module.data!.actions as Action[];\n let action = actions.find((a) => a.id == req.params.actionId);\n if (action == null) {\n return notFound(\"Action not found\");\n }\n\n for (let i in action.arguments) {\n let arg = action.arguments[i];\n if (arg.required) {\n if (req.body[arg.id] == null) {\n return badRequest(`${arg.id} is missing `);\n }\n }\n }\n\n try {\n const resp = await action.handler(ctx, req.body);\n if (resp.status == ActionReturnStatus.success) {\n return {\n data: resp,\n status: 200,\n };\n } else {\n return internalServerError(resp.error);\n }\n } catch (ex) {\n console.log(\"EXCEPTIOIN managementActionsPlugin:\");\n console.log(ex);\n return internalServerError();\n }\n};\n\nexport default postHandler;\n"],"names":["postHandler","ctx","req","origin","module","modules","plugins","managementApi","moduleList","find","p","id","data","actions","notFound","action","a","params","actionId","i","arguments","arg","required","body","badRequest","resp","handler","status","ActionReturnStatus","success","internalServerError","error","ex","console","log"],"mappings":";;;;+BA2CA;;;eAAA;;;uBA3C2F;wBACT;AAElF,MAAMA,cAA4E,OAAO,EAAEC,GAAG,EAAEC,GAAG,EAAEC,MAAM,EAAE;QAIrGC;IAHJ,MAAMC,UAAUJ,IAAIK,OAAO,CAACC,aAAa,CAACC,UAAU,CAACH,OAAO;IAC5D,MAAMD,SAASC,QAAQI,IAAI,CAAC,CAACC,IAAMA,EAAEC,EAAE,IAAIR;IAE3C,IAAIC,EAAAA,eAAAA,OAAOQ,IAAI,cAAXR,mCAAAA,aAAaS,OAAO,KAAI,MAAM;QAC9B,OAAOC,IAAAA,eAAQ,EAAC;IACpB;IAEA,MAAMD,UAAUT,OAAOQ,IAAI,CAAEC,OAAO;IACpC,IAAIE,SAASF,QAAQJ,IAAI,CAAC,CAACO,IAAMA,EAAEL,EAAE,IAAIT,IAAIe,MAAM,CAACC,QAAQ;IAC5D,IAAIH,UAAU,MAAM;QAChB,OAAOD,IAAAA,eAAQ,EAAC;IACpB;IAEA,IAAK,IAAIK,KAAKJ,OAAOK,SAAS,CAAE;QAC5B,IAAIC,MAAMN,OAAOK,SAAS,CAACD,EAAE;QAC7B,IAAIE,IAAIC,QAAQ,EAAE;YACd,IAAIpB,IAAIqB,IAAI,CAACF,IAAIV,EAAE,CAAC,IAAI,MAAM;gBAC1B,OAAOa,IAAAA,iBAAU,EAAC,GAAGH,IAAIV,EAAE,CAAC,YAAY,CAAC;YAC7C;QACJ;IACJ;IAEA,IAAI;QACA,MAAMc,OAAO,MAAMV,OAAOW,OAAO,CAACzB,KAAKC,IAAIqB,IAAI;QAC/C,IAAIE,KAAKE,MAAM,IAAIC,0BAAkB,CAACC,OAAO,EAAE;YAC3C,OAAO;gBACHjB,MAAMa;gBACNE,QAAQ;YACZ;QACJ,OAAO;YACH,OAAOG,IAAAA,0BAAmB,EAACL,KAAKM,KAAK;QACzC;IACJ,EAAE,OAAOC,IAAI;QACTC,QAAQC,GAAG,CAAC;QACZD,QAAQC,GAAG,CAACF;QACZ,OAAOF,IAAAA,0BAAmB;IAC9B;AACJ;MAEA,WAAe9B"}
package/dist/src/index.js CHANGED
@@ -1,69 +1,92 @@
1
1
  "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ Object.defineProperty(exports, "GetManagementModule", {
6
+ enumerable: true,
7
+ get: function() {
8
+ return GetManagementModule;
7
9
  }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
10
  });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
- Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.GetManagementModule = void 0;
27
- var management_api_plugin_1 = require("@flink-app/management-api-plugin");
28
- var flink_1 = require("@flink-app/flink");
29
- var postHandler = __importStar(require("./handlers/PostById"));
30
- var getHandler = __importStar(require("./handlers/Get"));
31
- var GetManagementModule = function (config) {
32
- var _a;
33
- if (config.pluginId == null)
34
- config.pluginId = "managementActionsApi";
35
- var endpoints = [];
11
+ const _managementapiplugin = require("@flink-app/management-api-plugin");
12
+ const _flink = require("@flink-app/flink");
13
+ const _PostById = /*#__PURE__*/ _interop_require_wildcard(require("./handlers/PostById"));
14
+ const _Get = /*#__PURE__*/ _interop_require_wildcard(require("./handlers/Get"));
15
+ function _getRequireWildcardCache(nodeInterop) {
16
+ if (typeof WeakMap !== "function") return null;
17
+ var cacheBabelInterop = new WeakMap();
18
+ var cacheNodeInterop = new WeakMap();
19
+ return (_getRequireWildcardCache = function(nodeInterop) {
20
+ return nodeInterop ? cacheNodeInterop : cacheBabelInterop;
21
+ })(nodeInterop);
22
+ }
23
+ function _interop_require_wildcard(obj, nodeInterop) {
24
+ if (!nodeInterop && obj && obj.__esModule) {
25
+ return obj;
26
+ }
27
+ if (obj === null || typeof obj !== "object" && typeof obj !== "function") {
28
+ return {
29
+ default: obj
30
+ };
31
+ }
32
+ var cache = _getRequireWildcardCache(nodeInterop);
33
+ if (cache && cache.has(obj)) {
34
+ return cache.get(obj);
35
+ }
36
+ var newObj = {
37
+ __proto__: null
38
+ };
39
+ var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
40
+ for(var key in obj){
41
+ if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) {
42
+ var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;
43
+ if (desc && (desc.get || desc.set)) {
44
+ Object.defineProperty(newObj, key, desc);
45
+ } else {
46
+ newObj[key] = obj[key];
47
+ }
48
+ }
49
+ }
50
+ newObj.default = obj;
51
+ if (cache) {
52
+ cache.set(obj, newObj);
53
+ }
54
+ return newObj;
55
+ }
56
+ const GetManagementModule = (config)=>{
57
+ var _config_uiSettings;
58
+ if (config.pluginId == null) config.pluginId = "managementActionsApi";
59
+ let endpoints = [];
36
60
  endpoints.push({
37
61
  routeProps: {
38
62
  path: "/:actionId",
39
- method: flink_1.HttpMethod.post,
40
- origin: config.pluginId,
63
+ method: _flink.HttpMethod.post,
64
+ origin: config.pluginId
41
65
  },
42
- handler: postHandler,
66
+ handler: _PostById
43
67
  });
44
68
  endpoints.push({
45
69
  routeProps: {
46
70
  path: "",
47
- method: flink_1.HttpMethod.get,
48
- origin: config.pluginId,
71
+ method: _flink.HttpMethod.get,
72
+ origin: config.pluginId
49
73
  },
50
- handler: getHandler,
74
+ handler: _Get
51
75
  });
52
- var features = [];
53
- var module = {
76
+ let features = [];
77
+ let module = {
54
78
  id: config.pluginId || "action",
55
79
  uiSettings: {
56
- title: ((_a = config.uiSettings) === null || _a === void 0 ? void 0 : _a.title) || "Actions",
80
+ title: ((_config_uiSettings = config.uiSettings) === null || _config_uiSettings === void 0 ? void 0 : _config_uiSettings.title) || "Actions",
57
81
  icon: "",
58
- features: features,
82
+ features
59
83
  },
60
84
  ui: config.ui,
61
- type: management_api_plugin_1.ManagementApiType.action,
85
+ type: _managementapiplugin.ManagementApiType.action,
62
86
  endpoints: endpoints,
63
87
  data: {
64
- actions: config.actions,
65
- },
88
+ actions: config.actions
89
+ }
66
90
  };
67
91
  return module;
68
92
  };
69
- exports.GetManagementModule = GetManagementModule;
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["/Users/joel/projects/flink/flink-framework/packages/management-actions-plugin/src/index.ts"],"sourcesContent":["import { ManagementApiModule, ManagementApiType } from \"@flink-app/management-api-plugin\";\nimport { HttpMethod } from \"@flink-app/flink\";\nimport * as postHandler from \"./handlers/PostById\";\nimport * as getHandler from \"./handlers/Get\";\nimport { Action } from \"./schemas/Action\";\n\nexport interface GetManagementModuleConfig {\n pluginId?: string;\n ui: boolean;\n uiSettings?: {\n title: string;\n };\n actions: Action[];\n}\n\nexport const GetManagementModule = (config: GetManagementModuleConfig): ManagementApiModule => {\n if (config.pluginId == null) config.pluginId = \"managementActionsApi\";\n\n let endpoints: ManagementApiModule[\"endpoints\"] = [];\n endpoints.push({\n routeProps: {\n path: \"/:actionId\",\n method: HttpMethod.post,\n origin: config.pluginId,\n },\n handler: postHandler,\n });\n\n endpoints.push({\n routeProps: {\n path: \"\",\n method: HttpMethod.get,\n origin: config.pluginId,\n },\n handler: getHandler,\n });\n\n let features: string[] = [];\n\n let module: ManagementApiModule = {\n id: config.pluginId || \"action\",\n uiSettings: {\n title: config.uiSettings?.title || \"Actions\",\n icon: \"\",\n features,\n },\n ui: config.ui,\n type: ManagementApiType.action,\n endpoints: endpoints,\n data: {\n actions: config.actions,\n },\n };\n\n return module;\n};\n"],"names":["GetManagementModule","config","pluginId","endpoints","push","routeProps","path","method","HttpMethod","post","origin","handler","postHandler","get","getHandler","features","module","id","uiSettings","title","icon","ui","type","ManagementApiType","action","data","actions"],"mappings":";;;;+BAeaA;;;eAAAA;;;qCAf0C;uBAC5B;kEACE;6DACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAYrB,MAAMA,sBAAsB,CAACC;QA2BjBA;IA1Bf,IAAIA,OAAOC,QAAQ,IAAI,MAAMD,OAAOC,QAAQ,GAAG;IAE/C,IAAIC,YAA8C,EAAE;IACpDA,UAAUC,IAAI,CAAC;QACXC,YAAY;YACRC,MAAM;YACNC,QAAQC,iBAAU,CAACC,IAAI;YACvBC,QAAQT,OAAOC,QAAQ;QAC3B;QACAS,SAASC;IACb;IAEAT,UAAUC,IAAI,CAAC;QACXC,YAAY;YACRC,MAAM;YACNC,QAAQC,iBAAU,CAACK,GAAG;YACtBH,QAAQT,OAAOC,QAAQ;QAC3B;QACAS,SAASG;IACb;IAEA,IAAIC,WAAqB,EAAE;IAE3B,IAAIC,SAA8B;QAC9BC,IAAIhB,OAAOC,QAAQ,IAAI;QACvBgB,YAAY;YACRC,OAAOlB,EAAAA,qBAAAA,OAAOiB,UAAU,cAAjBjB,yCAAAA,mBAAmBkB,KAAK,KAAI;YACnCC,MAAM;YACNL;QACJ;QACAM,IAAIpB,OAAOoB,EAAE;QACbC,MAAMC,sCAAiB,CAACC,MAAM;QAC9BrB,WAAWA;QACXsB,MAAM;YACFC,SAASzB,OAAOyB,OAAO;QAC3B;IACJ;IAEA,OAAOV;AACX"}
@@ -1,12 +1,27 @@
1
1
  "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ActionArugmentType = exports.ActionReturnStatus = void 0;
4
- var ActionReturnStatus;
5
- (function (ActionReturnStatus) {
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ function _export(target, all) {
6
+ for(var name in all)Object.defineProperty(target, name, {
7
+ enumerable: true,
8
+ get: Object.getOwnPropertyDescriptor(all, name).get
9
+ });
10
+ }
11
+ _export(exports, {
12
+ get ActionArugmentType () {
13
+ return ActionArugmentType;
14
+ },
15
+ get ActionReturnStatus () {
16
+ return ActionReturnStatus;
17
+ }
18
+ });
19
+ var ActionReturnStatus = /*#__PURE__*/ function(ActionReturnStatus) {
6
20
  ActionReturnStatus["success"] = "SUCCESS";
7
21
  ActionReturnStatus["error"] = "ERROR";
8
- })(ActionReturnStatus || (exports.ActionReturnStatus = ActionReturnStatus = {}));
9
- var ActionArugmentType;
10
- (function (ActionArugmentType) {
22
+ return ActionReturnStatus;
23
+ }({});
24
+ var ActionArugmentType = /*#__PURE__*/ function(ActionArugmentType) {
11
25
  ActionArugmentType["text"] = "TEXT";
12
- })(ActionArugmentType || (exports.ActionArugmentType = ActionArugmentType = {}));
26
+ return ActionArugmentType;
27
+ }({});
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["/Users/joel/projects/flink/flink-framework/packages/management-actions-plugin/src/schemas/Action.ts"],"sourcesContent":["import { badRequest, conflict, FlinkContext, Handler, internalServerError } from \"@flink-app/flink\";\nexport interface Action {\n id: string;\n description?: string;\n arguments: ActionArguments[];\n handler(ctx: FlinkContext<any>, args: ActionArgumentsValues): Promise<ActionResponse>;\n}\nexport interface ActionArgumentsValues {\n [key: string]: any;\n}\n\nexport interface ActionResponse {\n status: ActionReturnStatus;\n error?: string;\n data?: {\n [key: string]: any;\n };\n}\n\nexport enum ActionReturnStatus {\n success = \"SUCCESS\",\n error = \"ERROR\",\n}\n\nexport interface ActionArguments {\n id: string;\n required: boolean;\n type: ActionArugmentType;\n default?: string;\n}\n\nexport enum ActionArugmentType {\n text = \"TEXT\",\n}\n\nexport interface ActionView {\n id: string;\n description?: string;\n arguments: ActionArguments[];\n}\n"],"names":["ActionArugmentType","ActionReturnStatus"],"mappings":";;;;;;;;;;;QA+BYA;eAAAA;;QAZAC;eAAAA;;;AAAL,IAAA,AAAKA,4CAAAA;;;WAAAA;;AAYL,IAAA,AAAKD,4CAAAA;;WAAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flink-app/management-actions-plugin",
3
- "version": "2.0.0-alpha.56",
3
+ "version": "2.0.0-alpha.58",
4
4
  "description": "Flink plugin that makes it possible create actions that can be run trought the management-api",
5
5
  "author": "johan@frost.se",
6
6
  "publishConfig": {
@@ -11,8 +11,8 @@
11
11
  "main": "dist/index.js",
12
12
  "dependencies": {
13
13
  "node-color-log": "^5.3.1",
14
- "@flink-app/flink": "2.0.0-alpha.56",
15
- "@flink-app/management-api-plugin": "2.0.0-alpha.56"
14
+ "@flink-app/flink": "2.0.0-alpha.58",
15
+ "@flink-app/management-api-plugin": "2.0.0-alpha.58"
16
16
  },
17
17
  "devDependencies": {
18
18
  "@types/node": "22.13.10",
@@ -20,7 +20,7 @@
20
20
  },
21
21
  "gitHead": "4243e3b3cd6d4e1ca001a61baa8436bf2bbe4113",
22
22
  "peerDependencies": {
23
- "@flink-app/flink": ">=2.0.0-alpha.56"
23
+ "@flink-app/flink": ">=2.0.0-alpha.58"
24
24
  },
25
25
  "scripts": {
26
26
  "test": "echo \"Error: no test specified\"",
@@ -1 +0,0 @@
1
- // Generated Sun Feb 15 2026 09:57:15 GMT+0100 (Central European Standard Time)