@placeshakr/config 10.19.12-alpha.0 → 10.19.13-alpha.3
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/dist/config.cjs.development.js +43 -11
- 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 +43 -11
- 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 +3 -0
- package/dist/environment/types.d.ts.map +1 -1
- package/dist/helpers/index.d.ts +1 -0
- package/dist/helpers/index.d.ts.map +1 -1
- package/dist/types.d.ts +130 -8
- package/dist/types.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/environment/base.ts +13 -2
- package/src/environment/decorators.ts +2 -0
- package/src/environment/types.ts +3 -0
- package/src/helpers/index.ts +2 -0
- package/src/types.ts +138 -6
|
@@ -135,6 +135,7 @@ var productionEnvironment = {
|
|
|
135
135
|
medias: 'enterprises/{enterpriseId}/projects/{projectId}/medias',
|
|
136
136
|
events: 'enterprises/{enterpriseId}/projects/{projectId}/events',
|
|
137
137
|
notes: 'enterprises/{enterpriseId}/projects/{projectId}/notes',
|
|
138
|
+
visitReports: 'enterprises/{enterpriseId}/projects/{projectId}/visitReports',
|
|
138
139
|
documents: 'enterprises/{enterpriseId}/projects/{projectId}/documents',
|
|
139
140
|
devis: 'enterprises/{enterpriseId}/projects/{projectId}/devis',
|
|
140
141
|
admins: 'enterprises/{enterpriseId}/admins',
|
|
@@ -179,6 +180,7 @@ var productionEnvironment = {
|
|
|
179
180
|
medias: 'enterprises/{enterpriseId}/projects/{projectId}/medias/{mediaId}',
|
|
180
181
|
events: 'enterprises/{enterpriseId}/projects/{projectId}/events/{eventId}',
|
|
181
182
|
notes: 'enterprises/{enterpriseId}/projects/{projectId}/notes/{noteId}',
|
|
183
|
+
visitReports: 'enterprises/{enterpriseId}/projects/{projectId}/visitReports/{visitReportId}',
|
|
182
184
|
documents: 'enterprises/{enterpriseId}/projects/{projectId}/documents/{documentId}',
|
|
183
185
|
devis: 'enterprises/{enterpriseId}/projects/{projectId}/devis/{devisId}',
|
|
184
186
|
admin: 'enterprises/{enterpriseId}/admins/{adminId}',
|
|
@@ -222,6 +224,7 @@ var productionEnvironment = {
|
|
|
222
224
|
medias: 'projects-medias',
|
|
223
225
|
events: 'projects-events',
|
|
224
226
|
notes: 'projects-notes',
|
|
227
|
+
visitReports: 'projects-visitReports',
|
|
225
228
|
documents: 'projects-documents',
|
|
226
229
|
devis: 'projects-devis',
|
|
227
230
|
admins: 'admins',
|
|
@@ -327,7 +330,7 @@ var productionEnvironment = {
|
|
|
327
330
|
},
|
|
328
331
|
operations: {
|
|
329
332
|
searchableAttributes: ['name', 'unitPrice', 'objectID'],
|
|
330
|
-
attributesForFaceting: ['searchable(lot)', '
|
|
333
|
+
attributesForFaceting: ['unitPrice', 'searchable(lot)', 'searchable(scope)', 'searchable(catalogId)', 'searchable(category)'],
|
|
331
334
|
maxValuesPerFacet: 1000,
|
|
332
335
|
maxFacetHits: 100
|
|
333
336
|
},
|
|
@@ -352,6 +355,13 @@ var productionEnvironment = {
|
|
|
352
355
|
maxValuesPerFacet: 1000,
|
|
353
356
|
maxFacetHits: 100
|
|
354
357
|
},
|
|
358
|
+
visitReports: {
|
|
359
|
+
searchableAttributes: ['title'],
|
|
360
|
+
attributesForFaceting: ['projectId', 'searchable(scope)'],
|
|
361
|
+
ranking: ['desc(createdAt)'],
|
|
362
|
+
maxValuesPerFacet: 1000,
|
|
363
|
+
maxFacetHits: 100
|
|
364
|
+
},
|
|
355
365
|
medias: {
|
|
356
366
|
searchableAttributes: ['name'],
|
|
357
367
|
attributesForFaceting: ['owner', 'searchable(tags)', 'projectId', 'searchable(scope)', 'createdDate'],
|
|
@@ -593,6 +603,7 @@ var test = function test(base) {
|
|
|
593
603
|
medias: 'tests-projects-medias',
|
|
594
604
|
events: 'tests-projects-events',
|
|
595
605
|
notes: 'tests-projects-notes',
|
|
606
|
+
visitReports: 'tests-projects-visit-reports',
|
|
596
607
|
documents: 'tests-projects-documents',
|
|
597
608
|
devis: 'tests-projects-devis',
|
|
598
609
|
admins: 'tests-admins',
|
|
@@ -649,6 +660,7 @@ var emulator = function emulator(base) {
|
|
|
649
660
|
medias: 'emulator-projects-medias',
|
|
650
661
|
events: 'emulator-projects-events',
|
|
651
662
|
notes: 'emulator-projects-notes',
|
|
663
|
+
visitReports: 'emulator-projects-visit-reports',
|
|
652
664
|
documents: 'emulator-projects-documents',
|
|
653
665
|
devis: 'emulator-projects-devis',
|
|
654
666
|
admins: 'emulator-admins',
|
|
@@ -746,6 +758,7 @@ var helpers = {
|
|
|
746
758
|
profiles: /*#__PURE__*/FactoryCreateFunction(),
|
|
747
759
|
projects: /*#__PURE__*/FactoryCreateFunction(),
|
|
748
760
|
notes: /*#__PURE__*/FactoryCreateFunction(),
|
|
761
|
+
visitReports: /*#__PURE__*/FactoryCreateFunction(),
|
|
749
762
|
materials: /*#__PURE__*/FactoryCreateFunction(),
|
|
750
763
|
medias: /*#__PURE__*/FactoryCreateFunction(),
|
|
751
764
|
plans: /*#__PURE__*/FactoryCreateFunction(),
|
|
@@ -1402,6 +1415,13 @@ var ROLE;
|
|
|
1402
1415
|
ROLE["SUPERADMIN"] = "superadmin";
|
|
1403
1416
|
})(ROLE || (ROLE = {}));
|
|
1404
1417
|
|
|
1418
|
+
var VisitReportStatus;
|
|
1419
|
+
|
|
1420
|
+
(function (VisitReportStatus) {
|
|
1421
|
+
VisitReportStatus["IN_PROGRESS"] = "IN_PROGRESS";
|
|
1422
|
+
VisitReportStatus["VALID"] = "VALID";
|
|
1423
|
+
})(VisitReportStatus || (VisitReportStatus = {}));
|
|
1424
|
+
|
|
1405
1425
|
var DevisHistoryType;
|
|
1406
1426
|
|
|
1407
1427
|
(function (DevisHistoryType) {
|
|
@@ -1485,6 +1505,15 @@ var DevisViewMode;
|
|
|
1485
1505
|
DevisViewMode[DevisViewMode["CLIENT"] = 3] = "CLIENT";
|
|
1486
1506
|
})(DevisViewMode || (DevisViewMode = {}));
|
|
1487
1507
|
|
|
1508
|
+
var DevisPdfSectionEnum;
|
|
1509
|
+
|
|
1510
|
+
(function (DevisPdfSectionEnum) {
|
|
1511
|
+
DevisPdfSectionEnum["FINANCIAL_HELP"] = "FINANCIAL_HELP";
|
|
1512
|
+
DevisPdfSectionEnum["PROJECT"] = "PROJECT";
|
|
1513
|
+
DevisPdfSectionEnum["CLIENT"] = "CLIENT";
|
|
1514
|
+
DevisPdfSectionEnum["PROJECT_MANAGER"] = "PROJECT_MANAGER";
|
|
1515
|
+
})(DevisPdfSectionEnum || (DevisPdfSectionEnum = {}));
|
|
1516
|
+
|
|
1488
1517
|
var DocumentsTypeEnum;
|
|
1489
1518
|
|
|
1490
1519
|
(function (DocumentsTypeEnum) {
|
|
@@ -1940,16 +1969,17 @@ var OperationRulesEnum;
|
|
|
1940
1969
|
OperationRulesEnum["BETWEEN"] = "BETWEEN";
|
|
1941
1970
|
})(OperationRulesEnum || (OperationRulesEnum = {}));
|
|
1942
1971
|
|
|
1943
|
-
var
|
|
1972
|
+
var ItemResponsible;
|
|
1944
1973
|
|
|
1945
|
-
(function (
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1974
|
+
(function (ItemResponsible) {
|
|
1975
|
+
ItemResponsible["NONE"] = "NONE";
|
|
1976
|
+
ItemResponsible["CLIENT"] = "CLIENT";
|
|
1977
|
+
ItemResponsible["PRO"] = "PRO";
|
|
1978
|
+
ItemResponsible["AGENT"] = "AGENT";
|
|
1979
|
+
ItemResponsible["SELLER"] = "SELLER";
|
|
1980
|
+
ItemResponsible["ENTERPRISE"] = "ENTERPRISE";
|
|
1981
|
+
ItemResponsible["PROVIDER"] = "PROVIDER";
|
|
1982
|
+
})(ItemResponsible || (ItemResponsible = {}));
|
|
1953
1983
|
|
|
1954
1984
|
var ProjectPriceTypeEnum;
|
|
1955
1985
|
|
|
@@ -1969,6 +1999,7 @@ var DevisFormatEnum;
|
|
|
1969
1999
|
var types = {
|
|
1970
2000
|
__proto__: null,
|
|
1971
2001
|
get ROLE () { return ROLE; },
|
|
2002
|
+
get VisitReportStatus () { return VisitReportStatus; },
|
|
1972
2003
|
get DevisHistoryType () { return DevisHistoryType; },
|
|
1973
2004
|
get MaterialsProviderType () { return MaterialsProviderType; },
|
|
1974
2005
|
get ProjectType () { return ProjectType; },
|
|
@@ -1978,6 +2009,7 @@ var types = {
|
|
|
1978
2009
|
get DevisStatusEnum () { return DevisStatusEnum; },
|
|
1979
2010
|
get DevisTypeEnum () { return DevisTypeEnum; },
|
|
1980
2011
|
get DevisViewMode () { return DevisViewMode; },
|
|
2012
|
+
get DevisPdfSectionEnum () { return DevisPdfSectionEnum; },
|
|
1981
2013
|
get DocumentsTypeEnum () { return DocumentsTypeEnum; },
|
|
1982
2014
|
get EventsTypeEnum () { return EventsTypeEnum; },
|
|
1983
2015
|
get ExternalPlanTypeEnum () { return ExternalPlanTypeEnum; },
|
|
@@ -2019,7 +2051,7 @@ var types = {
|
|
|
2019
2051
|
get NomenclaturesIdentifier () { return NomenclaturesIdentifier; },
|
|
2020
2052
|
get OperationQuantityEnum () { return OperationQuantityEnum; },
|
|
2021
2053
|
get OperationRulesEnum () { return OperationRulesEnum; },
|
|
2022
|
-
get
|
|
2054
|
+
get ItemResponsible () { return ItemResponsible; },
|
|
2023
2055
|
get ProjectPriceTypeEnum () { return ProjectPriceTypeEnum; },
|
|
2024
2056
|
get DevisFormatEnum () { return DevisFormatEnum; }
|
|
2025
2057
|
};
|