Skip to content

Commit

Permalink
renamed to in the classic thumbnails api
Browse files Browse the repository at this point in the history
  • Loading branch information
Cameron Campbell authored and Cameron Campbell committed May 17, 2024
1 parent 3e690fe commit efc6fa5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/apis/classic/thumbnails/thumbnails.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { createObjectMapByKeyWithMiddleware } from "../../../utils/utils"
import type { ApiMethod } from "../../apiGroup"
import { ArrayNonEmpty, Identifier } from "typeforge"

import type { AssetAnimatedThumbnailData, AssetSize, AvatarsFullThumbnailsSize, BatchRequest, BatchResponseElement, BundleSize, DeveloperProductSize, GamesIconSize, GameThumbnailSize, GroupEmblemSize, MetadataData, OutfitSize, PlaceThumbnailSize, PrettifiedBatchThumbnailsData, PrettifiedGamesThumbnailsData, PrettifiedThumbnailsData, RawBatchThumbnailsData, RawThumbnailsData, ThumbnailData, ThumbnailFormat, ThumbnailReturnPolicy } from "./thumbnails.types"
import type { AssetAnimatedThumbnailData, AssetSize, AvatarsFullThumbnailsSize, BatchRequest, BatchResponseElement, BundleSize, DeveloperProductSize, GamesIconSize, GameThumbnailSize, GroupEmblemSize, OutfitSize, PlaceThumbnailSize, PrettifiedBatchThumbnailsData, PrettifiedGamesThumbnailsData, PrettifiedThumbnailsData, RawBatchThumbnailsData, RawThumbnailsData, ThumbnailData, ThumbnailFormat, ThumbnailReturnPolicy, ThumbnailsMetadataData } from "./thumbnails.types"
//////////////////////////////////////////////////////////////////////////////////


Expand Down Expand Up @@ -335,8 +335,8 @@ export const groupsEmblems = addApiMethod(async <GroupId extends Identifier>(
* @exampleData { isWebappUseCacheEnabled: false, webappCacheExpirationTimspan: "00:00:00" }
* @exampleRawBody { isWebappUseCacheEnabled: false, webappCacheExpirationTimspan: "00:00:00" }
*/
export const metadata = addApiMethod(async (
): ApiMethod<MetadataData> => ({
export const thumbnailsMetadata = addApiMethod(async (
): ApiMethod<ThumbnailsMetadataData> => ({
method: "GET",
path: `/v1/metadata`,
name: `metadata`,
Expand Down
2 changes: 1 addition & 1 deletion src/apis/classic/thumbnails/thumbnails.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export type GroupEmblemSize = "150x150"|"420x420"

// [ Metadata ] //////////////////////////////////////////////////////////////////////////////////////////////////////
// /v1/metadata
export type MetadataData = ObjectPrettify<{
export type ThumbnailsMetadataData = ObjectPrettify<{
isWebappUseCacheEnabled: boolean,
webappCacheExpirationTimspan: string
}>
Expand Down

0 comments on commit efc6fa5

Please sign in to comment.