mirror of
https://github.com/discordjs/discord-api-types.git
synced 2026-05-31 16:00:09 +00:00
feat(CDNQuery)!: add ImageSize type (#1098)
Co-authored-by: Noro95 <66942330+Noro95@users.noreply.github.com> Co-authored-by: Danial Raza <danialrazafb@gmail.com> Co-authored-by: Vlad Frangu <me@vladfrangu.dev>
This commit is contained in:
4
deno/rest/v10/mod.ts
generated
4
deno/rest/v10/mod.ts
generated
@@ -1087,6 +1087,8 @@ Object.freeze(Routes);
|
||||
|
||||
export const StickerPackApplicationId = '710982414301790216';
|
||||
|
||||
export type ImageSize = 1_024 | 2_048 | 4_096 | 16 | 32 | 64 | 128 | 256 | 512;
|
||||
|
||||
export enum ImageFormat {
|
||||
JPEG = 'jpeg',
|
||||
PNG = 'png',
|
||||
@@ -1438,7 +1440,7 @@ export interface CDNQuery {
|
||||
*
|
||||
* Image size can be any power of two between 16 and 4096
|
||||
*/
|
||||
size?: number;
|
||||
size?: ImageSize;
|
||||
}
|
||||
|
||||
export const RouteBases = {
|
||||
|
||||
4
deno/rest/v9/mod.ts
generated
4
deno/rest/v9/mod.ts
generated
@@ -1096,6 +1096,8 @@ Object.freeze(Routes);
|
||||
|
||||
export const StickerPackApplicationId = '710982414301790216';
|
||||
|
||||
export type ImageSize = 1_024 | 2_048 | 4_096 | 16 | 32 | 64 | 128 | 256 | 512;
|
||||
|
||||
export enum ImageFormat {
|
||||
JPEG = 'jpeg',
|
||||
PNG = 'png',
|
||||
@@ -1447,7 +1449,7 @@ export interface CDNQuery {
|
||||
*
|
||||
* Image size can be any power of two between 16 and 4096
|
||||
*/
|
||||
size?: number;
|
||||
size?: ImageSize;
|
||||
}
|
||||
|
||||
export const RouteBases = {
|
||||
|
||||
@@ -1087,6 +1087,8 @@ Object.freeze(Routes);
|
||||
|
||||
export const StickerPackApplicationId = '710982414301790216';
|
||||
|
||||
export type ImageSize = 1_024 | 2_048 | 4_096 | 16 | 32 | 64 | 128 | 256 | 512;
|
||||
|
||||
export enum ImageFormat {
|
||||
JPEG = 'jpeg',
|
||||
PNG = 'png',
|
||||
@@ -1438,7 +1440,7 @@ export interface CDNQuery {
|
||||
*
|
||||
* Image size can be any power of two between 16 and 4096
|
||||
*/
|
||||
size?: number;
|
||||
size?: ImageSize;
|
||||
}
|
||||
|
||||
export const RouteBases = {
|
||||
|
||||
@@ -1096,6 +1096,8 @@ Object.freeze(Routes);
|
||||
|
||||
export const StickerPackApplicationId = '710982414301790216';
|
||||
|
||||
export type ImageSize = 1_024 | 2_048 | 4_096 | 16 | 32 | 64 | 128 | 256 | 512;
|
||||
|
||||
export enum ImageFormat {
|
||||
JPEG = 'jpeg',
|
||||
PNG = 'png',
|
||||
@@ -1447,7 +1449,7 @@ export interface CDNQuery {
|
||||
*
|
||||
* Image size can be any power of two between 16 and 4096
|
||||
*/
|
||||
size?: number;
|
||||
size?: ImageSize;
|
||||
}
|
||||
|
||||
export const RouteBases = {
|
||||
|
||||
Reference in New Issue
Block a user