@flink-app/management-api-plugin 0.12.1-alpha.10 → 0.12.1-alpha.11

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 Sat Apr 12 2025 12:51:03 GMT+0200 (Central European Summer Time)
1
+ // Generated Sat Apr 12 2025 13:10:38 GMT+0200 (Central European Summer 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 Sat Apr 12 2025 12:51:03 GMT+0200 (Central European Summer Time)
1
+ // Generated Sat Apr 12 2025 13:10:38 GMT+0200 (Central European Summer 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 Sat Apr 12 2025 12:51:03 GMT+0200 (Central European Summer Time)
1
+ // Generated Sat Apr 12 2025 13:10:38 GMT+0200 (Central European Summer Time)
2
2
  import { autoRegisteredRepos } from "@flink-app/flink";
3
3
  import ManagementUserRepo from "../src/repos/ManagementUserRepo";
4
4
 
@@ -15,7 +15,7 @@ import { PostUserLoginRes } from "../../src/schemas/User/PostLoginRes";
15
15
  import { PutUserByUseridReq } from "../../src/schemas/User/PutByUseridReq";
16
16
  import { PutUserByUseridRes } from "../../src/schemas/User/PutByUseridRes";
17
17
 
18
- // Generated Sat Apr 12 2025 12:51:04 GMT+0200 (Central European Summer Time)
18
+ // Generated Sat Apr 12 2025 13:10:38 GMT+0200 (Central European Summer Time)
19
19
  export interface GetManagement_6_ReqSchema extends GetManagementReq {}
20
20
 
21
21
  export interface GetManagement_6_ResSchema extends GetManagementRes {}
package/.flink/start.ts CHANGED
@@ -1,4 +1,4 @@
1
- // Generated Sat Apr 12 2025 12:51:03 GMT+0200 (Central European Summer Time)
1
+ // Generated Sat Apr 12 2025 13:10:38 GMT+0200 (Central European Summer Time)
2
2
  import "./generatedHandlers";
3
3
  import "./generatedRepos";
4
4
  import "./generatedJobs";
@@ -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 Sat Apr 12 2025 12:51:03 GMT+0200 (Central European Summer Time)
27
+ // Generated Sat Apr 12 2025 13:10:38 GMT+0200 (Central European Summer 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 Sat Apr 12 2025 12:51:03 GMT+0200 (Central European Summer Time)
4
+ // Generated Sat Apr 12 2025 13:10:38 GMT+0200 (Central European Summer 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 Sat Apr 12 2025 12:51:03 GMT+0200 (Central European Summer Time)
7
+ // Generated Sat Apr 12 2025 13:10:38 GMT+0200 (Central European Summer 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,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- // Generated Sat Apr 12 2025 12:51:03 GMT+0200 (Central European Summer Time)
3
+ // Generated Sat Apr 12 2025 13:10:38 GMT+0200 (Central European Summer Time)
4
4
  require("./generatedHandlers");
5
5
  require("./generatedRepos");
6
6
  require("./generatedJobs");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flink-app/management-api-plugin",
3
- "version": "0.12.1-alpha.10",
3
+ "version": "0.12.1-alpha.11",
4
4
  "description": "Flink plugin that makes it possible to expose management api:s for other plugins",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\"",
@@ -21,7 +21,7 @@
21
21
  "jsonwebtoken": "^8.5.1"
22
22
  },
23
23
  "devDependencies": {
24
- "@flink-app/flink": "^0.12.1-alpha.10",
24
+ "@flink-app/flink": "^0.12.1-alpha.11",
25
25
  "@types/bcrypt": "^5.0.0",
26
26
  "@types/express": "4.17.11",
27
27
  "@types/express-fileupload": "^1.1.7",
@@ -30,5 +30,5 @@
30
30
  "ts-node": "^9.1.1",
31
31
  "typescript": "5.4.5"
32
32
  },
33
- "gitHead": "d4019c3af70673f27db4df55d56ba3728e75745e"
33
+ "gitHead": "6b7899a0742e15545b7395c65da83b58afc7cfaf"
34
34
  }
@@ -1,297 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "$ref": "#/definitions/Schemas",
4
- "definitions": {
5
- "ManagementUser": {
6
- "type": "object",
7
- "properties": {
8
- "_id": {
9
- "type": "string"
10
- },
11
- "username": {
12
- "type": "string"
13
- },
14
- "password": {
15
- "type": "string"
16
- },
17
- "salt": {
18
- "type": "string"
19
- }
20
- },
21
- "required": [
22
- "_id",
23
- "username",
24
- "password",
25
- "salt"
26
- ],
27
- "additionalProperties": false
28
- },
29
- "ManagementUserViewModel": {
30
- "type": "object",
31
- "additionalProperties": false,
32
- "properties": {
33
- "_id": {
34
- "type": "string"
35
- },
36
- "username": {
37
- "type": "string"
38
- }
39
- },
40
- "required": [
41
- "_id",
42
- "username"
43
- ]
44
- },
45
- "ModuleList": {
46
- "type": "object",
47
- "properties": {
48
- "modules": {
49
- "type": "array",
50
- "items": {
51
- "$ref": "#/definitions/Module"
52
- }
53
- }
54
- },
55
- "required": [
56
- "modules"
57
- ],
58
- "additionalProperties": false
59
- },
60
- "Module": {
61
- "type": "object",
62
- "properties": {
63
- "id": {
64
- "type": "string"
65
- },
66
- "type": {
67
- "type": "string"
68
- },
69
- "features": {
70
- "type": "array",
71
- "items": {
72
- "type": "string"
73
- }
74
- },
75
- "title": {
76
- "type": "string"
77
- },
78
- "ui": {
79
- "type": "string"
80
- },
81
- "data": {
82
- "type": "object"
83
- },
84
- "endpoints": {
85
- "type": "array",
86
- "items": {
87
- "$ref": "#/definitions/ModuleEndpoint"
88
- }
89
- }
90
- },
91
- "required": [
92
- "id",
93
- "type",
94
- "features",
95
- "title",
96
- "ui",
97
- "data",
98
- "endpoints"
99
- ],
100
- "additionalProperties": false
101
- },
102
- "ModuleEndpoint": {
103
- "type": "object",
104
- "properties": {
105
- "method": {
106
- "type": "string"
107
- },
108
- "url": {
109
- "type": "string"
110
- }
111
- },
112
- "required": [
113
- "method",
114
- "url"
115
- ],
116
- "additionalProperties": false
117
- },
118
- "GetManagementReq": {
119
- "type": "object",
120
- "additionalProperties": false
121
- },
122
- "GetManagementRes": {
123
- "type": "object",
124
- "additionalProperties": false,
125
- "properties": {
126
- "modules": {
127
- "type": "array",
128
- "items": {
129
- "$ref": "#/definitions/Module"
130
- }
131
- }
132
- },
133
- "required": [
134
- "modules"
135
- ]
136
- },
137
- "DeleteUserByUseridReq": {
138
- "type": "object",
139
- "additionalProperties": false
140
- },
141
- "DeleteUserByUseridRes": {
142
- "type": "object",
143
- "additionalProperties": false
144
- },
145
- "GetUserByUseridReq": {
146
- "type": "object",
147
- "additionalProperties": false
148
- },
149
- "GetUserByUseridRes": {
150
- "type": "object",
151
- "additionalProperties": false,
152
- "properties": {
153
- "_id": {
154
- "type": "string"
155
- },
156
- "username": {
157
- "type": "string"
158
- }
159
- },
160
- "required": [
161
- "_id",
162
- "username"
163
- ]
164
- },
165
- "GetUserListReq": {
166
- "type": "object",
167
- "additionalProperties": false
168
- },
169
- "GetUserListRes": {
170
- "type": "object",
171
- "properties": {
172
- "users": {
173
- "type": "array",
174
- "items": {
175
- "$ref": "#/definitions/ManagementUserViewModel"
176
- }
177
- }
178
- },
179
- "required": [
180
- "users"
181
- ],
182
- "additionalProperties": false
183
- },
184
- "GetUserMeReq": {
185
- "type": "object",
186
- "additionalProperties": false
187
- },
188
- "GetUserMeRes": {
189
- "type": "object",
190
- "additionalProperties": false,
191
- "properties": {
192
- "user": {
193
- "$ref": "#/definitions/ManagementUserViewModel"
194
- },
195
- "token": {
196
- "type": "string"
197
- }
198
- },
199
- "required": [
200
- "token",
201
- "user"
202
- ]
203
- },
204
- "PostUserLoginReq": {
205
- "type": "object",
206
- "properties": {
207
- "username": {
208
- "type": "string"
209
- },
210
- "password": {
211
- "type": "string"
212
- }
213
- },
214
- "required": [
215
- "username",
216
- "password"
217
- ],
218
- "additionalProperties": false
219
- },
220
- "PostUserLoginRes": {
221
- "type": "object",
222
- "properties": {
223
- "user": {
224
- "$ref": "#/definitions/ManagementUserViewModel"
225
- },
226
- "token": {
227
- "type": "string"
228
- }
229
- },
230
- "required": [
231
- "user",
232
- "token"
233
- ],
234
- "additionalProperties": false
235
- },
236
- "PostUserReq": {
237
- "type": "object",
238
- "additionalProperties": false,
239
- "properties": {
240
- "username": {
241
- "type": "string"
242
- },
243
- "password": {
244
- "type": "string"
245
- }
246
- },
247
- "required": [
248
- "password",
249
- "username"
250
- ]
251
- },
252
- "PostUserRes": {
253
- "type": "object",
254
- "additionalProperties": false,
255
- "properties": {
256
- "_id": {
257
- "type": "string"
258
- },
259
- "username": {
260
- "type": "string"
261
- }
262
- },
263
- "required": [
264
- "_id",
265
- "username"
266
- ]
267
- },
268
- "PutUserByUseridReq": {
269
- "type": "object",
270
- "additionalProperties": false,
271
- "properties": {
272
- "username": {
273
- "type": "string"
274
- },
275
- "password": {
276
- "type": "string"
277
- }
278
- }
279
- },
280
- "PutUserByUseridRes": {
281
- "type": "object",
282
- "additionalProperties": false,
283
- "properties": {
284
- "_id": {
285
- "type": "string"
286
- },
287
- "username": {
288
- "type": "string"
289
- }
290
- },
291
- "required": [
292
- "_id",
293
- "username"
294
- ]
295
- }
296
- }
297
- }