Code refactoring

This commit is contained in:
2022-08-29 22:44:06 +02:00
parent 32bc925fb7
commit d99899eb16
12 changed files with 62 additions and 50 deletions

11
server/src/interfaces/IPayload.d.ts vendored Normal file
View File

@@ -0,0 +1,11 @@
/**
* Represent a download payload sent by the frontend
*/
export interface IPayload {
url: string
params: Array<string> | string,
title?: string,
thumbnail?: string,
size?: string,
}