mirror of
https://github.com/tribufu/sdk-js
synced 2025-06-16 18:44:18 +00:00
Use nswag generator
This commit is contained in:
@ -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
|
||||
}
|
Reference in New Issue
Block a user