From a83926229a5fdb6ef4893b5c579c09cf227911fb Mon Sep 17 00:00:00 2001 From: Guilherme Werner Date: Wed, 31 Jan 2024 12:06:13 -0300 Subject: [PATCH] Create profile.ts --- src/models/profile.ts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/models/profile.ts diff --git a/src/models/profile.ts b/src/models/profile.ts new file mode 100644 index 0000000..d07cd28 --- /dev/null +++ b/src/models/profile.ts @@ -0,0 +1,16 @@ +// Copyright (c) Tribufu. All Rights Reserved. +// SPDX-License-Identifier: MIT + +export type ProfileType = "user" | "bot" | "org"; + +export type Profile = any; + +export interface MiniProfile { + id: string, + uuid: string, + name: string, + displayName: string, + type: ProfileType, + verified: boolean, + photoUrl: string | null +}