@flink-app/management-api-plugin 0.7.0-alpha.0 → 0.11.0

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.
Files changed (35) hide show
  1. package/.flink/generatedHandlers.ts +9 -6
  2. package/.flink/generatedJobs.ts +1 -1
  3. package/.flink/generatedRepos.ts +1 -1
  4. package/.flink/schemas/schemas.json +151 -0
  5. package/.flink/schemas/schemas.ts +1 -1
  6. package/.flink/start.ts +1 -1
  7. package/dist/.flink/generatedHandlers.d.ts +9 -227
  8. package/dist/.flink/generatedHandlers.js +6 -6
  9. package/dist/.flink/generatedJobs.js +1 -1
  10. package/dist/.flink/generatedRepos.js +1 -1
  11. package/dist/.flink/schemas/schemas.json +151 -0
  12. package/dist/.flink/start.js +1 -1
  13. package/dist/src/handlers/Management/GetManagement.d.ts +2 -0
  14. package/dist/src/handlers/Management/GetManagement.js +3 -0
  15. package/dist/src/handlers/User/DeleteByUserid.d.ts +2 -0
  16. package/dist/src/handlers/User/DeleteByUserid.js +3 -1
  17. package/dist/src/handlers/User/GetByUserid.d.ts +2 -0
  18. package/dist/src/handlers/User/GetByUserid.js +3 -1
  19. package/dist/src/handlers/User/GetList.d.ts +2 -0
  20. package/dist/src/handlers/User/GetList.js +3 -0
  21. package/dist/src/handlers/User/GetMe.d.ts +2 -0
  22. package/dist/src/handlers/User/GetMe.js +3 -0
  23. package/dist/src/handlers/User/Post.d.ts +2 -0
  24. package/dist/src/handlers/User/Post.js +3 -1
  25. package/dist/src/handlers/User/PostLogin.d.ts +2 -0
  26. package/dist/src/handlers/User/PostLogin.js +3 -1
  27. package/dist/src/handlers/User/PutByUserid.d.ts +2 -0
  28. package/dist/src/handlers/User/PutByUserid.js +3 -1
  29. package/package.json +3 -3
  30. package/dist/.flink/generated-schemas.json +0 -270
  31. package/dist/.flink/schemas.json +0 -722
  32. package/dist/src/handlers/Management/Get.d.ts +0 -7
  33. package/dist/src/handlers/Management/Get.js +0 -53
  34. package/dist/src/schemas/ManagementApi.d.ts +0 -25
  35. package/dist/src/schemas/ManagementApi.js +0 -8
@@ -1,11 +1,14 @@
1
- // Generated Mon Jul 10 2023 18:13:33 GMT+0200 (Central European Summer Time)
1
+ // Generated Tue Jun 18 2024 09:50:45 GMT+0200 (Central European Summer Time)
2
2
  import { autoRegisteredHandlers, HttpMethod } from "@flink-app/flink";
3
+ import * as GetManagement_0 from "../src/handlers/Management/GetManagement";
3
4
  import * as DeleteByUserid_0 from "../src/handlers/User/DeleteByUserid";
4
- import * as GetByUserid_0 from "../src/handlers/User/GetByUserid";
5
- import * as Post_0 from "../src/handlers/User/Post";
6
- import * as PostLogin_0 from "../src/handlers/User/PostLogin";
7
- import * as PutByUserid_0 from "../src/handlers/User/PutByUserid";
5
+ import * as GetByUserid_1 from "../src/handlers/User/GetByUserid";
6
+ import * as GetList_2 from "../src/handlers/User/GetList";
7
+ import * as GetMe_2 from "../src/handlers/User/GetMe";
8
+ import * as Post_2 from "../src/handlers/User/Post";
9
+ import * as PostLogin_3 from "../src/handlers/User/PostLogin";
10
+ import * as PutByUserid_4 from "../src/handlers/User/PutByUserid";
8
11
 
9
- export const handlers = [{"importName":"DeleteByUserid_0","moduleSpecifier":"../src/handlers/User/DeleteByUserid","schemasToGenerate":{"reqSchemaType":"DeleteByUserid_15_ReqSchema","resSchemaType":"DeleteByUserid_15_ResSchema"},"__file":"DeleteByUserid.ts","__query":[],"__params":[],"__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":{}}},"assumedHttpMethod":HttpMethod.delete,"handler":DeleteByUserid_0,"Route":DeleteByUserid_0.Route}, {"importName":"GetByUserid_0","moduleSpecifier":"../src/handlers/User/GetByUserid","schemasToGenerate":{"reqSchemaType":"GetByUserid_15_ReqSchema","resSchemaType":"GetByUserid_15_ResSchema"},"__file":"GetByUserid.ts","__query":[],"__params":[],"__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":{}}},"assumedHttpMethod":HttpMethod.get,"handler":GetByUserid_0,"Route":GetByUserid_0.Route}, {"importName":"Post_0","moduleSpecifier":"../src/handlers/User/Post","schemasToGenerate":{"reqSchemaType":"Post_15_ReqSchema","resSchemaType":"Post_15_ResSchema"},"__file":"Post.ts","__query":[],"__params":[],"__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":{}}},"assumedHttpMethod":HttpMethod.post,"handler":Post_0,"Route":Post_0.Route}, {"importName":"PostLogin_0","moduleSpecifier":"../src/handlers/User/PostLogin","schemasToGenerate":{"reqSchemaType":"PostLogin_21_ReqSchema","resSchemaType":"PostLogin_21_ResSchema"},"__file":"PostLogin.ts","__query":[],"__params":[],"__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":{}}},"assumedHttpMethod":HttpMethod.post,"handler":PostLogin_0,"Route":PostLogin_0.Route}, {"importName":"PutByUserid_0","moduleSpecifier":"../src/handlers/User/PutByUserid","schemasToGenerate":{"reqSchemaType":"PutByUserid_24_ReqSchema","resSchemaType":"PutByUserid_24_ResSchema"},"__file":"PutByUserid.ts","__query":[],"__params":[],"__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":{}}},"assumedHttpMethod":HttpMethod.put,"handler":PutByUserid_0,"Route":PutByUserid_0.Route}];
12
+ export const handlers = [{handler: DeleteByUserid_0, assumedHttpMethod: HttpMethod.delete}, {handler: GetByUserid_1, assumedHttpMethod: HttpMethod.get}, {handler: Post_2, assumedHttpMethod: HttpMethod.post}, {handler: PostLogin_3, assumedHttpMethod: HttpMethod.post}, {handler: PutByUserid_4, assumedHttpMethod: HttpMethod.put}];
10
13
  autoRegisteredHandlers.push(...handlers);
11
14
 
@@ -1,4 +1,4 @@
1
- // Generated Mon Jul 10 2023 18:13:33 GMT+0200 (Central European Summer Time)
1
+ // Generated Tue Jun 18 2024 09:50:45 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 Mon Jul 10 2023 18:13:32 GMT+0200 (Central European Summer Time)
1
+ // Generated Tue Jun 18 2024 09:50:45 GMT+0200 (Central European Summer Time)
2
2
  import { autoRegisteredRepos } from "@flink-app/flink";
3
3
  import ManagementUserRepo from "../src/repos/ManagementUserRepo";
4
4
 
@@ -2,6 +2,82 @@
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
3
  "$ref": "#/definitions/Schemas",
4
4
  "definitions": {
5
+ "GetManagement_9_ReqSchema": {
6
+ "$schema": "http://json-schema.org/draft-07/schema#",
7
+ "type": "object",
8
+ "additionalProperties": false,
9
+ "properties": {},
10
+ "definitions": {}
11
+ },
12
+ "GetManagement_9_ResSchema": {
13
+ "$schema": "http://json-schema.org/draft-07/schema#",
14
+ "type": "object",
15
+ "additionalProperties": false,
16
+ "properties": {
17
+ "modules": {
18
+ "type": "array",
19
+ "items": {
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
73
+ }
74
+ }
75
+ },
76
+ "required": [
77
+ "modules"
78
+ ],
79
+ "definitions": {}
80
+ },
5
81
  "DeleteByUserid_15_ReqSchema": {
6
82
  "$schema": "http://json-schema.org/draft-07/schema#",
7
83
  "type": "object",
@@ -41,6 +117,81 @@
41
117
  ],
42
118
  "definitions": {}
43
119
  },
120
+ "GetList_10_ReqSchema": {
121
+ "$schema": "http://json-schema.org/draft-07/schema#",
122
+ "type": "object",
123
+ "additionalProperties": false,
124
+ "properties": {},
125
+ "definitions": {}
126
+ },
127
+ "GetList_10_ResSchema": {
128
+ "$schema": "http://json-schema.org/draft-07/schema#",
129
+ "type": "object",
130
+ "additionalProperties": false,
131
+ "properties": {
132
+ "users": {
133
+ "type": "array",
134
+ "items": {
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
+ ]
149
+ }
150
+ }
151
+ },
152
+ "required": [
153
+ "users"
154
+ ],
155
+ "definitions": {}
156
+ },
157
+ "GetMe_8_ReqSchema": {
158
+ "$schema": "http://json-schema.org/draft-07/schema#",
159
+ "type": "object",
160
+ "additionalProperties": false,
161
+ "properties": {},
162
+ "definitions": {}
163
+ },
164
+ "GetMe_8_ResSchema": {
165
+ "$schema": "http://json-schema.org/draft-07/schema#",
166
+ "type": "object",
167
+ "additionalProperties": false,
168
+ "properties": {
169
+ "user": {
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
+ ]
184
+ },
185
+ "token": {
186
+ "type": "string"
187
+ }
188
+ },
189
+ "required": [
190
+ "token",
191
+ "user"
192
+ ],
193
+ "definitions": {}
194
+ },
44
195
  "Post_15_ReqSchema": {
45
196
  "$schema": "http://json-schema.org/draft-07/schema#",
46
197
  "type": "object",
@@ -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 Jul 10 2023 18:13:33 GMT+0200 (Central European Summer Time)
18
+ // Generated Tue Jun 18 2024 09:50:45 GMT+0200 (Central European Summer 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 Jul 10 2023 18:13:33 GMT+0200 (Central European Summer Time)
1
+ // Generated Tue Jun 18 2024 09:50:45 GMT+0200 (Central European Summer Time)
2
2
  import "./generatedHandlers";
3
3
  import "./generatedRepos";
4
4
  import "./generatedJobs";
@@ -1,240 +1,22 @@
1
1
  import { HttpMethod } from "@flink-app/flink";
2
2
  import * as DeleteByUserid_0 from "../src/handlers/User/DeleteByUserid";
3
- import * as GetByUserid_0 from "../src/handlers/User/GetByUserid";
4
- import * as Post_0 from "../src/handlers/User/Post";
5
- import * as PostLogin_0 from "../src/handlers/User/PostLogin";
6
- import * as PutByUserid_0 from "../src/handlers/User/PutByUserid";
3
+ import * as GetByUserid_1 from "../src/handlers/User/GetByUserid";
4
+ import * as Post_2 from "../src/handlers/User/Post";
5
+ import * as PostLogin_3 from "../src/handlers/User/PostLogin";
6
+ import * as PutByUserid_4 from "../src/handlers/User/PutByUserid";
7
7
  export declare const handlers: ({
8
- importName: string;
9
- moduleSpecifier: string;
10
- schemasToGenerate: {
11
- reqSchemaType: string;
12
- resSchemaType: string;
13
- };
14
- __file: string;
15
- __query: never[];
16
- __params: never[];
17
- __schemas: {
18
- reqSchema: {
19
- $schema: string;
20
- type: string;
21
- additionalProperties: boolean;
22
- properties: {
23
- username?: undefined;
24
- password?: undefined;
25
- };
26
- definitions: {};
27
- required?: undefined;
28
- };
29
- resSchema: {
30
- $schema: string;
31
- type: string;
32
- additionalProperties: boolean;
33
- properties: {
34
- _id?: undefined;
35
- username?: undefined;
36
- user?: undefined;
37
- token?: undefined;
38
- };
39
- definitions: {};
40
- required?: undefined;
41
- };
42
- };
43
- assumedHttpMethod: HttpMethod;
44
8
  handler: typeof DeleteByUserid_0;
45
- Route: import("@flink-app/flink").RouteProps;
9
+ assumedHttpMethod: HttpMethod;
46
10
  } | {
47
- importName: string;
48
- moduleSpecifier: string;
49
- schemasToGenerate: {
50
- reqSchemaType: string;
51
- resSchemaType: string;
52
- };
53
- __file: string;
54
- __query: never[];
55
- __params: never[];
56
- __schemas: {
57
- reqSchema: {
58
- $schema: string;
59
- type: string;
60
- additionalProperties: boolean;
61
- properties: {
62
- username?: undefined;
63
- password?: undefined;
64
- };
65
- definitions: {};
66
- required?: undefined;
67
- };
68
- resSchema: {
69
- $schema: string;
70
- type: string;
71
- additionalProperties: boolean;
72
- properties: {
73
- _id: {
74
- type: string;
75
- };
76
- username: {
77
- type: string;
78
- };
79
- user?: undefined;
80
- token?: undefined;
81
- };
82
- required: string[];
83
- definitions: {};
84
- };
85
- };
11
+ handler: typeof GetByUserid_1;
86
12
  assumedHttpMethod: HttpMethod;
87
- handler: typeof GetByUserid_0;
88
- Route: import("@flink-app/flink").RouteProps;
89
13
  } | {
90
- importName: string;
91
- moduleSpecifier: string;
92
- schemasToGenerate: {
93
- reqSchemaType: string;
94
- resSchemaType: string;
95
- };
96
- __file: string;
97
- __query: never[];
98
- __params: never[];
99
- __schemas: {
100
- reqSchema: {
101
- $schema: string;
102
- type: string;
103
- additionalProperties: boolean;
104
- properties: {
105
- username: {
106
- type: string;
107
- };
108
- password: {
109
- type: string;
110
- };
111
- };
112
- required: string[];
113
- definitions: {};
114
- };
115
- resSchema: {
116
- $schema: string;
117
- type: string;
118
- additionalProperties: boolean;
119
- properties: {
120
- _id: {
121
- type: string;
122
- };
123
- username: {
124
- type: string;
125
- };
126
- user?: undefined;
127
- token?: undefined;
128
- };
129
- required: string[];
130
- definitions: {};
131
- };
132
- };
14
+ handler: typeof Post_2;
133
15
  assumedHttpMethod: HttpMethod;
134
- handler: typeof Post_0;
135
- Route: import("@flink-app/flink").RouteProps;
136
16
  } | {
137
- importName: string;
138
- moduleSpecifier: string;
139
- schemasToGenerate: {
140
- reqSchemaType: string;
141
- resSchemaType: string;
142
- };
143
- __file: string;
144
- __query: never[];
145
- __params: never[];
146
- __schemas: {
147
- reqSchema: {
148
- $schema: string;
149
- type: string;
150
- additionalProperties: boolean;
151
- properties: {
152
- username: {
153
- type: string;
154
- };
155
- password: {
156
- type: string;
157
- };
158
- };
159
- required: string[];
160
- definitions: {};
161
- };
162
- resSchema: {
163
- $schema: string;
164
- type: string;
165
- additionalProperties: boolean;
166
- properties: {
167
- user: {
168
- type: string;
169
- additionalProperties: boolean;
170
- properties: {
171
- _id: {
172
- type: string;
173
- };
174
- username: {
175
- type: string;
176
- };
177
- };
178
- required: string[];
179
- };
180
- token: {
181
- type: string;
182
- };
183
- _id?: undefined;
184
- username?: undefined;
185
- };
186
- required: string[];
187
- definitions: {};
188
- };
189
- };
17
+ handler: typeof PostLogin_3;
190
18
  assumedHttpMethod: HttpMethod;
191
- handler: typeof PostLogin_0;
192
- Route: import("@flink-app/flink").RouteProps;
193
19
  } | {
194
- importName: string;
195
- moduleSpecifier: string;
196
- schemasToGenerate: {
197
- reqSchemaType: string;
198
- resSchemaType: string;
199
- };
200
- __file: string;
201
- __query: never[];
202
- __params: never[];
203
- __schemas: {
204
- reqSchema: {
205
- $schema: string;
206
- type: string;
207
- additionalProperties: boolean;
208
- properties: {
209
- username: {
210
- type: string;
211
- };
212
- password: {
213
- type: string;
214
- };
215
- };
216
- definitions: {};
217
- required?: undefined;
218
- };
219
- resSchema: {
220
- $schema: string;
221
- type: string;
222
- additionalProperties: boolean;
223
- properties: {
224
- _id: {
225
- type: string;
226
- };
227
- username: {
228
- type: string;
229
- };
230
- user?: undefined;
231
- token?: undefined;
232
- };
233
- required: string[];
234
- definitions: {};
235
- };
236
- };
20
+ handler: typeof PutByUserid_4;
237
21
  assumedHttpMethod: HttpMethod;
238
- handler: typeof PutByUserid_0;
239
- Route: import("@flink-app/flink").RouteProps;
240
22
  })[];
@@ -20,12 +20,12 @@ 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 Jul 10 2023 18:13:33 GMT+0200 (Central European Summer Time)
23
+ // Generated Tue Jun 18 2024 09:50:45 GMT+0200 (Central European Summer Time)
24
24
  var flink_1 = require("@flink-app/flink");
25
25
  var DeleteByUserid_0 = __importStar(require("../src/handlers/User/DeleteByUserid"));
26
- var GetByUserid_0 = __importStar(require("../src/handlers/User/GetByUserid"));
27
- var Post_0 = __importStar(require("../src/handlers/User/Post"));
28
- var PostLogin_0 = __importStar(require("../src/handlers/User/PostLogin"));
29
- var PutByUserid_0 = __importStar(require("../src/handlers/User/PutByUserid"));
30
- exports.handlers = [{ "importName": "DeleteByUserid_0", "moduleSpecifier": "../src/handlers/User/DeleteByUserid", "schemasToGenerate": { "reqSchemaType": "DeleteByUserid_15_ReqSchema", "resSchemaType": "DeleteByUserid_15_ResSchema" }, "__file": "DeleteByUserid.ts", "__query": [], "__params": [], "__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": {} } }, "assumedHttpMethod": flink_1.HttpMethod.delete, "handler": DeleteByUserid_0, "Route": DeleteByUserid_0.Route }, { "importName": "GetByUserid_0", "moduleSpecifier": "../src/handlers/User/GetByUserid", "schemasToGenerate": { "reqSchemaType": "GetByUserid_15_ReqSchema", "resSchemaType": "GetByUserid_15_ResSchema" }, "__file": "GetByUserid.ts", "__query": [], "__params": [], "__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": {} } }, "assumedHttpMethod": flink_1.HttpMethod.get, "handler": GetByUserid_0, "Route": GetByUserid_0.Route }, { "importName": "Post_0", "moduleSpecifier": "../src/handlers/User/Post", "schemasToGenerate": { "reqSchemaType": "Post_15_ReqSchema", "resSchemaType": "Post_15_ResSchema" }, "__file": "Post.ts", "__query": [], "__params": [], "__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": {} } }, "assumedHttpMethod": flink_1.HttpMethod.post, "handler": Post_0, "Route": Post_0.Route }, { "importName": "PostLogin_0", "moduleSpecifier": "../src/handlers/User/PostLogin", "schemasToGenerate": { "reqSchemaType": "PostLogin_21_ReqSchema", "resSchemaType": "PostLogin_21_ResSchema" }, "__file": "PostLogin.ts", "__query": [], "__params": [], "__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": {} } }, "assumedHttpMethod": flink_1.HttpMethod.post, "handler": PostLogin_0, "Route": PostLogin_0.Route }, { "importName": "PutByUserid_0", "moduleSpecifier": "../src/handlers/User/PutByUserid", "schemasToGenerate": { "reqSchemaType": "PutByUserid_24_ReqSchema", "resSchemaType": "PutByUserid_24_ResSchema" }, "__file": "PutByUserid.ts", "__query": [], "__params": [], "__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": {} } }, "assumedHttpMethod": flink_1.HttpMethod.put, "handler": PutByUserid_0, "Route": PutByUserid_0.Route }];
26
+ var GetByUserid_1 = __importStar(require("../src/handlers/User/GetByUserid"));
27
+ var Post_2 = __importStar(require("../src/handlers/User/Post"));
28
+ var PostLogin_3 = __importStar(require("../src/handlers/User/PostLogin"));
29
+ var PutByUserid_4 = __importStar(require("../src/handlers/User/PutByUserid"));
30
+ exports.handlers = [{ handler: DeleteByUserid_0, assumedHttpMethod: flink_1.HttpMethod.delete }, { handler: GetByUserid_1, assumedHttpMethod: flink_1.HttpMethod.get }, { handler: Post_2, assumedHttpMethod: flink_1.HttpMethod.post }, { handler: PostLogin_3, assumedHttpMethod: flink_1.HttpMethod.post }, { handler: PutByUserid_4, assumedHttpMethod: flink_1.HttpMethod.put }];
31
31
  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 Mon Jul 10 2023 18:13:33 GMT+0200 (Central European Summer Time)
4
+ // Generated Tue Jun 18 2024 09:50:45 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 Mon Jul 10 2023 18:13:32 GMT+0200 (Central European Summer Time)
7
+ // Generated Tue Jun 18 2024 09:50:45 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 }];