mirror of
https://git.vectorsigma.ru/public/photoview.git
synced 2026-08-03 22:09:20 +00:00
89 lines
1.9 KiB
TypeScript
89 lines
1.9 KiB
TypeScript
/* tslint:disable */
|
|
/* eslint-disable */
|
|
// @generated
|
|
// This file was automatically generated and should not be edited.
|
|
|
|
import { MediaType } from "./../../../__generated__/globalTypes";
|
|
|
|
// ====================================================
|
|
// GraphQL query operation: placePageQueryMedia
|
|
// ====================================================
|
|
|
|
export interface placePageQueryMedia_mediaList_thumbnail {
|
|
__typename: "MediaURL";
|
|
/**
|
|
* URL for previewing the image
|
|
*/
|
|
url: string;
|
|
/**
|
|
* Width of the image in pixels
|
|
*/
|
|
width: number;
|
|
/**
|
|
* Height of the image in pixels
|
|
*/
|
|
height: number;
|
|
}
|
|
|
|
export interface placePageQueryMedia_mediaList_highRes {
|
|
__typename: "MediaURL";
|
|
/**
|
|
* URL for previewing the image
|
|
*/
|
|
url: string;
|
|
/**
|
|
* Width of the image in pixels
|
|
*/
|
|
width: number;
|
|
/**
|
|
* Height of the image in pixels
|
|
*/
|
|
height: number;
|
|
}
|
|
|
|
export interface placePageQueryMedia_mediaList_videoWeb {
|
|
__typename: "MediaURL";
|
|
/**
|
|
* URL for previewing the image
|
|
*/
|
|
url: string;
|
|
/**
|
|
* Width of the image in pixels
|
|
*/
|
|
width: number;
|
|
/**
|
|
* Height of the image in pixels
|
|
*/
|
|
height: number;
|
|
}
|
|
|
|
export interface placePageQueryMedia_mediaList {
|
|
__typename: "Media";
|
|
id: string;
|
|
title: string;
|
|
/**
|
|
* URL to display the media in a smaller resolution
|
|
*/
|
|
thumbnail: placePageQueryMedia_mediaList_thumbnail | null;
|
|
/**
|
|
* URL to display the photo in full resolution, will be null for videos
|
|
*/
|
|
highRes: placePageQueryMedia_mediaList_highRes | null;
|
|
/**
|
|
* URL to get the video in a web format that can be played in the browser, will be null for photos
|
|
*/
|
|
videoWeb: placePageQueryMedia_mediaList_videoWeb | null;
|
|
type: MediaType;
|
|
}
|
|
|
|
export interface placePageQueryMedia {
|
|
/**
|
|
* Get a list of media by their ids, user must own the media or be admin
|
|
*/
|
|
mediaList: placePageQueryMedia_mediaList[];
|
|
}
|
|
|
|
export interface placePageQueryMediaVariables {
|
|
mediaIDs: string[];
|
|
}
|