-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapi-struct.ts
More file actions
71 lines (60 loc) · 2.2 KB
/
api-struct.ts
File metadata and controls
71 lines (60 loc) · 2.2 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
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 DevupGetApiStructScope<O extends string> = ConditionalScope<
DevupGetApiStruct,
O
>
export type DevupPostApiStructScope<O extends string> = ConditionalScope<
DevupPostApiStruct,
O
>
export type DevupPutApiStructScope<O extends string> = ConditionalScope<
DevupPutApiStruct,
O
>
export type DevupDeleteApiStructScope<O extends string> = ConditionalScope<
DevupDeleteApiStruct,
O
>
export type DevupPatchApiStructScope<O extends string> = ConditionalScope<
DevupPatchApiStruct,
O
>
export type DevupGetApiStructKey<O extends string> = ConditionalKeys<
DevupGetApiStructScope<O>
>
export type DevupPostApiStructKey<O extends string> = ConditionalKeys<
DevupPostApiStructScope<O>
>
export type DevupPutApiStructKey<O extends string> = ConditionalKeys<
DevupPutApiStructScope<O>
>
export type DevupDeleteApiStructKey<O extends string> = ConditionalKeys<
DevupDeleteApiStructScope<O>
>
export type DevupPatchApiStructKey<O extends string> = ConditionalKeys<
DevupPatchApiStructScope<O>
>
export type DevupApiStructScope<O extends string> = DevupGetApiStructScope<O> &
DevupPostApiStructScope<O> &
DevupPutApiStructScope<O> &
DevupDeleteApiStructScope<O> &
DevupPatchApiStructScope<O>
export type DevupApiStructKey<O extends string> = ConditionalKeys<
DevupApiStructScope<O>
>