public inbox for [email protected]
 help / color / mirror / Atom feed
From: Muhammad Rizki <[email protected]>
To: Ammar Faizi <[email protected]>
Cc: Muhammad Rizki <[email protected]>,
	Alviro Iskandar Setiawan <[email protected]>,
	Irvan Malik Azantha <[email protected]>,
	Memet Zx <[email protected]>,
	GNU/Weeb Mailing List <[email protected]>
Subject: [PATCH v2 03/14] feat(app): add app types file
Date: Sat,  7 Oct 2023 12:44:35 +0700	[thread overview]
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>

This file is for storing the type interface of the app.

Signed-off-by: Muhammad Rizki <[email protected]>
---
 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


  parent reply	other threads:[~2023-10-07  5:45 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-07  5:44 [PATCH v2 00/14] GNU/Weeb Web Migration to SvelteKit Muhammad Rizki
2023-10-07  5:44 ` [PATCH v2 01/14] refactor: migrate: migrate to sveltekit framework Muhammad Rizki
2023-10-07  5:44 ` [PATCH v2 02/14] feat(layout): add +layout.ts Muhammad Rizki
2023-10-07  5:44 ` Muhammad Rizki [this message]
2023-10-07  5:44 ` [PATCH v2 04/14] feat(lib): add API_URL and STORAGE_URL constant variable Muhammad Rizki
2023-10-07  5:44 ` [PATCH v2 05/14] feat(lib): add lib functions file Muhammad Rizki
2023-10-07  5:44 ` [PATCH v2 06/14] feat(lib): add newly created lib constants variables and functions Muhammad Rizki
2023-10-07  5:44 ` [PATCH v2 07/14] feat(lib/functions): add getRepliedMessage() function Muhammad Rizki
2023-10-07  5:44 ` [PATCH v2 08/14] feat(lib/functions): add dateFormat() function Muhammad Rizki
2023-10-07  5:44 ` [PATCH v2 09/14] feat(components): add <OrganizationMembers/> component Muhammad Rizki
2023-10-07  5:44 ` [PATCH v2 10/14] feat(components): add <RecentMessages/> component Muhammad Rizki
2023-10-07  5:44 ` [PATCH v2 11/14] feat(routes): add +page.ts Muhammad Rizki
2023-10-07  5:44 ` [PATCH v2 12/14] feat(routes/page): add +page.svelte Muhammad Rizki
2023-10-07  5:44 ` [PATCH v2 13/14] chore(README): update README.md Muhammad Rizki
2023-10-07  5:44 ` [PATCH v2 14/14] chore: remove unused files Muhammad Rizki
2023-10-09 21:22 ` [PATCH v2 00/14] GNU/Weeb Web Migration to SvelteKit Ammar Faizi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox