@placeshakr/config 10.19.41-alpha.0 → 10.20.2-alpha.0
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 +6 -39
- 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 +6 -39
- package/dist/config.esm.js.map +1 -1
- package/dist/environment/base.d.ts.map +1 -1
- package/dist/environment/types.d.ts +3 -7
- package/dist/environment/types.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/environment/base.ts +6 -51
- package/src/environment/types.ts +7 -8
|
@@ -231,25 +231,23 @@ var productionEnvironment = {
|
|
|
231
231
|
systemVersion: 'systemVersions/{systemVersionId}'
|
|
232
232
|
},
|
|
233
233
|
indexes: {
|
|
234
|
-
//
|
|
235
|
-
|
|
236
|
-
pros: 'pros',
|
|
234
|
+
// users
|
|
235
|
+
admins: 'admins',
|
|
237
236
|
agents: 'agents',
|
|
237
|
+
pros: 'pros',
|
|
238
238
|
sellers: 'sellers',
|
|
239
|
+
clients: 'clients',
|
|
240
|
+
// projects
|
|
239
241
|
projects: 'projects',
|
|
240
242
|
medias: 'projects-medias',
|
|
241
243
|
events: 'projects-events',
|
|
242
244
|
devis: 'projects-devis',
|
|
243
|
-
|
|
245
|
+
// configuration
|
|
244
246
|
providers: 'providers',
|
|
245
247
|
materials: 'materials',
|
|
246
248
|
operations: 'operations',
|
|
247
249
|
operationsMaterials: 'operations-materials',
|
|
248
|
-
materialsProvider: 'materials-provider',
|
|
249
|
-
devisTemplates: 'devis-templates',
|
|
250
250
|
estimations: 'estimations',
|
|
251
|
-
categories: 'categories',
|
|
252
|
-
operationsCatalogs: 'operations-catalogs',
|
|
253
251
|
nomenclatures: 'nomenclatures',
|
|
254
252
|
operationsGroups: 'operations-groups',
|
|
255
253
|
// used only for managment
|
|
@@ -360,13 +358,6 @@ var productionEnvironment = {
|
|
|
360
358
|
maxValuesPerFacet: 1000,
|
|
361
359
|
maxFacetHits: 100
|
|
362
360
|
},
|
|
363
|
-
materialsProvider: {
|
|
364
|
-
searchableAttributes: ['name', 'status', 'identifier'],
|
|
365
|
-
attributesForFaceting: ['searchable(scope)', 'searchable(status)', 'searchable(identifier)', 'searchable(addMaterials)', 'searchable(editable)'],
|
|
366
|
-
ranking: ['desc(status)', 'desc(updatedAt)'],
|
|
367
|
-
maxValuesPerFacet: 1000,
|
|
368
|
-
maxFacetHits: 100
|
|
369
|
-
},
|
|
370
361
|
systemMaterials: {
|
|
371
362
|
searchableAttributes: ['name', 'unitPrice'],
|
|
372
363
|
attributesForFaceting: ['unitPrice', 'searchable(provider)', 'searchable(category)'],
|
|
@@ -409,13 +400,6 @@ var productionEnvironment = {
|
|
|
409
400
|
maxValuesPerFacet: 1000,
|
|
410
401
|
maxFacetHits: 100
|
|
411
402
|
},
|
|
412
|
-
devisTemplates: {
|
|
413
|
-
searchableAttributes: ['name'],
|
|
414
|
-
attributesForFaceting: ['searchable(scope)', 'materialsProvider', 'searchable(category)'],
|
|
415
|
-
ranking: ['desc(updatedAt)'],
|
|
416
|
-
maxValuesPerFacet: 1000,
|
|
417
|
-
maxFacetHits: 100
|
|
418
|
-
},
|
|
419
403
|
estimations: {
|
|
420
404
|
searchableAttributes: ['name', 'address', 'type', 'typeProject', 'client.displayName', 'client.email', 'client.address', 'client.phone.mobile', 'sellers.displayName', 'sellers.email', 'sellers.phone.mobile', 'provider.name'],
|
|
421
405
|
attributesForFaceting: ['searchable(type)', 'searchable(typeProject)', 'searchable(scope)', 'searchable(owner.userId)'],
|
|
@@ -423,13 +407,6 @@ var productionEnvironment = {
|
|
|
423
407
|
maxValuesPerFacet: 1000,
|
|
424
408
|
maxFacetHits: 100
|
|
425
409
|
},
|
|
426
|
-
categories: {
|
|
427
|
-
searchableAttributes: ['name'],
|
|
428
|
-
attributesForFaceting: ['searchable(entity)', 'searchable(parent)', 'searchable(scope)', 'searchable(provider)'],
|
|
429
|
-
ranking: ['asc(name)'],
|
|
430
|
-
maxValuesPerFacet: 1000,
|
|
431
|
-
maxFacetHits: 100
|
|
432
|
-
},
|
|
433
410
|
systemCategories: {
|
|
434
411
|
searchableAttributes: ['name'],
|
|
435
412
|
attributesForFaceting: ['searchable(entity)', 'searchable(parent)', 'searchable(provider)'],
|
|
@@ -437,13 +414,6 @@ var productionEnvironment = {
|
|
|
437
414
|
maxValuesPerFacet: 1000,
|
|
438
415
|
maxFacetHits: 100
|
|
439
416
|
},
|
|
440
|
-
operationsCatalogs: {
|
|
441
|
-
searchableAttributes: ['name'],
|
|
442
|
-
attributesForFaceting: ['searchable(scope)', 'searchable(status)'],
|
|
443
|
-
ranking: ['asc(name)'],
|
|
444
|
-
maxValuesPerFacet: 1000,
|
|
445
|
-
maxFacetHits: 100
|
|
446
|
-
},
|
|
447
417
|
nomenclatures: {
|
|
448
418
|
searchableAttributes: ['value'],
|
|
449
419
|
attributesForFaceting: ['searchable(scope)', 'searchable(identifier)', 'searchable(status)'],
|
|
@@ -1032,7 +1002,6 @@ var createProducts = function createProducts(params) {
|
|
|
1032
1002
|
// tariffs: params.test_4.tariffs,
|
|
1033
1003
|
// },
|
|
1034
1004
|
};
|
|
1035
|
-
|
|
1036
1005
|
return products;
|
|
1037
1006
|
};
|
|
1038
1007
|
|
|
@@ -1090,7 +1059,6 @@ var testing = {
|
|
|
1090
1059
|
// },
|
|
1091
1060
|
// additionalUserPrice: 10,
|
|
1092
1061
|
},
|
|
1093
|
-
|
|
1094
1062
|
plus: {
|
|
1095
1063
|
id: 'prod_KzmyY1ysEOeK93',
|
|
1096
1064
|
tax_rates: ['txr_1HPXZVLFzcsAA7x6w0zpHu01'],
|
|
@@ -1144,7 +1112,6 @@ var testing = {
|
|
|
1144
1112
|
// },
|
|
1145
1113
|
// },
|
|
1146
1114
|
};
|
|
1147
|
-
|
|
1148
1115
|
var production = {
|
|
1149
1116
|
classic: {
|
|
1150
1117
|
id: 'prod_KzmYFhrWXrzWdR',
|