Skip to content

Commit

Permalink
Add type WarpDeployConfigMap
Browse files Browse the repository at this point in the history
  • Loading branch information
ltyu committed Jan 24, 2025
1 parent 8c5b80b commit 7daaeff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { WarpCoreConfig } from '@hyperlane-xyz/sdk';
import type { WarpCoreConfig, WarpRouteDeployConfig } from '@hyperlane-xyz/sdk';
import { z } from 'zod';

// https://www.typescriptlang.org/docs/handbook/release-notes/typescript-4-5.html#the-awaited-type-and-promise-improvements
Expand All @@ -9,6 +9,7 @@ export type ChainAddresses = z.infer<typeof ChainAddressesSchema>;

export type WarpRouteId = string;
export type WarpRouteConfigMap = Record<WarpRouteId, WarpCoreConfig>;
export type WarpDeployConfigMap = Record<WarpRouteId, WarpRouteDeployConfig>;

export type DeepPartial<T> = T extends object
? {
Expand Down

0 comments on commit 7daaeff

Please sign in to comment.