@flink-app/management-api-plugin 0.4.5 → 0.4.7

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 Mon Feb 13 2023 19:17:37 GMT+0100 (Central European Standard Time)
1
+ // Generated Sat Feb 25 2023 22:17:22 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 Mon Feb 13 2023 19:17:37 GMT+0100 (Central European Standard Time)
1
+ // Generated Sat Feb 25 2023 22:17:22 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 Mon Feb 13 2023 19:17:37 GMT+0100 (Central European Standard Time)
1
+ // Generated Sat Feb 25 2023 22:17:22 GMT+0100 (Central European Standard Time)
2
2
  import { autoRegisteredRepos } from "@flink-app/flink";
3
3
  import ManagementUserRepo from "../src/repos/ManagementUserRepo";
4
4
 
@@ -3,99 +3,104 @@
3
3
  "$ref": "#/definitions/Schemas",
4
4
  "definitions": {
5
5
  "GetManagement_9_ReqSchema": {
6
+ "$schema": "http://json-schema.org/draft-07/schema#",
6
7
  "type": "object",
7
8
  "additionalProperties": false,
8
- "properties": {}
9
+ "properties": {},
10
+ "definitions": {}
9
11
  },
10
12
  "GetManagement_9_ResSchema": {
13
+ "$schema": "http://json-schema.org/draft-07/schema#",
11
14
  "type": "object",
12
15
  "additionalProperties": false,
13
16
  "properties": {
14
17
  "modules": {
15
18
  "type": "array",
16
19
  "items": {
17
- "$ref": "#/definitions/Module"
20
+ "type": "object",
21
+ "properties": {
22
+ "id": {
23
+ "type": "string"
24
+ },
25
+ "type": {
26
+ "type": "string"
27
+ },
28
+ "features": {
29
+ "type": "array",
30
+ "items": {
31
+ "type": "string"
32
+ }
33
+ },
34
+ "title": {
35
+ "type": "string"
36
+ },
37
+ "ui": {
38
+ "type": "string"
39
+ },
40
+ "data": {
41
+ "type": "object"
42
+ },
43
+ "endpoints": {
44
+ "type": "array",
45
+ "items": {
46
+ "type": "object",
47
+ "properties": {
48
+ "method": {
49
+ "type": "string"
50
+ },
51
+ "url": {
52
+ "type": "string"
53
+ }
54
+ },
55
+ "required": [
56
+ "method",
57
+ "url"
58
+ ],
59
+ "additionalProperties": false
60
+ }
61
+ }
62
+ },
63
+ "required": [
64
+ "id",
65
+ "type",
66
+ "features",
67
+ "title",
68
+ "ui",
69
+ "data",
70
+ "endpoints"
71
+ ],
72
+ "additionalProperties": false
18
73
  }
19
74
  }
20
75
  },
21
76
  "required": [
22
77
  "modules"
23
- ]
24
- },
25
- "Module": {
26
- "type": "object",
27
- "properties": {
28
- "id": {
29
- "type": "string"
30
- },
31
- "type": {
32
- "type": "string"
33
- },
34
- "features": {
35
- "type": "array",
36
- "items": {
37
- "type": "string"
38
- }
39
- },
40
- "title": {
41
- "type": "string"
42
- },
43
- "ui": {
44
- "type": "string"
45
- },
46
- "data": {
47
- "type": "object"
48
- },
49
- "endpoints": {
50
- "type": "array",
51
- "items": {
52
- "$ref": "#/definitions/ModuleEndpoint"
53
- }
54
- }
55
- },
56
- "required": [
57
- "id",
58
- "type",
59
- "features",
60
- "title",
61
- "ui",
62
- "data",
63
- "endpoints"
64
78
  ],
65
- "additionalProperties": false
66
- },
67
- "ModuleEndpoint": {
68
- "type": "object",
69
- "properties": {
70
- "method": {
71
- "type": "string"
72
- },
73
- "url": {
74
- "type": "string"
75
- }
76
- },
77
- "required": [
78
- "method",
79
- "url"
80
- ],
81
- "additionalProperties": false
79
+ "definitions": {}
82
80
  },
83
81
  "DeleteByUserid_15_ReqSchema": {
82
+ "$schema": "http://json-schema.org/draft-07/schema#",
84
83
  "type": "object",
85
84
  "additionalProperties": false,
86
- "properties": {}
85
+ "properties": {},
86
+ "definitions": {}
87
87
  },
88
88
  "DeleteByUserid_15_ResSchema": {
89
+ "$schema": "http://json-schema.org/draft-07/schema#",
89
90
  "type": "object",
90
91
  "additionalProperties": false,
91
- "properties": {}
92
+ "properties": {},
93
+ "definitions": {}
92
94
  },
93
95
  "GetByUserid_15_ReqSchema": {
96
+ "$schema": "http://json-schema.org/draft-07/schema#",
94
97
  "type": "object",
95
98
  "additionalProperties": false,
96
- "properties": {}
99
+ "properties": {},
100
+ "definitions": {}
97
101
  },
98
102
  "GetByUserid_15_ResSchema": {
103
+ "$schema": "http://json-schema.org/draft-07/schema#",
99
104
  "type": "object",
100
105
  "additionalProperties": false,
101
106
  "properties": {
@@ -109,55 +114,73 @@
109
114
  "required": [
110
115
  "_id",
111
116
  "username"
112
- ]
117
+ ],
118
+ "definitions": {}
113
119
  },
114
120
  "GetList_10_ReqSchema": {
121
+ "$schema": "http://json-schema.org/draft-07/schema#",
115
122
  "type": "object",
116
123
  "additionalProperties": false,
117
- "properties": {}
124
+ "properties": {},
125
+ "definitions": {}
118
126
  },
119
127
  "GetList_10_ResSchema": {
128
+ "$schema": "http://json-schema.org/draft-07/schema#",
120
129
  "type": "object",
121
130
  "additionalProperties": false,
122
131
  "properties": {
123
132
  "users": {
124
133
  "type": "array",
125
134
  "items": {
126
- "$ref": "#/definitions/ManagementUserViewModel"
135
+ "type": "object",
136
+ "additionalProperties": false,
137
+ "properties": {
138
+ "_id": {
139
+ "type": "string"
140
+ },
141
+ "username": {
142
+ "type": "string"
143
+ }
144
+ },
145
+ "required": [
146
+ "_id",
147
+ "username"
148
+ ]
127
149
  }
128
150
  }
129
151
  },
130
152
  "required": [
131
153
  "users"
132
- ]
133
- },
134
- "ManagementUserViewModel": {
135
- "type": "object",
136
- "additionalProperties": false,
137
- "properties": {
138
- "_id": {
139
- "type": "string"
140
- },
141
- "username": {
142
- "type": "string"
143
- }
144
- },
145
- "required": [
146
- "_id",
147
- "username"
148
- ]
154
+ ],
155
+ "definitions": {}
149
156
  },
150
157
  "GetMe_8_ReqSchema": {
158
+ "$schema": "http://json-schema.org/draft-07/schema#",
151
159
  "type": "object",
152
160
  "additionalProperties": false,
153
- "properties": {}
161
+ "properties": {},
162
+ "definitions": {}
154
163
  },
155
164
  "GetMe_8_ResSchema": {
165
+ "$schema": "http://json-schema.org/draft-07/schema#",
156
166
  "type": "object",
157
167
  "additionalProperties": false,
158
168
  "properties": {
159
169
  "user": {
160
- "$ref": "#/definitions/ManagementUserViewModel"
170
+ "type": "object",
171
+ "additionalProperties": false,
172
+ "properties": {
173
+ "_id": {
174
+ "type": "string"
175
+ },
176
+ "username": {
177
+ "type": "string"
178
+ }
179
+ },
180
+ "required": [
181
+ "_id",
182
+ "username"
183
+ ]
161
184
  },
162
185
  "token": {
163
186
  "type": "string"
@@ -166,9 +189,11 @@
166
189
  "required": [
167
190
  "token",
168
191
  "user"
169
- ]
192
+ ],
193
+ "definitions": {}
170
194
  },
171
195
  "Post_15_ReqSchema": {
196
+ "$schema": "http://json-schema.org/draft-07/schema#",
172
197
  "type": "object",
173
198
  "additionalProperties": false,
174
199
  "properties": {
@@ -182,9 +207,11 @@
182
207
  "required": [
183
208
  "password",
184
209
  "username"
185
- ]
210
+ ],
211
+ "definitions": {}
186
212
  },
187
213
  "Post_15_ResSchema": {
214
+ "$schema": "http://json-schema.org/draft-07/schema#",
188
215
  "type": "object",
189
216
  "additionalProperties": false,
190
217
  "properties": {
@@ -198,9 +225,11 @@
198
225
  "required": [
199
226
  "_id",
200
227
  "username"
201
- ]
228
+ ],
229
+ "definitions": {}
202
230
  },
203
231
  "PostLogin_21_ReqSchema": {
232
+ "$schema": "http://json-schema.org/draft-07/schema#",
204
233
  "type": "object",
205
234
  "additionalProperties": false,
206
235
  "properties": {
@@ -214,14 +243,29 @@
214
243
  "required": [
215
244
  "password",
216
245
  "username"
217
- ]
246
+ ],
247
+ "definitions": {}
218
248
  },
219
249
  "PostLogin_21_ResSchema": {
250
+ "$schema": "http://json-schema.org/draft-07/schema#",
220
251
  "type": "object",
221
252
  "additionalProperties": false,
222
253
  "properties": {
223
254
  "user": {
224
- "$ref": "#/definitions/ManagementUserViewModel"
255
+ "type": "object",
256
+ "additionalProperties": false,
257
+ "properties": {
258
+ "_id": {
259
+ "type": "string"
260
+ },
261
+ "username": {
262
+ "type": "string"
263
+ }
264
+ },
265
+ "required": [
266
+ "_id",
267
+ "username"
268
+ ]
225
269
  },
226
270
  "token": {
227
271
  "type": "string"
@@ -230,9 +274,11 @@
230
274
  "required": [
231
275
  "token",
232
276
  "user"
233
- ]
277
+ ],
278
+ "definitions": {}
234
279
  },
235
280
  "PutByUserid_24_ReqSchema": {
281
+ "$schema": "http://json-schema.org/draft-07/schema#",
236
282
  "type": "object",
237
283
  "additionalProperties": false,
238
284
  "properties": {
@@ -242,9 +288,11 @@
242
288
  "password": {
243
289
  "type": "string"
244
290
  }
245
- }
291
+ },
292
+ "definitions": {}
246
293
  },
247
294
  "PutByUserid_24_ResSchema": {
295
+ "$schema": "http://json-schema.org/draft-07/schema#",
248
296
  "type": "object",
249
297
  "additionalProperties": false,
250
298
  "properties": {
@@ -258,7 +306,8 @@
258
306
  "required": [
259
307
  "_id",
260
308
  "username"
261
- ]
309
+ ],
310
+ "definitions": {}
262
311
  }
263
312
  }
264
313
  }
@@ -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 Mon Feb 13 2023 19:17:37 GMT+0100 (Central European Standard Time)
18
+ // Generated Sat Feb 25 2023 22:17:22 GMT+0100 (Central European Standard Time)
19
19
  export interface GetManagement_9_ReqSchema extends GetManagementReq {}
20
20
 
21
21
  export interface GetManagement_9_ResSchema extends GetManagementRes {}
package/.flink/start.ts CHANGED
@@ -1,4 +1,4 @@
1
- // Generated Mon Feb 13 2023 19:17:37 GMT+0100 (Central European Standard Time)
1
+ // Generated Sat Feb 25 2023 22:17:22 GMT+0100 (Central European Standard Time)
2
2
  import "./generatedHandlers";
3
3
  import "./generatedRepos";
4
4
  import "./generatedJobs";
@@ -20,7 +20,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
20
20
  };
21
21
  Object.defineProperty(exports, "__esModule", { value: true });
22
22
  exports.handlers = void 0;
23
- // Generated Mon Feb 13 2023 19:17:37 GMT+0100 (Central European Standard Time)
23
+ // Generated Sat Feb 25 2023 22:17:22 GMT+0100 (Central European Standard Time)
24
24
  var flink_1 = require("@flink-app/flink");
25
25
  var DeleteByUserid_0 = __importStar(require("../src/handlers/User/DeleteByUserid"));
26
26
  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 Mon Feb 13 2023 19:17:37 GMT+0100 (Central European Standard Time)
4
+ // Generated Sat Feb 25 2023 22:17:22 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 Mon Feb 13 2023 19:17:37 GMT+0100 (Central European Standard Time)
7
+ // Generated Sat Feb 25 2023 22:17:22 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 }];
@@ -3,99 +3,104 @@
3
3
  "$ref": "#/definitions/Schemas",
4
4
  "definitions": {
5
5
  "GetManagement_9_ReqSchema": {
6
+ "$schema": "http://json-schema.org/draft-07/schema#",
6
7
  "type": "object",
7
8
  "additionalProperties": false,
8
- "properties": {}
9
+ "properties": {},
10
+ "definitions": {}
9
11
  },
10
12
  "GetManagement_9_ResSchema": {
13
+ "$schema": "http://json-schema.org/draft-07/schema#",
11
14
  "type": "object",
12
15
  "additionalProperties": false,
13
16
  "properties": {
14
17
  "modules": {
15
18
  "type": "array",
16
19
  "items": {
17
- "$ref": "#/definitions/Module"
20
+ "type": "object",
21
+ "properties": {
22
+ "id": {
23
+ "type": "string"
24
+ },
25
+ "type": {
26
+ "type": "string"
27
+ },
28
+ "features": {
29
+ "type": "array",
30
+ "items": {
31
+ "type": "string"
32
+ }
33
+ },
34
+ "title": {
35
+ "type": "string"
36
+ },
37
+ "ui": {
38
+ "type": "string"
39
+ },
40
+ "data": {
41
+ "type": "object"
42
+ },
43
+ "endpoints": {
44
+ "type": "array",
45
+ "items": {
46
+ "type": "object",
47
+ "properties": {
48
+ "method": {
49
+ "type": "string"
50
+ },
51
+ "url": {
52
+ "type": "string"
53
+ }
54
+ },
55
+ "required": [
56
+ "method",
57
+ "url"
58
+ ],
59
+ "additionalProperties": false
60
+ }
61
+ }
62
+ },
63
+ "required": [
64
+ "id",
65
+ "type",
66
+ "features",
67
+ "title",
68
+ "ui",
69
+ "data",
70
+ "endpoints"
71
+ ],
72
+ "additionalProperties": false
18
73
  }
19
74
  }
20
75
  },
21
76
  "required": [
22
77
  "modules"
23
- ]
24
- },
25
- "Module": {
26
- "type": "object",
27
- "properties": {
28
- "id": {
29
- "type": "string"
30
- },
31
- "type": {
32
- "type": "string"
33
- },
34
- "features": {
35
- "type": "array",
36
- "items": {
37
- "type": "string"
38
- }
39
- },
40
- "title": {
41
- "type": "string"
42
- },
43
- "ui": {
44
- "type": "string"
45
- },
46
- "data": {
47
- "type": "object"
48
- },
49
- "endpoints": {
50
- "type": "array",
51
- "items": {
52
- "$ref": "#/definitions/ModuleEndpoint"
53
- }
54
- }
55
- },
56
- "required": [
57
- "id",
58
- "type",
59
- "features",
60
- "title",
61
- "ui",
62
- "data",
63
- "endpoints"
64
78
  ],
65
- "additionalProperties": false
66
- },
67
- "ModuleEndpoint": {
68
- "type": "object",
69
- "properties": {
70
- "method": {
71
- "type": "string"
72
- },
73
- "url": {
74
- "type": "string"
75
- }
76
- },
77
- "required": [
78
- "method",
79
- "url"
80
- ],
81
- "additionalProperties": false
79
+ "definitions": {}
82
80
  },
83
81
  "DeleteByUserid_15_ReqSchema": {
82
+ "$schema": "http://json-schema.org/draft-07/schema#",
84
83
  "type": "object",
85
84
  "additionalProperties": false,
86
- "properties": {}
85
+ "properties": {},
86
+ "definitions": {}
87
87
  },
88
88
  "DeleteByUserid_15_ResSchema": {
89
+ "$schema": "http://json-schema.org/draft-07/schema#",
89
90
  "type": "object",
90
91
  "additionalProperties": false,
91
- "properties": {}
92
+ "properties": {},
93
+ "definitions": {}
92
94
  },
93
95
  "GetByUserid_15_ReqSchema": {
96
+ "$schema": "http://json-schema.org/draft-07/schema#",
94
97
  "type": "object",
95
98
  "additionalProperties": false,
96
- "properties": {}
99
+ "properties": {},
100
+ "definitions": {}
97
101
  },
98
102
  "GetByUserid_15_ResSchema": {
103
+ "$schema": "http://json-schema.org/draft-07/schema#",
99
104
  "type": "object",
100
105
  "additionalProperties": false,
101
106
  "properties": {
@@ -109,55 +114,73 @@
109
114
  "required": [
110
115
  "_id",
111
116
  "username"
112
- ]
117
+ ],
118
+ "definitions": {}
113
119
  },
114
120
  "GetList_10_ReqSchema": {
121
+ "$schema": "http://json-schema.org/draft-07/schema#",
115
122
  "type": "object",
116
123
  "additionalProperties": false,
117
- "properties": {}
124
+ "properties": {},
125
+ "definitions": {}
118
126
  },
119
127
  "GetList_10_ResSchema": {
128
+ "$schema": "http://json-schema.org/draft-07/schema#",
120
129
  "type": "object",
121
130
  "additionalProperties": false,
122
131
  "properties": {
123
132
  "users": {
124
133
  "type": "array",
125
134
  "items": {
126
- "$ref": "#/definitions/ManagementUserViewModel"
135
+ "type": "object",
136
+ "additionalProperties": false,
137
+ "properties": {
138
+ "_id": {
139
+ "type": "string"
140
+ },
141
+ "username": {
142
+ "type": "string"
143
+ }
144
+ },
145
+ "required": [
146
+ "_id",
147
+ "username"
148
+ ]
127
149
  }
128
150
  }
129
151
  },
130
152
  "required": [
131
153
  "users"
132
- ]
133
- },
134
- "ManagementUserViewModel": {
135
- "type": "object",
136
- "additionalProperties": false,
137
- "properties": {
138
- "_id": {
139
- "type": "string"
140
- },
141
- "username": {
142
- "type": "string"
143
- }
144
- },
145
- "required": [
146
- "_id",
147
- "username"
148
- ]
154
+ ],
155
+ "definitions": {}
149
156
  },
150
157
  "GetMe_8_ReqSchema": {
158
+ "$schema": "http://json-schema.org/draft-07/schema#",
151
159
  "type": "object",
152
160
  "additionalProperties": false,
153
- "properties": {}
161
+ "properties": {},
162
+ "definitions": {}
154
163
  },
155
164
  "GetMe_8_ResSchema": {
165
+ "$schema": "http://json-schema.org/draft-07/schema#",
156
166
  "type": "object",
157
167
  "additionalProperties": false,
158
168
  "properties": {
159
169
  "user": {
160
- "$ref": "#/definitions/ManagementUserViewModel"
170
+ "type": "object",
171
+ "additionalProperties": false,
172
+ "properties": {
173
+ "_id": {
174
+ "type": "string"
175
+ },
176
+ "username": {
177
+ "type": "string"
178
+ }
179
+ },
180
+ "required": [
181
+ "_id",
182
+ "username"
183
+ ]
161
184
  },
162
185
  "token": {
163
186
  "type": "string"
@@ -166,9 +189,11 @@
166
189
  "required": [
167
190
  "token",
168
191
  "user"
169
- ]
192
+ ],
193
+ "definitions": {}
170
194
  },
171
195
  "Post_15_ReqSchema": {
196
+ "$schema": "http://json-schema.org/draft-07/schema#",
172
197
  "type": "object",
173
198
  "additionalProperties": false,
174
199
  "properties": {
@@ -182,9 +207,11 @@
182
207
  "required": [
183
208
  "password",
184
209
  "username"
185
- ]
210
+ ],
211
+ "definitions": {}
186
212
  },
187
213
  "Post_15_ResSchema": {
214
+ "$schema": "http://json-schema.org/draft-07/schema#",
188
215
  "type": "object",
189
216
  "additionalProperties": false,
190
217
  "properties": {
@@ -198,9 +225,11 @@
198
225
  "required": [
199
226
  "_id",
200
227
  "username"
201
- ]
228
+ ],
229
+ "definitions": {}
202
230
  },
203
231
  "PostLogin_21_ReqSchema": {
232
+ "$schema": "http://json-schema.org/draft-07/schema#",
204
233
  "type": "object",
205
234
  "additionalProperties": false,
206
235
  "properties": {
@@ -214,14 +243,29 @@
214
243
  "required": [
215
244
  "password",
216
245
  "username"
217
- ]
246
+ ],
247
+ "definitions": {}
218
248
  },
219
249
  "PostLogin_21_ResSchema": {
250
+ "$schema": "http://json-schema.org/draft-07/schema#",
220
251
  "type": "object",
221
252
  "additionalProperties": false,
222
253
  "properties": {
223
254
  "user": {
224
- "$ref": "#/definitions/ManagementUserViewModel"
255
+ "type": "object",
256
+ "additionalProperties": false,
257
+ "properties": {
258
+ "_id": {
259
+ "type": "string"
260
+ },
261
+ "username": {
262
+ "type": "string"
263
+ }
264
+ },
265
+ "required": [
266
+ "_id",
267
+ "username"
268
+ ]
225
269
  },
226
270
  "token": {
227
271
  "type": "string"
@@ -230,9 +274,11 @@
230
274
  "required": [
231
275
  "token",
232
276
  "user"
233
- ]
277
+ ],
278
+ "definitions": {}
234
279
  },
235
280
  "PutByUserid_24_ReqSchema": {
281
+ "$schema": "http://json-schema.org/draft-07/schema#",
236
282
  "type": "object",
237
283
  "additionalProperties": false,
238
284
  "properties": {
@@ -242,9 +288,11 @@
242
288
  "password": {
243
289
  "type": "string"
244
290
  }
245
- }
291
+ },
292
+ "definitions": {}
246
293
  },
247
294
  "PutByUserid_24_ResSchema": {
295
+ "$schema": "http://json-schema.org/draft-07/schema#",
248
296
  "type": "object",
249
297
  "additionalProperties": false,
250
298
  "properties": {
@@ -258,7 +306,8 @@
258
306
  "required": [
259
307
  "_id",
260
308
  "username"
261
- ]
309
+ ],
310
+ "definitions": {}
262
311
  }
263
312
  }
264
313
  }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- // Generated Mon Feb 13 2023 19:17:37 GMT+0100 (Central European Standard Time)
3
+ // Generated Sat Feb 25 2023 22:17:22 GMT+0100 (Central European Standard Time)
4
4
  require("./generatedHandlers");
5
5
  require("./generatedRepos");
6
6
  require("./generatedJobs");
@@ -50,4 +50,4 @@ var GetManagement = function (_a) {
50
50
  };
51
51
  exports.default = GetManagement;
52
52
  exports.__assumedHttpMethod = "get", exports.__file = "GetManagement.ts", exports.__query = [], exports.__params = [];
53
- exports.__schemas = { reqSchema: { "type": "object", "additionalProperties": false, "properties": {} }, resSchema: { "type": "object", "additionalProperties": false, "properties": { "modules": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "string" }, "type": { "type": "string" }, "features": { "type": "array", "items": { "type": "string" } }, "title": { "type": "string" }, "ui": { "type": "string" }, "data": { "type": "object" }, "endpoints": { "type": "array", "items": { "type": "object", "properties": { "method": { "type": "string" }, "url": { "type": "string" } }, "required": ["method", "url"], "additionalProperties": false } } }, "required": ["id", "type", "features", "title", "ui", "data", "endpoints"], "additionalProperties": false } } }, "required": ["modules"] } };
53
+ exports.__schemas = { reqSchema: { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "additionalProperties": false, "properties": {}, "definitions": {} }, resSchema: { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "additionalProperties": false, "properties": { "modules": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "string" }, "type": { "type": "string" }, "features": { "type": "array", "items": { "type": "string" } }, "title": { "type": "string" }, "ui": { "type": "string" }, "data": { "type": "object" }, "endpoints": { "type": "array", "items": { "type": "object", "properties": { "method": { "type": "string" }, "url": { "type": "string" } }, "required": ["method", "url"], "additionalProperties": false } } }, "required": ["id", "type", "features", "title", "ui", "data", "endpoints"], "additionalProperties": false } } }, "required": ["modules"], "definitions": {} } };
@@ -67,4 +67,4 @@ var DeleteUserByUserid = function (_a) {
67
67
  };
68
68
  exports.default = DeleteUserByUserid;
69
69
  exports.__assumedHttpMethod = "delete", exports.__file = "DeleteByUserid.ts", exports.__query = [], exports.__params = [];
70
- exports.__schemas = { reqSchema: { "type": "object", "additionalProperties": false, "properties": {} }, resSchema: { "type": "object", "additionalProperties": false, "properties": {} } };
70
+ exports.__schemas = { reqSchema: { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "additionalProperties": false, "properties": {}, "definitions": {} }, resSchema: { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "additionalProperties": false, "properties": {}, "definitions": {} } };
@@ -68,4 +68,4 @@ var GetUserByUserid = function (_a) {
68
68
  };
69
69
  exports.default = GetUserByUserid;
70
70
  exports.__assumedHttpMethod = "get", exports.__file = "GetByUserid.ts", exports.__query = [], exports.__params = [];
71
- exports.__schemas = { reqSchema: { "type": "object", "additionalProperties": false, "properties": {} }, resSchema: { "type": "object", "additionalProperties": false, "properties": { "_id": { "type": "string" }, "username": { "type": "string" } }, "required": ["_id", "username"] } };
71
+ exports.__schemas = { reqSchema: { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "additionalProperties": false, "properties": {}, "definitions": {} }, resSchema: { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "additionalProperties": false, "properties": { "_id": { "type": "string" }, "username": { "type": "string" } }, "required": ["_id", "username"], "definitions": {} } };
@@ -61,4 +61,4 @@ var GetUserList = function (_a) {
61
61
  };
62
62
  exports.default = GetUserList;
63
63
  exports.__assumedHttpMethod = "get", exports.__file = "GetList.ts", exports.__query = [], exports.__params = [];
64
- exports.__schemas = { reqSchema: { "type": "object", "additionalProperties": false, "properties": {} }, resSchema: { "type": "object", "additionalProperties": false, "properties": { "users": { "type": "array", "items": { "type": "object", "additionalProperties": false, "properties": { "_id": { "type": "string" }, "username": { "type": "string" } }, "required": ["_id", "username"] } } }, "required": ["users"] } };
64
+ exports.__schemas = { reqSchema: { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "additionalProperties": false, "properties": {}, "definitions": {} }, resSchema: { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "additionalProperties": false, "properties": { "users": { "type": "array", "items": { "type": "object", "additionalProperties": false, "properties": { "_id": { "type": "string" }, "username": { "type": "string" } }, "required": ["_id", "username"] } } }, "required": ["users"], "definitions": {} } };
@@ -78,4 +78,4 @@ var GetUserMe = function (_a) {
78
78
  };
79
79
  exports.default = GetUserMe;
80
80
  exports.__assumedHttpMethod = "get", exports.__file = "GetMe.ts", exports.__query = [], exports.__params = [];
81
- exports.__schemas = { reqSchema: { "type": "object", "additionalProperties": false, "properties": {} }, resSchema: { "type": "object", "additionalProperties": false, "properties": { "user": { "type": "object", "additionalProperties": false, "properties": { "_id": { "type": "string" }, "username": { "type": "string" } }, "required": ["_id", "username"] }, "token": { "type": "string" } }, "required": ["token", "user"] } };
81
+ exports.__schemas = { reqSchema: { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "additionalProperties": false, "properties": {}, "definitions": {} }, resSchema: { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "additionalProperties": false, "properties": { "user": { "type": "object", "additionalProperties": false, "properties": { "_id": { "type": "string" }, "username": { "type": "string" } }, "required": ["_id", "username"] }, "token": { "type": "string" } }, "required": ["token", "user"], "definitions": {} } };
@@ -84,4 +84,4 @@ var PostUser = function (_a) {
84
84
  };
85
85
  exports.default = PostUser;
86
86
  exports.__assumedHttpMethod = "post", exports.__file = "Post.ts", exports.__query = [], exports.__params = [];
87
- exports.__schemas = { reqSchema: { "type": "object", "additionalProperties": false, "properties": { "username": { "type": "string" }, "password": { "type": "string" } }, "required": ["password", "username"] }, resSchema: { "type": "object", "additionalProperties": false, "properties": { "_id": { "type": "string" }, "username": { "type": "string" } }, "required": ["_id", "username"] } };
87
+ exports.__schemas = { reqSchema: { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "additionalProperties": false, "properties": { "username": { "type": "string" }, "password": { "type": "string" } }, "required": ["password", "username"], "definitions": {} }, resSchema: { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "additionalProperties": false, "properties": { "_id": { "type": "string" }, "username": { "type": "string" } }, "required": ["_id", "username"], "definitions": {} } };
@@ -83,4 +83,4 @@ var PostUserLogin = function (_a) {
83
83
  };
84
84
  exports.default = PostUserLogin;
85
85
  exports.__assumedHttpMethod = "post", exports.__file = "PostLogin.ts", exports.__query = [], exports.__params = [];
86
- exports.__schemas = { reqSchema: { "type": "object", "additionalProperties": false, "properties": { "username": { "type": "string" }, "password": { "type": "string" } }, "required": ["password", "username"] }, resSchema: { "type": "object", "additionalProperties": false, "properties": { "user": { "type": "object", "additionalProperties": false, "properties": { "_id": { "type": "string" }, "username": { "type": "string" } }, "required": ["_id", "username"] }, "token": { "type": "string" } }, "required": ["token", "user"] } };
86
+ exports.__schemas = { reqSchema: { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "additionalProperties": false, "properties": { "username": { "type": "string" }, "password": { "type": "string" } }, "required": ["password", "username"], "definitions": {} }, resSchema: { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "additionalProperties": false, "properties": { "user": { "type": "object", "additionalProperties": false, "properties": { "_id": { "type": "string" }, "username": { "type": "string" } }, "required": ["_id", "username"] }, "token": { "type": "string" } }, "required": ["token", "user"], "definitions": {} } };
@@ -94,4 +94,4 @@ var PutUserByUserid = function (_a) {
94
94
  };
95
95
  exports.default = PutUserByUserid;
96
96
  exports.__assumedHttpMethod = "put", exports.__file = "PutByUserid.ts", exports.__query = [], exports.__params = [];
97
- exports.__schemas = { reqSchema: { "type": "object", "additionalProperties": false, "properties": { "username": { "type": "string" }, "password": { "type": "string" } } }, resSchema: { "type": "object", "additionalProperties": false, "properties": { "_id": { "type": "string" }, "username": { "type": "string" } }, "required": ["_id", "username"] } };
97
+ exports.__schemas = { reqSchema: { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "additionalProperties": false, "properties": { "username": { "type": "string" }, "password": { "type": "string" } }, "definitions": {} }, resSchema: { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "additionalProperties": false, "properties": { "_id": { "type": "string" }, "username": { "type": "string" } }, "required": ["_id", "username"], "definitions": {} } };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flink-app/management-api-plugin",
3
- "version": "0.4.5",
3
+ "version": "0.4.7",
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\"",
@@ -23,7 +23,7 @@
23
23
  "jsonwebtoken": "^8.5.1"
24
24
  },
25
25
  "devDependencies": {
26
- "@flink-app/flink": "^0.4.5",
26
+ "@flink-app/flink": "^0.4.7",
27
27
  "@types/bcrypt": "^5.0.0",
28
28
  "@types/express": "4.17.11",
29
29
  "@types/express-fileupload": "^1.1.7",
@@ -32,5 +32,5 @@
32
32
  "ts-node": "^9.1.1",
33
33
  "typescript": "^4.2.4"
34
34
  },
35
- "gitHead": "38a0ca4c987f280accc5f4c7f408e51f7b076587"
35
+ "gitHead": "b565d5987e08ba3aba3653325e935e6c56cab24c"
36
36
  }