@intrig/core 0.0.10 → 0.0.12

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 (2) hide show
  1. package/main.js +336 -198
  2. package/package.json +2 -2
package/main.js CHANGED
@@ -1182,8 +1182,15 @@ const external_immer_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.m
1182
1182
  const external_node_process_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("node:process");
1183
1183
  var external_node_process_default = /*#__PURE__*/__webpack_require__.n(external_node_process_namespaceObject);
1184
1184
  ;// ../../lib/common/src/lib/spec-management.service.ts
1185
-
1186
-
1185
+ function _ts_decorate(decorators, target, key, desc) {
1186
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1187
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1188
+ else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
1189
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
1190
+ }
1191
+ function _ts_metadata(k, v) {
1192
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
1193
+ }
1187
1194
 
1188
1195
 
1189
1196
 
@@ -1218,16 +1225,21 @@ class SpecManagementService {
1218
1225
  return undefined;
1219
1226
  }
1220
1227
  }
1221
- SpecManagementService = (0,_ts_decorate_namespaceObject._)([
1228
+ SpecManagementService = _ts_decorate([
1222
1229
  (0,common_namespaceObject.Injectable)(),
1223
- (0,_ts_metadata_namespaceObject._)("design:type", Function),
1224
- (0,_ts_metadata_namespaceObject._)("design:paramtypes", [
1230
+ _ts_metadata("design:type", Function),
1231
+ _ts_metadata("design:paramtypes", [
1225
1232
  typeof config_namespaceObject.ConfigService === "undefined" ? Object : config_namespaceObject.ConfigService
1226
1233
  ])
1227
1234
  ], SpecManagementService);
1228
1235
 
1229
1236
  ;// ../../lib/common/src/lib/source-management.service.ts
1230
-
1237
+ function source_management_service_ts_decorate(decorators, target, key, desc) {
1238
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1239
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1240
+ else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
1241
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
1242
+ }
1231
1243
 
1232
1244
 
1233
1245
 
@@ -1241,7 +1253,7 @@ class SourceManagementService {
1241
1253
  external_fs_namespaceObject.writeFileSync(output.path, output.content, 'utf-8');
1242
1254
  }
1243
1255
  }
1244
- SourceManagementService = (0,_ts_decorate_namespaceObject._)([
1256
+ SourceManagementService = source_management_service_ts_decorate([
1245
1257
  (0,common_namespaceObject.Injectable)()
1246
1258
  ], SourceManagementService);
1247
1259
 
@@ -1250,7 +1262,12 @@ const external_nypm_namespaceObject = await import("nypm");
1250
1262
  ;// external "util"
1251
1263
  const external_util_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("util");
1252
1264
  ;// ../../lib/common/src/lib/package-manager.service.ts
1253
-
1265
+ function package_manager_service_ts_decorate(decorators, target, key, desc) {
1266
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1267
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1268
+ else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
1269
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
1270
+ }
1254
1271
 
1255
1272
 
1256
1273
 
@@ -1337,19 +1354,24 @@ class PackageManagerService {
1337
1354
  this.logger = new common_namespaceObject.Logger(PackageManagerService.name);
1338
1355
  }
1339
1356
  }
1340
- PackageManagerService = (0,_ts_decorate_namespaceObject._)([
1357
+ PackageManagerService = package_manager_service_ts_decorate([
1341
1358
  (0,common_namespaceObject.Injectable)()
1342
1359
  ], PackageManagerService);
1343
1360
 
1344
1361
  ;// ../../lib/common/src/lib/common.module.ts
1345
-
1362
+ function common_module_ts_decorate(decorators, target, key, desc) {
1363
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1364
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1365
+ else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
1366
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
1367
+ }
1346
1368
 
1347
1369
 
1348
1370
 
1349
1371
 
1350
1372
  class CommonModule {
1351
1373
  }
1352
- CommonModule = (0,_ts_decorate_namespaceObject._)([
1374
+ CommonModule = common_module_ts_decorate([
1353
1375
  (0,common_namespaceObject.Global)(),
1354
1376
  (0,common_namespaceObject.Module)({
1355
1377
  controllers: [],
@@ -1383,8 +1405,15 @@ class GeneratorCli {
1383
1405
  ;// external "@nestjs/swagger"
1384
1406
  const swagger_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("@nestjs/swagger");
1385
1407
  ;// ../../lib/common/src/lib/interfaces/page.interface.ts
1386
-
1387
-
1408
+ function page_interface_ts_decorate(decorators, target, key, desc) {
1409
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1410
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1411
+ else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
1412
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
1413
+ }
1414
+ function page_interface_ts_metadata(k, v) {
1415
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
1416
+ }
1388
1417
 
1389
1418
  class Page {
1390
1419
  constructor(data, total, page, limit, totalPages, hasNext, hasPrevious){
@@ -1400,46 +1429,53 @@ class Page {
1400
1429
  return new Page(page.data, page.total, page.page, page.limit, page.totalPages, page.hasNext, page.hasPrevious);
1401
1430
  }
1402
1431
  }
1403
- (0,_ts_decorate_namespaceObject._)([
1432
+ page_interface_ts_decorate([
1404
1433
  (0,swagger_namespaceObject.ApiProperty)({
1405
1434
  description: 'Total number of items across all pages'
1406
1435
  }),
1407
- (0,_ts_metadata_namespaceObject._)("design:type", Number)
1436
+ page_interface_ts_metadata("design:type", Number)
1408
1437
  ], Page.prototype, "total", void 0);
1409
- (0,_ts_decorate_namespaceObject._)([
1438
+ page_interface_ts_decorate([
1410
1439
  (0,swagger_namespaceObject.ApiProperty)({
1411
1440
  description: 'Current page number (1-based)'
1412
1441
  }),
1413
- (0,_ts_metadata_namespaceObject._)("design:type", Number)
1442
+ page_interface_ts_metadata("design:type", Number)
1414
1443
  ], Page.prototype, "page", void 0);
1415
- (0,_ts_decorate_namespaceObject._)([
1444
+ page_interface_ts_decorate([
1416
1445
  (0,swagger_namespaceObject.ApiProperty)({
1417
1446
  description: 'Maximum number of items per page'
1418
1447
  }),
1419
- (0,_ts_metadata_namespaceObject._)("design:type", Number)
1448
+ page_interface_ts_metadata("design:type", Number)
1420
1449
  ], Page.prototype, "limit", void 0);
1421
- (0,_ts_decorate_namespaceObject._)([
1450
+ page_interface_ts_decorate([
1422
1451
  (0,swagger_namespaceObject.ApiProperty)({
1423
1452
  description: 'Total number of pages'
1424
1453
  }),
1425
- (0,_ts_metadata_namespaceObject._)("design:type", Number)
1454
+ page_interface_ts_metadata("design:type", Number)
1426
1455
  ], Page.prototype, "totalPages", void 0);
1427
- (0,_ts_decorate_namespaceObject._)([
1456
+ page_interface_ts_decorate([
1428
1457
  (0,swagger_namespaceObject.ApiProperty)({
1429
1458
  description: 'Whether there is a next page available'
1430
1459
  }),
1431
- (0,_ts_metadata_namespaceObject._)("design:type", Boolean)
1460
+ page_interface_ts_metadata("design:type", Boolean)
1432
1461
  ], Page.prototype, "hasNext", void 0);
1433
- (0,_ts_decorate_namespaceObject._)([
1462
+ page_interface_ts_decorate([
1434
1463
  (0,swagger_namespaceObject.ApiProperty)({
1435
1464
  description: 'Whether there is a previous page available'
1436
1465
  }),
1437
- (0,_ts_metadata_namespaceObject._)("design:type", Boolean)
1466
+ page_interface_ts_metadata("design:type", Boolean)
1438
1467
  ], Page.prototype, "hasPrevious", void 0);
1439
1468
 
1440
1469
  ;// ../../lib/common/src/lib/model/generate-event.ts
1441
-
1442
-
1470
+ function generate_event_ts_decorate(decorators, target, key, desc) {
1471
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1472
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1473
+ else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
1474
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
1475
+ }
1476
+ function generate_event_ts_metadata(k, v) {
1477
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
1478
+ }
1443
1479
 
1444
1480
  class GenerateStatusEventDto {
1445
1481
  constructor(sourceId, step, status, info, error){
@@ -1453,13 +1489,13 @@ class GenerateStatusEventDto {
1453
1489
  return new GenerateStatusEventDto(event.sourceId, event.step, event.status, event.info, event.error);
1454
1490
  }
1455
1491
  }
1456
- (0,_ts_decorate_namespaceObject._)([
1492
+ generate_event_ts_decorate([
1457
1493
  (0,swagger_namespaceObject.ApiProperty)({
1458
1494
  example: 'alpha'
1459
1495
  }),
1460
- (0,_ts_metadata_namespaceObject._)("design:type", String)
1496
+ generate_event_ts_metadata("design:type", String)
1461
1497
  ], GenerateStatusEventDto.prototype, "sourceId", void 0);
1462
- (0,_ts_decorate_namespaceObject._)([
1498
+ generate_event_ts_decorate([
1463
1499
  (0,swagger_namespaceObject.ApiProperty)({
1464
1500
  enum: [
1465
1501
  'getConfig',
@@ -1472,9 +1508,9 @@ class GenerateStatusEventDto {
1472
1508
  'postBuild'
1473
1509
  ]
1474
1510
  }),
1475
- (0,_ts_metadata_namespaceObject._)("design:type", typeof Step === "undefined" ? Object : Step)
1511
+ generate_event_ts_metadata("design:type", typeof Step === "undefined" ? Object : Step)
1476
1512
  ], GenerateStatusEventDto.prototype, "step", void 0);
1477
- (0,_ts_decorate_namespaceObject._)([
1513
+ generate_event_ts_decorate([
1478
1514
  (0,swagger_namespaceObject.ApiProperty)({
1479
1515
  enum: [
1480
1516
  'started',
@@ -1482,19 +1518,19 @@ class GenerateStatusEventDto {
1482
1518
  'error'
1483
1519
  ]
1484
1520
  }),
1485
- (0,_ts_metadata_namespaceObject._)("design:type", typeof Status === "undefined" ? Object : Status)
1521
+ generate_event_ts_metadata("design:type", typeof Status === "undefined" ? Object : Status)
1486
1522
  ], GenerateStatusEventDto.prototype, "status", void 0);
1487
- (0,_ts_decorate_namespaceObject._)([
1523
+ generate_event_ts_decorate([
1488
1524
  (0,swagger_namespaceObject.ApiPropertyOptional)({
1489
1525
  example: '200 OK'
1490
1526
  }),
1491
- (0,_ts_metadata_namespaceObject._)("design:type", String)
1527
+ generate_event_ts_metadata("design:type", String)
1492
1528
  ], GenerateStatusEventDto.prototype, "info", void 0);
1493
- (0,_ts_decorate_namespaceObject._)([
1529
+ generate_event_ts_decorate([
1494
1530
  (0,swagger_namespaceObject.ApiPropertyOptional)({
1495
1531
  example: 'disk full'
1496
1532
  }),
1497
- (0,_ts_metadata_namespaceObject._)("design:type", String)
1533
+ generate_event_ts_metadata("design:type", String)
1498
1534
  ], GenerateStatusEventDto.prototype, "error", void 0);
1499
1535
  class GenerateDoneEventDto {
1500
1536
  constructor(allSources){
@@ -1504,11 +1540,11 @@ class GenerateDoneEventDto {
1504
1540
  return new GenerateDoneEventDto(event.allSources);
1505
1541
  }
1506
1542
  }
1507
- (0,_ts_decorate_namespaceObject._)([
1543
+ generate_event_ts_decorate([
1508
1544
  (0,swagger_namespaceObject.ApiProperty)({
1509
1545
  example: true
1510
1546
  }),
1511
- (0,_ts_metadata_namespaceObject._)("design:type", Boolean)
1547
+ generate_event_ts_metadata("design:type", Boolean)
1512
1548
  ], GenerateDoneEventDto.prototype, "allSources", void 0);
1513
1549
  class generate_event_GenerateEventContext {
1514
1550
  constructor(events$){
@@ -1537,8 +1573,15 @@ class IntrigConfigImpl {
1537
1573
  }
1538
1574
 
1539
1575
  ;// ../../lib/common/src/lib/model/intrig-source-config.ts
1540
-
1541
-
1576
+ function intrig_source_config_ts_decorate(decorators, target, key, desc) {
1577
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1578
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1579
+ else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
1580
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
1581
+ }
1582
+ function intrig_source_config_ts_metadata(k, v) {
1583
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
1584
+ }
1542
1585
 
1543
1586
  class IntrigSourceConfig {
1544
1587
  constructor(id, name, specUrl){
@@ -1550,28 +1593,35 @@ class IntrigSourceConfig {
1550
1593
  return new IntrigSourceConfig(source.id, source.name, source.specUrl);
1551
1594
  }
1552
1595
  }
1553
- (0,_ts_decorate_namespaceObject._)([
1596
+ intrig_source_config_ts_decorate([
1554
1597
  (0,swagger_namespaceObject.ApiProperty)({
1555
1598
  description: 'Unique identifier for the source config'
1556
1599
  }),
1557
- (0,_ts_metadata_namespaceObject._)("design:type", String)
1600
+ intrig_source_config_ts_metadata("design:type", String)
1558
1601
  ], IntrigSourceConfig.prototype, "id", void 0);
1559
- (0,_ts_decorate_namespaceObject._)([
1602
+ intrig_source_config_ts_decorate([
1560
1603
  (0,swagger_namespaceObject.ApiProperty)({
1561
1604
  description: 'Name of the source config'
1562
1605
  }),
1563
- (0,_ts_metadata_namespaceObject._)("design:type", String)
1606
+ intrig_source_config_ts_metadata("design:type", String)
1564
1607
  ], IntrigSourceConfig.prototype, "name", void 0);
1565
- (0,_ts_decorate_namespaceObject._)([
1608
+ intrig_source_config_ts_decorate([
1566
1609
  (0,swagger_namespaceObject.ApiProperty)({
1567
1610
  description: 'URL of the specification'
1568
1611
  }),
1569
- (0,_ts_metadata_namespaceObject._)("design:type", String)
1612
+ intrig_source_config_ts_metadata("design:type", String)
1570
1613
  ], IntrigSourceConfig.prototype, "specUrl", void 0);
1571
1614
 
1572
1615
  ;// ../../lib/common/src/lib/model/resource-descriptor.ts
1573
-
1574
-
1616
+ function resource_descriptor_ts_decorate(decorators, target, key, desc) {
1617
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1618
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1619
+ else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
1620
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
1621
+ }
1622
+ function resource_descriptor_ts_metadata(k, v) {
1623
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
1624
+ }
1575
1625
 
1576
1626
  class ResourceDescriptor {
1577
1627
  constructor(id, name, type, source, path, data, lastAccessed){
@@ -1587,19 +1637,19 @@ class ResourceDescriptor {
1587
1637
  return new ResourceDescriptor(descriptor.id, descriptor.name, descriptor.type, descriptor.source, descriptor.path, descriptor.data);
1588
1638
  }
1589
1639
  }
1590
- (0,_ts_decorate_namespaceObject._)([
1640
+ resource_descriptor_ts_decorate([
1591
1641
  (0,swagger_namespaceObject.ApiProperty)({
1592
1642
  description: 'Unique identifier of the resource'
1593
1643
  }),
1594
- (0,_ts_metadata_namespaceObject._)("design:type", String)
1644
+ resource_descriptor_ts_metadata("design:type", String)
1595
1645
  ], ResourceDescriptor.prototype, "id", void 0);
1596
- (0,_ts_decorate_namespaceObject._)([
1646
+ resource_descriptor_ts_decorate([
1597
1647
  (0,swagger_namespaceObject.ApiProperty)({
1598
1648
  description: 'Name of the resource'
1599
1649
  }),
1600
- (0,_ts_metadata_namespaceObject._)("design:type", String)
1650
+ resource_descriptor_ts_metadata("design:type", String)
1601
1651
  ], ResourceDescriptor.prototype, "name", void 0);
1602
- (0,_ts_decorate_namespaceObject._)([
1652
+ resource_descriptor_ts_decorate([
1603
1653
  (0,swagger_namespaceObject.ApiProperty)({
1604
1654
  description: 'Type of the resource',
1605
1655
  enum: [
@@ -1607,38 +1657,45 @@ class ResourceDescriptor {
1607
1657
  'schema'
1608
1658
  ]
1609
1659
  }),
1610
- (0,_ts_metadata_namespaceObject._)("design:type", typeof DescriptorType === "undefined" ? Object : DescriptorType)
1660
+ resource_descriptor_ts_metadata("design:type", typeof DescriptorType === "undefined" ? Object : DescriptorType)
1611
1661
  ], ResourceDescriptor.prototype, "type", void 0);
1612
- (0,_ts_decorate_namespaceObject._)([
1662
+ resource_descriptor_ts_decorate([
1613
1663
  (0,swagger_namespaceObject.ApiProperty)({
1614
1664
  description: 'Source of the resource'
1615
1665
  }),
1616
- (0,_ts_metadata_namespaceObject._)("design:type", String)
1666
+ resource_descriptor_ts_metadata("design:type", String)
1617
1667
  ], ResourceDescriptor.prototype, "source", void 0);
1618
- (0,_ts_decorate_namespaceObject._)([
1668
+ resource_descriptor_ts_decorate([
1619
1669
  (0,swagger_namespaceObject.ApiProperty)({
1620
1670
  description: 'Path to the resource'
1621
1671
  }),
1622
- (0,_ts_metadata_namespaceObject._)("design:type", String)
1672
+ resource_descriptor_ts_metadata("design:type", String)
1623
1673
  ], ResourceDescriptor.prototype, "path", void 0);
1624
- (0,_ts_decorate_namespaceObject._)([
1674
+ resource_descriptor_ts_decorate([
1625
1675
  (0,swagger_namespaceObject.ApiProperty)({
1626
1676
  description: 'Resource data',
1627
1677
  type: ()=>Object
1628
1678
  }),
1629
- (0,_ts_metadata_namespaceObject._)("design:type", typeof T === "undefined" ? Object : T)
1679
+ resource_descriptor_ts_metadata("design:type", typeof T === "undefined" ? Object : T)
1630
1680
  ], ResourceDescriptor.prototype, "data", void 0);
1631
- (0,_ts_decorate_namespaceObject._)([
1681
+ resource_descriptor_ts_decorate([
1632
1682
  (0,swagger_namespaceObject.ApiProperty)({
1633
1683
  description: 'Last access timestamp',
1634
1684
  required: false
1635
1685
  }),
1636
- (0,_ts_metadata_namespaceObject._)("design:type", Number)
1686
+ resource_descriptor_ts_metadata("design:type", Number)
1637
1687
  ], ResourceDescriptor.prototype, "lastAccessed", void 0);
1638
1688
 
1639
1689
  ;// ../../lib/common/src/lib/model/common.ts
1640
-
1641
-
1690
+ function common_ts_decorate(decorators, target, key, desc) {
1691
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1692
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1693
+ else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
1694
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
1695
+ }
1696
+ function common_ts_metadata(k, v) {
1697
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
1698
+ }
1642
1699
 
1643
1700
  class Tab {
1644
1701
  constructor(name, content){
@@ -1649,17 +1706,17 @@ class Tab {
1649
1706
  return new Tab(tab.name, tab.content);
1650
1707
  }
1651
1708
  }
1652
- (0,_ts_decorate_namespaceObject._)([
1709
+ common_ts_decorate([
1653
1710
  (0,swagger_namespaceObject.ApiProperty)({
1654
1711
  description: 'Name of the tab'
1655
1712
  }),
1656
- (0,_ts_metadata_namespaceObject._)("design:type", String)
1713
+ common_ts_metadata("design:type", String)
1657
1714
  ], Tab.prototype, "name", void 0);
1658
- (0,_ts_decorate_namespaceObject._)([
1715
+ common_ts_decorate([
1659
1716
  (0,swagger_namespaceObject.ApiProperty)({
1660
1717
  description: 'Content of the tab'
1661
1718
  }),
1662
- (0,_ts_metadata_namespaceObject._)("design:type", String)
1719
+ common_ts_metadata("design:type", String)
1663
1720
  ], Tab.prototype, "content", void 0);
1664
1721
  class RelatedType {
1665
1722
  constructor(name, id){
@@ -1670,22 +1727,29 @@ class RelatedType {
1670
1727
  return new RelatedType(type.name, type.id);
1671
1728
  }
1672
1729
  }
1673
- (0,_ts_decorate_namespaceObject._)([
1730
+ common_ts_decorate([
1674
1731
  (0,swagger_namespaceObject.ApiProperty)({
1675
1732
  description: 'Name of the related type'
1676
1733
  }),
1677
- (0,_ts_metadata_namespaceObject._)("design:type", String)
1734
+ common_ts_metadata("design:type", String)
1678
1735
  ], RelatedType.prototype, "name", void 0);
1679
- (0,_ts_decorate_namespaceObject._)([
1736
+ common_ts_decorate([
1680
1737
  (0,swagger_namespaceObject.ApiProperty)({
1681
1738
  description: 'Identifier of the related type'
1682
1739
  }),
1683
- (0,_ts_metadata_namespaceObject._)("design:type", String)
1740
+ common_ts_metadata("design:type", String)
1684
1741
  ], RelatedType.prototype, "id", void 0);
1685
1742
 
1686
1743
  ;// ../../lib/common/src/lib/model/rest-resource-data.ts
1687
-
1688
-
1744
+ function rest_resource_data_ts_decorate(decorators, target, key, desc) {
1745
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1746
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1747
+ else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
1748
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
1749
+ }
1750
+ function rest_resource_data_ts_metadata(k, v) {
1751
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
1752
+ }
1689
1753
 
1690
1754
 
1691
1755
  class Variable {
@@ -1698,29 +1762,29 @@ class Variable {
1698
1762
  return new Variable(variable.name, variable.in, variable.ref);
1699
1763
  }
1700
1764
  }
1701
- (0,_ts_decorate_namespaceObject._)([
1765
+ rest_resource_data_ts_decorate([
1702
1766
  (0,swagger_namespaceObject.ApiProperty)({
1703
1767
  description: 'Name of the variable'
1704
1768
  }),
1705
- (0,_ts_metadata_namespaceObject._)("design:type", String)
1769
+ rest_resource_data_ts_metadata("design:type", String)
1706
1770
  ], Variable.prototype, "name", void 0);
1707
- (0,_ts_decorate_namespaceObject._)([
1771
+ rest_resource_data_ts_decorate([
1708
1772
  (0,swagger_namespaceObject.ApiProperty)({
1709
1773
  description: 'Location of the variable'
1710
1774
  }),
1711
- (0,_ts_metadata_namespaceObject._)("design:type", String)
1775
+ rest_resource_data_ts_metadata("design:type", String)
1712
1776
  ], Variable.prototype, "in", void 0);
1713
- (0,_ts_decorate_namespaceObject._)([
1777
+ rest_resource_data_ts_decorate([
1714
1778
  (0,swagger_namespaceObject.ApiProperty)({
1715
1779
  description: 'Reference of the variable'
1716
1780
  }),
1717
- (0,_ts_metadata_namespaceObject._)("design:type", String)
1781
+ rest_resource_data_ts_metadata("design:type", String)
1718
1782
  ], Variable.prototype, "ref", void 0);
1719
- (0,_ts_decorate_namespaceObject._)([
1783
+ rest_resource_data_ts_decorate([
1720
1784
  (0,swagger_namespaceObject.ApiProperty)({
1721
1785
  description: 'Related type of the variable'
1722
1786
  }),
1723
- (0,_ts_metadata_namespaceObject._)("design:type", typeof RelatedType === "undefined" ? Object : RelatedType)
1787
+ rest_resource_data_ts_metadata("design:type", typeof RelatedType === "undefined" ? Object : RelatedType)
1724
1788
  ], Variable.prototype, "relatedType", void 0);
1725
1789
  function isRestDescriptor(descriptor) {
1726
1790
  return descriptor.type === 'rest';
@@ -1745,99 +1809,106 @@ class RestDocumentation {
1745
1809
  return new RestDocumentation(doc.id, doc.name, doc.method, doc.path, doc.description, doc.requestBody, doc.contentType, doc.response, doc.responseType, doc.requestUrl, doc.variables, doc.responseExamples, doc.tabs);
1746
1810
  }
1747
1811
  }
1748
- (0,_ts_decorate_namespaceObject._)([
1812
+ rest_resource_data_ts_decorate([
1749
1813
  (0,swagger_namespaceObject.ApiProperty)({
1750
1814
  description: 'Unique identifier'
1751
1815
  }),
1752
- (0,_ts_metadata_namespaceObject._)("design:type", String)
1816
+ rest_resource_data_ts_metadata("design:type", String)
1753
1817
  ], RestDocumentation.prototype, "id", void 0);
1754
- (0,_ts_decorate_namespaceObject._)([
1818
+ rest_resource_data_ts_decorate([
1755
1819
  (0,swagger_namespaceObject.ApiProperty)({
1756
1820
  description: 'Name of the REST documentation'
1757
1821
  }),
1758
- (0,_ts_metadata_namespaceObject._)("design:type", String)
1822
+ rest_resource_data_ts_metadata("design:type", String)
1759
1823
  ], RestDocumentation.prototype, "name", void 0);
1760
- (0,_ts_decorate_namespaceObject._)([
1824
+ rest_resource_data_ts_decorate([
1761
1825
  (0,swagger_namespaceObject.ApiProperty)({
1762
1826
  description: 'HTTP method'
1763
1827
  }),
1764
- (0,_ts_metadata_namespaceObject._)("design:type", String)
1828
+ rest_resource_data_ts_metadata("design:type", String)
1765
1829
  ], RestDocumentation.prototype, "method", void 0);
1766
- (0,_ts_decorate_namespaceObject._)([
1830
+ rest_resource_data_ts_decorate([
1767
1831
  (0,swagger_namespaceObject.ApiProperty)({
1768
1832
  description: 'API path'
1769
1833
  }),
1770
- (0,_ts_metadata_namespaceObject._)("design:type", String)
1834
+ rest_resource_data_ts_metadata("design:type", String)
1771
1835
  ], RestDocumentation.prototype, "path", void 0);
1772
- (0,_ts_decorate_namespaceObject._)([
1836
+ rest_resource_data_ts_decorate([
1773
1837
  (0,swagger_namespaceObject.ApiProperty)({
1774
1838
  description: 'Documentation description',
1775
1839
  required: false
1776
1840
  }),
1777
- (0,_ts_metadata_namespaceObject._)("design:type", String)
1841
+ rest_resource_data_ts_metadata("design:type", String)
1778
1842
  ], RestDocumentation.prototype, "description", void 0);
1779
- (0,_ts_decorate_namespaceObject._)([
1843
+ rest_resource_data_ts_decorate([
1780
1844
  (0,swagger_namespaceObject.ApiProperty)({
1781
1845
  description: 'Request body description',
1782
1846
  required: false
1783
1847
  }),
1784
- (0,_ts_metadata_namespaceObject._)("design:type", typeof RelatedType === "undefined" ? Object : RelatedType)
1848
+ rest_resource_data_ts_metadata("design:type", typeof RelatedType === "undefined" ? Object : RelatedType)
1785
1849
  ], RestDocumentation.prototype, "requestBody", void 0);
1786
- (0,_ts_decorate_namespaceObject._)([
1850
+ rest_resource_data_ts_decorate([
1787
1851
  (0,swagger_namespaceObject.ApiProperty)({
1788
1852
  description: 'Content type',
1789
1853
  required: false
1790
1854
  }),
1791
- (0,_ts_metadata_namespaceObject._)("design:type", String)
1855
+ rest_resource_data_ts_metadata("design:type", String)
1792
1856
  ], RestDocumentation.prototype, "contentType", void 0);
1793
- (0,_ts_decorate_namespaceObject._)([
1857
+ rest_resource_data_ts_decorate([
1794
1858
  (0,swagger_namespaceObject.ApiProperty)({
1795
1859
  description: 'Response description',
1796
1860
  required: false
1797
1861
  }),
1798
- (0,_ts_metadata_namespaceObject._)("design:type", typeof RelatedType === "undefined" ? Object : RelatedType)
1862
+ rest_resource_data_ts_metadata("design:type", typeof RelatedType === "undefined" ? Object : RelatedType)
1799
1863
  ], RestDocumentation.prototype, "response", void 0);
1800
- (0,_ts_decorate_namespaceObject._)([
1864
+ rest_resource_data_ts_decorate([
1801
1865
  (0,swagger_namespaceObject.ApiProperty)({
1802
1866
  description: 'Response type',
1803
1867
  required: false
1804
1868
  }),
1805
- (0,_ts_metadata_namespaceObject._)("design:type", String)
1869
+ rest_resource_data_ts_metadata("design:type", String)
1806
1870
  ], RestDocumentation.prototype, "responseType", void 0);
1807
- (0,_ts_decorate_namespaceObject._)([
1871
+ rest_resource_data_ts_decorate([
1808
1872
  (0,swagger_namespaceObject.ApiProperty)({
1809
1873
  description: 'Request URL'
1810
1874
  }),
1811
- (0,_ts_metadata_namespaceObject._)("design:type", String)
1875
+ rest_resource_data_ts_metadata("design:type", String)
1812
1876
  ], RestDocumentation.prototype, "requestUrl", void 0);
1813
- (0,_ts_decorate_namespaceObject._)([
1877
+ rest_resource_data_ts_decorate([
1814
1878
  (0,swagger_namespaceObject.ApiProperty)({
1815
1879
  description: 'List of variables',
1816
1880
  type: [
1817
1881
  Variable
1818
1882
  ]
1819
1883
  }),
1820
- (0,_ts_metadata_namespaceObject._)("design:type", Array)
1884
+ rest_resource_data_ts_metadata("design:type", Array)
1821
1885
  ], RestDocumentation.prototype, "variables", void 0);
1822
- (0,_ts_decorate_namespaceObject._)([
1886
+ rest_resource_data_ts_decorate([
1823
1887
  (0,swagger_namespaceObject.ApiProperty)({
1824
1888
  description: 'Response examples'
1825
1889
  }),
1826
- (0,_ts_metadata_namespaceObject._)("design:type", typeof Record === "undefined" ? Object : Record)
1890
+ rest_resource_data_ts_metadata("design:type", typeof Record === "undefined" ? Object : Record)
1827
1891
  ], RestDocumentation.prototype, "responseExamples", void 0);
1828
- (0,_ts_decorate_namespaceObject._)([
1892
+ rest_resource_data_ts_decorate([
1829
1893
  (0,swagger_namespaceObject.ApiProperty)({
1830
1894
  description: 'Documentation tabs',
1831
1895
  type: [
1832
1896
  Tab
1833
1897
  ]
1834
1898
  }),
1835
- (0,_ts_metadata_namespaceObject._)("design:type", Array)
1899
+ rest_resource_data_ts_metadata("design:type", Array)
1836
1900
  ], RestDocumentation.prototype, "tabs", void 0);
1837
1901
 
1838
1902
  ;// ../../lib/common/src/lib/model/schema.ts
1839
-
1840
-
1903
+ function schema_ts_decorate(decorators, target, key, desc) {
1904
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
1905
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
1906
+ else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
1907
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
1908
+ }
1909
+ function schema_ts_metadata(k, v) {
1910
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
1911
+ }
1841
1912
 
1842
1913
 
1843
1914
  function isSchemaDescriptor(descriptor) {
@@ -1854,29 +1925,29 @@ class RelatedEndpoint {
1854
1925
  return new RelatedEndpoint(endpoint.id, endpoint.name, endpoint.method, endpoint.path);
1855
1926
  }
1856
1927
  }
1857
- (0,_ts_decorate_namespaceObject._)([
1928
+ schema_ts_decorate([
1858
1929
  (0,swagger_namespaceObject.ApiProperty)({
1859
1930
  description: 'Identifier of the related endpoint'
1860
1931
  }),
1861
- (0,_ts_metadata_namespaceObject._)("design:type", String)
1932
+ schema_ts_metadata("design:type", String)
1862
1933
  ], RelatedEndpoint.prototype, "id", void 0);
1863
- (0,_ts_decorate_namespaceObject._)([
1934
+ schema_ts_decorate([
1864
1935
  (0,swagger_namespaceObject.ApiProperty)({
1865
1936
  description: 'Name of the related endpoint'
1866
1937
  }),
1867
- (0,_ts_metadata_namespaceObject._)("design:type", String)
1938
+ schema_ts_metadata("design:type", String)
1868
1939
  ], RelatedEndpoint.prototype, "name", void 0);
1869
- (0,_ts_decorate_namespaceObject._)([
1940
+ schema_ts_decorate([
1870
1941
  (0,swagger_namespaceObject.ApiProperty)({
1871
1942
  description: 'HTTP method of the endpoint'
1872
1943
  }),
1873
- (0,_ts_metadata_namespaceObject._)("design:type", String)
1944
+ schema_ts_metadata("design:type", String)
1874
1945
  ], RelatedEndpoint.prototype, "method", void 0);
1875
- (0,_ts_decorate_namespaceObject._)([
1946
+ schema_ts_decorate([
1876
1947
  (0,swagger_namespaceObject.ApiProperty)({
1877
1948
  description: 'Path of the endpoint'
1878
1949
  }),
1879
- (0,_ts_metadata_namespaceObject._)("design:type", String)
1950
+ schema_ts_metadata("design:type", String)
1880
1951
  ], RelatedEndpoint.prototype, "path", void 0);
1881
1952
  class SchemaDocumentation {
1882
1953
  constructor(id, name, description, jsonSchema, tabs, relatedTypes, relatedEndpoints){
@@ -1892,61 +1963,68 @@ class SchemaDocumentation {
1892
1963
  return new SchemaDocumentation(schema.id, schema.name, schema.description, schema.jsonSchema, schema.tabs, schema.relatedTypes, schema.relatedEndpoints);
1893
1964
  }
1894
1965
  }
1895
- (0,_ts_decorate_namespaceObject._)([
1966
+ schema_ts_decorate([
1896
1967
  (0,swagger_namespaceObject.ApiProperty)({
1897
1968
  description: 'Unique identifier of the schema documentation'
1898
1969
  }),
1899
- (0,_ts_metadata_namespaceObject._)("design:type", String)
1970
+ schema_ts_metadata("design:type", String)
1900
1971
  ], SchemaDocumentation.prototype, "id", void 0);
1901
- (0,_ts_decorate_namespaceObject._)([
1972
+ schema_ts_decorate([
1902
1973
  (0,swagger_namespaceObject.ApiProperty)({
1903
1974
  description: 'Name of the schema'
1904
1975
  }),
1905
- (0,_ts_metadata_namespaceObject._)("design:type", String)
1976
+ schema_ts_metadata("design:type", String)
1906
1977
  ], SchemaDocumentation.prototype, "name", void 0);
1907
- (0,_ts_decorate_namespaceObject._)([
1978
+ schema_ts_decorate([
1908
1979
  (0,swagger_namespaceObject.ApiProperty)({
1909
1980
  description: 'Description of the schema'
1910
1981
  }),
1911
- (0,_ts_metadata_namespaceObject._)("design:type", String)
1982
+ schema_ts_metadata("design:type", String)
1912
1983
  ], SchemaDocumentation.prototype, "description", void 0);
1913
- (0,_ts_decorate_namespaceObject._)([
1984
+ schema_ts_decorate([
1914
1985
  (0,swagger_namespaceObject.ApiProperty)({
1915
1986
  description: 'JSON Schema object'
1916
1987
  }),
1917
- (0,_ts_metadata_namespaceObject._)("design:type", typeof OpenAPIV3_1 === "undefined" || typeof OpenAPIV3_1.SchemaObject === "undefined" ? Object : OpenAPIV3_1.SchemaObject)
1988
+ schema_ts_metadata("design:type", typeof OpenAPIV3_1 === "undefined" || typeof OpenAPIV3_1.SchemaObject === "undefined" ? Object : OpenAPIV3_1.SchemaObject)
1918
1989
  ], SchemaDocumentation.prototype, "jsonSchema", void 0);
1919
- (0,_ts_decorate_namespaceObject._)([
1990
+ schema_ts_decorate([
1920
1991
  (0,swagger_namespaceObject.ApiProperty)({
1921
1992
  description: 'List of tabs',
1922
1993
  type: [
1923
1994
  Tab
1924
1995
  ]
1925
1996
  }),
1926
- (0,_ts_metadata_namespaceObject._)("design:type", Array)
1997
+ schema_ts_metadata("design:type", Array)
1927
1998
  ], SchemaDocumentation.prototype, "tabs", void 0);
1928
- (0,_ts_decorate_namespaceObject._)([
1999
+ schema_ts_decorate([
1929
2000
  (0,swagger_namespaceObject.ApiProperty)({
1930
2001
  description: 'List of related types',
1931
2002
  type: [
1932
2003
  RelatedType
1933
2004
  ]
1934
2005
  }),
1935
- (0,_ts_metadata_namespaceObject._)("design:type", Array)
2006
+ schema_ts_metadata("design:type", Array)
1936
2007
  ], SchemaDocumentation.prototype, "relatedTypes", void 0);
1937
- (0,_ts_decorate_namespaceObject._)([
2008
+ schema_ts_decorate([
1938
2009
  (0,swagger_namespaceObject.ApiProperty)({
1939
2010
  description: 'List of related endpoints',
1940
2011
  type: [
1941
2012
  RelatedEndpoint
1942
2013
  ]
1943
2014
  }),
1944
- (0,_ts_metadata_namespaceObject._)("design:type", Array)
2015
+ schema_ts_metadata("design:type", Array)
1945
2016
  ], SchemaDocumentation.prototype, "relatedEndpoints", void 0);
1946
2017
 
1947
2018
  ;// ../../lib/common/src/lib/model/sync-event.ts
1948
-
1949
-
2019
+ function sync_event_ts_decorate(decorators, target, key, desc) {
2020
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
2021
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
2022
+ else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
2023
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
2024
+ }
2025
+ function sync_event_ts_metadata(k, v) {
2026
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
2027
+ }
1950
2028
 
1951
2029
  class SyncStatusEventDto {
1952
2030
  constructor(sourceId, step, status, info, error){
@@ -1960,13 +2038,13 @@ class SyncStatusEventDto {
1960
2038
  return new SyncStatusEventDto(event.sourceId, event.step, event.status, event.info, event.error);
1961
2039
  }
1962
2040
  }
1963
- (0,_ts_decorate_namespaceObject._)([
2041
+ sync_event_ts_decorate([
1964
2042
  (0,swagger_namespaceObject.ApiProperty)({
1965
2043
  example: 'alpha'
1966
2044
  }),
1967
- (0,_ts_metadata_namespaceObject._)("design:type", String)
2045
+ sync_event_ts_metadata("design:type", String)
1968
2046
  ], SyncStatusEventDto.prototype, "sourceId", void 0);
1969
- (0,_ts_decorate_namespaceObject._)([
2047
+ sync_event_ts_decorate([
1970
2048
  (0,swagger_namespaceObject.ApiProperty)({
1971
2049
  enum: [
1972
2050
  'getConfig',
@@ -1979,9 +2057,9 @@ class SyncStatusEventDto {
1979
2057
  'indexDiff'
1980
2058
  ]
1981
2059
  }),
1982
- (0,_ts_metadata_namespaceObject._)("design:type", typeof Step === "undefined" ? Object : Step)
2060
+ sync_event_ts_metadata("design:type", typeof Step === "undefined" ? Object : Step)
1983
2061
  ], SyncStatusEventDto.prototype, "step", void 0);
1984
- (0,_ts_decorate_namespaceObject._)([
2062
+ sync_event_ts_decorate([
1985
2063
  (0,swagger_namespaceObject.ApiProperty)({
1986
2064
  enum: [
1987
2065
  'started',
@@ -1989,19 +2067,19 @@ class SyncStatusEventDto {
1989
2067
  'error'
1990
2068
  ]
1991
2069
  }),
1992
- (0,_ts_metadata_namespaceObject._)("design:type", typeof Status === "undefined" ? Object : Status)
2070
+ sync_event_ts_metadata("design:type", typeof Status === "undefined" ? Object : Status)
1993
2071
  ], SyncStatusEventDto.prototype, "status", void 0);
1994
- (0,_ts_decorate_namespaceObject._)([
2072
+ sync_event_ts_decorate([
1995
2073
  (0,swagger_namespaceObject.ApiPropertyOptional)({
1996
2074
  example: '200 OK'
1997
2075
  }),
1998
- (0,_ts_metadata_namespaceObject._)("design:type", String)
2076
+ sync_event_ts_metadata("design:type", String)
1999
2077
  ], SyncStatusEventDto.prototype, "info", void 0);
2000
- (0,_ts_decorate_namespaceObject._)([
2078
+ sync_event_ts_decorate([
2001
2079
  (0,swagger_namespaceObject.ApiPropertyOptional)({
2002
2080
  example: 'disk full'
2003
2081
  }),
2004
- (0,_ts_metadata_namespaceObject._)("design:type", String)
2082
+ sync_event_ts_metadata("design:type", String)
2005
2083
  ], SyncStatusEventDto.prototype, "error", void 0);
2006
2084
  class SyncDoneEventDto {
2007
2085
  constructor(allSources){
@@ -2011,11 +2089,11 @@ class SyncDoneEventDto {
2011
2089
  return new SyncDoneEventDto(event.allSources);
2012
2090
  }
2013
2091
  }
2014
- (0,_ts_decorate_namespaceObject._)([
2092
+ sync_event_ts_decorate([
2015
2093
  (0,swagger_namespaceObject.ApiProperty)({
2016
2094
  example: true
2017
2095
  }),
2018
- (0,_ts_metadata_namespaceObject._)("design:type", Boolean)
2096
+ sync_event_ts_metadata("design:type", Boolean)
2019
2097
  ], SyncDoneEventDto.prototype, "allSources", void 0);
2020
2098
  class SyncEventContext {
2021
2099
  constructor(events$){
@@ -5432,8 +5510,15 @@ ${'```'}
5432
5510
  }
5433
5511
 
5434
5512
  ;// ../../lib/next-binding/src/lib/next-binding.service.ts
5435
-
5436
-
5513
+ function next_binding_service_ts_decorate(decorators, target, key, desc) {
5514
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
5515
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5516
+ else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5517
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
5518
+ }
5519
+ function next_binding_service_ts_metadata(k, v) {
5520
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
5521
+ }
5437
5522
 
5438
5523
 
5439
5524
 
@@ -5642,22 +5727,27 @@ ${"```"}
5642
5727
  });
5643
5728
  }
5644
5729
  }
5645
- IntrigNextBindingService = (0,_ts_decorate_namespaceObject._)([
5730
+ IntrigNextBindingService = next_binding_service_ts_decorate([
5646
5731
  (0,common_namespaceObject.Injectable)(),
5647
- (0,_ts_metadata_namespaceObject._)("design:type", Function),
5648
- (0,_ts_metadata_namespaceObject._)("design:paramtypes", [
5732
+ next_binding_service_ts_metadata("design:type", Function),
5733
+ next_binding_service_ts_metadata("design:paramtypes", [
5649
5734
  typeof SourceManagementService === "undefined" ? Object : SourceManagementService,
5650
5735
  typeof config_namespaceObject.ConfigService === "undefined" ? Object : config_namespaceObject.ConfigService
5651
5736
  ])
5652
5737
  ], IntrigNextBindingService);
5653
5738
 
5654
5739
  ;// ../../lib/next-binding/src/lib/next-binding.module.ts
5655
-
5740
+ function next_binding_module_ts_decorate(decorators, target, key, desc) {
5741
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
5742
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5743
+ else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5744
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
5745
+ }
5656
5746
 
5657
5747
 
5658
5748
  class NextBindingModule {
5659
5749
  }
5660
- NextBindingModule = (0,_ts_decorate_namespaceObject._)([
5750
+ NextBindingModule = next_binding_module_ts_decorate([
5661
5751
  (0,common_namespaceObject.Module)({
5662
5752
  providers: [
5663
5753
  IntrigNextBindingService
@@ -5669,8 +5759,15 @@ NextBindingModule = (0,_ts_decorate_namespaceObject._)([
5669
5759
  ], NextBindingModule);
5670
5760
 
5671
5761
  ;// ../../lib/next-binding/src/lib/cli/next-cli.service.ts
5672
-
5673
-
5762
+ function next_cli_service_ts_decorate(decorators, target, key, desc) {
5763
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
5764
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5765
+ else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5766
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
5767
+ }
5768
+ function next_cli_service_ts_metadata(k, v) {
5769
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
5770
+ }
5674
5771
 
5675
5772
 
5676
5773
 
@@ -5708,22 +5805,27 @@ class NextCliService extends GeneratorCli {
5708
5805
  });
5709
5806
  }
5710
5807
  }
5711
- NextCliService = (0,_ts_decorate_namespaceObject._)([
5808
+ NextCliService = next_cli_service_ts_decorate([
5712
5809
  (0,common_namespaceObject.Injectable)(),
5713
- (0,_ts_metadata_namespaceObject._)("design:type", Function),
5714
- (0,_ts_metadata_namespaceObject._)("design:paramtypes", [
5810
+ next_cli_service_ts_metadata("design:type", Function),
5811
+ next_cli_service_ts_metadata("design:paramtypes", [
5715
5812
  typeof PackageManagerService === "undefined" ? Object : PackageManagerService,
5716
5813
  typeof config_namespaceObject.ConfigService === "undefined" ? Object : config_namespaceObject.ConfigService
5717
5814
  ])
5718
5815
  ], NextCliService);
5719
5816
 
5720
5817
  ;// ../../lib/next-binding/src/lib/cli/next-cli.module.ts
5721
-
5818
+ function next_cli_module_ts_decorate(decorators, target, key, desc) {
5819
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
5820
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5821
+ else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5822
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
5823
+ }
5722
5824
 
5723
5825
 
5724
5826
  class NextCliModule {
5725
5827
  }
5726
- NextCliModule = (0,_ts_decorate_namespaceObject._)([
5828
+ NextCliModule = next_cli_module_ts_decorate([
5727
5829
  (0,common_namespaceObject.Module)({
5728
5830
  providers: [
5729
5831
  NextCliService
@@ -8967,8 +9069,15 @@ ${"```"}
8967
9069
  }
8968
9070
 
8969
9071
  ;// ../../lib/react-binding/src/lib/react-binding.service.ts
8970
-
8971
-
9072
+ function react_binding_service_ts_decorate(decorators, target, key, desc) {
9073
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
9074
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
9075
+ else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
9076
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
9077
+ }
9078
+ function react_binding_service_ts_metadata(k, v) {
9079
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9080
+ }
8972
9081
 
8973
9082
 
8974
9083
 
@@ -9156,22 +9265,27 @@ ${"```"}
9156
9265
  });
9157
9266
  }
9158
9267
  }
9159
- ReactBindingService = (0,_ts_decorate_namespaceObject._)([
9268
+ ReactBindingService = react_binding_service_ts_decorate([
9160
9269
  (0,common_namespaceObject.Injectable)(),
9161
- (0,_ts_metadata_namespaceObject._)("design:type", Function),
9162
- (0,_ts_metadata_namespaceObject._)("design:paramtypes", [
9270
+ react_binding_service_ts_metadata("design:type", Function),
9271
+ react_binding_service_ts_metadata("design:paramtypes", [
9163
9272
  typeof SourceManagementService === "undefined" ? Object : SourceManagementService,
9164
9273
  typeof config_namespaceObject.ConfigService === "undefined" ? Object : config_namespaceObject.ConfigService
9165
9274
  ])
9166
9275
  ], ReactBindingService);
9167
9276
 
9168
9277
  ;// ../../lib/react-binding/src/lib/react-binding.module.ts
9169
-
9278
+ function react_binding_module_ts_decorate(decorators, target, key, desc) {
9279
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
9280
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
9281
+ else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
9282
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
9283
+ }
9170
9284
 
9171
9285
 
9172
9286
  class ReactBindingModule {
9173
9287
  }
9174
- ReactBindingModule = (0,_ts_decorate_namespaceObject._)([
9288
+ ReactBindingModule = react_binding_module_ts_decorate([
9175
9289
  (0,common_namespaceObject.Module)({
9176
9290
  controllers: [],
9177
9291
  providers: [
@@ -9184,8 +9298,15 @@ ReactBindingModule = (0,_ts_decorate_namespaceObject._)([
9184
9298
  ], ReactBindingModule);
9185
9299
 
9186
9300
  ;// ../../lib/react-binding/src/lib/cli/react-cli.service.ts
9187
-
9188
-
9301
+ function react_cli_service_ts_decorate(decorators, target, key, desc) {
9302
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
9303
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
9304
+ else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
9305
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
9306
+ }
9307
+ function react_cli_service_ts_metadata(k, v) {
9308
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9309
+ }
9189
9310
 
9190
9311
 
9191
9312
 
@@ -9210,22 +9331,27 @@ class ReactCliService extends GeneratorCli {
9210
9331
  // intentionally kept empty
9211
9332
  }
9212
9333
  }
9213
- ReactCliService = (0,_ts_decorate_namespaceObject._)([
9334
+ ReactCliService = react_cli_service_ts_decorate([
9214
9335
  (0,common_namespaceObject.Injectable)(),
9215
- (0,_ts_metadata_namespaceObject._)("design:type", Function),
9216
- (0,_ts_metadata_namespaceObject._)("design:paramtypes", [
9336
+ react_cli_service_ts_metadata("design:type", Function),
9337
+ react_cli_service_ts_metadata("design:paramtypes", [
9217
9338
  typeof PackageManagerService === "undefined" ? Object : PackageManagerService,
9218
9339
  typeof config_namespaceObject.ConfigService === "undefined" ? Object : config_namespaceObject.ConfigService
9219
9340
  ])
9220
9341
  ], ReactCliService);
9221
9342
 
9222
9343
  ;// ../../lib/react-binding/src/lib/cli/react-cli.module.ts
9223
-
9344
+ function react_cli_module_ts_decorate(decorators, target, key, desc) {
9345
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
9346
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
9347
+ else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
9348
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
9349
+ }
9224
9350
 
9225
9351
 
9226
9352
  class ReactCliModule {
9227
9353
  }
9228
- ReactCliModule = (0,_ts_decorate_namespaceObject._)([
9354
+ ReactCliModule = react_cli_module_ts_decorate([
9229
9355
  (0,common_namespaceObject.Module)({
9230
9356
  providers: [
9231
9357
  ReactCliService
@@ -9854,8 +9980,15 @@ function extractSchemas(spec) {
9854
9980
  const set_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("lodash/set");
9855
9981
  var set_default = /*#__PURE__*/__webpack_require__.n(set_namespaceObject);
9856
9982
  ;// ../../lib/openapi-source/src/lib/openapi.service.ts
9857
-
9858
-
9983
+ function openapi_service_ts_decorate(decorators, target, key, desc) {
9984
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
9985
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
9986
+ else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
9987
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
9988
+ }
9989
+ function openapi_service_ts_metadata(k, v) {
9990
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9991
+ }
9859
9992
 
9860
9993
 
9861
9994
 
@@ -9993,74 +10126,79 @@ class IntrigOpenapiService {
9993
10126
  }
9994
10127
  }
9995
10128
  }
9996
- (0,_ts_decorate_namespaceObject._)([
10129
+ openapi_service_ts_decorate([
9997
10130
  WithStatus((source, normalize)=>({
9998
10131
  step: 'save',
9999
10132
  sourceId: source.id
10000
10133
  })),
10001
- (0,_ts_metadata_namespaceObject._)("design:type", Function),
10002
- (0,_ts_metadata_namespaceObject._)("design:paramtypes", [
10134
+ openapi_service_ts_metadata("design:type", Function),
10135
+ openapi_service_ts_metadata("design:paramtypes", [
10003
10136
  typeof SyncEventContext === "undefined" ? Object : SyncEventContext,
10004
10137
  typeof IIntrigSourceConfig === "undefined" ? Object : IIntrigSourceConfig,
10005
10138
  typeof OpenAPIV3_1 === "undefined" || typeof OpenAPIV3_1.Document === "undefined" ? Object : OpenAPIV3_1.Document
10006
10139
  ]),
10007
- (0,_ts_metadata_namespaceObject._)("design:returntype", Promise)
10140
+ openapi_service_ts_metadata("design:returntype", Promise)
10008
10141
  ], IntrigOpenapiService.prototype, "saveContent", null);
10009
- (0,_ts_decorate_namespaceObject._)([
10142
+ openapi_service_ts_decorate([
10010
10143
  WithStatus((source, spec)=>({
10011
10144
  step: 'normalize',
10012
10145
  sourceId: source.id
10013
10146
  })),
10014
- (0,_ts_metadata_namespaceObject._)("design:type", Function),
10015
- (0,_ts_metadata_namespaceObject._)("design:paramtypes", [
10147
+ openapi_service_ts_metadata("design:type", Function),
10148
+ openapi_service_ts_metadata("design:paramtypes", [
10016
10149
  typeof SyncEventContext === "undefined" ? Object : SyncEventContext,
10017
10150
  typeof IIntrigSourceConfig === "undefined" ? Object : IIntrigSourceConfig,
10018
10151
  Object
10019
10152
  ]),
10020
- (0,_ts_metadata_namespaceObject._)("design:returntype", Promise)
10153
+ openapi_service_ts_metadata("design:returntype", Promise)
10021
10154
  ], IntrigOpenapiService.prototype, "normalize", null);
10022
- (0,_ts_decorate_namespaceObject._)([
10155
+ openapi_service_ts_decorate([
10023
10156
  WithStatus((source, row)=>({
10024
10157
  step: 'decode',
10025
10158
  sourceId: source.id
10026
10159
  })),
10027
- (0,_ts_metadata_namespaceObject._)("design:type", Function),
10028
- (0,_ts_metadata_namespaceObject._)("design:paramtypes", [
10160
+ openapi_service_ts_metadata("design:type", Function),
10161
+ openapi_service_ts_metadata("design:paramtypes", [
10029
10162
  typeof SyncEventContext === "undefined" ? Object : SyncEventContext,
10030
10163
  typeof IIntrigSourceConfig === "undefined" ? Object : IIntrigSourceConfig,
10031
10164
  String
10032
10165
  ]),
10033
- (0,_ts_metadata_namespaceObject._)("design:returntype", void 0)
10166
+ openapi_service_ts_metadata("design:returntype", void 0)
10034
10167
  ], IntrigOpenapiService.prototype, "decodeSwaggerDoc", null);
10035
- (0,_ts_decorate_namespaceObject._)([
10168
+ openapi_service_ts_decorate([
10036
10169
  WithStatus((source)=>({
10037
10170
  step: 'fetch',
10038
10171
  sourceId: source.id
10039
10172
  })),
10040
- (0,_ts_metadata_namespaceObject._)("design:type", Function),
10041
- (0,_ts_metadata_namespaceObject._)("design:paramtypes", [
10173
+ openapi_service_ts_metadata("design:type", Function),
10174
+ openapi_service_ts_metadata("design:paramtypes", [
10042
10175
  typeof SyncEventContext === "undefined" ? Object : SyncEventContext,
10043
10176
  typeof IIntrigSourceConfig === "undefined" ? Object : IIntrigSourceConfig
10044
10177
  ]),
10045
- (0,_ts_metadata_namespaceObject._)("design:returntype", Promise)
10178
+ openapi_service_ts_metadata("design:returntype", Promise)
10046
10179
  ], IntrigOpenapiService.prototype, "fetchSwaggerDoc", null);
10047
- IntrigOpenapiService = (0,_ts_decorate_namespaceObject._)([
10180
+ IntrigOpenapiService = openapi_service_ts_decorate([
10048
10181
  (0,common_namespaceObject.Injectable)(),
10049
- (0,_ts_metadata_namespaceObject._)("design:type", Function),
10050
- (0,_ts_metadata_namespaceObject._)("design:paramtypes", [
10182
+ openapi_service_ts_metadata("design:type", Function),
10183
+ openapi_service_ts_metadata("design:paramtypes", [
10051
10184
  typeof axios_namespaceObject.HttpService === "undefined" ? Object : axios_namespaceObject.HttpService,
10052
10185
  typeof SpecManagementService === "undefined" ? Object : SpecManagementService
10053
10186
  ])
10054
10187
  ], IntrigOpenapiService);
10055
10188
 
10056
10189
  ;// ../../lib/openapi-source/src/lib/openapi-source.module.ts
10057
-
10190
+ function openapi_source_module_ts_decorate(decorators, target, key, desc) {
10191
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
10192
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
10193
+ else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
10194
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
10195
+ }
10058
10196
 
10059
10197
 
10060
10198
 
10061
10199
  class OpenapiSourceModule {
10062
10200
  }
10063
- OpenapiSourceModule = (0,_ts_decorate_namespaceObject._)([
10201
+ OpenapiSourceModule = openapi_source_module_ts_decorate([
10064
10202
  (0,common_namespaceObject.Module)({
10065
10203
  imports: [
10066
10204
  axios_namespaceObject.HttpModule
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intrig/core",
3
- "version": "0.0.10",
3
+ "version": "0.0.12",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "bin": {
@@ -15,7 +15,7 @@
15
15
  "@nestjs/common": "10.4.17",
16
16
  "@nestjs/config": "4.0.2",
17
17
  "@nestjs/core": "10.4.17",
18
- "@nestjs/platform-express": "10.4.17",
18
+ "@nestjs/platform-express": "10.4.19",
19
19
  "@nestjs/swagger": "8.1.1",
20
20
  "axios": "1.9.0",
21
21
  "chalk": "4.1.2",