Code refactoring
This commit is contained in:
11
server/src/interfaces/IPayload.d.ts
vendored
Normal file
11
server/src/interfaces/IPayload.d.ts
vendored
Normal 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,
|
||||
}
|
||||
Reference in New Issue
Block a user