Add repository setings
parent: tbd commit: 3b20354
1 | |
2 | |
3 | |
4 | |
5 | |
6 | |
7 | use Error; |
8 | use async_trait; |
9 | use Value; |
10 | |
11 | use crate GitBackendError; |
12 | use UserAuthenticationToken; |
13 | |
14 | use |
15 | AuthenticationTokenRequest, Instance, RegisterAccountRequest, RepositoryCreateRequest, |
16 | ; |
17 | |
18 | use |
19 | Commit, IssueLabel, Repository, RepositoryCommitBeforeRequest, RepositoryDiff, |
20 | RepositoryDiffPatchRequest, RepositoryDiffRequest, RepositoryFile, RepositoryFileFromIdRequest, |
21 | RepositoryFileInspectRequest, RepositoryIssue, RepositoryIssueLabelsRequest, |
22 | RepositoryIssuesCountRequest, RepositoryIssuesRequest, RepositorySummary, RepositoryTreeEntry, |
23 | ; |
24 | use AnySetting; |
25 | use User; |
26 | use AnyValue; |
27 | |
28 | |
29 | |
30 | async |
31 | &mut self, |
32 | user: &User, |
33 | request: &RepositoryCreateRequest, |
34 | ; |
35 | async |
36 | &mut self, |
37 | requester: , |
38 | repository: &Repository, |
39 | request: &RepositoryFileInspectRequest, |
40 | ; |
41 | async |
42 | &mut self, |
43 | requester: , |
44 | repository: &Repository, |
45 | request: &RepositoryFileFromIdRequest, |
46 | ; |
47 | async |
48 | &mut self, |
49 | requester: , |
50 | repository: &Repository, |
51 | request: &RepositoryDiffRequest, |
52 | ; |
53 | async |
54 | &mut self, |
55 | requester: , |
56 | repository: &Repository, |
57 | request: &RepositoryDiffPatchRequest, |
58 | ; |
59 | async |
60 | &mut self, |
61 | requester: , |
62 | repository: &Repository, |
63 | request: &RepositoryCommitBeforeRequest, |
64 | ; |
65 | async |
66 | &mut self, |
67 | user: &Repository, |
68 | name: &str, |
69 | ; |
70 | async ; |
71 | async |
72 | &mut self, |
73 | user: &Repository, |
74 | name: &str, |
75 | setting: &Value, |
76 | ; |
77 | async ; |
78 | |
79 | |
80 | |
81 | |
82 | &mut self, |
83 | requester: , |
84 | request: &RepositoryIssuesCountRequest, |
85 | ; |
86 | |
87 | &mut self, |
88 | requester: , |
89 | request: &RepositoryIssueLabelsRequest, |
90 | ; |
91 | |
92 | &mut self, |
93 | requester: , |
94 | request: &RepositoryIssuesRequest, |
95 | ; |
96 | |
97 | |
98 | |
99 | |
100 | async |
101 | &mut self, |
102 | request: RegisterAccountRequest, |
103 | ; |
104 | |
105 | async |
106 | &mut self, |
107 | source: &Instance, |
108 | request: AuthenticationTokenRequest, |
109 | ; |
110 | |
111 | |
112 | |
113 | |
114 | async ; |
115 | async ; |
116 | async |
117 | &mut self, |
118 | user: &User, |
119 | name: &str, |
120 | setting: &Value, |
121 | ; |
122 | async ; |
123 | async |
124 | &mut self, |
125 | requester: , |
126 | user: &User, |
127 | ; |
128 | |
129 | |
130 | |
131 | |
132 | async ; |
133 | async |
134 | &mut self, |
135 | user: &User, |
136 | name: &str, |
137 | setting: AnySetting, |
138 | ; |
139 | async |
140 | &mut self, |
141 | repository: &Repository, |
142 | name: &str, |
143 | ; |
144 | async |
145 | &mut self, |
146 | repository: &Repository, |
147 | name: &str, |
148 | setting: AnySetting, |
149 | ; |
150 | |
151 |