@admin-bro/express
Version:
This is an official AdminBro plugin which integrates it to expressjs framework
17 lines (16 loc) • 474 B
TypeScript
export declare type FormidableOptions = {
encoding?: string;
uploadDir?: string;
keepExtensions?: boolean;
type?: "multipart" | "urlencoded";
maxFileSize?: number;
maxFieldsSize?: number;
maxFields?: number;
hash?: boolean | "sha1" | "md5";
multiples?: boolean;
};
export declare type AuthenticationOptions = {
cookiePassword: string;
cookieName?: string;
authenticate: (email: string, password: string) => unknown | null;
};