mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
fix(lint): fix import ordering broken by @stirling-image → @ashim rename
The package scope rename changed the alphabetical position of imports (@ashim sorts before @dnd-kit; @stirling-image sorted after), causing biome's organizeImports rule to flag them as unsorted. - apps/api/src/index.ts: sort registerRestorePhoto import correctly - apps/web/src/components/tools/pipeline-builder.tsx: sort @ashim/shared import - apps/web/src/pages/privacy-policy-page.tsx: auto-format
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
import cors from "@fastify/cors";
|
|
||||||
import rateLimit from "@fastify/rate-limit";
|
|
||||||
import { isGpuAvailable } from "@ashim/ai";
|
import { isGpuAvailable } from "@ashim/ai";
|
||||||
import { APP_VERSION } from "@ashim/shared";
|
import { APP_VERSION } from "@ashim/shared";
|
||||||
|
import cors from "@fastify/cors";
|
||||||
|
import rateLimit from "@fastify/rate-limit";
|
||||||
import Fastify from "fastify";
|
import Fastify from "fastify";
|
||||||
import { env } from "./config.js";
|
import { env } from "./config.js";
|
||||||
import { db, schema } from "./db/index.js";
|
import { db, schema } from "./db/index.js";
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
import { TOOLS } from "@ashim/shared";
|
||||||
import {
|
import {
|
||||||
closestCenter,
|
closestCenter,
|
||||||
DndContext,
|
DndContext,
|
||||||
@@ -14,7 +15,6 @@ import {
|
|||||||
verticalListSortingStrategy,
|
verticalListSortingStrategy,
|
||||||
} from "@dnd-kit/sortable";
|
} from "@dnd-kit/sortable";
|
||||||
import { CSS } from "@dnd-kit/utilities";
|
import { CSS } from "@dnd-kit/utilities";
|
||||||
import { TOOLS } from "@ashim/shared";
|
|
||||||
import * as icons from "lucide-react";
|
import * as icons from "lucide-react";
|
||||||
import { GripVertical, Plus, X } from "lucide-react";
|
import { GripVertical, Plus, X } from "lucide-react";
|
||||||
import { useEffect, useMemo, useState } from "react";
|
import { useEffect, useMemo, useState } from "react";
|
||||||
|
|||||||
@@ -20,18 +20,18 @@ export function PrivacyPolicyPage() {
|
|||||||
<section>
|
<section>
|
||||||
<h2 className="text-lg font-semibold text-foreground mb-2">Overview</h2>
|
<h2 className="text-lg font-semibold text-foreground mb-2">Overview</h2>
|
||||||
<p>
|
<p>
|
||||||
ashim is a self-hosted, open-source image processing application. Your
|
ashim is a self-hosted, open-source image processing application. Your instance is
|
||||||
instance is operated and controlled entirely by whoever deployed it. This policy
|
operated and controlled entirely by whoever deployed it. This policy describes how the
|
||||||
describes how the software itself handles your data.
|
software itself handles your data.
|
||||||
</p>
|
</p>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
<h2 className="text-lg font-semibold text-foreground mb-2">Local Processing</h2>
|
<h2 className="text-lg font-semibold text-foreground mb-2">Local Processing</h2>
|
||||||
<p>
|
<p>
|
||||||
All image processing happens entirely on the server where ashim is deployed.
|
All image processing happens entirely on the server where ashim is deployed. Your
|
||||||
Your images are never sent to external services or third-party APIs. When you upload
|
images are never sent to external services or third-party APIs. When you upload an
|
||||||
an image for processing, it is handled in memory or in temporary storage on the host
|
image for processing, it is handled in memory or in temporary storage on the host
|
||||||
machine and is not retained after the operation completes.
|
machine and is not retained after the operation completes.
|
||||||
</p>
|
</p>
|
||||||
</section>
|
</section>
|
||||||
@@ -39,9 +39,9 @@ export function PrivacyPolicyPage() {
|
|||||||
<section>
|
<section>
|
||||||
<h2 className="text-lg font-semibold text-foreground mb-2">No Tracking or Analytics</h2>
|
<h2 className="text-lg font-semibold text-foreground mb-2">No Tracking or Analytics</h2>
|
||||||
<p>
|
<p>
|
||||||
ashim does not include any telemetry, analytics, or tracking. No data is
|
ashim does not include any telemetry, analytics, or tracking. No data is collected
|
||||||
collected about your usage patterns, and no information is sent to ashim
|
about your usage patterns, and no information is sent to ashim developers or any third
|
||||||
developers or any third party. There are no cookies used for tracking purposes.
|
party. There are no cookies used for tracking purposes.
|
||||||
</p>
|
</p>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
@@ -58,26 +58,26 @@ export function PrivacyPolicyPage() {
|
|||||||
<section>
|
<section>
|
||||||
<h2 className="text-lg font-semibold text-foreground mb-2">No Third-Party Services</h2>
|
<h2 className="text-lg font-semibold text-foreground mb-2">No Third-Party Services</h2>
|
||||||
<p>
|
<p>
|
||||||
ashim does not integrate with or send data to any external services.
|
ashim does not integrate with or send data to any external services. AI-powered
|
||||||
AI-powered features (background removal, upscaling, OCR) run locally using bundled
|
features (background removal, upscaling, OCR) run locally using bundled models. No
|
||||||
models. No cloud APIs are involved.
|
cloud APIs are involved.
|
||||||
</p>
|
</p>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
<h2 className="text-lg font-semibold text-foreground mb-2">Open Source</h2>
|
<h2 className="text-lg font-semibold text-foreground mb-2">Open Source</h2>
|
||||||
<p>
|
<p>
|
||||||
ashim is fully open source. You can audit the source code to verify these
|
ashim is fully open source. You can audit the source code to verify these claims at
|
||||||
claims at any time. Transparency is a core principle of this project.
|
any time. Transparency is a core principle of this project.
|
||||||
</p>
|
</p>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
<h2 className="text-lg font-semibold text-foreground mb-2">Your Control</h2>
|
<h2 className="text-lg font-semibold text-foreground mb-2">Your Control</h2>
|
||||||
<p>
|
<p>
|
||||||
Because ashim is self-hosted, the instance operator has full control over all
|
Because ashim is self-hosted, the instance operator has full control over all data.
|
||||||
data. You can delete your data at any time by removing files from the server or
|
You can delete your data at any time by removing files from the server or deleting the
|
||||||
deleting the database. No data exists outside of your infrastructure.
|
database. No data exists outside of your infrastructure.
|
||||||
</p>
|
</p>
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user