Skip to content

Commit bfda9b7

Browse files
#RI-5750 - resolve comments
1 parent 03b0500 commit bfda9b7

File tree

2 files changed

+16
-17
lines changed

2 files changed

+16
-17
lines changed

redisinsight/ui/src/slices/interfaces/rdi.ts

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,12 @@ export interface IRdiPipelineStrategies {
5252

5353
export interface IConnections {
5454
[key: string]: {
55-
host: string;
56-
port: number;
57-
status: string;
58-
type: string;
59-
database: string;
60-
user: string;
55+
host: string
56+
port: number
57+
status: string
58+
type: string
59+
database: string
60+
user: string
6161
}
6262
}
6363

@@ -209,31 +209,31 @@ export enum TestConnectionStatus {
209209
}
210210

211211
interface IErrorDetail {
212-
code: string;
213-
message: string;
212+
code: string
213+
message: string
214214
}
215215

216216
interface ITargetDetail {
217-
status: TestConnectionStatus;
218-
error?: IErrorDetail;
217+
status: TestConnectionStatus
218+
error?: IErrorDetail
219219
}
220220

221221
export interface ITargets {
222-
[key: string]: ITargetDetail;
222+
[key: string]: ITargetDetail
223223
}
224224

225225
export interface TestConnectionsResponse {
226226
targets: ITargets
227227
}
228228

229229
export interface IRdiConnectionResult {
230-
target: string;
231-
error?: string;
230+
target: string
231+
error?: string
232232
}
233233

234234
export interface TransformResult {
235-
success: IRdiConnectionResult[];
236-
fail: IRdiConnectionResult[];
235+
success: IRdiConnectionResult[]
236+
fail: IRdiConnectionResult[]
237237
}
238238

239239
export interface IStateRdiTestConnections {

redisinsight/ui/src/slices/tests/rdi/pipeline.spec.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,6 @@ describe('rdi pipe slice', () => {
388388
})
389389
})
390390

391-
392391
describe('getPipelineStatus', () => {
393392
it('should set loading = true', () => {
394393
// Arrange
@@ -730,7 +729,7 @@ describe('rdi pipe slice', () => {
730729

731730
// Act
732731
await store.dispatch<any>(
733-
fetchConfigTemplate('123', 'ingest','db_type')
732+
fetchConfigTemplate('123', 'ingest', 'db_type')
734733
)
735734

736735
// Assert

0 commit comments

Comments
 (0)