Interface ContentfulNodeParameters

Source
interface ContentfulNodeParameters {
    additionalFields?:
        | { rawData?: boolean }
        | {
            content_type?: string;
            equal?: string;
            exclude?: string;
            exist?: string;
            include?: string;
            notEqual?: string;
            order?: string;
            query?: string;
            rawData?: boolean;
            select?: string;
        }
        | {
            equal?: string;
            exclude?: string;
            exist?: string;
            include?: string;
            notEqual?: string;
            order?: string;
            query?: string;
            rawData?: boolean;
            select?: string;
        };
    assetId?: string;
    contentTypeId?: string;
    entryId?: string;
    environmentId?: string;
    limit?: number;
    operation?: "get"
    | "getAll";
    resource?:
        | "locale"
        | "asset"
        | "contentType"
        | "entry"
        | "space";
    returnAll?: boolean;
    source?: "deliveryApi"
    | "previewApi";
}

Properties§

Source§

readonly additionalFields?:
    | { rawData?: boolean }
    | {
        content_type?: string;
        equal?: string;
        exclude?: string;
        exist?: string;
        include?: string;
        notEqual?: string;
        order?: string;
        query?: string;
        rawData?: boolean;
        select?: string;
    }
    | {
        equal?: string;
        exclude?: string;
        exist?: string;
        include?: string;
        notEqual?: string;
        order?: string;
        query?: string;
        rawData?: boolean;
        select?: string;
    }

Default: {}

Source§

readonly assetId?: string

Source§

readonly contentTypeId?: string

Source§

readonly entryId?: string

Source§

readonly environmentId?: string

The ID for the Contentful environment (e.g. master, staging, etc.). Depending on your plan, you might not have environments. In that case use "master". Default: "master"

Source§

readonly limit?: number

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

Source§

readonly operation?: "get" | "getAll"

Default: "get"

Source§

readonly resource?: "locale" | "asset" | "contentType" | "entry" | "space"

Default: "entry"

Source§

readonly returnAll?: boolean

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

Source§

readonly source?: "deliveryApi" | "previewApi"

Pick where your data comes from, delivery or preview API Default: "deliveryApi"