Browse Source

chore: remove duplicate export and sync lock file

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

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

@ -4,20 +4,7 @@ import { ColumnType, LinkToAnotherRecordType, RollupType } from './Api';
import UITypes from './UITypes';
import dayjs from 'dayjs';
import { MssqlUi, MysqlUi, PgUi, SnowflakeUi, SqlUiFactory } from './sqlUi';
// todo: move to date utils and export, remove duplicate from gui
export const dateFormats = [
'YYYY-MM-DD',
'YYYY/MM/DD',
'DD-MM-YYYY',
'MM-DD-YYYY',
'DD/MM/YYYY',
'MM/DD/YYYY',
'DD MM YYYY',
'MM DD YYYY',
'YYYY MM DD',
];
import { dateFormats } from './dateTimeHelper';
// opening and closing string code
const OCURLY_CODE = 123; // '{'

Loading…
Cancel
Save