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<
4040 */
4141export const getConfig : {
4242 [ 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 ;
4446} = {
4547 [ ProgramType . PYTH_CORE ] : pythCore . getConfig ,
4648 [ ProgramType . PYTH_LAZER ] : pythLazer . getConfig ,
Original file line number Diff line number Diff line change @@ -87,7 +87,9 @@ export type DownloadableProduct = {
8787 * Type for downloadable configuration
8888 * Can be either a mapping of symbols to products (Core) or a LazerState (Lazer)
8989 */
90- export type DownloadableConfig = Record < string , DownloadableProduct > | LazerState ;
90+ export type DownloadableConfig =
91+ | Record < string , DownloadableProduct >
92+ | LazerState ;
9193
9294/**
9395 * Type for configuration that can be either RawConfig for Pyth Core or LazerConfig for Lazer
@@ -177,5 +179,4 @@ export type LazerConfig = {
177179 programType : ProgramType . PYTH_LAZER ;
178180 // The Lazer state data
179181 state : LazerState ;
180-
181182} ;
You can’t perform that action at this time.
0 commit comments