mirror of
https://github.com/Tribufu/TribufuJS
synced 2026-08-08 12:21:06 +00:00
Use nswag generator
This commit is contained in:
parent
332c0b2fa6
commit
b5d1e086f3
25 changed files with 3063 additions and 1456 deletions
|
|
@ -1,22 +0,0 @@
|
|||
// 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
|
||||
}
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
// 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
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue