@xjin-lab/pixnix
Version:
41 lines • 948 B
TypeScript
import { Readable } from "stream";
export interface IImagePayload {
filename: string;
file: Readable;
height?: number;
width?: number;
quality?: number;
relativePath: string;
mimetype?: string;
metadata?: Record<string, any>;
}
export interface IVideoPayload {
filename: string;
file: Readable;
relativePath: string;
mimetype?: string;
metadata?: Record<string, any>;
}
export interface IAudioPayload {
filename: string;
file: Readable;
relativePath: string;
mimetype?: string;
metadata?: Record<string, any>;
}
export interface IDocument {
filename: string;
file: Readable;
relativePath: string;
mimetype?: string;
metadata?: Record<string, any>;
}
export interface IGenerateVideoPayload {
filename: string;
image: string;
audio: string;
relativePath: string;
height: number;
width: number;
}
//# sourceMappingURL=IPayload.d.ts.map