From 7fa3386cba0fa0558a11f956cf67c3aae5544a56 Mon Sep 17 00:00:00 2001 From: Guilherme Werner Date: Tue, 30 Jan 2024 16:10:28 -0300 Subject: [PATCH] Create cluster.ts --- src/models/cluster.ts | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/models/cluster.ts diff --git a/src/models/cluster.ts b/src/models/cluster.ts new file mode 100644 index 0000000..490bd32 --- /dev/null +++ b/src/models/cluster.ts @@ -0,0 +1,22 @@ +// Copyright (c) Tribufu. All Rights Reserved. +// SPDX-License-Identifier: MIT + +import { MiniProfile } from "./profile"; + +export interface Cluster { + id: string, + name: string, + description: string | null, + packageId: string, + websiteUrl: string | null, + bannerUrl: string | null, + ownerId: string | null, + owner: MiniProfile | null, + discordServerId: string | null, + youtubeVideoUrl: string | null, + tags: string | null, + commentCount: number, + serverCount: number, + created: string, + updated: string | null +}