mirror of
https://github.com/versia-pub/activitypub.git
synced 2026-03-13 10:59:17 +01:00
feat: AP webfinger
This commit is contained in:
parent
f22cae919f
commit
b1c78822de
6 changed files with 88 additions and 25 deletions
|
|
@ -71,14 +71,14 @@ impl DbUser {
|
|||
#[serde(rename_all = "camelCase")]
|
||||
pub struct Person {
|
||||
#[serde(rename = "type")]
|
||||
kind: PersonType,
|
||||
preferred_username: String,
|
||||
name: String,
|
||||
summary: Option<String>,
|
||||
url: Url,
|
||||
id: ObjectId<user::Model>,
|
||||
inbox: Url,
|
||||
public_key: PublicKey,
|
||||
pub kind: PersonType,
|
||||
pub preferred_username: String,
|
||||
pub name: String,
|
||||
pub summary: Option<String>,
|
||||
pub url: Url,
|
||||
pub id: ObjectId<user::Model>,
|
||||
pub inbox: Url,
|
||||
pub public_key: PublicKey,
|
||||
}
|
||||
|
||||
#[async_trait::async_trait]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue