Pictrs delete token (#446)

* no delete token

* 0.20.0-no-delete-token.1

* 0.20.0-no-delete-token.2

---------

Co-authored-by: Felix Ableitner <me@nutomic.com>
This commit is contained in:
Dessalines 2025-01-15 11:47:30 -05:00 committed by GitHub
parent 53a9e949e6
commit 9972e1badf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 2 additions and 4 deletions

View file

@ -1,7 +1,7 @@
{ {
"name": "lemmy-js-client", "name": "lemmy-js-client",
"description": "A javascript / typescript client for Lemmy", "description": "A javascript / typescript client for Lemmy",
"version": "0.20.0-modlog-combined.1", "version": "0.20.0-no-delete-token.2",
"author": "Dessalines <tyhou13@gmx.com>", "author": "Dessalines <tyhou13@gmx.com>",
"license": "AGPL-3.0", "license": "AGPL-3.0",
"main": "./dist/index.js", "main": "./dist/index.js",

View file

@ -1,3 +1,3 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
export type DeleteImageParams = { filename: string; token: string }; export type DeleteImageParams = { filename: string };

View file

@ -4,6 +4,5 @@ import type { LocalUserId } from "./LocalUserId";
export type LocalImage = { export type LocalImage = {
local_user_id?: LocalUserId; local_user_id?: LocalUserId;
pictrs_alias: string; pictrs_alias: string;
pictrs_delete_token: string;
published: string; published: string;
}; };

View file

@ -3,5 +3,4 @@
export type UploadImageResponse = { export type UploadImageResponse = {
image_url: string; image_url: string;
filename: string; filename: string;
delete_token: string;
}; };