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:
Siddharth Kumar Sah
2026-04-14 22:01:04 +08:00
parent 85b1cfc10a
commit 3982ff4136
3 changed files with 20 additions and 20 deletions
@@ -1,3 +1,4 @@
import { TOOLS } from "@ashim/shared";
import {
closestCenter,
DndContext,
@@ -14,7 +15,6 @@ import {
verticalListSortingStrategy,
} from "@dnd-kit/sortable";
import { CSS } from "@dnd-kit/utilities";
import { TOOLS } from "@ashim/shared";
import * as icons from "lucide-react";
import { GripVertical, Plus, X } from "lucide-react";
import { useEffect, useMemo, useState } from "react";
+17 -17
View File
@@ -20,18 +20,18 @@ export function PrivacyPolicyPage() {
<section>
<h2 className="text-lg font-semibold text-foreground mb-2">Overview</h2>
<p>
ashim is a self-hosted, open-source image processing application. Your
instance is operated and controlled entirely by whoever deployed it. This policy
describes how the software itself handles your data.
ashim is a self-hosted, open-source image processing application. Your instance is
operated and controlled entirely by whoever deployed it. This policy describes how the
software itself handles your data.
</p>
</section>
<section>
<h2 className="text-lg font-semibold text-foreground mb-2">Local Processing</h2>
<p>
All image processing happens entirely on the server where ashim is deployed.
Your images are never sent to external services or third-party APIs. When you upload
an image for processing, it is handled in memory or in temporary storage on the host
All image processing happens entirely on the server where ashim is deployed. Your
images are never sent to external services or third-party APIs. When you upload an
image for processing, it is handled in memory or in temporary storage on the host
machine and is not retained after the operation completes.
</p>
</section>
@@ -39,9 +39,9 @@ export function PrivacyPolicyPage() {
<section>
<h2 className="text-lg font-semibold text-foreground mb-2">No Tracking or Analytics</h2>
<p>
ashim does not include any telemetry, analytics, or tracking. No data is
collected about your usage patterns, and no information is sent to ashim
developers or any third party. There are no cookies used for tracking purposes.
ashim does not include any telemetry, analytics, or tracking. No data is collected
about your usage patterns, and no information is sent to ashim developers or any third
party. There are no cookies used for tracking purposes.
</p>
</section>
@@ -58,26 +58,26 @@ export function PrivacyPolicyPage() {
<section>
<h2 className="text-lg font-semibold text-foreground mb-2">No Third-Party Services</h2>
<p>
ashim does not integrate with or send data to any external services.
AI-powered features (background removal, upscaling, OCR) run locally using bundled
models. No cloud APIs are involved.
ashim does not integrate with or send data to any external services. AI-powered
features (background removal, upscaling, OCR) run locally using bundled models. No
cloud APIs are involved.
</p>
</section>
<section>
<h2 className="text-lg font-semibold text-foreground mb-2">Open Source</h2>
<p>
ashim is fully open source. You can audit the source code to verify these
claims at any time. Transparency is a core principle of this project.
ashim is fully open source. You can audit the source code to verify these claims at
any time. Transparency is a core principle of this project.
</p>
</section>
<section>
<h2 className="text-lg font-semibold text-foreground mb-2">Your Control</h2>
<p>
Because ashim is self-hosted, the instance operator has full control over all
data. You can delete your data at any time by removing files from the server or
deleting the database. No data exists outside of your infrastructure.
Because ashim is self-hosted, the instance operator has full control over all data.
You can delete your data at any time by removing files from the server or deleting the
database. No data exists outside of your infrastructure.
</p>
</section>
</div>