-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.ts
More file actions
50 lines (42 loc) · 1.05 KB
/
index.ts
File metadata and controls
50 lines (42 loc) · 1.05 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
// Custom Types (non-generated)
export { ApiError } from "./types/api.types";
export type { ApiConfig } from "./types/api.types";
export type { Config } from "./api/config";
// config functions
export { setConfig, getConfig } from "./api/config";
// Generated Types - Models
export type {
User,
CreateUser,
Request,
MakeRequest,
GenerateRequestInput,
Hotel,
CreateGuest,
UpdateGuest,
Guest,
Dev,
} from "./api/generated/models";
// Generated API Functions
export {
useGetHello,
useGetHelloName,
} from "./api/generated/endpoints/hello/hello";
export {
usePostRequest,
usePostRequestGenerate,
} from "./api/generated/endpoints/requests/requests";
export {
usePostUsers,
useGetUsersId,
} from "./api/generated/endpoints/users/users";
export {
usePostApiV1Hotels,
useGetApiV1HotelsId,
} from "./api/generated/endpoints/hotels/hotels";
export { useGetDevsName } from "./api/generated/endpoints/devs/devs";
export {
usePostApiV1Guests,
useGetApiV1GuestsId,
usePutApiV1GuestsId,
} from "./api/generated/endpoints/guests/guests";