-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: use consistent naming of access types
We have an access type pattern for structs that contain the logic to read specific tables in the db. There were called CeramicOne{Table}, with this change they are renamed to {Table}Access. The CeramicOne prefix was meaningless and the table name alone was not enough to distinguish the type from other types related to the same entities.
- Loading branch information
1 parent
bc03421
commit ed542f2
Showing
8 changed files
with
29 additions
and
28 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,9 +1,9 @@ | ||
mod block; | ||
pub mod event; | ||
mod event; | ||
mod event_block; | ||
mod version; | ||
|
||
pub use block::CeramicOneBlock; | ||
pub use block::BlockAccess; | ||
pub use event::{EventAccess, EventRowDelivered, InsertResult, InsertedEvent}; | ||
pub use event_block::CeramicOneEventBlock; | ||
pub use version::CeramicOneVersion; | ||
pub use event_block::EventBlockAccess; | ||
pub use version::VersionAccess; |
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