@placeshakr/config 10.20.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.
@@ -227,25 +227,23 @@ var productionEnvironment = {
227
227
  systemVersion: 'systemVersions/{systemVersionId}'
228
228
  },
229
229
  indexes: {
230
- // tslint:disable-next-line: object-literal-sort-keys
231
- clients: 'clients',
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
- admins: 'admins',
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)'],