InterfaceInstanceRepository

interface InstanceRepository {
    activity: {
        list(meta?: HttpMetaParams<"none">): Paginator<Activity[], undefined>;
    };
    domainBlocks: {
        fetch(meta?: HttpMetaParams<"none">): Promise<mastodon.v1.DomainBlock[]>;
    };
    extendedDescription: {
        fetch(meta?: HttpMetaParams<"none">): Promise<ExtendedDescription>;
    };
    languages: {
        list(meta?: HttpMetaParams<"none">): Promise<string[]>;
    };
    peers: {
        list(meta?: HttpMetaParams<"none">): Paginator<string[], undefined>;
    };
    translationLanguages: {
        list(meta?: HttpMetaParams<"none">): Promise<Record<string, string[]>>;
    };
    fetch(meta?: HttpMetaParams<"none">): Promise<mastodon.v1.Instance>;
}

Properties

activity: {
    list(meta?: HttpMetaParams<"none">): Paginator<Activity[], undefined>;
}

Type declaration

domainBlocks: {
    fetch(meta?: HttpMetaParams<"none">): Promise<mastodon.v1.DomainBlock[]>;
}

Type declaration

extendedDescription: {
    fetch(meta?: HttpMetaParams<"none">): Promise<ExtendedDescription>;
}

Type declaration

languages: {
    list(meta?: HttpMetaParams<"none">): Promise<string[]>;
}

Type declaration

peers: {
    list(meta?: HttpMetaParams<"none">): Paginator<string[], undefined>;
}

Type declaration

translationLanguages: {
    list(meta?: HttpMetaParams<"none">): Promise<Record<string, string[]>>;
}

Type declaration

Methods