Skip to content

Commit

Permalink
Update the auto-generated web-api response types
Browse files Browse the repository at this point in the history
  • Loading branch information
seratch committed Feb 22, 2022
1 parent 3e9c483 commit 56b7f01
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions packages/web-api/src/response/AdminEmojiListResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,17 @@
import { WebAPICallResult } from '../WebClient';
export type AdminEmojiListResponse = WebAPICallResult & {
ok?: boolean;
emoji?: AdminEmojiListResponseEmoji;
emoji?: { [key: string]: Emoji };
response_metadata?: ResponseMetadata;
error?: string;
needed?: string;
provided?: string;
};

export interface AdminEmojiListResponseEmoji {
emoji?: EmojiClass;
emoji_?: EmojiClass;
}

export interface EmojiClass {
emoji?: string;
emoji_?: string;
export interface Emoji {
url?: string;
date_created?: number;
uploaded_by?: string;
}

export interface ResponseMetadata {
Expand Down

0 comments on commit 56b7f01

Please sign in to comment.