From 5566125d4761b6954d996d2de06f39e66e0053c6 Mon Sep 17 00:00:00 2001 From: SleeplessOne1917 <28871516+SleeplessOne1917@users.noreply.github.com> Date: Sat, 23 Mar 2024 21:49:46 -0400 Subject: [PATCH 1/2] Add changes for PostView and CommentView (#252) * Add changes for PostView and CommentView * Re-add other types --------- --- src/types/CommentView.ts | 1 + src/types/PostView.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/src/types/CommentView.ts b/src/types/CommentView.ts index 5143bf3..966dae4 100644 --- a/src/types/CommentView.ts +++ b/src/types/CommentView.ts @@ -13,6 +13,7 @@ export interface CommentView { community: Community; counts: CommentAggregates; creator_banned_from_community: boolean; + banned_from_community: boolean; creator_is_moderator: boolean; creator_is_admin: boolean; subscribed: SubscribedType; diff --git a/src/types/PostView.ts b/src/types/PostView.ts index 0318974..6a531ef 100644 --- a/src/types/PostView.ts +++ b/src/types/PostView.ts @@ -10,6 +10,7 @@ export interface PostView { creator: Person; community: Community; creator_banned_from_community: boolean; + banned_from_community: boolean; creator_is_moderator: boolean; creator_is_admin: boolean; counts: PostAggregates; From 72fd5c65092a69121625fc0103f25b94ea198935 Mon Sep 17 00:00:00 2001 From: SleeplessOne1917 <28871516+SleeplessOne1917@users.noreply.github.com> Date: Sat, 23 Mar 2024 22:06:30 -0400 Subject: [PATCH 2/2] Add pacakge manager to package.json (#253) Co-authored-by: SleeplessOne1917 --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index f7ee5e3..13710cc 100644 --- a/package.json +++ b/package.json @@ -50,5 +50,6 @@ "style": "module", "parser": "typescript" } - } + }, + "packageManager": "pnpm@8.15.5" }