Manage dialog polling

This commit is contained in:
shamoon
2025-11-04 21:25:15 -08:00
parent 9b6d5faf9c
commit b8aacba499
3 changed files with 172 additions and 32 deletions

View File

@@ -22,6 +22,13 @@ export class ShareBundleService extends AbstractNameFilterService<ShareBundleSum
this.clearCache()
return this.http.post<ShareBundleSummary>(this.getResourceUrl(), payload)
}
rebuildBundle(bundleId: number): Observable<ShareBundleSummary> {
this.clearCache()
return this.http.post<ShareBundleSummary>(
this.getResourceUrl(bundleId, 'rebuild'),
{}
)
}
listAllBundles(): Observable<ShareBundleSummary[]> {
return this.list(1, 1000, 'created', true).pipe(