From f1bc634385fb2484ffd250b9aa61aa28d93dcb82 Mon Sep 17 00:00:00 2001 From: Francisco Solla Date: Tue, 29 Sep 2026 12:55:10 -0300 Subject: [PATCH] =?UTF-8?q?chore(C235):=20remove=20exports=20=C3=B3rf?= =?UTF-8?q?=C3=A3os=20apontados=20pelo=20knip?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/lib/contentPieceProfileWindow.ts | 2 +- src/lib/schemas/contentPiece.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/contentPieceProfileWindow.ts b/src/lib/contentPieceProfileWindow.ts index 26f7aa01..c607b352 100644 --- a/src/lib/contentPieceProfileWindow.ts +++ b/src/lib/contentPieceProfileWindow.ts @@ -29,7 +29,7 @@ export type ContentPieceProfileWindow = /** The feed post the window filter needs: the shared metadata + its timestamp. */ export type ContentPieceProfileWindowPost = ContentPieceProfilePost & { timestamp: string } -export type ContentPieceProfileWindowCandidate = { +type ContentPieceProfileWindowCandidate = { url: string shortcode: string linkOnlyReason: ContentPieceProfileLinkOnlyReason | null diff --git a/src/lib/schemas/contentPiece.ts b/src/lib/schemas/contentPiece.ts index b15e7ba6..63fefb0e 100644 --- a/src/lib/schemas/contentPiece.ts +++ b/src/lib/schemas/contentPiece.ts @@ -90,7 +90,7 @@ export const contentPieceLinkRequestSchema = z.object({ * real date, order, not in the future — so the wire never carries an * impossible window. */ -export const contentPieceProfileImportWindowSchema = z.discriminatedUnion('mode', [ +const contentPieceProfileImportWindowSchema = z.discriminatedUnion('mode', [ z.object({ mode: z.literal('recent') }), z.object({ mode: z.literal('period'),