@flink-app/management-api-plugin 2.0.0-alpha.49 → 2.0.0-alpha.51

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 Tue Feb 10 2026 22:29:44 GMT+0100 (Central European Standard Time)
1
+ // Generated Thu Feb 12 2026 19:49:43 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 Tue Feb 10 2026 22:29:44 GMT+0100 (Central European Standard Time)
1
+ // Generated Thu Feb 12 2026 19:49:43 GMT+0100 (Central European Standard Time)
2
2
  import { autoRegisteredHandlers, HttpMethod } from "@flink-app/flink";
3
3
  import * as GetManagement_0 from "../src/handlers/Management/GetManagement";
4
4
  import * as DeleteByUserid_0 from "../src/handlers/User/DeleteByUserid";
@@ -1,4 +1,4 @@
1
- // Generated Tue Feb 10 2026 22:29:44 GMT+0100 (Central European Standard Time)
1
+ // Generated Thu Feb 12 2026 19:49:43 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 Tue Feb 10 2026 22:29:44 GMT+0100 (Central European Standard Time)
1
+ // Generated Thu Feb 12 2026 19:49:43 GMT+0100 (Central European Standard Time)
2
2
  import { autoRegisteredRepos } from "@flink-app/flink";
3
3
  import ManagementUserRepo from "../src/repos/ManagementUserRepo";
4
4
 
@@ -1,4 +1,4 @@
1
- // Generated Tue Feb 10 2026 22:29:44 GMT+0100 (Central European Standard Time)
1
+ // Generated Thu Feb 12 2026 19:49:43 GMT+0100 (Central European Standard Time)
2
2
  import { autoRegisteredTools } from "@flink-app/flink";
3
3
  export const tools = [];
4
4
  autoRegisteredTools.push(...tools);
@@ -9,7 +9,7 @@ import { PostUserLoginRes } from "../../src/schemas/User/PostLoginRes";
9
9
  import { PutUserByUseridReq } from "../../src/schemas/User/PutByUseridReq";
10
10
  import { PutUserByUseridRes } from "../../src/schemas/User/PutByUseridRes";
11
11
 
12
- // Generated Tue Feb 10 2026 22:29:45 GMT+0100 (Central European Standard Time)
12
+ // Generated Thu Feb 12 2026 19:49:44 GMT+0100 (Central European Standard Time)
13
13
  export interface DeleteByUserid_15_ReqSchema extends DeleteUserByUseridReq {}
14
14
 
15
15
  export interface DeleteByUserid_15_ResSchema extends DeleteUserByUseridRes {}
package/.flink/start.ts CHANGED
@@ -1,4 +1,4 @@
1
- // Generated Tue Feb 10 2026 22:29:44 GMT+0100 (Central European Standard Time)
1
+ // Generated Thu Feb 12 2026 19:49:43 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,37 @@
1
1
  # @flink-app/management-api-plugin
2
2
 
3
+ ## 2.0.0-alpha.51
4
+
5
+ ### Patch Changes
6
+
7
+ - fix: add peerDependencies to all plugins and adapters
8
+
9
+ **Breaking Change Prevention:**
10
+
11
+ - Added "@flink-app/flink": ">=2.0.0-alpha.0" as peerDependency to all plugins
12
+ - Fixed oidc-plugin peerDependencies from "workspace:\*" to proper version ranges
13
+ - Fixed oauth-plugin to include @flink-app/flink peerDependency
14
+
15
+ **JWT Auth Plugin Interface Fix:**
16
+
17
+ - Removed redundant createToken declaration from JwtAuthPlugin interface
18
+ - The method is already inherited from FlinkAuthPlugin, this fixes TypeScript type checking issues
19
+
20
+ **Why this matters:**
21
+
22
+ - Ensures only one version of @flink-app/flink exists in node_modules
23
+ - Prevents type conflicts when TypeScript resolves interfaces across packages
24
+ - Follows standard plugin architecture best practices (same pattern as React, Webpack, etc.)
25
+ - Package managers now warn if incompatible versions are installed
26
+ - @flink-app/flink@2.0.0-alpha.51
27
+
28
+ ## 2.0.0-alpha.50
29
+
30
+ ### Patch Changes
31
+
32
+ - Updated dependencies
33
+ - @flink-app/flink@2.0.0-alpha.50
34
+
3
35
  ## 2.0.0-alpha.49
4
36
 
5
37
  ### Patch Changes
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.agents = void 0;
4
- // Generated Tue Feb 10 2026 22:29:44 GMT+0100 (Central European Standard Time)
4
+ // Generated Thu Feb 12 2026 19:49:43 GMT+0100 (Central European Standard Time)
5
5
  var flink_1 = require("@flink-app/flink");
6
6
  exports.agents = [];
7
7
  flink_1.autoRegisteredAgents.push.apply(flink_1.autoRegisteredAgents, exports.agents);
@@ -24,7 +24,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.handlers = void 0;
27
- // Generated Tue Feb 10 2026 22:29:44 GMT+0100 (Central European Standard Time)
27
+ // Generated Thu Feb 12 2026 19:49:43 GMT+0100 (Central European Standard Time)
28
28
  var flink_1 = require("@flink-app/flink");
29
29
  var DeleteByUserid_0 = __importStar(require("../src/handlers/User/DeleteByUserid"));
30
30
  var GetByUserid_1 = __importStar(require("../src/handlers/User/GetByUserid"));
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.jobs = void 0;
4
- // Generated Tue Feb 10 2026 22:29:44 GMT+0100 (Central European Standard Time)
4
+ // Generated Thu Feb 12 2026 19:49:43 GMT+0100 (Central European Standard Time)
5
5
  var flink_1 = require("@flink-app/flink");
6
6
  exports.jobs = [];
7
7
  flink_1.autoRegisteredJobs.push.apply(flink_1.autoRegisteredJobs, exports.jobs);
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.repos = void 0;
7
- // Generated Tue Feb 10 2026 22:29:44 GMT+0100 (Central European Standard Time)
7
+ // Generated Thu Feb 12 2026 19:49:43 GMT+0100 (Central European Standard Time)
8
8
  var flink_1 = require("@flink-app/flink");
9
9
  var ManagementUserRepo_1 = __importDefault(require("../src/repos/ManagementUserRepo"));
10
10
  exports.repos = [{ collectionName: "managementuser", repoInstanceName: "managementUserRepo", Repo: ManagementUserRepo_1.default }];
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.tools = void 0;
4
- // Generated Tue Feb 10 2026 22:29:44 GMT+0100 (Central European Standard Time)
4
+ // Generated Thu Feb 12 2026 19:49:43 GMT+0100 (Central European Standard Time)
5
5
  var flink_1 = require("@flink-app/flink");
6
6
  exports.tools = [];
7
7
  flink_1.autoRegisteredTools.push.apply(flink_1.autoRegisteredTools, exports.tools);
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- // Generated Tue Feb 10 2026 22:29:44 GMT+0100 (Central European Standard Time)
3
+ // Generated Thu Feb 12 2026 19:49:43 GMT+0100 (Central European Standard Time)
4
4
  require("./generatedHandlers");
5
5
  require("./generatedRepos");
6
6
  require("./generatedTools");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flink-app/management-api-plugin",
3
- "version": "2.0.0-alpha.49",
3
+ "version": "2.0.0-alpha.51",
4
4
  "description": "Flink plugin that makes it possible to expose management api:s for other plugins",
5
5
  "author": "johan@frost.se",
6
6
  "publishConfig": {
@@ -12,7 +12,7 @@
12
12
  "dependencies": {
13
13
  "bcrypt": "^5.0.1",
14
14
  "jsonwebtoken": "^8.5.1",
15
- "@flink-app/flink": "2.0.0-alpha.49"
15
+ "@flink-app/flink": "2.0.0-alpha.51"
16
16
  },
17
17
  "devDependencies": {
18
18
  "@types/bcrypt": "^5.0.0",
@@ -22,6 +22,9 @@
22
22
  "ts-node": "^10.9.2"
23
23
  },
24
24
  "gitHead": "4243e3b3cd6d4e1ca001a61baa8436bf2bbe4113",
25
+ "peerDependencies": {
26
+ "@flink-app/flink": ">=2.0.0-alpha.51"
27
+ },
25
28
  "scripts": {
26
29
  "test": "echo \"Error: no test specified\"",
27
30
  "build": "flink build",