From 3aa6a036f82e98ee9a2392bc5b20e3e6290394fa Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 24 Sep 2026 10:30:51 +0000 Subject: [PATCH 1/2] Initial plan From 7754f8bb4e4839148ce2f7716681f933f5178954 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 24 Sep 2026 10:33:16 +0000 Subject: [PATCH 2/2] Add missing TSDoc comments to transform helpers Co-authored-by: Samrudh9 <84171396+Samrudh9@users.noreply.github.com> --- db/transforms.ts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/db/transforms.ts b/db/transforms.ts index 50d830b..195a217 100644 --- a/db/transforms.ts +++ b/db/transforms.ts @@ -95,14 +95,32 @@ export function parseGamesCsv(content: string): GameCsvRow[] { })); } +/** + * Build the stock description text for a category row. + * + * @param name - Category name from the CSV row. + * @returns A consistent category description sentence. + */ export function categoryDescription(name: string): string { return `Collection of ${name} games available for crowdfunding`; } +/** + * Build the stock description text for a publisher row. + * + * @param name - Publisher name from the CSV row. + * @returns A consistent publisher description sentence. + */ export function publisherDescription(name: string): string { return `${name} is a game publisher seeking funding for exciting new titles`; } +/** + * Append the fixed crowdfunding call-to-action to a game's source description. + * + * @param rawDescription - Base description from the CSV row. + * @returns The stored description including the crowdfunding blurb. + */ export function gameDescription(rawDescription: string): string { return rawDescription + CROWDFUNDING_BLURB; }