-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
get rid of require syntax, use import from
- Loading branch information
1 parent
09087c6
commit 0e0f39b
Showing
13 changed files
with
27 additions
and
26 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
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
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
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,12 +1,12 @@ | ||
import { ContainerMessage } from '../../utils/protobuf'; | ||
import hedgehog = require('../proto/hedgehog_pb'); | ||
import { hedgehog_pb } from '../proto'; | ||
|
||
export { message, Message, ContainerMessage, ProtoContainerMessage } from '../../utils/protobuf'; | ||
|
||
export let PayloadCase = hedgehog.HedgehogMessage.PayloadCase; | ||
export let PayloadCase = hedgehog_pb.HedgehogMessage.PayloadCase; | ||
|
||
// tslint:disable-next-line:variable-name | ||
export let RequestMsg = new ContainerMessage(hedgehog.HedgehogMessage); | ||
export let RequestMsg = new ContainerMessage(hedgehog_pb.HedgehogMessage); | ||
// tslint:disable-next-line:variable-name | ||
export let ReplyMsg = new ContainerMessage(hedgehog.HedgehogMessage); | ||
export let ReplyMsg = new ContainerMessage(hedgehog_pb.HedgehogMessage); | ||
|
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
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
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,9 @@ | ||
import * as hedgehog_pb from './hedgehog_pb'; | ||
import * as ack_pb from './ack_pb'; | ||
import * as io_pb from './io_pb'; | ||
import * as motor_pb from './motor_pb'; | ||
import * as servo_pb from './servo_pb'; | ||
import * as process_pb from './process_pb'; | ||
import * as subscription_pb from './subscription_pb'; | ||
|
||
export { hedgehog_pb, ack_pb, io_pb, motor_pb, servo_pb, process_pb, subscription_pb }; |
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