Revert "Upgrade linter and formatter to Ultracite" (#1226)

This commit is contained in:
josh 2025-09-21 12:03:29 +01:00 committed by GitHub
parent 0e320b391d
commit 1aff7d9868
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
177 changed files with 8334 additions and 6943 deletions

View file

@ -1,14 +1,15 @@
import type { InferUITool, UIMessage } from "ai";
import { z } from "zod";
import type { ArtifactKind } from "@/components/artifact";
import type { createDocument } from "./ai/tools/create-document";
import type { getWeather } from "./ai/tools/get-weather";
import type { requestSuggestions } from "./ai/tools/request-suggestions";
import type { updateDocument } from "./ai/tools/update-document";
import type { Suggestion } from "./db/schema";
import type { AppUsage } from "./usage";
import { z } from 'zod';
import type { getWeather } from './ai/tools/get-weather';
import type { createDocument } from './ai/tools/create-document';
import type { updateDocument } from './ai/tools/update-document';
import type { requestSuggestions } from './ai/tools/request-suggestions';
import type { InferUITool, UIMessage } from 'ai';
import type { AppUsage } from './usage';
export type DataPart = { type: "append-message"; message: string };
import type { ArtifactKind } from '@/components/artifact';
import type { Suggestion } from './db/schema';
export type DataPart = { type: 'append-message'; message: string };
export const messageMetadataSchema = z.object({
createdAt: z.string(),
@ -51,8 +52,8 @@ export type ChatMessage = UIMessage<
ChatTools
>;
export type Attachment = {
export interface Attachment {
name: string;
url: string;
contentType: string;
};
}