Updates
This commit is contained in:
+87
@@ -0,0 +1,87 @@
|
||||
declare const DataTypes: readonly [{
|
||||
readonly title: "VARCHAR";
|
||||
readonly name: "VARCHAR";
|
||||
readonly value: "0-255";
|
||||
readonly argument: true;
|
||||
readonly description: "Varchar is simply letters and numbers within the range 0 - 255";
|
||||
readonly maxValue: 255;
|
||||
}, {
|
||||
readonly title: "TINYINT";
|
||||
readonly name: "TINYINT";
|
||||
readonly value: "0-100";
|
||||
readonly description: "TINYINT means Integers: 0 to 100";
|
||||
readonly maxValue: 127;
|
||||
}, {
|
||||
readonly title: "SMALLINT";
|
||||
readonly name: "SMALLINT";
|
||||
readonly value: "0-255";
|
||||
readonly description: "SMALLINT means Integers: 0 to 240933";
|
||||
readonly maxValue: 32767;
|
||||
}, {
|
||||
readonly title: "MEDIUMINT";
|
||||
readonly name: "MEDIUMINT";
|
||||
readonly value: "0-255";
|
||||
readonly description: "MEDIUMINT means Integers: 0 to 1245568545560";
|
||||
readonly maxValue: 8388607;
|
||||
}, {
|
||||
readonly title: "INT";
|
||||
readonly name: "INT";
|
||||
readonly value: "0-255";
|
||||
readonly description: "INT means Integers: 0 to 12560";
|
||||
readonly maxValue: 2147483647;
|
||||
}, {
|
||||
readonly title: "BIGINT";
|
||||
readonly name: "BIGINT";
|
||||
readonly value: "0-255";
|
||||
readonly description: "BIGINT means Integers: 0 to 1245569056767568545560";
|
||||
readonly maxValue: 2e+63;
|
||||
}, {
|
||||
readonly title: "TINYTEXT";
|
||||
readonly name: "TINYTEXT";
|
||||
readonly value: "0-255";
|
||||
readonly description: "Text with 255 max characters";
|
||||
readonly maxValue: 127;
|
||||
}, {
|
||||
readonly title: "TEXT";
|
||||
readonly name: "TEXT";
|
||||
readonly value: "0-100";
|
||||
readonly description: "MEDIUMTEXT is just text with max length 16,777,215";
|
||||
}, {
|
||||
readonly title: "MEDIUMTEXT";
|
||||
readonly name: "MEDIUMTEXT";
|
||||
readonly value: "0-255";
|
||||
readonly description: "MEDIUMTEXT is just text with max length 16,777,215";
|
||||
}, {
|
||||
readonly title: "LONGTEXT";
|
||||
readonly name: "LONGTEXT";
|
||||
readonly value: "0-255";
|
||||
readonly description: "LONGTEXT is just text with max length 4,294,967,295";
|
||||
}, {
|
||||
readonly title: "DECIMAL";
|
||||
readonly name: "DECIMAL";
|
||||
readonly description: "Numbers with decimals";
|
||||
readonly integer: "1-100";
|
||||
readonly decimals: "1-4";
|
||||
}, {
|
||||
readonly title: "FLOAT";
|
||||
readonly name: "FLOAT";
|
||||
readonly description: "Numbers with decimals";
|
||||
readonly integer: "1-100";
|
||||
readonly decimals: "1-4";
|
||||
}, {
|
||||
readonly title: "DOUBLE";
|
||||
readonly name: "DOUBLE";
|
||||
readonly description: "Numbers with decimals";
|
||||
readonly integer: "1-100";
|
||||
readonly decimals: "1-4";
|
||||
}, {
|
||||
readonly title: "UUID";
|
||||
readonly name: "UUID";
|
||||
readonly valueLiteral: "UUID()";
|
||||
readonly description: "A Unique ID";
|
||||
}, {
|
||||
readonly title: "TIMESTAMP";
|
||||
readonly name: "TIMESTAMP";
|
||||
readonly description: "Time Stamp";
|
||||
}];
|
||||
export default DataTypes;
|
||||
+103
@@ -0,0 +1,103 @@
|
||||
const DataTypes = [
|
||||
{
|
||||
title: "VARCHAR",
|
||||
name: "VARCHAR",
|
||||
value: "0-255",
|
||||
argument: true,
|
||||
description: "Varchar is simply letters and numbers within the range 0 - 255",
|
||||
maxValue: 255,
|
||||
},
|
||||
{
|
||||
title: "TINYINT",
|
||||
name: "TINYINT",
|
||||
value: "0-100",
|
||||
description: "TINYINT means Integers: 0 to 100",
|
||||
maxValue: 127,
|
||||
},
|
||||
{
|
||||
title: "SMALLINT",
|
||||
name: "SMALLINT",
|
||||
value: "0-255",
|
||||
description: "SMALLINT means Integers: 0 to 240933",
|
||||
maxValue: 32767,
|
||||
},
|
||||
{
|
||||
title: "MEDIUMINT",
|
||||
name: "MEDIUMINT",
|
||||
value: "0-255",
|
||||
description: "MEDIUMINT means Integers: 0 to 1245568545560",
|
||||
maxValue: 8388607,
|
||||
},
|
||||
{
|
||||
title: "INT",
|
||||
name: "INT",
|
||||
value: "0-255",
|
||||
description: "INT means Integers: 0 to 12560",
|
||||
maxValue: 2147483647,
|
||||
},
|
||||
{
|
||||
title: "BIGINT",
|
||||
name: "BIGINT",
|
||||
value: "0-255",
|
||||
description: "BIGINT means Integers: 0 to 1245569056767568545560",
|
||||
maxValue: 2e63,
|
||||
},
|
||||
{
|
||||
title: "TINYTEXT",
|
||||
name: "TINYTEXT",
|
||||
value: "0-255",
|
||||
description: "Text with 255 max characters",
|
||||
maxValue: 127,
|
||||
},
|
||||
{
|
||||
title: "TEXT",
|
||||
name: "TEXT",
|
||||
value: "0-100",
|
||||
description: "MEDIUMTEXT is just text with max length 16,777,215",
|
||||
},
|
||||
{
|
||||
title: "MEDIUMTEXT",
|
||||
name: "MEDIUMTEXT",
|
||||
value: "0-255",
|
||||
description: "MEDIUMTEXT is just text with max length 16,777,215",
|
||||
},
|
||||
{
|
||||
title: "LONGTEXT",
|
||||
name: "LONGTEXT",
|
||||
value: "0-255",
|
||||
description: "LONGTEXT is just text with max length 4,294,967,295",
|
||||
},
|
||||
{
|
||||
title: "DECIMAL",
|
||||
name: "DECIMAL",
|
||||
description: "Numbers with decimals",
|
||||
integer: "1-100",
|
||||
decimals: "1-4",
|
||||
},
|
||||
{
|
||||
title: "FLOAT",
|
||||
name: "FLOAT",
|
||||
description: "Numbers with decimals",
|
||||
integer: "1-100",
|
||||
decimals: "1-4",
|
||||
},
|
||||
{
|
||||
title: "DOUBLE",
|
||||
name: "DOUBLE",
|
||||
description: "Numbers with decimals",
|
||||
integer: "1-100",
|
||||
decimals: "1-4",
|
||||
},
|
||||
{
|
||||
title: "UUID",
|
||||
name: "UUID",
|
||||
valueLiteral: "UUID()",
|
||||
description: "A Unique ID",
|
||||
},
|
||||
{
|
||||
title: "TIMESTAMP",
|
||||
name: "TIMESTAMP",
|
||||
description: "Time Stamp",
|
||||
},
|
||||
];
|
||||
export default DataTypes;
|
||||
+105
@@ -0,0 +1,105 @@
|
||||
const DataTypes = [
|
||||
{
|
||||
title: "VARCHAR",
|
||||
name: "VARCHAR",
|
||||
value: "0-255",
|
||||
argument: true,
|
||||
description:
|
||||
"Varchar is simply letters and numbers within the range 0 - 255",
|
||||
maxValue: 255,
|
||||
},
|
||||
{
|
||||
title: "TINYINT",
|
||||
name: "TINYINT",
|
||||
value: "0-100",
|
||||
description: "TINYINT means Integers: 0 to 100",
|
||||
maxValue: 127,
|
||||
},
|
||||
{
|
||||
title: "SMALLINT",
|
||||
name: "SMALLINT",
|
||||
value: "0-255",
|
||||
description: "SMALLINT means Integers: 0 to 240933",
|
||||
maxValue: 32767,
|
||||
},
|
||||
{
|
||||
title: "MEDIUMINT",
|
||||
name: "MEDIUMINT",
|
||||
value: "0-255",
|
||||
description: "MEDIUMINT means Integers: 0 to 1245568545560",
|
||||
maxValue: 8388607,
|
||||
},
|
||||
{
|
||||
title: "INT",
|
||||
name: "INT",
|
||||
value: "0-255",
|
||||
description: "INT means Integers: 0 to 12560",
|
||||
maxValue: 2147483647,
|
||||
},
|
||||
{
|
||||
title: "BIGINT",
|
||||
name: "BIGINT",
|
||||
value: "0-255",
|
||||
description: "BIGINT means Integers: 0 to 1245569056767568545560",
|
||||
maxValue: 2e63,
|
||||
},
|
||||
{
|
||||
title: "TINYTEXT",
|
||||
name: "TINYTEXT",
|
||||
value: "0-255",
|
||||
description: "Text with 255 max characters",
|
||||
maxValue: 127,
|
||||
},
|
||||
{
|
||||
title: "TEXT",
|
||||
name: "TEXT",
|
||||
value: "0-100",
|
||||
description: "MEDIUMTEXT is just text with max length 16,777,215",
|
||||
},
|
||||
{
|
||||
title: "MEDIUMTEXT",
|
||||
name: "MEDIUMTEXT",
|
||||
value: "0-255",
|
||||
description: "MEDIUMTEXT is just text with max length 16,777,215",
|
||||
},
|
||||
{
|
||||
title: "LONGTEXT",
|
||||
name: "LONGTEXT",
|
||||
value: "0-255",
|
||||
description: "LONGTEXT is just text with max length 4,294,967,295",
|
||||
},
|
||||
{
|
||||
title: "DECIMAL",
|
||||
name: "DECIMAL",
|
||||
description: "Numbers with decimals",
|
||||
integer: "1-100",
|
||||
decimals: "1-4",
|
||||
},
|
||||
{
|
||||
title: "FLOAT",
|
||||
name: "FLOAT",
|
||||
description: "Numbers with decimals",
|
||||
integer: "1-100",
|
||||
decimals: "1-4",
|
||||
},
|
||||
{
|
||||
title: "DOUBLE",
|
||||
name: "DOUBLE",
|
||||
description: "Numbers with decimals",
|
||||
integer: "1-100",
|
||||
decimals: "1-4",
|
||||
},
|
||||
{
|
||||
title: "UUID",
|
||||
name: "UUID",
|
||||
valueLiteral: "UUID()",
|
||||
description: "A Unique ID",
|
||||
},
|
||||
{
|
||||
title: "TIMESTAMP",
|
||||
name: "TIMESTAMP",
|
||||
description: "Time Stamp",
|
||||
},
|
||||
] as const;
|
||||
|
||||
export default DataTypes;
|
||||
+8
@@ -88,6 +88,14 @@
|
||||
"integer": "1-100",
|
||||
"decimals": "1-4"
|
||||
},
|
||||
{
|
||||
"title": "OPTIONS",
|
||||
"name": "VARCHAR",
|
||||
"value": "250",
|
||||
"argument": true,
|
||||
"description": "This is a custom field which is a varchar under the hood",
|
||||
"maxValue": 255
|
||||
},
|
||||
{
|
||||
"title": "UUID",
|
||||
"name": "UUID",
|
||||
|
||||
Reference in New Issue
Block a user