1
Fork 0
mirror of https://github.com/diced/zipline.git synced 2025-04-11 23:31:17 -05:00

chore: narrower typing

This commit is contained in:
Jay 2025-02-16 16:12:58 -08:00
parent 982584c94d
commit f2fceda2fb
No known key found for this signature in database
GPG key ID: 97C2E533F17AF0EB

View file

@ -1,11 +1,12 @@
import type { File, User, Url } from '@prisma/client';
import type { File, Url } from '@prisma/client';
import { bytesToHuman } from './bytes';
import Logger from 'lib/logger';
import type { UserExtended } from 'middleware/withZipline';
export type ParseValue = {
file?: Omit<Partial<File>, 'password'>;
url?: Url;
user?: User;
user?: Omit<UserExtended, 'password' | 'secret' | 'totpSecret' | 'ratelimit'>;
link?: string;
raw_link?: string;