Skip to content

Commit

Permalink
Update trunk game version
Browse files Browse the repository at this point in the history
  • Loading branch information
O4epegb committed Aug 30, 2024
1 parent 44e4aab commit e9d4cc8
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions apps/api/prisma/seedData.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import { range } from 'lodash-es'

const trunkGameVersion = 33

export const data = {
races: [
['Ko', 'Kobold'],
Expand Down Expand Up @@ -174,7 +176,7 @@ export const data = {
baseUrl: 'https://archive.nemelex.cards',
morgueUrl: 'https://archive.nemelex.cards/morgue',
logfiles: [
...range(11, 32).map((version) => ({
...range(11, trunkGameVersion).map((version) => ({
path: `/meta/crawl-0.${version}/logfile`,
version: `0.${version}`,
morgueUrlPrefix: undefined,
Expand All @@ -193,7 +195,7 @@ export const data = {
baseUrl: 'https://crawl.dcss.io',
morgueUrl: 'https://crawl.dcss.io/crawl/morgue',
logfiles: [
...range(30, 32).map((version) => ({
...range(30, trunkGameVersion).map((version) => ({
path: `/crawl/meta/crawl-0.${version}/logfile`,
version: `0.${version}`,
morgueUrlPrefix: undefined,
Expand All @@ -212,7 +214,7 @@ export const data = {
baseUrl: 'https://crawl.xtahua.com',
morgueUrl: 'https://crawl.xtahua.com/crawl/morgue',
logfiles: [
...range(14, 32).map((version) => ({
...range(14, trunkGameVersion).map((version) => ({
path: `/crawl/meta/0.${version}/logfile`,
version: `0.${version}`,
morgueUrlPrefix: undefined,
Expand All @@ -231,7 +233,7 @@ export const data = {
baseUrl: 'https://underhound.eu',
morgueUrl: 'https://underhound.eu/crawl/morgue',
logfiles: [
...range(10, 32).map((version) => ({
...range(10, trunkGameVersion).map((version) => ({
path: `/crawl/meta/0.${version}/logfile`,
version: `0.${version}`,
morgueUrlPrefix: undefined,
Expand Down Expand Up @@ -317,7 +319,7 @@ export const data = {
baseUrl: 'https://cbro.berotato.org',
morgueUrl: 'https://cbro.berotato.org/morgue',
logfiles: [
...range(24, 32).map((version) => ({
...range(24, trunkGameVersion).map((version) => ({
path: `/meta/0.${version}/logfile`,
version: `0.${version}`,
morgueUrlPrefix: undefined,
Expand Down Expand Up @@ -355,7 +357,7 @@ export const data = {
baseUrl: 'http://crawl.akrasiac.org',
morgueUrl: 'http://crawl.akrasiac.org/rawdata',
logfiles: [
...range(4, 32).map((version) => ({
...range(4, trunkGameVersion).map((version) => ({
path: `/logfile${version.toString().padStart(2, '0')}`,
version: `0.${version}`,
morgueUrlPrefix: undefined,
Expand All @@ -379,7 +381,7 @@ export const data = {
baseUrl: 'http://lazy-life.ddo.jp/mirror',
morgueUrl: 'http://lazy-life.ddo.jp:8080/morgue',
logfiles: [
...range(14, 32).map((version) => ({
...range(14, trunkGameVersion).map((version) => ({
path: `/meta/0.${version}/logfile`,
version: `0.${version}`,
morgueUrlPrefix: undefined,
Expand All @@ -398,7 +400,7 @@ export const data = {
baseUrl: 'https://crawl.project357.org',
morgueUrl: 'https://crawl.project357.org/morgue',
logfiles: [
...range(15, 32).map((version) => ({
...range(15, trunkGameVersion).map((version) => ({
path: `/dcss-logfiles-0.${version}`,
version: `0.${version}`,
morgueUrlPrefix: undefined,
Expand Down

0 comments on commit e9d4cc8

Please sign in to comment.