mirror of
https://github.com/hay-kot/homebox.git
synced 2024-11-25 10:05:43 +00:00
10 lines
285 B
TypeScript
10 lines
285 B
TypeScript
import { BaseAPI, route } from "../base";
|
|
import { EnsureAssetIDResult } from "../types/data-contracts";
|
|
|
|
export class ActionsAPI extends BaseAPI {
|
|
ensureAssetIDs() {
|
|
return this.http.post<void, EnsureAssetIDResult>({
|
|
url: route("/actions/ensure-asset-ids"),
|
|
});
|
|
}
|
|
}
|