Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Nov 8, 2022. It is now read-only.

Commitf9157e2

Browse files
committed
fix(comments): adjust fields
1 parente342523 commitf9157e2

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

‎lib/groupher_server_web/schema/Helper/fields.ex‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,13 +164,14 @@ defmodule GroupherServerWeb.Schema.Helper.Fields do
164164
field(:emotions,:comment_emotions)
165165
field(:meta,:comment_meta)
166166
field(:replies_count,:integer)
167-
field(:reply_to,:comment_reply)
168167
field(:thread,:string)
169168
field(:viewer_has_upvoted,:boolean)
170169
field(:thread,:string)
171170
field(:replies_count,:integer)
172171

173172
field(:is_deleted,:boolean)
173+
field(:is_archived,:boolean)
174+
field(:archived_at,:datetime)
174175

175176
timestamp_fields()
176177
end

‎lib/groupher_server_web/schema/cms/cms_types.ex‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,7 @@ defmodule GroupherServerWeb.Schema.CMS.Types do
307307

308308
object:commentdo
309309
comment_general_fields()
310+
field(:reply_to,:comment_reply)
310311

311312
field(:replies,list_of(:comment_reply))
312313
field(:article,:common_article)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp