Skip to content
Snippets Groups Projects
Commit eda0f0b5 authored by Max Frederiksen's avatar Max Frederiksen
Browse files

Merge branch 'generate-deploy-api' into 'develop'

Generate new deploy api

See merge request !589
parents cf62d75b 5f2225e0
No related branches found
No related tags found
2 merge requests!612Release 5.0.0,!589Generate new deploy api
Pipeline #211087 passed
...@@ -675,7 +675,7 @@ export type GitReferenceTypeApiArg = { ...@@ -675,7 +675,7 @@ export type GitReferenceTypeApiArg = {
gitReference: string; gitReference: string;
}; };
export type InfoFromUserNameApiResponse = export type InfoFromUserNameApiResponse =
/** status 200 Information about the current user */ UserInfoResponse[]; /** status 200 Information about the current user */ UserInfoResponse;
export type InfoFromUserNameApiArg = { export type InfoFromUserNameApiArg = {
/** The username to retrieve info from - optional. If no user name provided the backend will look up for currently logged in user name */ /** The username to retrieve info from - optional. If no user name provided the backend will look up for currently logged in user name */
userName?: string; userName?: string;
...@@ -760,7 +760,6 @@ export type JobEntry = { ...@@ -760,7 +760,6 @@ export type JobEntry = {
deploymentId?: number; deploymentId?: number;
gitProjectId?: number; gitProjectId?: number;
gitReference?: string; gitReference?: string;
status?: "UNKNOWN" | "QUEUED" | "RUNNING" | "FAILED" | "SUCCESSFUL";
host?: DeploymentHostInfo; host?: DeploymentHostInfo;
}; };
export type BatchJob = { export type BatchJob = {
...@@ -787,12 +786,12 @@ export type BatchUndeploymentRequest = { ...@@ -787,12 +786,12 @@ export type BatchUndeploymentRequest = {
undeployments?: UndeploymentRequest[]; undeployments?: UndeploymentRequest[];
}; };
export type DeploymentRequest = { export type DeploymentRequest = {
iocId?: number; iocId: number;
sourceVersion?: string; sourceVersion?: string;
hostId?: string; hostId: string;
}; };
export type BatchDeploymentRequest = { export type BatchDeploymentRequest = {
deployments?: DeploymentRequest[]; deployments: DeploymentRequest[];
}; };
export type ActiveDeployment = { export type ActiveDeployment = {
host?: DeploymentHostInfo; host?: DeploymentHostInfo;
...@@ -926,11 +925,11 @@ export type RecordDetails = { ...@@ -926,11 +925,11 @@ export type RecordDetails = {
description?: string; description?: string;
recordType?: string; recordType?: string;
aliasFor?: string; aliasFor?: string;
aliasTo?: string[];
properties?: { properties?: {
[key: string]: string; [key: string]: string;
}; };
hostId?: string; hostId?: string;
aliasTo?: string[];
}; };
export type NameResponse = { export type NameResponse = {
uuid?: string; uuid?: string;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment