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