File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 1
1
import { IConfigurationStore } from './configuration-store/configuration-store' ;
2
2
import { hydrateConfigurationStore } from './configuration-store/configuration-store-utils' ;
3
3
import { IHttpClient } from './http-client' ;
4
- import { BanditVariation , BanditParameters , Flag } from './interfaces' ;
4
+ import {
5
+ BanditVariation ,
6
+ BanditParameters ,
7
+ Flag ,
8
+ BanditReference ,
9
+ } from './interfaces' ;
10
+
11
+ type Entry = Flag | BanditVariation [ ] | BanditParameters ;
5
12
6
13
// Requests AND stores flag configurations
7
14
export default class ConfigurationRequestor {
@@ -77,7 +84,7 @@ export default class ConfigurationRequestor {
77
84
throw new Error ( 'Bandit parameters fetched but no bandit configuration store provided' ) ;
78
85
}
79
86
const referencedModelVersions = Object . values ( banditReferences ) . map (
80
- ( banditReference : BanditReference ) => banditReference . modelVersion
87
+ ( banditReference : BanditReference ) => banditReference . modelVersion ,
81
88
) ;
82
89
83
90
const banditModelVersionsInStore = this . getLoadedBanditModelVersions (
You can’t perform that action at this time.
0 commit comments