Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[Bug]: typescript bindings incomplete

オープン 初心者向け
#6,450 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
76/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
静か
技術スタック
typescript
領域
api

調査の方向性

packages/simplex-chat-client/typescript/src/client.ts の apiCreateGroup と apiAddMember の付近から始め、周囲の ChatClient バインディングを利用可能な chat コマンドと比較してください。stable-branch の TypeScript クライアントが、既存のバインディングスタイルに合わせて、期待される group-link の結果とエラー処理を備えた apiCreateGroupLink を公開していれば完了です。

索引モデルが issue の本文から書いたものです。

説明

hi, i found that apiCreateGroupLink is missing from the typescript bindings on branch 'stable.'
attached is a patch:

diff --git a/packages/simplex-chat-client/typescript/src/client.ts b/packages/simplex-chat-client/typescript/src/client.ts
index 12fa150fc..88a1f504e 100644
--- a/packages/simplex-chat-client/typescript/src/client.ts
+++ b/packages/simplex-chat-client/typescript/src/client.ts
@@ -255,6 +255,12 @@ export class ChatClient {
     throw new ChatCommandError("error creating group", r)
   }

+  async apiCreateGroupLink(groupId: number, memberRole: T.GroupMemberRole): Promise<T.GroupLink> {
+    const r = await this.sendChatCmd(CC.APICreateGroupLink.cmdString({groupId, memberRole}))
+    if (r.type === "groupLinkCreated") return r.groupLink
+    throw new ChatCommandError("error creating group link", r)
+  }
+
   async apiAddMember(groupId: number, contactId: number, memberRole: T.GroupMemberRole): Promise<T.GroupMember> {
     const r = await this.sendChatCmd(CC.APIAddMember.cmdString({groupId, contactId, memberRole}))
     if (r.type === "sentGroupInvitation") return r.member
主要言語
Haskell
スター
19.5k
フォーク
1.4k
平均マージ
1日 13時間
マージ済み PR(30日)
83

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

simplex-chat/simplex-chat のほかの issue

simplex-chat/simplex-chat の issue をすべて見る

似ている issue

Haskell の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。