add generic response, types and kinda start register
All checks were successful
Code quality checks / biome (push) Successful in 9s
All checks were successful
Code quality checks / biome (push) Successful in 9s
This commit is contained in:
parent
d066cc9fed
commit
1f12212d4e
4 changed files with 103 additions and 1 deletions
6
types/http.d.ts
vendored
Normal file
6
types/http.d.ts
vendored
Normal file
|
@ -0,0 +1,6 @@
|
|||
interface GenericJsonResponseOptions {
|
||||
headers?: Record<string, string>;
|
||||
message?: string;
|
||||
error?: string;
|
||||
[key: string]: unknown;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue