@placeshakr/config 10.19.8 → 10.19.9-alpha.4
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 +17 -6
- 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 +17 -6
- package/dist/config.esm.js.map +1 -1
- package/dist/environment/base.d.ts.map +1 -1
- package/dist/types.d.ts +101 -8
- package/dist/types.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/environment/base.ts +14 -3
- package/src/types.ts +151 -35
package/dist/config.esm.js
CHANGED
|
@@ -338,7 +338,7 @@ var productionEnvironment = {
|
|
|
338
338
|
},
|
|
339
339
|
projects: {
|
|
340
340
|
searchableAttributes: ['name', 'address', 'description', 'price.total', 'client.displayName', 'client.email', 'client.address', 'client.phone.mobile', 'pro.displayName', 'pro.email', 'pro.phone.mobile', 'agents.displayName', 'agents.email', 'agents.phone.mobile', 'sellers.displayName', 'sellers.email', 'sellers.phone.mobile', 'provider.name', 'status'],
|
|
341
|
-
attributesForFaceting: ['parent.id', 'price.total', 'searchable(type)', 'searchable(status)', 'client.displayName', 'searchable(client.email)', 'agents.userId', 'searchable(agents.displayName)', 'searchable(agents.email)', 'searchable(pro.userId)', 'searchable(pro.displayName)', 'searchable(pro.email)', 'searchable(sellers.userId)', 'searchable(sellers.displayName)', 'searchable(sellers.email)', 'searchable(provider.id)', 'searchable(provider.name)', 'searchable(category)', 'searchable(agentManager)', 'searchable(sellerManager)', 'searchable(scope)'],
|
|
341
|
+
attributesForFaceting: ['parent.id', 'price.total', 'searchable(type)', 'searchable(status)', 'client.displayName', 'searchable(client.email)', 'agents.userId', 'searchable(agents.displayName)', 'searchable(agents.email)', 'searchable(pro.userId)', 'searchable(pro.displayName)', 'searchable(pro.email)', 'searchable(sellers.userId)', 'searchable(sellers.displayName)', 'searchable(sellers.email)', 'searchable(provider.id)', 'searchable(provider.name)', 'searchable(category)', 'searchable(agentManager)', 'searchable(agentReference)', 'searchable(sellerManager)', 'searchable(sellerReference)', 'searchable(scope)'],
|
|
342
342
|
ranking: ['desc(updatedAt)'],
|
|
343
343
|
maxValuesPerFacet: 1000,
|
|
344
344
|
maxFacetHits: 100
|
|
@@ -359,14 +359,14 @@ var productionEnvironment = {
|
|
|
359
359
|
},
|
|
360
360
|
plans: {
|
|
361
361
|
searchableAttributes: ['name', 'description'],
|
|
362
|
-
attributesForFaceting: ['projectId', 'searchable(scope)', 'searchable(visibleByPro)'],
|
|
362
|
+
attributesForFaceting: ['projectId', 'pdf_generated', 'searchable(scope)', 'searchable(visibleByPro)'],
|
|
363
363
|
ranking: ['desc(updatedAt)'],
|
|
364
364
|
maxValuesPerFacet: 1000,
|
|
365
365
|
maxFacetHits: 100
|
|
366
366
|
},
|
|
367
367
|
devis: {
|
|
368
368
|
searchableAttributes: ['name', 'status'],
|
|
369
|
-
attributesForFaceting: ['searchable(status)', 'operationsCatalog', 'projectId', 'searchable(scope)'],
|
|
369
|
+
attributesForFaceting: ['searchable(status)', 'operationsCatalog', 'projectId', 'searchable(scope)', 'pdf_generated'],
|
|
370
370
|
ranking: ['desc(dateApproved)', 'desc(status)', 'desc(updatedAt)'],
|
|
371
371
|
maxValuesPerFacet: 1000,
|
|
372
372
|
maxFacetHits: 100
|
|
@@ -380,7 +380,7 @@ var productionEnvironment = {
|
|
|
380
380
|
},
|
|
381
381
|
events: {
|
|
382
382
|
searchableAttributes: ['title', 'type'],
|
|
383
|
-
attributesForFaceting: ['type', 'start', 'end', 'owner', 'projectId', 'searchable(scope)'],
|
|
383
|
+
attributesForFaceting: ['type', 'searchable(start)', 'searchable(end)', 'owner', 'projectId', 'searchable(scope)'],
|
|
384
384
|
ranking: ['desc(start)'],
|
|
385
385
|
maxValuesPerFacet: 1000,
|
|
386
386
|
maxFacetHits: 100
|
|
@@ -426,7 +426,7 @@ var productionEnvironment = {
|
|
|
426
426
|
},
|
|
427
427
|
bills: {
|
|
428
428
|
searchableAttributes: ['entity', 'type', 'status', 'subType', 'reference'],
|
|
429
|
-
attributesForFaceting: ['entity', 'projectId', 'searchable(type)', 'searchable(subType)', 'searchable(status)', 'searchable(scope)'],
|
|
429
|
+
attributesForFaceting: ['entity', 'projectId', 'pdf_generated', 'has_files', 'searchable(type)', 'searchable(subType)', 'searchable(status)', 'searchable(scope)'],
|
|
430
430
|
ranking: ['desc(referenceNumber)'],
|
|
431
431
|
maxValuesPerFacet: 1000,
|
|
432
432
|
maxFacetHits: 100
|
|
@@ -501,7 +501,7 @@ var productionEnvironment = {
|
|
|
501
501
|
},
|
|
502
502
|
receptionVouchers: {
|
|
503
503
|
searchableAttributes: ['status'],
|
|
504
|
-
attributesForFaceting: ['projectId', 'searchable(status)', 'searchable(scope)'],
|
|
504
|
+
attributesForFaceting: ['projectId', 'has_files', 'searchable(status)', 'searchable(scope)'],
|
|
505
505
|
maxValuesPerFacet: 1000,
|
|
506
506
|
maxFacetHits: 100
|
|
507
507
|
},
|
|
@@ -1875,6 +1875,12 @@ var HistoryActionEnum;
|
|
|
1875
1875
|
HistoryActionEnum["DEVIS_APPROVED"] = "DEVIS_APPROVED";
|
|
1876
1876
|
HistoryActionEnum["DEVIS_SENT"] = "DEVIS_SENT";
|
|
1877
1877
|
HistoryActionEnum["DEVIS_SIGNED"] = "DEVIS_SIGNED";
|
|
1878
|
+
HistoryActionEnum["CREATE_DOCUMENT"] = "CREATE_DOCUMENT";
|
|
1879
|
+
HistoryActionEnum["CREATE_MEDIA"] = "CREATE_MEDIA";
|
|
1880
|
+
HistoryActionEnum["CREATE_EVENT"] = "CREATE_EVENT";
|
|
1881
|
+
HistoryActionEnum["CREATE_PLAN"] = "CREATE_PLAN";
|
|
1882
|
+
HistoryActionEnum["VALIDATE_PLAN"] = "VALIDATE_PLAN";
|
|
1883
|
+
HistoryActionEnum["INVALIDATE_PLAN"] = "INVALIDATE_PLAN";
|
|
1878
1884
|
})(HistoryActionEnum || (HistoryActionEnum = {}));
|
|
1879
1885
|
|
|
1880
1886
|
var HistoryEntityType;
|
|
@@ -1883,6 +1889,11 @@ var HistoryEntityType;
|
|
|
1883
1889
|
HistoryEntityType["PROJECT"] = "PROJECT";
|
|
1884
1890
|
HistoryEntityType["NOTE"] = "NOTE";
|
|
1885
1891
|
HistoryEntityType["RECEPTION_VOUCHER"] = "RECEPTION_VOUCHER";
|
|
1892
|
+
HistoryEntityType["DOCUMENT"] = "DOCUMENT";
|
|
1893
|
+
HistoryEntityType["PLAN"] = "PLAN";
|
|
1894
|
+
HistoryEntityType["EVENT"] = "EVENT";
|
|
1895
|
+
HistoryEntityType["MEDIA"] = "MEDIA";
|
|
1896
|
+
HistoryEntityType["DEVIS"] = "DEVIS";
|
|
1886
1897
|
})(HistoryEntityType || (HistoryEntityType = {}));
|
|
1887
1898
|
|
|
1888
1899
|
var CategoryEntityEnum;
|