guildedapi-types.ts
Version:
Up to date Guilded API Typings. Contribution is welcome.
24 lines (21 loc) • 1.17 kB
text/typescript
import type * as OpenAPI from "../../schemas/v1"
export type APISocialLink = OpenAPI.components["schemas"]["SocialLink"];
// export interface APISocialLink {
// /** The type of social link that Guilded supports. Depending on this value, handle or serviceId may or may not be present */
// type: "twitch" | "bnet" | "psn" | "xbox" | "steam" | "origin" | "youtube" | "twitter" | "facebook" | "switch" | "patreon" | "roblox" | "epic";
// /** The ID of the user that the social link is associated with */
// userId: string;
// /** The handle of the user within the external service */
// handle?: string;
// /** The unique ID that represents this member's social link within the external service */
// serviceId?: string;
// /** The ISO 8601 timestamp that the social link was created at */
// createdAt: string;
// }
export type APIUserStatus = OpenAPI.components["schemas"]["UserStatus"];
// export interface APIUserStatus {
// /** The content of the user status. The supported markdown for this content only includes reactions and plaintext for now */
// content?: string;
// /** Emote ID */
// emoteId: number;
// }