* initial commit * add lists * update permissions * fix waypoint create * needs_full_sync for activitypub trails * fixes build issues * fix list get * further CSRF protection * update API docs * adds rate limiter * fix tiptap mentions * a bit more cleanup of main.go * Fix migration order * fixes reviewed notes * require context for activitpub server calls * improve hashing for identifier * fix copy paste error * fix sync trail/list issues * fix summit log/comment duplicates * adaptions after trail merge * fix dockerignore --------- Co-authored-by: Christian Beutel <> Co-authored-by: slothful-vassal <89943360+slothful-vassal@users.noreply.github.com>
25 lines
516 B
TypeScript
25 lines
516 B
TypeScript
import type { User } from "../user";
|
|
|
|
export interface Actor {
|
|
id?: string;
|
|
username: string;
|
|
preferred_username: string;
|
|
domain?: string;
|
|
summary?: string;
|
|
published?: string;
|
|
follower_count?: number,
|
|
following_count?: number,
|
|
iri: string;
|
|
inbox: string;
|
|
outbox?: string;
|
|
icon?: string;
|
|
followers?: string;
|
|
following?: string;
|
|
isLocal: boolean;
|
|
public_key: string;
|
|
last_fetched: string;
|
|
user?: string
|
|
expand?: {
|
|
user?: User
|
|
}
|
|
} |