feat: view album shared links ()

This commit is contained in:
Jason Rasmussen 2025-02-07 16:38:20 -05:00 committed by GitHub
parent c5360e78c5
commit 61b8eb85b5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 144 additions and 51 deletions
open-api/typescript-sdk/src

View file

@ -2762,11 +2762,15 @@ export function deleteSession({ id }: {
method: "DELETE"
}));
}
export function getAllSharedLinks(opts?: Oazapfts.RequestOpts) {
export function getAllSharedLinks({ albumId }: {
albumId?: string;
}, opts?: Oazapfts.RequestOpts) {
return oazapfts.ok(oazapfts.fetchJson<{
status: 200;
data: SharedLinkResponseDto[];
}>("/shared-links", {
}>(`/shared-links${QS.query(QS.explode({
albumId
}))}`, {
...opts
}));
}