Duplicated from enzostvs/hub-api-playground
5916048
1
2
3
4
5
6
7
8
9
10
export interface ApiCollection { key: string endpoints: Array<ApiRoute> } export interface ApiRoute { method: 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH' path: string, parameters?: any }