File tree Expand file tree Collapse file tree 2 files changed +16
-17
lines changed
redisinsight/ui/src/slices Expand file tree Collapse file tree 2 files changed +16
-17
lines changed Original file line number Diff line number Diff line change @@ -52,12 +52,12 @@ export interface IRdiPipelineStrategies {
52
52
53
53
export interface IConnections {
54
54
[ 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
61
61
}
62
62
}
63
63
@@ -209,31 +209,31 @@ export enum TestConnectionStatus {
209
209
}
210
210
211
211
interface IErrorDetail {
212
- code : string ;
213
- message : string ;
212
+ code : string
213
+ message : string
214
214
}
215
215
216
216
interface ITargetDetail {
217
- status : TestConnectionStatus ;
218
- error ?: IErrorDetail ;
217
+ status : TestConnectionStatus
218
+ error ?: IErrorDetail
219
219
}
220
220
221
221
export interface ITargets {
222
- [ key : string ] : ITargetDetail ;
222
+ [ key : string ] : ITargetDetail
223
223
}
224
224
225
225
export interface TestConnectionsResponse {
226
226
targets : ITargets
227
227
}
228
228
229
229
export interface IRdiConnectionResult {
230
- target : string ;
231
- error ?: string ;
230
+ target : string
231
+ error ?: string
232
232
}
233
233
234
234
export interface TransformResult {
235
- success : IRdiConnectionResult [ ] ;
236
- fail : IRdiConnectionResult [ ] ;
235
+ success : IRdiConnectionResult [ ]
236
+ fail : IRdiConnectionResult [ ]
237
237
}
238
238
239
239
export interface IStateRdiTestConnections {
Original file line number Diff line number Diff line change @@ -388,7 +388,6 @@ describe('rdi pipe slice', () => {
388
388
} )
389
389
} )
390
390
391
-
392
391
describe ( 'getPipelineStatus' , ( ) => {
393
392
it ( 'should set loading = true' , ( ) => {
394
393
// Arrange
@@ -730,7 +729,7 @@ describe('rdi pipe slice', () => {
730
729
731
730
// Act
732
731
await store . dispatch < any > (
733
- fetchConfigTemplate ( '123' , 'ingest' , 'db_type' )
732
+ fetchConfigTemplate ( '123' , 'ingest' , 'db_type' )
734
733
)
735
734
736
735
// Assert
You can’t perform that action at this time.
0 commit comments