From 981c866930de1552338f81d43b5c01431f480759 Mon Sep 17 00:00:00 2001 From: biosfood Date: Mon, 31 Jul 2023 12:01:53 +0200 Subject: [PATCH] change moderator view to be a listing type --- src/types/GetPosts.ts | 1 - src/types/ListingType.ts | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/types/GetPosts.ts b/src/types/GetPosts.ts index d00b539..5198bfa 100644 --- a/src/types/GetPosts.ts +++ b/src/types/GetPosts.ts @@ -11,6 +11,5 @@ export interface GetPosts { community_id?: CommunityId; community_name?: string; saved_only?: boolean; - moderator_view?: boolean; auth?: string; } diff --git a/src/types/ListingType.ts b/src/types/ListingType.ts index 794aca9..f392b20 100644 --- a/src/types/ListingType.ts +++ b/src/types/ListingType.ts @@ -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 ListingType = "All" | "Local" | "Subscribed"; +export type ListingType = "All" | "Local" | "Subscribed" | "Moderator View";