@placeshakr/config 10.19.30 → 10.19.31-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 -3
- 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 -3
- package/dist/config.esm.js.map +1 -1
- package/dist/environment/base.d.ts.map +1 -1
- package/dist/environment/types.d.ts +2 -0
- package/dist/environment/types.d.ts.map +1 -1
- package/dist/helpers/index.d.ts +1 -0
- package/dist/helpers/index.d.ts.map +1 -1
- package/dist/types.d.ts +5 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/environment/base.ts +75 -68
- package/src/environment/types.ts +2 -0
- package/src/helpers/index.ts +2 -0
- package/src/types.ts +7 -1
package/src/environment/base.ts
CHANGED
|
@@ -42,12 +42,14 @@ const productionEnvironment: Environment = {
|
|
|
42
42
|
medias: 'enterprises/{enterpriseId}/projects/{projectId}/medias',
|
|
43
43
|
events: 'enterprises/{enterpriseId}/projects/{projectId}/events',
|
|
44
44
|
notes: 'enterprises/{enterpriseId}/projects/{projectId}/notes',
|
|
45
|
-
visitReports:
|
|
45
|
+
visitReports:
|
|
46
|
+
'enterprises/{enterpriseId}/projects/{projectId}/visitReports',
|
|
46
47
|
documents: 'enterprises/{enterpriseId}/projects/{projectId}/documents',
|
|
47
48
|
devis: 'enterprises/{enterpriseId}/projects/{projectId}/devis',
|
|
48
49
|
admins: 'enterprises/{enterpriseId}/admins',
|
|
49
50
|
plans: 'enterprises/{enterpriseId}/projects/{projectId}/plans',
|
|
50
|
-
downPayments:
|
|
51
|
+
downPayments:
|
|
52
|
+
'enterprises/{enterpriseId}/projects/{projectId}/downPayments',
|
|
51
53
|
providers: 'enterprises/{enterpriseId}/providers',
|
|
52
54
|
statuses: 'enterprises/{enterpriseId}/statuses',
|
|
53
55
|
orders: 'enterprises/{enterpriseId}/projects/{projectId}/orders',
|
|
@@ -60,17 +62,20 @@ const productionEnvironment: Environment = {
|
|
|
60
62
|
estimations: 'enterprises/{enterpriseId}/estimations',
|
|
61
63
|
userNotifications: 'users/{userId}/profiles/{enterpriseId}/notifications',
|
|
62
64
|
histories: 'enterprises/{enterpriseId}/histories',
|
|
63
|
-
receptionVouchers:
|
|
65
|
+
receptionVouchers:
|
|
66
|
+
'enterprises/{enterpriseId}/projects/{projectId}/receptionVouchers',
|
|
64
67
|
indexes: 'enterprises/{enterpriseId}/indexes',
|
|
65
68
|
notifications: 'enterprises/{enterpriseId}/notifications',
|
|
66
69
|
nomenclatures: 'enterprises/{enterpriseId}/nomenclatures',
|
|
67
70
|
operationsCatalogs: 'enterprises/{enterpriseId}/operationsCatalogs',
|
|
68
71
|
operationsGroups: 'enterprises/{enterpriseId}/operationsGroups',
|
|
69
|
-
devisVersions:
|
|
72
|
+
devisVersions:
|
|
73
|
+
'enterprises/{enterpriseId}/projects/{projectId}/devis/{devisId}/versions',
|
|
70
74
|
enterpriseDocuments: 'enterprises/{enterpriseId}/documents',
|
|
71
75
|
enterpriseMedias: 'enterprises/{enterpriseId}/medias',
|
|
72
76
|
configurations: 'enterprises/{enterpriseId}/configurations',
|
|
73
|
-
logs: 'enterprises/{enterpriseId}/logs'
|
|
77
|
+
logs: 'enterprises/{enterpriseId}/logs',
|
|
78
|
+
systemVersions: 'systemVersions',
|
|
74
79
|
},
|
|
75
80
|
docs: {
|
|
76
81
|
user: 'users/{userId}',
|
|
@@ -89,13 +94,15 @@ const productionEnvironment: Environment = {
|
|
|
89
94
|
events:
|
|
90
95
|
'enterprises/{enterpriseId}/projects/{projectId}/events/{eventId}',
|
|
91
96
|
notes: 'enterprises/{enterpriseId}/projects/{projectId}/notes/{noteId}',
|
|
92
|
-
visitReports:
|
|
97
|
+
visitReports:
|
|
98
|
+
'enterprises/{enterpriseId}/projects/{projectId}/visitReports/{visitReportId}',
|
|
93
99
|
documents:
|
|
94
100
|
'enterprises/{enterpriseId}/projects/{projectId}/documents/{documentId}',
|
|
95
101
|
devis: 'enterprises/{enterpriseId}/projects/{projectId}/devis/{devisId}',
|
|
96
102
|
admin: 'enterprises/{enterpriseId}/admins/{adminId}',
|
|
97
103
|
plans: 'enterprises/{enterpriseId}/projects/{projectId}/plans/{planId}',
|
|
98
|
-
downPayments:
|
|
104
|
+
downPayments:
|
|
105
|
+
'enterprises/{enterpriseId}/projects/{projectId}/downPayments/{downPaymentId}',
|
|
99
106
|
paymentMethods:
|
|
100
107
|
'enterprises/{enterpriseId}/paymentMethods/{paymentMethodId}',
|
|
101
108
|
provider: 'enterprises/{enterpriseId}/providers/{providerId}',
|
|
@@ -113,18 +120,26 @@ const productionEnvironment: Environment = {
|
|
|
113
120
|
devisTemplate:
|
|
114
121
|
'enterprises/{enterpriseId}/devisTemplates/{devisTemplateId}',
|
|
115
122
|
estimation: 'enterprises/{enterpriseId}/estimations/{estimationId}',
|
|
116
|
-
userNotification:
|
|
123
|
+
userNotification:
|
|
124
|
+
'users/{userId}/profiles/{enterpriseId}/notifications/{notificationId}',
|
|
117
125
|
history: 'enterprises/{enterpriseId}/histories/{historyId}',
|
|
118
|
-
receptionVouchers:
|
|
126
|
+
receptionVouchers:
|
|
127
|
+
'enterprises/{enterpriseId}/projects/{projectId}/receptionVouchers/{receptionVoucherId}',
|
|
119
128
|
notification: 'enterprises/{enterpriseId}/notifications/{notificationId}',
|
|
120
|
-
nomenclatures:
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
129
|
+
nomenclatures:
|
|
130
|
+
'enterprises/{enterpriseId}/nomenclatures/{nomenclatureId}',
|
|
131
|
+
operationsCatalogs:
|
|
132
|
+
'enterprises/{enterpriseId}/operationsCatalogs/{operationsCatalogId}',
|
|
133
|
+
operationsGroups:
|
|
134
|
+
'enterprises/{enterpriseId}/operationsGroups/{operationsGroupId}',
|
|
135
|
+
devisVersion:
|
|
136
|
+
'enterprises/{enterpriseId}/projects/{projectId}/devis/{devisId}/versions/{versionId}',
|
|
124
137
|
enterpriseDocument: 'enterprises/{enterpriseId}/documents/{documentId}',
|
|
125
138
|
enterpriseMedia: 'enterprises/{enterpriseId}/medias/{mediaId}',
|
|
126
|
-
configuration:
|
|
127
|
-
|
|
139
|
+
configuration:
|
|
140
|
+
'enterprises/{enterpriseId}/configurations/{configurationId}',
|
|
141
|
+
log: 'enterprises/{enterpriseId}/logs/{logId}',
|
|
142
|
+
systemVersion: 'systemVersions/{systemVersionId}',
|
|
128
143
|
},
|
|
129
144
|
indexes: {
|
|
130
145
|
// tslint:disable-next-line: object-literal-sort-keys
|
|
@@ -155,7 +170,7 @@ const productionEnvironment: Environment = {
|
|
|
155
170
|
systemMaterialsProvider: 'system-materials-provider',
|
|
156
171
|
systemStatus: 'system-status',
|
|
157
172
|
systemNomenclatures: 'system-nomenclatures',
|
|
158
|
-
systemCategories: 'system-categories'
|
|
173
|
+
systemCategories: 'system-categories',
|
|
159
174
|
},
|
|
160
175
|
},
|
|
161
176
|
search: {
|
|
@@ -169,7 +184,7 @@ const productionEnvironment: Environment = {
|
|
|
169
184
|
],
|
|
170
185
|
attributesForFaceting: ['active', 'searchable(scope)'],
|
|
171
186
|
maxValuesPerFacet: 1000,
|
|
172
|
-
maxFacetHits: 100
|
|
187
|
+
maxFacetHits: 100,
|
|
173
188
|
},
|
|
174
189
|
agents: {
|
|
175
190
|
searchableAttributes: [
|
|
@@ -187,10 +202,10 @@ const productionEnvironment: Environment = {
|
|
|
187
202
|
'has_leader',
|
|
188
203
|
'searchable(email)',
|
|
189
204
|
'searchable(scope)',
|
|
190
|
-
'status'
|
|
205
|
+
'status',
|
|
191
206
|
],
|
|
192
207
|
maxValuesPerFacet: 1000,
|
|
193
|
-
maxFacetHits: 100
|
|
208
|
+
maxFacetHits: 100,
|
|
194
209
|
},
|
|
195
210
|
pros: {
|
|
196
211
|
searchableAttributes: [
|
|
@@ -207,10 +222,10 @@ const productionEnvironment: Environment = {
|
|
|
207
222
|
'searchable(specialities)',
|
|
208
223
|
'searchable(skills)',
|
|
209
224
|
'searchable(scope)',
|
|
210
|
-
'status'
|
|
225
|
+
'status',
|
|
211
226
|
],
|
|
212
227
|
maxValuesPerFacet: 1000,
|
|
213
|
-
maxFacetHits: 100
|
|
228
|
+
maxFacetHits: 100,
|
|
214
229
|
},
|
|
215
230
|
admins: {
|
|
216
231
|
searchableAttributes: [
|
|
@@ -219,17 +234,17 @@ const productionEnvironment: Environment = {
|
|
|
219
234
|
'address',
|
|
220
235
|
'phone.mobile',
|
|
221
236
|
'jobTitle',
|
|
222
|
-
'status'
|
|
237
|
+
'status',
|
|
223
238
|
],
|
|
224
239
|
attributesForFaceting: [
|
|
225
240
|
'active',
|
|
226
241
|
'searchable(email)',
|
|
227
242
|
'searchable(userId)',
|
|
228
243
|
'searchable(scope)',
|
|
229
|
-
'status'
|
|
244
|
+
'status',
|
|
230
245
|
],
|
|
231
246
|
maxValuesPerFacet: 1000,
|
|
232
|
-
maxFacetHits: 100
|
|
247
|
+
maxFacetHits: 100,
|
|
233
248
|
},
|
|
234
249
|
sellers: {
|
|
235
250
|
searchableAttributes: [
|
|
@@ -248,10 +263,10 @@ const productionEnvironment: Environment = {
|
|
|
248
263
|
'searchable(email)',
|
|
249
264
|
'searchable(provider)',
|
|
250
265
|
'searchable(scope)',
|
|
251
|
-
'status'
|
|
266
|
+
'status',
|
|
252
267
|
],
|
|
253
268
|
maxValuesPerFacet: 1000,
|
|
254
|
-
maxFacetHits: 100
|
|
269
|
+
maxFacetHits: 100,
|
|
255
270
|
},
|
|
256
271
|
clients: {
|
|
257
272
|
searchableAttributes: ['email', 'displayName', 'address', 'phone.mobile'],
|
|
@@ -262,7 +277,7 @@ const productionEnvironment: Environment = {
|
|
|
262
277
|
'searchable(scope)',
|
|
263
278
|
],
|
|
264
279
|
maxValuesPerFacet: 1000,
|
|
265
|
-
maxFacetHits: 100
|
|
280
|
+
maxFacetHits: 100,
|
|
266
281
|
},
|
|
267
282
|
providers: {
|
|
268
283
|
searchableAttributes: [
|
|
@@ -280,7 +295,7 @@ const productionEnvironment: Environment = {
|
|
|
280
295
|
'searchable(scope)',
|
|
281
296
|
],
|
|
282
297
|
maxValuesPerFacet: 1000,
|
|
283
|
-
maxFacetHits: 100
|
|
298
|
+
maxFacetHits: 100,
|
|
284
299
|
},
|
|
285
300
|
statuses: {
|
|
286
301
|
searchableAttributes: ['name'],
|
|
@@ -292,7 +307,7 @@ const productionEnvironment: Environment = {
|
|
|
292
307
|
],
|
|
293
308
|
ranking: ['asc(order)', 'asc(createdAt)'],
|
|
294
309
|
maxValuesPerFacet: 1000,
|
|
295
|
-
maxFacetHits: 100
|
|
310
|
+
maxFacetHits: 100,
|
|
296
311
|
},
|
|
297
312
|
materials: {
|
|
298
313
|
searchableAttributes: ['name', 'unitPrice', 'provider'],
|
|
@@ -302,11 +317,11 @@ const productionEnvironment: Environment = {
|
|
|
302
317
|
'searchable(provider)',
|
|
303
318
|
'searchable(category)',
|
|
304
319
|
'margin.id',
|
|
305
|
-
'supplier.id'
|
|
320
|
+
'supplier.id',
|
|
306
321
|
],
|
|
307
322
|
ranking: ['asc(name)'],
|
|
308
323
|
maxValuesPerFacet: 1000,
|
|
309
|
-
maxFacetHits: 100
|
|
324
|
+
maxFacetHits: 100,
|
|
310
325
|
},
|
|
311
326
|
operations: {
|
|
312
327
|
searchableAttributes: ['name', 'unitPrice', 'objectID'],
|
|
@@ -315,10 +330,10 @@ const productionEnvironment: Environment = {
|
|
|
315
330
|
'searchable(lot)',
|
|
316
331
|
'searchable(scope)',
|
|
317
332
|
'searchable(catalogId)',
|
|
318
|
-
'searchable(category)'
|
|
333
|
+
'searchable(category)',
|
|
319
334
|
],
|
|
320
335
|
maxValuesPerFacet: 1000,
|
|
321
|
-
maxFacetHits: 100
|
|
336
|
+
maxFacetHits: 100,
|
|
322
337
|
},
|
|
323
338
|
operationsMaterials: {
|
|
324
339
|
searchableAttributes: ['name', 'unitPrice', 'unit', 'externalId'],
|
|
@@ -330,7 +345,7 @@ const productionEnvironment: Environment = {
|
|
|
330
345
|
],
|
|
331
346
|
ranking: ['asc(order)'],
|
|
332
347
|
maxValuesPerFacet: 1000,
|
|
333
|
-
maxFacetHits: 100
|
|
348
|
+
maxFacetHits: 100,
|
|
334
349
|
},
|
|
335
350
|
projects: {
|
|
336
351
|
searchableAttributes: [
|
|
@@ -384,10 +399,10 @@ const productionEnvironment: Environment = {
|
|
|
384
399
|
'geo',
|
|
385
400
|
'words',
|
|
386
401
|
'filters',
|
|
387
|
-
'exact'
|
|
402
|
+
'exact',
|
|
388
403
|
],
|
|
389
404
|
maxValuesPerFacet: 1000,
|
|
390
|
-
maxFacetHits: 100
|
|
405
|
+
maxFacetHits: 100,
|
|
391
406
|
},
|
|
392
407
|
medias: {
|
|
393
408
|
searchableAttributes: ['name'],
|
|
@@ -400,7 +415,7 @@ const productionEnvironment: Environment = {
|
|
|
400
415
|
],
|
|
401
416
|
ranking: ['desc(createdAt)'],
|
|
402
417
|
maxValuesPerFacet: 1000,
|
|
403
|
-
maxFacetHits: 100
|
|
418
|
+
maxFacetHits: 100,
|
|
404
419
|
},
|
|
405
420
|
devis: {
|
|
406
421
|
searchableAttributes: ['name', 'status'],
|
|
@@ -409,11 +424,11 @@ const productionEnvironment: Environment = {
|
|
|
409
424
|
'operationsCatalog',
|
|
410
425
|
'projectId',
|
|
411
426
|
'searchable(scope)',
|
|
412
|
-
'pdf_generated'
|
|
427
|
+
'pdf_generated',
|
|
413
428
|
],
|
|
414
429
|
ranking: ['desc(dateApproved)', 'desc(status)', 'desc(updatedAt)'],
|
|
415
430
|
maxValuesPerFacet: 1000,
|
|
416
|
-
maxFacetHits: 100
|
|
431
|
+
maxFacetHits: 100,
|
|
417
432
|
},
|
|
418
433
|
events: {
|
|
419
434
|
searchableAttributes: ['title', 'type'],
|
|
@@ -427,7 +442,7 @@ const productionEnvironment: Environment = {
|
|
|
427
442
|
],
|
|
428
443
|
ranking: ['desc(start)'],
|
|
429
444
|
maxValuesPerFacet: 1000,
|
|
430
|
-
maxFacetHits: 100
|
|
445
|
+
maxFacetHits: 100,
|
|
431
446
|
},
|
|
432
447
|
materialsProvider: {
|
|
433
448
|
searchableAttributes: ['name', 'status', 'identifier'],
|
|
@@ -440,34 +455,32 @@ const productionEnvironment: Environment = {
|
|
|
440
455
|
],
|
|
441
456
|
ranking: ['desc(status)', 'desc(updatedAt)'],
|
|
442
457
|
maxValuesPerFacet: 1000,
|
|
443
|
-
maxFacetHits: 100
|
|
458
|
+
maxFacetHits: 100,
|
|
444
459
|
},
|
|
445
460
|
systemMaterials: {
|
|
446
461
|
searchableAttributes: ['name', 'unitPrice'],
|
|
447
462
|
attributesForFaceting: [
|
|
448
463
|
'unitPrice',
|
|
449
464
|
'searchable(provider)',
|
|
450
|
-
'searchable(category)'
|
|
465
|
+
'searchable(category)',
|
|
451
466
|
],
|
|
452
467
|
ranking: ['desc(updatedAt)'],
|
|
453
468
|
maxValuesPerFacet: 1000,
|
|
454
|
-
maxFacetHits: 100
|
|
469
|
+
maxFacetHits: 100,
|
|
455
470
|
},
|
|
456
471
|
systemOperations: {
|
|
457
472
|
searchableAttributes: ['name', 'unitPrice'],
|
|
458
|
-
attributesForFaceting: [
|
|
459
|
-
'searchable(lot)',
|
|
460
|
-
],
|
|
473
|
+
attributesForFaceting: ['searchable(lot)'],
|
|
461
474
|
ranking: ['desc(updatedAt)'],
|
|
462
475
|
maxValuesPerFacet: 1000,
|
|
463
|
-
maxFacetHits: 100
|
|
476
|
+
maxFacetHits: 100,
|
|
464
477
|
},
|
|
465
478
|
systemOperationsMaterials: {
|
|
466
479
|
searchableAttributes: ['name', 'unitPrice', 'unit', 'externalId'],
|
|
467
480
|
attributesForFaceting: ['searchable(provider)', 'searchable(optId)'],
|
|
468
481
|
ranking: ['asc(order)'],
|
|
469
482
|
maxValuesPerFacet: 1000,
|
|
470
|
-
maxFacetHits: 100
|
|
483
|
+
maxFacetHits: 100,
|
|
471
484
|
},
|
|
472
485
|
systemMaterialsProvider: {
|
|
473
486
|
searchableAttributes: ['name', 'status'],
|
|
@@ -480,27 +493,24 @@ const productionEnvironment: Environment = {
|
|
|
480
493
|
],
|
|
481
494
|
ranking: ['desc(updatedAt)'],
|
|
482
495
|
maxValuesPerFacet: 1000,
|
|
483
|
-
maxFacetHits: 100
|
|
496
|
+
maxFacetHits: 100,
|
|
484
497
|
},
|
|
485
498
|
systemStatus: {
|
|
486
499
|
searchableAttributes: ['name', 'color'],
|
|
487
500
|
attributesForFaceting: [
|
|
488
501
|
'searchable(forDashboard)',
|
|
489
|
-
'searchable(default)'
|
|
502
|
+
'searchable(default)',
|
|
490
503
|
],
|
|
491
504
|
ranking: ['asc(order)'],
|
|
492
505
|
maxValuesPerFacet: 1000,
|
|
493
|
-
maxFacetHits: 100
|
|
506
|
+
maxFacetHits: 100,
|
|
494
507
|
},
|
|
495
508
|
systemNomenclatures: {
|
|
496
509
|
searchableAttributes: ['identifier', 'value'],
|
|
497
|
-
attributesForFaceting: [
|
|
498
|
-
'searchable(identifier)',
|
|
499
|
-
'searchable(status)'
|
|
500
|
-
],
|
|
510
|
+
attributesForFaceting: ['searchable(identifier)', 'searchable(status)'],
|
|
501
511
|
ranking: ['desc(updatedAt)'],
|
|
502
512
|
maxValuesPerFacet: 1000,
|
|
503
|
-
maxFacetHits: 100
|
|
513
|
+
maxFacetHits: 100,
|
|
504
514
|
},
|
|
505
515
|
devisTemplates: {
|
|
506
516
|
searchableAttributes: ['name'],
|
|
@@ -511,7 +521,7 @@ const productionEnvironment: Environment = {
|
|
|
511
521
|
],
|
|
512
522
|
ranking: ['desc(updatedAt)'],
|
|
513
523
|
maxValuesPerFacet: 1000,
|
|
514
|
-
maxFacetHits: 100
|
|
524
|
+
maxFacetHits: 100,
|
|
515
525
|
},
|
|
516
526
|
estimations: {
|
|
517
527
|
searchableAttributes: [
|
|
@@ -536,7 +546,7 @@ const productionEnvironment: Environment = {
|
|
|
536
546
|
],
|
|
537
547
|
ranking: ['desc(updatedAt)'],
|
|
538
548
|
maxValuesPerFacet: 1000,
|
|
539
|
-
maxFacetHits: 100
|
|
549
|
+
maxFacetHits: 100,
|
|
540
550
|
},
|
|
541
551
|
categories: {
|
|
542
552
|
searchableAttributes: ['name'],
|
|
@@ -548,7 +558,7 @@ const productionEnvironment: Environment = {
|
|
|
548
558
|
],
|
|
549
559
|
ranking: ['asc(name)'],
|
|
550
560
|
maxValuesPerFacet: 1000,
|
|
551
|
-
maxFacetHits: 100
|
|
561
|
+
maxFacetHits: 100,
|
|
552
562
|
},
|
|
553
563
|
systemCategories: {
|
|
554
564
|
searchableAttributes: ['name'],
|
|
@@ -559,17 +569,14 @@ const productionEnvironment: Environment = {
|
|
|
559
569
|
],
|
|
560
570
|
ranking: ['asc(name)'],
|
|
561
571
|
maxValuesPerFacet: 1000,
|
|
562
|
-
maxFacetHits: 100
|
|
572
|
+
maxFacetHits: 100,
|
|
563
573
|
},
|
|
564
574
|
operationsCatalogs: {
|
|
565
575
|
searchableAttributes: ['name'],
|
|
566
|
-
attributesForFaceting: [
|
|
567
|
-
'searchable(scope)',
|
|
568
|
-
'searchable(status)',
|
|
569
|
-
],
|
|
576
|
+
attributesForFaceting: ['searchable(scope)', 'searchable(status)'],
|
|
570
577
|
ranking: ['asc(name)'],
|
|
571
578
|
maxValuesPerFacet: 1000,
|
|
572
|
-
maxFacetHits: 100
|
|
579
|
+
maxFacetHits: 100,
|
|
573
580
|
},
|
|
574
581
|
nomenclatures: {
|
|
575
582
|
searchableAttributes: ['value'],
|
|
@@ -580,7 +587,7 @@ const productionEnvironment: Environment = {
|
|
|
580
587
|
],
|
|
581
588
|
ranking: ['asc(value)'],
|
|
582
589
|
maxValuesPerFacet: 1000,
|
|
583
|
-
maxFacetHits: 100
|
|
590
|
+
maxFacetHits: 100,
|
|
584
591
|
},
|
|
585
592
|
operationsGroups: {
|
|
586
593
|
searchableAttributes: ['name'],
|
|
@@ -591,8 +598,8 @@ const productionEnvironment: Environment = {
|
|
|
591
598
|
],
|
|
592
599
|
ranking: ['asc(name)'],
|
|
593
600
|
maxValuesPerFacet: 1000,
|
|
594
|
-
maxFacetHits: 100
|
|
595
|
-
}
|
|
601
|
+
maxFacetHits: 100,
|
|
602
|
+
},
|
|
596
603
|
},
|
|
597
604
|
};
|
|
598
605
|
|
package/src/environment/types.ts
CHANGED
|
@@ -102,6 +102,7 @@ export interface Environment {
|
|
|
102
102
|
enterpriseMedias: string;
|
|
103
103
|
configurations: string;
|
|
104
104
|
logs: string;
|
|
105
|
+
systemVersions: string;
|
|
105
106
|
};
|
|
106
107
|
docs: {
|
|
107
108
|
user: string;
|
|
@@ -147,6 +148,7 @@ export interface Environment {
|
|
|
147
148
|
enterpriseMedia: string;
|
|
148
149
|
configuration: string;
|
|
149
150
|
log: string;
|
|
151
|
+
systemVersion: string;
|
|
150
152
|
};
|
|
151
153
|
};
|
|
152
154
|
|
package/src/helpers/index.ts
CHANGED
|
@@ -39,6 +39,7 @@ export interface Helpers {
|
|
|
39
39
|
enterpriseDocuments: FactoryCreate<articho.EnterpriseResourse>;
|
|
40
40
|
enterpriseMedias: FactoryCreate<articho.EnterpriseResourse>;
|
|
41
41
|
configurations: FactoryCreate<articho.Configuration>;
|
|
42
|
+
systemVersions: FactoryCreate<articho.SystemVersion>;
|
|
42
43
|
}
|
|
43
44
|
|
|
44
45
|
/**
|
|
@@ -91,6 +92,7 @@ const helpers: Helpers = {
|
|
|
91
92
|
enterpriseDocuments: FactoryCreateFunction(),
|
|
92
93
|
enterpriseMedias: FactoryCreateFunction(),
|
|
93
94
|
configurations: FactoryCreateFunction(),
|
|
95
|
+
systemVersions: FactoryCreateFunction(),
|
|
94
96
|
};
|
|
95
97
|
|
|
96
98
|
export default helpers;
|
package/src/types.ts
CHANGED
|
@@ -48,7 +48,8 @@ export type ResourceType =
|
|
|
48
48
|
| EnterpriseResourse
|
|
49
49
|
| QuotesConfiguration
|
|
50
50
|
| Configuration
|
|
51
|
-
| Log
|
|
51
|
+
| Log
|
|
52
|
+
| SystemVersion;
|
|
52
53
|
|
|
53
54
|
/**
|
|
54
55
|
* Add timestampable behavior to any resource
|
|
@@ -3691,3 +3692,8 @@ export type StripeInvoiceStatus =
|
|
|
3691
3692
|
| 'paid'
|
|
3692
3693
|
| 'void'
|
|
3693
3694
|
| 'uncollectible';
|
|
3695
|
+
|
|
3696
|
+
export interface SystemVersion {
|
|
3697
|
+
date: number;
|
|
3698
|
+
version: string;
|
|
3699
|
+
}
|