mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 05:49:16 +01:00
Add more utilities, implement Accept and Reject objects
This commit is contained in:
parent
4d0283caf0
commit
1a1bee83a7
9 changed files with 230 additions and 25 deletions
|
|
@ -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: [],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue