@resolveio/server-lib 4.4.16 → 4.4.17
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/package.json
CHANGED
|
@@ -409,6 +409,10 @@ function getLeafFormatTypes(schemaTree, fieldPath) {
|
|
|
409
409
|
{
|
|
410
410
|
text: 'As Text',
|
|
411
411
|
value: 'String'
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
text: 'As Number',
|
|
415
|
+
value: 'Number'
|
|
412
416
|
}
|
|
413
417
|
];
|
|
414
418
|
}
|
|
@@ -430,6 +434,10 @@ function getLeafFormatTypes(schemaTree, fieldPath) {
|
|
|
430
434
|
}
|
|
431
435
|
else if (schemaTree.rbType === 'Boolean') {
|
|
432
436
|
leafTypes = [
|
|
437
|
+
{
|
|
438
|
+
text: 'As Number',
|
|
439
|
+
value: 'Number'
|
|
440
|
+
},
|
|
433
441
|
{
|
|
434
442
|
text: 'As Boolean (True/False)',
|
|
435
443
|
value: 'Boolean'
|
|
@@ -446,6 +454,10 @@ function getLeafFormatTypes(schemaTree, fieldPath) {
|
|
|
446
454
|
}
|
|
447
455
|
else if (schemaTree.rbType === 'Date') {
|
|
448
456
|
leafTypes = [
|
|
457
|
+
{
|
|
458
|
+
text: 'As Number',
|
|
459
|
+
value: 'Number'
|
|
460
|
+
},
|
|
449
461
|
{
|
|
450
462
|
text: 'As Date (Short Format)',
|
|
451
463
|
value: 'Date'
|