- Notifications
You must be signed in to change notification settings - Fork1.1k
Commitf31af9c
committed
feat: add structured response for invalidate prebuilds API
Changes:- Add InvalidatePrebuildsResponse type with Count and Workspaces fields- Update API handler to return list of invalidated workspace IDs- Update SDK client to parse structured response- Remove error messages in favor of structured data- Simplify logging (success/failure counts)Response structure:{ "count": 5, "workspaces": ["uuid1", "uuid2", ...]}1 parente2a0039 commitf31af9c
2 files changed
+23
-20
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1206 | 1206 | | |
1207 | 1207 | | |
1208 | 1208 | | |
1209 | | - | |
1210 | | - | |
| 1209 | + | |
| 1210 | + | |
| 1211 | + | |
1211 | 1212 | | |
1212 | 1213 | | |
1213 | 1214 | | |
1214 | 1215 | | |
1215 | 1216 | | |
1216 | | - | |
1217 | | - | |
| 1217 | + | |
1218 | 1218 | | |
1219 | 1219 | | |
1220 | 1220 | | |
| |||
1240 | 1240 | | |
1241 | 1241 | | |
1242 | 1242 | | |
1243 | | - | |
1244 | 1243 | | |
1245 | 1244 | | |
1246 | 1245 | | |
| |||
1249 | 1248 | | |
1250 | 1249 | | |
1251 | 1250 | | |
1252 | | - | |
| 1251 | + | |
1253 | 1252 | | |
1254 | 1253 | | |
1255 | 1254 | | |
1256 | 1255 | | |
1257 | | - | |
1258 | | - | |
| 1256 | + | |
| 1257 | + | |
1259 | 1258 | | |
1260 | 1259 | | |
1261 | | - | |
1262 | | - | |
1263 | | - | |
1264 | | - | |
1265 | | - | |
1266 | | - | |
1267 | | - | |
1268 | | - | |
| 1260 | + | |
| 1261 | + | |
| 1262 | + | |
1269 | 1263 | | |
1270 | 1264 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
508 | 508 | | |
509 | 509 | | |
510 | 510 | | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
511 | 519 | | |
512 | 520 | | |
513 | 521 | | |
514 | | - | |
| 522 | + | |
515 | 523 | | |
516 | 524 | | |
517 | 525 | | |
518 | 526 | | |
519 | 527 | | |
520 | | - | |
| 528 | + | |
521 | 529 | | |
522 | 530 | | |
523 | 531 | | |
524 | 532 | | |
525 | | - | |
| 533 | + | |
526 | 534 | | |
527 | 535 | | |
528 | | - | |
| 536 | + | |
| 537 | + | |
529 | 538 | | |
0 commit comments
Comments
(0)