Skip to content

Commit 850357e

Browse files
committed
chore: format
1 parent f092ac3 commit 850357e

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

governance/xc_admin/packages/xc_admin_common/src/programs/program_registry.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@ export const isAvailableOnCluster: Record<
4040
*/
4141
export 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,

governance/xc_admin/packages/xc_admin_common/src/programs/types.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff 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
};

0 commit comments

Comments
 (0)