Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix gi-formula issues and add index generation #1353

Merged
merged 11 commits into from
Dec 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
14 changes: 7 additions & 7 deletions libs/gi-formula/src/data/artifact/Adventurer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@ import {
} from '../util'
import { artCount, registerArt } from './util'

const src: ArtifactSetKey = 'Adventurer'
const count = artCount(src)
const key: ArtifactSetKey = 'Adventurer'
const count = artCount(key)
// TODO: Conditionals
const { someBoolConditional } = allBoolConditionals(src)
const { _someListConditional } = allListConditionals(src, [])
const { _someNumConditional } = allNumConditionals(src, 'unique', false)
const { someBoolConditional } = allBoolConditionals(key)
const { _someListConditional } = allListConditionals(key, [])
const { _someNumConditional } = allNumConditionals(key, 'unique', false)
// TODO: Non-stack values
const { someStack } = allStacks(src)
const { someStack } = allStacks(key)

export default registerArt(
src,
key,

// TODO:
// - Add self-buff formulas using `selfBuff.<buff target>.add(<buff value>)`
Expand Down
14 changes: 7 additions & 7 deletions libs/gi-formula/src/data/artifact/ArchaicPetra.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@ import {
} from '../util'
import { artCount, registerArt } from './util'

const src: ArtifactSetKey = 'ArchaicPetra'
const count = artCount(src)
const key: ArtifactSetKey = 'ArchaicPetra'
const count = artCount(key)
// TODO: Conditionals
const { someBoolConditional } = allBoolConditionals(src)
const { _someListConditional } = allListConditionals(src, [])
const { _someNumConditional } = allNumConditionals(src, 'unique', false)
const { someBoolConditional } = allBoolConditionals(key)
const { _someListConditional } = allListConditionals(key, [])
const { _someNumConditional } = allNumConditionals(key, 'unique', false)
// TODO: Non-stack values
const { someStack } = allStacks(src)
const { someStack } = allStacks(key)

export default registerArt(
src,
key,

// TODO:
// - Add self-buff formulas using `selfBuff.<buff target>.add(<buff value>)`
Expand Down
14 changes: 7 additions & 7 deletions libs/gi-formula/src/data/artifact/Berserker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@ import {
} from '../util'
import { artCount, registerArt } from './util'

const src: ArtifactSetKey = 'Berserker'
const count = artCount(src)
const key: ArtifactSetKey = 'Berserker'
const count = artCount(key)
// TODO: Conditionals
const { someBoolConditional } = allBoolConditionals(src)
const { _someListConditional } = allListConditionals(src, [])
const { _someNumConditional } = allNumConditionals(src, 'unique', false)
const { someBoolConditional } = allBoolConditionals(key)
const { _someListConditional } = allListConditionals(key, [])
const { _someNumConditional } = allNumConditionals(key, 'unique', false)
// TODO: Non-stack values
const { someStack } = allStacks(src)
const { someStack } = allStacks(key)

export default registerArt(
src,
key,

// TODO:
// - Add self-buff formulas using `selfBuff.<buff target>.add(<buff value>)`
Expand Down
14 changes: 7 additions & 7 deletions libs/gi-formula/src/data/artifact/BlizzardStrayer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@ import {
} from '../util'
import { artCount, registerArt } from './util'

const src: ArtifactSetKey = 'BlizzardStrayer'
const count = artCount(src)
const key: ArtifactSetKey = 'BlizzardStrayer'
const count = artCount(key)
// TODO: Conditionals
const { someBoolConditional } = allBoolConditionals(src)
const { _someListConditional } = allListConditionals(src, [])
const { _someNumConditional } = allNumConditionals(src, 'unique', false)
const { someBoolConditional } = allBoolConditionals(key)
const { _someListConditional } = allListConditionals(key, [])
const { _someNumConditional } = allNumConditionals(key, 'unique', false)
// TODO: Non-stack values
const { someStack } = allStacks(src)
const { someStack } = allStacks(key)

export default registerArt(
src,
key,

// TODO:
// - Add self-buff formulas using `selfBuff.<buff target>.add(<buff value>)`
Expand Down
14 changes: 7 additions & 7 deletions libs/gi-formula/src/data/artifact/BloodstainedChivalry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@ import {
} from '../util'
import { artCount, registerArt } from './util'

const src: ArtifactSetKey = 'BloodstainedChivalry'
const count = artCount(src)
const key: ArtifactSetKey = 'BloodstainedChivalry'
const count = artCount(key)
// TODO: Conditionals
const { someBoolConditional } = allBoolConditionals(src)
const { _someListConditional } = allListConditionals(src, [])
const { _someNumConditional } = allNumConditionals(src, 'unique', false)
const { someBoolConditional } = allBoolConditionals(key)
const { _someListConditional } = allListConditionals(key, [])
const { _someNumConditional } = allNumConditionals(key, 'unique', false)
// TODO: Non-stack values
const { someStack } = allStacks(src)
const { someStack } = allStacks(key)

export default registerArt(
src,
key,

// TODO:
// - Add self-buff formulas using `selfBuff.<buff target>.add(<buff value>)`
Expand Down
14 changes: 7 additions & 7 deletions libs/gi-formula/src/data/artifact/BraveHeart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@ import {
} from '../util'
import { artCount, registerArt } from './util'

const src: ArtifactSetKey = 'BraveHeart'
const count = artCount(src)
const key: ArtifactSetKey = 'BraveHeart'
const count = artCount(key)
// TODO: Conditionals
const { someBoolConditional } = allBoolConditionals(src)
const { _someListConditional } = allListConditionals(src, [])
const { _someNumConditional } = allNumConditionals(src, 'unique', false)
const { someBoolConditional } = allBoolConditionals(key)
const { _someListConditional } = allListConditionals(key, [])
const { _someNumConditional } = allNumConditionals(key, 'unique', false)
// TODO: Non-stack values
const { someStack } = allStacks(src)
const { someStack } = allStacks(key)

export default registerArt(
src,
key,

// TODO:
// - Add self-buff formulas using `selfBuff.<buff target>.add(<buff value>)`
Expand Down
14 changes: 7 additions & 7 deletions libs/gi-formula/src/data/artifact/CrimsonWitchOfFlames.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@ import {
} from '../util'
import { artCount, registerArt } from './util'

const src: ArtifactSetKey = 'CrimsonWitchOfFlames'
const count = artCount(src)
const key: ArtifactSetKey = 'CrimsonWitchOfFlames'
const count = artCount(key)
// TODO: Conditionals
const { someBoolConditional } = allBoolConditionals(src)
const { _someListConditional } = allListConditionals(src, [])
const { _someNumConditional } = allNumConditionals(src, 'unique', false)
const { someBoolConditional } = allBoolConditionals(key)
const { _someListConditional } = allListConditionals(key, [])
const { _someNumConditional } = allNumConditionals(key, 'unique', false)
// TODO: Non-stack values
const { someStack } = allStacks(src)
const { someStack } = allStacks(key)

export default registerArt(
src,
key,

// TODO:
// - Add self-buff formulas using `selfBuff.<buff target>.add(<buff value>)`
Expand Down
14 changes: 7 additions & 7 deletions libs/gi-formula/src/data/artifact/DeepwoodMemories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@ import {
} from '../util'
import { artCount, registerArt } from './util'

const src: ArtifactSetKey = 'DeepwoodMemories'
const count = artCount(src)
const key: ArtifactSetKey = 'DeepwoodMemories'
const count = artCount(key)
// TODO: Conditionals
const { someBoolConditional } = allBoolConditionals(src)
const { _someListConditional } = allListConditionals(src, [])
const { _someNumConditional } = allNumConditionals(src, 'unique', false)
const { someBoolConditional } = allBoolConditionals(key)
const { _someListConditional } = allListConditionals(key, [])
const { _someNumConditional } = allNumConditionals(key, 'unique', false)
// TODO: Non-stack values
const { someStack } = allStacks(src)
const { someStack } = allStacks(key)

export default registerArt(
src,
key,

// TODO:
// - Add self-buff formulas using `selfBuff.<buff target>.add(<buff value>)`
Expand Down
14 changes: 7 additions & 7 deletions libs/gi-formula/src/data/artifact/DefendersWill.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@ import {
} from '../util'
import { artCount, registerArt } from './util'

const src: ArtifactSetKey = 'DefendersWill'
const count = artCount(src)
const key: ArtifactSetKey = 'DefendersWill'
const count = artCount(key)
// TODO: Conditionals
const { someBoolConditional } = allBoolConditionals(src)
const { _someListConditional } = allListConditionals(src, [])
const { _someNumConditional } = allNumConditionals(src, 'unique', false)
const { someBoolConditional } = allBoolConditionals(key)
const { _someListConditional } = allListConditionals(key, [])
const { _someNumConditional } = allNumConditionals(key, 'unique', false)
// TODO: Non-stack values
const { someStack } = allStacks(src)
const { someStack } = allStacks(key)

export default registerArt(
src,
key,

// TODO:
// - Add self-buff formulas using `selfBuff.<buff target>.add(<buff value>)`
Expand Down
14 changes: 7 additions & 7 deletions libs/gi-formula/src/data/artifact/DesertPavilionChronicle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@ import {
} from '../util'
import { artCount, registerArt } from './util'

const src: ArtifactSetKey = 'DesertPavilionChronicle'
const count = artCount(src)
const key: ArtifactSetKey = 'DesertPavilionChronicle'
const count = artCount(key)
// TODO: Conditionals
const { someBoolConditional } = allBoolConditionals(src)
const { _someListConditional } = allListConditionals(src, [])
const { _someNumConditional } = allNumConditionals(src, 'unique', false)
const { someBoolConditional } = allBoolConditionals(key)
const { _someListConditional } = allListConditionals(key, [])
const { _someNumConditional } = allNumConditionals(key, 'unique', false)
// TODO: Non-stack values
const { someStack } = allStacks(src)
const { someStack } = allStacks(key)

export default registerArt(
src,
key,

// TODO:
// - Add self-buff formulas using `selfBuff.<buff target>.add(<buff value>)`
Expand Down
14 changes: 7 additions & 7 deletions libs/gi-formula/src/data/artifact/EchoesOfAnOffering.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@ import {
} from '../util'
import { artCount, registerArt } from './util'

const src: ArtifactSetKey = 'EchoesOfAnOffering'
const count = artCount(src)
const key: ArtifactSetKey = 'EchoesOfAnOffering'
const count = artCount(key)
// TODO: Conditionals
const { someBoolConditional } = allBoolConditionals(src)
const { _someListConditional } = allListConditionals(src, [])
const { _someNumConditional } = allNumConditionals(src, 'unique', false)
const { someBoolConditional } = allBoolConditionals(key)
const { _someListConditional } = allListConditionals(key, [])
const { _someNumConditional } = allNumConditionals(key, 'unique', false)
// TODO: Non-stack values
const { someStack } = allStacks(src)
const { someStack } = allStacks(key)

export default registerArt(
src,
key,

// TODO:
// - Add self-buff formulas using `selfBuff.<buff target>.add(<buff value>)`
Expand Down
14 changes: 7 additions & 7 deletions libs/gi-formula/src/data/artifact/EmblemOfSeveredFate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@ import {
} from '../util'
import { artCount, registerArt } from './util'

const src: ArtifactSetKey = 'EmblemOfSeveredFate'
const count = artCount(src)
const key: ArtifactSetKey = 'EmblemOfSeveredFate'
const count = artCount(key)
// TODO: Conditionals
const { someBoolConditional } = allBoolConditionals(src)
const { _someListConditional } = allListConditionals(src, [])
const { _someNumConditional } = allNumConditionals(src, 'unique', false)
const { someBoolConditional } = allBoolConditionals(key)
const { _someListConditional } = allListConditionals(key, [])
const { _someNumConditional } = allNumConditionals(key, 'unique', false)
// TODO: Non-stack values
const { someStack } = allStacks(src)
const { someStack } = allStacks(key)

export default registerArt(
src,
key,

// TODO:
// - Add self-buff formulas using `selfBuff.<buff target>.add(<buff value>)`
Expand Down
14 changes: 7 additions & 7 deletions libs/gi-formula/src/data/artifact/FlowerOfParadiseLost.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@ import {
} from '../util'
import { artCount, registerArt } from './util'

const src: ArtifactSetKey = 'FlowerOfParadiseLost'
const count = artCount(src)
const key: ArtifactSetKey = 'FlowerOfParadiseLost'
const count = artCount(key)
// TODO: Conditionals
const { someBoolConditional } = allBoolConditionals(src)
const { _someListConditional } = allListConditionals(src, [])
const { _someNumConditional } = allNumConditionals(src, 'unique', false)
const { someBoolConditional } = allBoolConditionals(key)
const { _someListConditional } = allListConditionals(key, [])
const { _someNumConditional } = allNumConditionals(key, 'unique', false)
// TODO: Non-stack values
const { someStack } = allStacks(src)
const { someStack } = allStacks(key)

export default registerArt(
src,
key,

// TODO:
// - Add self-buff formulas using `selfBuff.<buff target>.add(<buff value>)`
Expand Down
14 changes: 7 additions & 7 deletions libs/gi-formula/src/data/artifact/Gambler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@ import {
} from '../util'
import { artCount, registerArt } from './util'

const src: ArtifactSetKey = 'Gambler'
const count = artCount(src)
const key: ArtifactSetKey = 'Gambler'
const count = artCount(key)
// TODO: Conditionals
const { someBoolConditional } = allBoolConditionals(src)
const { _someListConditional } = allListConditionals(src, [])
const { _someNumConditional } = allNumConditionals(src, 'unique', false)
const { someBoolConditional } = allBoolConditionals(key)
const { _someListConditional } = allListConditionals(key, [])
const { _someNumConditional } = allNumConditionals(key, 'unique', false)
// TODO: Non-stack values
const { someStack } = allStacks(src)
const { someStack } = allStacks(key)

export default registerArt(
src,
key,

// TODO:
// - Add self-buff formulas using `selfBuff.<buff target>.add(<buff value>)`
Expand Down
14 changes: 7 additions & 7 deletions libs/gi-formula/src/data/artifact/GildedDreams.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@ import {
} from '../util'
import { artCount, registerArt } from './util'

const src: ArtifactSetKey = 'GildedDreams'
const count = artCount(src)
const key: ArtifactSetKey = 'GildedDreams'
const count = artCount(key)
// TODO: Conditionals
const { someBoolConditional } = allBoolConditionals(src)
const { _someListConditional } = allListConditionals(src, [])
const { _someNumConditional } = allNumConditionals(src, 'unique', false)
const { someBoolConditional } = allBoolConditionals(key)
const { _someListConditional } = allListConditionals(key, [])
const { _someNumConditional } = allNumConditionals(key, 'unique', false)
// TODO: Non-stack values
const { someStack } = allStacks(src)
const { someStack } = allStacks(key)

export default registerArt(
src,
key,

// TODO:
// - Add self-buff formulas using `selfBuff.<buff target>.add(<buff value>)`
Expand Down
14 changes: 7 additions & 7 deletions libs/gi-formula/src/data/artifact/GladiatorsFinale.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@ import {
} from '../util'
import { artCount, registerArt } from './util'

const src: ArtifactSetKey = 'GladiatorsFinale'
const count = artCount(src)
const key: ArtifactSetKey = 'GladiatorsFinale'
const count = artCount(key)
// TODO: Conditionals
const { someBoolConditional } = allBoolConditionals(src)
const { _someListConditional } = allListConditionals(src, [])
const { _someNumConditional } = allNumConditionals(src, 'unique', false)
const { someBoolConditional } = allBoolConditionals(key)
const { _someListConditional } = allListConditionals(key, [])
const { _someNumConditional } = allNumConditionals(key, 'unique', false)
// TODO: Non-stack values
const { someStack } = allStacks(src)
const { someStack } = allStacks(key)

export default registerArt(
src,
key,

// TODO:
// - Add self-buff formulas using `selfBuff.<buff target>.add(<buff value>)`
Expand Down
Loading