<commit_before>import React from 'react'

import { faChartArea, faExchangeAlt, faWindowRestore, faMicrophone } from '@fortawesome/free-solid-svg-icons'
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'

export type ConfigType = Partial<typeof config[0]>

export const config = [
  {
    name: 'Bond Order Ticket',
    url: 'http://localhost:3000/order-ticket',
    icon: <FontAwesomeIcon icon={faMicrophone} />,
    provider: {
      platform: 'openfin',
      as: 'application',
      options: {
        autoShow: true,
        defaultWidth: 672,
        defaultHeight: 384,
        minWidth: 672,
        minHeight: 384,
        resizable: false,
        maximizable: false,
        frame: false,
        nonPersistent: true,
        contextMenu: true,
        alwaysOnTop: false,
        accelerator: {
          devtools: true,
          reload: true,
          reloadIgnoringCache: true,
          zoom: true,
        },
        cornerRounding: {
          height: 10,
          width: 8,
        },
      },
    },
  },

  {
    name: 'Reactive Trader',
    url: 'http://localhost:3000/',
    icon: <FontAwesomeIcon icon={faExchangeAlt} />,
    provider: {
      platform: 'openfin',
      as: 'application',
      options: {
        autoShow: true,
        defaultWidth: 1280,
        defaultHeight: 900,
        minWidth: 800,
        minHeight: 600,
        resizable: true,
        maximizable: true,
        frame: false,
        nonPersistent: true,
        accelerator: {
          devtools: true,
          reload: true,
          reloadIgnoringCache: true,
          zoom: true,
        },
      },
    },
  },

  {<commit_msg>Update config for launcher<commit_after>import React from 'react'

import { faChartArea, faExchangeAlt, faWindowRestore, faMicrophone } from '@fortawesome/free-solid-svg-icons'
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
import { getEnvVars } from '../../config/config'

const endpointConfig = getEnvVars(process.env.REACT_APP_ENV!)

export type ConfigType = Partial<typeof config[0]>

export const config = [
  {
    name: 'Bond Order Ticket',
    url: `${
      endpointConfig.overwriteServerEndpoint ? endpointConfig.serverEndpointUrl : location.hostname
    }/order-ticket`,
    icon: <FontAwesomeIcon icon={faMicrophone} />,
    provider: {
      platform: 'openfin',
      as: 'application',
      options: {
        autoShow: true,
        defaultWidth: 672,
        defaultHeight: 384,
        minWidth: 672,
        minHeight: 384,
        resizable: false,
        maximizable: false,
        frame: false,
        nonPersistent: true,
        contextMenu: true,
        alwaysOnTop: false,
        accelerator: {
          devtools: true,
          reload: true,
          reloadIgnoringCache: true,
          zoom: true,
        },
        cornerRounding: {
          height: 10,
          width: 8,
        },
      },
    },
  },

  {
    name: 'Reactive Trader',
    url: `${endpointConfig.overwriteServerEndpoint ? endpointConfig.serverEndpointUrl : location.hostname}`,
    icon: <FontAwesomeIcon icon={faExchangeAlt} />,
    provider: {
      platform: 'openfin',
      as: 'application',
      options: {
        autoShow: true,
        defaultWidth: 1280,
        defaultHeight: 900,
        minWidth: 800,
        minHeight: 600,
        resizable: true,
        maximizable: true,
        frame: false,
        nonPersistent: true,
        accelerator: {
          devtools: true,
          reload: true,
          reloadIgnoringCache: true,
          zoom: true,
        },
      },
    },
  },

  {
{'fraction_non_alphanumeric': 0.10944444444444444, 'fraction_numerical': 0.018333333333333333, 'mean_word_length': 2.0491109229466553, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '817961', 'n_tokens_mistral': 1134, 'n_tokens_neox': 1061, 'n_words': 245}