@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.
@@ -231,25 +231,23 @@ var productionEnvironment = {
231
231
  systemVersion: 'systemVersions/{systemVersionId}'
232
232
  },
233
233
  indexes: {
234
- // tslint:disable-next-line: object-literal-sort-keys
235
- clients: 'clients',
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
- admins: 'admins',
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)'],