Browse Source

fix: corrections

pull/7268/head
Pranav C 11 months ago
parent
commit
c64cf83bba
  1. 5
      packages/nocodb-sdk/src/lib/formulaHelpers.ts

5
packages/nocodb-sdk/src/lib/formulaHelpers.ts

@ -2,7 +2,6 @@ import jsep from 'jsep';
import { ColumnType } from './Api';
import UITypes from './UITypes';
import { formulaTypes } from '../../../nc-gui/utils';
export const jsepCurlyHook = {
name: 'curly',
@ -221,7 +220,7 @@ interface FormulaMeta {
min?: number;
max?: number;
rqd?: number;
validator?: (args: formulaTypes[]) => boolean;
validator?: (args: FormulaDataTypes[]) => boolean;
};
};
description?: string;
@ -1180,6 +1179,7 @@ export function validateFormulaAndExtractTreeWithType(
const result = validateAndExtract(parsedFormula);
return result;
}
/*
function checkForCircularFormulaRef(formulaCol, parsedTree, columns) {
// check circular reference
@ -1272,3 +1272,4 @@ function checkForCircularFormulaRef(formulaCol, parsedTree, columns) {
}
}
}
*/

Loading…
Cancel
Save