chore: ⬆️ Upgrade dependencies

This commit is contained in:
Jesse Wierzbinski 2025-12-10 21:26:02 +01:00
parent a951a08073
commit b35e54c9b4
No known key found for this signature in database
11 changed files with 370 additions and 285 deletions

View file

@ -1,18 +1,14 @@
import { defineCommand } from "@clerc/core";
import { User } from "@versia-server/kit/db";
import chalk from "chalk";
// @ts-expect-error - Root import is required or the Clec type definitions won't work
// biome-ignore lint/correctness/noUnusedImports: Root import is required or the Clec type definitions won't work
import { defineCommand, type Root } from "clerc";
import ora from "ora";
import { retrieveUser } from "../utils.ts";
export const refetchUserCommand = defineCommand(
{
name: "user refetch",
description: "Refetches user data from their remote instance.",
parameters: ["<handle>"],
},
async (context) => {
export const refetchUserCommand = defineCommand({
name: "user refetch",
description: "Refetches user data from their remote instance.",
parameters: ["<handle>"],
handler: async (context) => {
const { handle } = context.parameters;
const user = await retrieveUser(handle);
@ -40,4 +36,4 @@ export const refetchUserCommand = defineCommand(
spinner.succeed(`User ${chalk.gray(user.data.username)} refetched.`);
},
);
});