mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
feat: tool-first workflow polish -- fix tests, lint cleanup
- Remove obsolete fullscreen redirect test (route deleted in Task 3) - Update dropzone test strings to match new i18n values - Fix categories count in i18n locale test (12 -> 24) - Add chart-maker to no-dropzone exempt list in tool-registry test - Auto-fix import ordering (Biome) in popular tools route and landing config
This commit is contained in:
@@ -94,7 +94,6 @@ import { registerOcrPdf } from "./ocr-pdf.js";
|
||||
import { registerOptimizeForWeb } from "./optimize-for-web.js";
|
||||
import { registerOrganizePdf } from "./organize-pdf.js";
|
||||
import { registerPassportPhoto } from "./passport-photo.js";
|
||||
import { registerPopularTools } from "./popular.js";
|
||||
import { registerPdfMetadata } from "./pdf-metadata.js";
|
||||
import { registerPdfPageNumbers } from "./pdf-page-numbers.js";
|
||||
import { registerPdfToImage } from "./pdf-to-image.js";
|
||||
@@ -103,6 +102,7 @@ import { registerPdfToWord } from "./pdf-to-word.js";
|
||||
import { registerPdfaConvert } from "./pdfa-convert.js";
|
||||
import { registerPitchShift } from "./pitch-shift.js";
|
||||
import { registerPixelate } from "./pixelate.js";
|
||||
import { registerPopularTools } from "./popular.js";
|
||||
import { registerPowerpointToPdf } from "./powerpoint-to-pdf.js";
|
||||
import { registerProtectPdf } from "./protect-pdf.js";
|
||||
import { registerQrGenerate } from "./qr-generate.js";
|
||||
|
||||
@@ -1,12 +1,21 @@
|
||||
import { sql } from "drizzle-orm";
|
||||
import type { FastifyInstance } from "fastify";
|
||||
import { db } from "../../db/index.js";
|
||||
import { jobs } from "../../db/schema.js";
|
||||
import { sql } from "drizzle-orm";
|
||||
|
||||
const DEFAULT_POPULAR = [
|
||||
"resize", "crop", "compress", "convert", "remove-background",
|
||||
"upscale", "merge-pdf", "watermark-text", "compress-video",
|
||||
"trim-video", "convert-audio", "compress-pdf",
|
||||
"resize",
|
||||
"crop",
|
||||
"compress",
|
||||
"convert",
|
||||
"remove-background",
|
||||
"upscale",
|
||||
"merge-pdf",
|
||||
"watermark-text",
|
||||
"compress-video",
|
||||
"trim-video",
|
||||
"convert-audio",
|
||||
"compress-pdf",
|
||||
];
|
||||
|
||||
export async function registerPopularTools(app: FastifyInstance) {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { defineConfig } from "astro/config";
|
||||
import tailwindcss from "@tailwindcss/vite";
|
||||
import sitemap from "@astrojs/sitemap";
|
||||
import tailwindcss from "@tailwindcss/vite";
|
||||
import { defineConfig } from "astro/config";
|
||||
|
||||
export default defineConfig({
|
||||
site: "https://snapotter.com",
|
||||
|
||||
Reference in New Issue
Block a user