working on the frontend, adding torrent page, working on show directory, working on the api

This commit is contained in:
maxDorninger
2025-05-11 10:59:38 +02:00
parent 180771882d
commit ef7b020043
164 changed files with 5389 additions and 1594 deletions

View File

@@ -0,0 +1,5 @@
import type {ParamMatcher} from '@sveltejs/kit';
export const match = ((param: string) => {
return Number.isInteger(parseInt(param, 10));
}) satisfies ParamMatcher;

6
web/src/params/uuid.ts Normal file
View File

@@ -0,0 +1,6 @@
import type {ParamMatcher} from '@sveltejs/kit';
import {validate as uuidValidate} from 'uuid';
export const match = ((param: string) => {
return uuidValidate(param);
}) satisfies ParamMatcher;