forked from github-starred/komodo
add summary and update api
This commit is contained in:
@@ -16,6 +16,7 @@ export type ReadResponses = {
|
||||
FindResources: Types.FindResourcesResponse;
|
||||
|
||||
// ==== SERVER ====
|
||||
GetServersSummary: Types.GetServersSummaryResponse;
|
||||
GetServer: Types.Server;
|
||||
ListServers: Types.ServerListItem[];
|
||||
GetServerStatus: Types.GetServerStatusResponse;
|
||||
@@ -27,6 +28,7 @@ export type ReadResponses = {
|
||||
GetServerActionState: Types.ServerActionState;
|
||||
|
||||
// ==== DEPLOYMENT ====
|
||||
GetDeploymentsSummary: Types.GetDeploymentsSummaryResponse;
|
||||
GetDeployment: Types.Deployment;
|
||||
ListDeployments: Types.DeploymentListItem[];
|
||||
GetDeploymentStatus: Types.GetDeploymentStatusResponse;
|
||||
@@ -36,15 +38,18 @@ export type ReadResponses = {
|
||||
GetLog: Types.Log;
|
||||
|
||||
// ==== BUILD ====
|
||||
GetBuildsSummary: Types.GetBuildsSummaryResponse;
|
||||
GetBuild: Types.Build;
|
||||
ListBuilds: Types.BuildListItem[];
|
||||
GetBuildActionState: Types.BuildActionState;
|
||||
|
||||
// ==== BUILDER ====
|
||||
GetBuildersSummary: Types.GetBuildersSummaryResponse;
|
||||
GetBuilder: Types.Builder;
|
||||
ListBuilders: Types.Builder[];
|
||||
|
||||
// ==== REPO ====
|
||||
GetReposSummary: Types.GetReposSummaryResponse;
|
||||
GetRepo: Types.Repo;
|
||||
ListRepos: Types.RepoListItem[];
|
||||
GetRepoActionState: Types.RepoActionState;
|
||||
@@ -53,6 +58,9 @@ export type ReadResponses = {
|
||||
GetTag: Types.CustomTag;
|
||||
ListTags: Types.CustomTag[];
|
||||
|
||||
// ==== UPDATE ====
|
||||
ListUpdates: Types.Update[];
|
||||
|
||||
// ==== SERVER STATS ====
|
||||
GetAllSystemStats: Types.AllSystemStats;
|
||||
GetBasicSystemStats: Types.BasicSystemStats;
|
||||
|
||||
@@ -745,6 +745,12 @@ export interface GetBuildActionState {
|
||||
id: string;
|
||||
}
|
||||
|
||||
export interface GetBuildsSummary {
|
||||
}
|
||||
|
||||
export interface GetBuildsSummaryResponse {
|
||||
}
|
||||
|
||||
export interface GetBuilder {
|
||||
id: string;
|
||||
}
|
||||
@@ -753,6 +759,12 @@ export interface ListBuilders {
|
||||
query?: MongoDocument;
|
||||
}
|
||||
|
||||
export interface GetBuildersSummary {
|
||||
}
|
||||
|
||||
export interface GetBuildersSummaryResponse {
|
||||
}
|
||||
|
||||
export interface GetDeployment {
|
||||
id: string;
|
||||
}
|
||||
@@ -801,6 +813,12 @@ export interface GetDeploymentActionState {
|
||||
id: string;
|
||||
}
|
||||
|
||||
export interface GetDeploymentsSummary {
|
||||
}
|
||||
|
||||
export interface GetDeploymentsSummaryResponse {
|
||||
}
|
||||
|
||||
export interface GetVersion {
|
||||
}
|
||||
|
||||
@@ -830,6 +848,12 @@ export interface GetRepoActionState {
|
||||
id: string;
|
||||
}
|
||||
|
||||
export interface GetReposSummary {
|
||||
}
|
||||
|
||||
export interface GetReposSummaryResponse {
|
||||
}
|
||||
|
||||
export type Tag =
|
||||
| { type: "ResourceType", params: {
|
||||
resource: ResourceTarget["type"];
|
||||
@@ -937,6 +961,12 @@ export interface GetDockerContainers {
|
||||
server_id: string;
|
||||
}
|
||||
|
||||
export interface GetServersSummary {
|
||||
}
|
||||
|
||||
export interface GetServersSummaryResponse {
|
||||
}
|
||||
|
||||
export interface GetTag {
|
||||
id: string;
|
||||
}
|
||||
@@ -1152,6 +1182,7 @@ export type ReadRequest =
|
||||
| { type: "GetVersion", params: GetVersion }
|
||||
| { type: "GetUser", params: GetUser }
|
||||
| { type: "FindResources", params: FindResources }
|
||||
| { type: "GetServersSummary", params: GetServersSummary }
|
||||
| { type: "GetServer", params: GetServer }
|
||||
| { type: "ListServers", params: ListServers }
|
||||
| { type: "GetServerStatus", params: GetServerStatus }
|
||||
@@ -1161,6 +1192,7 @@ export type ReadRequest =
|
||||
| { type: "GetDockerImages", params: GetDockerImages }
|
||||
| { type: "GetDockerNetworks", params: GetDockerNetworks }
|
||||
| { type: "GetServerActionState", params: GetServerActionState }
|
||||
| { type: "GetDeploymentsSummary", params: GetDeploymentsSummary }
|
||||
| { type: "GetDeployment", params: GetDeployment }
|
||||
| { type: "ListDeployments", params: ListDeployments }
|
||||
| { type: "GetDeploymentStatus", params: GetDeploymentStatus }
|
||||
@@ -1168,16 +1200,20 @@ export type ReadRequest =
|
||||
| { type: "GetDeployedVersion", params: GetDeployedVersion }
|
||||
| { type: "GetDeploymentStats", params: GetDeploymentStats }
|
||||
| { type: "GetLog", params: GetLog }
|
||||
| { type: "GetBuildsSummary", params: GetBuildsSummary }
|
||||
| { type: "GetBuild", params: GetBuild }
|
||||
| { type: "ListBuilds", params: ListBuilds }
|
||||
| { type: "GetBuildActionState", params: GetBuildActionState }
|
||||
| { type: "GetBuildersSummary", params: GetBuildersSummary }
|
||||
| { type: "GetBuilder", params: GetBuilder }
|
||||
| { type: "ListBuilders", params: ListBuilders }
|
||||
| { type: "GetReposSummary", params: GetReposSummary }
|
||||
| { type: "GetRepo", params: GetRepo }
|
||||
| { type: "ListRepos", params: ListRepos }
|
||||
| { type: "GetRepoActionState", params: GetRepoActionState }
|
||||
| { type: "GetTag", params: GetTag }
|
||||
| { type: "ListTags", params: ListTags }
|
||||
| { type: "ListUpdates", params: ListUpdates }
|
||||
| { type: "GetAllSystemStats", params: GetAllSystemStats }
|
||||
| { type: "GetBasicSystemStats", params: GetBasicSystemStats }
|
||||
| { type: "GetCpuUsage", params: GetCpuUsage }
|
||||
|
||||
Reference in New Issue
Block a user