diff --git a/package.json b/package.json index 3e82c949..87e44861 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "lemmy-js-client", "description": "A javascript / typescript client for Lemmy", - "version": "0.19.4-alpha.8", + "version": "0.19.4-alpha.7", "author": "Dessalines ", "license": "AGPL-3.0", "main": "./dist/index.js", diff --git a/src/index.ts b/src/index.ts index 515a96fb..8451c143 100644 --- a/src/index.ts +++ b/src/index.ts @@ -137,7 +137,6 @@ export { ListingType } from "./types/ListingType"; export { LocalSite } from "./types/LocalSite"; export { LocalSiteId } from "./types/LocalSiteId"; export { LocalSiteRateLimit } from "./types/LocalSiteRateLimit"; -export { LocalSiteUrlBlocklist } from "./types/LocalSiteUrlBlocklist"; export { LocalUser } from "./types/LocalUser"; export { LocalUserId } from "./types/LocalUserId"; export { LocalUserView } from "./types/LocalUserView"; diff --git a/src/types/EditSite.ts b/src/types/EditSite.ts index ef98f5e1..b7b312db 100644 --- a/src/types/EditSite.ts +++ b/src/types/EditSite.ts @@ -44,7 +44,6 @@ export interface EditSite { captcha_difficulty?: string; allowed_instances?: Array; blocked_instances?: Array; - blocked_urls?: Array; taglines?: Array; registration_mode?: RegistrationMode; reports_email_admins?: boolean; diff --git a/src/types/GetSiteResponse.ts b/src/types/GetSiteResponse.ts index 04199011..ea138902 100644 --- a/src/types/GetSiteResponse.ts +++ b/src/types/GetSiteResponse.ts @@ -2,7 +2,6 @@ import type { CustomEmojiView } from "./CustomEmojiView"; import type { Language } from "./Language"; import type { LanguageId } from "./LanguageId"; -import type { LocalSiteUrlBlocklist } from "./LocalSiteUrlBlocklist"; import type { MyUserInfo } from "./MyUserInfo"; import type { PersonView } from "./PersonView"; import type { SiteView } from "./SiteView"; @@ -17,5 +16,4 @@ export interface GetSiteResponse { discussion_languages: Array; taglines: Array; custom_emojis: Array; - blocked_urls: Array; } diff --git a/src/types/LemmyErrorType.ts b/src/types/LemmyErrorType.ts index 885e9ea7..712e0717 100644 --- a/src/types/LemmyErrorType.ts +++ b/src/types/LemmyErrorType.ts @@ -125,7 +125,6 @@ export type LemmyErrorType = | { error: "couldnt_set_all_registrations_accepted" } | { error: "couldnt_set_all_email_verified" } | { error: "banned" } - | { error: "blocked_url" } | { error: "couldnt_get_comments" } | { error: "couldnt_get_posts" } | { error: "invalid_url" } diff --git a/src/types/LocalSiteUrlBlocklist.ts b/src/types/LocalSiteUrlBlocklist.ts deleted file mode 100644 index 063f3d7e..00000000 --- a/src/types/LocalSiteUrlBlocklist.ts +++ /dev/null @@ -1,8 +0,0 @@ -// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. - -export interface LocalSiteUrlBlocklist { - id: number; - url: string; - published: string; - updated?: string; -}