@budibase/types 3.2.5 → 3.2.7

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.
@@ -124,6 +124,7 @@ export declare enum FieldType {
124
124
  BB_REFERENCE_SINGLE = "bb_reference_single"
125
125
  }
126
126
  export declare const JsonTypes: FieldType[];
127
+ export type FormulaResponseType = FieldType.STRING | FieldType.NUMBER | FieldType.BOOLEAN | FieldType.DATETIME;
127
128
  export declare const NumericTypes: FieldType[];
128
129
  export declare function isNumeric(type: FieldType): boolean;
129
130
  export declare const GroupByTypes: FieldType[];
@@ -1,4 +1,4 @@
1
- import { FieldType } from "../row";
1
+ import { FieldType, FormulaResponseType } from "../row";
2
2
  import { AutoFieldSubType, AutoReason, BBReferenceFieldSubType, FormulaType, JsonFieldSubType, RelationshipType } from "./constants";
3
3
  import { AIOperationEnum } from "../../../sdk/ai";
4
4
  export interface UIFieldMetadata {
@@ -80,6 +80,7 @@ export interface FormulaFieldMetadata extends BaseFieldSchema {
80
80
  type: FieldType.FORMULA;
81
81
  formula: string;
82
82
  formulaType?: FormulaType;
83
+ responseType?: FormulaResponseType;
83
84
  }
84
85
  export interface AIFieldMetadata extends BaseFieldSchema {
85
86
  type: FieldType.AI;