@flink-app/management-api-plugin 2.0.0-alpha.50 → 2.0.0-alpha.52
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/.flink/generatedAgents.ts +1 -1
- package/.flink/generatedHandlers.ts +9 -9
- package/.flink/generatedJobs.ts +1 -1
- package/.flink/generatedRepos.ts +1 -1
- package/.flink/generatedTools.ts +1 -1
- package/.flink/schemas/schemas.ts +1 -1
- package/.flink/start.ts +1 -1
- package/CHANGELOG.md +32 -0
- package/dist/.flink/generatedAgents.js +1 -1
- package/dist/.flink/generatedHandlers.d.ts +10 -10
- package/dist/.flink/generatedHandlers.js +7 -7
- package/dist/.flink/generatedJobs.js +1 -1
- package/dist/.flink/generatedRepos.js +1 -1
- package/dist/.flink/generatedTools.js +1 -1
- package/dist/.flink/start.js +1 -1
- package/package.json +5 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated
|
|
1
|
+
// Generated Thu Feb 12 2026 20:37:27 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,14 +1,14 @@
|
|
|
1
|
-
// Generated
|
|
1
|
+
// Generated Thu Feb 12 2026 20:37:26 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
|
-
import * as
|
|
5
|
-
import * as
|
|
6
|
-
import * as
|
|
7
|
-
import * as
|
|
8
|
-
import * as
|
|
9
|
-
import * as
|
|
10
|
-
import * as
|
|
4
|
+
import * as DeleteByUserid_1 from "../src/handlers/User/DeleteByUserid";
|
|
5
|
+
import * as GetByUserid_2 from "../src/handlers/User/GetByUserid";
|
|
6
|
+
import * as GetList_3 from "../src/handlers/User/GetList";
|
|
7
|
+
import * as GetMe_4 from "../src/handlers/User/GetMe";
|
|
8
|
+
import * as Post_5 from "../src/handlers/User/Post";
|
|
9
|
+
import * as PostLogin_6 from "../src/handlers/User/PostLogin";
|
|
10
|
+
import * as PutByUserid_7 from "../src/handlers/User/PutByUserid";
|
|
11
11
|
|
|
12
|
-
export const handlers = [{handler:
|
|
12
|
+
export const handlers = [{handler: DeleteByUserid_1, assumedHttpMethod: HttpMethod.delete}, {handler: GetByUserid_2, assumedHttpMethod: HttpMethod.get}, {handler: Post_5, assumedHttpMethod: HttpMethod.post}, {handler: PostLogin_6, assumedHttpMethod: HttpMethod.post}, {handler: PutByUserid_7, assumedHttpMethod: HttpMethod.put}];
|
|
13
13
|
autoRegisteredHandlers.push(...handlers);
|
|
14
14
|
|
package/.flink/generatedJobs.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated
|
|
1
|
+
// Generated Thu Feb 12 2026 20:37:27 GMT+0100 (Central European Standard Time)
|
|
2
2
|
import { autoRegisteredJobs } from "@flink-app/flink";
|
|
3
3
|
export const jobs = [];
|
|
4
4
|
autoRegisteredJobs.push(...jobs);
|
package/.flink/generatedRepos.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated
|
|
1
|
+
// Generated Thu Feb 12 2026 20:37:26 GMT+0100 (Central European Standard Time)
|
|
2
2
|
import { autoRegisteredRepos } from "@flink-app/flink";
|
|
3
3
|
import ManagementUserRepo from "../src/repos/ManagementUserRepo";
|
|
4
4
|
|
package/.flink/generatedTools.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated
|
|
1
|
+
// Generated Thu Feb 12 2026 20:37:27 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
|
|
12
|
+
// Generated Thu Feb 12 2026 20:37:27 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
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,37 @@
|
|
|
1
1
|
# @flink-app/management-api-plugin
|
|
2
2
|
|
|
3
|
+
## 2.0.0-alpha.52
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [fe9f8f2]
|
|
8
|
+
- @flink-app/flink@2.0.0-alpha.52
|
|
9
|
+
|
|
10
|
+
## 2.0.0-alpha.51
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- fix: add peerDependencies to all plugins and adapters
|
|
15
|
+
|
|
16
|
+
**Breaking Change Prevention:**
|
|
17
|
+
|
|
18
|
+
- Added "@flink-app/flink": ">=2.0.0-alpha.0" as peerDependency to all plugins
|
|
19
|
+
- Fixed oidc-plugin peerDependencies from "workspace:\*" to proper version ranges
|
|
20
|
+
- Fixed oauth-plugin to include @flink-app/flink peerDependency
|
|
21
|
+
|
|
22
|
+
**JWT Auth Plugin Interface Fix:**
|
|
23
|
+
|
|
24
|
+
- Removed redundant createToken declaration from JwtAuthPlugin interface
|
|
25
|
+
- The method is already inherited from FlinkAuthPlugin, this fixes TypeScript type checking issues
|
|
26
|
+
|
|
27
|
+
**Why this matters:**
|
|
28
|
+
|
|
29
|
+
- Ensures only one version of @flink-app/flink exists in node_modules
|
|
30
|
+
- Prevents type conflicts when TypeScript resolves interfaces across packages
|
|
31
|
+
- Follows standard plugin architecture best practices (same pattern as React, Webpack, etc.)
|
|
32
|
+
- Package managers now warn if incompatible versions are installed
|
|
33
|
+
- @flink-app/flink@2.0.0-alpha.51
|
|
34
|
+
|
|
3
35
|
## 2.0.0-alpha.50
|
|
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
|
|
4
|
+
// Generated Thu Feb 12 2026 20:37:27 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);
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { HttpMethod } from "@flink-app/flink";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
5
|
-
import * as
|
|
6
|
-
import * as
|
|
2
|
+
import * as DeleteByUserid_1 from "../src/handlers/User/DeleteByUserid";
|
|
3
|
+
import * as GetByUserid_2 from "../src/handlers/User/GetByUserid";
|
|
4
|
+
import * as Post_5 from "../src/handlers/User/Post";
|
|
5
|
+
import * as PostLogin_6 from "../src/handlers/User/PostLogin";
|
|
6
|
+
import * as PutByUserid_7 from "../src/handlers/User/PutByUserid";
|
|
7
7
|
export declare const handlers: ({
|
|
8
|
-
handler: typeof
|
|
8
|
+
handler: typeof DeleteByUserid_1;
|
|
9
9
|
assumedHttpMethod: HttpMethod;
|
|
10
10
|
} | {
|
|
11
|
-
handler: typeof
|
|
11
|
+
handler: typeof GetByUserid_2;
|
|
12
12
|
assumedHttpMethod: HttpMethod;
|
|
13
13
|
} | {
|
|
14
|
-
handler: typeof
|
|
14
|
+
handler: typeof Post_5;
|
|
15
15
|
assumedHttpMethod: HttpMethod;
|
|
16
16
|
} | {
|
|
17
|
-
handler: typeof
|
|
17
|
+
handler: typeof PostLogin_6;
|
|
18
18
|
assumedHttpMethod: HttpMethod;
|
|
19
19
|
} | {
|
|
20
|
-
handler: typeof
|
|
20
|
+
handler: typeof PutByUserid_7;
|
|
21
21
|
assumedHttpMethod: HttpMethod;
|
|
22
22
|
})[];
|
|
@@ -24,12 +24,12 @@ 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
|
|
27
|
+
// Generated Thu Feb 12 2026 20:37:26 GMT+0100 (Central European Standard Time)
|
|
28
28
|
var flink_1 = require("@flink-app/flink");
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
34
|
-
exports.handlers = [{ handler:
|
|
29
|
+
var DeleteByUserid_1 = __importStar(require("../src/handlers/User/DeleteByUserid"));
|
|
30
|
+
var GetByUserid_2 = __importStar(require("../src/handlers/User/GetByUserid"));
|
|
31
|
+
var Post_5 = __importStar(require("../src/handlers/User/Post"));
|
|
32
|
+
var PostLogin_6 = __importStar(require("../src/handlers/User/PostLogin"));
|
|
33
|
+
var PutByUserid_7 = __importStar(require("../src/handlers/User/PutByUserid"));
|
|
34
|
+
exports.handlers = [{ handler: DeleteByUserid_1, assumedHttpMethod: flink_1.HttpMethod.delete }, { handler: GetByUserid_2, assumedHttpMethod: flink_1.HttpMethod.get }, { handler: Post_5, assumedHttpMethod: flink_1.HttpMethod.post }, { handler: PostLogin_6, assumedHttpMethod: flink_1.HttpMethod.post }, { handler: PutByUserid_7, assumedHttpMethod: flink_1.HttpMethod.put }];
|
|
35
35
|
flink_1.autoRegisteredHandlers.push.apply(flink_1.autoRegisteredHandlers, exports.handlers);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.jobs = void 0;
|
|
4
|
-
// Generated
|
|
4
|
+
// Generated Thu Feb 12 2026 20:37:27 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
|
|
7
|
+
// Generated Thu Feb 12 2026 20:37:26 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
|
|
4
|
+
// Generated Thu Feb 12 2026 20:37:27 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);
|
package/dist/.flink/start.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
// Generated
|
|
3
|
+
// Generated Thu Feb 12 2026 20:37:27 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.
|
|
3
|
+
"version": "2.0.0-alpha.52",
|
|
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.
|
|
15
|
+
"@flink-app/flink": "2.0.0-alpha.52"
|
|
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.52"
|
|
27
|
+
},
|
|
25
28
|
"scripts": {
|
|
26
29
|
"test": "echo \"Error: no test specified\"",
|
|
27
30
|
"build": "flink build",
|