UNPKG

@itwin/imodels-client-management

Version:

iModels API client wrapper for applications that manage iModels.

26 lines 1.21 kB
import { BinaryContentType, IModelScopedOperationParams, ThumbnailSize } from "../../base/types"; /** Url parameters supported in Thumbnail download operation. */ export interface DownloadThumbnailUrlParams { /** Thumbnail size. See {@link ThumbnailSize}. */ size?: ThumbnailSize; } /** Parameters for download Thumbnail operation. */ export interface DownloadThumbnailParams extends IModelScopedOperationParams { urlParams?: DownloadThumbnailUrlParams; } /** Properties that should be specified when uploading a Thumbnail. */ export interface ThumbnailPropertiesForUpload { /** * Type of the image described by standard `Content-Type` header values. Specify `ContentType.Png` when uploading a * .png image and `ContentType.Jpeg` when uploading a .jpeg image. */ imageType: BinaryContentType; /** Binary image data. */ image: Uint8Array; } /** Parameters for upload Thumbnail operation. */ export interface UploadThumbnailParams extends IModelScopedOperationParams { /** Properties of the new Thumbnail. See {@link ThumbnailPropertiesForUpload}. */ thumbnailProperties: ThumbnailPropertiesForUpload; } //# sourceMappingURL=ThumbnailOperationParams.d.ts.map