- Consolidate SQLite database and file storage into `data/` directory. - Update `src/index.ts` to ensure `data` and `data/files` directories exist on startup. - Update `src/db.ts` to use hardcoded `file:./data/data.db` path. - Update `prisma.config.ts` to use absolute path to `data/data.db` for CLI compatibility. - Update `.gitignore` to ignore `data/` directory entirely. - Remove `.env.example` and `.env.test` as they are no longer needed. - Fix TS2307 typecheck error by adding `*.webp` declaration to `src/env.d.ts`.
12 lines
192 B
TypeScript
12 lines
192 B
TypeScript
/// <reference types="bun-types" />
|
|
|
|
declare module '*.html' {
|
|
const content: string
|
|
export default content
|
|
}
|
|
|
|
declare module '*.webp' {
|
|
const content: string
|
|
export default content
|
|
}
|