masto
    Preparing search index...

    Interface CreateDomainBlockParams

    interface CreateDomainBlockParams {
        domain: string;
        obfuscate?: boolean;
        privateComment?: string | null;
        publicComment?: string | null;
        rejectMedia?: boolean;
        rejectReports?: boolean;
        severity?: keyof DomainBlockSeverityRegistry;
    }
    Index

    Properties

    domain: string

    The domain to block federation required

    obfuscate?: boolean

    Whether to partially censor the domain when shown in public

    privateComment?: string | null

    A private note about this domain block, visible only to admins

    publicComment?: string | null

    A public note about this domain block, optionally shown on the about page

    rejectMedia?: boolean

    Whether media attachments should be rejected

    rejectReports?: boolean

    Whether reports from this domain should be rejected

    severity?: keyof DomainBlockSeverityRegistry

    Whether to apply a silence, suspend, or noop to the domain?