Add more utilities, implement Accept and Reject objects

This commit is contained in:
Jesse Wierzbinski 2023-09-18 10:29:56 -10:00
parent 4d0283caf0
commit 1a1bee83a7
No known key found for this signature in database
GPG key ID: F9A1E418934E40B0
9 changed files with 230 additions and 25 deletions

View file

@ -31,6 +31,13 @@ export interface ConfigType {
url_scheme_whitelist: string[];
};
defaults: {
visibility: string;
language: string;
avatar: string;
header: string;
};
activitypub: {
use_tombstones: boolean;
reject_activities: string[];
@ -134,6 +141,12 @@ export const configDefaults: ConfigType = {
"ssb",
],
},
defaults: {
visibility: "public",
language: "en",
avatar: "",
header: "",
},
activitypub: {
use_tombstones: true,
reject_activities: [],