Store or update an item.
| Name | Type | Description |
|---|---|---|
namespace* | string[] | Hierarchical path for the item |
key* | string | Unique identifier within the namespace |
value* | Record<string, any> | Object containing the item's data |
// Simple storage
await store.put(["docs"], "report", { title: "Annual Report" });
// With specific field indexing
await store.put(
["docs"],
"report",
{
title: "Q4 Report",
chapters: [{ content: "..." }, { content: "..." }]
},
["title", "chapters[*].content"]
);