Represents a stored item with metadata.

interface Item {
    createdAt: Date;
    key: string;
    namespace: string[];
    updatedAt: Date;
    value: Record<string, any>;
}

Properties

createdAt: Date

Timestamp of item creation.

key: string

Unique identifier within the namespace.

namespace: string[]

Hierarchical path defining the collection in which this document resides. Represented as an array of strings, allowing for nested categorization. For example: ["documents", "user123"]

updatedAt: Date

Timestamp of last update.

value: Record<string, any>

The stored data as an object. Keys are filterable.