-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4ca7fe4
commit 289927e
Showing
15 changed files
with
31 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
export interface IBaseAPISchema { | ||
packageName: string, | ||
routePrefix: string, | ||
methods: IBaseAPIMethodSchema[] | ||
} | ||
|
||
export interface IBaseAPIMethodSchema { | ||
notImplemented?: true, | ||
name: string, | ||
route: string, | ||
restMethod: string | ||
inputFormatter: any, | ||
outputFormatter: any, | ||
errors: any | ||
errorPrefix: string | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions
4
packages/web3-eth2-beaconchain/package.json → packages/web3-eth2-beacon/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
packages/web3-eth2-beaconchain/src/index.ts → packages/web3-eth2-beacon/src/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
packages/web3-eth2-beaconchain/src/schema.ts → packages/web3-eth2-beacon/src/schema.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
6 changes: 3 additions & 3 deletions
6
...eth2-beaconchain/test/constructor.test.ts → ...web3-eth2-beacon/test/constructor.test.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...es/web3-eth2-beaconchain/types/index.d.ts → packages/web3-eth2-beacon/types/index.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
import { Genesis } from '@chainsafe/lodestar-types' | ||
|
||
export interface IETH2BeaconChain { | ||
export interface IETH2Beacon { | ||
getGenesis(): Promise<Genesis> | ||
getBlockHeader(): Promise<any> | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.