This commit is contained in:
Kalle
2025-06-11 18:59:54 +03:00
committed by GitHub
parent c36b450382
commit 45cf5ba5cf
78 changed files with 103 additions and 97 deletions

View File

@@ -1,6 +1,6 @@
import fs from "node:fs";
import path from "node:path";
import { z } from "zod";
import { z } from "zod/v4";
import badgesJson from "../app/features/badges/homemade.json" with {
type: "json",
};

View File

@@ -8,7 +8,7 @@
// 5) params (weapon folder) inside dicts
import fs from "node:fs";
import { z } from "zod";
import { z } from "zod/v4";
import type { MainWeaponParams, SubWeaponParams } from "~/modules/analyzer";
import type { ParamsJson } from "~/modules/analyzer/types";
import {

View File

@@ -1,7 +1,7 @@
// for testing use the command `npx tsx ./scripts/create-league-divisions.ts 6 'https://gist.githubusercontent.com/Sendouc/38aa4d5d8426035ce178c09598ae627f/raw/17be9bb53a9f017c2097d0624f365d1c5a029f01/league.csv'`
import "dotenv/config";
import { z } from "zod";
import { z } from "zod/v4";
import { db } from "~/db/sql";
import { ADMIN_ID } from "~/features/admin/admin-constants";
import * as CalendarRepository from "~/features/calendar/CalendarRepository.server";

View File

@@ -1,4 +1,4 @@
import { z } from "zod";
import { z } from "zod/v4";
const placements = z.object({
edges: z.array(