'use strict';
'use warning';

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports["default"] = exports.Config = void 0;

var _Options = _interopRequireDefault(require("./../Options"));

var _path = _interopRequireDefault(require("path"));

var Config = {
  /**
   * @param {Object} Global
   */
  Global: {
    keySecret: "Cyberhack2010Yovangga1997dkaframework"
  },
  FirebaseConfig: {
    apiKey: "AIzaSyCFV8E2Hi2b0ru6L_dwaUdZljeu1MXRunc",
    authDomain: "dka-apis.firebaseapp.com",
    databaseURL: "https://dka-apis-default-rtdb.asia-southeast1.firebasedatabase.app",
    projectId: "dka-apis",
    storageBucket: "dka-apis.appspot.com",
    messagingSenderId: "797501409741",
    appId: "1:797501409741:web:85c5ecd5a69e4a81bc5c84",
    measurementId: "G-1MT7ZM6VKT"
  },
  Database: {
    MariaDB: {
      engine: _Options["default"].MARIADB_POOL,
      host: "localhost",
      user: "root",
      password: "",
      database: "test",
      compress: false,
      port: 3306,
      connectionLimit: 2,
      timezone: '+08:00',
      autoBackup: false,
      lang: "id",
      debug: false,
      encryption: {
        enabled: false,
        engine: _Options["default"].ENCRYPTION_ENGINE_CRYPTO,
        alg: _Options["default"].ALGORITHM_AES_256_GCM,
        secretKey: "Cyberhack2010",
        options: {
          table: false,
          column: false,
          data: false
        }
      }
    }
  },
  Server: {
    /** ServerName For Naming App Server **/
    serverName: "Unknown",

    /** Server Domain For Naming Service Domain Access **/
    serverDomain: false,

    /** Server State Overide Enable and Disabled **/
    serverEnabled: true,

    /** Memilih Jenis Server Engine Yang Ingin Digunakan **/
    serverEngine: _Options["default"].FASTIFY_CORE_ENGINE,

    /** Untuk melakukan Set View Template View Di Dalam Framework **/
    serverView: _Options["default"].VIEW_POV_EJS,

    /** State Server {Server.SERVER_STATE_DEVELOPMENT | Server.SERVER_STATE_PRODUCTION } **/
    serverState: _Options["default"].SERVER_STATE_DEVELOPMENT,

    /** Server Domain Location **/
    serverHost: "localhost",

    /** Server Port **/
    serverPort: 80,

    /** Activated Https 2 Version **/
    http2: false,

    /** Activated Security System **/
    secure: false,

    /** Memulai System App Controller **/
    app: false,

    /** Setting System Settings **/
    settings: {
      firewall: [],

      /** Ngrok Tunneling **/
      ngrok: {
        enabled: false,
        authToken: null
      },
      localtunnel: false,
      secretKey: "Cyberhack2010Yovangga@nandhika2021"
    },

    /** Fungsi Untuk Melakukan Asset Delarasion Untuk Menentukan Folder Asets Di Dalam System Data **/
    options: {
      /** Deklarasi Menetapkan Lokasi Assets CSS dan JS Dir Dan Gambar Untuk Aplikasi **/
      layoutDir: _path["default"].join(require.main.filename, "./../Layout"),
      assetsDir: _path["default"].join(require.main.filename, "./../Assets"),
      appDir: _path["default"].join(require.main.filename, "./../Controller"),

      /** Fungsi Untuk Melakukan Folder Upload Di dalam aplikasi **/
      autoloadDir: _path["default"].join(require.main.filename, "./../App"),
      uploadDir: _path["default"].join(require.main.filename, "./../Upload"),
      backupDir: _path["default"].join(require.main.filename, "./../Backup")
      /** **/

    }
  },
  Hardware: {
    Printer: {
      Escpos: {
        type: _Options["default"].ESCPOS_TYPE_USB,
        settings: {
          usb: {
            vendorId: undefined,
            productId: undefined
          },
          network: {
            ipAddress: "localhost",
            port: 9100
          },
          serial: {
            port: "COM2",
            settings: undefined
          }
        },
        options: {
          encoding: "GB18030"
        }
      }
    }
  },
  SecretConfig: {
    SignSecret: "Cyberhack2010",
    EncryptSecret: "dhikaanandhika"
  }
};
exports.Config = Config;
var _default = Config;
exports["default"] = _default;
//# sourceMappingURL=index.js.map