File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
governance/xc_admin/packages/xc_admin_common/src/programs Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,9 @@ export const isAvailableOnCluster: Record<
40
40
*/
41
41
export const getConfig : {
42
42
[ ProgramType . PYTH_CORE ] : ( params : pythCore . CoreConfigParams ) => RawConfig ;
43
- [ ProgramType . PYTH_LAZER ] : ( params : pythLazer . LazerConfigParams ) => LazerConfig ;
43
+ [ ProgramType . PYTH_LAZER ] : (
44
+ params : pythLazer . LazerConfigParams ,
45
+ ) => LazerConfig ;
44
46
} = {
45
47
[ ProgramType . PYTH_CORE ] : pythCore . getConfig ,
46
48
[ ProgramType . PYTH_LAZER ] : pythLazer . getConfig ,
Original file line number Diff line number Diff line change @@ -87,7 +87,9 @@ export type DownloadableProduct = {
87
87
* Type for downloadable configuration
88
88
* Can be either a mapping of symbols to products (Core) or a LazerState (Lazer)
89
89
*/
90
- export type DownloadableConfig = Record < string , DownloadableProduct > | LazerState ;
90
+ export type DownloadableConfig =
91
+ | Record < string , DownloadableProduct >
92
+ | LazerState ;
91
93
92
94
/**
93
95
* Type for configuration that can be either RawConfig for Pyth Core or LazerConfig for Lazer
@@ -177,5 +179,4 @@ export type LazerConfig = {
177
179
programType : ProgramType . PYTH_LAZER ;
178
180
// The Lazer state data
179
181
state : LazerState ;
180
-
181
182
} ;
You can’t perform that action at this time.
0 commit comments