feat: oci image

This commit is contained in:
April John 2024-05-09 23:07:20 +02:00
parent 42133b257b
commit 5db0f6a37a
Signed by: aprl
GPG key ID: BCB934A2909C5460
4 changed files with 30 additions and 7 deletions

View file

@ -44,6 +44,7 @@ mod error;
mod http;
mod objects;
mod utils;
//mod lysand;
#[derive(Debug, Serialize, Deserialize)]
struct Response {

View file

@ -1,5 +1,8 @@
use crate::{
activities::{create_post::CreatePost, follow::{self, Follow}},
activities::{
create_post::CreatePost,
follow::{self, Follow},
},
database::{State, StateHandle},
entities::{self, user},
error::Error,
@ -42,7 +45,7 @@ pub struct DbUser {
pub enum PersonAcceptedActivities {
CreateNote(CreatePost),
Follow(Follow),
Accept(follow::Accept)
Accept(follow::Accept),
}
impl DbUser {