<commit_before>import * as React from 'react'
import { DateTime, Duration, DurationUnit } from 'luxon';
import { ifError, Dic } from '@framework/Globals';
import { ajaxPost, ajaxGet, ValidationError } from '@framework/Services';
import { EntitySettings } from '@framework/Navigator'
import * as DynamicClientOptions from '../Dynamic/DynamicClientOptions';
import {
  EntityPack, Lite, toLite, newMListElement, Entity, ExecuteSymbol, isEntityPack, isEntity, liteKey
} from '@framework/Signum.Entities'
import * as OmniboxClient from '../Omnibox/OmniboxClient'
import { TypeEntity, IUserEntity } from '@framework/Signum.Entities.Basics'
import { Type, PropertyRoute, OperationInfo } from '@framework/Reflection'
import { TypeContext } from '@framework/TypeContext'
import * as AppContext from '@framework/AppContext'
import * as Navigator from '@framework/Navigator'
import * as Finder from '@framework/Finder'
import { EntityOperationSettings, EntityOperationContext } from '@framework/Operations'
import * as Operations from '@framework/Operations'
import { confirmInNecessary, OperationButton } from '@framework/Operations/EntityOperations'
import * as DynamicViewClient from '../Dynamic/DynamicViewClient'
import { CodeContext } from '../Dynamic/View/NodeUtils'
import { TimeSpanEmbedded } from '../Basics/Signum.Entities.Basics'
import TypeHelpButtonBarComponent from '../TypeHelp/TypeHelpButtonBarComponent'
import {
  WorkflowConditionEval, WorkflowTimerConditionEval, WorkflowActionEval, WorkflowMessage, WorkflowActivityMonitorMessage,
  ConnectionType, WorkflowTimerConditionEntity, WorkflowIssueType, WorkflowLaneActorsEval, CaseNotificationEntity, CaseNotificationOperation, CaseActivityMessage, CaseMessage, WorkflowScriptRetryStrategyEntity
} from './Signum.Entities.Workflow'

import ActivityWithRemarks from './Case/ActivityWithRemarks'
import * as QuickLinks from '@framework/QuickLinks'
import * as Constructor from '@framework/Constructor'
import SelectorModal from '@framework/SelectorModal'
import ValueLineModal from '@framework/ValueLineModal'
import {
  WorkflowEntity, WorkflowLaneEntity, WorkflowActivityEntity, WorkflowConnectionEntity, WorkflowConditionEntity, WorkflowActionEntity, CaseActivityQuery, CaseActivityEntity,
  CaseActivityOperation, CaseEntity, CaseNotificationState, WorkflowOperation, WorkflowPoolEntity, WorkflowScriptEntity, WorkflowScriptEval,
  WorkflowReplacementModel, WorkflowModel, BpmnEntityPairEmbedded, WorkflowActivityModel, ICaseMainEntity, WorkflowGatewayEntity, WorkflowEventEntity,
  WorkflowLaneModel, WorkflowConnectionModel, IWorkflowNodeEntity, WorkflowActivityMessage, WorkflowTimerEmbedded, CaseTagsModel, CaseTagTypeEntity,
  WorkflowPermission, WorkflowEventModel, WorkflowEventTaskEntity, DoneType, CaseOperation, WorkflowMainEntityStrategy, WorkflowActivityType, CaseActivityMixin,
} from './Signum.Entities.Workflow'


import InboxFilter from './Case/InboxFilter'
import Workflow, { WorkflowHandle } from './Workflow/Workflow'
import * as AuthClient from '../Authorization/AuthClient'
import { ImportRoute } from "@framework/AsyncImport";
import { FilterRequest, ColumnRequest, FindOptions } from '@framework/FindOptions';
import { BsColor } from '@framework/Components/Basic';
import { GraphExplorer } from '@framework/Reflection';
import WorkflowHelpComponent from './Workflow/WorkflowHelpComponent';
import { EntityLine } from '@framework/Lines';
import { SMSMessageEntity } from '../SMS/Signum.Entities.SMS';
import { EmailMessageEntity } from '../Mailing/Signum.Entities.Mailing';
import { FunctionalAdapter } from '@framework/Modals';
import { QueryString } from '@framework/QueryString';
import * as UserAssetsClient from '../UserAssets/UserAssetClient'
import { OperationMenuItem } from '@framework/Operations/ContextualOperations';
import { UserEntity } from '../Authorization/Signum.Entities.Authorization';
import { SearchControl } from '../../Signum.React/Scripts/Search';
import SearchModal from '../../Signum.React/Scripts/SearchControl/SearchModal';
import MessageModal from '../../Signum.React/Scripts/Modals/MessageModal';
import { DynamicTypeConditionSymbolEntity } from '../Dynamic/Signum.Entities.Dynamic';

export function start(options: { routes: JSX.Element[], overrideCaseActivityMixin?: boolean }) {

  UserAssetsClient.start({ routes: options.routes });
  UserAssetsClient.registerExportAssertLink(WorkflowEntity);

  options.routes.push(<commit_msg>remove extra import<commit_after>import * as React from 'react'
import { DateTime, Duration, DurationUnit } from 'luxon';
import { ifError, Dic } from '@framework/Globals';
import { ajaxPost, ajaxGet, ValidationError } from '@framework/Services';
import { EntitySettings } from '@framework/Navigator'
import * as DynamicClientOptions from '../Dynamic/DynamicClientOptions';
import {
  EntityPack, Lite, toLite, newMListElement, Entity, ExecuteSymbol, isEntityPack, isEntity, liteKey
} from '@framework/Signum.Entities'
import * as OmniboxClient from '../Omnibox/OmniboxClient'
import { TypeEntity, IUserEntity } from '@framework/Signum.Entities.Basics'
import { Type, PropertyRoute, OperationInfo } from '@framework/Reflection'
import { TypeContext } from '@framework/TypeContext'
import * as AppContext from '@framework/AppContext'
import * as Navigator from '@framework/Navigator'
import * as Finder from '@framework/Finder'
import { EntityOperationSettings, EntityOperationContext } from '@framework/Operations'
import * as Operations from '@framework/Operations'
import { confirmInNecessary, OperationButton } from '@framework/Operations/EntityOperations'
import * as DynamicViewClient from '../Dynamic/DynamicViewClient'
import { CodeContext } from '../Dynamic/View/NodeUtils'
import { TimeSpanEmbedded } from '../Basics/Signum.Entities.Basics'
import TypeHelpButtonBarComponent from '../TypeHelp/TypeHelpButtonBarComponent'
import {
  WorkflowConditionEval, WorkflowTimerConditionEval, WorkflowActionEval, WorkflowMessage, WorkflowActivityMonitorMessage,
  ConnectionType, WorkflowTimerConditionEntity, WorkflowIssueType, WorkflowLaneActorsEval, CaseNotificationEntity, CaseNotificationOperation, CaseActivityMessage, CaseMessage, WorkflowScriptRetryStrategyEntity
} from './Signum.Entities.Workflow'

import ActivityWithRemarks from './Case/ActivityWithRemarks'
import * as QuickLinks from '@framework/QuickLinks'
import * as Constructor from '@framework/Constructor'
import SelectorModal from '@framework/SelectorModal'
import ValueLineModal from '@framework/ValueLineModal'
import {
  WorkflowEntity, WorkflowLaneEntity, WorkflowActivityEntity, WorkflowConnectionEntity, WorkflowConditionEntity, WorkflowActionEntity, CaseActivityQuery, CaseActivityEntity,
  CaseActivityOperation, CaseEntity, CaseNotificationState, WorkflowOperation, WorkflowPoolEntity, WorkflowScriptEntity, WorkflowScriptEval,
  WorkflowReplacementModel, WorkflowModel, BpmnEntityPairEmbedded, WorkflowActivityModel, ICaseMainEntity, WorkflowGatewayEntity, WorkflowEventEntity,
  WorkflowLaneModel, WorkflowConnectionModel, IWorkflowNodeEntity, WorkflowActivityMessage, WorkflowTimerEmbedded, CaseTagsModel, CaseTagTypeEntity,
  WorkflowPermission, WorkflowEventModel, WorkflowEventTaskEntity, DoneType, CaseOperation, WorkflowMainEntityStrategy, WorkflowActivityType, CaseActivityMixin,
} from './Signum.Entities.Workflow'


import InboxFilter from './Case/InboxFilter'
import Workflow, { WorkflowHandle } from './Workflow/Workflow'
import * as AuthClient from '../Authorization/AuthClient'
import { ImportRoute } from "@framework/AsyncImport";
import { FilterRequest, ColumnRequest, FindOptions } from '@framework/FindOptions';
import { BsColor } from '@framework/Components/Basic';
import { GraphExplorer } from '@framework/Reflection';
import WorkflowHelpComponent from './Workflow/WorkflowHelpComponent';
import { EntityLine } from '@framework/Lines';
import { SMSMessageEntity } from '../SMS/Signum.Entities.SMS';
import { EmailMessageEntity } from '../Mailing/Signum.Entities.Mailing';
import { FunctionalAdapter } from '@framework/Modals';
import { QueryString } from '@framework/QueryString';
import * as UserAssetsClient from '../UserAssets/UserAssetClient'
import { OperationMenuItem } from '@framework/Operations/ContextualOperations';
import { UserEntity } from '../Authorization/Signum.Entities.Authorization';
import { SearchControl } from '../../Signum.React/Scripts/Search';
import SearchModal from '../../Signum.React/Scripts/SearchControl/SearchModal';
import MessageModal from '../../Signum.React/Scripts/Modals/MessageModal';

export function start(options: { routes: JSX.Element[], overrideCaseActivityMixin?: boolean }) {

  UserAssetsClient.start({ routes: options.routes });
  UserAssetsClient.registerExportAssertLink(WorkflowEntity);

  options.routes.push(
{'fraction_non_alphanumeric': 0.10091951413327278, 'fraction_numerical': 0.0, 'mean_word_length': 7.382492863939105, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '524299', 'n_tokens_mistral': 2266, 'n_tokens_neox': 2284, 'n_words': 569}