Interface StrapiNodeParameters

Source
interface StrapiNodeParameters {
    authentication?: "password" | "token";
    columns?: string;
    contentType?: string;
    entryId?: string;
    limit?: number;
    operation?:
        | "create"
        | "get"
        | "getAll"
        | "update"
        | "delete";
    options?: {
        publicationState?: "live"
        | "preview";
        sort?: string;
        where?: string;
    };
    resource?: "entry";
    returnAll?: boolean;
    updateKey?: string;
}

Properties§

Source§

readonly authentication?: "password" | "token"

Default: "password"

Source§

readonly columns?: string

Comma-separated list of the properties which should used as columns for the new rows

Source§

readonly contentType?: string

Name of the content type

Source§

readonly entryId?: string

The ID of the entry to delete

Source§

readonly limit?: number

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

Source§

readonly operation?: "create" | "get" | "getAll" | "update" | "delete"

Default: "get"

Source§

readonly options?: {
    publicationState?: "live" | "preview";
    sort?: string;
    where?: string;
}

Default: {}

Source§

readonly resource?: "entry"

Default: "entry"

Source§

readonly returnAll?: boolean

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

Source§

readonly updateKey?: string

Name of the property which decides which rows in the database should be updated. Normally that would be "id". Default: "id"