add more complex data types

This commit is contained in:
Sidney Alcantara
2022-05-24 20:34:28 +10:00
parent 6b162beb4e
commit 3821b229e1
86 changed files with 5223 additions and 46 deletions

View File

@@ -14,7 +14,7 @@ import { useTheme } from "@mui/material";
import type { SystemStyleObject, Theme } from "@mui/system";
// TODO:
// import { getColumnType, getFieldProp } from "@src/components/fields";
// import { getFieldType, getFieldProp } from "@src/components/fields";
/* eslint-disable import/no-webpack-loader-syntax */
import firestoreDefs from "!!raw-loader!./firestore.d.ts";
@@ -194,7 +194,7 @@ export default function useMonacoCustomizations({
// [
// Object.keys(columns).map((columnKey: string) => {
// const column = columns[columnKey];
// const type = getColumnType(column);
// const type = getFieldType(column);
// if (type === "JSON") {
// const interfaceName =
// columnKey[0].toUpperCase() + columnKey.slice(1);