-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* remove mq event listener and add ci web api * make more fields have a default value * rename files in reach * delete duplicate file
- Loading branch information
Showing
40 changed files
with
127 additions
and
123 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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,6 @@ | ||
mod reach_api_cc_message; | ||
pub use reach_api_cc_message::ReachMessageCcApi; | ||
mod reach_api_cc_trigger_scene; | ||
pub use reach_api_cc_trigger_scene::ReachTriggerSceneCcApi; | ||
|
||
pub type ReachCcApi = (ReachTriggerSceneCcApi, ReachMessageCcApi); |
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,2 @@ | ||
mod reach_api_ci_message; | ||
pub use reach_api_ci_message::ReachMessageCiApi; |
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,30 @@ | ||
mod reach_api_ct_message; | ||
pub use reach_api_ct_message::ReachMessageCtApi; | ||
mod reach_api_ct_msg_log; | ||
pub use reach_api_ct_msg_log::ReachMsgLogCtApi; | ||
mod reach_api_ct_msg_signature; | ||
pub use reach_api_ct_msg_signature::ReachMsgSignatureCtApi; | ||
mod reach_api_ct_msg_template; | ||
pub use reach_api_ct_msg_template::ReachMessageTemplateCtApi; | ||
mod reach_api_ct_trigger_global; | ||
use tardis::basic::{error::TardisError, result::TardisResult}; | ||
pub use reach_api_ct_trigger_global::ReachTriggerGlobalConfigCtApi; | ||
mod reach_api_ct_trigger_instance; | ||
pub use reach_api_ct_trigger_instance::ReachTriggerInstanceConfigCtApi; | ||
|
||
pub type ReachCtApi = ( | ||
ReachMessageCtApi, | ||
ReachMsgSignatureCtApi, | ||
ReachMsgLogCtApi, | ||
ReachMessageTemplateCtApi, | ||
ReachTriggerGlobalConfigCtApi, | ||
ReachTriggerInstanceConfigCtApi, | ||
); | ||
|
||
fn map_notfound_to_false(e: TardisError) -> TardisResult<bool> { | ||
if e.code.contains("404") { | ||
Ok(false) | ||
} else { | ||
Err(e) | ||
} | ||
} |
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
support/reach/src/api/ct/msg_log.rs → .../api/reach_api_ct/reach_api_ct_msg_log.rs
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 was deleted.
Oops, something went wrong.
File renamed without changes.
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.
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.