diff --git a/src/api-endpoints.ts b/src/api-endpoints.ts index 0af39b58..090c28b6 100644 --- a/src/api-endpoints.ts +++ b/src/api-endpoints.ts @@ -4512,6 +4512,11 @@ type EmojiRequest = | "🏴󠁧󠁢󠁥󠁮󠁧󠁿" | "🏴󠁧󠁢󠁳󠁣󠁴󠁿" | "🏴󠁧󠁢󠁷󠁬󠁳󠁿" +type CustomEmojiRequest = { + id: string; + name: string; + url: string; +} export type PageObjectResponse = { parent: @@ -4673,6 +4678,8 @@ export type PageObjectResponse = { | null | { type: "file"; file: { url: string; expiry_time: string } } | null + | { type: "custom_emoji"; emoji: CustomEmojiRequest } + | null cover: | { type: "external"; external: { url: TextRequest } } | null @@ -4991,6 +4998,8 @@ export type DatabaseObjectResponse = { | null | { type: "file"; file: { url: string; expiry_time: string } } | null + | { type: "custom_emoji"; emoji: CustomEmojiRequest } + | null cover: | { type: "external"; external: { url: TextRequest } } | null @@ -5451,6 +5460,8 @@ export type CalloutBlockObjectResponse = { | null | { type: "file"; file: { url: string; expiry_time: string } } | null + | { type: "custom_emoji"; emoji: CustomEmojiRequest } + | null } parent: | { type: "database_id"; database_id: string }