Skip to content

Commit

Permalink
refactor: utils, i18n folders
Browse files Browse the repository at this point in the history
  • Loading branch information
fribbels committed Nov 9, 2024
1 parent b689e35 commit b8940cf
Show file tree
Hide file tree
Showing 276 changed files with 382 additions and 382 deletions.
2 changes: 1 addition & 1 deletion misc/i18n/generateTranslations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { writeFile } from "fs"
import { readFile } from "fs/promises"
//@ts-ignore
import yaml from "js-yaml"
import { TsUtils } from '../../src/lib/TsUtils'
import { TsUtils } from 'src/lib/utils/TsUtils'
import { betaInformation } from "./betaInformation"
import pathConfig from './AvatarBaseType.json'
import AvatarConfig from './AvatarConfig.json'
Expand Down
4 changes: 2 additions & 2 deletions src/index.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { Typography } from 'antd'
import WrappedApp from 'App'
import 'lib/i18n'
import 'lib/i18n/i18n'
import { CharacterStats } from 'lib/characters/characterStats'
import { Constants } from 'lib/constants'
import { Constants } from 'lib/constants/constants'
import { verifyWebgpuSupport } from 'lib/gpu/webgpuDevice'
import 'overlayscrollbars/overlayscrollbars.css'
import { CharacterConverter } from 'lib/importer/characterConverter'
Expand Down
10 changes: 5 additions & 5 deletions src/lib/characterPreview/CharacterPreview.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ import {
ElementToDamage,
SETTINGS_TEAM,
SIMULATION_SCORE,
} from 'lib/constants'
import { SavedSessionKeys } from 'lib/constantsSession'
} from 'lib/constants/constants'
import { SavedSessionKeys } from 'lib/constants/constantsSession'
import {
defaultGap,
innerW,
Expand All @@ -33,8 +33,8 @@ import {
middleColumnWidth,
parentH,
parentW,
} from 'lib/constantsUi'
import { OptimizerTabController } from 'lib/controllers/optimizerTabController'
} from 'lib/constants/constantsUi'
import { OptimizerTabController } from 'lib/tabs/tabOptimizer/optimizerTabController'
import { Message } from 'lib/interactions/message'
import { calculateBuild } from 'lib/optimizer/calculateBuild'
import CharacterModal from 'lib/overlays/modals/CharacterModal'
Expand All @@ -50,7 +50,7 @@ import { SaveState } from 'lib/state/saveState'
import { RelicPreview } from 'lib/tabs/tabRelics/RelicPreview'
import { HeaderText } from 'lib/ui/HeaderText'
import { LoadingBlurredImage } from 'lib/ui/LoadingBlurredImage'
import { Utils } from 'lib/utils'
import { Utils } from 'lib/utils/utils'
import PropTypes from 'prop-types'
import React, { useEffect, useRef, useState } from 'react'
import { useTranslation } from 'react-i18next'
Expand Down
10 changes: 5 additions & 5 deletions src/lib/characterPreview/CharacterScoringSummary.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@ import { CharacterStatSummary } from 'lib/characterPreview/CharacterStatSummary'
import { damageStats } from 'lib/characterPreview/StatRow'
import { StatTextSm } from 'lib/characterPreview/StatText'
import { diminishingReturnsFormula, SimulationScore, SimulationStatUpgrade } from 'lib/characters/characterScorer'
import { ElementToDamage, MainStats, Parts, Stats, StatsValues, SubStats } from 'lib/constants'
import { defaultGap, iconSize } from 'lib/constantsUi'
import { Simulation } from 'lib/controllers/statSimulationController'
import { ElementToDamage, MainStats, Parts, Stats, StatsValues, SubStats } from 'lib/constants/constants'
import { defaultGap, iconSize } from 'lib/constants/constantsUi'
import { Simulation } from 'lib/simulations/statSimulationController'
import { SortOption } from 'lib/optimizer/sortOptions'
import { StatCalculator } from 'lib/relics/statCalculator'
import { Assets } from 'lib/rendering/assets'
import DB from 'lib/state/db'
import { TsUtils } from 'lib/TsUtils'
import { TsUtils } from 'lib/utils/TsUtils'
import { ColorizedLinkWithIcon } from 'lib/ui/ColorizedLink'
import { VerticalDivider } from 'lib/ui/Dividers'
import { HeaderText } from 'lib/ui/HeaderText'
import { Utils } from 'lib/utils'
import { Utils } from 'lib/utils/utils'
import React, { ReactElement } from 'react'
import { Trans, useTranslation } from 'react-i18next'

Expand Down
2 changes: 1 addition & 1 deletion src/lib/characterPreview/CharacterStatSummary.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Flex } from 'antd'
import StatRow from 'lib/characterPreview/StatRow'
import { Constants, Stats } from 'lib/constants'
import { Constants, Stats } from 'lib/constants/constants'

const epsilon = 0.001

Expand Down
6 changes: 3 additions & 3 deletions src/lib/characterPreview/StatRow.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { Divider, Flex } from 'antd'

import StatText from 'lib/characterPreview/StatText'
import { Constants, StatsValues } from 'lib/constants'
import { iconSize } from 'lib/constantsUi'
import { Constants, StatsValues } from 'lib/constants/constants'
import { iconSize } from 'lib/constants/constantsUi'

import { Assets } from 'lib/rendering/assets'
import { Utils } from 'lib/utils'
import { Utils } from 'lib/utils/utils'
import { useTranslation } from 'react-i18next'

const checkSpeedInBreakpoint = (speedValue: number): boolean => {
Expand Down
8 changes: 4 additions & 4 deletions src/lib/characters/characterScorer.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { CharacterConditionals } from 'lib/conditionals/characterConditionals'
import { ComputedStatsObject } from 'lib/conditionals/conditionalConstants'
import { LightConeConditionals } from 'lib/conditionals/lightConeConditionals'
import { CUSTOM_TEAM, Parts, Sets, Stats, SubStats } from 'lib/constants'
import { CUSTOM_TEAM, Parts, Sets, Stats, SubStats } from 'lib/constants/constants'
import {
calculateOrnamentSets,
calculateRelicSets,
Expand All @@ -10,16 +10,16 @@ import {
Simulation,
SimulationRequest,
SimulationStats,
} from 'lib/controllers/statSimulationController'
} from 'lib/simulations/statSimulationController'
import { generateContext } from 'lib/optimizer/context/calculateContext'
import { getDefaultForm } from 'lib/optimizer/defaultForm'
import { emptyRelic } from 'lib/optimizer/optimizerUtils'
import { SortOptionProperties } from 'lib/optimizer/sortOptions'
import { StatCalculator } from 'lib/relics/statCalculator'
import DB from 'lib/state/db'
import { StatSimTypes } from 'lib/tabs/tabOptimizer/optimizerForm/StatSimulationDisplay'
import { TsUtils } from 'lib/TsUtils'
import { Utils } from 'lib/utils'
import { TsUtils } from 'lib/utils/TsUtils'
import { Utils } from 'lib/utils/utils'
import { Character } from 'types/Character'
import { Conditional } from 'types/Conditionals'
import { Form } from 'types/Form'
Expand Down
2 changes: 1 addition & 1 deletion src/lib/characters/characterStats.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Stats } from 'lib/constants'
import { Stats } from 'lib/constants/constants'

export const CharacterStats = {
getZeroes: function () {
Expand Down
2 changes: 1 addition & 1 deletion src/lib/conditionals/character/Acheron.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { BASIC_TYPE, SKILL_TYPE, ULT_TYPE } from 'lib/conditionals/conditionalCo
import { AbilityEidolon, Conditionals, ContentDefinition, gpuStandardAtkFinalizer, standardAtkFinalizer } from 'lib/conditionals/conditionalUtils'
import { buffAbilityResPen, buffAbilityVulnerability } from 'lib/optimizer/calculateBuffs'
import { ComputedStatsArray, Source } from 'lib/optimizer/computedStatsArray'
import { TsUtils } from 'lib/TsUtils'
import { TsUtils } from 'lib/utils/TsUtils'
import { Eidolon } from 'types/Character'
import { CharacterConditional } from 'types/CharacterConditional'
import { NumberToNumberMap } from 'types/Common'
Expand Down
2 changes: 1 addition & 1 deletion src/lib/conditionals/character/Argenti.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { ULT_TYPE } from 'lib/conditionals/conditionalConstants'
import { AbilityEidolon, Conditionals, ContentDefinition, gpuStandardAtkFinalizer, standardAtkFinalizer } from 'lib/conditionals/conditionalUtils'
import { buffAbilityDefPen } from 'lib/optimizer/calculateBuffs'
import { ComputedStatsArray, Source } from 'lib/optimizer/computedStatsArray'
import { TsUtils } from 'lib/TsUtils'
import { TsUtils } from 'lib/utils/TsUtils'

import { Eidolon } from 'types/Character'
import { CharacterConditional } from 'types/CharacterConditional'
Expand Down
2 changes: 1 addition & 1 deletion src/lib/conditionals/character/Arlan.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { SKILL_TYPE, ULT_TYPE } from 'lib/conditionals/conditionalConstants'
import { AbilityEidolon, Conditionals, ContentDefinition, gpuStandardAtkFinalizer, standardAtkFinalizer } from 'lib/conditionals/conditionalUtils'
import { buffAbilityDmg } from 'lib/optimizer/calculateBuffs'
import { ComputedStatsArray, Source } from 'lib/optimizer/computedStatsArray'
import { TsUtils } from 'lib/TsUtils'
import { TsUtils } from 'lib/utils/TsUtils'

import { Eidolon } from 'types/Character'
import { CharacterConditional } from 'types/CharacterConditional'
Expand Down
2 changes: 1 addition & 1 deletion src/lib/conditionals/character/Asta.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { AbilityEidolon, Conditionals, ContentDefinition, gpuStandardAtkFinalizer, standardAtkFinalizer } from 'lib/conditionals/conditionalUtils'
import { ComputedStatsArray, Source } from 'lib/optimizer/computedStatsArray'
import { TsUtils } from 'lib/TsUtils'
import { TsUtils } from 'lib/utils/TsUtils'

import { Eidolon } from 'types/Character'
import { CharacterConditional } from 'types/CharacterConditional'
Expand Down
4 changes: 2 additions & 2 deletions src/lib/conditionals/character/Aventurine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ import {
standardDefFinalizer,
standardDefShieldFinalizer,
} from 'lib/conditionals/conditionalUtils'
import { ConditionalActivation, ConditionalType, Stats } from 'lib/constants'
import { ConditionalActivation, ConditionalType, Stats } from 'lib/constants/constants'
import { conditionalWgslWrapper } from 'lib/gpu/conditionals/dynamicConditionals'
import { wgslFalse } from 'lib/gpu/injection/wgslUtils'
import { ComputedStatsArray, Key, Source } from 'lib/optimizer/computedStatsArray'
import { TsUtils } from 'lib/TsUtils'
import { TsUtils } from 'lib/utils/TsUtils'
import { Eidolon } from 'types/Character'
import { CharacterConditional } from 'types/CharacterConditional'
import { OptimizerAction, OptimizerContext } from 'types/Optimizer'
Expand Down
2 changes: 1 addition & 1 deletion src/lib/conditionals/character/Bailu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
standardHpHealFinalizer,
} from 'lib/conditionals/conditionalUtils'
import { ComputedStatsArray, Source } from 'lib/optimizer/computedStatsArray'
import { TsUtils } from 'lib/TsUtils'
import { TsUtils } from 'lib/utils/TsUtils'

import { Eidolon } from 'types/Character'
import { CharacterConditional } from 'types/CharacterConditional'
Expand Down
2 changes: 1 addition & 1 deletion src/lib/conditionals/character/BlackSwan.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { AbilityEidolon, Conditionals, ContentDefinition, gpuStandardAtkFinalize
import { BlackSwanConversionConditional } from 'lib/gpu/conditionals/dynamicConditionals'
import { buffAbilityDefPen, buffAbilityVulnerability } from 'lib/optimizer/calculateBuffs'
import { ComputedStatsArray, Source } from 'lib/optimizer/computedStatsArray'
import { TsUtils } from 'lib/TsUtils'
import { TsUtils } from 'lib/utils/TsUtils'

import { Eidolon } from 'types/Character'
import { CharacterConditional } from 'types/CharacterConditional'
Expand Down
2 changes: 1 addition & 1 deletion src/lib/conditionals/character/Blade.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { AbilityEidolon, calculateAshblazingSet, Conditionals, ContentDefinition
import { wgslTrue } from 'lib/gpu/injection/wgslUtils'
import { buffAbilityDmg } from 'lib/optimizer/calculateBuffs'
import { ComputedStatsArray, Key, Source } from 'lib/optimizer/computedStatsArray'
import { TsUtils } from 'lib/TsUtils'
import { TsUtils } from 'lib/utils/TsUtils'

import { Eidolon } from 'types/Character'
import { CharacterConditional } from 'types/CharacterConditional'
Expand Down
4 changes: 2 additions & 2 deletions src/lib/conditionals/character/Boothill.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { AbilityEidolon, Conditionals, ContentDefinition, gpuStandardAtkFinalizer, standardAtkFinalizer } from 'lib/conditionals/conditionalUtils'
import { ConditionalActivation, ConditionalType, Stats } from 'lib/constants'
import { ConditionalActivation, ConditionalType, Stats } from 'lib/constants/constants'
import { conditionalWgslWrapper } from 'lib/gpu/conditionals/dynamicConditionals'
import { wgslFalse } from 'lib/gpu/injection/wgslUtils'
import { ComputedStatsArray, Key, Source } from 'lib/optimizer/computedStatsArray'
import { TsUtils } from 'lib/TsUtils'
import { TsUtils } from 'lib/utils/TsUtils'

import { Eidolon } from 'types/Character'
import { CharacterConditional } from 'types/CharacterConditional'
Expand Down
4 changes: 2 additions & 2 deletions src/lib/conditionals/character/Bronya.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { ASHBLAZING_ATK_STACK, BASIC_TYPE } from 'lib/conditionals/conditionalConstants'
import { AbilityEidolon, Conditionals, ContentDefinition, gpuStandardFuaAtkFinalizer, standardFuaAtkFinalizer } from 'lib/conditionals/conditionalUtils'
import { ConditionalActivation, ConditionalType, Stats } from 'lib/constants'
import { ConditionalActivation, ConditionalType, Stats } from 'lib/constants/constants'
import { conditionalWgslWrapper } from 'lib/gpu/conditionals/dynamicConditionals'
import { wgslFalse } from 'lib/gpu/injection/wgslUtils'
import { buffAbilityCr } from 'lib/optimizer/calculateBuffs'
import { ComputedStatsArray, Key, Source } from 'lib/optimizer/computedStatsArray'
import { TsUtils } from 'lib/TsUtils'
import { TsUtils } from 'lib/utils/TsUtils'

import { Eidolon } from 'types/Character'
import { CharacterConditional } from 'types/CharacterConditional'
Expand Down
2 changes: 1 addition & 1 deletion src/lib/conditionals/character/Clara.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { ASHBLAZING_ATK_STACK, FUA_TYPE } from 'lib/conditionals/conditionalCons
import { AbilityEidolon, Conditionals, ContentDefinition, gpuStandardFuaAtkFinalizer, standardFuaAtkFinalizer } from 'lib/conditionals/conditionalUtils'
import { buffAbilityDmg } from 'lib/optimizer/calculateBuffs'
import { ComputedStatsArray, Source } from 'lib/optimizer/computedStatsArray'
import { TsUtils } from 'lib/TsUtils'
import { TsUtils } from 'lib/utils/TsUtils'

import { Eidolon } from 'types/Character'
import { CharacterConditional } from 'types/CharacterConditional'
Expand Down
2 changes: 1 addition & 1 deletion src/lib/conditionals/character/DanHeng.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { BASIC_TYPE } from 'lib/conditionals/conditionalConstants'
import { AbilityEidolon, Conditionals, ContentDefinition, gpuStandardAtkFinalizer, standardAtkFinalizer } from 'lib/conditionals/conditionalUtils'
import { buffAbilityDmg } from 'lib/optimizer/calculateBuffs'
import { ComputedStatsArray, Source } from 'lib/optimizer/computedStatsArray'
import { TsUtils } from 'lib/TsUtils'
import { TsUtils } from 'lib/utils/TsUtils'

import { Eidolon } from 'types/Character'
import { CharacterConditional } from 'types/CharacterConditional'
Expand Down
2 changes: 1 addition & 1 deletion src/lib/conditionals/character/DrRatio.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { ASHBLAZING_ATK_STACK, FUA_TYPE } from 'lib/conditionals/conditionalCons
import { AbilityEidolon, Conditionals, ContentDefinition, gpuStandardFuaAtkFinalizer, standardFuaAtkFinalizer } from 'lib/conditionals/conditionalUtils'
import { buffAbilityDmg } from 'lib/optimizer/calculateBuffs'
import { ComputedStatsArray, Source } from 'lib/optimizer/computedStatsArray'
import { TsUtils } from 'lib/TsUtils'
import { TsUtils } from 'lib/utils/TsUtils'

import { Eidolon } from 'types/Character'
import { CharacterConditional } from 'types/CharacterConditional'
Expand Down
2 changes: 1 addition & 1 deletion src/lib/conditionals/character/Feixiao.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { ASHBLAZING_ATK_STACK, FUA_TYPE, ULT_TYPE } from 'lib/conditionals/condi
import { AbilityEidolon, calculateAshblazingSet, Conditionals, ContentDefinition } from 'lib/conditionals/conditionalUtils'
import { buffAbilityCd } from 'lib/optimizer/calculateBuffs'
import { ComputedStatsArray, Key, Source } from 'lib/optimizer/computedStatsArray'
import { TsUtils } from 'lib/TsUtils'
import { TsUtils } from 'lib/utils/TsUtils'

import { Eidolon } from 'types/Character'
import { CharacterConditional } from 'types/CharacterConditional'
Expand Down
2 changes: 1 addition & 1 deletion src/lib/conditionals/character/Firefly.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { FireflyConversionConditional } from 'lib/gpu/conditionals/dynamicCondit
import { wgslTrue } from 'lib/gpu/injection/wgslUtils'
import { buffAbilityVulnerability } from 'lib/optimizer/calculateBuffs'
import { ComputedStatsArray, Key, Source } from 'lib/optimizer/computedStatsArray'
import { TsUtils } from 'lib/TsUtils'
import { TsUtils } from 'lib/utils/TsUtils'

import { Eidolon } from 'types/Character'
import { CharacterConditional } from 'types/CharacterConditional'
Expand Down
4 changes: 2 additions & 2 deletions src/lib/conditionals/character/FuXuan.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ import {
standardHpFinalizer,
standardHpHealFinalizer,
} from 'lib/conditionals/conditionalUtils'
import { ConditionalActivation, ConditionalType, Stats } from 'lib/constants'
import { ConditionalActivation, ConditionalType, Stats } from 'lib/constants/constants'
import { conditionalWgslWrapper } from 'lib/gpu/conditionals/dynamicConditionals'
import { wgslFalse } from 'lib/gpu/injection/wgslUtils'
import { ComputedStatsArray, Key, Source } from 'lib/optimizer/computedStatsArray'
import { TsUtils } from 'lib/TsUtils'
import { TsUtils } from 'lib/utils/TsUtils'

import { Eidolon } from 'types/Character'
import { CharacterConditional } from 'types/CharacterConditional'
Expand Down
2 changes: 1 addition & 1 deletion src/lib/conditionals/character/Fugue.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import i18next from 'i18next'
import { BREAK_TYPE } from 'lib/conditionals/conditionalConstants'
import { AbilityEidolon, Conditionals, ContentDefinition, gpuStandardAtkFinalizer, standardAtkFinalizer } from 'lib/conditionals/conditionalUtils'
import { CURRENT_DATA_VERSION } from 'lib/constants'
import { CURRENT_DATA_VERSION } from 'lib/constants/constants'
import { buffAbilityDmg } from 'lib/optimizer/calculateBuffs'
import { ComputedStatsArray, Source } from 'lib/optimizer/computedStatsArray'

Expand Down
2 changes: 1 addition & 1 deletion src/lib/conditionals/character/Gallagher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
import { GallagherConversionConditional } from 'lib/gpu/conditionals/dynamicConditionals'
import { buffAbilityVulnerability } from 'lib/optimizer/calculateBuffs'
import { ComputedStatsArray, Source } from 'lib/optimizer/computedStatsArray'
import { TsUtils } from 'lib/TsUtils'
import { TsUtils } from 'lib/utils/TsUtils'
import { Eidolon } from 'types/Character'
import { CharacterConditional } from 'types/CharacterConditional'
import { OptimizerAction, OptimizerContext } from 'types/Optimizer'
Expand Down
4 changes: 2 additions & 2 deletions src/lib/conditionals/character/Gepard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import {
standardAtkFinalizer,
standardDefShieldFinalizer,
} from 'lib/conditionals/conditionalUtils'
import { ConditionalActivation, ConditionalType, Stats } from 'lib/constants'
import { ConditionalActivation, ConditionalType, Stats } from 'lib/constants/constants'
import { conditionalWgslWrapper } from 'lib/gpu/conditionals/dynamicConditionals'
import { ComputedStatsArray, Key, Source } from 'lib/optimizer/computedStatsArray'
import { TsUtils } from 'lib/TsUtils'
import { TsUtils } from 'lib/utils/TsUtils'
import { Eidolon } from 'types/Character'
import { CharacterConditional } from 'types/CharacterConditional'
import { OptimizerAction, OptimizerContext } from 'types/Optimizer'
Expand Down
2 changes: 1 addition & 1 deletion src/lib/conditionals/character/Guinaifen.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { AbilityEidolon, Conditionals, ContentDefinition, gpuStandardAtkFinalizer, standardAtkFinalizer } from 'lib/conditionals/conditionalUtils'
import { ComputedStatsArray, Source } from 'lib/optimizer/computedStatsArray'
import { TsUtils } from 'lib/TsUtils'
import { TsUtils } from 'lib/utils/TsUtils'

import { Eidolon } from 'types/Character'
import { CharacterConditional } from 'types/CharacterConditional'
Expand Down
4 changes: 2 additions & 2 deletions src/lib/conditionals/character/Hanya.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { AbilityEidolon, Conditionals, ContentDefinition, gpuStandardAtkFinalizer, standardAtkFinalizer } from 'lib/conditionals/conditionalUtils'
import { ConditionalActivation, ConditionalType, Stats } from 'lib/constants'
import { ConditionalActivation, ConditionalType, Stats } from 'lib/constants/constants'
import { conditionalWgslWrapper } from 'lib/gpu/conditionals/dynamicConditionals'
import { wgslFalse } from 'lib/gpu/injection/wgslUtils'
import { ComputedStatsArray, Key, Source } from 'lib/optimizer/computedStatsArray'
import { TsUtils } from 'lib/TsUtils'
import { TsUtils } from 'lib/utils/TsUtils'

import { Eidolon } from 'types/Character'
import { CharacterConditional } from 'types/CharacterConditional'
Expand Down
2 changes: 1 addition & 1 deletion src/lib/conditionals/character/Herta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { ASHBLAZING_ATK_STACK, FUA_TYPE, SKILL_TYPE, ULT_TYPE } from 'lib/condit
import { AbilityEidolon, Conditionals, ContentDefinition, gpuStandardFuaAtkFinalizer, standardFuaAtkFinalizer } from 'lib/conditionals/conditionalUtils'
import { buffAbilityDmg } from 'lib/optimizer/calculateBuffs'
import { ComputedStatsArray, Source } from 'lib/optimizer/computedStatsArray'
import { TsUtils } from 'lib/TsUtils'
import { TsUtils } from 'lib/utils/TsUtils'

import { Eidolon } from 'types/Character'
import { CharacterConditional } from 'types/CharacterConditional'
Expand Down
2 changes: 1 addition & 1 deletion src/lib/conditionals/character/Himeko.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { ASHBLAZING_ATK_STACK, SKILL_TYPE } from 'lib/conditionals/conditionalCo
import { AbilityEidolon, Conditionals, ContentDefinition, gpuStandardFuaAtkFinalizer, standardFuaAtkFinalizer } from 'lib/conditionals/conditionalUtils'
import { buffAbilityDmg } from 'lib/optimizer/calculateBuffs'
import { ComputedStatsArray, Source } from 'lib/optimizer/computedStatsArray'
import { TsUtils } from 'lib/TsUtils'
import { TsUtils } from 'lib/utils/TsUtils'
import { Eidolon } from 'types/Character'
import { CharacterConditional } from 'types/CharacterConditional'
import { NumberToNumberMap } from 'types/Common'
Expand Down
2 changes: 1 addition & 1 deletion src/lib/conditionals/character/Hook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { SKILL_TYPE } from 'lib/conditionals/conditionalConstants'
import { AbilityEidolon, Conditionals, ContentDefinition, gpuStandardAtkFinalizer, standardAtkFinalizer } from 'lib/conditionals/conditionalUtils'
import { buffAbilityDmg } from 'lib/optimizer/calculateBuffs'
import { ComputedStatsArray, Source } from 'lib/optimizer/computedStatsArray'
import { TsUtils } from 'lib/TsUtils'
import { TsUtils } from 'lib/utils/TsUtils'

import { Eidolon } from 'types/Character'
import { CharacterConditional } from 'types/CharacterConditional'
Expand Down
Loading

0 comments on commit b8940cf

Please sign in to comment.