Skip to content

Commit 5b5ebb6

Browse files
committed
refactor: enhance program exports for improved modularity and clarity
1 parent 3f44ac7 commit 5b5ebb6

File tree

1 file changed

+24
-3
lines changed
  • governance/xc_admin/packages/xc_admin_common/src

1 file changed

+24
-3
lines changed

governance/xc_admin/packages/xc_admin_common/src/index.ts

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,27 @@ export * from "./deterministic_stake_accounts";
1515
export * from "./price_store";
1616
export { default as lazerIdl } from "./multisig_transaction/idl/lazer.json";
1717

18-
// Export program-related modules - new functional approach
19-
export * from "./programs/types";
20-
export * from "./programs/program_registry";
18+
export {
19+
ProgramType,
20+
PROGRAM_TYPE_NAMES,
21+
PriceRawConfig,
22+
ProductRawConfig,
23+
MappingRawConfig,
24+
RawConfig,
25+
GetConfigParams,
26+
DownloadablePriceAccount,
27+
DownloadableProduct,
28+
DownloadableConfig,
29+
ProgramConfig,
30+
ProgramInstructionAccounts,
31+
InstructionAccountsTypeMap,
32+
ValidationResult,
33+
} from "./programs/types";
34+
export {
35+
getProgramAddress,
36+
isAvailableOnCluster,
37+
getConfig,
38+
getDownloadableConfig,
39+
validateUploadedConfig,
40+
generateInstructions,
41+
} from "./programs/program_registry";

0 commit comments

Comments
 (0)