mirror of
https://github.com/Drop-OSS/drop.git
synced 2025-11-21 20:21:10 +10:00
feat: annotated client routes
This commit is contained in:
@ -16,9 +16,9 @@ type ClientUtils<R> = {
|
||||
|
||||
const NONCE_LENIENCE = 30_000;
|
||||
|
||||
type ClientEventHandlerRequest<T> = {
|
||||
body: T;
|
||||
query: { [key: string]: string | string[] };
|
||||
type ClientEventHandlerRequest<T, Q = {[key: string]: any }> = {
|
||||
body?: T;
|
||||
query?: Q;
|
||||
};
|
||||
|
||||
interface ClientEventHandler<
|
||||
|
||||
Reference in New Issue
Block a user