UNPKG

media-exporter-processor

Version:

Media processing API with thumbnail generation and cloud storage

156 lines 5.15 kB
declare const routes: import("hono/hono-base").HonoBase<import("hono/types").BlankEnv, { "/video": { $post: { input: { query: { lat?: string | undefined; lon?: string | undefined; alt?: string | undefined; timestamp?: string | undefined; prefix?: string | undefined; fileKey?: string | undefined; }; }; output: { success: boolean; error: string; message: string; }; outputFormat: "json"; status: 400; } | { input: { query: { lat?: string | undefined; lon?: string | undefined; alt?: string | undefined; timestamp?: string | undefined; prefix?: string | undefined; fileKey?: string | undefined; }; }; output: { success: boolean; message: string; data: { video: { key: string; url: string; size: number; }; thumbnails: { [x: number]: { key: string; url: string; size: number; }; }; duration: number; }; }; outputFormat: "json"; status: import("hono/utils/http-status").ContentfulStatusCode; } | { input: { query: { lat?: string | undefined; lon?: string | undefined; alt?: string | undefined; timestamp?: string | undefined; prefix?: string | undefined; fileKey?: string | undefined; }; }; output: { success: boolean; error: string; message: string; }; outputFormat: "json"; status: 500; }; }; } & { "/image": { $post: { input: { query: { lat?: string | undefined; lon?: string | undefined; alt?: string | undefined; timestamp?: string | undefined; prefix?: string | undefined; fileKey?: string | undefined; }; }; output: { success: boolean; error: string; message: string; }; outputFormat: "json"; status: 400; } | { input: { query: { lat?: string | undefined; lon?: string | undefined; alt?: string | undefined; timestamp?: string | undefined; prefix?: string | undefined; fileKey?: string | undefined; }; }; output: { success: boolean; message: string; data: { image: { key: string; url: string; size: number; }; thumbnails: { [x: number]: { key: string; url: string; size: number; }; }; }; }; outputFormat: "json"; status: import("hono/utils/http-status").ContentfulStatusCode; } | { input: { query: { lat?: string | undefined; lon?: string | undefined; alt?: string | undefined; timestamp?: string | undefined; prefix?: string | undefined; fileKey?: string | undefined; }; }; output: { success: boolean; error: string; message: string; }; outputFormat: "json"; status: 500; }; }; }, "/">; export declare const handler: <L extends import("hono/aws-lambda").LambdaEvent>(event: L, lambdaContext?: import("hono/aws-lambda").LambdaContext) => Promise<import("hono/aws-lambda").APIGatewayProxyResult & (L extends { multiValueHeaders: Record<string, string[]>; } ? { headers?: undefined; multiValueHeaders: Record<string, string[]>; } : { headers: Record<string, string>; multiValueHeaders?: undefined; })>; export type ApiRoutes = typeof routes; export {}; //# sourceMappingURL=all-in-one.d.ts.map