docs: readme

This commit is contained in:
Dax Raad
2025-06-20 15:22:41 -04:00
parent 98734ff28c
commit 61160dc220
5 changed files with 48 additions and 24 deletions

View File

@@ -70,4 +70,11 @@ export namespace Share {
.then((x) => x.json())
.then((x) => x as { url: string; secret: string })
}
export async function remove(id: string) {
return fetch(`${URL}/share_delete`, {
method: "POST",
body: JSON.stringify({ id }),
}).then((x) => x.json())
}
}