From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,URIBL_BLOCKED, URIBL_DBL_BLOCKED_OPENDNS autolearn=ham autolearn_force=no version=3.4.6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1696301538; bh=F7cmJACxxGU/YFYmljikPTOgquoUB+L5tMxNRpK6F6o=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=G0mZ04TXb/huDxclHWY8cKdscNpKjzaT1rrJSDzk0ef1awigebkO5XNwDfTI1NrcC w2duxalheBiOF8NO7Oe4RL2XFYAwPgUJa+JZPj8sAaljDtcFPFb3magM34R1yDbTfR qYDIc/rSu4OkIjG/n1G0i5X3HU10KixeOvcbZX8vHZo6EeqA2Qc6dIW44jPesh2lTo uO+ITVxDGV/OqlgW7tF6EZ96q9t602evACiZWmS5nKyubiOXNBDXn6bkUck9MNAWX1 eQC2PhYHWBpYAwWImilS5vPPSjJnI0hZUJ/GNV96/zypEkR4CYn0KPqy3skiPgJGjV 0KsFk6dasZvQA== Received: from localhost.localdomain (unknown [175.158.50.50]) by gnuweeb.org (Postfix) with ESMTPSA id CB25A24B8BA; Tue, 3 Oct 2023 09:52:16 +0700 (WIB) From: Muhammad Rizki To: Ammar Faizi Cc: Muhammad Rizki , Alviro Iskandar Setiawan , Irvan Malik Azantha , Memet Zx , GNU/Weeb Mailing List Subject: [PATCH v1 02/13] feat(app): add app types file Date: Tue, 3 Oct 2023 09:51:35 +0700 Message-Id: <20231003025146.1557-3-kiizuha@gnuweeb.org> X-Mailer: git-send-email 2.34.1.windows.1 In-Reply-To: <20231003025146.1557-1-kiizuha@gnuweeb.org> References: <20231003025146.1557-1-kiizuha@gnuweeb.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: This file is for storing the type interface of the app. Signed-off-by: Muhammad Rizki --- src/app.d.ts | 38 +++++++++++++++++++++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) diff --git a/src/app.d.ts b/src/app.d.ts index f59b884..1ef91f3 100644 --- a/src/app.d.ts +++ b/src/app.d.ts @@ -9,4 +9,40 @@ declare global { } } -export {}; +interface GitHubOrgsAPIResponseType { + login: string + id: number + node_id: string + avatar_url: string + gravatar_id: string + url: string + html_url: string + followers_url: string + following_url: string + gists_url: string + starred_url: string + subscriptions_url: string + organizations_url: string + repos_url: string + events_url: string + received_events_url: string + type: string + site_admin: boolean +} + +interface RecentMessagesReturnType { + user_id: number + username: string | null + first_name: string + last_name: string | null + user_photo: string | null + message_id: number + reply_to_message_id: number | null + message_type: string + text: string | null + text_entities: string | null + file: string | null + date: string +} + +export { GitHubOrgsAPIResponseType, RecentMessagesReturnType }; -- Muhammad Rizki