@placeshakr/config 10.15.0 → 10.16.1-alpha.2
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/CHANGELOG.md +35 -0
- package/dist/config.cjs.development.js +74 -13
- package/dist/config.cjs.development.js.map +1 -1
- package/dist/config.cjs.production.min.js +1 -1
- package/dist/config.cjs.production.min.js.map +1 -1
- package/dist/config.esm.js +74 -13
- package/dist/config.esm.js.map +1 -1
- package/dist/environment/base.d.ts.map +1 -1
- package/dist/environment/decorators.d.ts.map +1 -1
- package/dist/environment/types.d.ts +5 -3
- package/dist/environment/types.d.ts.map +1 -1
- package/dist/types.d.ts +144 -11
- package/dist/types.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/environment/base.ts +27 -3
- package/src/environment/decorators.ts +12 -8
- package/src/environment/types.ts +6 -4
- package/src/types.ts +273 -110
package/dist/config.esm.js
CHANGED
|
@@ -231,15 +231,17 @@ var productionEnvironment = {
|
|
|
231
231
|
invoices: 'invoices',
|
|
232
232
|
materialsProvider: 'materials-provider',
|
|
233
233
|
devisTemplates: 'devis-templates',
|
|
234
|
+
estimations: 'estimations',
|
|
235
|
+
receptionVouchers: 'projects-reception-vouchers',
|
|
236
|
+
categories: 'categories',
|
|
237
|
+
operationsCatalogs: 'operations-catalogs',
|
|
238
|
+
nomenclatures: 'nomenclatures',
|
|
234
239
|
// used only for managment
|
|
235
240
|
systemMaterials: 'system-materials',
|
|
236
241
|
systemOperations: 'system-operations',
|
|
237
242
|
systemOperationsMaterials: 'system-operations-materials',
|
|
238
243
|
systemMaterialsProvider: 'system-materials-provider',
|
|
239
244
|
systemStatus: 'system-status',
|
|
240
|
-
estimations: 'estimations',
|
|
241
|
-
receptionVouchers: 'projects-reception-vouchers',
|
|
242
|
-
categories: 'categories',
|
|
243
245
|
systemCategories: 'system-categories'
|
|
244
246
|
}
|
|
245
247
|
},
|
|
@@ -313,7 +315,7 @@ var productionEnvironment = {
|
|
|
313
315
|
},
|
|
314
316
|
operations: {
|
|
315
317
|
searchableAttributes: ['name', 'unitPrice', 'objectID'],
|
|
316
|
-
attributesForFaceting: ['searchable(pieces)', 'searchable(surface)', 'type', 'unitPrice', 'searchable(scope)'],
|
|
318
|
+
attributesForFaceting: ['searchable(pieces)', 'searchable(surface)', 'type', 'unitPrice', 'searchable(scope)', 'catalogId'],
|
|
317
319
|
maxValuesPerFacet: 1000,
|
|
318
320
|
maxFacetHits: 100
|
|
319
321
|
},
|
|
@@ -499,6 +501,20 @@ var productionEnvironment = {
|
|
|
499
501
|
ranking: ['asc(name)'],
|
|
500
502
|
maxValuesPerFacet: 1000,
|
|
501
503
|
maxFacetHits: 100
|
|
504
|
+
},
|
|
505
|
+
operationsCatalogs: {
|
|
506
|
+
searchableAttributes: ['name'],
|
|
507
|
+
attributesForFaceting: ['searchable(scope)', 'searchable(status)'],
|
|
508
|
+
ranking: ['asc(name)'],
|
|
509
|
+
maxValuesPerFacet: 1000,
|
|
510
|
+
maxFacetHits: 100
|
|
511
|
+
},
|
|
512
|
+
nomenclatures: {
|
|
513
|
+
searchableAttributes: ['name'],
|
|
514
|
+
attributesForFaceting: ['searchable(scope)', 'searchable(identifier)', 'searchable(status)'],
|
|
515
|
+
ranking: ['asc(name)'],
|
|
516
|
+
maxValuesPerFacet: 1000,
|
|
517
|
+
maxFacetHits: 100
|
|
502
518
|
}
|
|
503
519
|
}
|
|
504
520
|
};
|
|
@@ -569,16 +585,18 @@ var test = function test(base) {
|
|
|
569
585
|
invoices: 'test-invoices',
|
|
570
586
|
materialsProvider: 'materials-provider',
|
|
571
587
|
devisTemplates: 'devis-templates',
|
|
588
|
+
categories: 'categories',
|
|
589
|
+
estimations: 'estimations',
|
|
590
|
+
downPayments: 'emulator-projects-down-payments',
|
|
591
|
+
receptionVouchers: 'emulator-projects-reception-vouchers',
|
|
592
|
+
operationsCatalogs: 'operations-catalogs',
|
|
593
|
+
nomenclatures: 'nomenclatures',
|
|
572
594
|
// used only for managment
|
|
573
595
|
systemMaterials: 'system-materials',
|
|
574
596
|
systemOperations: 'system-operations',
|
|
575
597
|
systemOperationsMaterials: 'system-operations-materials',
|
|
576
598
|
systemMaterialsProvider: 'system-materials-provider',
|
|
577
599
|
systemStatus: 'test-system-status',
|
|
578
|
-
estimations: 'estimations',
|
|
579
|
-
downPayments: 'tests-projects-down-payments',
|
|
580
|
-
receptionVouchers: 'tests-projects-reception-vouchers',
|
|
581
|
-
categories: 'categories',
|
|
582
600
|
systemCategories: 'system-categories'
|
|
583
601
|
}
|
|
584
602
|
}),
|
|
@@ -621,16 +639,18 @@ var emulator = function emulator(base) {
|
|
|
621
639
|
invoices: 'emulator-invoices',
|
|
622
640
|
materialsProvider: 'materials-provider',
|
|
623
641
|
devisTemplates: 'devis-templates',
|
|
642
|
+
categories: 'categories',
|
|
643
|
+
estimations: 'estimations',
|
|
644
|
+
downPayments: 'emulator-projects-down-payments',
|
|
645
|
+
receptionVouchers: 'emulator-projects-reception-vouchers',
|
|
646
|
+
operationsCatalogs: 'operations-catalogs',
|
|
647
|
+
nomenclatures: 'nomenclatures',
|
|
624
648
|
// used only for managment
|
|
625
649
|
systemMaterials: 'system-materials',
|
|
626
650
|
systemOperations: 'system-operations',
|
|
627
651
|
systemOperationsMaterials: 'system-operations-materials',
|
|
628
652
|
systemMaterialsProvider: 'system-materials-provider',
|
|
629
653
|
systemStatus: 'emulator-system-status',
|
|
630
|
-
estimations: 'estimations',
|
|
631
|
-
downPayments: 'emulator-projects-down-payments',
|
|
632
|
-
receptionVouchers: 'emulator-projects-reception-vouchers',
|
|
633
|
-
categories: 'categories',
|
|
634
654
|
systemCategories: 'system-categories'
|
|
635
655
|
}
|
|
636
656
|
}),
|
|
@@ -1032,6 +1052,7 @@ var ROLE$1;
|
|
|
1032
1052
|
ROLE["OWNER"] = "owner";
|
|
1033
1053
|
ROLE["SUPERADMIN"] = "superadmin";
|
|
1034
1054
|
})(ROLE$1 || (ROLE$1 = {}));
|
|
1055
|
+
|
|
1035
1056
|
var MaterialsProviderType;
|
|
1036
1057
|
|
|
1037
1058
|
(function (MaterialsProviderType) {
|
|
@@ -1508,6 +1529,42 @@ var CategoryEntityEnum;
|
|
|
1508
1529
|
CategoryEntityEnum["OPERATION"] = "OPERATION";
|
|
1509
1530
|
})(CategoryEntityEnum || (CategoryEntityEnum = {}));
|
|
1510
1531
|
|
|
1532
|
+
var NomenclaturesIdentifier;
|
|
1533
|
+
|
|
1534
|
+
(function (NomenclaturesIdentifier) {
|
|
1535
|
+
NomenclaturesIdentifier["OPERATIONS_SECTOR"] = "OPERATIONS_SECTOR";
|
|
1536
|
+
NomenclaturesIdentifier["OPERATIONS_PIECE"] = "OPERATIONS_PIECE";
|
|
1537
|
+
NomenclaturesIdentifier["OPERATIONS_LOT"] = "OPERATIONS_LOT";
|
|
1538
|
+
})(NomenclaturesIdentifier || (NomenclaturesIdentifier = {}));
|
|
1539
|
+
|
|
1540
|
+
var OperationQuantityEnum;
|
|
1541
|
+
|
|
1542
|
+
(function (OperationQuantityEnum) {
|
|
1543
|
+
OperationQuantityEnum["NOT_DEFINED"] = "NOT_DEFINED";
|
|
1544
|
+
OperationQuantityEnum["PERIMETER"] = "PERIMETER";
|
|
1545
|
+
OperationQuantityEnum["GROUND_CEILING_SURFACE"] = "GROUND_CEILING_SURFACE";
|
|
1546
|
+
OperationQuantityEnum["WALL_SURFACE"] = "WALL_SURFACE";
|
|
1547
|
+
})(OperationQuantityEnum || (OperationQuantityEnum = {}));
|
|
1548
|
+
|
|
1549
|
+
var OperationRulesEnum;
|
|
1550
|
+
|
|
1551
|
+
(function (OperationRulesEnum) {
|
|
1552
|
+
OperationRulesEnum["BIGGER_THAN"] = "BIGGER_THAN";
|
|
1553
|
+
OperationRulesEnum["LOWER_THAN"] = "LOWER_THAN";
|
|
1554
|
+
OperationRulesEnum["EQUAL_TO"] = "EQUAL_TO";
|
|
1555
|
+
OperationRulesEnum["BETWEEN"] = "BETWEEN";
|
|
1556
|
+
})(OperationRulesEnum || (OperationRulesEnum = {}));
|
|
1557
|
+
|
|
1558
|
+
var MaterialResponsible;
|
|
1559
|
+
|
|
1560
|
+
(function (MaterialResponsible) {
|
|
1561
|
+
MaterialResponsible["CLIENT"] = "CLIENT";
|
|
1562
|
+
MaterialResponsible["PRO"] = "PRO";
|
|
1563
|
+
MaterialResponsible["AGENT"] = "AGENT";
|
|
1564
|
+
MaterialResponsible["SELLER"] = "SELLER";
|
|
1565
|
+
MaterialResponsible["ENTERPRISE"] = "ENTERPRISE";
|
|
1566
|
+
})(MaterialResponsible || (MaterialResponsible = {}));
|
|
1567
|
+
|
|
1511
1568
|
var types = {
|
|
1512
1569
|
__proto__: null,
|
|
1513
1570
|
get ROLE () { return ROLE$1; },
|
|
@@ -1556,7 +1613,11 @@ var types = {
|
|
|
1556
1613
|
get EstimationStatusEnum () { return EstimationStatusEnum; },
|
|
1557
1614
|
get HistoryActionEnum () { return HistoryActionEnum; },
|
|
1558
1615
|
get HistoryEntityType () { return HistoryEntityType; },
|
|
1559
|
-
get CategoryEntityEnum () { return CategoryEntityEnum; }
|
|
1616
|
+
get CategoryEntityEnum () { return CategoryEntityEnum; },
|
|
1617
|
+
get NomenclaturesIdentifier () { return NomenclaturesIdentifier; },
|
|
1618
|
+
get OperationQuantityEnum () { return OperationQuantityEnum; },
|
|
1619
|
+
get OperationRulesEnum () { return OperationRulesEnum; },
|
|
1620
|
+
get MaterialResponsible () { return MaterialResponsible; }
|
|
1560
1621
|
};
|
|
1561
1622
|
|
|
1562
1623
|
function isBuffer(obj) {
|