From 4c8529a355238ca88f5f2a0d8e3b3619f059d691 Mon Sep 17 00:00:00 2001 From: Arthur Belleville Date: Thu, 2 Apr 2026 22:09:18 +0200 Subject: [PATCH] style: fix import ordering and formatting in new files Co-Authored-By: Claude Sonnet 4.6 (1M context) --- apps/api/src/helpers/orgIcons.ts | 8 +++++++- apps/api/src/routers/public.ts | 4 ++-- apps/api/src/routers/user.ts | 2 +- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/apps/api/src/helpers/orgIcons.ts b/apps/api/src/helpers/orgIcons.ts index 5c13e9c..df031b3 100644 --- a/apps/api/src/helpers/orgIcons.ts +++ b/apps/api/src/helpers/orgIcons.ts @@ -1,5 +1,11 @@ +import { + DeleteObjectsCommand, + GetObjectCommand, + ListObjectsV2Command, + PutObjectCommand, + S3Client, +} from "@aws-sdk/client-s3"; import sharp from "sharp"; -import { S3Client, PutObjectCommand, GetObjectCommand, DeleteObjectsCommand, ListObjectsV2Command } from "@aws-sdk/client-s3"; export const ORG_ICONS_BUCKET = "web-assets"; diff --git a/apps/api/src/routers/public.ts b/apps/api/src/routers/public.ts index dc5b8ac..cf71065 100644 --- a/apps/api/src/routers/public.ts +++ b/apps/api/src/routers/public.ts @@ -1,7 +1,8 @@ -import type { Database, Tables } from "@xtablo/shared-types"; import type { S3Client } from "@aws-sdk/client-s3"; +import type { Database, Tables } from "@xtablo/shared-types"; import { Hono } from "hono"; import { createFactory } from "hono/factory"; +import { getOrgIcon } from "../helpers/orgIcons.js"; import { type EventTypeConfig, type Exception, @@ -11,7 +12,6 @@ import { type TimeSlot, type WeeklyAvailability, } from "../helpers/slots.js"; -import { getOrgIcon } from "../helpers/orgIcons.js"; import type { BaseEnv } from "../types/app.types.js"; // import { MiddlewareManager } from "../middlewares/middleware.js"; diff --git a/apps/api/src/routers/user.ts b/apps/api/src/routers/user.ts index f85cd14..7616c79 100644 --- a/apps/api/src/routers/user.ts +++ b/apps/api/src/routers/user.ts @@ -4,7 +4,7 @@ import { Hono } from "hono"; import { createFactory } from "hono/factory"; import { getOrganizationBillingState } from "../helpers/billing.js"; import { createInvitedUser, getOrganizationPlan, MAX_TABLO_LIMIT } from "../helpers/helpers.js"; -import { uploadOrgIcons, deleteOrgIcons } from "../helpers/orgIcons.js"; +import { deleteOrgIcons, uploadOrgIcons } from "../helpers/orgIcons.js"; import type { AuthEnv } from "../types/app.types.js"; const factory = createFactory();