From 9c9a5b2a1ede786ed1f2fcb3e9c052d2d61a4ee3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=83=A4=E3=83=BC=E3=83=B3=E6=A7=98?= Date: Wed, 14 Aug 2024 02:26:00 +0000 Subject: [PATCH] docs: delete solar-network/interactive --- zh/solar-network/interactive.md | 50 --------------------------------- 1 file changed, 50 deletions(-) delete mode 100644 zh/solar-network/interactive.md diff --git a/zh/solar-network/interactive.md b/zh/solar-network/interactive.md deleted file mode 100644 index 6fc2a45..0000000 --- a/zh/solar-network/interactive.md +++ /dev/null @@ -1,50 +0,0 @@ ---- -title: Interactive -description: Solar Network 中的社交平台 -published: true -date: 2024-07-24T07:38:53.655Z -tags: solar network, interactive -editor: markdown -dateCreated: 2024-07-24T07:03:49.107Z ---- - -Interactive 译为互动,是 Solar Network 中的社交平台。 - -## 帖子 - -Post 帖子是 Interactive 上组成内容的基本单位。用户可以借助帖子来表达他们的观点、情绪、分享生活中发生的事情。 - -用户可以通过主界面的「添加」按钮创建帖子,前提用户需要拥有 `CreatePosts` 权限节点。 -帖子可以接受回复、转贴,详细的帖子操作可以长按帖子展开帖子操作。 - -帖子还可以接受「反应」,该功能维护帖子内容下方的 “快速操作” 区的帖子评论旁边。反应可以被添加和移除,只需点击对应想添加或移除的反应即可。 - -### 结构定义 - -```typescript -export interface Post { - id: number; - created_at: Date; - updated_at: Date; - deleted_at?: Date; - type: string; - body: any; - language: string; - tags: any[]; - categories: any[]; - reactions: { [ id: string ]: number }; - replies: Post[]; - reply_id?: number; - repost_id?: number; - realm_id?: number; - reply_to?: Post; - repost_to?: Post; - realm?: Realm; - is_draft: boolean; - published_at: Date; - published_until?:Date; - author_id: number; - author: Account; - metric: Metric; -} -``` \ No newline at end of file