@placeshakr/config 10.16.0 → 10.16.1-alpha.1
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 +8 -0
- package/dist/config.cjs.development.js +73 -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 +73 -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 +130 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/environment/base.ts +26 -3
- package/src/environment/decorators.ts +12 -8
- package/src/environment/types.ts +6 -4
- package/src/types.ts +175 -16
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [10.16.1-alpha.1](https://github.com/placeshaker/articho/compare/v10.16.1-alpha.0...v10.16.1-alpha.1) (2021-10-26)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @placeshakr/config
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
# [10.16.0](https://github.com/placeshaker/articho/compare/v10.15.0...v10.16.0) (2021-10-19)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @placeshakr/config
|
|
@@ -233,15 +233,17 @@ var productionEnvironment = {
|
|
|
233
233
|
invoices: 'invoices',
|
|
234
234
|
materialsProvider: 'materials-provider',
|
|
235
235
|
devisTemplates: 'devis-templates',
|
|
236
|
+
estimations: 'estimations',
|
|
237
|
+
receptionVouchers: 'projects-reception-vouchers',
|
|
238
|
+
categories: 'categories',
|
|
239
|
+
operationsCatalogs: 'operations-catalogs',
|
|
240
|
+
nomenclatures: 'nomenclatures',
|
|
236
241
|
// used only for managment
|
|
237
242
|
systemMaterials: 'system-materials',
|
|
238
243
|
systemOperations: 'system-operations',
|
|
239
244
|
systemOperationsMaterials: 'system-operations-materials',
|
|
240
245
|
systemMaterialsProvider: 'system-materials-provider',
|
|
241
246
|
systemStatus: 'system-status',
|
|
242
|
-
estimations: 'estimations',
|
|
243
|
-
receptionVouchers: 'projects-reception-vouchers',
|
|
244
|
-
categories: 'categories',
|
|
245
247
|
systemCategories: 'system-categories'
|
|
246
248
|
}
|
|
247
249
|
},
|
|
@@ -315,7 +317,7 @@ var productionEnvironment = {
|
|
|
315
317
|
},
|
|
316
318
|
operations: {
|
|
317
319
|
searchableAttributes: ['name', 'unitPrice', 'objectID'],
|
|
318
|
-
attributesForFaceting: ['searchable(pieces)', 'searchable(surface)', 'type', 'unitPrice', 'searchable(scope)'],
|
|
320
|
+
attributesForFaceting: ['searchable(pieces)', 'searchable(surface)', 'type', 'unitPrice', 'searchable(scope)', 'catalogId'],
|
|
319
321
|
maxValuesPerFacet: 1000,
|
|
320
322
|
maxFacetHits: 100
|
|
321
323
|
},
|
|
@@ -501,6 +503,20 @@ var productionEnvironment = {
|
|
|
501
503
|
ranking: ['asc(name)'],
|
|
502
504
|
maxValuesPerFacet: 1000,
|
|
503
505
|
maxFacetHits: 100
|
|
506
|
+
},
|
|
507
|
+
operationsCatalogs: {
|
|
508
|
+
searchableAttributes: ['name'],
|
|
509
|
+
attributesForFaceting: ['searchable(scope)',,],
|
|
510
|
+
ranking: ['asc(name)'],
|
|
511
|
+
maxValuesPerFacet: 1000,
|
|
512
|
+
maxFacetHits: 100
|
|
513
|
+
},
|
|
514
|
+
nomenclatures: {
|
|
515
|
+
searchableAttributes: ['name'],
|
|
516
|
+
attributesForFaceting: ['searchable(scope)', 'searchable(identifier)', 'searchable(status)'],
|
|
517
|
+
ranking: ['asc(name)'],
|
|
518
|
+
maxValuesPerFacet: 1000,
|
|
519
|
+
maxFacetHits: 100
|
|
504
520
|
}
|
|
505
521
|
}
|
|
506
522
|
};
|
|
@@ -571,16 +587,18 @@ var test = function test(base) {
|
|
|
571
587
|
invoices: 'test-invoices',
|
|
572
588
|
materialsProvider: 'materials-provider',
|
|
573
589
|
devisTemplates: 'devis-templates',
|
|
590
|
+
categories: 'categories',
|
|
591
|
+
estimations: 'estimations',
|
|
592
|
+
downPayments: 'emulator-projects-down-payments',
|
|
593
|
+
receptionVouchers: 'emulator-projects-reception-vouchers',
|
|
594
|
+
operationsCatalogs: 'operations-catalogs',
|
|
595
|
+
nomenclatures: 'nomenclatures',
|
|
574
596
|
// used only for managment
|
|
575
597
|
systemMaterials: 'system-materials',
|
|
576
598
|
systemOperations: 'system-operations',
|
|
577
599
|
systemOperationsMaterials: 'system-operations-materials',
|
|
578
600
|
systemMaterialsProvider: 'system-materials-provider',
|
|
579
601
|
systemStatus: 'test-system-status',
|
|
580
|
-
estimations: 'estimations',
|
|
581
|
-
downPayments: 'tests-projects-down-payments',
|
|
582
|
-
receptionVouchers: 'tests-projects-reception-vouchers',
|
|
583
|
-
categories: 'categories',
|
|
584
602
|
systemCategories: 'system-categories'
|
|
585
603
|
}
|
|
586
604
|
}),
|
|
@@ -623,16 +641,18 @@ var emulator = function emulator(base) {
|
|
|
623
641
|
invoices: 'emulator-invoices',
|
|
624
642
|
materialsProvider: 'materials-provider',
|
|
625
643
|
devisTemplates: 'devis-templates',
|
|
644
|
+
categories: 'categories',
|
|
645
|
+
estimations: 'estimations',
|
|
646
|
+
downPayments: 'emulator-projects-down-payments',
|
|
647
|
+
receptionVouchers: 'emulator-projects-reception-vouchers',
|
|
648
|
+
operationsCatalogs: 'operations-catalogs',
|
|
649
|
+
nomenclatures: 'nomenclatures',
|
|
626
650
|
// used only for managment
|
|
627
651
|
systemMaterials: 'system-materials',
|
|
628
652
|
systemOperations: 'system-operations',
|
|
629
653
|
systemOperationsMaterials: 'system-operations-materials',
|
|
630
654
|
systemMaterialsProvider: 'system-materials-provider',
|
|
631
655
|
systemStatus: 'emulator-system-status',
|
|
632
|
-
estimations: 'estimations',
|
|
633
|
-
downPayments: 'emulator-projects-down-payments',
|
|
634
|
-
receptionVouchers: 'emulator-projects-reception-vouchers',
|
|
635
|
-
categories: 'categories',
|
|
636
656
|
systemCategories: 'system-categories'
|
|
637
657
|
}
|
|
638
658
|
}),
|
|
@@ -1509,6 +1529,42 @@ var CategoryEntityEnum;
|
|
|
1509
1529
|
CategoryEntityEnum["OPERATION"] = "OPERATION";
|
|
1510
1530
|
})(CategoryEntityEnum || (CategoryEntityEnum = {}));
|
|
1511
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
|
+
|
|
1512
1568
|
var types = {
|
|
1513
1569
|
__proto__: null,
|
|
1514
1570
|
get ROLE () { return ROLE; },
|
|
@@ -1557,7 +1613,11 @@ var types = {
|
|
|
1557
1613
|
get EstimationStatusEnum () { return EstimationStatusEnum; },
|
|
1558
1614
|
get HistoryActionEnum () { return HistoryActionEnum; },
|
|
1559
1615
|
get HistoryEntityType () { return HistoryEntityType; },
|
|
1560
|
-
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; }
|
|
1561
1621
|
};
|
|
1562
1622
|
|
|
1563
1623
|
function isBuffer(obj) {
|