Move v2 modules and components
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { Image, ThemeUIStyleObject } from 'theme-ui'
|
||||
import { assetsBucketBaseUrl } from '../../lib/consts'
|
||||
import { AttributeType } from '../../lib/v2-pre/data/types'
|
||||
import { AttributeType } from '../../lib/v2/data/types'
|
||||
|
||||
interface AttributeIconProps {
|
||||
attributeType: AttributeType
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
import { Box } from 'theme-ui'
|
||||
import { assetsBucketBaseUrl } from '../../lib/consts'
|
||||
import { AttributeType, BattlesuitCatalogItem } from '../../lib/v2-pre/data/types'
|
||||
import { AttributeType, BattlesuitCatalogItem } from '../../lib/v2/data/types'
|
||||
|
||||
interface BattlesuitAvatarIconProps {
|
||||
battlesuit: BattlesuitCatalogItem
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
import { Box } from 'theme-ui'
|
||||
import { BattlesuitCatalogItem } from '../../lib/v2-pre/data/types'
|
||||
import { BattlesuitCatalogItem } from '../../lib/v2/data/types'
|
||||
import BattlesuitAvatarIcon from './BattlesuitAvatarIcon'
|
||||
|
||||
interface BattlesuitCatalogItemCardProps {
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
import { Box, Flex, Image } from 'theme-ui'
|
||||
import { assetsBucketBaseUrl } from '../../lib/consts'
|
||||
import { AttributeType, BattlesuitCatalogItem } from '../../lib/v2-pre/data/types'
|
||||
import { AttributeType, BattlesuitCatalogItem } from '../../lib/v2/data/types'
|
||||
|
||||
interface BattlesuitAvatarIconProps {
|
||||
battlesuit: BattlesuitCatalogItem
|
||||
@@ -1,6 +1,6 @@
|
||||
import { Box } from 'theme-ui'
|
||||
import { assetsBucketBaseUrl } from '../../lib/consts'
|
||||
import { CharacterType } from '../../lib/v2-pre/data/types'
|
||||
import { CharacterType } from '../../lib/v2/data/types'
|
||||
|
||||
interface ChibiIconProps {
|
||||
id: string
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Text } from 'theme-ui'
|
||||
import { FormattedTextToken, tokenize } from '../../lib/v2-pre/formattedText/tokenize'
|
||||
import { FormattedTextToken, tokenize } from '../../lib/v2/formattedText/tokenize'
|
||||
|
||||
interface FormattedTextProps {
|
||||
children: string
|
||||
@@ -1,6 +1,6 @@
|
||||
import { Box } from 'theme-ui'
|
||||
import { assetsBucketBaseUrl } from '../../lib/consts'
|
||||
import { StarRank } from '../../lib/v2-pre/data/types'
|
||||
import { StarRank } from '../../lib/v2/data/types'
|
||||
|
||||
interface StarIconProps {
|
||||
star: StarRank
|
||||
@@ -1,6 +1,6 @@
|
||||
import { Box } from 'theme-ui'
|
||||
import { assetsBucketBaseUrl } from '../../lib/consts'
|
||||
import { StigmaType } from '../../lib/v2-pre/data/types'
|
||||
import { StigmaType } from '../../lib/v2/data/types'
|
||||
|
||||
interface StigmaTypeIconProps {
|
||||
type: StigmaType
|
||||
@@ -1,6 +1,6 @@
|
||||
import { Box } from 'theme-ui'
|
||||
import { assetsBucketBaseUrl } from '../../lib/consts'
|
||||
import { TagType } from '../../lib/v2-pre/data/types'
|
||||
import { TagType } from '../../lib/v2/data/types'
|
||||
|
||||
interface TagIconProps {
|
||||
type: TagType
|
||||
@@ -1,6 +1,6 @@
|
||||
import { Box } from 'theme-ui'
|
||||
import { assetsBucketBaseUrl } from '../../lib/consts'
|
||||
import { WeaponType } from '../../lib/v2-pre/data/types'
|
||||
import { WeaponType } from '../../lib/v2/data/types'
|
||||
|
||||
interface WeaponTypeIconProps {
|
||||
type: WeaponType
|
||||
@@ -1,27 +1,27 @@
|
||||
import { NextPageContext } from 'next'
|
||||
import { Box, Card, Flex, Heading } from 'theme-ui'
|
||||
import AttributeIcon from '../../../../components/v2-pre/AttributeIcon'
|
||||
import AvatarFigureImage from '../../../../components/v2-pre/AvatarFigureImage'
|
||||
import AvatarSkillIcon from '../../../../components/v2-pre/AvatarSkillIcon'
|
||||
import AvatarSubSkillIcon from '../../../../components/v2-pre/AvatarSubSkillIcon'
|
||||
import BattlesuitAvatarIcon from '../../../../components/v2-pre/BattlesuitAvatarIcon'
|
||||
import FormattedText from '../../../../components/v2-pre/FormattedText'
|
||||
import { formatSkillInfo, formatSubSkillInfo } from '../../../../lib/v2-pre/data/formatText'
|
||||
import { loadBattlesuitCatalog, loadBattlesuitData } from '../../../../lib/v2-pre/server/loadData'
|
||||
import { Battlesuit, SkillTagItem } from '../../../../lib/v2-pre/data/types'
|
||||
import AttributeIcon from '../../../../components/v2/AttributeIcon'
|
||||
import AvatarFigureImage from '../../../../components/v2/AvatarFigureImage'
|
||||
import AvatarSkillIcon from '../../../../components/v2/AvatarSkillIcon'
|
||||
import AvatarSubSkillIcon from '../../../../components/v2/AvatarSubSkillIcon'
|
||||
import BattlesuitAvatarIcon from '../../../../components/v2/BattlesuitAvatarIcon'
|
||||
import FormattedText from '../../../../components/v2/FormattedText'
|
||||
import { formatSkillInfo, formatSubSkillInfo } from '../../../../lib/v2/data/formatText'
|
||||
import { loadBattlesuitCatalog, loadBattlesuitData } from '../../../../lib/v2/server/loadData'
|
||||
import { Battlesuit, SkillTagItem } from '../../../../lib/v2/data/types'
|
||||
import { Fragment } from 'react'
|
||||
import TagIcon from '../../../../components/v2-pre/TagIcon'
|
||||
import TagIcon from '../../../../components/v2/TagIcon'
|
||||
import {
|
||||
getAttributeLabel,
|
||||
getCharacterTypeLabel,
|
||||
getSkillTypeLabel,
|
||||
getTagTypeLabel,
|
||||
getWeaponTypeLabel
|
||||
} from '../../../../lib/v2-pre/data/text'
|
||||
import StarIcon from '../../../../components/v2-pre/StarIcon'
|
||||
import ChibiIcon from '../../../../components/v2-pre/ChibiIcon'
|
||||
import WeaponTypeIcon from '../../../../components/v2-pre/WeaponTypeIcon'
|
||||
import { sortBattlesuitSkill } from '../../../../lib/v2-pre/data/utils'
|
||||
} from '../../../../lib/v2/data/text'
|
||||
import StarIcon from '../../../../components/v2/StarIcon'
|
||||
import ChibiIcon from '../../../../components/v2/ChibiIcon'
|
||||
import WeaponTypeIcon from '../../../../components/v2/WeaponTypeIcon'
|
||||
import { sortBattlesuitSkill } from '../../../../lib/v2/data/utils'
|
||||
|
||||
interface BattlesuitShowPageProps {
|
||||
battlesuit: Battlesuit
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
import { Box } from '@theme-ui/components'
|
||||
import { NextPageContext } from 'next'
|
||||
import { Flex, Link } from 'theme-ui'
|
||||
import { loadBattlesuitCatalog } from '../../../../lib/v2-pre/server/loadData'
|
||||
import { BattlesuitCatalogItem } from '../../../../lib/v2-pre/data/types'
|
||||
import BattlesuitCatalogItemCard from '../../../../components/v2-pre/BattlesuitCatalogItemCard'
|
||||
import { loadBattlesuitCatalog } from '../../../../lib/v2/server/loadData'
|
||||
import { BattlesuitCatalogItem } from '../../../../lib/v2/data/types'
|
||||
import BattlesuitCatalogItemCard from '../../../../components/v2/BattlesuitCatalogItemCard'
|
||||
|
||||
interface BattlesuitListPageProps {
|
||||
battlesuitCatalog: BattlesuitCatalogItem[]
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
import { NextPageContext } from 'next'
|
||||
import { Box, Card, Flex, Heading } from 'theme-ui'
|
||||
import { useMemo } from 'react'
|
||||
import { Elf, ElfSkill } from '../../../../lib/v2-pre/data/types'
|
||||
import { loadElfCatalog, loadElfData } from '../../../../lib/v2-pre/server/loadData'
|
||||
import SquareImage from '../../../../components/v2-pre/SquareImage'
|
||||
import TagIcon from '../../../../components/v2-pre/TagIcon'
|
||||
import { Elf, ElfSkill } from '../../../../lib/v2/data/types'
|
||||
import { loadElfCatalog, loadElfData } from '../../../../lib/v2/server/loadData'
|
||||
import SquareImage from '../../../../components/v2/SquareImage'
|
||||
import TagIcon from '../../../../components/v2/TagIcon'
|
||||
import { assetsBucketBaseUrl } from '../../../../lib/consts'
|
||||
import { ListMap } from '../../../../lib/utils'
|
||||
import FormattedText from '../../../../components/v2-pre/FormattedText'
|
||||
import { formatSubSkillInfo } from '../../../../lib/v2-pre/data/formatText'
|
||||
import FormattedText from '../../../../components/v2/FormattedText'
|
||||
import { formatSubSkillInfo } from '../../../../lib/v2/data/formatText'
|
||||
|
||||
interface ElfShowPageProps {
|
||||
elf: Elf
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
import { Box, Card } from '@theme-ui/components'
|
||||
import { NextPageContext } from 'next'
|
||||
import { Flex, Link } from 'theme-ui'
|
||||
import { ElfCatalogItem } from '../../../../lib/v2-pre/data/types'
|
||||
import { loadElfCatalog } from '../../../../lib/v2-pre/server/loadData'
|
||||
import RarityBar from '../../../../components/v2-pre/RarityBar'
|
||||
import ElfIcon from '../../../../components/v2-pre/ElfIcon'
|
||||
import { ElfCatalogItem } from '../../../../lib/v2/data/types'
|
||||
import { loadElfCatalog } from '../../../../lib/v2/server/loadData'
|
||||
import RarityBar from '../../../../components/v2/RarityBar'
|
||||
import ElfIcon from '../../../../components/v2/ElfIcon'
|
||||
|
||||
interface ElfListPageProps {
|
||||
elfs: ElfCatalogItem[]
|
||||
|
||||
@@ -1,12 +1,8 @@
|
||||
import { NextPageContext } from 'next'
|
||||
import { Box, Card, Flex, Heading, Image } from 'theme-ui'
|
||||
import AvatarFigureImage from '../../../../../components/v2-pre/AvatarFigureImage'
|
||||
import {
|
||||
loadBattlesuitData,
|
||||
loadErBattlesuit,
|
||||
loadErBattlesuitCatalog
|
||||
} from '../../../../../lib/v2-pre/server/loadData'
|
||||
import { Battlesuit, ErBattlesuit, ErSignet } from '../../../../../lib/v2-pre/data/types'
|
||||
import AvatarFigureImage from '../../../../../components/v2/AvatarFigureImage'
|
||||
import { loadBattlesuitData, loadErBattlesuit, loadErBattlesuitCatalog } from '../../../../../lib/v2/server/loadData'
|
||||
import { Battlesuit, ErBattlesuit, ErSignet } from '../../../../../lib/v2/data/types'
|
||||
import { Fragment, useMemo } from 'react'
|
||||
import { assetsBucketBaseUrl } from '../../../../../lib/consts'
|
||||
|
||||
|
||||
@@ -6,15 +6,15 @@ import {
|
||||
loadErBattlesuitCatalog,
|
||||
loadErSigils,
|
||||
loadErSupports
|
||||
} from '../../../../lib/v2-pre/server/loadData'
|
||||
import { BattlesuitCatalogItem, ErBattlesuitCatalogItem } from '../../../../lib/v2-pre/data/types'
|
||||
} from '../../../../lib/v2/server/loadData'
|
||||
import { BattlesuitCatalogItem, ErBattlesuitCatalogItem } from '../../../../lib/v2/data/types'
|
||||
import { useMemo } from 'react'
|
||||
import BattlesuitCatalogItemCard from '../../../../components/v2-pre/BattlesuitCatalogItemCard'
|
||||
import BattlesuitCatalogItemCard from '../../../../components/v2/BattlesuitCatalogItemCard'
|
||||
import { assetsBucketBaseUrl } from '../../../../lib/consts'
|
||||
import SquareImage from '../../../../components/v2-pre/SquareImage'
|
||||
import { signetGroups } from '../../../../lib/v2-pre/data/er'
|
||||
import BattlesuitSmallIcon from '../../../../components/v2-pre/BattlesuitSmallIcon'
|
||||
import MaterialIcon from '../../../../components/v2-pre/MaterialIcon'
|
||||
import SquareImage from '../../../../components/v2/SquareImage'
|
||||
import { signetGroups } from '../../../../lib/v2/data/er'
|
||||
import BattlesuitSmallIcon from '../../../../components/v2/BattlesuitSmallIcon'
|
||||
import MaterialIcon from '../../../../components/v2/MaterialIcon'
|
||||
|
||||
interface ErPageProps {
|
||||
erBattlesuitCatalog: ErBattlesuitCatalogItem[]
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import { NextPageContext } from 'next'
|
||||
import { Box, Card, Flex, Heading } from 'theme-ui'
|
||||
import MaterialIcon from '../../../../components/v2-pre/MaterialIcon'
|
||||
import { ErSigil } from '../../../../lib/v2-pre/data/types'
|
||||
import { loadErSigils } from '../../../../lib/v2-pre/server/loadData'
|
||||
import MaterialIcon from '../../../../components/v2/MaterialIcon'
|
||||
import { ErSigil } from '../../../../lib/v2/data/types'
|
||||
import { loadErSigils } from '../../../../lib/v2/server/loadData'
|
||||
|
||||
interface SigilsPageProps {
|
||||
erSigils: ErSigil[]
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
import { NextPageContext } from 'next'
|
||||
import { Box, Card, Flex, Heading } from 'theme-ui'
|
||||
import { loadErSignets } from '../../../../../lib/v2-pre/server/loadData'
|
||||
import { ErSignet, ErSignetGroup } from '../../../../../lib/v2-pre/data/types'
|
||||
import { loadErSignets } from '../../../../../lib/v2/server/loadData'
|
||||
import { ErSignet, ErSignetGroup } from '../../../../../lib/v2/data/types'
|
||||
import { Fragment, useMemo } from 'react'
|
||||
import { assetsBucketBaseUrl } from '../../../../../lib/consts'
|
||||
import { signetGroups } from '../../../../../lib/v2-pre/data/er'
|
||||
import SquareImage from '../../../../../components/v2-pre/SquareImage'
|
||||
import { getErSignetTypeLabel } from '../../../../../lib/v2-pre/data/text'
|
||||
import { signetGroups } from '../../../../../lib/v2/data/er'
|
||||
import SquareImage from '../../../../../components/v2/SquareImage'
|
||||
import { getErSignetTypeLabel } from '../../../../../lib/v2/data/text'
|
||||
|
||||
interface BattlesuitShowPageProps {
|
||||
group: ErSignetGroup
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
import { NextPageContext } from 'next'
|
||||
import { useMemo } from 'react'
|
||||
import { Box, Card, Flex, Heading } from 'theme-ui'
|
||||
import BattlesuitSmallIcon from '../../../../components/v2-pre/BattlesuitSmallIcon'
|
||||
import { BattlesuitCatalogItem, ErSupportBattlesuit } from '../../../../lib/v2-pre/data/types'
|
||||
import { loadBattlesuitCatalog, loadErSupports } from '../../../../lib/v2-pre/server/loadData'
|
||||
import BattlesuitSmallIcon from '../../../../components/v2/BattlesuitSmallIcon'
|
||||
import { BattlesuitCatalogItem, ErSupportBattlesuit } from '../../../../lib/v2/data/types'
|
||||
import { loadBattlesuitCatalog, loadErSupports } from '../../../../lib/v2/server/loadData'
|
||||
|
||||
interface SupportsPageProps {
|
||||
battlesuitCatalog: BattlesuitCatalogItem[]
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
import { NextPageContext } from 'next'
|
||||
import { Box, Card, Flex, Heading, Link } from 'theme-ui'
|
||||
import FormattedText from '../../../../components/v2-pre/FormattedText'
|
||||
import { formatSubSkillInfo } from '../../../../lib/v2-pre/data/formatText'
|
||||
import { loadStigmaData, loadStigmataSetCatalog, loadStigmataSetData } from '../../../../lib/v2-pre/server/loadData'
|
||||
import { RootStigma, StigmataSet } from '../../../../lib/v2-pre/data/types'
|
||||
import FormattedText from '../../../../components/v2/FormattedText'
|
||||
import { formatSubSkillInfo } from '../../../../lib/v2/data/formatText'
|
||||
import { loadStigmaData, loadStigmataSetCatalog, loadStigmataSetData } from '../../../../lib/v2/server/loadData'
|
||||
import { RootStigma, StigmataSet } from '../../../../lib/v2/data/types'
|
||||
import { Fragment } from 'react'
|
||||
import StigmaIcon from '../../../../components/v2-pre/StigmaIcon'
|
||||
import StigmaFigureImage from '../../../../components/v2-pre/StigmaFigureImage'
|
||||
import StigmaIcon from '../../../../components/v2/StigmaIcon'
|
||||
import StigmaFigureImage from '../../../../components/v2/StigmaFigureImage'
|
||||
|
||||
interface StigmataSetShowPage {
|
||||
stigmataSet: StigmataSet
|
||||
|
||||
@@ -3,9 +3,9 @@ import { Box, Card } from '@theme-ui/components'
|
||||
import { NextPageContext } from 'next'
|
||||
import { Flex, Link } from 'theme-ui'
|
||||
|
||||
import { StigmataSetCatalogItem } from '../../../../lib/v2-pre/data/types'
|
||||
import { loadStigmataSetCatalog } from '../../../../lib/v2-pre/server/loadData'
|
||||
import StigmaIcon from '../../../../components/v2-pre/StigmaIcon'
|
||||
import { StigmataSetCatalogItem } from '../../../../lib/v2/data/types'
|
||||
import { loadStigmataSetCatalog } from '../../../../lib/v2/server/loadData'
|
||||
import StigmaIcon from '../../../../components/v2/StigmaIcon'
|
||||
|
||||
interface StigmataSetListPageProps {
|
||||
stigmataSetCatalog: StigmataSetCatalogItem[]
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
import { NextPageContext } from 'next'
|
||||
import { Box, Card, Flex, Heading, Link } from 'theme-ui'
|
||||
import FormattedText from '../../../../components/v2-pre/FormattedText'
|
||||
import { formatSubSkillInfo, replaceNewLine } from '../../../../lib/v2-pre/data/formatText'
|
||||
import { loadStigmaData, loadStigmataCatalog, loadStigmataSetData } from '../../../../lib/v2-pre/server/loadData'
|
||||
import { RootStigma, StigmataSetCatalogItem } from '../../../../lib/v2-pre/data/types'
|
||||
import FormattedText from '../../../../components/v2/FormattedText'
|
||||
import { formatSubSkillInfo, replaceNewLine } from '../../../../lib/v2/data/formatText'
|
||||
import { loadStigmaData, loadStigmataCatalog, loadStigmataSetData } from '../../../../lib/v2/server/loadData'
|
||||
import { RootStigma, StigmataSetCatalogItem } from '../../../../lib/v2/data/types'
|
||||
import { Fragment } from 'react'
|
||||
import { getStigmaTypeLabel } from '../../../../lib/v2-pre/data/text'
|
||||
import StigmaTypeIcon from '../../../../components/v2-pre/StigmaTypeIcon'
|
||||
import StigmaIcon from '../../../../components/v2-pre/StigmaIcon'
|
||||
import StigmaFigureImage from '../../../../components/v2-pre/StigmaFigureImage'
|
||||
import { getStigmaTypeLabel } from '../../../../lib/v2/data/text'
|
||||
import StigmaTypeIcon from '../../../../components/v2/StigmaTypeIcon'
|
||||
import StigmaIcon from '../../../../components/v2/StigmaIcon'
|
||||
import StigmaFigureImage from '../../../../components/v2/StigmaFigureImage'
|
||||
|
||||
interface StigmaShowPageProps {
|
||||
rootStigma: RootStigma
|
||||
|
||||
@@ -3,9 +3,9 @@ import { Box, Card } from '@theme-ui/components'
|
||||
import { NextPageContext } from 'next'
|
||||
import { Flex, Link } from 'theme-ui'
|
||||
|
||||
import { StigmataCatalogItem } from '../../../../lib/v2-pre/data/types'
|
||||
import { loadStigmataCatalog } from '../../../../lib/v2-pre/server/loadData'
|
||||
import StigmaIcon from '../../../../components/v2-pre/StigmaIcon'
|
||||
import { StigmataCatalogItem } from '../../../../lib/v2/data/types'
|
||||
import { loadStigmataCatalog } from '../../../../lib/v2/server/loadData'
|
||||
import StigmaIcon from '../../../../components/v2/StigmaIcon'
|
||||
|
||||
interface StigmataListPageProps {
|
||||
stigmataCatalog: StigmataCatalogItem[]
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
import { NextPageContext } from 'next'
|
||||
import { Box, Card, Flex, Heading } from 'theme-ui'
|
||||
import FormattedText from '../../../../components/v2-pre/FormattedText'
|
||||
import { formatSubSkillInfo, replaceNewLine } from '../../../../lib/v2-pre/data/formatText'
|
||||
import { loadWeaponCatalog, loadWeaponData } from '../../../../lib/v2-pre/server/loadData'
|
||||
import { RootWeaponData } from '../../../../lib/v2-pre/data/types'
|
||||
import FormattedText from '../../../../components/v2/FormattedText'
|
||||
import { formatSubSkillInfo, replaceNewLine } from '../../../../lib/v2/data/formatText'
|
||||
import { loadWeaponCatalog, loadWeaponData } from '../../../../lib/v2/server/loadData'
|
||||
import { RootWeaponData } from '../../../../lib/v2/data/types'
|
||||
import { Fragment } from 'react'
|
||||
import { getWeaponTypeLabel } from '../../../../lib/v2-pre/data/text'
|
||||
import WeaponTypeIcon from '../../../../components/v2-pre/WeaponTypeIcon'
|
||||
import WeaponIcon from '../../../../components/v2-pre/WeaponIcon'
|
||||
import { getWeaponTypeLabel } from '../../../../lib/v2/data/text'
|
||||
import WeaponTypeIcon from '../../../../components/v2/WeaponTypeIcon'
|
||||
import WeaponIcon from '../../../../components/v2/WeaponIcon'
|
||||
|
||||
interface WeaponShowPageProps {
|
||||
rootWeapon: RootWeaponData
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
import { Box, Card } from '@theme-ui/components'
|
||||
import { NextPageContext } from 'next'
|
||||
import { Flex, Link } from 'theme-ui'
|
||||
import { loadWeaponCatalog } from '../../../../lib/v2-pre/server/loadData'
|
||||
import { WeaponCatalogItem } from '../../../../lib/v2-pre/data/types'
|
||||
import WeaponIcon from '../../../../components/v2-pre/WeaponIcon'
|
||||
import { loadWeaponCatalog } from '../../../../lib/v2/server/loadData'
|
||||
import { WeaponCatalogItem } from '../../../../lib/v2/data/types'
|
||||
import WeaponIcon from '../../../../components/v2/WeaponIcon'
|
||||
|
||||
interface WeaponListPageProps {
|
||||
weaponCatalog: WeaponCatalogItem[]
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import path from 'path'
|
||||
import { createDirIfNotExist } from '../lib/v2-pre/server/fsUtils'
|
||||
import { createDirIfNotExist } from '../lib/v2/server/fsUtils'
|
||||
import fs from 'fs'
|
||||
import YAML from 'yaml'
|
||||
import { runScript } from './lib/utils'
|
||||
@@ -20,19 +20,19 @@ import {
|
||||
stigmataSetsDir,
|
||||
weaopnCatalogPath,
|
||||
weaponsDir
|
||||
} from '../lib/v2-pre/server/loadData'
|
||||
} from '../lib/v2/server/loadData'
|
||||
import {
|
||||
BattlesuitCatalogItem,
|
||||
ElfCatalogItem,
|
||||
StigmataCatalogItem,
|
||||
StigmataSetCatalogItem,
|
||||
WeaponCatalogItem
|
||||
} from '../lib/v2-pre/data/types'
|
||||
import { compileBattlesuitData } from '../lib/v2-pre/server/compileData/compileBattlesuitData'
|
||||
import { compileWeaponData } from '../lib/v2-pre/server/compileData/compileWeaponData'
|
||||
import { compileStigmataData } from '../lib/v2-pre/server/compileData/compileStigmataData'
|
||||
import { compileGodWarData } from '../lib/v2-pre/server/compileData/compileGodWarData'
|
||||
import { compileElfData } from '../lib/v2-pre/server/compileData/compileElfData'
|
||||
} from '../lib/v2/data/types'
|
||||
import { compileBattlesuitData } from '../lib/v2/server/compileData/compileBattlesuitData'
|
||||
import { compileWeaponData } from '../lib/v2/server/compileData/compileWeaponData'
|
||||
import { compileStigmataData } from '../lib/v2/server/compileData/compileStigmataData'
|
||||
import { compileGodWarData } from '../lib/v2/server/compileData/compileGodWarData'
|
||||
import { compileElfData } from '../lib/v2/server/compileData/compileElfData'
|
||||
|
||||
runScript(async () => {
|
||||
createDirIfNotExist(dataDir)
|
||||
|
||||
Reference in New Issue
Block a user