Updates
This commit is contained in:
Vendored
+29
-9
@@ -34,7 +34,29 @@ export interface DSQL_ChildrenTablesType {
|
||||
tableName: string;
|
||||
tableNameFull?: string;
|
||||
}
|
||||
export interface DSQL_FieldSchemaType {
|
||||
export declare const TextFieldTypesArray: readonly [{
|
||||
readonly title: "Plain Text";
|
||||
readonly value: "plain";
|
||||
}, {
|
||||
readonly title: "Rich Text";
|
||||
readonly value: "richText";
|
||||
}, {
|
||||
readonly title: "JSON";
|
||||
readonly value: "json";
|
||||
}, {
|
||||
readonly title: "YAML";
|
||||
readonly value: "yaml";
|
||||
}, {
|
||||
readonly title: "HTML";
|
||||
readonly value: "html";
|
||||
}, {
|
||||
readonly title: "CSS";
|
||||
readonly value: "css";
|
||||
}, {
|
||||
readonly title: "Javascript";
|
||||
readonly value: "javascript";
|
||||
}];
|
||||
export type DSQL_FieldSchemaType = {
|
||||
fieldName?: string;
|
||||
originName?: string;
|
||||
updatedField?: boolean;
|
||||
@@ -47,13 +69,6 @@ export interface DSQL_FieldSchemaType {
|
||||
defaultValue?: string | number;
|
||||
defaultValueLiteral?: string;
|
||||
foreignKey?: DSQL_ForeignKeyType;
|
||||
richText?: boolean;
|
||||
json?: boolean;
|
||||
yaml?: boolean;
|
||||
html?: boolean;
|
||||
css?: boolean;
|
||||
javascript?: boolean;
|
||||
shell?: boolean;
|
||||
newTempField?: boolean;
|
||||
defaultField?: boolean;
|
||||
plainText?: boolean;
|
||||
@@ -65,7 +80,11 @@ export interface DSQL_FieldSchemaType {
|
||||
onDelete?: string;
|
||||
onDeleteLiteral?: string;
|
||||
cssFiles?: string[];
|
||||
}
|
||||
integerLength?: string | number;
|
||||
decimals?: string | number;
|
||||
} & {
|
||||
[key in (typeof TextFieldTypesArray)[number]["value"]]?: boolean;
|
||||
};
|
||||
export interface DSQL_ForeignKeyType {
|
||||
foreignKeyName?: string;
|
||||
destinationTableName?: string;
|
||||
@@ -784,6 +803,7 @@ export interface MYSQL_user_database_tables_table_def {
|
||||
table_slug?: string;
|
||||
table_description?: string;
|
||||
child_table?: number;
|
||||
active_data?: 0 | 1;
|
||||
child_table_parent_database?: string;
|
||||
child_table_parent_table?: string;
|
||||
date_created?: string;
|
||||
|
||||
Vendored
+10
-1
@@ -1,5 +1,14 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.ServerQueryEqualities = exports.ServerQueryOperators = void 0;
|
||||
exports.ServerQueryEqualities = exports.ServerQueryOperators = exports.TextFieldTypesArray = void 0;
|
||||
exports.TextFieldTypesArray = [
|
||||
{ title: "Plain Text", value: "plain" },
|
||||
{ title: "Rich Text", value: "richText" },
|
||||
{ title: "JSON", value: "json" },
|
||||
{ title: "YAML", value: "yaml" },
|
||||
{ title: "HTML", value: "html" },
|
||||
{ title: "CSS", value: "css" },
|
||||
{ title: "Javascript", value: "javascript" },
|
||||
];
|
||||
exports.ServerQueryOperators = ["AND", "OR"];
|
||||
exports.ServerQueryEqualities = ["EQUAL", "LIKE", "NOT EQUAL"];
|
||||
|
||||
Reference in New Issue
Block a user