@revisium/endpoint 2.2.0-alpha.3 → 2.2.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 (88) hide show
  1. package/README.md +36 -1
  2. package/dist/src/endpoint-microservice/core-api/generated/api.d.ts +208 -12
  3. package/dist/src/endpoint-microservice/core-api/generated/api.js +190 -5
  4. package/dist/src/endpoint-microservice/core-api/generated/api.js.map +1 -1
  5. package/dist/src/endpoint-microservice/core-api/internal-core-api.service.js +1 -3
  6. package/dist/src/endpoint-microservice/core-api/internal-core-api.service.js.map +1 -1
  7. package/dist/src/endpoint-microservice/graphql/graphql-schema-converter/constants.d.ts +1 -2
  8. package/dist/src/endpoint-microservice/graphql/graphql-schema-converter/constants.js +3 -2
  9. package/dist/src/endpoint-microservice/graphql/graphql-schema-converter/constants.js.map +1 -1
  10. package/dist/src/endpoint-microservice/graphql/graphql-schema-converter/services/common-schema.service.js +25 -0
  11. package/dist/src/endpoint-microservice/graphql/graphql-schema-converter/services/common-schema.service.js.map +1 -1
  12. package/dist/src/endpoint-microservice/graphql/graphql-schema-converter/services/naming.service.d.ts +2 -0
  13. package/dist/src/endpoint-microservice/graphql/graphql-schema-converter/services/naming.service.js +8 -0
  14. package/dist/src/endpoint-microservice/graphql/graphql-schema-converter/services/naming.service.js.map +1 -1
  15. package/dist/src/endpoint-microservice/graphql/graphql-schema-converter/services/schema.d.ts +11 -11
  16. package/dist/src/endpoint-microservice/graphql/graphql-schema-converter/services/schema.js +13 -31
  17. package/dist/src/endpoint-microservice/graphql/graphql-schema-converter/services/schema.js.map +1 -1
  18. package/dist/src/endpoint-microservice/graphql/graphql-schema-converter/services/strategy/object-type-handler.js +1 -1
  19. package/dist/src/endpoint-microservice/graphql/graphql-schema-converter/services/strategy/object-type-handler.js.map +1 -1
  20. package/dist/src/endpoint-microservice/graphql/graphql-schema-converter/utils/getProjectName.d.ts +1 -1
  21. package/dist/src/endpoint-microservice/graphql/graphql-schema-converter/utils/getProjectName.js +2 -6
  22. package/dist/src/endpoint-microservice/graphql/graphql-schema-converter/utils/getProjectName.js.map +1 -1
  23. package/dist/src/endpoint-microservice/graphql/graphql-schema-converter/utils/getSafetyName.d.ts +1 -1
  24. package/dist/src/endpoint-microservice/graphql/graphql-schema-converter/utils/getSafetyName.js +2 -14
  25. package/dist/src/endpoint-microservice/graphql/graphql-schema-converter/utils/getSafetyName.js.map +1 -1
  26. package/dist/src/endpoint-microservice/graphql/services/graphql-options.service.js +2 -4
  27. package/dist/src/endpoint-microservice/graphql/services/graphql-options.service.js.map +1 -1
  28. package/dist/src/endpoint-microservice/health/indicators/core-api.health.d.ts +4 -3
  29. package/dist/src/endpoint-microservice/health/indicators/core-api.health.js +8 -8
  30. package/dist/src/endpoint-microservice/health/indicators/core-api.health.js.map +1 -1
  31. package/dist/src/endpoint-microservice/restapi/__tests__/test-utils.d.ts +178 -0
  32. package/dist/src/endpoint-microservice/restapi/__tests__/test-utils.js +409 -0
  33. package/dist/src/endpoint-microservice/restapi/__tests__/test-utils.js.map +1 -0
  34. package/dist/src/endpoint-microservice/restapi/controllers/base-restapi.controller.d.ts +9 -0
  35. package/dist/src/endpoint-microservice/restapi/controllers/base-restapi.controller.js +24 -0
  36. package/dist/src/endpoint-microservice/restapi/controllers/base-restapi.controller.js.map +1 -0
  37. package/dist/src/endpoint-microservice/restapi/controllers/index.d.ts +4 -0
  38. package/dist/src/endpoint-microservice/restapi/controllers/index.js +12 -0
  39. package/dist/src/endpoint-microservice/restapi/controllers/index.js.map +1 -0
  40. package/dist/src/endpoint-microservice/restapi/controllers/revision.controller.d.ts +9 -0
  41. package/dist/src/endpoint-microservice/restapi/controllers/revision.controller.js +78 -0
  42. package/dist/src/endpoint-microservice/restapi/controllers/revision.controller.js.map +1 -0
  43. package/dist/src/endpoint-microservice/restapi/controllers/row.controller.d.ts +21 -0
  44. package/dist/src/endpoint-microservice/restapi/controllers/row.controller.js +181 -0
  45. package/dist/src/endpoint-microservice/restapi/controllers/row.controller.js.map +1 -0
  46. package/dist/src/endpoint-microservice/restapi/controllers/table.controller.d.ts +26 -0
  47. package/dist/src/endpoint-microservice/restapi/controllers/table.controller.js +150 -0
  48. package/dist/src/endpoint-microservice/restapi/controllers/table.controller.js.map +1 -0
  49. package/dist/src/endpoint-microservice/restapi/endpoint-middleware.interface.d.ts +23 -5
  50. package/dist/src/endpoint-microservice/restapi/queries/handlers/get-open-api-schema.handler.d.ts +1 -0
  51. package/dist/src/endpoint-microservice/restapi/queries/handlers/get-open-api-schema.handler.js +36 -37
  52. package/dist/src/endpoint-microservice/restapi/queries/handlers/get-open-api-schema.handler.js.map +1 -1
  53. package/dist/src/endpoint-microservice/restapi/queries/handlers/open-api-schema.utils.d.ts +20 -0
  54. package/dist/src/endpoint-microservice/restapi/queries/handlers/open-api-schema.utils.js +635 -0
  55. package/dist/src/endpoint-microservice/restapi/queries/handlers/open-api-schema.utils.js.map +1 -0
  56. package/dist/src/endpoint-microservice/restapi/queries/impl/get-open-api-schema.query.d.ts +2 -0
  57. package/dist/src/endpoint-microservice/restapi/queries/impl/get-open-api-schema.query.js.map +1 -1
  58. package/dist/src/endpoint-microservice/restapi/restapi-endpoint.service.d.ts +1 -1
  59. package/dist/src/endpoint-microservice/restapi/restapi-endpoint.service.js +92 -31
  60. package/dist/src/endpoint-microservice/restapi/restapi-endpoint.service.js.map +1 -1
  61. package/dist/src/endpoint-microservice/restapi/restapi.module.js +9 -2
  62. package/dist/src/endpoint-microservice/restapi/restapi.module.js.map +1 -1
  63. package/dist/src/endpoint-microservice/restapi/services/restapi-options.service.d.ts +12 -0
  64. package/dist/src/endpoint-microservice/restapi/services/restapi-options.service.js +50 -0
  65. package/dist/src/endpoint-microservice/restapi/services/restapi-options.service.js.map +1 -0
  66. package/dist/src/endpoint-microservice/restapi/swagger-endpoint.controller.js +1 -0
  67. package/dist/src/endpoint-microservice/restapi/swagger-endpoint.controller.js.map +1 -1
  68. package/dist/src/endpoint-microservice/shared/utils/naming.d.ts +6 -0
  69. package/dist/src/endpoint-microservice/shared/utils/naming.js +29 -0
  70. package/dist/src/endpoint-microservice/shared/utils/naming.js.map +1 -0
  71. package/dist/src/endpoint-microservice/shared/utils/parseHeaders.d.ts +1 -1
  72. package/dist/src/endpoint-microservice/shared/utils/stringUtils.js +2 -1
  73. package/dist/src/endpoint-microservice/shared/utils/stringUtils.js.map +1 -1
  74. package/dist/src/endpoint-microservice/synchronization/endpoint-sync-manager.service.d.ts +1 -1
  75. package/dist/src/endpoint-microservice/synchronization/endpoint-sync-manager.service.js.map +1 -1
  76. package/dist/src/endpoint-microservice/synchronization/strategies/db-polling.strategy.js +5 -1
  77. package/dist/src/endpoint-microservice/synchronization/strategies/db-polling.strategy.js.map +1 -1
  78. package/dist/tsconfig.build.tsbuildinfo +1 -1
  79. package/package.json +3 -2
  80. package/dist/src/endpoint-microservice/core-api/utils/transformFromPrismaToRowModel.d.ts +0 -4
  81. package/dist/src/endpoint-microservice/core-api/utils/transformFromPrismaToRowModel.js +0 -27
  82. package/dist/src/endpoint-microservice/core-api/utils/transformFromPrismaToRowModel.js.map +0 -1
  83. package/dist/src/endpoint-microservice/restapi/queries/handlers/open-api-shema.utils.d.ts +0 -7
  84. package/dist/src/endpoint-microservice/restapi/queries/handlers/open-api-shema.utils.js +0 -141
  85. package/dist/src/endpoint-microservice/restapi/queries/handlers/open-api-shema.utils.js.map +0 -1
  86. package/dist/src/endpoint-microservice/restapi/restapi-endpoint.controller.d.ts +0 -12
  87. package/dist/src/endpoint-microservice/restapi/restapi-endpoint.controller.js +0 -171
  88. package/dist/src/endpoint-microservice/restapi/restapi-endpoint.controller.js.map +0 -1
@@ -0,0 +1,635 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.createTableInfoMap = exports.createFileUploadPath = exports.createForeignKeyPath = exports.createSingleRowPath = exports.createTableRowsPath = exports.getQueryBodySchema = exports.getPaginatedResponseSchema = exports.getSingleRowResponseSchema = exports.getRowNodeSchema = exports.getSystemFieldsRequired = exports.getSystemFieldsProperties = exports.getPaginationParams = exports.getRowIdPathParam = exports.getFilterAndSortSchemas = void 0;
4
+ const api_1 = require("../../../core-api/generated/api");
5
+ const capitalize = (str) => str.charAt(0).toUpperCase() + str.slice(1);
6
+ const getSchemaName = (tableId, projectName) => {
7
+ const prefix = capitalize(projectName);
8
+ const name = capitalize(tableId);
9
+ return `${prefix}${name}`;
10
+ };
11
+ const getCommonSchemaName = (name, projectName) => {
12
+ const prefix = capitalize(projectName);
13
+ return `${prefix}${name}`;
14
+ };
15
+ const getOperationId = (operation, tableId) => {
16
+ const name = capitalize(tableId);
17
+ switch (operation) {
18
+ case 'get':
19
+ return `get${name}`;
20
+ case 'create':
21
+ return `create${name}`;
22
+ case 'update':
23
+ return `update${name}`;
24
+ case 'patch':
25
+ return `patch${name}`;
26
+ case 'delete':
27
+ return `delete${name}`;
28
+ case 'list':
29
+ return `list${name}`;
30
+ }
31
+ };
32
+ const getBulkOperationId = (operation, tableId) => {
33
+ const name = capitalize(tableId);
34
+ switch (operation) {
35
+ case 'delete':
36
+ return `bulkDelete${name}`;
37
+ case 'create':
38
+ return `bulkCreate${name}`;
39
+ case 'patch':
40
+ return `bulkPatch${name}`;
41
+ }
42
+ };
43
+ const getForeignKeyOperationId = (tableId, foreignKeyTableId) => {
44
+ const name = capitalize(tableId);
45
+ const fkName = capitalize(foreignKeyTableId);
46
+ return `get${name}ForeignKeysBy${fkName}`;
47
+ };
48
+ const getFilterAndSortSchemas = (projectName) => {
49
+ const stringFilter = getCommonSchemaName('StringFilter', projectName);
50
+ const boolFilter = getCommonSchemaName('BoolFilter', projectName);
51
+ const dateTimeFilter = getCommonSchemaName('DateTimeFilter', projectName);
52
+ const jsonFilter = getCommonSchemaName('JsonFilter', projectName);
53
+ const rowWhereInput = getCommonSchemaName('RowWhereInput', projectName);
54
+ const orderBy = getCommonSchemaName('OrderBy', projectName);
55
+ const patchOperation = getCommonSchemaName('PatchOperation', projectName);
56
+ return {
57
+ [stringFilter]: {
58
+ type: 'object',
59
+ description: 'String filter conditions',
60
+ properties: {
61
+ equals: { type: 'string' },
62
+ in: { type: 'array', items: { type: 'string' } },
63
+ notIn: { type: 'array', items: { type: 'string' } },
64
+ lt: { type: 'string' },
65
+ lte: { type: 'string' },
66
+ gt: { type: 'string' },
67
+ gte: { type: 'string' },
68
+ contains: { type: 'string' },
69
+ startsWith: { type: 'string' },
70
+ endsWith: { type: 'string' },
71
+ mode: { type: 'string', enum: Object.values(api_1.StringFilterDtoModeEnum) },
72
+ not: { type: 'string' },
73
+ },
74
+ },
75
+ [boolFilter]: {
76
+ type: 'object',
77
+ description: 'Boolean filter conditions',
78
+ properties: {
79
+ equals: { type: 'boolean' },
80
+ not: { type: 'boolean' },
81
+ },
82
+ },
83
+ [dateTimeFilter]: {
84
+ type: 'object',
85
+ description: 'DateTime filter conditions',
86
+ properties: {
87
+ equals: { type: 'string', format: 'date-time' },
88
+ in: { type: 'array', items: { type: 'string', format: 'date-time' } },
89
+ notIn: {
90
+ type: 'array',
91
+ items: { type: 'string', format: 'date-time' },
92
+ },
93
+ lt: { type: 'string', format: 'date-time' },
94
+ lte: { type: 'string', format: 'date-time' },
95
+ gt: { type: 'string', format: 'date-time' },
96
+ gte: { type: 'string', format: 'date-time' },
97
+ },
98
+ },
99
+ [jsonFilter]: {
100
+ type: 'object',
101
+ description: 'JSON filter conditions for data field',
102
+ properties: {
103
+ equals: { type: 'object' },
104
+ path: {
105
+ oneOf: [
106
+ { type: 'string' },
107
+ { type: 'array', items: { type: 'string' } },
108
+ ],
109
+ description: 'Path in JSON (e.g., "user.name" or ["user", "name"])',
110
+ },
111
+ mode: { type: 'string', enum: Object.values(api_1.JsonFilterDtoModeEnum) },
112
+ string_contains: { type: 'string' },
113
+ string_starts_with: { type: 'string' },
114
+ string_ends_with: { type: 'string' },
115
+ array_contains: { type: 'array', items: { type: 'object' } },
116
+ array_starts_with: { type: 'object' },
117
+ array_ends_with: { type: 'object' },
118
+ lt: { type: 'number' },
119
+ lte: { type: 'number' },
120
+ gt: { type: 'number' },
121
+ gte: { type: 'number' },
122
+ search: { type: 'string', description: 'Full-text search string' },
123
+ searchLanguage: {
124
+ type: 'string',
125
+ enum: Object.values(api_1.JsonFilterDtoSearchLanguageEnum),
126
+ description: 'Language for full-text search',
127
+ },
128
+ searchType: {
129
+ type: 'string',
130
+ enum: Object.values(api_1.JsonFilterDtoSearchTypeEnum),
131
+ },
132
+ searchIn: {
133
+ type: 'string',
134
+ enum: Object.values(api_1.JsonFilterDtoSearchInEnum),
135
+ },
136
+ },
137
+ },
138
+ [rowWhereInput]: {
139
+ type: 'object',
140
+ description: 'Row filtering conditions',
141
+ properties: {
142
+ AND: {
143
+ type: 'array',
144
+ items: { $ref: `#/components/schemas/${rowWhereInput}` },
145
+ description: 'AND conditions',
146
+ },
147
+ OR: {
148
+ type: 'array',
149
+ items: { $ref: `#/components/schemas/${rowWhereInput}` },
150
+ description: 'OR conditions',
151
+ },
152
+ NOT: {
153
+ type: 'array',
154
+ items: { $ref: `#/components/schemas/${rowWhereInput}` },
155
+ description: 'NOT conditions',
156
+ },
157
+ id: { $ref: `#/components/schemas/${stringFilter}` },
158
+ versionId: { $ref: `#/components/schemas/${stringFilter}` },
159
+ createdId: { $ref: `#/components/schemas/${stringFilter}` },
160
+ readonly: { $ref: `#/components/schemas/${boolFilter}` },
161
+ createdAt: { $ref: `#/components/schemas/${dateTimeFilter}` },
162
+ updatedAt: { $ref: `#/components/schemas/${dateTimeFilter}` },
163
+ publishedAt: { $ref: `#/components/schemas/${dateTimeFilter}` },
164
+ data: { $ref: `#/components/schemas/${jsonFilter}` },
165
+ meta: { $ref: `#/components/schemas/${jsonFilter}` },
166
+ hash: { $ref: `#/components/schemas/${stringFilter}` },
167
+ schemaHash: { $ref: `#/components/schemas/${stringFilter}` },
168
+ },
169
+ },
170
+ [orderBy]: {
171
+ type: 'object',
172
+ description: 'Sorting criteria',
173
+ required: ['field', 'direction'],
174
+ properties: {
175
+ field: {
176
+ type: 'string',
177
+ enum: Object.values(api_1.OrderByDtoFieldEnum),
178
+ description: 'Field to sort by',
179
+ },
180
+ direction: {
181
+ type: 'string',
182
+ enum: Object.values(api_1.OrderByDtoDirectionEnum),
183
+ description: 'Sort direction',
184
+ },
185
+ path: {
186
+ type: 'string',
187
+ description: 'Path within data field for nested sorting (e.g., "user.age")',
188
+ },
189
+ type: {
190
+ type: 'string',
191
+ enum: Object.values(api_1.OrderByDtoTypeEnum),
192
+ description: 'Data type for sorting when using data field',
193
+ },
194
+ aggregation: {
195
+ type: 'string',
196
+ enum: Object.values(api_1.OrderByDtoAggregationEnum),
197
+ description: 'Aggregation function for array fields',
198
+ },
199
+ },
200
+ },
201
+ [patchOperation]: {
202
+ type: 'object',
203
+ description: 'JSON Patch operation (RFC 6902 subset - only replace)',
204
+ required: ['op', 'path', 'value'],
205
+ properties: {
206
+ op: {
207
+ type: 'string',
208
+ enum: ['replace'],
209
+ description: 'Operation type (only "replace" is supported)',
210
+ },
211
+ path: {
212
+ type: 'string',
213
+ description: 'JSON path using dot notation for objects and [index] for arrays (e.g., "name", "user.email", "items[0]")',
214
+ },
215
+ value: {
216
+ description: 'The value to set at the specified path (any valid JSON value)',
217
+ },
218
+ },
219
+ },
220
+ };
221
+ };
222
+ exports.getFilterAndSortSchemas = getFilterAndSortSchemas;
223
+ const getRowIdPathParam = () => ({
224
+ name: 'rowId',
225
+ in: 'path',
226
+ required: true,
227
+ description: 'Row ID',
228
+ schema: { type: 'string' },
229
+ });
230
+ exports.getRowIdPathParam = getRowIdPathParam;
231
+ const getPaginationParams = () => [
232
+ {
233
+ name: 'first',
234
+ in: 'query',
235
+ required: true,
236
+ description: 'Number of items to return',
237
+ schema: { type: 'integer', minimum: 1, default: 100 },
238
+ },
239
+ {
240
+ name: 'after',
241
+ in: 'query',
242
+ required: false,
243
+ description: 'Cursor for pagination',
244
+ schema: { type: 'string' },
245
+ },
246
+ ];
247
+ exports.getPaginationParams = getPaginationParams;
248
+ const UNAUTHORIZED_RESPONSE = {
249
+ description: 'Unauthorized - invalid or missing token',
250
+ };
251
+ const NOT_FOUND_RESPONSE = {
252
+ description: 'Not found',
253
+ };
254
+ const CONFLICT_RESPONSE = {
255
+ description: 'Conflict - row with this ID already exists',
256
+ };
257
+ const createJsonResponse = (description, schema) => ({
258
+ description,
259
+ content: {
260
+ 'application/json': { schema },
261
+ },
262
+ });
263
+ const getSystemFieldsProperties = () => ({
264
+ id: { type: 'string', description: 'Row ID' },
265
+ versionId: { type: 'string', description: 'Current version ID' },
266
+ createdId: { type: 'string', description: 'Original creation ID' },
267
+ createdAt: {
268
+ type: 'string',
269
+ format: 'date-time',
270
+ description: 'Creation timestamp',
271
+ },
272
+ updatedAt: {
273
+ type: 'string',
274
+ format: 'date-time',
275
+ description: 'Last update timestamp',
276
+ },
277
+ publishedAt: {
278
+ type: 'string',
279
+ format: 'date-time',
280
+ description: 'Publication timestamp',
281
+ },
282
+ readonly: { type: 'boolean', description: 'Whether the row is read-only' },
283
+ });
284
+ exports.getSystemFieldsProperties = getSystemFieldsProperties;
285
+ const getSystemFieldsRequired = () => [
286
+ 'id',
287
+ 'versionId',
288
+ 'createdId',
289
+ 'createdAt',
290
+ 'updatedAt',
291
+ 'publishedAt',
292
+ 'readonly',
293
+ ];
294
+ exports.getSystemFieldsRequired = getSystemFieldsRequired;
295
+ const getRowNodeSchema = (dataSchemaRef) => ({
296
+ type: 'object',
297
+ required: [...(0, exports.getSystemFieldsRequired)(), 'data'],
298
+ properties: {
299
+ ...(0, exports.getSystemFieldsProperties)(),
300
+ data: { $ref: dataSchemaRef },
301
+ },
302
+ });
303
+ exports.getRowNodeSchema = getRowNodeSchema;
304
+ const getSingleRowResponseSchema = (dataSchemaRef) => ({
305
+ type: 'object',
306
+ required: [...(0, exports.getSystemFieldsRequired)(), 'data'],
307
+ properties: {
308
+ ...(0, exports.getSystemFieldsProperties)(),
309
+ data: { $ref: dataSchemaRef },
310
+ },
311
+ });
312
+ exports.getSingleRowResponseSchema = getSingleRowResponseSchema;
313
+ const getPaginatedResponseSchema = (dataSchemaRef) => ({
314
+ type: 'object',
315
+ required: ['edges', 'pageInfo', 'totalCount'],
316
+ properties: {
317
+ edges: {
318
+ type: 'array',
319
+ items: {
320
+ type: 'object',
321
+ required: ['cursor', 'node'],
322
+ properties: {
323
+ cursor: { type: 'string' },
324
+ node: (0, exports.getRowNodeSchema)(dataSchemaRef),
325
+ },
326
+ },
327
+ },
328
+ pageInfo: {
329
+ type: 'object',
330
+ required: ['startCursor', 'endCursor', 'hasNextPage', 'hasPreviousPage'],
331
+ properties: {
332
+ startCursor: { type: ['string', 'null'] },
333
+ endCursor: { type: ['string', 'null'] },
334
+ hasNextPage: { type: 'boolean' },
335
+ hasPreviousPage: { type: 'boolean' },
336
+ },
337
+ },
338
+ totalCount: { type: 'number', minimum: 0 },
339
+ },
340
+ });
341
+ exports.getPaginatedResponseSchema = getPaginatedResponseSchema;
342
+ const getQueryBodySchema = (projectName) => {
343
+ const orderBy = getCommonSchemaName('OrderBy', projectName);
344
+ const rowWhereInput = getCommonSchemaName('RowWhereInput', projectName);
345
+ return {
346
+ type: 'object',
347
+ required: ['first'],
348
+ properties: {
349
+ first: {
350
+ type: 'integer',
351
+ minimum: 1,
352
+ default: 100,
353
+ description: 'Number of items to return',
354
+ },
355
+ after: {
356
+ type: 'string',
357
+ description: 'Cursor for pagination',
358
+ },
359
+ orderBy: {
360
+ type: 'array',
361
+ items: { $ref: `#/components/schemas/${orderBy}` },
362
+ description: 'Array of sorting criteria',
363
+ },
364
+ where: {
365
+ $ref: `#/components/schemas/${rowWhereInput}`,
366
+ description: 'Filter conditions',
367
+ },
368
+ },
369
+ };
370
+ };
371
+ exports.getQueryBodySchema = getQueryBodySchema;
372
+ const createTableRowsPath = (info, projectName, isDraft) => {
373
+ const schemaRef = `#/components/schemas/${info.schemaName}`;
374
+ const result = {
375
+ post: {
376
+ operationId: getOperationId('list', info.rawTableId),
377
+ summary: `Query ${info.rawTableId} rows`,
378
+ description: `Returns a paginated list of ${info.rawTableId} rows with filtering and sorting`,
379
+ security: [{ 'access-token': [] }],
380
+ tags: [info.tag],
381
+ requestBody: {
382
+ required: true,
383
+ description: 'Query parameters for filtering and pagination',
384
+ content: {
385
+ 'application/json': {
386
+ schema: (0, exports.getQueryBodySchema)(projectName),
387
+ },
388
+ },
389
+ },
390
+ responses: {
391
+ '200': createJsonResponse('Paginated list of rows', (0, exports.getPaginatedResponseSchema)(schemaRef)),
392
+ '401': UNAUTHORIZED_RESPONSE,
393
+ },
394
+ },
395
+ };
396
+ if (isDraft) {
397
+ result.delete = {
398
+ operationId: getBulkOperationId('delete', info.rawTableId),
399
+ summary: `Bulk delete ${info.rawTableId} rows`,
400
+ description: `Deletes multiple ${info.rawTableId} rows by their IDs. Maximum 1000 rows per request.`,
401
+ security: [{ 'access-token': [] }],
402
+ tags: [info.tag],
403
+ requestBody: {
404
+ required: true,
405
+ description: 'Array of row IDs to delete',
406
+ content: {
407
+ 'application/json': {
408
+ schema: {
409
+ type: 'object',
410
+ required: ['rowIds'],
411
+ properties: {
412
+ rowIds: {
413
+ type: 'array',
414
+ items: { type: 'string' },
415
+ maxItems: 1000,
416
+ description: 'Array of row IDs to delete (max 1000)',
417
+ },
418
+ },
419
+ },
420
+ },
421
+ },
422
+ },
423
+ responses: {
424
+ '200': createJsonResponse('Deletion successful', { type: 'boolean' }),
425
+ '401': UNAUTHORIZED_RESPONSE,
426
+ },
427
+ };
428
+ }
429
+ return result;
430
+ };
431
+ exports.createTableRowsPath = createTableRowsPath;
432
+ const createSingleRowPath = (info, projectName, isDraft) => {
433
+ const schemaRef = `#/components/schemas/${info.schemaName}`;
434
+ const rowResponseSchema = (0, exports.getSingleRowResponseSchema)(schemaRef);
435
+ const patchOperationRef = `#/components/schemas/${getCommonSchemaName('PatchOperation', projectName)}`;
436
+ const result = {
437
+ get: {
438
+ operationId: getOperationId('get', info.rawTableId),
439
+ summary: `Get ${info.rawTableId} by ID`,
440
+ description: `Returns a single ${info.rawTableId} row by its ID`,
441
+ security: [{ 'access-token': [] }],
442
+ tags: [info.tag],
443
+ parameters: [(0, exports.getRowIdPathParam)()],
444
+ responses: {
445
+ '200': createJsonResponse('Successful response', rowResponseSchema),
446
+ '401': UNAUTHORIZED_RESPONSE,
447
+ '404': NOT_FOUND_RESPONSE,
448
+ },
449
+ },
450
+ };
451
+ if (isDraft) {
452
+ const dataRequestBody = {
453
+ required: true,
454
+ description: 'Row data',
455
+ content: {
456
+ 'application/json': {
457
+ schema: {
458
+ type: 'object',
459
+ required: ['data'],
460
+ properties: {
461
+ data: { $ref: schemaRef },
462
+ },
463
+ },
464
+ },
465
+ },
466
+ };
467
+ result.post = {
468
+ operationId: getOperationId('create', info.rawTableId),
469
+ summary: `Create ${info.rawTableId}`,
470
+ description: `Creates a new ${info.rawTableId} row with the specified ID`,
471
+ security: [{ 'access-token': [] }],
472
+ tags: [info.tag],
473
+ parameters: [(0, exports.getRowIdPathParam)()],
474
+ requestBody: dataRequestBody,
475
+ responses: {
476
+ '200': createJsonResponse('Created row', rowResponseSchema),
477
+ '401': UNAUTHORIZED_RESPONSE,
478
+ '409': CONFLICT_RESPONSE,
479
+ },
480
+ };
481
+ result.put = {
482
+ operationId: getOperationId('update', info.rawTableId),
483
+ summary: `Update ${info.rawTableId}`,
484
+ description: `Updates an existing ${info.rawTableId} row (full replacement)`,
485
+ security: [{ 'access-token': [] }],
486
+ tags: [info.tag],
487
+ parameters: [(0, exports.getRowIdPathParam)()],
488
+ requestBody: dataRequestBody,
489
+ responses: {
490
+ '200': createJsonResponse('Updated row', rowResponseSchema),
491
+ '401': UNAUTHORIZED_RESPONSE,
492
+ '404': NOT_FOUND_RESPONSE,
493
+ },
494
+ };
495
+ result.patch = {
496
+ operationId: getOperationId('patch', info.rawTableId),
497
+ summary: `Patch ${info.rawTableId}`,
498
+ description: `Partially updates a ${info.rawTableId} row using JSON Patch operations`,
499
+ security: [{ 'access-token': [] }],
500
+ tags: [info.tag],
501
+ parameters: [(0, exports.getRowIdPathParam)()],
502
+ requestBody: {
503
+ required: true,
504
+ description: 'JSON Patch operations',
505
+ content: {
506
+ 'application/json': {
507
+ schema: {
508
+ type: 'object',
509
+ required: ['patches'],
510
+ properties: {
511
+ patches: {
512
+ type: 'array',
513
+ items: { $ref: patchOperationRef },
514
+ description: 'Array of patch operations to apply',
515
+ },
516
+ },
517
+ },
518
+ },
519
+ },
520
+ },
521
+ responses: {
522
+ '200': createJsonResponse('Patched row', rowResponseSchema),
523
+ '401': UNAUTHORIZED_RESPONSE,
524
+ '404': NOT_FOUND_RESPONSE,
525
+ },
526
+ };
527
+ result.delete = {
528
+ operationId: getOperationId('delete', info.rawTableId),
529
+ summary: `Delete ${info.rawTableId}`,
530
+ description: `Deletes a ${info.rawTableId} row by its ID`,
531
+ security: [{ 'access-token': [] }],
532
+ tags: [info.tag],
533
+ parameters: [(0, exports.getRowIdPathParam)()],
534
+ responses: {
535
+ '200': createJsonResponse('Deletion successful', { type: 'boolean' }),
536
+ '401': UNAUTHORIZED_RESPONSE,
537
+ '404': NOT_FOUND_RESPONSE,
538
+ },
539
+ };
540
+ }
541
+ return result;
542
+ };
543
+ exports.createSingleRowPath = createSingleRowPath;
544
+ const createForeignKeyPath = (info, fkInfo) => {
545
+ const fkSchemaRef = `#/components/schemas/${fkInfo.schemaName}`;
546
+ return {
547
+ get: {
548
+ operationId: getForeignKeyOperationId(info.rawTableId, fkInfo.rawTableId),
549
+ summary: `Get ${info.rawTableId} foreign keys by ${fkInfo.rawTableId}`,
550
+ description: `Returns rows from ${fkInfo.rawTableId} that reference this ${info.rawTableId}`,
551
+ security: [{ 'access-token': [] }],
552
+ tags: [info.tag],
553
+ parameters: [(0, exports.getRowIdPathParam)(), ...(0, exports.getPaginationParams)()],
554
+ responses: {
555
+ '200': createJsonResponse('Paginated list of related rows', (0, exports.getPaginatedResponseSchema)(fkSchemaRef)),
556
+ '401': UNAUTHORIZED_RESPONSE,
557
+ '404': NOT_FOUND_RESPONSE,
558
+ },
559
+ },
560
+ };
561
+ };
562
+ exports.createForeignKeyPath = createForeignKeyPath;
563
+ const createFileUploadPath = (info) => ({
564
+ post: {
565
+ operationId: `upload${capitalize(info.rawTableId)}File`,
566
+ summary: `Upload file for ${info.rawTableId}`,
567
+ description: `Uploads a file to a specific field in the ${info.rawTableId} row`,
568
+ security: [{ 'access-token': [] }],
569
+ tags: [info.tag],
570
+ parameters: [
571
+ (0, exports.getRowIdPathParam)(),
572
+ {
573
+ name: 'fileId',
574
+ in: 'path',
575
+ required: true,
576
+ description: 'File field ID',
577
+ schema: { type: 'string' },
578
+ },
579
+ ],
580
+ requestBody: {
581
+ required: true,
582
+ description: 'File to upload',
583
+ content: {
584
+ 'multipart/form-data': {
585
+ schema: {
586
+ type: 'object',
587
+ required: ['file'],
588
+ properties: {
589
+ file: {
590
+ type: 'string',
591
+ format: 'binary',
592
+ description: 'The file to upload',
593
+ },
594
+ },
595
+ },
596
+ },
597
+ },
598
+ },
599
+ responses: {
600
+ '200': {
601
+ description: 'File uploaded successfully',
602
+ content: {
603
+ 'application/json': {
604
+ schema: {
605
+ type: 'object',
606
+ properties: {
607
+ fileId: { type: 'string' },
608
+ url: { type: 'string' },
609
+ fileName: { type: 'string' },
610
+ mimeType: { type: 'string' },
611
+ size: { type: 'number' },
612
+ },
613
+ },
614
+ },
615
+ },
616
+ },
617
+ '401': UNAUTHORIZED_RESPONSE,
618
+ '404': NOT_FOUND_RESPONSE,
619
+ },
620
+ },
621
+ });
622
+ exports.createFileUploadPath = createFileUploadPath;
623
+ const createTableInfoMap = (tableIds, projectName) => {
624
+ const map = new Map();
625
+ for (const rawTableId of tableIds) {
626
+ map.set(rawTableId, {
627
+ rawTableId,
628
+ schemaName: getSchemaName(rawTableId, projectName),
629
+ tag: rawTableId,
630
+ });
631
+ }
632
+ return map;
633
+ };
634
+ exports.createTableInfoMap = createTableInfoMap;
635
+ //# sourceMappingURL=open-api-schema.utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"open-api-schema.utils.js","sourceRoot":"","sources":["../../../../../../src/endpoint-microservice/restapi/queries/handlers/open-api-schema.utils.ts"],"names":[],"mappings":";;;AACA,yDAU0D;AAQ1D,MAAM,UAAU,GAAG,CAAC,GAAW,EAAU,EAAE,CACzC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,GAAG,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;AAE7C,MAAM,aAAa,GAAG,CAAC,OAAe,EAAE,WAAmB,EAAU,EAAE;IACrE,MAAM,MAAM,GAAG,UAAU,CAAC,WAAW,CAAC,CAAC;IACvC,MAAM,IAAI,GAAG,UAAU,CAAC,OAAO,CAAC,CAAC;IACjC,OAAO,GAAG,MAAM,GAAG,IAAI,EAAE,CAAC;AAC5B,CAAC,CAAC;AAEF,MAAM,mBAAmB,GAAG,CAAC,IAAY,EAAE,WAAmB,EAAU,EAAE;IACxE,MAAM,MAAM,GAAG,UAAU,CAAC,WAAW,CAAC,CAAC;IACvC,OAAO,GAAG,MAAM,GAAG,IAAI,EAAE,CAAC;AAC5B,CAAC,CAAC;AAEF,MAAM,cAAc,GAAG,CACrB,SAAoE,EACpE,OAAe,EACP,EAAE;IACV,MAAM,IAAI,GAAG,UAAU,CAAC,OAAO,CAAC,CAAC;IACjC,QAAQ,SAAS,EAAE,CAAC;QAClB,KAAK,KAAK;YACR,OAAO,MAAM,IAAI,EAAE,CAAC;QACtB,KAAK,QAAQ;YACX,OAAO,SAAS,IAAI,EAAE,CAAC;QACzB,KAAK,QAAQ;YACX,OAAO,SAAS,IAAI,EAAE,CAAC;QACzB,KAAK,OAAO;YACV,OAAO,QAAQ,IAAI,EAAE,CAAC;QACxB,KAAK,QAAQ;YACX,OAAO,SAAS,IAAI,EAAE,CAAC;QACzB,KAAK,MAAM;YACT,OAAO,OAAO,IAAI,EAAE,CAAC;IACzB,CAAC;AACH,CAAC,CAAC;AAEF,MAAM,kBAA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4BACd,UAAU,EAAE;gCACV,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;gCAC1B,GAAG,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;gCACvB,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;gCAC5B,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;gCAC5B,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;6BACzB;yBACF;qBACF;iBACF;aACF;YACD,KAAK,EAAE,qBAAqB;YAC5B,KAAK,EAAE,kBAAkB;SAC1B;KACF;CACF,CAAC,CAAC;AA5DU,QAAA,oBAAoB,wBA4D9B;AAEI,MAAM,kBAAkB,GAAG,CAChC,QAAkB,EAClB,WAAmB,EACS,EAAE;IAC9B,MAAM,GAAG,GAAG,IAAI,GAAG,EAAyB,CAAC;IAE7C,KAAK,MAAM,UAAU,IAAI,QAAQ,EAAE,CAAC;QAClC,GAAG,CAAC,GAAG,CAAC,UAAU,EAAE;YAClB,UAAU;YACV,UAAU,EAAE,aAAa,CAAC,UAAU,EAAE,WAAW,CAAC;YAClD,GAAG,EAAE,UAAU;SAChB,CAAC,CAAC;IACL,CAAC;IAED,OAAO,GAAG,CAAC;AACb,CAAC,CAAC;AAfW,QAAA,kBAAkB,sBAe7B"}
@@ -1,8 +1,10 @@
1
1
  export declare class GetOpenApiSchemaQuery {
2
2
  readonly data: {
3
3
  readonly revisionId: string;
4
+ readonly projectName: string;
4
5
  };
5
6
  constructor(data: {
6
7
  readonly revisionId: string;
8
+ readonly projectName: string;
7
9
  });
8
10
  }