Object Store
A Void Merge service has access to an object store.
Put data into the store.
const { meta } = await VM.objPut({
meta: VM.ObjMeta.fromParts({ appPath: "test-path" }),
data: new TextEncoder().encode("test-data"),
});
Get data from the store.
const { data } = await VM.objGet({
meta: VM.ObjMeta.fromParts({ appPath: "test-path" }),
});
List data from the store.
const { metaList } = await VM.objList({
appPathPrefix: "test-",
createdGt: 0,
limit: 50,
});