mirror of
https://github.com/LemmyNet/lemmy-js-client.git
synced 2025-01-24 19:06:26 +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",
|
"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",
|
||||||
|
|
|
@ -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 };
|
||||||
|
|
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
|
@ -3,5 +3,4 @@
|
||||||
export type UploadImageResponse = {
|
export type UploadImageResponse = {
|
||||||
image_url: string;
|
image_url: string;
|
||||||
filename: string;
|
filename: string;
|
||||||
delete_token: string;
|
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue