Ship file viewer, editor improvements, and private package releases
This commit is contained in:
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();
|
||||
}
|
||||
@@ -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);
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
import { handleConvert } from "../convert/service.ts";
|
||||
|
||||
export async function GET(ctx: { req: Request }): Promise<Response> {
|
||||
return handleConvert(ctx.req, "preview");
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
import { handleSource } from "../uploads/service.ts";
|
||||
|
||||
export async function GET(ctx: { req: Request }): Promise<Response> {
|
||||
return handleSource(ctx.req);
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
import { handleConvert } from "../convert/service.ts";
|
||||
|
||||
export async function GET(ctx: { req: Request }): Promise<Response> {
|
||||
return handleConvert(ctx.req, "text");
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
import { handleConvert } from "../convert/service.ts";
|
||||
|
||||
export async function GET(ctx: { req: Request }): Promise<Response> {
|
||||
return handleConvert(ctx.req, "thumb");
|
||||
}
|
||||
Reference in new issue
Block a user