Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
File size: 334 Bytes
5916048 62b480a 5916048 03ce1cf 5916048 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
export interface ApiCollection {
key: string
endpoints: Array<ApiRoute>
wip?: boolean
}
export interface ApiRoute {
method: 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH'
path: string,
parameters?: any,
body?: Array<Body>
}
export interface Body {
key: string
label: string
required?: boolean
defaultValue?: any
} |