This commit is contained in:
Tom Moor
2022-08-22 11:45:39 +02:00
parent c657134b46
commit 138bc367dd
4 changed files with 104 additions and 48 deletions

View File

@@ -5,12 +5,10 @@ import { Class } from "utility-types";
import RootStore from "~/stores/RootStore";
import BaseModel from "~/models/BaseModel";
import Policy from "~/models/Policy";
import { PaginationParams } from "~/types";
import { PaginationParams, PartialWithId } from "~/types";
import { client } from "~/utils/ApiClient";
import { AuthorizationError, NotFoundError } from "~/utils/errors";
type PartialWithId<T> = Partial<T> & { id: string };
export enum RPCAction {
Info = "info",
List = "list",