Completely refactor project structure
parent: tbd commit: ae8ff44
1 | |
2 | |
3 | |
4 | |
5 | |
6 | use Error; |
7 | use async_trait; |
8 | use Value; |
9 | |
10 | use crate GitBackendError; |
11 | use |
12 | |
13 | |
14 | AuthenticationTokenRequest, AuthenticationTokenResponse, RegisterAccountRequest, |
15 | RegisterAccountResponse, |
16 | , |
17 | |
18 | RepositoryCreateRequest, RepositoryCreateResponse, RepositoryFileInspectRequest, |
19 | RepositoryFileInspectionResponse, RepositoryInfoRequest, RepositoryIssueLabelsRequest, |
20 | RepositoryIssueLabelsResponse, RepositoryIssuesCountRequest, |
21 | RepositoryIssuesCountResponse, RepositoryIssuesRequest, RepositoryIssuesResponse, |
22 | , |
23 | |
24 | UserBioRequest, UserBioResponse, UserDisplayImageRequest, UserDisplayImageResponse, |
25 | UserDisplayNameRequest, UserDisplayNameResponse, |
26 | , |
27 | , |
28 | |
29 | , |
30 | , | User
31 | , |
32 | ; |
33 | |
34 | |
35 | |
36 | async |
37 | &mut self, |
38 | user: &User, |
39 | request: &RepositoryCreateRequest, |
40 | ; |
41 | async |
42 | &mut self, |
43 | requester: , |
44 | request: &RepositoryInfoRequest, |
45 | ; |
46 | async |
47 | &mut self, |
48 | requester: , |
49 | request: &RepositoryFileInspectRequest, |
50 | ; |
51 | async |
52 | &mut self, |
53 | requester: , |
54 | user: &User, |
55 | ; |
56 | |
57 | |
58 | |
59 | |
60 | &mut self, |
61 | requester: , |
62 | request: &RepositoryIssuesCountRequest, |
63 | ; |
64 | |
65 | &mut self, |
66 | requester: , |
67 | request: &RepositoryIssueLabelsRequest, |
68 | ; |
69 | |
70 | &mut self, |
71 | requester: , |
72 | request: &RepositoryIssuesRequest, |
73 | ; |
74 | |
75 | |
76 | |
77 | |
78 | async |
79 | &mut self, |
80 | request: RegisterAccountRequest, |
81 | ; |
82 | |
83 | async |
84 | &mut self, |
85 | request: AuthenticationTokenRequest, |
86 | ; |
87 | |
88 | |
89 | |
90 | |
91 | async |
92 | &mut self, |
93 | request: UserDisplayNameRequest, |
94 | ; |
95 | |
96 | async |
97 | &mut self, |
98 | request: UserDisplayImageRequest, |
99 | ; |
100 | |
101 | async ; |
102 | async ; |
103 | |
104 | async ; |
105 | async |
106 | &mut self, |
107 | user: &User, |
108 | settings: &[ ], |
109 | ; |
110 | |
111 |