@flusys/nestjs-entity-builder 9.1.2 → 9.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.
- package/README.md +15 -9
- package/config/message-keys.d.ts +26 -0
- package/controllers/entity-definition.controller.d.ts +1 -0
- package/controllers/field-definition.controller.d.ts +1 -0
- package/controllers/flow-definition.controller.d.ts +1 -0
- package/dtos/definition-bundle.dto.d.ts +1 -0
- package/dtos/entity-definition.dto.d.ts +1 -2
- package/fesm/21.js +26 -0
- package/fesm/458.js +6 -1
- package/fesm/677.js +372 -107
- package/fesm/857.js +2 -1
- package/fesm/870.js +580 -247
- package/fesm/897.js +164 -22
- package/fesm/946.js +5 -1
- package/fesm/dtos/index.js +11 -0
- package/fesm/guards/index.js +1 -1
- package/fesm/index.js +20 -2
- package/fesm/services/index.js +12 -2
- package/flow-engine/flow-input.validator.d.ts +2 -1
- package/flow-engine/flow-run.types.d.ts +1 -0
- package/flow-engine/flow.types.d.ts +17 -0
- package/interfaces/definition-bundle.interface.d.ts +2 -1
- package/package.json +3 -3
- package/services/definition-bundle.diff.d.ts +6 -0
- package/services/definition-bundle.service.d.ts +10 -2
- package/services/entity-flow-scaffold.d.ts +2 -1
- package/services/entity-permission.service.d.ts +1 -0
- package/services/flow-definition.service.d.ts +1 -1
- package/services/flow-runtime.service.d.ts +1 -0
- package/services/generic-entity.service.d.ts +1 -0
- package/services/schema-change-executor.service.d.ts +1 -0
- package/services/schema-dialect-adapter.service.d.ts +2 -0
package/fesm/897.js
CHANGED
|
@@ -269,8 +269,6 @@ _ts_decorate([
|
|
|
269
269
|
], EntityFlowNamesDto.prototype, "delete", void 0);
|
|
270
270
|
/** Labels of the inputs the endpoints add besides the entity fields. */ class EntityFlowInputLabelsDto {
|
|
271
271
|
id;
|
|
272
|
-
ids;
|
|
273
|
-
search;
|
|
274
272
|
}
|
|
275
273
|
_ts_decorate([
|
|
276
274
|
(0,_nestjs_swagger__rspack_import_1.ApiPropertyOptional)({
|
|
@@ -281,24 +279,6 @@ _ts_decorate([
|
|
|
281
279
|
(0,class_validator__rspack_import_3.MaxLength)(FLOW_TEXT_MAX_LENGTH),
|
|
282
280
|
_ts_metadata("design:type", String)
|
|
283
281
|
], EntityFlowInputLabelsDto.prototype, "id", void 0);
|
|
284
|
-
_ts_decorate([
|
|
285
|
-
(0,_nestjs_swagger__rspack_import_1.ApiPropertyOptional)({
|
|
286
|
-
example: 'Ids'
|
|
287
|
-
}),
|
|
288
|
-
(0,class_validator__rspack_import_3.IsString)(),
|
|
289
|
-
(0,class_validator__rspack_import_3.IsOptional)(),
|
|
290
|
-
(0,class_validator__rspack_import_3.MaxLength)(FLOW_TEXT_MAX_LENGTH),
|
|
291
|
-
_ts_metadata("design:type", String)
|
|
292
|
-
], EntityFlowInputLabelsDto.prototype, "ids", void 0);
|
|
293
|
-
_ts_decorate([
|
|
294
|
-
(0,_nestjs_swagger__rspack_import_1.ApiPropertyOptional)({
|
|
295
|
-
example: 'Search'
|
|
296
|
-
}),
|
|
297
|
-
(0,class_validator__rspack_import_3.IsString)(),
|
|
298
|
-
(0,class_validator__rspack_import_3.IsOptional)(),
|
|
299
|
-
(0,class_validator__rspack_import_3.MaxLength)(FLOW_TEXT_MAX_LENGTH),
|
|
300
|
-
_ts_metadata("design:type", String)
|
|
301
|
-
], EntityFlowInputLabelsDto.prototype, "search", void 0);
|
|
302
282
|
/**
|
|
303
283
|
* Text written into the entity's flow, sent by the designer in the creator's language so the
|
|
304
284
|
* saved flow reads like one the user wrote. Anything left out falls back to English.
|
|
@@ -306,6 +286,7 @@ _ts_decorate([
|
|
|
306
286
|
names;
|
|
307
287
|
inputLabels;
|
|
308
288
|
noMatchMessage;
|
|
289
|
+
deleteOnlyMessage;
|
|
309
290
|
}
|
|
310
291
|
_ts_decorate([
|
|
311
292
|
(0,_nestjs_swagger__rspack_import_1.ApiPropertyOptional)({
|
|
@@ -335,6 +316,16 @@ _ts_decorate([
|
|
|
335
316
|
(0,class_validator__rspack_import_3.MaxLength)(255),
|
|
336
317
|
_ts_metadata("design:type", String)
|
|
337
318
|
], EntityFlowTextsDto.prototype, "noMatchMessage", void 0);
|
|
319
|
+
_ts_decorate([
|
|
320
|
+
(0,_nestjs_swagger__rspack_import_1.ApiPropertyOptional)({
|
|
321
|
+
description: 'Message of the 400 answer of the delete endpoint for a restore or permanent delete',
|
|
322
|
+
example: 'Only delete is supported.'
|
|
323
|
+
}),
|
|
324
|
+
(0,class_validator__rspack_import_3.IsString)(),
|
|
325
|
+
(0,class_validator__rspack_import_3.IsOptional)(),
|
|
326
|
+
(0,class_validator__rspack_import_3.MaxLength)(255),
|
|
327
|
+
_ts_metadata("design:type", String)
|
|
328
|
+
], EntityFlowTextsDto.prototype, "deleteOnlyMessage", void 0);
|
|
338
329
|
/**
|
|
339
330
|
* Creates a dynamic entity and its initial table in one DDL transaction.
|
|
340
331
|
* Consumed by SchemaSyncService.createEntity, not by the generic ApiController
|
|
@@ -1181,6 +1172,41 @@ const FLOW_NODE_TYPES = [
|
|
|
1181
1172
|
'object',
|
|
1182
1173
|
'list'
|
|
1183
1174
|
];
|
|
1175
|
+
/**
|
|
1176
|
+
* Which API controller endpoint a Request step stands in for. It fixes the body shape (a list for the
|
|
1177
|
+
* `*_many` / `bulk_upsert` ones) and adds that endpoint's own fields ahead of the designer's: get_all takes
|
|
1178
|
+
* `FilterAndPaginationDto` (`filter`, `pagination`, `sort`, `select`, `withDeleted`; search arrives as `?q=`),
|
|
1179
|
+
* get_by_id `{ id, select }`, get_by_ids `{ ids, select }`, update / update_many an `id`, delete `DeleteDto`
|
|
1180
|
+
* (`id`: one id or a list, read as a list; `type`). custom (default): only the declared body and fields.
|
|
1181
|
+
*/ const FLOW_REQUEST_CONTRACTS = [
|
|
1182
|
+
'custom',
|
|
1183
|
+
'get_all',
|
|
1184
|
+
'get_by_id',
|
|
1185
|
+
'get_by_ids',
|
|
1186
|
+
'get_by_filter',
|
|
1187
|
+
'insert',
|
|
1188
|
+
'insert_many',
|
|
1189
|
+
'update',
|
|
1190
|
+
'update_many',
|
|
1191
|
+
'bulk_upsert',
|
|
1192
|
+
'delete'
|
|
1193
|
+
];
|
|
1194
|
+
const LIST_BODY_CONTRACTS = new Set([
|
|
1195
|
+
'insert_many',
|
|
1196
|
+
'update_many',
|
|
1197
|
+
'bulk_upsert'
|
|
1198
|
+
]);
|
|
1199
|
+
/**
|
|
1200
|
+
* The shape a Respond step answers in. raw (default): the body exactly as built. The others are the API
|
|
1201
|
+
* controller envelope `{ success, message, messageKey, messageVariables?, data?, meta? }`: single (`data`
|
|
1202
|
+
* one value), list (`data` a list, `meta` paging), bulk (`data` a list, `meta` counts), message (no data).
|
|
1203
|
+
*/ const FLOW_RESPONSE_FORMATS = [
|
|
1204
|
+
'raw',
|
|
1205
|
+
'single',
|
|
1206
|
+
'list',
|
|
1207
|
+
'bulk',
|
|
1208
|
+
'message'
|
|
1209
|
+
];
|
|
1184
1210
|
const FLOW_INPUT_TYPES = [
|
|
1185
1211
|
'string',
|
|
1186
1212
|
'text',
|
|
@@ -1305,6 +1331,119 @@ const FLOW_SLUG_PATTERN = /^[a-z][a-z0-9-]{2,62}$/;
|
|
|
1305
1331
|
const FLOW_INPUT_NAME_PATTERN = /^[A-Za-z][A-Za-z0-9_]{0,59}$/;
|
|
1306
1332
|
const FLOW_ENDPOINT_PATH_PATTERN = /^[a-z][a-z0-9-]{0,62}$/;
|
|
1307
1333
|
/** A record, user or company id. */ const FLOW_ID_PATTERN = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
|
|
1334
|
+
const SELECT_FIELD = {
|
|
1335
|
+
name: 'select',
|
|
1336
|
+
type: 'array',
|
|
1337
|
+
itemType: 'string',
|
|
1338
|
+
maxLength: 64
|
|
1339
|
+
};
|
|
1340
|
+
/** The fields an API controller endpoint's DTO takes, checked ahead of the designer's own. */ function contractFields(contract) {
|
|
1341
|
+
switch(contract){
|
|
1342
|
+
case 'get_all':
|
|
1343
|
+
return [
|
|
1344
|
+
{
|
|
1345
|
+
name: 'filter',
|
|
1346
|
+
type: 'object'
|
|
1347
|
+
},
|
|
1348
|
+
{
|
|
1349
|
+
name: 'pagination',
|
|
1350
|
+
type: 'object',
|
|
1351
|
+
fields: [
|
|
1352
|
+
{
|
|
1353
|
+
name: 'currentPage',
|
|
1354
|
+
type: 'integer',
|
|
1355
|
+
required: true,
|
|
1356
|
+
default: 0,
|
|
1357
|
+
min: 0
|
|
1358
|
+
},
|
|
1359
|
+
{
|
|
1360
|
+
name: 'pageSize',
|
|
1361
|
+
type: 'integer',
|
|
1362
|
+
required: true,
|
|
1363
|
+
default: 10,
|
|
1364
|
+
min: 1,
|
|
1365
|
+
max: FLOW_LIMITS.MAX_QUERY_LIMIT
|
|
1366
|
+
}
|
|
1367
|
+
]
|
|
1368
|
+
},
|
|
1369
|
+
{
|
|
1370
|
+
name: 'sort',
|
|
1371
|
+
type: 'object'
|
|
1372
|
+
},
|
|
1373
|
+
SELECT_FIELD,
|
|
1374
|
+
{
|
|
1375
|
+
name: 'withDeleted',
|
|
1376
|
+
type: 'boolean'
|
|
1377
|
+
}
|
|
1378
|
+
];
|
|
1379
|
+
case 'get_by_id':
|
|
1380
|
+
return [
|
|
1381
|
+
{
|
|
1382
|
+
name: 'id',
|
|
1383
|
+
type: 'uuid',
|
|
1384
|
+
required: true
|
|
1385
|
+
},
|
|
1386
|
+
SELECT_FIELD
|
|
1387
|
+
];
|
|
1388
|
+
case 'get_by_ids':
|
|
1389
|
+
return [
|
|
1390
|
+
{
|
|
1391
|
+
name: 'ids',
|
|
1392
|
+
type: 'array',
|
|
1393
|
+
itemType: 'uuid',
|
|
1394
|
+
required: true
|
|
1395
|
+
},
|
|
1396
|
+
SELECT_FIELD
|
|
1397
|
+
];
|
|
1398
|
+
case 'update':
|
|
1399
|
+
case 'update_many':
|
|
1400
|
+
return [
|
|
1401
|
+
{
|
|
1402
|
+
name: 'id',
|
|
1403
|
+
type: 'uuid',
|
|
1404
|
+
required: true
|
|
1405
|
+
}
|
|
1406
|
+
];
|
|
1407
|
+
case 'delete':
|
|
1408
|
+
return [
|
|
1409
|
+
{
|
|
1410
|
+
name: 'id',
|
|
1411
|
+
type: 'array',
|
|
1412
|
+
itemType: 'uuid',
|
|
1413
|
+
required: true
|
|
1414
|
+
},
|
|
1415
|
+
{
|
|
1416
|
+
name: 'type',
|
|
1417
|
+
type: 'choice',
|
|
1418
|
+
options: [
|
|
1419
|
+
'delete',
|
|
1420
|
+
'restore',
|
|
1421
|
+
'permanent'
|
|
1422
|
+
],
|
|
1423
|
+
required: true
|
|
1424
|
+
}
|
|
1425
|
+
];
|
|
1426
|
+
default:
|
|
1427
|
+
return [];
|
|
1428
|
+
}
|
|
1429
|
+
}
|
|
1430
|
+
/** A Request step's contract; an unknown one reads as custom, which the validator refuses on save. */ function triggerContract(config) {
|
|
1431
|
+
return config.contract && FLOW_REQUEST_CONTRACTS.includes(config.contract) ? config.contract : 'custom';
|
|
1432
|
+
}
|
|
1433
|
+
/** The body a Request step takes: the contract's, or for custom the declared one. */ function endpointBody(config) {
|
|
1434
|
+
const contract = triggerContract(config);
|
|
1435
|
+
const declared = Array.isArray(config.inputSchema) ? config.inputSchema : [];
|
|
1436
|
+
const own = contractFields(contract);
|
|
1437
|
+
const taken = new Set(own.map((f)=>f.name));
|
|
1438
|
+
return {
|
|
1439
|
+
contract,
|
|
1440
|
+
bodyType: contract === 'custom' ? config.bodyType ?? 'object' : LIST_BODY_CONTRACTS.has(contract) ? 'list' : 'object',
|
|
1441
|
+
inputSchema: [
|
|
1442
|
+
...own,
|
|
1443
|
+
...declared.filter((f)=>!taken.has(f?.name))
|
|
1444
|
+
]
|
|
1445
|
+
};
|
|
1446
|
+
}
|
|
1308
1447
|
/** Who may start a run at a Request step; an unknown mode reads as the default, which the validator refuses on save. */ function endpointAuth(config) {
|
|
1309
1448
|
const authMode = config.authMode && FLOW_AUTH_MODES.includes(config.authMode) ? config.authMode : DEFAULT_AUTH_MODE;
|
|
1310
1449
|
return {
|
|
@@ -1327,8 +1466,7 @@ const FLOW_ENDPOINT_PATH_PATTERN = /^[a-z][a-z0-9-]{0,62}$/;
|
|
|
1327
1466
|
return {
|
|
1328
1467
|
nodeId: node.id,
|
|
1329
1468
|
path,
|
|
1330
|
-
|
|
1331
|
-
inputSchema: Array.isArray(config.inputSchema) ? config.inputSchema : [],
|
|
1469
|
+
...endpointBody(config),
|
|
1332
1470
|
...endpointAuth(config),
|
|
1333
1471
|
isTransactional: config.isTransactional === true,
|
|
1334
1472
|
timeoutMs: config.timeoutMs ?? FLOW_LIMITS.DEFAULT_TIMEOUT_MS,
|
|
@@ -1389,11 +1527,14 @@ const FLOW_ENDPOINT_PATH_PATTERN = /^[a-z][a-z0-9-]{0,62}$/;
|
|
|
1389
1527
|
__webpack_require__.d(__webpack_exports__, {
|
|
1390
1528
|
IE: () => (startEndpoint),
|
|
1391
1529
|
Xr: () => (flowEndpoints),
|
|
1530
|
+
_h: () => (contractFields),
|
|
1392
1531
|
a5: () => (portsOf),
|
|
1393
1532
|
um: () => (triggerPath),
|
|
1533
|
+
v7: () => (triggerContract),
|
|
1394
1534
|
vS: () => (findEndpoint),
|
|
1395
1535
|
xA: () => (isStoredApiKey)
|
|
1396
1536
|
}, {
|
|
1537
|
+
A4: FLOW_RESPONSE_FORMATS,
|
|
1397
1538
|
At: NON_CONTINUABLE_NODE_TYPES,
|
|
1398
1539
|
B9: FLOW_EMAIL_TARGETS,
|
|
1399
1540
|
Dn: RECORD_WRITE_TARGETS,
|
|
@@ -1415,6 +1556,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
1415
1556
|
fP: isFunctionFlow,
|
|
1416
1557
|
fZ: FLOW_INPUT_NAME_PATTERN,
|
|
1417
1558
|
iM: FLOW_ACCESS_SUBJECTS,
|
|
1559
|
+
j_: FLOW_REQUEST_CONTRACTS,
|
|
1418
1560
|
q2: FLOW_NODE_TYPES,
|
|
1419
1561
|
sk: FLOW_BRANCH_COMPANIES,
|
|
1420
1562
|
v1: FLOW_EMAIL_MODES,
|
package/fesm/946.js
CHANGED
|
@@ -1522,6 +1522,10 @@ const IMPORT_BODY = {
|
|
|
1522
1522
|
type: 'boolean',
|
|
1523
1523
|
description: 'Deprecate fields this environment has and the bundle does not (their columns and data stay)'
|
|
1524
1524
|
},
|
|
1525
|
+
deactivateMissingFlows: {
|
|
1526
|
+
type: 'boolean',
|
|
1527
|
+
description: 'Switch off (and publish) the live flows this environment has and the bundle does not (they are kept, not deleted)'
|
|
1528
|
+
},
|
|
1525
1529
|
confirm: {
|
|
1526
1530
|
type: 'boolean',
|
|
1527
1531
|
description: 'apply-import: acknowledge steps that lose (or may lose) data'
|
|
@@ -1913,7 +1917,7 @@ class FlowAccessGuard {
|
|
|
1913
1917
|
request.flowDefinition = flow;
|
|
1914
1918
|
request.flowEndpoint = endpoint;
|
|
1915
1919
|
const ip = request.ip ?? request.socket?.remoteAddress ?? 'unknown';
|
|
1916
|
-
if (!limiter.hit(`${flow.id}|${endpoint.nodeId}|${ip}`, endpoint.rateLimitPerMinute)) {
|
|
1920
|
+
if (!limiter.hit(`${runtime.tenantScope()}|${flow.id}|${endpoint.nodeId}|${ip}`, endpoint.rateLimitPerMinute)) {
|
|
1917
1921
|
throw new common_.HttpException({
|
|
1918
1922
|
message: 'Too many requests. Try again in a minute.',
|
|
1919
1923
|
messageKey: message_keys/* .FLOW_MESSAGES.RATE_LIMITED */.wu.RATE_LIMITED
|
package/fesm/dtos/index.js
CHANGED
|
@@ -383,6 +383,7 @@ _ts_decorate([
|
|
|
383
383
|
/** Form values arrive as text: `true` / `false` become booleans, anything else is left for the validator to refuse. */ const FormBoolean = ()=>(0,class_transformer__rspack_import_1.Transform)(({ value })=>value === 'true' ? true : value === 'false' ? false : value);
|
|
384
384
|
/** The form fields sent with the bundle file to plan-import / apply-import. */ class ImportBundleOptionsDto {
|
|
385
385
|
deprecateMissingFields;
|
|
386
|
+
deactivateMissingFlows;
|
|
386
387
|
confirm;
|
|
387
388
|
expectedChecksum;
|
|
388
389
|
expectedPlanChecksum;
|
|
@@ -397,6 +398,16 @@ _ts_decorate([
|
|
|
397
398
|
(0,class_validator__rspack_import_2.IsBoolean)(),
|
|
398
399
|
_ts_metadata("design:type", Boolean)
|
|
399
400
|
], ImportBundleOptionsDto.prototype, "deprecateMissingFields", void 0);
|
|
401
|
+
_ts_decorate([
|
|
402
|
+
(0,_nestjs_swagger__rspack_import_0.ApiPropertyOptional)({
|
|
403
|
+
description: 'Switch off (and publish) the live flows this environment has and the bundle does not (they are kept, not deleted)',
|
|
404
|
+
default: false
|
|
405
|
+
}),
|
|
406
|
+
(0,class_validator__rspack_import_2.IsOptional)(),
|
|
407
|
+
FormBoolean(),
|
|
408
|
+
(0,class_validator__rspack_import_2.IsBoolean)(),
|
|
409
|
+
_ts_metadata("design:type", Boolean)
|
|
410
|
+
], ImportBundleOptionsDto.prototype, "deactivateMissingFlows", void 0);
|
|
400
411
|
_ts_decorate([
|
|
401
412
|
(0,_nestjs_swagger__rspack_import_0.ApiPropertyOptional)({
|
|
402
413
|
description: 'apply-import: acknowledge steps that lose (or may lose) data',
|
package/fesm/guards/index.js
CHANGED
|
@@ -213,7 +213,7 @@ class FlowAccessGuard {
|
|
|
213
213
|
request.flowDefinition = flow;
|
|
214
214
|
request.flowEndpoint = endpoint;
|
|
215
215
|
const ip = request.ip ?? request.socket?.remoteAddress ?? 'unknown';
|
|
216
|
-
if (!limiter.hit(`${flow.id}|${endpoint.nodeId}|${ip}`, endpoint.rateLimitPerMinute)) {
|
|
216
|
+
if (!limiter.hit(`${runtime.tenantScope()}|${flow.id}|${endpoint.nodeId}|${ip}`, endpoint.rateLimitPerMinute)) {
|
|
217
217
|
throw new common_.HttpException({
|
|
218
218
|
message: 'Too many requests. Try again in a minute.',
|
|
219
219
|
messageKey: message_keys/* .FLOW_MESSAGES.RATE_LIMITED */.wu.RATE_LIMITED
|
package/fesm/index.js
CHANGED
|
@@ -178,6 +178,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
178
178
|
asR: () => (/* reexport */ flow_types/* .FLOW_NOTIFICATION_TARGETS */.as),
|
|
179
179
|
LGk: () => (/* reexport */ flow_types/* .FLOW_NOTIFICATION_TYPES */.LG),
|
|
180
180
|
$jn: () => (/* reexport */ interfaces/* .FLOW_REFERENCE_PROVIDER */.$j),
|
|
181
|
+
j_l: () => (/* reexport */ flow_types/* .FLOW_REQUEST_CONTRACTS */.j_),
|
|
182
|
+
A49: () => (/* reexport */ flow_types/* .FLOW_RESPONSE_FORMATS */.A4),
|
|
181
183
|
IPs: () => (/* reexport */ config/* .FLOW_SHAPE_MESSAGES */.IP),
|
|
182
184
|
CBl: () => (/* reexport */ config/* .FLOW_SKIP_MESSAGES */.CB),
|
|
183
185
|
YDu: () => (/* reexport */ flow_types/* .FLOW_SLUG_PATTERN */.YD),
|
|
@@ -250,6 +252,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
250
252
|
DGs: () => (/* reexport */ services/* .actorMetadata */.DG),
|
|
251
253
|
$6C: () => (/* reexport */ services/* .addUnique */.$6),
|
|
252
254
|
gTr: () => (/* reexport */ services/* .applyVariables */.gT),
|
|
255
|
+
b$x: () => (/* reexport */ services/* .asksExecutePermission */.b$),
|
|
253
256
|
fYv: () => (/* reexport */ services/* .assertIndexableField */.fY),
|
|
254
257
|
kV_: () => (/* reexport */ services/* .assertValidIdentifier */.kV),
|
|
255
258
|
HKw: () => (/* reexport */ services/* .auditColumns */.HK),
|
|
@@ -262,14 +265,17 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
262
265
|
r7E: () => (/* reexport */ flow_graph_validator/* .callProblems */.r7),
|
|
263
266
|
Q5b: () => (/* reexport */ services/* .calledFlowSlugs */.Q5),
|
|
264
267
|
djW: () => (/* reexport */ services/* .canonicalJson */.dj),
|
|
268
|
+
_hm: () => (/* reexport */ flow_types/* .contractFields */._h),
|
|
265
269
|
ErJ: () => (/* reexport */ services/* .defaultFlowPermissionCode */.Er),
|
|
266
270
|
ant: () => (/* reexport */ services/* .describeImpact */.an),
|
|
267
271
|
zbb: () => (/* reexport */ services/* .diffEntities */.Sy),
|
|
268
272
|
x26: () => (/* reexport */ services/* .entityFlowSlug */.x2),
|
|
273
|
+
ZMI: () => (/* reexport */ services/* .entityPermissionCodes */.ZM),
|
|
269
274
|
O$7: () => (/* reexport */ flow_errors/* .errorRef */.O$),
|
|
270
275
|
lj$: () => (/* reexport */ services/* .extractVariables */.lj),
|
|
271
276
|
vSY: () => (/* reexport */ flow_types/* .findEndpoint */.vS),
|
|
272
277
|
HQ4: () => (/* reexport */ services/* .fitIdentifier */.HQ),
|
|
278
|
+
f7W: () => (/* reexport */ services/* .fixedIds */.f7),
|
|
273
279
|
XrQ: () => (/* reexport */ flow_types/* .flowEndpoints */.Xr),
|
|
274
280
|
YW2: () => (/* reexport */ services/* .flowNotFound */.YW),
|
|
275
281
|
j4A: () => (/* reexport */ services/* .flowPermissions */.j4),
|
|
@@ -291,6 +297,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
291
297
|
Ogp: () => (/* reexport */ services/* .matchDefinitions */.Og),
|
|
292
298
|
dA2: () => (/* reexport */ flow_types/* .nodeLabel */.dA),
|
|
293
299
|
qGq: () => (/* reexport */ services/* .orderFlows */.qG),
|
|
300
|
+
QJk: () => (/* reexport */ services/* .permissionCodes */.QJ),
|
|
294
301
|
v78: () => (/* reexport */ services/* .plainIndex */.v7),
|
|
295
302
|
pp8: () => (/* reexport */ services/* .planTypeConversion */.IM),
|
|
296
303
|
a58: () => (/* reexport */ flow_types/* .portsOf */.a5),
|
|
@@ -305,12 +312,14 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
305
312
|
dXj: () => (/* reexport */ services/* .stripApiKeys */.dX),
|
|
306
313
|
uyQ: () => (/* reexport */ services/* .tableUnique */.uy),
|
|
307
314
|
RKn: () => (/* reexport */ services/* .toFlowSettings */.RK),
|
|
315
|
+
v7l: () => (/* reexport */ flow_types/* .triggerContract */.v7),
|
|
308
316
|
umv: () => (/* reexport */ flow_types/* .triggerPath */.um),
|
|
309
317
|
jpR: () => (/* reexport */ services/* .typeFamily */.jp),
|
|
310
318
|
u99: () => (/* reexport */ flow_graph_validator/* .usesPermissionFunction */.u9),
|
|
311
319
|
nCR: () => (/* reexport */ flow_graph_validator/* .validateFlow */.nC),
|
|
312
320
|
eVP: () => (/* reexport */ services/* .validateRecord */.eV),
|
|
313
|
-
lwz: () => (/* reexport */ services/* .workingCopy */.lw)
|
|
321
|
+
lwz: () => (/* reexport */ services/* .workingCopy */.lw),
|
|
322
|
+
l6E: () => (/* reexport */ services/* .writtenSecrets */.l6)
|
|
314
323
|
});
|
|
315
324
|
|
|
316
325
|
// EXTERNAL MODULE: ./projects/nestjs-entity-builder/src/config/index.ts
|
|
@@ -496,6 +505,8 @@ var __webpack_exports__FLOW_NODE_TYPES = __webpack_exports__.q2R;
|
|
|
496
505
|
var __webpack_exports__FLOW_NOTIFICATION_TARGETS = __webpack_exports__.asR;
|
|
497
506
|
var __webpack_exports__FLOW_NOTIFICATION_TYPES = __webpack_exports__.LGk;
|
|
498
507
|
var __webpack_exports__FLOW_REFERENCE_PROVIDER = __webpack_exports__.$jn;
|
|
508
|
+
var __webpack_exports__FLOW_REQUEST_CONTRACTS = __webpack_exports__.j_l;
|
|
509
|
+
var __webpack_exports__FLOW_RESPONSE_FORMATS = __webpack_exports__.A49;
|
|
499
510
|
var __webpack_exports__FLOW_SHAPE_MESSAGES = __webpack_exports__.IPs;
|
|
500
511
|
var __webpack_exports__FLOW_SKIP_MESSAGES = __webpack_exports__.CBl;
|
|
501
512
|
var __webpack_exports__FLOW_SLUG_PATTERN = __webpack_exports__.YDu;
|
|
@@ -568,6 +579,7 @@ var __webpack_exports__UpdateFieldDefinitionDto = __webpack_exports__.C3I;
|
|
|
568
579
|
var __webpack_exports__actorMetadata = __webpack_exports__.DGs;
|
|
569
580
|
var __webpack_exports__addUnique = __webpack_exports__.$6C;
|
|
570
581
|
var __webpack_exports__applyVariables = __webpack_exports__.gTr;
|
|
582
|
+
var __webpack_exports__asksExecutePermission = __webpack_exports__.b$x;
|
|
571
583
|
var __webpack_exports__assertIndexableField = __webpack_exports__.fYv;
|
|
572
584
|
var __webpack_exports__assertValidIdentifier = __webpack_exports__.kV_;
|
|
573
585
|
var __webpack_exports__auditColumns = __webpack_exports__.HKw;
|
|
@@ -580,14 +592,17 @@ var __webpack_exports__byCode = __webpack_exports__.VU4;
|
|
|
580
592
|
var __webpack_exports__callProblems = __webpack_exports__.r7E;
|
|
581
593
|
var __webpack_exports__calledFlowSlugs = __webpack_exports__.Q5b;
|
|
582
594
|
var __webpack_exports__canonicalJson = __webpack_exports__.djW;
|
|
595
|
+
var __webpack_exports__contractFields = __webpack_exports__._hm;
|
|
583
596
|
var __webpack_exports__defaultFlowPermissionCode = __webpack_exports__.ErJ;
|
|
584
597
|
var __webpack_exports__describeImpact = __webpack_exports__.ant;
|
|
585
598
|
var __webpack_exports__diffEntities = __webpack_exports__.zbb;
|
|
586
599
|
var __webpack_exports__entityFlowSlug = __webpack_exports__.x26;
|
|
600
|
+
var __webpack_exports__entityPermissionCodes = __webpack_exports__.ZMI;
|
|
587
601
|
var __webpack_exports__errorRef = __webpack_exports__.O$7;
|
|
588
602
|
var __webpack_exports__extractVariables = __webpack_exports__.lj$;
|
|
589
603
|
var __webpack_exports__findEndpoint = __webpack_exports__.vSY;
|
|
590
604
|
var __webpack_exports__fitIdentifier = __webpack_exports__.HQ4;
|
|
605
|
+
var __webpack_exports__fixedIds = __webpack_exports__.f7W;
|
|
591
606
|
var __webpack_exports__flowEndpoints = __webpack_exports__.XrQ;
|
|
592
607
|
var __webpack_exports__flowNotFound = __webpack_exports__.YW2;
|
|
593
608
|
var __webpack_exports__flowPermissions = __webpack_exports__.j4A;
|
|
@@ -609,6 +624,7 @@ var __webpack_exports__mapSchemaError = __webpack_exports__.iwd;
|
|
|
609
624
|
var __webpack_exports__matchDefinitions = __webpack_exports__.Ogp;
|
|
610
625
|
var __webpack_exports__nodeLabel = __webpack_exports__.dA2;
|
|
611
626
|
var __webpack_exports__orderFlows = __webpack_exports__.qGq;
|
|
627
|
+
var __webpack_exports__permissionCodes = __webpack_exports__.QJk;
|
|
612
628
|
var __webpack_exports__plainIndex = __webpack_exports__.v78;
|
|
613
629
|
var __webpack_exports__planTypeConversion = __webpack_exports__.pp8;
|
|
614
630
|
var __webpack_exports__portsOf = __webpack_exports__.a58;
|
|
@@ -623,10 +639,12 @@ var __webpack_exports__startEndpoint = __webpack_exports__.IEC;
|
|
|
623
639
|
var __webpack_exports__stripApiKeys = __webpack_exports__.dXj;
|
|
624
640
|
var __webpack_exports__tableUnique = __webpack_exports__.uyQ;
|
|
625
641
|
var __webpack_exports__toFlowSettings = __webpack_exports__.RKn;
|
|
642
|
+
var __webpack_exports__triggerContract = __webpack_exports__.v7l;
|
|
626
643
|
var __webpack_exports__triggerPath = __webpack_exports__.umv;
|
|
627
644
|
var __webpack_exports__typeFamily = __webpack_exports__.jpR;
|
|
628
645
|
var __webpack_exports__usesPermissionFunction = __webpack_exports__.u99;
|
|
629
646
|
var __webpack_exports__validateFlow = __webpack_exports__.nCR;
|
|
630
647
|
var __webpack_exports__validateRecord = __webpack_exports__.eVP;
|
|
631
648
|
var __webpack_exports__workingCopy = __webpack_exports__.lwz;
|
|
632
|
-
export { __webpack_exports__ACTOR_BRANCH_METADATA_KEY as ACTOR_BRANCH_METADATA_KEY, __webpack_exports__BUNDLE_MESSAGES as BUNDLE_MESSAGES, __webpack_exports__BUNDLE_VARIABLE_NAME_PATTERN as BUNDLE_VARIABLE_NAME_PATTERN, __webpack_exports__BundleEntityDto as BundleEntityDto, __webpack_exports__BundleFieldDto as BundleFieldDto, __webpack_exports__BundleFlowDto as BundleFlowDto, __webpack_exports__CreateDynamicEntityDto as CreateDynamicEntityDto, __webpack_exports__CreateEntityDefinitionDto as CreateEntityDefinitionDto, __webpack_exports__CreateFieldDefinitionDto as CreateFieldDefinitionDto, __webpack_exports__DEFAULT_AUTH_MODE as DEFAULT_AUTH_MODE, __webpack_exports__DEFINITION_BUNDLE_FORMAT as DEFINITION_BUNDLE_FORMAT, __webpack_exports__DEFINITION_BUNDLE_VERSION as DEFINITION_BUNDLE_VERSION, __webpack_exports__DRAFT_TEST_RETAIN as DRAFT_TEST_RETAIN, __webpack_exports__DdlOperation as DdlOperation, __webpack_exports__DefinitionBundleController as DefinitionBundleController, __webpack_exports__DefinitionBundleDto as DefinitionBundleDto, __webpack_exports__DefinitionBundleService as DefinitionBundleService, __webpack_exports__DefinitionCacheService as DefinitionCacheService, __webpack_exports__DesignerWritableInterceptor as DesignerWritableInterceptor, __webpack_exports__DesignerWrites as DesignerWrites, __webpack_exports__EMPTY_FILTER_OPS as EMPTY_FILTER_OPS, __webpack_exports__ENTITY_BUILDER_EVENT_ENTITIES as ENTITY_BUILDER_EVENT_ENTITIES, __webpack_exports__ENTITY_BUILDER_EVENT_MODULE as ENTITY_BUILDER_EVENT_MODULE, __webpack_exports__ENTITY_BUILDER_MODULE_OPTIONS as ENTITY_BUILDER_MODULE_OPTIONS, __webpack_exports__ENTITY_BUNDLE_MAX_BYTES as ENTITY_BUNDLE_MAX_BYTES, __webpack_exports__ENTITY_CHANGE_KEYS as ENTITY_CHANGE_KEYS, __webpack_exports__ENTITY_CODE_MAX_LENGTH as ENTITY_CODE_MAX_LENGTH, __webpack_exports__ENTITY_CODE_PATTERN as ENTITY_CODE_PATTERN, __webpack_exports__ENTITY_COMPARED_KEYS as ENTITY_COMPARED_KEYS, __webpack_exports__ENTITY_DEFINITION_MESSAGES as ENTITY_DEFINITION_MESSAGES, __webpack_exports__ENTITY_FLOW_ENDPOINTS as ENTITY_FLOW_ENDPOINTS, __webpack_exports__ENTITY_FLOW_PATHS as ENTITY_FLOW_PATHS, __webpack_exports__ENTITY_TABLE_PREFIX as ENTITY_TABLE_PREFIX, __webpack_exports__EntityBuilderConfigService as EntityBuilderConfigService, __webpack_exports__EntityBuilderDataSourceProvider as EntityBuilderDataSourceProvider, __webpack_exports__EntityBuilderEntities as EntityBuilderEntities, __webpack_exports__EntityBuilderModule as EntityBuilderModule, __webpack_exports__EntityChangesDto as EntityChangesDto, __webpack_exports__EntityDefinition as EntityDefinition, __webpack_exports__EntityDefinitionController as EntityDefinitionController, __webpack_exports__EntityDefinitionResponseDto as EntityDefinitionResponseDto, __webpack_exports__EntityDefinitionService as EntityDefinitionService, __webpack_exports__EntityFieldSpecDto as EntityFieldSpecDto, __webpack_exports__EntityFlowInputLabelsDto as EntityFlowInputLabelsDto, __webpack_exports__EntityFlowNamesDto as EntityFlowNamesDto, __webpack_exports__EntityFlowTextsDto as EntityFlowTextsDto, __webpack_exports__EntityPermissionService as EntityPermissionService, __webpack_exports__EntityStatus as EntityStatus, __webpack_exports__ExportBundleDto as ExportBundleDto, __webpack_exports__FIELD_CHANGE_KEYS as FIELD_CHANGE_KEYS, __webpack_exports__FIELD_COMPARED_KEYS as FIELD_COMPARED_KEYS, __webpack_exports__FIELD_DEFINITION_MESSAGES as FIELD_DEFINITION_MESSAGES, __webpack_exports__FIELD_VALIDATION_MESSAGES as FIELD_VALIDATION_MESSAGES, __webpack_exports__FILTER_OP_VALUE_KIND as FILTER_OP_VALUE_KIND, __webpack_exports__FLOW_ACCESS_SUBJECTS as FLOW_ACCESS_SUBJECTS, __webpack_exports__FLOW_AUTH_MODES as FLOW_AUTH_MODES, __webpack_exports__FLOW_BODY_TYPES as FLOW_BODY_TYPES, __webpack_exports__FLOW_BRANCH_COMPANIES as FLOW_BRANCH_COMPANIES, __webpack_exports__FLOW_BRANCH_MATCHES as FLOW_BRANCH_MATCHES, __webpack_exports__FLOW_DEFINITION_MESSAGES as FLOW_DEFINITION_MESSAGES, __webpack_exports__FLOW_EMAIL_FORMATS as FLOW_EMAIL_FORMATS, __webpack_exports__FLOW_EMAIL_MODES as FLOW_EMAIL_MODES, __webpack_exports__FLOW_EMAIL_TARGETS as FLOW_EMAIL_TARGETS, __webpack_exports__FLOW_ENDPOINT_PATH_PATTERN as FLOW_ENDPOINT_PATH_PATTERN, __webpack_exports__FLOW_ERROR_MESSAGES as FLOW_ERROR_MESSAGES, __webpack_exports__FLOW_ID_PATTERN as FLOW_ID_PATTERN, __webpack_exports__FLOW_INPUT_NAME_PATTERN as FLOW_INPUT_NAME_PATTERN, __webpack_exports__FLOW_INPUT_TYPES as FLOW_INPUT_TYPES, __webpack_exports__FLOW_LIMITS as FLOW_LIMITS, __webpack_exports__FLOW_MESSAGES as FLOW_MESSAGES, __webpack_exports__FLOW_MESSAGE_SERVICES as FLOW_MESSAGE_SERVICES, __webpack_exports__FLOW_NODE_ID_PATTERN as FLOW_NODE_ID_PATTERN, __webpack_exports__FLOW_NODE_TYPES as FLOW_NODE_TYPES, __webpack_exports__FLOW_NOTIFICATION_TARGETS as FLOW_NOTIFICATION_TARGETS, __webpack_exports__FLOW_NOTIFICATION_TYPES as FLOW_NOTIFICATION_TYPES, __webpack_exports__FLOW_REFERENCE_PROVIDER as FLOW_REFERENCE_PROVIDER, __webpack_exports__FLOW_SHAPE_MESSAGES as FLOW_SHAPE_MESSAGES, __webpack_exports__FLOW_SKIP_MESSAGES as FLOW_SKIP_MESSAGES, __webpack_exports__FLOW_SLUG_PATTERN as FLOW_SLUG_PATTERN, __webpack_exports__FLOW_SUBJECT_MESSAGES as FLOW_SUBJECT_MESSAGES, __webpack_exports__FLOW_VALIDATION_MESSAGES as FLOW_VALIDATION_MESSAGES, __webpack_exports__FieldChangesDto as FieldChangesDto, __webpack_exports__FieldDefinition as FieldDefinition, __webpack_exports__FieldDefinitionController as FieldDefinitionController, __webpack_exports__FieldDefinitionResponseDto as FieldDefinitionResponseDto, __webpack_exports__FieldDefinitionService as FieldDefinitionService, __webpack_exports__FieldType as FieldType, __webpack_exports__FlowAccessGuard as FlowAccessGuard, __webpack_exports__FlowCodeError as FlowCodeError, __webpack_exports__FlowDefinition as FlowDefinition, __webpack_exports__FlowDefinitionController as FlowDefinitionController, __webpack_exports__FlowDefinitionService as FlowDefinitionService, __webpack_exports__FlowExecution as FlowExecution, __webpack_exports__FlowExecutionController as FlowExecutionController, __webpack_exports__FlowExecutionService as FlowExecutionService, __webpack_exports__FlowExecutorService as FlowExecutorService, __webpack_exports__FlowHttpError as FlowHttpError, __webpack_exports__FlowKeyedError as FlowKeyedError, __webpack_exports__FlowLimitError as FlowLimitError, __webpack_exports__FlowNodeError as FlowNodeError, __webpack_exports__FlowReferenceProvider as FlowReferenceProvider, __webpack_exports__FlowRuntimeController as FlowRuntimeController, __webpack_exports__FlowRuntimeService as FlowRuntimeService, __webpack_exports__FlowVersion as FlowVersion, __webpack_exports__GENERIC_RECORD_MESSAGES as GENERIC_RECORD_MESSAGES, __webpack_exports__GenericEntityService as GenericEntityService, __webpack_exports__GenericEntityServiceFactory as GenericEntityServiceFactory, __webpack_exports__ImportBundleOptionsDto as ImportBundleOptionsDto, __webpack_exports__KEYLESS_AUTH_MODES as KEYLESS_AUTH_MODES, __webpack_exports__LIST_FIELD_FILTER_OPS as LIST_FIELD_FILTER_OPS, __webpack_exports__NON_CONTINUABLE_NODE_TYPES as NON_CONTINUABLE_NODE_TYPES, __webpack_exports__NON_INDEXABLE_FIELD_TYPES as NON_INDEXABLE_FIELD_TYPES, __webpack_exports__RECORD_FILTER_LIMITS as RECORD_FILTER_LIMITS, __webpack_exports__RECORD_FILTER_OPS as RECORD_FILTER_OPS, __webpack_exports__RECORD_WRITE_TARGETS as RECORD_WRITE_TARGETS, __webpack_exports__RESERVED_WORDS as RESERVED_WORDS, __webpack_exports__RULE_COMPARISON_OPERATORS as RULE_COMPARISON_OPERATORS, __webpack_exports__RULE_DURATION_UNITS as RULE_DURATION_UNITS, __webpack_exports__RULE_ENGINE_LIMITS as RULE_ENGINE_LIMITS, __webpack_exports__RULE_ENGINE_MESSAGES as RULE_ENGINE_MESSAGES, __webpack_exports__RULE_PERMISSION_FUNCTIONS as RULE_PERMISSION_FUNCTIONS, __webpack_exports__RULE_REQUEST_FUNCTIONS as RULE_REQUEST_FUNCTIONS, __webpack_exports__RULE_TEMPLATE_MAX_LENGTH as RULE_TEMPLATE_MAX_LENGTH, __webpack_exports__ReferenceScannerService as ReferenceScannerService, __webpack_exports__RuleEngineService as RuleEngineService, __webpack_exports__SCHEMA_BLOCKER_MESSAGES as SCHEMA_BLOCKER_MESSAGES, __webpack_exports__SCHEMA_FINDING_MESSAGES as SCHEMA_FINDING_MESSAGES, __webpack_exports__SCHEMA_IMPACT_MESSAGES as SCHEMA_IMPACT_MESSAGES, __webpack_exports__SCHEMA_MESSAGES as SCHEMA_MESSAGES, __webpack_exports__SCHEMA_PRECHECK_MESSAGES as SCHEMA_PRECHECK_MESSAGES, __webpack_exports__SCHEMA_STEP_MESSAGES as SCHEMA_STEP_MESSAGES, __webpack_exports__SCHEMA_WARNING_MESSAGES as SCHEMA_WARNING_MESSAGES, __webpack_exports__SYSTEM_COLUMN_NAMES as SYSTEM_COLUMN_NAMES, __webpack_exports__SchemaChangeAction as SchemaChangeAction, __webpack_exports__SchemaChangeExecutor as SchemaChangeExecutor, __webpack_exports__SchemaChangeLog as SchemaChangeLog, __webpack_exports__SchemaChangeRequestDto as SchemaChangeRequestDto, __webpack_exports__SchemaCheckRequestDto as SchemaCheckRequestDto, __webpack_exports__SchemaDialectAdapterService as SchemaDialectAdapterService, __webpack_exports__SchemaEvolutionService as SchemaEvolutionService, __webpack_exports__SchemaRegistryService as SchemaRegistryService, __webpack_exports__SchemaSyncService as SchemaSyncService, __webpack_exports__TEXT_FILTER_OPS as TEXT_FILTER_OPS, __webpack_exports__UpdateEntityDefinitionDto as UpdateEntityDefinitionDto, __webpack_exports__UpdateFieldDefinitionDto as UpdateFieldDefinitionDto, __webpack_exports__actorMetadata as actorMetadata, __webpack_exports__addUnique as addUnique, __webpack_exports__applyVariables as applyVariables, __webpack_exports__assertIndexableField as assertIndexableField, __webpack_exports__assertValidIdentifier as assertValidIdentifier, __webpack_exports__auditColumns as auditColumns, __webpack_exports__buildEntityFlow as buildEntityFlow, __webpack_exports__buildFieldColumn as buildFieldColumn, __webpack_exports__buildSystemColumns as buildSystemColumns, __webpack_exports__bundleChecksum as bundleChecksum, __webpack_exports__bundleSubject as bundleSubject, __webpack_exports__byCode as byCode, __webpack_exports__callProblems as callProblems, __webpack_exports__calledFlowSlugs as calledFlowSlugs, __webpack_exports__canonicalJson as canonicalJson, __webpack_exports__defaultFlowPermissionCode as defaultFlowPermissionCode, __webpack_exports__describeImpact as describeImpact, __webpack_exports__diffEntities as diffEntities, __webpack_exports__entityFlowSlug as entityFlowSlug, __webpack_exports__errorRef as errorRef, __webpack_exports__extractVariables as extractVariables, __webpack_exports__findEndpoint as findEndpoint, __webpack_exports__fitIdentifier as fitIdentifier, __webpack_exports__flowEndpoints as flowEndpoints, __webpack_exports__flowNotFound as flowNotFound, __webpack_exports__flowPermissions as flowPermissions, __webpack_exports__flowTimeout as flowTimeout, __webpack_exports__getEntityBuilderEntities as getEntityBuilderEntities, __webpack_exports__indexName as indexName, __webpack_exports__isDestructiveSchemaAction as isDestructiveSchemaAction, __webpack_exports__isFilterRange as isFilterRange, __webpack_exports__isFunctionFlow as isFunctionFlow, __webpack_exports__isIndexableFieldType as isIndexableFieldType, __webpack_exports__isMessageNode as isMessageNode, __webpack_exports__isPermissionFunction as isPermissionFunction, __webpack_exports__isPublished as isPublished, __webpack_exports__isRecordFilterCondition as isRecordFilterCondition, __webpack_exports__isRuleGroup as isRuleGroup, __webpack_exports__isStoredApiKey as isStoredApiKey, __webpack_exports__mapDatabaseError as mapDatabaseError, __webpack_exports__mapSchemaError as mapSchemaError, __webpack_exports__matchDefinitions as matchDefinitions, __webpack_exports__nodeLabel as nodeLabel, __webpack_exports__orderFlows as orderFlows, __webpack_exports__plainIndex as plainIndex, __webpack_exports__planTypeConversion as planTypeConversion, __webpack_exports__portsOf as portsOf, __webpack_exports__readBundleFile as readBundleFile, __webpack_exports__relationTargetCodes as relationTargetCodes, __webpack_exports__requestInfo as requestInfo, __webpack_exports__sameColumns as sameColumns, __webpack_exports__snapshotOf as snapshotOf, __webpack_exports__softDeleteColumn as softDeleteColumn, __webpack_exports__sqlTypeFor as sqlTypeFor, __webpack_exports__startEndpoint as startEndpoint, __webpack_exports__stripApiKeys as stripApiKeys, __webpack_exports__tableUnique as tableUnique, __webpack_exports__toFlowSettings as toFlowSettings, __webpack_exports__triggerPath as triggerPath, __webpack_exports__typeFamily as typeFamily, __webpack_exports__usesPermissionFunction as usesPermissionFunction, __webpack_exports__validateFlow as validateFlow, __webpack_exports__validateRecord as validateRecord, __webpack_exports__workingCopy as workingCopy };
|
|
649
|
+
var __webpack_exports__writtenSecrets = __webpack_exports__.l6E;
|
|
650
|
+
export { __webpack_exports__ACTOR_BRANCH_METADATA_KEY as ACTOR_BRANCH_METADATA_KEY, __webpack_exports__BUNDLE_MESSAGES as BUNDLE_MESSAGES, __webpack_exports__BUNDLE_VARIABLE_NAME_PATTERN as BUNDLE_VARIABLE_NAME_PATTERN, __webpack_exports__BundleEntityDto as BundleEntityDto, __webpack_exports__BundleFieldDto as BundleFieldDto, __webpack_exports__BundleFlowDto as BundleFlowDto, __webpack_exports__CreateDynamicEntityDto as CreateDynamicEntityDto, __webpack_exports__CreateEntityDefinitionDto as CreateEntityDefinitionDto, __webpack_exports__CreateFieldDefinitionDto as CreateFieldDefinitionDto, __webpack_exports__DEFAULT_AUTH_MODE as DEFAULT_AUTH_MODE, __webpack_exports__DEFINITION_BUNDLE_FORMAT as DEFINITION_BUNDLE_FORMAT, __webpack_exports__DEFINITION_BUNDLE_VERSION as DEFINITION_BUNDLE_VERSION, __webpack_exports__DRAFT_TEST_RETAIN as DRAFT_TEST_RETAIN, __webpack_exports__DdlOperation as DdlOperation, __webpack_exports__DefinitionBundleController as DefinitionBundleController, __webpack_exports__DefinitionBundleDto as DefinitionBundleDto, __webpack_exports__DefinitionBundleService as DefinitionBundleService, __webpack_exports__DefinitionCacheService as DefinitionCacheService, __webpack_exports__DesignerWritableInterceptor as DesignerWritableInterceptor, __webpack_exports__DesignerWrites as DesignerWrites, __webpack_exports__EMPTY_FILTER_OPS as EMPTY_FILTER_OPS, __webpack_exports__ENTITY_BUILDER_EVENT_ENTITIES as ENTITY_BUILDER_EVENT_ENTITIES, __webpack_exports__ENTITY_BUILDER_EVENT_MODULE as ENTITY_BUILDER_EVENT_MODULE, __webpack_exports__ENTITY_BUILDER_MODULE_OPTIONS as ENTITY_BUILDER_MODULE_OPTIONS, __webpack_exports__ENTITY_BUNDLE_MAX_BYTES as ENTITY_BUNDLE_MAX_BYTES, __webpack_exports__ENTITY_CHANGE_KEYS as ENTITY_CHANGE_KEYS, __webpack_exports__ENTITY_CODE_MAX_LENGTH as ENTITY_CODE_MAX_LENGTH, __webpack_exports__ENTITY_CODE_PATTERN as ENTITY_CODE_PATTERN, __webpack_exports__ENTITY_COMPARED_KEYS as ENTITY_COMPARED_KEYS, __webpack_exports__ENTITY_DEFINITION_MESSAGES as ENTITY_DEFINITION_MESSAGES, __webpack_exports__ENTITY_FLOW_ENDPOINTS as ENTITY_FLOW_ENDPOINTS, __webpack_exports__ENTITY_FLOW_PATHS as ENTITY_FLOW_PATHS, __webpack_exports__ENTITY_TABLE_PREFIX as ENTITY_TABLE_PREFIX, __webpack_exports__EntityBuilderConfigService as EntityBuilderConfigService, __webpack_exports__EntityBuilderDataSourceProvider as EntityBuilderDataSourceProvider, __webpack_exports__EntityBuilderEntities as EntityBuilderEntities, __webpack_exports__EntityBuilderModule as EntityBuilderModule, __webpack_exports__EntityChangesDto as EntityChangesDto, __webpack_exports__EntityDefinition as EntityDefinition, __webpack_exports__EntityDefinitionController as EntityDefinitionController, __webpack_exports__EntityDefinitionResponseDto as EntityDefinitionResponseDto, __webpack_exports__EntityDefinitionService as EntityDefinitionService, __webpack_exports__EntityFieldSpecDto as EntityFieldSpecDto, __webpack_exports__EntityFlowInputLabelsDto as EntityFlowInputLabelsDto, __webpack_exports__EntityFlowNamesDto as EntityFlowNamesDto, __webpack_exports__EntityFlowTextsDto as EntityFlowTextsDto, __webpack_exports__EntityPermissionService as EntityPermissionService, __webpack_exports__EntityStatus as EntityStatus, __webpack_exports__ExportBundleDto as ExportBundleDto, __webpack_exports__FIELD_CHANGE_KEYS as FIELD_CHANGE_KEYS, __webpack_exports__FIELD_COMPARED_KEYS as FIELD_COMPARED_KEYS, __webpack_exports__FIELD_DEFINITION_MESSAGES as FIELD_DEFINITION_MESSAGES, __webpack_exports__FIELD_VALIDATION_MESSAGES as FIELD_VALIDATION_MESSAGES, __webpack_exports__FILTER_OP_VALUE_KIND as FILTER_OP_VALUE_KIND, __webpack_exports__FLOW_ACCESS_SUBJECTS as FLOW_ACCESS_SUBJECTS, __webpack_exports__FLOW_AUTH_MODES as FLOW_AUTH_MODES, __webpack_exports__FLOW_BODY_TYPES as FLOW_BODY_TYPES, __webpack_exports__FLOW_BRANCH_COMPANIES as FLOW_BRANCH_COMPANIES, __webpack_exports__FLOW_BRANCH_MATCHES as FLOW_BRANCH_MATCHES, __webpack_exports__FLOW_DEFINITION_MESSAGES as FLOW_DEFINITION_MESSAGES, __webpack_exports__FLOW_EMAIL_FORMATS as FLOW_EMAIL_FORMATS, __webpack_exports__FLOW_EMAIL_MODES as FLOW_EMAIL_MODES, __webpack_exports__FLOW_EMAIL_TARGETS as FLOW_EMAIL_TARGETS, __webpack_exports__FLOW_ENDPOINT_PATH_PATTERN as FLOW_ENDPOINT_PATH_PATTERN, __webpack_exports__FLOW_ERROR_MESSAGES as FLOW_ERROR_MESSAGES, __webpack_exports__FLOW_ID_PATTERN as FLOW_ID_PATTERN, __webpack_exports__FLOW_INPUT_NAME_PATTERN as FLOW_INPUT_NAME_PATTERN, __webpack_exports__FLOW_INPUT_TYPES as FLOW_INPUT_TYPES, __webpack_exports__FLOW_LIMITS as FLOW_LIMITS, __webpack_exports__FLOW_MESSAGES as FLOW_MESSAGES, __webpack_exports__FLOW_MESSAGE_SERVICES as FLOW_MESSAGE_SERVICES, __webpack_exports__FLOW_NODE_ID_PATTERN as FLOW_NODE_ID_PATTERN, __webpack_exports__FLOW_NODE_TYPES as FLOW_NODE_TYPES, __webpack_exports__FLOW_NOTIFICATION_TARGETS as FLOW_NOTIFICATION_TARGETS, __webpack_exports__FLOW_NOTIFICATION_TYPES as FLOW_NOTIFICATION_TYPES, __webpack_exports__FLOW_REFERENCE_PROVIDER as FLOW_REFERENCE_PROVIDER, __webpack_exports__FLOW_REQUEST_CONTRACTS as FLOW_REQUEST_CONTRACTS, __webpack_exports__FLOW_RESPONSE_FORMATS as FLOW_RESPONSE_FORMATS, __webpack_exports__FLOW_SHAPE_MESSAGES as FLOW_SHAPE_MESSAGES, __webpack_exports__FLOW_SKIP_MESSAGES as FLOW_SKIP_MESSAGES, __webpack_exports__FLOW_SLUG_PATTERN as FLOW_SLUG_PATTERN, __webpack_exports__FLOW_SUBJECT_MESSAGES as FLOW_SUBJECT_MESSAGES, __webpack_exports__FLOW_VALIDATION_MESSAGES as FLOW_VALIDATION_MESSAGES, __webpack_exports__FieldChangesDto as FieldChangesDto, __webpack_exports__FieldDefinition as FieldDefinition, __webpack_exports__FieldDefinitionController as FieldDefinitionController, __webpack_exports__FieldDefinitionResponseDto as FieldDefinitionResponseDto, __webpack_exports__FieldDefinitionService as FieldDefinitionService, __webpack_exports__FieldType as FieldType, __webpack_exports__FlowAccessGuard as FlowAccessGuard, __webpack_exports__FlowCodeError as FlowCodeError, __webpack_exports__FlowDefinition as FlowDefinition, __webpack_exports__FlowDefinitionController as FlowDefinitionController, __webpack_exports__FlowDefinitionService as FlowDefinitionService, __webpack_exports__FlowExecution as FlowExecution, __webpack_exports__FlowExecutionController as FlowExecutionController, __webpack_exports__FlowExecutionService as FlowExecutionService, __webpack_exports__FlowExecutorService as FlowExecutorService, __webpack_exports__FlowHttpError as FlowHttpError, __webpack_exports__FlowKeyedError as FlowKeyedError, __webpack_exports__FlowLimitError as FlowLimitError, __webpack_exports__FlowNodeError as FlowNodeError, __webpack_exports__FlowReferenceProvider as FlowReferenceProvider, __webpack_exports__FlowRuntimeController as FlowRuntimeController, __webpack_exports__FlowRuntimeService as FlowRuntimeService, __webpack_exports__FlowVersion as FlowVersion, __webpack_exports__GENERIC_RECORD_MESSAGES as GENERIC_RECORD_MESSAGES, __webpack_exports__GenericEntityService as GenericEntityService, __webpack_exports__GenericEntityServiceFactory as GenericEntityServiceFactory, __webpack_exports__ImportBundleOptionsDto as ImportBundleOptionsDto, __webpack_exports__KEYLESS_AUTH_MODES as KEYLESS_AUTH_MODES, __webpack_exports__LIST_FIELD_FILTER_OPS as LIST_FIELD_FILTER_OPS, __webpack_exports__NON_CONTINUABLE_NODE_TYPES as NON_CONTINUABLE_NODE_TYPES, __webpack_exports__NON_INDEXABLE_FIELD_TYPES as NON_INDEXABLE_FIELD_TYPES, __webpack_exports__RECORD_FILTER_LIMITS as RECORD_FILTER_LIMITS, __webpack_exports__RECORD_FILTER_OPS as RECORD_FILTER_OPS, __webpack_exports__RECORD_WRITE_TARGETS as RECORD_WRITE_TARGETS, __webpack_exports__RESERVED_WORDS as RESERVED_WORDS, __webpack_exports__RULE_COMPARISON_OPERATORS as RULE_COMPARISON_OPERATORS, __webpack_exports__RULE_DURATION_UNITS as RULE_DURATION_UNITS, __webpack_exports__RULE_ENGINE_LIMITS as RULE_ENGINE_LIMITS, __webpack_exports__RULE_ENGINE_MESSAGES as RULE_ENGINE_MESSAGES, __webpack_exports__RULE_PERMISSION_FUNCTIONS as RULE_PERMISSION_FUNCTIONS, __webpack_exports__RULE_REQUEST_FUNCTIONS as RULE_REQUEST_FUNCTIONS, __webpack_exports__RULE_TEMPLATE_MAX_LENGTH as RULE_TEMPLATE_MAX_LENGTH, __webpack_exports__ReferenceScannerService as ReferenceScannerService, __webpack_exports__RuleEngineService as RuleEngineService, __webpack_exports__SCHEMA_BLOCKER_MESSAGES as SCHEMA_BLOCKER_MESSAGES, __webpack_exports__SCHEMA_FINDING_MESSAGES as SCHEMA_FINDING_MESSAGES, __webpack_exports__SCHEMA_IMPACT_MESSAGES as SCHEMA_IMPACT_MESSAGES, __webpack_exports__SCHEMA_MESSAGES as SCHEMA_MESSAGES, __webpack_exports__SCHEMA_PRECHECK_MESSAGES as SCHEMA_PRECHECK_MESSAGES, __webpack_exports__SCHEMA_STEP_MESSAGES as SCHEMA_STEP_MESSAGES, __webpack_exports__SCHEMA_WARNING_MESSAGES as SCHEMA_WARNING_MESSAGES, __webpack_exports__SYSTEM_COLUMN_NAMES as SYSTEM_COLUMN_NAMES, __webpack_exports__SchemaChangeAction as SchemaChangeAction, __webpack_exports__SchemaChangeExecutor as SchemaChangeExecutor, __webpack_exports__SchemaChangeLog as SchemaChangeLog, __webpack_exports__SchemaChangeRequestDto as SchemaChangeRequestDto, __webpack_exports__SchemaCheckRequestDto as SchemaCheckRequestDto, __webpack_exports__SchemaDialectAdapterService as SchemaDialectAdapterService, __webpack_exports__SchemaEvolutionService as SchemaEvolutionService, __webpack_exports__SchemaRegistryService as SchemaRegistryService, __webpack_exports__SchemaSyncService as SchemaSyncService, __webpack_exports__TEXT_FILTER_OPS as TEXT_FILTER_OPS, __webpack_exports__UpdateEntityDefinitionDto as UpdateEntityDefinitionDto, __webpack_exports__UpdateFieldDefinitionDto as UpdateFieldDefinitionDto, __webpack_exports__actorMetadata as actorMetadata, __webpack_exports__addUnique as addUnique, __webpack_exports__applyVariables as applyVariables, __webpack_exports__asksExecutePermission as asksExecutePermission, __webpack_exports__assertIndexableField as assertIndexableField, __webpack_exports__assertValidIdentifier as assertValidIdentifier, __webpack_exports__auditColumns as auditColumns, __webpack_exports__buildEntityFlow as buildEntityFlow, __webpack_exports__buildFieldColumn as buildFieldColumn, __webpack_exports__buildSystemColumns as buildSystemColumns, __webpack_exports__bundleChecksum as bundleChecksum, __webpack_exports__bundleSubject as bundleSubject, __webpack_exports__byCode as byCode, __webpack_exports__callProblems as callProblems, __webpack_exports__calledFlowSlugs as calledFlowSlugs, __webpack_exports__canonicalJson as canonicalJson, __webpack_exports__contractFields as contractFields, __webpack_exports__defaultFlowPermissionCode as defaultFlowPermissionCode, __webpack_exports__describeImpact as describeImpact, __webpack_exports__diffEntities as diffEntities, __webpack_exports__entityFlowSlug as entityFlowSlug, __webpack_exports__entityPermissionCodes as entityPermissionCodes, __webpack_exports__errorRef as errorRef, __webpack_exports__extractVariables as extractVariables, __webpack_exports__findEndpoint as findEndpoint, __webpack_exports__fitIdentifier as fitIdentifier, __webpack_exports__fixedIds as fixedIds, __webpack_exports__flowEndpoints as flowEndpoints, __webpack_exports__flowNotFound as flowNotFound, __webpack_exports__flowPermissions as flowPermissions, __webpack_exports__flowTimeout as flowTimeout, __webpack_exports__getEntityBuilderEntities as getEntityBuilderEntities, __webpack_exports__indexName as indexName, __webpack_exports__isDestructiveSchemaAction as isDestructiveSchemaAction, __webpack_exports__isFilterRange as isFilterRange, __webpack_exports__isFunctionFlow as isFunctionFlow, __webpack_exports__isIndexableFieldType as isIndexableFieldType, __webpack_exports__isMessageNode as isMessageNode, __webpack_exports__isPermissionFunction as isPermissionFunction, __webpack_exports__isPublished as isPublished, __webpack_exports__isRecordFilterCondition as isRecordFilterCondition, __webpack_exports__isRuleGroup as isRuleGroup, __webpack_exports__isStoredApiKey as isStoredApiKey, __webpack_exports__mapDatabaseError as mapDatabaseError, __webpack_exports__mapSchemaError as mapSchemaError, __webpack_exports__matchDefinitions as matchDefinitions, __webpack_exports__nodeLabel as nodeLabel, __webpack_exports__orderFlows as orderFlows, __webpack_exports__permissionCodes as permissionCodes, __webpack_exports__plainIndex as plainIndex, __webpack_exports__planTypeConversion as planTypeConversion, __webpack_exports__portsOf as portsOf, __webpack_exports__readBundleFile as readBundleFile, __webpack_exports__relationTargetCodes as relationTargetCodes, __webpack_exports__requestInfo as requestInfo, __webpack_exports__sameColumns as sameColumns, __webpack_exports__snapshotOf as snapshotOf, __webpack_exports__softDeleteColumn as softDeleteColumn, __webpack_exports__sqlTypeFor as sqlTypeFor, __webpack_exports__startEndpoint as startEndpoint, __webpack_exports__stripApiKeys as stripApiKeys, __webpack_exports__tableUnique as tableUnique, __webpack_exports__toFlowSettings as toFlowSettings, __webpack_exports__triggerContract as triggerContract, __webpack_exports__triggerPath as triggerPath, __webpack_exports__typeFamily as typeFamily, __webpack_exports__usesPermissionFunction as usesPermissionFunction, __webpack_exports__validateFlow as validateFlow, __webpack_exports__validateRecord as validateRecord, __webpack_exports__workingCopy as workingCopy, __webpack_exports__writtenSecrets as writtenSecrets };
|
package/fesm/services/index.js
CHANGED
|
@@ -36,6 +36,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
36
36
|
DG: () => (/* reexport */ generic_entity_service/* .actorMetadata */.DG),
|
|
37
37
|
$6: () => (/* reexport */ schema_columns/* .addUnique */.$6),
|
|
38
38
|
gT: () => (/* reexport */ definition_bundle_diff/* .applyVariables */.gT),
|
|
39
|
+
b$: () => (/* reexport */ flow_definition_service/* .asksExecutePermission */.b$),
|
|
39
40
|
fY: () => (/* reexport */ identifier_rules/* .assertIndexableField */.fY),
|
|
40
41
|
kV: () => (/* reexport */ identifier_rules/* .assertValidIdentifier */.kV),
|
|
41
42
|
HK: () => (/* reexport */ schema_columns/* .auditColumns */.HK),
|
|
@@ -51,8 +52,10 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
51
52
|
an: () => (/* reexport */ schema_change_types/* .describeImpact */.a),
|
|
52
53
|
Sy: () => (/* reexport */ definition_bundle_diff/* .diffEntities */.zb),
|
|
53
54
|
x2: () => (/* reexport */ entity_flow_scaffold/* .entityFlowSlug */.x2),
|
|
55
|
+
ZM: () => (/* reexport */ entity_permission_service/* .entityPermissionCodes */.Z),
|
|
54
56
|
lj: () => (/* reexport */ definition_bundle_diff/* .extractVariables */.lj),
|
|
55
57
|
HQ: () => (/* reexport */ schema_dialect_adapter_service/* .fitIdentifier */.H),
|
|
58
|
+
f7: () => (/* reexport */ definition_bundle_diff/* .fixedIds */.f7),
|
|
56
59
|
YW: () => (/* reexport */ flow_definition_service/* .flowNotFound */.YW),
|
|
57
60
|
j4: () => (/* reexport */ flow_definition_service/* .flowPermissions */.j4),
|
|
58
61
|
gl: () => (/* reexport */ flow_executor_service/* .flowTimeout */.g),
|
|
@@ -64,6 +67,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
64
67
|
iw: () => (/* reexport */ database_error_mapper/* .mapSchemaError */.i),
|
|
65
68
|
Og: () => (/* reexport */ definition_bundle_diff/* .matchDefinitions */.Og),
|
|
66
69
|
qG: () => (/* reexport */ definition_bundle_diff/* .orderFlows */.qG),
|
|
70
|
+
QJ: () => (/* reexport */ definition_bundle_diff/* .permissionCodes */.QJ),
|
|
67
71
|
v7: () => (/* reexport */ schema_columns/* .plainIndex */.v7),
|
|
68
72
|
IM: () => (/* reexport */ field_type_conversion/* .planTypeConversion */.I),
|
|
69
73
|
zi: () => (/* reexport */ definition_bundle_file/* .readBundleFile */.z),
|
|
@@ -78,7 +82,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
78
82
|
RK: () => (/* reexport */ flow_definition_service/* .toFlowSettings */.RK),
|
|
79
83
|
jp: () => (/* reexport */ schema_columns/* .typeFamily */.jp),
|
|
80
84
|
eV: () => (/* reexport */ field_value_validator/* .validateRecord */.e),
|
|
81
|
-
lw: () => (/* reexport */ flow_definition_service/* .workingCopy */.lw)
|
|
85
|
+
lw: () => (/* reexport */ flow_definition_service/* .workingCopy */.lw),
|
|
86
|
+
l6: () => (/* reexport */ definition_bundle_diff/* .writtenSecrets */.l6)
|
|
82
87
|
});
|
|
83
88
|
|
|
84
89
|
// EXTERNAL MODULE: ./projects/nestjs-entity-builder/src/services/entity-builder-config.service.ts
|
|
@@ -521,6 +526,7 @@ var __webpack_exports__SchemaSyncService = __webpack_exports__.WQ;
|
|
|
521
526
|
var __webpack_exports__actorMetadata = __webpack_exports__.DG;
|
|
522
527
|
var __webpack_exports__addUnique = __webpack_exports__.$6;
|
|
523
528
|
var __webpack_exports__applyVariables = __webpack_exports__.gT;
|
|
529
|
+
var __webpack_exports__asksExecutePermission = __webpack_exports__.b$;
|
|
524
530
|
var __webpack_exports__assertIndexableField = __webpack_exports__.fY;
|
|
525
531
|
var __webpack_exports__assertValidIdentifier = __webpack_exports__.kV;
|
|
526
532
|
var __webpack_exports__auditColumns = __webpack_exports__.HK;
|
|
@@ -536,8 +542,10 @@ var __webpack_exports__defaultFlowPermissionCode = __webpack_exports__.Er;
|
|
|
536
542
|
var __webpack_exports__describeImpact = __webpack_exports__.an;
|
|
537
543
|
var __webpack_exports__diffEntities = __webpack_exports__.Sy;
|
|
538
544
|
var __webpack_exports__entityFlowSlug = __webpack_exports__.x2;
|
|
545
|
+
var __webpack_exports__entityPermissionCodes = __webpack_exports__.ZM;
|
|
539
546
|
var __webpack_exports__extractVariables = __webpack_exports__.lj;
|
|
540
547
|
var __webpack_exports__fitIdentifier = __webpack_exports__.HQ;
|
|
548
|
+
var __webpack_exports__fixedIds = __webpack_exports__.f7;
|
|
541
549
|
var __webpack_exports__flowNotFound = __webpack_exports__.YW;
|
|
542
550
|
var __webpack_exports__flowPermissions = __webpack_exports__.j4;
|
|
543
551
|
var __webpack_exports__flowTimeout = __webpack_exports__.gl;
|
|
@@ -549,6 +557,7 @@ var __webpack_exports__mapDatabaseError = __webpack_exports__.Eq;
|
|
|
549
557
|
var __webpack_exports__mapSchemaError = __webpack_exports__.iw;
|
|
550
558
|
var __webpack_exports__matchDefinitions = __webpack_exports__.Og;
|
|
551
559
|
var __webpack_exports__orderFlows = __webpack_exports__.qG;
|
|
560
|
+
var __webpack_exports__permissionCodes = __webpack_exports__.QJ;
|
|
552
561
|
var __webpack_exports__plainIndex = __webpack_exports__.v7;
|
|
553
562
|
var __webpack_exports__planTypeConversion = __webpack_exports__.IM;
|
|
554
563
|
var __webpack_exports__readBundleFile = __webpack_exports__.zi;
|
|
@@ -564,4 +573,5 @@ var __webpack_exports__toFlowSettings = __webpack_exports__.RK;
|
|
|
564
573
|
var __webpack_exports__typeFamily = __webpack_exports__.jp;
|
|
565
574
|
var __webpack_exports__validateRecord = __webpack_exports__.eV;
|
|
566
575
|
var __webpack_exports__workingCopy = __webpack_exports__.lw;
|
|
567
|
-
|
|
576
|
+
var __webpack_exports__writtenSecrets = __webpack_exports__.l6;
|
|
577
|
+
export { __webpack_exports__ACTOR_BRANCH_METADATA_KEY as ACTOR_BRANCH_METADATA_KEY, __webpack_exports__DRAFT_TEST_RETAIN as DRAFT_TEST_RETAIN, __webpack_exports__DefinitionBundleService as DefinitionBundleService, __webpack_exports__DefinitionCacheService as DefinitionCacheService, __webpack_exports__ENTITY_COMPARED_KEYS as ENTITY_COMPARED_KEYS, __webpack_exports__ENTITY_FLOW_PATHS as ENTITY_FLOW_PATHS, __webpack_exports__EntityBuilderConfigService as EntityBuilderConfigService, __webpack_exports__EntityBuilderDataSourceProvider as EntityBuilderDataSourceProvider, __webpack_exports__EntityDefinitionService as EntityDefinitionService, __webpack_exports__EntityPermissionService as EntityPermissionService, __webpack_exports__FIELD_COMPARED_KEYS as FIELD_COMPARED_KEYS, __webpack_exports__FieldDefinitionService as FieldDefinitionService, __webpack_exports__FlowDefinitionService as FlowDefinitionService, __webpack_exports__FlowExecutionService as FlowExecutionService, __webpack_exports__FlowExecutorService as FlowExecutorService, __webpack_exports__FlowReferenceProvider as FlowReferenceProvider, __webpack_exports__FlowRuntimeService as FlowRuntimeService, __webpack_exports__GenericEntityService as GenericEntityService, __webpack_exports__GenericEntityServiceFactory as GenericEntityServiceFactory, __webpack_exports__NON_INDEXABLE_FIELD_TYPES as NON_INDEXABLE_FIELD_TYPES, __webpack_exports__RESERVED_WORDS as RESERVED_WORDS, __webpack_exports__ReferenceScannerService as ReferenceScannerService, __webpack_exports__SYSTEM_COLUMN_NAMES as SYSTEM_COLUMN_NAMES, __webpack_exports__SchemaChangeExecutor as SchemaChangeExecutor, __webpack_exports__SchemaDialectAdapterService as SchemaDialectAdapterService, __webpack_exports__SchemaEvolutionService as SchemaEvolutionService, __webpack_exports__SchemaRegistryService as SchemaRegistryService, __webpack_exports__SchemaSyncService as SchemaSyncService, __webpack_exports__actorMetadata as actorMetadata, __webpack_exports__addUnique as addUnique, __webpack_exports__applyVariables as applyVariables, __webpack_exports__asksExecutePermission as asksExecutePermission, __webpack_exports__assertIndexableField as assertIndexableField, __webpack_exports__assertValidIdentifier as assertValidIdentifier, __webpack_exports__auditColumns as auditColumns, __webpack_exports__buildEntityFlow as buildEntityFlow, __webpack_exports__buildFieldColumn as buildFieldColumn, __webpack_exports__buildSystemColumns as buildSystemColumns, __webpack_exports__bundleChecksum as bundleChecksum, __webpack_exports__bundleSubject as bundleSubject, __webpack_exports__byCode as byCode, __webpack_exports__calledFlowSlugs as calledFlowSlugs, __webpack_exports__canonicalJson as canonicalJson, __webpack_exports__defaultFlowPermissionCode as defaultFlowPermissionCode, __webpack_exports__describeImpact as describeImpact, __webpack_exports__diffEntities as diffEntities, __webpack_exports__entityFlowSlug as entityFlowSlug, __webpack_exports__entityPermissionCodes as entityPermissionCodes, __webpack_exports__extractVariables as extractVariables, __webpack_exports__fitIdentifier as fitIdentifier, __webpack_exports__fixedIds as fixedIds, __webpack_exports__flowNotFound as flowNotFound, __webpack_exports__flowPermissions as flowPermissions, __webpack_exports__flowTimeout as flowTimeout, __webpack_exports__indexName as indexName, __webpack_exports__isDestructiveSchemaAction as isDestructiveSchemaAction, __webpack_exports__isIndexableFieldType as isIndexableFieldType, __webpack_exports__isPublished as isPublished, __webpack_exports__mapDatabaseError as mapDatabaseError, __webpack_exports__mapSchemaError as mapSchemaError, __webpack_exports__matchDefinitions as matchDefinitions, __webpack_exports__orderFlows as orderFlows, __webpack_exports__permissionCodes as permissionCodes, __webpack_exports__plainIndex as plainIndex, __webpack_exports__planTypeConversion as planTypeConversion, __webpack_exports__readBundleFile as readBundleFile, __webpack_exports__relationTargetCodes as relationTargetCodes, __webpack_exports__requestInfo as requestInfo, __webpack_exports__sameColumns as sameColumns, __webpack_exports__snapshotOf as snapshotOf, __webpack_exports__softDeleteColumn as softDeleteColumn, __webpack_exports__sqlTypeFor as sqlTypeFor, __webpack_exports__stripApiKeys as stripApiKeys, __webpack_exports__tableUnique as tableUnique, __webpack_exports__toFlowSettings as toFlowSettings, __webpack_exports__typeFamily as typeFamily, __webpack_exports__validateRecord as validateRecord, __webpack_exports__workingCopy as workingCopy, __webpack_exports__writtenSecrets as writtenSecrets };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { type IFieldError } from '../services/field-value-validator.js';
|
|
2
|
-
import { type FlowBodyType, type FlowInput, type IFlowInputField } from './flow.types.js';
|
|
2
|
+
import { type FlowBodyType, type FlowInput, type IFlowEndpoint, type IFlowInputField } from './flow.types.js';
|
|
3
3
|
export interface IFlowInputResult {
|
|
4
4
|
values: FlowInput;
|
|
5
5
|
errors: IFieldError[];
|
|
6
6
|
}
|
|
7
7
|
export declare function validateFlowInput(schema: IFlowInputField[], body: unknown, bodyType?: FlowBodyType): IFlowInputResult;
|
|
8
|
+
export declare function validateEndpointInput(endpoint: Pick<IFlowEndpoint, 'contract' | 'bodyType' | 'inputSchema'>, body: unknown): IFlowInputResult;
|
|
@@ -12,6 +12,10 @@ export type FlowRunMode = 'live' | 'dry_run';
|
|
|
12
12
|
export declare const FLOW_BODY_TYPES: readonly ["object", "list"];
|
|
13
13
|
export type FlowBodyType = (typeof FLOW_BODY_TYPES)[number];
|
|
14
14
|
export type FlowInput = Record<string, unknown> | unknown[];
|
|
15
|
+
export declare const FLOW_REQUEST_CONTRACTS: readonly ["custom", "get_all", "get_by_id", "get_by_ids", "get_by_filter", "insert", "insert_many", "update", "update_many", "bulk_upsert", "delete"];
|
|
16
|
+
export type FlowRequestContract = (typeof FLOW_REQUEST_CONTRACTS)[number];
|
|
17
|
+
export declare const FLOW_RESPONSE_FORMATS: readonly ["raw", "single", "list", "bulk", "message"];
|
|
18
|
+
export type FlowResponseFormat = (typeof FLOW_RESPONSE_FORMATS)[number];
|
|
15
19
|
export declare const FLOW_INPUT_TYPES: readonly ["string", "text", "number", "integer", "boolean", "date", "datetime", "email", "uuid", "object", "array", "choice"];
|
|
16
20
|
export type FlowInputType = (typeof FLOW_INPUT_TYPES)[number];
|
|
17
21
|
export type FlowInputItemType = Exclude<FlowInputType, 'array'>;
|
|
@@ -153,6 +157,7 @@ export interface IEntityGetConfig {
|
|
|
153
157
|
entityCode: string;
|
|
154
158
|
id: RuleExpression;
|
|
155
159
|
onNotFound?: 'error' | 'null';
|
|
160
|
+
fromRequest?: boolean;
|
|
156
161
|
}
|
|
157
162
|
export interface IFlowFilterCondition {
|
|
158
163
|
op: RecordFilterOp;
|
|
@@ -168,9 +173,11 @@ export interface IEntityQueryConfig {
|
|
|
168
173
|
direction: 'ASC' | 'DESC';
|
|
169
174
|
};
|
|
170
175
|
limit?: number;
|
|
176
|
+
fromRequest?: boolean;
|
|
171
177
|
}
|
|
172
178
|
export interface ITriggerConfig {
|
|
173
179
|
path?: string;
|
|
180
|
+
contract?: FlowRequestContract;
|
|
174
181
|
bodyType?: FlowBodyType;
|
|
175
182
|
inputSchema?: IFlowInputField[];
|
|
176
183
|
authMode?: FlowAuthMode;
|
|
@@ -250,8 +257,15 @@ export interface ISendEmailConfig {
|
|
|
250
257
|
}
|
|
251
258
|
export interface IRespondConfig {
|
|
252
259
|
statusCode: number;
|
|
260
|
+
format?: FlowResponseFormat;
|
|
261
|
+
message?: string;
|
|
262
|
+
messageKey?: string;
|
|
263
|
+
messageVariables?: ExpressionMap;
|
|
253
264
|
body?: ExpressionMap;
|
|
254
265
|
bodyExpression?: RuleExpression;
|
|
266
|
+
total?: RuleExpression;
|
|
267
|
+
page?: RuleExpression;
|
|
268
|
+
pageSize?: RuleExpression;
|
|
255
269
|
}
|
|
256
270
|
export interface ICodeConfig {
|
|
257
271
|
code: string;
|
|
@@ -306,6 +320,7 @@ export declare const FLOW_ID_PATTERN: RegExp;
|
|
|
306
320
|
export interface IFlowEndpoint {
|
|
307
321
|
nodeId: string;
|
|
308
322
|
path: string | null;
|
|
323
|
+
contract: FlowRequestContract;
|
|
309
324
|
bodyType: FlowBodyType;
|
|
310
325
|
inputSchema: IFlowInputField[];
|
|
311
326
|
authMode: FlowAuthMode;
|
|
@@ -315,6 +330,8 @@ export interface IFlowEndpoint {
|
|
|
315
330
|
rateLimitPerMinute: number;
|
|
316
331
|
apiKey: IStoredApiKey | null;
|
|
317
332
|
}
|
|
333
|
+
export declare function contractFields(contract: FlowRequestContract): IFlowInputField[];
|
|
334
|
+
export declare function triggerContract(config: Pick<ITriggerConfig, 'contract'>): FlowRequestContract;
|
|
318
335
|
type EndpointSource = Pick<IFlowSettings, 'nodes'>;
|
|
319
336
|
export declare const isFunctionFlow: (flow: EndpointSource) => boolean;
|
|
320
337
|
export declare function triggerPath(node: Pick<IFlowNode, 'config'>): string | null;
|