import { ModelTypes } from 'nocodb-sdk'

export default {
  projectsDir: {
    class: '',
    icon: 'mdi-library-books',
    color: '',
    openColor: '',
    openIcon: 'mdi-library-books',
    blink: true
  },
  project: {
    class: '',
    icon: 'mdi-lightbulb',
    color: '',
    openColor: 'warning',
    openIcon: 'mdi-lightbulb-on'
  },
  db: {
    class: '',
    icon: 'mdi-database',
    color: '',
    openColor: '',
    openIcon: 'mdi-database'
  },
  mysql: {
    class: '',
    icon: 'mdi-alpha-m',
    color: '',
    openColor: '',
    openIcon: 'mdi-alpha-m'
  },
  envDir: {
    class: '',
    icon: 'mdi-folder',
    color: '',
    openColor: 'success',
    openIcon: 'mdi-folder-open'
  },
  env: {
    class: '',
    icon: 'mdi-test-tube',
    color: '',
    openColor: '',
    openIcon: 'mdi-test-tube',
    blink: true
  },
  tableDir: {
    class: '',
    icon: 'mdi-table',
    color: '',
    openColor: '',
    openIcon: 'mdi-table'
  },
  seedParserDir: {
    class: '',
    icon: 'mdi-seed-outline',
    color: 'info',
    openColor: '',
    openIcon: 'mdi-seed'
  },
  migrationsDir: {
    class: '',
    icon: 'mdi-notebook-outline',
    color: '',
    openColor: '',
    openIcon: 'mdi-notebook-outline'
  },
  apisDir: {
    class: '',
    icon: 'mdi-server',
    color: 'warning',
    openColor: 'green',
    openIcon: 'mdi-server'
  },
  apiClientDir: {
    class: '',
    icon: 'mdi-code-json',
    color: 'warning',
    openColor: '',
    openIcon: 'mdi-code-json'
  },
  apiClientSwaggerDir: {
    class: '',
    icon: 'mdi-code-json',
    color: 'warning',
    openColor: '',
    openIcon: 'mdi-code-json'
  },
  sqlClientDir: {
    class: '',
    icon: 'mdi-script-text',
    color: 'accent',
    openColor: '',
    openIcon: 'mdi-script-text-outline'
  },
  table: {
    class: '',
    icon: 'mdi-table-large',
    color: 'primary',
    openColor: '',
    openIcon: 'mdi-table-large'
  },
  viewDir: {
    class: '',
    icon: 'mdi-table-border',
    color: '',
    openColor: '',
    openIcon: 'mdi-table-border'
  },
  view: {
    class: '',
    icon: 'mdi-eye-circle-outline',
    color: 'secondary',
    openColor: '',
    openIcon: 'mdi-eye-circle-outline'
  },
  [ModelTypes.VIEW]: {
    class: '',
    icon: 'mdi-eye-circle-outline',
    color: 'secondary',
    openColor: '',
    openIcon: 'mdi-eye-circle-outline'
  },
  [ModelTypes.TABLE]: {
    class: '',
    icon: 'mdi-table-large',
    color: 'primary',
    openColor: '',
    openIcon: 'mdi-table-large'
  },
  functionDir: {
    class: '',
    icon: 'mdi-function-variant',
    color: '',
    openColor: '',
    openIcon: 'mdi-function-variant'
  },
  function: {
    class: '',
    icon: 'mdi-function-variant',
    color: 'info',
    openColor: '',
    openIcon: 'mdi-function-variant'
  },
  procedureDir: {
    class: '',
    icon: 'mdi-code-json',
    color: '',
    openColor: '',
    openIcon: 'mdi-code-json'
  },
  procedure: {
    class: '',
    icon: 'mdi-checkbook',
    color: 'accent',
    openColor: '',
    openIcon: 'mdi-checkbook'
  },
  sequenceDir: {
    class: '',
    icon: 'mdi-alpha-s-circle-outline',
    color: '',
    openColor: '',
    openIcon: 'mdi-alpha-s-circle-outline'
  },
  sequence: {
    class: '',
    icon: 'mdi-checkbook',
    color: 'warning',
    openColor: '',
    openIcon: 'mdi-checkbook'
  },
  terminal: {
    class: '',
    icon: 'mdi-console',
    color: 'warning',
    openColor: '',
    openIcon: 'mdi-console'
  },
  graphqlClientDir: {
    class: '',
    icon: 'mdi-graphql',
    color: '',
    openColor: '',
    openIcon: 'mdi-graphql'
  },
  grpcClient: {
    class: '',
    icon: 'mdi-alpha-g-circle-outline',
    color: '',
    openColor: '',
    openIcon: 'mdi-alpha-g-circle-outline'
  },
  roles: {
    class: '',
    icon: 'mdi-account-group',
    color: '',
    openColor: '',
    openIcon: 'mdi-account-group'
  },
  acl: {
    class: '',
    icon: 'mdi-shield-edit-outline',
    color: '',
    openColor: '',
    openIcon: 'mdi-shield-edit-outline'
  },
  meta: {
    class: '',
    icon: 'mdi-file-table-box-multiple-outline',
    color: '',
    openColor: '',
    openIcon: 'mdi-file-table-box-multiple-outline'
  },
  projectSettings: {
    class: '',
    icon: 'mdi-cog',
    color: '',
    openColor: '',
    openIcon: 'mdi-cog'
  },
  cronJobs: {
    class: '',
    icon: 'mdi-timetable',
    color: '',
    openColor: '',
    openIcon: 'mdi-timetable'
  },
  projectInfo: {
    class: '',
    icon: 'mdi-information-outline',
    color: '',
    openColor: '',
    openIcon: 'mdi-information-outline'
  }

}
/**
 * @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/>.
 *
 */