More improvements to Webfinger/ActivityPub profile
This commit is contained in:
@@ -14,10 +14,18 @@ export namespace Pub {
|
||||
export interface Actor extends Object {
|
||||
["@context"]: [
|
||||
"https://www.w3.org/ns/activitystreams",
|
||||
"https://w3id.org/security/v1"
|
||||
"https://w3id.org/security/v1",
|
||||
],
|
||||
type: 'Person',
|
||||
name: string,
|
||||
url: string,
|
||||
icon?: string,
|
||||
image?: string,
|
||||
discoverable: boolean,
|
||||
preferredUsername: string,
|
||||
manuallyApprovesFollowers: boolean,
|
||||
indexable: boolean,
|
||||
published: string,
|
||||
inbox: string,
|
||||
publicKey: {
|
||||
id: string,
|
||||
@@ -34,6 +42,7 @@ export namespace Pub {
|
||||
|
||||
export interface Webfinger {
|
||||
subject: string,
|
||||
aliases: string[],
|
||||
links: Link[],
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user