mirror of
https://github.com/versia-pub/server.git
synced 2026-04-27 20:59:15 +02:00
refactor: 🚚 Organize code into sub-packages, instead of a single large package
This commit is contained in:
parent
79742f47dc
commit
a6d3ebbeef
366 changed files with 942 additions and 833 deletions
|
|
@ -1,9 +1,9 @@
|
|||
import { db } from "@versia/kit/db";
|
||||
import { Challenges } from "@versia/kit/tables";
|
||||
import { config } from "@versia-server/config";
|
||||
import { createChallenge } from "altcha-lib";
|
||||
import type { Challenge } from "altcha-lib/types";
|
||||
import { randomUUIDv7 } from "bun";
|
||||
import { config } from "~/config.ts";
|
||||
|
||||
export const generateChallenge = async (
|
||||
maxNumber?: number,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue