- Added Prisma schema with Asset, Character, Equipment, Generation, Category models - Configured SQLite with LibSQL adapter - Implemented Service layer with unit tests - Implemented API layer with Hono and integration tests - Added static file serving for assets - Configured CI/CD with GitHub Actions - Added Developer Guide (AGENTS.md)
8 lines
204 B
TypeScript
8 lines
204 B
TypeScript
export const writeFile = async (
|
|
path: string,
|
|
content: Blob | string | ArrayBuffer | ArrayBufferView,
|
|
) => {
|
|
// @ts-expect-error - Bun.write accepts string path
|
|
return Bun.write(path, content)
|
|
}
|