Merge branch 'main' into remove_monads

This commit is contained in:
Dessalines 2023-01-04 11:04:56 -05:00
commit 6ac60cda47

View file

@ -1,5 +1,5 @@
import { ListingType, ModlogActionType, SearchType, SortType } from "../others"; import { ListingType, ModlogActionType, SearchType, SortType } from "../others";
import { Language, Tagline } from "../source"; import { Language, RegistrationMode, Tagline } from "../source";
import { import {
AdminPurgeCommentView, AdminPurgeCommentView,
AdminPurgeCommunityView, AdminPurgeCommunityView,
@ -92,11 +92,10 @@ export interface CreateSite {
icon?: string; icon?: string;
banner?: string; banner?: string;
enable_downvotes?: boolean; enable_downvotes?: boolean;
open_registration?: boolean;
enable_nsfw?: boolean; enable_nsfw?: boolean;
community_creation_admin_only?: boolean; community_creation_admin_only?: boolean;
require_email_verification?: boolean; require_email_verification?: boolean;
require_application?: boolean; registration_mode?: RegistrationMode;
application_question?: string; application_question?: string;
private_instance?: boolean; private_instance?: boolean;
default_theme?: string; default_theme?: string;
@ -137,11 +136,10 @@ export interface EditSite {
icon?: string; icon?: string;
banner?: string; banner?: string;
enable_downvotes?: boolean; enable_downvotes?: boolean;
open_registration?: boolean;
enable_nsfw?: boolean; enable_nsfw?: boolean;
community_creation_admin_only?: boolean; community_creation_admin_only?: boolean;
require_email_verification?: boolean; require_email_verification?: boolean;
require_application?: boolean; registration_mode?: RegistrationMode;
application_question?: string; application_question?: string;
private_instance?: boolean; private_instance?: boolean;
default_theme?: string; default_theme?: string;