chore: organize ts types, fix eslint errors

This commit is contained in:
Vasily Zubarev
2025-04-09 12:45:56 +02:00
parent 707a030a0a
commit 416c45d08c
29 changed files with 277 additions and 84 deletions

5
lib/actions.ts Normal file
View File

@@ -0,0 +1,5 @@
export type ActionState<T> = {
success: boolean
error?: string | null
data?: T | null
}