Ship file viewer, editor improvements, and private package releases

This commit is contained in:
Clintchiz committed 2026-09-09 11:20:11 +05:30
1 parent 645914955c
commit a4a31032b9
158 files changed
+10523 -137

No files matched your search

@@ -0,0 +1,5 @@
import { handleCapabilities } from "../convert/service.ts";
export function GET(): Response {
return handleCapabilities();
}
+9
View File
@@ -0,0 +1,9 @@
import { handleFile } from "../uploads/service.ts";
export async function GET(ctx: { req: Request }): Promise<Response> {
return handleFile(ctx.req);
}
export async function HEAD(ctx: { req: Request }): Promise<Response> {
return handleFile(ctx.req);
}
+5
View File
@@ -0,0 +1,5 @@
import { handleConvert } from "../convert/service.ts";
export async function GET(ctx: { req: Request }): Promise<Response> {
return handleConvert(ctx.req, "preview");
}
+5
View File
@@ -0,0 +1,5 @@
import { handleSource } from "../uploads/service.ts";
export async function GET(ctx: { req: Request }): Promise<Response> {
return handleSource(ctx.req);
}
+5
View File
@@ -0,0 +1,5 @@
import { handleConvert } from "../convert/service.ts";
export async function GET(ctx: { req: Request }): Promise<Response> {
return handleConvert(ctx.req, "text");
}
+5
View File
@@ -0,0 +1,5 @@
import { handleConvert } from "../convert/service.ts";
export async function GET(ctx: { req: Request }): Promise<Response> {
return handleConvert(ctx.req, "thumb");
}