-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapi-struct.ts
More file actions
51 lines (40 loc) · 1.72 KB
/
api-struct.ts
File metadata and controls
51 lines (40 loc) · 1.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
import type { ConditionalKeys, ConditionalScope } from './utils'
// biome-ignore lint/suspicious/noEmptyInterface: empty interface
export interface DevupApiServers {}
// biome-ignore lint/suspicious/noEmptyInterface: empty interface
export interface DevupGetApiStruct {}
// biome-ignore lint/suspicious/noEmptyInterface: empty interface
export interface DevupPostApiStruct {}
// biome-ignore lint/suspicious/noEmptyInterface: empty interface
export interface DevupPutApiStruct {}
// biome-ignore lint/suspicious/noEmptyInterface: empty interface
export interface DevupDeleteApiStruct {}
// biome-ignore lint/suspicious/noEmptyInterface: empty interface
export interface DevupPatchApiStruct {}
// biome-ignore lint/suspicious/noEmptyInterface: empty interface
export interface DevupRequestComponentStruct {}
// biome-ignore lint/suspicious/noEmptyInterface: empty interface
export interface DevupResponseComponentStruct {}
export type DevupApiStruct = DevupGetApiStruct &
DevupPostApiStruct &
DevupPutApiStruct &
DevupDeleteApiStruct &
DevupPatchApiStruct
export type DevupGetApiStructKey<O extends string> = ConditionalKeys<
ConditionalScope<DevupGetApiStruct, O>
>
export type DevupPostApiStructKey<O extends string> = ConditionalKeys<
ConditionalScope<DevupPostApiStruct, O>
>
export type DevupPutApiStructKey<O extends string> = ConditionalKeys<
ConditionalScope<DevupPutApiStruct, O>
>
export type DevupDeleteApiStructKey<O extends string> = ConditionalKeys<
ConditionalScope<DevupDeleteApiStruct, O>
>
export type DevupPatchApiStructKey<O extends string> = ConditionalKeys<
ConditionalScope<DevupPatchApiStruct, O>
>
export type DevupApiStructKey<O extends string> = ConditionalKeys<
ConditionalScope<DevupApiStruct, O>
>