Explicitly specifying an object in Prisma with its foreign relationships
ADirs) and documents (ADocs). Directories and documents can have a parent directory, which is a foreign key.
I can write queries to retrieve directories and their children (childDirs, childDocs) without issue, but if I specify a directory as a state variable in a client component with useState, the type definition for ADir that I get from importing @prisma/clientdoes not have the children as a property.
I've circumvented this issue by extending the type with my own interface, but I feel like it's a messy fix. Any tips? Thanks....export type Dir = Awaited<ReturnType<typeof getDir>>[number];
export type Dir = Awaited<ReturnType<typeof getDir>>[number];
Error when running `drizzle-kit push:mysql` to a Planetscale database
drizzle-kit push:mysql:
```bash
drizzle-kit push:mysql...
Headless UI Transitions
how can I invoke a trpc call inside a nested function?
Counting rows in Drizzle ORM
Does App Router have getStaticPaths? Does it even need that?
Pull template repository
TypeError: client[procedureType] is not a function weirdness
Invalid env variables Nextjs
Weird type errors with next.js and drizzle
Memoize function in typescript
Clerk: Is it possible to create custom metadata on signup using Clerk?
ct3a update/diff tool URL?
How to properly setup next auth for a discord dashboard
setTimeout with T3 stack not working. Sorry for not got GUD

icon in mobile app
Same side panel on different routes
How to upload blob from audio recorder?
startUpload([blob]) but it tells me, "Type 'Blob' is missing the following properties from type 'File': lastModified, webkitRelativePath."
(The audio blob comes from https://www.npmjs.com/package/react-audio-voice-recorder.)...Optimistic updates type error [Symbol.iterator]()