Repository: sunflower-farmers/sunflower-farmers
File: src/features/game/types/game.ts (TypeScript)

Code before:
import { DollName, RecipeCollectibleName, Recipes } from "../lib/crafting";
import { SeasonalCollectibleName, SeasonalTierItemName } from "./megastore";
import { TradeFood } from "../events/landExpansion/redeemTradeReward";
import {
  CalendarEvent,
  CalendarEventName,
  SeasonalEventName,
} from "./calendar";
import { VipBundle } from "../lib/vipAccess";
import { InGameTaskName } from "../events/landExpansion/completeSocialTask";
import { TwitterPost, TwitterPostName } from "./social";
import { NetworkName } from "../events/landExpansion/updateNetwork";
import { RewardBoxes, RewardBoxName } from "./rewardBoxes";
import { FloatingIslandShop, FloatingShopItemName } from "./floatingIsland";
import { Blessing } from "../lib/blessings";
import { LandBiomeName } from "features/island/biomes/biomes";
import { MonumentName } from "./monuments";
import { AOEItemName } from "../expansion/placeable/lib/collisionDetection";
import { Coordinates } from "../expansion/components/MapPlacement";
import { ClutterName } from "./clutter";
import { PetName, PetResourceName, Pets } from "./pets";
import { RockName } from "./resources";
import { PetShopItemName } from "./petShop";
import { RoninV2PackName } from "features/wallet/lib/ronin";

export type Coordinate = {
  x: number;
  y: number;
};

export type Reward = {
  coins?: number;
  sfl?: Decimal;
  items?: {
    name: InventoryItemName;
    amount: number;
  }[];
};

export type FertiliserName = "Rapid Growth";

export const FERTILISERS: Record<FertiliserName, { description: string }> = {
  "Rapid Growth": {
    description: translate("description.rapid.growth"),
  },
};

export type CropFertiliser = {
  name: CropCompostName;
  fertilisedAt: number;
};

Review comment (suggestion):
We do already have a type for this, its called `Coordinates` 😅 

Code after:
import { DollName, RecipeCollectibleName, Recipes } from "../lib/crafting";
import { SeasonalCollectibleName, SeasonalTierItemName } from "./megastore";
import { TradeFood } from "../events/landExpansion/redeemTradeReward";
import {
  CalendarEvent,
  CalendarEventName,
  SeasonalEventName,
} from "./calendar";
import { VipBundle } from "../lib/vipAccess";
import { InGameTaskName } from "../events/landExpansion/completeSocialTask";
import { TwitterPost, TwitterPostName } from "./social";
import { NetworkName } from "../events/landExpansion/updateNetwork";
import { RewardBoxes, RewardBoxName } from "./rewardBoxes";
import { FloatingIslandShop, FloatingShopItemName } from "./floatingIsland";
import { Blessing } from "../lib/blessings";
import { LandBiomeName } from "features/island/biomes/biomes";
import { MonumentName } from "./monuments";
import { AOEItemName } from "../expansion/placeable/lib/collisionDetection";
import { Coordinates } from "../expansion/components/MapPlacement";
import { ClutterName } from "./clutter";
import { PetName, PetResourceName, Pets } from "./pets";
import { RockName } from "./resources";
import { PetShopItemName } from "./petShop";
import { RoninV2PackName } from "features/wallet/lib/ronin";

export type Reward = {
  coins?: number;
  sfl?: Decimal;
  items?: {
    name: InventoryItemName;
    amount: number;
  }[];
};

export type FertiliserName = "Rapid Growth";

export const FERTILISERS: Record<FertiliserName, { description: string }> = {
  "Rapid Growth": {
    description: translate("description.rapid.growth"),
  },
};

export type CropFertiliser = {
  name: CropCompostName;
  fertilisedAt: number;
};

export type FruitFertiliser = {
  name: FruitCompostName;
  fertilisedAt: number;
};