This commit is contained in:
mbecker20
2024-04-26 01:55:04 -07:00
parent ed7e0a38d8
commit ea40073fcc
3 changed files with 28 additions and 0 deletions
+4
View File
@@ -114,6 +114,10 @@ enum ReadRequest {
GetAlerter(GetAlerter),
ListAlerters(ListAlerters),
// ==== TOML ====
ExportAllResourcesToToml(ExportAllResourcesToToml),
ExportResourcesToToml(ExportResourcesToToml),
// ==== TAG ====
GetTag(GetTag),
ListTags(ListTags),
+4
View File
@@ -86,6 +86,10 @@ export type ReadResponses = {
GetAlerter: Types.GetAlerterResponse;
ListAlerters: Types.ListAlertersResponse;
// ==== TOML ====
ExportAllResourcesToToml: Types.ExportAllResourcesToTomlResponse;
ExportResourcesToToml: Types.ExportResourcesToTomlResponse;
// ==== TAG ====
GetTag: Types.GetTagResponse;
ListTags: Types.ListTagsResponse;
+20
View File
@@ -973,6 +973,14 @@ export type GetTagResponse = Tag;
export type ListTagsResponse = Tag[];
export interface TomlResponse {
toml: string;
}
export type ExportAllResourcesToTomlResponse = TomlResponse;
export type ExportResourcesToTomlResponse = TomlResponse;
export enum Operation {
None = "None",
LaunchServer = "LaunchServer",
@@ -1720,6 +1728,16 @@ export interface ListTags {
query?: MongoDocument;
}
export interface ExportAllResourcesToToml {
}
export interface ExportResourcesToToml {
/** The targets to include in the export. */
targets: ResourceTarget[];
/** The user group names or ids to include in the export. */
user_groups: string[];
}
export interface GetUpdate {
id: string;
}
@@ -2285,6 +2303,8 @@ export type ReadRequest =
| { type: "GetAlertersSummary", params: GetAlertersSummary }
| { type: "GetAlerter", params: GetAlerter }
| { type: "ListAlerters", params: ListAlerters }
| { type: "ExportAllResourcesToToml", params: ExportAllResourcesToToml }
| { type: "ExportResourcesToToml", params: ExportResourcesToToml }
| { type: "GetTag", params: GetTag }
| { type: "ListTags", params: ListTags }
| { type: "GetUpdate", params: GetUpdate }