This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>HEDEN | Museum for Modern Art</title> | |
| <!-- Tailwind CSS --> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { pgTable, json, text, timestamp } from "drizzle-orm/pg-core"; | |
| import type { Message, Attachment } from "ai"; | |
| export const message = pgTable("message", { | |
| id: text("id").primaryKey(), | |
| chatId: text("chatId") | |
| .notNull() | |
| .references(() => chat.id), | |
| // infers: "data" | "user" | "system" | "assistant" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import type { z } from "zod"; | |
| import type { Schema, ToolSet } from "ai"; | |
| type ValueOf< | |
| ObjectType, | |
| ValueType extends keyof ObjectType = keyof ObjectType, | |
| > = ObjectType[ValueType]; | |
| type Parameters = z.ZodTypeAny | Schema<any>; | |
| type inferParameters<PARAMETERS extends Parameters> = |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Since your training cut-off date Tailwind v4.0 has been released, below any changes from Tailwind v3 are described. | |
| Whenever you are asked or want to use Tailwind, use Tailwind v4.0 and take these into account unless another version has explicitly been specified. | |
| RELEASE_BLOG_POST.mdx | |
| export const meta = { | |
| title: "Tailwind CSS v4.0", | |
| description: `We just released Tailwind CSS v4.0 — an all-new version of the framework optimized for performance and flexibility, with a reimagined configuration and customization experience, and taking full advantage of the latest advancements the web platform has to offer.`, | |
| date: "2025-01-22T22:00:00.000Z", | |
| authors: [adamwathan], |