diff --git a/src/store/deployApi.ts b/src/store/deployApi.ts index 5e238428914d613dcfe66d7fded7e0f3070bd5d4..fd102b448504eb8d575dd0122543c55ce22b62af 100644 --- a/src/store/deployApi.ts +++ b/src/store/deployApi.ts @@ -675,7 +675,7 @@ export type GitReferenceTypeApiArg = { gitReference: string; }; export type InfoFromUserNameApiResponse = - /** status 200 Information about the current user */ UserInfoResponse[]; + /** status 200 Information about the current user */ UserInfoResponse; 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 */ userName?: string; @@ -760,7 +760,6 @@ export type JobEntry = { deploymentId?: number; gitProjectId?: number; gitReference?: string; - status?: "UNKNOWN" | "QUEUED" | "RUNNING" | "FAILED" | "SUCCESSFUL"; host?: DeploymentHostInfo; }; export type BatchJob = { @@ -787,12 +786,12 @@ export type BatchUndeploymentRequest = { undeployments?: UndeploymentRequest[]; }; export type DeploymentRequest = { - iocId?: number; + iocId: number; sourceVersion?: string; - hostId?: string; + hostId: string; }; export type BatchDeploymentRequest = { - deployments?: DeploymentRequest[]; + deployments: DeploymentRequest[]; }; export type ActiveDeployment = { host?: DeploymentHostInfo; @@ -926,11 +925,11 @@ export type RecordDetails = { description?: string; recordType?: string; aliasFor?: string; - aliasTo?: string[]; properties?: { [key: string]: string; }; hostId?: string; + aliasTo?: string[]; }; export type NameResponse = { uuid?: string;