@objectql/types 1.8.3 → 1.9.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/api.d.ts +52 -0
- package/dist/api.js +25 -1
- package/dist/api.js.map +1 -1
- package/dist/config.d.ts +6 -1
- package/dist/field.d.ts +12 -2
- package/dist/form.d.ts +315 -0
- package/dist/form.js +12 -0
- package/dist/form.js.map +1 -0
- package/dist/formula.d.ts +308 -0
- package/dist/formula.js +58 -0
- package/dist/formula.js.map +1 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -1
- package/dist/report.d.ts +276 -0
- package/dist/report.js +11 -0
- package/dist/report.js.map +1 -0
- package/dist/view.d.ts +304 -0
- package/dist/view.js +12 -0
- package/dist/view.js.map +1 -0
- package/dist/workflow.d.ts +358 -0
- package/dist/workflow.js +11 -0
- package/dist/workflow.js.map +1 -0
- package/package.json +1 -1
- package/schemas/object.schema.json +47 -1
|
@@ -559,6 +559,23 @@
|
|
|
559
559
|
"$ref": "#/definitions/ValidationAiContext",
|
|
560
560
|
"description": "AI context for the field. Provides semantic information for AI tools."
|
|
561
561
|
},
|
|
562
|
+
"blank_as_zero": {
|
|
563
|
+
"description": "Treat blank/null as zero in formula calculations.",
|
|
564
|
+
"type": "boolean"
|
|
565
|
+
},
|
|
566
|
+
"data_type": {
|
|
567
|
+
"description": "Expected return data type for formula fields.",
|
|
568
|
+
"enum": [
|
|
569
|
+
"number",
|
|
570
|
+
"text",
|
|
571
|
+
"date",
|
|
572
|
+
"datetime",
|
|
573
|
+
"boolean",
|
|
574
|
+
"currency",
|
|
575
|
+
"percent"
|
|
576
|
+
],
|
|
577
|
+
"type": "string"
|
|
578
|
+
},
|
|
562
579
|
"defaultValue": {
|
|
563
580
|
"description": "The default value if not provided during creation."
|
|
564
581
|
},
|
|
@@ -574,8 +591,12 @@
|
|
|
574
591
|
"items": {},
|
|
575
592
|
"type": "array"
|
|
576
593
|
},
|
|
594
|
+
"format": {
|
|
595
|
+
"description": "Display format for formula results (e.g., \"0.00\", \"YYYY-MM-DD\").",
|
|
596
|
+
"type": "string"
|
|
597
|
+
},
|
|
577
598
|
"formula": {
|
|
578
|
-
"description": "Formula expression.",
|
|
599
|
+
"description": "Formula expression (for 'formula' type fields).",
|
|
579
600
|
"type": "string"
|
|
580
601
|
},
|
|
581
602
|
"help_text": {
|
|
@@ -649,6 +670,10 @@
|
|
|
649
670
|
},
|
|
650
671
|
"type": "array"
|
|
651
672
|
},
|
|
673
|
+
"precision": {
|
|
674
|
+
"description": "Decimal precision for numeric formula results.",
|
|
675
|
+
"type": "number"
|
|
676
|
+
},
|
|
652
677
|
"readonly": {
|
|
653
678
|
"description": "Whether the field is read-only in UI.",
|
|
654
679
|
"type": "boolean"
|
|
@@ -677,6 +702,27 @@
|
|
|
677
702
|
"description": "Type of summary (count, sum, min, max, avg).",
|
|
678
703
|
"type": "string"
|
|
679
704
|
},
|
|
705
|
+
"treat_blank_as": {
|
|
706
|
+
"anyOf": [
|
|
707
|
+
{
|
|
708
|
+
"type": "string"
|
|
709
|
+
},
|
|
710
|
+
{
|
|
711
|
+
"type": "number"
|
|
712
|
+
},
|
|
713
|
+
{
|
|
714
|
+
"type": "boolean"
|
|
715
|
+
},
|
|
716
|
+
{
|
|
717
|
+
"format": "date-time",
|
|
718
|
+
"type": "string"
|
|
719
|
+
},
|
|
720
|
+
{
|
|
721
|
+
"type": "null"
|
|
722
|
+
}
|
|
723
|
+
],
|
|
724
|
+
"description": "Default value for null/undefined referenced fields in formulas."
|
|
725
|
+
},
|
|
680
726
|
"type": {
|
|
681
727
|
"$ref": "#/definitions/FieldType",
|
|
682
728
|
"description": "The data type of the field."
|