Interface RedisNodeParameters

Source
interface RedisNodeParameters {
    channel?: string;
    expire?: boolean;
    getValues?: boolean;
    key?: string;
    keyPattern?: string;
    keyType?:
        | "string"
        | "list"
        | "automatic"
        | "hash"
        | "sets";
    list?: string;
    messageData?: string;
    operation?: | "get"
    | "delete"
    | "publish"
    | "push"
    | "set"
    | "incr"
    | "info"
    | "keys"
    | "pop";
    options?: { dotNotation?: boolean };
    propertyName?: string;
    tail?: boolean;
    ttl?: number;
    value?: string;
    valueIsJSON?: boolean;
}

Properties§

Source§

readonly channel?: string

Channel name

Source§

readonly expire?: boolean

Whether to set a timeout on key

Source§

readonly getValues?: boolean

Whether to get the value of matching keys Default: true

Source§

readonly key?: string

Name of the key to delete from Redis

Source§

readonly keyPattern?: string

The key pattern for the keys to return

Source§

readonly keyType?: "string" | "list" | "automatic" | "hash" | "sets"

The type of the key to get Default: "automatic"

Source§

readonly list?: string

Name of the list in Redis

Source§

readonly messageData?: string

Data to publish

Source§

readonly operation?:
    | "get"
    | "delete"
    | "publish"
    | "push"
    | "set"
    | "incr"
    | "info"
    | "keys"
    | "pop"

Default: "info"

Source§

readonly options?: { dotNotation?: boolean }

Default: {}

Source§

readonly propertyName?: string

Name of the property to write received data to. Supports dot-notation. Example: "data.person[0].name". Default: "propertyName"

Source§

readonly tail?: boolean

Whether to push or pop data from the end of the list

Source§

readonly ttl?: number

Number of seconds before key expiration Default: 60 Type options: {"minValue":1}

Source§

readonly value?: string

The value to write in Redis

Source§

readonly valueIsJSON?: boolean

Whether the value is JSON or key value pairs Default: true