mirror of https://github.com/nocodb/nocodb
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
120 lines
4.5 KiB
120 lines
4.5 KiB
3 years ago
|
export default {
|
||
3 years ago
|
projectsDir: { 'Create New Project': '' },
|
||
3 years ago
|
project: {
|
||
|
// "Environment Add": "PROJECT_ADD_ENV",
|
||
|
// Refresh: "PROJECT_REFRESH",
|
||
3 years ago
|
...(process.env.NODE_ENV === 'dev' ? { 'Show _Nodes Info': 'SHOW_NODES' } : {})
|
||
3 years ago
|
},
|
||
|
env: {
|
||
|
// "Database Add": "ENV_ADD_DB",
|
||
|
// "Environment Refresh": "ENV_REFRESH",
|
||
3 years ago
|
...(process.env.NODE_ENV === 'dev' ? { 'Show _Nodes Info': 'SHOW_NODES' } : {})
|
||
3 years ago
|
},
|
||
|
db: {
|
||
|
// "Create REST Apis": "CREATE_REST_APIS",
|
||
|
// "Create GraphQL Apis": "CREATE_REST_APIS",
|
||
|
// "Create Grpc Apis": "CREATE_REST_APIS",
|
||
|
// "Migration Up": "ENV_DB_MIGRATION_UP"",
|
||
3 years ago
|
...(process.env.NODE_ENV === 'dev' ? { 'Show _Nodes Info': 'SHOW_NODES' } : {})
|
||
3 years ago
|
},
|
||
|
tableDir: {
|
||
3 years ago
|
'Table Create': 'ENV_DB_TABLES_CREATE',
|
||
|
'Tables Refresh': 'ENV_DB_TABLES_REFRESH',
|
||
3 years ago
|
// 'Import Excel': 'IMPORT_EXCEL',
|
||
3 years ago
|
// "Table Create": "ENV_DB_TABLES_CREATE",
|
||
3 years ago
|
...(process.env.NODE_ENV === 'dev' ? { 'Show _Nodes Info': 'SHOW_NODES' } : {})
|
||
3 years ago
|
},
|
||
|
viewDir: {
|
||
3 years ago
|
// 'View Create': 'ENV_DB_VIEWS_CREATE',
|
||
3 years ago
|
'Views Refresh': 'ENV_DB_VIEWS_REFRESH',
|
||
|
...(process.env.NODE_ENV === 'dev' ? { 'Show _Nodes Info': 'SHOW_NODES' } : {})
|
||
3 years ago
|
},
|
||
|
functionDir: {
|
||
3 years ago
|
'Function Create': 'ENV_DB_FUNCTIONS_CREATE',
|
||
|
'Functions Refresh': 'ENV_DB_FUNCTIONS_REFRESH',
|
||
|
...(process.env.NODE_ENV === 'dev' ? { 'Show _Nodes Info': 'SHOW_NODES' } : {})
|
||
3 years ago
|
},
|
||
|
migrationsDir: {
|
||
3 years ago
|
...(process.env.NODE_ENV === 'dev' ? { 'Show _Nodes Info': 'SHOW_NODES' } : {})
|
||
3 years ago
|
},
|
||
|
seedParserDir: {
|
||
3 years ago
|
...(process.env.NODE_ENV === 'dev' ? { 'Show _Nodes Info': 'SHOW_NODES' } : {})
|
||
3 years ago
|
},
|
||
|
apisDir: {
|
||
3 years ago
|
...(process.env.NODE_ENV === 'dev' ? { 'Show _Nodes Info': 'SHOW_NODES' } : {})
|
||
3 years ago
|
},
|
||
|
apiClientDir: {
|
||
3 years ago
|
...(process.env.NODE_ENV === 'dev' ? { 'Show _Nodes Info': 'SHOW_NODES' } : {})
|
||
3 years ago
|
},
|
||
|
sqlClientDir: {
|
||
3 years ago
|
...(process.env.NODE_ENV === 'dev' ? { 'Show _Nodes Info': 'SHOW_NODES' } : {})
|
||
3 years ago
|
},
|
||
|
procedureDir: {
|
||
3 years ago
|
'Procedure Create': 'ENV_DB_PROCEDURES_CREATE',
|
||
|
'Procedures Refresh': 'ENV_DB_PROCEDURES_REFRESH',
|
||
|
...(process.env.NODE_ENV === 'dev' ? { 'Show _Nodes Info': 'SHOW_NODES' } : {})
|
||
3 years ago
|
},
|
||
|
sequenceDir: {
|
||
3 years ago
|
'Sequence Create': 'ENV_DB_SEQUENCES_CREATE',
|
||
|
'Sequences Refresh': 'ENV_DB_SEQUENCES_REFRESH',
|
||
|
...(process.env.NODE_ENV === 'dev' ? { 'Show _Nodes Info': 'SHOW_NODES' } : {})
|
||
3 years ago
|
},
|
||
|
table: {
|
||
3 years ago
|
'Table Rename': 'ENV_DB_TABLES_RENAME',
|
||
2 years ago
|
"Table Delete": "ENV_DB_TABLES_DELETE",
|
||
3 years ago
|
// d1: null,
|
||
3 years ago
|
// "Send to SQL Editor": {
|
||
3 years ago
|
// 'Copy To Clipboard': {
|
||
|
// 'Create Statement': 'ENV_DB_TABLES_CREATE_STATEMENT',
|
||
|
// 'Insert Statement': 'ENV_DB_TABLES_INSERT_STATEMENT',
|
||
|
// 'Update Statement': 'ENV_DB_TABLES_UPDATE_STATEMENT',
|
||
|
// 'Select Statement': 'ENV_DB_TABLES_DELETE_STATEMENT',
|
||
|
// 'Delete Statement': 'ENV_DB_TABLES_SELECT_STATEMENT'
|
||
|
// },
|
||
|
// d2: null,
|
||
3 years ago
|
...(process.env.NODE_ENV === 'dev' ? { 'Show _Nodes Info': 'SHOW_NODES' } : {})
|
||
3 years ago
|
},
|
||
|
view: {
|
||
3 years ago
|
// 'View Rename': 'ENV_DB_VIEWS_RENAME',
|
||
|
// 'View Delete': 'ENV_DB_VIEWS_DELETE',
|
||
3 years ago
|
...(process.env.NODE_ENV === 'dev' ? { 'Show _Nodes Info': 'SHOW_NODES' } : {})
|
||
3 years ago
|
},
|
||
|
function: {
|
||
3 years ago
|
'Function Rename': 'ENV_DB_FUNCTIONS_RENAME',
|
||
|
'Function Delete': 'ENV_DB_FUNCTIONS_DELETE',
|
||
|
...(process.env.NODE_ENV === 'dev' ? { 'Show _Nodes Info': 'SHOW_NODES' } : {})
|
||
3 years ago
|
},
|
||
|
procedure: {
|
||
3 years ago
|
'Procedure Rename': 'ENV_DB_PROCEDURES_RENAME',
|
||
|
'Procedure Delete': 'ENV_DB_PROCEDURES_DELETE',
|
||
|
...(process.env.NODE_ENV === 'dev' ? { 'Show _Nodes Info': 'SHOW_NODES' } : {})
|
||
3 years ago
|
},
|
||
|
sequence: {
|
||
3 years ago
|
'Sequence Rename': 'ENV_DB_SEQUENCES_RENAME',
|
||
|
'Sequence Delete': 'ENV_DB_SEQUENCESS_DELETE',
|
||
|
...(process.env.NODE_ENV === 'dev' ? { 'Show _Nodes Info': 'SHOW_NODES' } : {})
|
||
3 years ago
|
}
|
||
3 years ago
|
}
|
||
3 years ago
|
/**
|
||
|
* @copyright Copyright (c) 2021, Xgene Cloud Ltd
|
||
|
*
|
||
|
* @author Naveen MR <oof1lab@gmail.com>
|
||
|
* @author Pranav C Balan <pranavxc@gmail.com>
|
||
|
*
|
||
|
* @license GNU AGPL version 3 or any later version
|
||
|
*
|
||
|
* This program is free software: you can redistribute it and/or modify
|
||
|
* it under the terms of the GNU Affero General Public License as
|
||
|
* published by the Free Software Foundation, either version 3 of the
|
||
|
* License, or (at your option) any later version.
|
||
|
*
|
||
|
* This program is distributed in the hope that it will be useful,
|
||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
|
* GNU Affero General Public License for more details.
|
||
|
*
|
||
|
* You should have received a copy of the GNU Affero General Public License
|
||
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||
|
*
|
||
|
*/
|