mod find;
pub mod wasm;
pub mod types {
pub use fuel_indexer_schema::{
join::{JoinMetadata, RawQuery},
FtColumn,
};
pub use fuel_indexer_types::fuel::{BlockData, TxId};
pub use fuel_indexer_types::scalar::UID;
pub use fuel_indexer_lib::WasmIndexerError;
pub use fuel_indexer_types::fuel::field::*;
pub use fuel_indexer_types::{fuel, prelude::*};
pub use std::collections::{HashMap, HashSet};
}
pub mod utils {
pub use fuel_indexer_lib::utils::sha256_digest;
}
pub use anyhow;
pub use bincode;
pub use fuel_indexer_lib::{
graphql::MAX_FOREIGN_KEY_LIST_FIELDS,
utils::{deserialize, serialize},
};
pub use serde;
pub use serde_json;
pub mod prelude {
pub use super::{
bincode, deserialize, serde, serde_json, serialize, types::*, utils::*,
MAX_FOREIGN_KEY_LIST_FIELDS,
};
pub use crate::{debug, error, info, trace, warn};
}
#[macro_export]
macro_rules! error {
($($arg:tt)*) => {{
Logger::error(&format!($($arg)*))
}};
}
#[macro_export]
macro_rules! warn {
($($arg:tt)*) => {{
Logger::warn(&format!($($arg)*))
}};
}
#[macro_export]
macro_rules! info {
($($arg:tt)*) => {{
Logger::info(&format!($($arg)*))
}};
}
#[macro_export]
macro_rules! debug {
($($arg:tt)*) => {{
Logger::debug(&format!($($arg)*))
}};
}
#[macro_export]
macro_rules! trace {
($($arg:tt)*) => {{
Logger::trace(&format!($($arg)*))
}};
}