Skip to content

Commit

Permalink
🏷️ feat: oh right forgor to commit this
Browse files Browse the repository at this point in the history
  • Loading branch information
Helloyunho committed May 2, 2024
1 parent bd8f7d0 commit a853ec1
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 11 deletions.
6 changes: 4 additions & 2 deletions types/src/gateways/activity.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
import { snowflake } from "../common.ts";

export interface ActivityPayload {
name: string;
type: ActivityType;
url?: string | null;
created_at: number;
timestamps?: ActivityTimestamps;
application_id?: string;
application_id?: snowflake;
details?: string | null;
state?: string | null;
emoji?: ActivityEmoji | null;
Expand Down Expand Up @@ -32,7 +34,7 @@ export interface ActivityTimestamps {

export interface ActivityEmoji {
name: string;
id?: string;
id?: snowflake;
animated?: boolean;
}

Expand Down
17 changes: 9 additions & 8 deletions types/src/stickers/sticker.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
import { snowflake } from "../common.ts";
import { Reasonable } from "../etc/reasonable.ts";
import { UserPayload } from "../users/user.ts";

export interface StickerPayload {
id: string;
pack_id?: string;
id: snowflake;
pack_id?: snowflake;
name: string;
description: string | null;
tags: string;
type: StickerType;
format_type: StickerFormatType;
available?: boolean;
guild_id?: string;
guild_id?: snowflake;
user?: UserPayload;
sort_value?: number;
}
Expand All @@ -28,19 +29,19 @@ export enum StickerFormatType {
}

export interface StickerItemPayload {
id: string;
id: snowflake;
name: string;
format_type: StickerFormatType;
}

export interface StickerPackPayload {
id: string;
id: snowflake;
stickers: StickerPayload[];
name: string;
sku_id: string;
cover_sticker_id?: string;
sku_id: snowflake;
cover_sticker_id?: snowflake;
description: string;
banner_asset_id?: string;
banner_asset_id?: snowflake;
}

export interface ListNitroStickerPacksPayload {
Expand Down
2 changes: 1 addition & 1 deletion types/src/webhooks/webhook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export interface ExecuteWebhookPayload {
attachments?: AttachmentPayload[];
flags?: number;
thread_name?: string;
applied_tags?: string[];
applied_tags?: snowflake[];
poll?: PollPayload;
}

Expand Down

0 comments on commit a853ec1

Please sign in to comment.