Skip to content

Commit

Permalink
Revert "Add URL blocklist (#245)"
Browse files Browse the repository at this point in the history
This reverts commit 8fd4367.
  • Loading branch information
dessalines committed Mar 14, 2024
1 parent 8fd4367 commit cb12cae
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 14 deletions.
2 changes: 1 addition & 1 deletion 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 <tyhou13@gmx.com>",
"license": "AGPL-3.0",
"main": "./dist/index.js",
Expand Down
1 change: 0 additions & 1 deletion src/index.ts
Expand Up @@ -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";
Expand Down
1 change: 0 additions & 1 deletion src/types/EditSite.ts
Expand Up @@ -44,7 +44,6 @@ export interface EditSite {
captcha_difficulty?: string;
allowed_instances?: Array<string>;
blocked_instances?: Array<string>;
blocked_urls?: Array<string>;
taglines?: Array<string>;
registration_mode?: RegistrationMode;
reports_email_admins?: boolean;
Expand Down
2 changes: 0 additions & 2 deletions src/types/GetSiteResponse.ts
Expand Up @@ -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";
Expand All @@ -17,5 +16,4 @@ export interface GetSiteResponse {
discussion_languages: Array<LanguageId>;
taglines: Array<Tagline>;
custom_emojis: Array<CustomEmojiView>;
blocked_urls: Array<LocalSiteUrlBlocklist>;
}
1 change: 0 additions & 1 deletion src/types/LemmyErrorType.ts
Expand Up @@ -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" }
Expand Down
8 changes: 0 additions & 8 deletions src/types/LocalSiteUrlBlocklist.ts

This file was deleted.

0 comments on commit cb12cae

Please sign in to comment.