mirror of
https://github.com/LemmyNet/lemmy-js-client.git
synced 2025-01-24 10:55:52 +00:00
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:
parent
53a9e949e6
commit
9972e1badf
4 changed files with 2 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "lemmy-js-client",
|
||||
"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>",
|
||||
"license": "AGPL-3.0",
|
||||
"main": "./dist/index.js",
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
// 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 };
|
||||
|
|
|
@ -4,6 +4,5 @@ import type { LocalUserId } from "./LocalUserId";
|
|||
export type LocalImage = {
|
||||
local_user_id?: LocalUserId;
|
||||
pictrs_alias: string;
|
||||
pictrs_delete_token: string;
|
||||
published: string;
|
||||
};
|
||||
|
|
|
@ -3,5 +3,4 @@
|
|||
export type UploadImageResponse = {
|
||||
image_url: string;
|
||||
filename: string;
|
||||
delete_token: string;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue