- Notifications
You must be signed in to change notification settings - Fork1.1k
Commit69c2c40
authored
chore: add user details to aibridge interception list endpoint (#20397)
- Adds FK from `aibridge_interceptions.initiator_id` to `users.id`- This is enforced by deleting any rows that don't have any users. Sincethis is an experimental feature AND coder never deletes user rows Ithink this is acceptable.- Adds `name` as a property on `codersdk.MinimalUser`- This matches the `visible_users` view in the database. I'm unsure why`name` wasn't already included given that `username` is.- Adds a new `initiator` field to `codersdk.AIBridgeInterception` whichcontains `codersdk.MinimalUser` (ID, username, name, avatar URL)- Removes `initiator_id` from `codersdk.AIBridgeInterception` - Should be fine since we're still in early access1 parent9da60a9 commit69c2c40
File tree
30 files changed
+329
-78
lines changed- cli
- testdata
- coderd
- apidoc
- database
- db2sdk
- dbauthz
- dbmetrics
- dbmock
- migrations
- testdata/fixtures
- queries
- codersdk
- docs/reference
- api
- cli
- enterprise/coderd
- site/src/api
- vpn
30 files changed
+329
-78
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
| |||
103 | 104 | | |
104 | 105 | | |
105 | 106 | | |
| 107 | + | |
106 | 108 | | |
107 | 109 | | |
108 | 110 | | |
| |||
111 | 113 | | |
112 | 114 | | |
113 | 115 | | |
| 116 | + | |
114 | 117 | | |
115 | 118 | | |
116 | 119 | | |
| |||
155 | 158 | | |
156 | 159 | | |
157 | 160 | | |
| 161 | + | |
158 | 162 | | |
159 | 163 | | |
160 | 164 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
192 | 202 | | |
193 | 203 | | |
194 | 204 | | |
| |||
197 | 207 | | |
198 | 208 | | |
199 | 209 | | |
200 | | - | |
201 | 210 | | |
202 | 211 | | |
203 | 212 | | |
| |||
927 | 936 | | |
928 | 937 | | |
929 | 938 | | |
930 | | - | |
| 939 | + | |
931 | 940 | | |
932 | 941 | | |
933 | 942 | | |
| |||
945 | 954 | | |
946 | 955 | | |
947 | 956 | | |
948 | | - | |
| 957 | + | |
949 | 958 | | |
950 | 959 | | |
951 | 960 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4461 | 4461 | | |
4462 | 4462 | | |
4463 | 4463 | | |
4464 | | - | |
| 4464 | + | |
4465 | 4465 | | |
4466 | 4466 | | |
4467 | 4467 | | |
| |||
5870 | 5870 | | |
5871 | 5871 | | |
5872 | 5872 | | |
5873 | | - | |
| 5873 | + | |
5874 | 5874 | | |
5875 | 5875 | | |
5876 | 5876 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4537 | 4537 | | |
4538 | 4538 | | |
4539 | 4539 | | |
4540 | | - | |
| 4540 | + | |
4541 | 4541 | | |
4542 | 4542 | | |
4543 | 4543 | | |
4544 | 4544 | | |
4545 | 4545 | | |
4546 | 4546 | | |
4547 | | - | |
| 4547 | + | |
4548 | 4548 | | |
4549 | 4549 | | |
4550 | 4550 | | |
| |||
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
0 commit comments
Comments
(0)