dimensions-ai
Version:
A generalized AI Competition framework that allows you to create any competition you want in any language you want with no hassle.
15 lines (14 loc) • 526 B
TypeScript
import { Request } from 'express';
import { Database } from '../../Plugin/Database';
export interface UploadData {
file: string;
name: string;
playerID: string;
botdir: string;
originalFile: string;
}
/**
* Returns path to unzipped bot contents and the main file. If user provided, will only handle upload if user
* matches playerID given
*/
export declare const handleBotUpload: (req: Request<import("express-serve-static-core").ParamsDictionary>, user?: Database.PublicUser) => Promise<UploadData[]>;