@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
package/dist/config.esm.js
CHANGED
|
@@ -227,25 +227,23 @@ var productionEnvironment = {
|
|
|
227
227
|
systemVersion: 'systemVersions/{systemVersionId}'
|
|
228
228
|
},
|
|
229
229
|
indexes: {
|
|
230
|
-
//
|
|
231
|
-
|
|
232
|
-
pros: 'pros',
|
|
230
|
+
// users
|
|
231
|
+
admins: 'admins',
|
|
233
232
|
agents: 'agents',
|
|
233
|
+
pros: 'pros',
|
|
234
234
|
sellers: 'sellers',
|
|
235
|
+
clients: 'clients',
|
|
236
|
+
// projects
|
|
235
237
|
projects: 'projects',
|
|
236
238
|
medias: 'projects-medias',
|
|
237
239
|
events: 'projects-events',
|
|
238
240
|
devis: 'projects-devis',
|
|
239
|
-
|
|
241
|
+
// configuration
|
|
240
242
|
providers: 'providers',
|
|
241
243
|
materials: 'materials',
|
|
242
244
|
operations: 'operations',
|
|
243
245
|
operationsMaterials: 'operations-materials',
|
|
244
|
-
materialsProvider: 'materials-provider',
|
|
245
|
-
devisTemplates: 'devis-templates',
|
|
246
246
|
estimations: 'estimations',
|
|
247
|
-
categories: 'categories',
|
|
248
|
-
operationsCatalogs: 'operations-catalogs',
|
|
249
247
|
nomenclatures: 'nomenclatures',
|
|
250
248
|
operationsGroups: 'operations-groups',
|
|
251
249
|
// used only for managment
|
|
@@ -356,13 +354,6 @@ var productionEnvironment = {
|
|
|
356
354
|
maxValuesPerFacet: 1000,
|
|
357
355
|
maxFacetHits: 100
|
|
358
356
|
},
|
|
359
|
-
materialsProvider: {
|
|
360
|
-
searchableAttributes: ['name', 'status', 'identifier'],
|
|
361
|
-
attributesForFaceting: ['searchable(scope)', 'searchable(status)', 'searchable(identifier)', 'searchable(addMaterials)', 'searchable(editable)'],
|
|
362
|
-
ranking: ['desc(status)', 'desc(updatedAt)'],
|
|
363
|
-
maxValuesPerFacet: 1000,
|
|
364
|
-
maxFacetHits: 100
|
|
365
|
-
},
|
|
366
357
|
systemMaterials: {
|
|
367
358
|
searchableAttributes: ['name', 'unitPrice'],
|
|
368
359
|
attributesForFaceting: ['unitPrice', 'searchable(provider)', 'searchable(category)'],
|
|
@@ -405,13 +396,6 @@ var productionEnvironment = {
|
|
|
405
396
|
maxValuesPerFacet: 1000,
|
|
406
397
|
maxFacetHits: 100
|
|
407
398
|
},
|
|
408
|
-
devisTemplates: {
|
|
409
|
-
searchableAttributes: ['name'],
|
|
410
|
-
attributesForFaceting: ['searchable(scope)', 'materialsProvider', 'searchable(category)'],
|
|
411
|
-
ranking: ['desc(updatedAt)'],
|
|
412
|
-
maxValuesPerFacet: 1000,
|
|
413
|
-
maxFacetHits: 100
|
|
414
|
-
},
|
|
415
399
|
estimations: {
|
|
416
400
|
searchableAttributes: ['name', 'address', 'type', 'typeProject', 'client.displayName', 'client.email', 'client.address', 'client.phone.mobile', 'sellers.displayName', 'sellers.email', 'sellers.phone.mobile', 'provider.name'],
|
|
417
401
|
attributesForFaceting: ['searchable(type)', 'searchable(typeProject)', 'searchable(scope)', 'searchable(owner.userId)'],
|
|
@@ -419,13 +403,6 @@ var productionEnvironment = {
|
|
|
419
403
|
maxValuesPerFacet: 1000,
|
|
420
404
|
maxFacetHits: 100
|
|
421
405
|
},
|
|
422
|
-
categories: {
|
|
423
|
-
searchableAttributes: ['name'],
|
|
424
|
-
attributesForFaceting: ['searchable(entity)', 'searchable(parent)', 'searchable(scope)', 'searchable(provider)'],
|
|
425
|
-
ranking: ['asc(name)'],
|
|
426
|
-
maxValuesPerFacet: 1000,
|
|
427
|
-
maxFacetHits: 100
|
|
428
|
-
},
|
|
429
406
|
systemCategories: {
|
|
430
407
|
searchableAttributes: ['name'],
|
|
431
408
|
attributesForFaceting: ['searchable(entity)', 'searchable(parent)', 'searchable(provider)'],
|
|
@@ -433,13 +410,6 @@ var productionEnvironment = {
|
|
|
433
410
|
maxValuesPerFacet: 1000,
|
|
434
411
|
maxFacetHits: 100
|
|
435
412
|
},
|
|
436
|
-
operationsCatalogs: {
|
|
437
|
-
searchableAttributes: ['name'],
|
|
438
|
-
attributesForFaceting: ['searchable(scope)', 'searchable(status)'],
|
|
439
|
-
ranking: ['asc(name)'],
|
|
440
|
-
maxValuesPerFacet: 1000,
|
|
441
|
-
maxFacetHits: 100
|
|
442
|
-
},
|
|
443
413
|
nomenclatures: {
|
|
444
414
|
searchableAttributes: ['value'],
|
|
445
415
|
attributesForFaceting: ['searchable(scope)', 'searchable(identifier)', 'searchable(status)'],
|
|
@@ -1028,7 +998,6 @@ var createProducts = function createProducts(params) {
|
|
|
1028
998
|
// tariffs: params.test_4.tariffs,
|
|
1029
999
|
// },
|
|
1030
1000
|
};
|
|
1031
|
-
|
|
1032
1001
|
return products;
|
|
1033
1002
|
};
|
|
1034
1003
|
|
|
@@ -1086,7 +1055,6 @@ var testing = {
|
|
|
1086
1055
|
// },
|
|
1087
1056
|
// additionalUserPrice: 10,
|
|
1088
1057
|
},
|
|
1089
|
-
|
|
1090
1058
|
plus: {
|
|
1091
1059
|
id: 'prod_KzmyY1ysEOeK93',
|
|
1092
1060
|
tax_rates: ['txr_1HPXZVLFzcsAA7x6w0zpHu01'],
|
|
@@ -1140,7 +1108,6 @@ var testing = {
|
|
|
1140
1108
|
// },
|
|
1141
1109
|
// },
|
|
1142
1110
|
};
|
|
1143
|
-
|
|
1144
1111
|
var production = {
|
|
1145
1112
|
classic: {
|
|
1146
1113
|
id: 'prod_KzmYFhrWXrzWdR',
|