db, add item and functions to get items

Creates item. It's pretty barebowns until I implement fetching.

I also added get functions for feed and channel to get items with.
This commit is contained in:
Julia Lange 2026-02-06 13:03:31 -08:00
parent ac6e71eb62
commit 1c3f4cc854
Signed by: Julia
SSH key fingerprint: SHA256:5DJcfxa5/fKCYn57dcabJa2vN2e6eT0pBerYi5SUbto
5 changed files with 179 additions and 2 deletions

View file

@ -4,6 +4,8 @@ mod feed;
pub use feed::Feed;
mod channel;
pub use channel::Channel;
mod item;
pub use item::Item;
macro_rules! define_key {
($name:ident) => {
@ -15,3 +17,4 @@ macro_rules! define_key {
define_key!(UserKey);
define_key!(FeedKey);
define_key!(ChannelKey);
define_key!(ItemKey);