* fix(core): add IF NOT EXISTS to migration 033 index creation The schema registry's createContentTable() creates composite indexes on content tables at creation time. When migration 033 runs on a database where tables were created after the registry added these indexes, it fails with "index already exists". Adding IF NOT EXISTS makes the migration idempotent. * refactor(smoke): trim site matrix to templates + playground, remove typechecks The smoke test matrix included every demo and template, plus typecheck cases. This was slow and redundant — typechecks are already covered by pnpm typecheck, and demos are dev targets not release artifacts. Trim to templates + playground only, and replace the sequential per-site astro build with a single recursive pnpm build. Remove the TypecheckSiteCase type and handling since smoke tests should only verify runtime behavior. * Update env * chore: add changeset for migration 033 fix
43 lines
940 B
TypeScript
43 lines
940 B
TypeScript
// Generated by EmDash on dev server start
|
|
// Do not edit manually
|
|
|
|
/// <reference types="emdash/locals" />
|
|
|
|
import type { ContentBylineCredit, PortableTextBlock } from "emdash";
|
|
|
|
export interface Page {
|
|
id: string;
|
|
slug: string | null;
|
|
status: string;
|
|
title: string;
|
|
content?: PortableTextBlock[];
|
|
createdAt: Date;
|
|
updatedAt: Date;
|
|
publishedAt: Date | null;
|
|
bylines?: ContentBylineCredit[];
|
|
}
|
|
|
|
export interface Project {
|
|
id: string;
|
|
slug: string | null;
|
|
status: string;
|
|
title: string;
|
|
featured_image: { id: string; src?: string; alt?: string; width?: number; height?: number };
|
|
client?: string;
|
|
year?: string;
|
|
summary?: string;
|
|
content?: PortableTextBlock[];
|
|
gallery?: unknown;
|
|
url?: string;
|
|
createdAt: Date;
|
|
updatedAt: Date;
|
|
publishedAt: Date | null;
|
|
bylines?: ContentBylineCredit[];
|
|
}
|
|
|
|
declare module "emdash" {
|
|
interface EmDashCollections {
|
|
pages: Page;
|
|
projects: Project;
|
|
}
|
|
} |