Interface DisqusNodeParameters

Source
interface DisqusNodeParameters {
    additionalFields?:
        | {
            attach?: (
                | "counters"
                | "followsForum"
                | "forumCanDisableAds"
                | "forumDaysAlive"
                | "forumFeatures"
                | "forumForumCategory"
                | "forumIntegration"
                | "forumNewPolicy"
                | "forumPermissions"
            )[];
            related?: "author"[];
        }
        | {
            filters?: (
                | "Has_Bad_Word"
                | "Has_Link"
                | "Has_Low_Rep_Author"
                | "Has_Media"
                | "Is_Anonymous"
                | "Is_At_Flag_Limit"
                | "Is_Flagged"
                | "Is_Toxic"
                | "Modified_By_Rule"
                | "No_Issue"
                | "Shadow_Banned"
            )[];
            include?: "approved"[];
            order?: "asc"
            | "desc";
            query?: string;
            related?: "thread"[];
            since?: string;
        }
        | { order?: "asc"
        | "desc" }
        | {
            include?: ("open" | "closed" | "killed")[];
            order?: "asc" | "desc";
            related?: ("forum" | "author")[];
            since?: string;
            thread?: string;
        };
    id?: string;
    limit?: number;
    operation?: | "get"
    | "getCategories"
    | "getThreads"
    | "getPosts";
    resource?: "forum";
    returnAll?: boolean;
}

Properties§

Source§

readonly additionalFields?:
    | {
        attach?: (
            | "counters"
            | "followsForum"
            | "forumCanDisableAds"
            | "forumDaysAlive"
            | "forumFeatures"
            | "forumForumCategory"
            | "forumIntegration"
            | "forumNewPolicy"
            | "forumPermissions"
        )[];
        related?: "author"[];
    }
    | {
        filters?: (
            | "Has_Bad_Word"
            | "Has_Link"
            | "Has_Low_Rep_Author"
            | "Has_Media"
            | "Is_Anonymous"
            | "Is_At_Flag_Limit"
            | "Is_Flagged"
            | "Is_Toxic"
            | "Modified_By_Rule"
            | "No_Issue"
            | "Shadow_Banned"
        )[];
        include?: "approved"[];
        order?: "asc"
        | "desc";
        query?: string;
        related?: "thread"[];
        since?: string;
    }
    | { order?: "asc"
    | "desc" }
    | {
        include?: ("open" | "closed" | "killed")[];
        order?: "asc" | "desc";
        related?: ("forum" | "author")[];
        since?: string;
        thread?: string;
    }

Default: {}

Source§

readonly id?: string

The short name(aka ID) of the forum to get

Source§

readonly limit?: number

Max number of results to return Default: 100 Type options: {"minValue":1,"maxValue":100}

Source§

readonly operation?: "get" | "getCategories" | "getThreads" | "getPosts"

Default: "get"

Source§

readonly resource?: "forum"

Default: "forum"

Source§

readonly returnAll?: boolean

Whether to return all results or only up to a given limit