Updates
This commit is contained in:
Vendored
+131
-87
@@ -1,4 +1,4 @@
|
||||
export declare const DsqlTables: readonly ["users", "mariadb_users", "api_keys", "invitations", "user_users", "delegated_user_tables", "user_databases", "user_database_tables", "user_media", "delegated_users", "unsubscribes", "notifications", "docs_pages", "docs_page_extra_links", "deleted_api_keys", "servers", "process_queue"];
|
||||
export declare const DsqlTables: readonly ["users", "mariadb_users", "mariadb_user_databases", "mariadb_user_tables", "mariadb_user_privileges", "api_keys", "api_keys_scoped_resources", "invitations", "delegated_resources", "user_databases", "user_database_tables", "user_media", "user_private_folders", "delegated_users", "unsubscribes", "notifications", "deleted_api_keys", "servers", "process_queue", "backups"];
|
||||
export type DSQL_DATASQUIREL_USERS = {
|
||||
id?: number;
|
||||
uuid?: string;
|
||||
@@ -20,6 +20,7 @@ export type DSQL_DATASQUIREL_USERS = {
|
||||
mariadb_pass?: string;
|
||||
disk_usage_in_mb?: number;
|
||||
verification_status?: number;
|
||||
temp_login_code?: string;
|
||||
date_created?: string;
|
||||
date_created_code?: number;
|
||||
date_created_timestamp?: string;
|
||||
@@ -35,7 +36,60 @@ export type DSQL_DATASQUIREL_MARIADB_USERS = {
|
||||
host?: string;
|
||||
password?: string;
|
||||
primary?: number;
|
||||
grants?: string;
|
||||
all_databases?: 0 | 1;
|
||||
all_grants?: 0 | 1;
|
||||
date_created?: string;
|
||||
date_created_code?: number;
|
||||
date_created_timestamp?: string;
|
||||
date_updated?: string;
|
||||
date_updated_code?: number;
|
||||
date_updated_timestamp?: string;
|
||||
};
|
||||
export type DSQL_DATASQUIREL_MARIADB_USER_DATABASES = {
|
||||
id?: number;
|
||||
uuid?: string;
|
||||
user_id?: number;
|
||||
mariadb_user_id?: number;
|
||||
db_id?: number;
|
||||
db_schema_id?: number;
|
||||
db_slug?: string;
|
||||
all_tables?: 0 | 1;
|
||||
all_privileges?: 0 | 1;
|
||||
date_created?: string;
|
||||
date_created_code?: number;
|
||||
date_created_timestamp?: string;
|
||||
date_updated?: string;
|
||||
date_updated_code?: number;
|
||||
date_updated_timestamp?: string;
|
||||
};
|
||||
export type DSQL_DATASQUIREL_MARIADB_USER_TABLES = {
|
||||
id?: number;
|
||||
uuid?: string;
|
||||
user_id?: number;
|
||||
mariadb_user_id?: number;
|
||||
db_id?: number;
|
||||
db_schema_id?: number;
|
||||
db_slug?: string;
|
||||
table_schema_id?: number;
|
||||
table_slug?: string;
|
||||
all_fields?: 0 | 1;
|
||||
all_privileges?: 0 | 1;
|
||||
date_created?: string;
|
||||
date_created_code?: number;
|
||||
date_created_timestamp?: string;
|
||||
date_updated?: string;
|
||||
date_updated_code?: number;
|
||||
date_updated_timestamp?: string;
|
||||
};
|
||||
export type DSQL_DATASQUIREL_MARIADB_USER_PRIVILEGES = {
|
||||
id?: number;
|
||||
uuid?: string;
|
||||
user_id?: number;
|
||||
mariadb_user_id?: number;
|
||||
db_id?: number;
|
||||
db_schema_id?: number;
|
||||
db_slug?: string;
|
||||
privilege?: "ALTER" | "ALTER ROUTINE" | "CREATE" | "CREATE ROUTINE" | "CREATE TEMPORARY TABLES" | "CREATE VIEW" | "DELETE" | "DROP" | "EVENT" | "EXECUTE" | "FILE" | "INDEX" | "INSERT" | "LOCK TABLES" | "PROCESS" | "REFERENCES" | "RELOAD" | "SELECT" | "SHOW VIEW" | "SUPER" | "TRIGGER" | "UPDATE" | "USAGE";
|
||||
date_created?: string;
|
||||
date_created_code?: number;
|
||||
date_created_timestamp?: string;
|
||||
@@ -50,7 +104,9 @@ export type DSQL_DATASQUIREL_API_KEYS = {
|
||||
name?: string;
|
||||
slug?: string;
|
||||
key?: string;
|
||||
scope?: string;
|
||||
scope?: "readOnly" | "fullAccess";
|
||||
all_dbs?: 0 | 1;
|
||||
media_only?: 0 | 1;
|
||||
csrf?: string;
|
||||
date_created?: string;
|
||||
date_created_code?: number;
|
||||
@@ -59,49 +115,34 @@ export type DSQL_DATASQUIREL_API_KEYS = {
|
||||
date_updated_code?: number;
|
||||
date_updated_timestamp?: string;
|
||||
};
|
||||
export type DSQL_DATASQUIREL_API_KEYS_SCOPED_RESOURCES = {
|
||||
id?: number;
|
||||
uuid?: string;
|
||||
user_id?: number;
|
||||
api_key_id?: number;
|
||||
db_id?: number;
|
||||
db_schema_id?: number;
|
||||
db_slug?: string;
|
||||
table_schema_id?: number;
|
||||
table_slug?: string;
|
||||
all_tables?: 0 | 1;
|
||||
date_created?: string;
|
||||
date_created_code?: number;
|
||||
date_created_timestamp?: string;
|
||||
date_updated?: string;
|
||||
date_updated_code?: number;
|
||||
date_updated_timestamp?: string;
|
||||
};
|
||||
export type DSQL_DATASQUIREL_INVITATIONS = {
|
||||
id?: number;
|
||||
uuid?: string;
|
||||
inviting_user_id?: number;
|
||||
invited_user_email?: string;
|
||||
invitation_status?: string;
|
||||
database_access?: string;
|
||||
priviledge?: string;
|
||||
db_tables_data?: string;
|
||||
date_created?: string;
|
||||
date_created_code?: number;
|
||||
date_created_timestamp?: string;
|
||||
date_updated?: string;
|
||||
date_updated_code?: number;
|
||||
date_updated_timestamp?: string;
|
||||
};
|
||||
export type DSQL_DATASQUIREL_USER_USERS = {
|
||||
id?: number;
|
||||
uuid?: string;
|
||||
user_id?: number;
|
||||
invited_user_id?: number;
|
||||
database?: string;
|
||||
invited_user_email?: string;
|
||||
invitation_status?: "pending" | "accepted" | "rejected" | "cancelled";
|
||||
database_access?: string;
|
||||
first_name?: string;
|
||||
last_name?: string;
|
||||
email?: string;
|
||||
username?: string;
|
||||
password?: string;
|
||||
phone?: string;
|
||||
user_type?: string;
|
||||
user_priviledge?: string;
|
||||
image?: string;
|
||||
image_thumbnail?: string;
|
||||
city?: string;
|
||||
state?: string;
|
||||
country?: string;
|
||||
zip_code?: string;
|
||||
address?: string;
|
||||
social_login?: number;
|
||||
social_platform?: string;
|
||||
social_id?: string;
|
||||
verification_status?: number;
|
||||
more_user_data?: string;
|
||||
db_tables_data?: string;
|
||||
email_sent?: 0 | 1;
|
||||
date_created?: string;
|
||||
date_created_code?: number;
|
||||
date_created_timestamp?: string;
|
||||
@@ -109,14 +150,19 @@ export type DSQL_DATASQUIREL_USER_USERS = {
|
||||
date_updated_code?: number;
|
||||
date_updated_timestamp?: string;
|
||||
};
|
||||
export type DSQL_DATASQUIREL_DELEGATED_USER_TABLES = {
|
||||
export type DSQL_DATASQUIREL_DELEGATED_RESOURCES = {
|
||||
id?: number;
|
||||
uuid?: string;
|
||||
delegated_users_id?: number;
|
||||
user_id?: number;
|
||||
delegated_user_id?: number;
|
||||
root_user_id?: number;
|
||||
database?: string;
|
||||
table?: string;
|
||||
priviledge?: string;
|
||||
db_id?: number;
|
||||
db_schema_id?: number;
|
||||
db_slug?: string;
|
||||
table_schema_id?: number;
|
||||
table_slug?: string;
|
||||
permission?: "read" | "write" | "edit" | "delete";
|
||||
all_tables?: 0 | 1;
|
||||
date_created?: string;
|
||||
date_created_code?: number;
|
||||
date_created_timestamp?: string;
|
||||
@@ -128,6 +174,7 @@ export type DSQL_DATASQUIREL_USER_DATABASES = {
|
||||
id?: number;
|
||||
uuid?: string;
|
||||
user_id?: number;
|
||||
db_schema_id?: number;
|
||||
db_name?: string;
|
||||
db_slug?: string;
|
||||
db_full_name?: string;
|
||||
@@ -138,9 +185,11 @@ export type DSQL_DATASQUIREL_USER_DATABASES = {
|
||||
remote_db_full_name?: string;
|
||||
remote_connection_host?: string;
|
||||
remote_connection_key?: string;
|
||||
active_clone?: number;
|
||||
active_clone?: 0 | 1;
|
||||
active_clone_parent_db?: string;
|
||||
active_clone_parent_db_id?: number;
|
||||
active_data?: number;
|
||||
last_checked_date_code?: number;
|
||||
date_created?: string;
|
||||
date_created_code?: number;
|
||||
date_created_timestamp?: string;
|
||||
@@ -153,14 +202,16 @@ export type DSQL_DATASQUIREL_USER_DATABASE_TABLES = {
|
||||
uuid?: string;
|
||||
user_id?: number;
|
||||
db_id?: number;
|
||||
table_schema_id?: number;
|
||||
db_slug?: string;
|
||||
table_name?: string;
|
||||
table_slug?: string;
|
||||
table_description?: string;
|
||||
child_table?: number;
|
||||
child_table_parent_database?: string;
|
||||
child_table_parent_table?: string;
|
||||
active_data?: number;
|
||||
child_table_parent_database_schema_id?: number;
|
||||
child_table_parent_table_schema_id?: number;
|
||||
active_data?: 0 | 1;
|
||||
last_checked_date_code?: number;
|
||||
date_created?: string;
|
||||
date_created_code?: number;
|
||||
date_created_timestamp?: string;
|
||||
@@ -176,13 +227,29 @@ export type DSQL_DATASQUIREL_USER_MEDIA = {
|
||||
folder?: string;
|
||||
media_url?: string;
|
||||
media_thumbnail_url?: string;
|
||||
media_path?: string;
|
||||
media_thumbnail_path?: string;
|
||||
media_type?: string;
|
||||
media_base64?: string;
|
||||
media_thumbnail_base64?: string;
|
||||
media_type?: "file" | "image" | "video";
|
||||
media_stats?: string;
|
||||
mime_type?: string;
|
||||
width?: number;
|
||||
height?: number;
|
||||
size?: number;
|
||||
private?: number;
|
||||
private?: 0 | 1;
|
||||
private_folder?: 0 | 1;
|
||||
date_created?: string;
|
||||
date_created_code?: number;
|
||||
date_created_timestamp?: string;
|
||||
date_updated?: string;
|
||||
date_updated_code?: number;
|
||||
date_updated_timestamp?: string;
|
||||
};
|
||||
export type DSQL_DATASQUIREL_USER_PRIVATE_FOLDERS = {
|
||||
id?: number;
|
||||
uuid?: string;
|
||||
user_id?: number;
|
||||
folder_path?: string;
|
||||
child_folder?: 0 | 1;
|
||||
date_created?: string;
|
||||
date_created_code?: number;
|
||||
date_created_timestamp?: string;
|
||||
@@ -195,8 +262,6 @@ export type DSQL_DATASQUIREL_DELEGATED_USERS = {
|
||||
uuid?: string;
|
||||
user_id?: number;
|
||||
delegated_user_id?: number;
|
||||
permissions?: string;
|
||||
permission_level_code?: number;
|
||||
date_created?: string;
|
||||
date_created_code?: number;
|
||||
date_created_timestamp?: string;
|
||||
@@ -230,38 +295,6 @@ export type DSQL_DATASQUIREL_NOTIFICATIONS = {
|
||||
date_updated_code?: number;
|
||||
date_updated_timestamp?: string;
|
||||
};
|
||||
export type DSQL_DATASQUIREL_DOCS_PAGES = {
|
||||
id?: number;
|
||||
uuid?: string;
|
||||
title?: string;
|
||||
slug?: string;
|
||||
description?: string;
|
||||
content?: string;
|
||||
text_content?: string;
|
||||
level?: number;
|
||||
page_order?: number;
|
||||
parent_id?: number;
|
||||
date_created?: string;
|
||||
date_created_code?: number;
|
||||
date_created_timestamp?: string;
|
||||
date_updated?: string;
|
||||
date_updated_code?: number;
|
||||
date_updated_timestamp?: string;
|
||||
};
|
||||
export type DSQL_DATASQUIREL_DOCS_PAGE_EXTRA_LINKS = {
|
||||
id?: number;
|
||||
uuid?: string;
|
||||
docs_page_id?: number;
|
||||
title?: string;
|
||||
description?: string;
|
||||
url?: string;
|
||||
date_created?: string;
|
||||
date_created_code?: number;
|
||||
date_created_timestamp?: string;
|
||||
date_updated?: string;
|
||||
date_updated_code?: number;
|
||||
date_updated_timestamp?: string;
|
||||
};
|
||||
export type DSQL_DATASQUIREL_DELETED_API_KEYS = {
|
||||
id?: number;
|
||||
uuid?: string;
|
||||
@@ -307,3 +340,14 @@ export type DSQL_DATASQUIREL_PROCESS_QUEUE = {
|
||||
date_updated_code?: number;
|
||||
date_updated_timestamp?: string;
|
||||
};
|
||||
export type DSQL_DATASQUIREL_BACKUPS = {
|
||||
id?: number;
|
||||
uuid?: string;
|
||||
user_id?: number;
|
||||
date_created?: string;
|
||||
date_created_code?: number;
|
||||
date_created_timestamp?: string;
|
||||
date_updated?: string;
|
||||
date_updated_code?: number;
|
||||
date_updated_timestamp?: string;
|
||||
};
|
||||
|
||||
Vendored
+8
-8
@@ -1,22 +1,22 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.DsqlTables = void 0;
|
||||
exports.DsqlTables = [
|
||||
export const DsqlTables = [
|
||||
"users",
|
||||
"mariadb_users",
|
||||
"mariadb_user_databases",
|
||||
"mariadb_user_tables",
|
||||
"mariadb_user_privileges",
|
||||
"api_keys",
|
||||
"api_keys_scoped_resources",
|
||||
"invitations",
|
||||
"user_users",
|
||||
"delegated_user_tables",
|
||||
"delegated_resources",
|
||||
"user_databases",
|
||||
"user_database_tables",
|
||||
"user_media",
|
||||
"user_private_folders",
|
||||
"delegated_users",
|
||||
"unsubscribes",
|
||||
"notifications",
|
||||
"docs_pages",
|
||||
"docs_page_extra_links",
|
||||
"deleted_api_keys",
|
||||
"servers",
|
||||
"process_queue",
|
||||
"backups",
|
||||
];
|
||||
|
||||
Vendored
+486
-280
File diff suppressed because it is too large
Load Diff
Vendored
+314
-17
@@ -1,7 +1,15 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.ImageMimeTypes = exports.MediaTypes = exports.DockerComposeServices = exports.DatasquirelWindowEvents = exports.WebSocketEvents = exports.QueueJobTypes = exports.SignUpParadigms = exports.UserTypes = exports.DsqlCrudActions = exports.DataCrudRequestMethods = exports.ServerQueryEqualities = exports.ServerQueryOperators = exports.TextFieldTypesArray = void 0;
|
||||
exports.TextFieldTypesArray = [
|
||||
export const UsersOmitedFields = [
|
||||
"password",
|
||||
"social_id",
|
||||
"verification_status",
|
||||
"date_created",
|
||||
"date_created_code",
|
||||
"date_created_timestamp",
|
||||
"date_updated",
|
||||
"date_updated_code",
|
||||
"date_updated_timestamp",
|
||||
];
|
||||
export const TextFieldTypesArray = [
|
||||
{ title: "Plain Text", value: "plain" },
|
||||
{ title: "Rich Text", value: "richText" },
|
||||
{ title: "JSON", value: "json" },
|
||||
@@ -10,19 +18,58 @@ exports.TextFieldTypesArray = [
|
||||
{ title: "CSS", value: "css" },
|
||||
{ title: "Javascript", value: "javascript" },
|
||||
{ title: "Shell", value: "shell" },
|
||||
{ title: "Code", value: "code" },
|
||||
];
|
||||
exports.ServerQueryOperators = ["AND", "OR"];
|
||||
exports.ServerQueryEqualities = [
|
||||
export const ServerQueryOperators = ["AND", "OR"];
|
||||
export const ServerQueryEqualities = [
|
||||
"EQUAL",
|
||||
"LIKE",
|
||||
"LIKE_RAW",
|
||||
"NOT LIKE",
|
||||
"NOT LIKE_RAW",
|
||||
"NOT EQUAL",
|
||||
"REGEXP",
|
||||
"FULLTEXT",
|
||||
"IN",
|
||||
"NOT IN",
|
||||
"BETWEEN",
|
||||
"NOT BETWEEN",
|
||||
"IS NULL",
|
||||
"IS NOT NULL",
|
||||
"EXISTS",
|
||||
"NOT EXISTS",
|
||||
"GREATER THAN",
|
||||
"GREATER THAN OR EQUAL",
|
||||
"LESS THAN",
|
||||
"LESS THAN OR EQUAL",
|
||||
];
|
||||
exports.DataCrudRequestMethods = ["GET", "POST", "PUT", "DELETE"];
|
||||
exports.DsqlCrudActions = ["insert", "update", "delete", "get"];
|
||||
exports.UserTypes = ["su", "admin"];
|
||||
exports.SignUpParadigms = [
|
||||
export const DataCrudRequestMethods = [
|
||||
"GET",
|
||||
"POST",
|
||||
"PUT",
|
||||
"PATCH",
|
||||
"DELETE",
|
||||
"OPTIONS",
|
||||
];
|
||||
export const DataCrudRequestMethodsLowerCase = [
|
||||
"get",
|
||||
"post",
|
||||
"put",
|
||||
"patch",
|
||||
"delete",
|
||||
"options",
|
||||
];
|
||||
export const DsqlCrudActions = ["insert", "update", "delete", "get"];
|
||||
export const QueryFields = [
|
||||
"duplicate",
|
||||
"user_id",
|
||||
"delegated_user_id",
|
||||
"db_id",
|
||||
"table_id",
|
||||
"db_slug",
|
||||
];
|
||||
export const UserTypes = ["su", "admin"];
|
||||
export const SignUpParadigms = [
|
||||
{
|
||||
name: "email",
|
||||
},
|
||||
@@ -30,8 +77,8 @@ exports.SignUpParadigms = [
|
||||
name: "google",
|
||||
},
|
||||
];
|
||||
exports.QueueJobTypes = ["dummy", "import-database"];
|
||||
exports.WebSocketEvents = [
|
||||
export const QueueJobTypes = ["dummy", "import-database"];
|
||||
export const WebSocketEvents = [
|
||||
/**
|
||||
* # Client Events
|
||||
* @description Events sent from Client to Server
|
||||
@@ -54,12 +101,12 @@ exports.WebSocketEvents = [
|
||||
"server:queue-deleted",
|
||||
"server:pty-shell",
|
||||
];
|
||||
exports.DatasquirelWindowEvents = [
|
||||
export const DatasquirelWindowEvents = [
|
||||
"queue-started",
|
||||
"queue-complete",
|
||||
"queue-running",
|
||||
];
|
||||
exports.DockerComposeServices = [
|
||||
export const DockerComposeServices = [
|
||||
"setup",
|
||||
"cron",
|
||||
"reverse-proxy",
|
||||
@@ -67,11 +114,17 @@ exports.DockerComposeServices = [
|
||||
"websocket",
|
||||
"static",
|
||||
"db",
|
||||
"db-load-balancer",
|
||||
"maxscale",
|
||||
"post-db-setup",
|
||||
"web-app-post-db-setup",
|
||||
"post-replica-db-setup",
|
||||
"db-replica-1",
|
||||
"db-replica-2",
|
||||
"db-cron",
|
||||
"web-app-post-db-setup",
|
||||
];
|
||||
exports.MediaTypes = ["image", "file"];
|
||||
exports.ImageMimeTypes = [
|
||||
export const MediaTypes = ["image", "file", "video"];
|
||||
export const ImageMimeTypes = [
|
||||
"webp",
|
||||
"gif",
|
||||
"svg",
|
||||
@@ -79,3 +132,247 @@ exports.ImageMimeTypes = [
|
||||
"jpeg",
|
||||
"jpg",
|
||||
];
|
||||
export const FileMimeTypes = [
|
||||
"pdf",
|
||||
"csv",
|
||||
"json",
|
||||
"sql",
|
||||
"xlsx",
|
||||
"txt",
|
||||
"zip",
|
||||
"xz",
|
||||
"yaml",
|
||||
"yml",
|
||||
];
|
||||
export const VideoMimeTypes = ["mp4", "wav"];
|
||||
export const CurrentlyEditedFieldActions = [
|
||||
"edit-field",
|
||||
"edit-index",
|
||||
"delete-field",
|
||||
"delete-index",
|
||||
"new-field",
|
||||
"new-index",
|
||||
"move-up",
|
||||
"move-down",
|
||||
"complete",
|
||||
];
|
||||
export const DefaultSQLValuesLiteral = [
|
||||
{
|
||||
title: "CURRENT_TIMESTAMP",
|
||||
value: "CURRENT_TIMESTAMP",
|
||||
description: "",
|
||||
dataType: "TIMESTAMP",
|
||||
},
|
||||
{
|
||||
title: "UUID",
|
||||
value: "UUID()",
|
||||
description: "",
|
||||
dataType: "UUID",
|
||||
},
|
||||
];
|
||||
export const IndexTypes = ["regular", "full_text"];
|
||||
export const UserSelectFields = [
|
||||
{
|
||||
field: "first_name",
|
||||
alias: "user_first_name",
|
||||
},
|
||||
{
|
||||
field: "last_name",
|
||||
alias: "user_last_name",
|
||||
},
|
||||
{
|
||||
field: "email",
|
||||
alias: "user_email",
|
||||
},
|
||||
{
|
||||
field: "image_thumbnail",
|
||||
alias: "user_image_thumbnail",
|
||||
},
|
||||
];
|
||||
export const DelegatedUserSelectFields = [
|
||||
{
|
||||
field: "first_name",
|
||||
alias: "delegated_user_first_name",
|
||||
},
|
||||
{
|
||||
field: "last_name",
|
||||
alias: "delegated_user_last_name",
|
||||
},
|
||||
{
|
||||
field: "email",
|
||||
alias: "delegated_user_email",
|
||||
},
|
||||
{
|
||||
field: "image_thumbnail",
|
||||
alias: "delegated_user_image_thumbnail",
|
||||
},
|
||||
];
|
||||
export const InvitedUserSelectFields = [
|
||||
{
|
||||
field: "first_name",
|
||||
alias: "invited_user_first_name",
|
||||
},
|
||||
{
|
||||
field: "last_name",
|
||||
alias: "invited_user_last_name",
|
||||
},
|
||||
{
|
||||
field: "email",
|
||||
alias: "invited_user_email",
|
||||
},
|
||||
{
|
||||
field: "image_thumbnail",
|
||||
alias: "invited_user_image_thumbnail",
|
||||
},
|
||||
];
|
||||
export const SQLPermissions = [
|
||||
"ALL PRIVILEGES",
|
||||
"ALTER",
|
||||
"ALTER ROUTINE",
|
||||
"CREATE",
|
||||
"CREATE ROUTINE",
|
||||
"CREATE TEMPORARY TABLES",
|
||||
"CREATE VIEW",
|
||||
"DELETE",
|
||||
"DROP",
|
||||
"EVENT",
|
||||
"EXECUTE",
|
||||
"FILE",
|
||||
"INDEX",
|
||||
"INSERT",
|
||||
"LOCK TABLES",
|
||||
"PROCESS",
|
||||
"REFERENCES",
|
||||
"RELOAD",
|
||||
"REPLICATION CLIENT",
|
||||
"REPLICATION SLAVE",
|
||||
"SELECT",
|
||||
"SHOW VIEW",
|
||||
"SUPER",
|
||||
"TRIGGER",
|
||||
"UPDATE",
|
||||
"USAGE",
|
||||
];
|
||||
export const UserSQLPermissions = [
|
||||
"SELECT",
|
||||
"ALTER",
|
||||
"ALTER ROUTINE",
|
||||
"CREATE",
|
||||
"CREATE ROUTINE",
|
||||
"CREATE TEMPORARY TABLES",
|
||||
"CREATE VIEW",
|
||||
"DELETE",
|
||||
"DROP",
|
||||
"EVENT",
|
||||
"EXECUTE",
|
||||
"FILE",
|
||||
"INDEX",
|
||||
"INSERT",
|
||||
"LOCK TABLES",
|
||||
"PROCESS",
|
||||
"REFERENCES",
|
||||
"RELOAD",
|
||||
"SHOW VIEW",
|
||||
"SUPER",
|
||||
"TRIGGER",
|
||||
"UPDATE",
|
||||
"USAGE",
|
||||
];
|
||||
export const APIParadigms = ["crud", "media", "sql"];
|
||||
export const AppVersions = [
|
||||
{
|
||||
title: "Community",
|
||||
value: "community",
|
||||
},
|
||||
{
|
||||
title: "Pro",
|
||||
value: "pro",
|
||||
},
|
||||
{
|
||||
title: "Enterprise",
|
||||
value: "enterprise",
|
||||
},
|
||||
{
|
||||
title: "Full",
|
||||
value: "full",
|
||||
},
|
||||
];
|
||||
export const EnvKeys = [
|
||||
"DSQL_HOST",
|
||||
"NEXT_PUBLIC_DSQL_HOST",
|
||||
"DSQL_STATIC_HOST",
|
||||
"DSQL_SOCKET_DOMAIN",
|
||||
"DSQL_HOST_ENV",
|
||||
"DSQL_PORT",
|
||||
"DSQL_PRODUCTION_PORT",
|
||||
"DSQL_STATIC_SERVER_PORT",
|
||||
"DSQL_SITE_URL",
|
||||
"DSQL_REMOTE_SQL_HOST",
|
||||
"NEXT_PUBLIC_DSQL_REMOTE_SQL_HOST",
|
||||
"DSQL_DB_TARGET_IP_ADDRESS",
|
||||
"NEXT_PUBLIC_VERSION",
|
||||
"DSQL_USER_DB_PREFIX",
|
||||
"DSQL_USER_DELEGATED_DB_COOKIE_PREFIX",
|
||||
"DSQL_NETWORK_IP_PREFIX",
|
||||
"DSQL_NETWORK_GATEWAY",
|
||||
"DSQL_NETWORK_SUBNET",
|
||||
"DSQL_MARIADB_MASTER_HOST",
|
||||
"DSQL_DB_HOST",
|
||||
"DSQL_WEB_APP_HOST",
|
||||
"DSQL_DB_USERNAME",
|
||||
"DSQL_DB_PASSWORD",
|
||||
"DSQL_MARIADB_ROOT_PASSWORD",
|
||||
"DSQL_REPLICATION_USER_PASSWORD",
|
||||
"DSQL_DB_NAME",
|
||||
"DSQL_MARIADB_REPLICATION_PASSWORD",
|
||||
"DSQL_MAXSCALE_PASSWORD",
|
||||
"DSQL_DB_READ_ONLY_USERNAME",
|
||||
"DSQL_DB_READ_ONLY_PASSWORD",
|
||||
"DSQL_DB_FULL_ACCESS_USERNAME",
|
||||
"DSQL_DB_FULL_ACCESS_PASSWORD",
|
||||
"DSQL_DB_EXPOSED_PORT",
|
||||
"DSQL_ENCRYPTION_PASSWORD",
|
||||
"DSQL_ENCRYPTION_SALT",
|
||||
"DSQL_SU_USER_ID",
|
||||
"DSQL_SU_USER_UUID",
|
||||
"DSQL_SU_EMAIL",
|
||||
"DSQL_GOOGLE_CLIENT_ID",
|
||||
"NEXT_PUBLIC_DSQL_GOOGLE_CLIENT_ID",
|
||||
"DSQL_FACEBOOK_APP_ID",
|
||||
"DSQL_FACEBOOK_SECRET",
|
||||
"DSQL_MAIL_HOST",
|
||||
"DSQL_MAIL_EMAIL",
|
||||
"DSQL_MAIL_PASSWORD",
|
||||
"DSQL_TINY_MCE_API_KEY",
|
||||
"DSQL_GITHUB_ID",
|
||||
"DSQL_GITHUB_SECRET",
|
||||
"DSQL_GITHUB_WEBHOOK_SECRET",
|
||||
"DSQL_GITHUB_WEBHOOK_URL",
|
||||
"DSQL_DEPLOY_SERVER_PORT",
|
||||
"DSQL_DOCKERFILE",
|
||||
"DSQL_VOLUME_APP",
|
||||
"DSQL_VOLUME_STATIC",
|
||||
"DSQL_VOLUME_STATIC_CONFIGURATION_FILE",
|
||||
"DSQL_VOLUME_DB",
|
||||
"DSQL_VOLUME_DB_CONFIG",
|
||||
"DSQL_VOLUME_DB_SETUP",
|
||||
"DSQL_VOLUME_DB_SSL",
|
||||
"DSQL_USER_LOGIN_KEYS_PATH",
|
||||
"DSQL_API_KEYS_PATH",
|
||||
"DSQL_APP_DIR",
|
||||
"DSQL_DATA_DIR",
|
||||
"DSQL_CONTACT_EMAIL",
|
||||
"DSQL_SSL_DIR",
|
||||
"DSQL_DEPLOYMENT_NAME",
|
||||
"DSQL_COOKIES_PREFIX",
|
||||
"DSQL_COOKIES_KEY_NAME",
|
||||
"DSQL_WEB_APP_FAIL_COUNTS",
|
||||
"NODE_ARCH",
|
||||
"DSQL_WEBSOCKET_PORT",
|
||||
"DSQL_WEBSOCKET_URL",
|
||||
"NEXT_PUBLIC_DSQL_WEBSOCKET_URL",
|
||||
"S3_ACCESS_KEY_ID",
|
||||
"S3_SECRET_ACCESS",
|
||||
"DSQL_ADDITIONAL_MARIADB_SERVERS",
|
||||
"DSQL_ARCJET_KEY",
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user