Skip to content

Commit

Permalink
chore(datadirect): Issue tracking
Browse files Browse the repository at this point in the history
  • Loading branch information
battis committed Jan 3, 2025
1 parent 90f7e7b commit 7438a5e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/datadirect/src/Endpoint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ import {

export type Response = JSONValue;

/*
* TODO Redefine Endpoint to avoid Payload ambiguity
* Needs separate body and searchParams, along with multiple methods at the same endpoint (cf. #63)
*/
export type Method = 'GET' | 'POST' | 'DELETE';

export type Payload = Record<string, JSONPrimitiveTypes> | JSONObject;
Expand Down

0 comments on commit 7438a5e

Please sign in to comment.