feat(api): generate API models and hooks for public shop configuration and commerce entities
- Added generated API hooks and models for public shop configuration, including listing and retrieving configurations. - Introduced models for commerce categories, discount codes, orders, product images, and products with pagination and search parameters. - Ensured all generated files are structured for easy integration with React Query.
This commit is contained in:
@@ -5,11 +5,20 @@
|
||||
*/
|
||||
|
||||
export interface VideoInfoResponse {
|
||||
/** Video title */
|
||||
title: string;
|
||||
/** @nullable */
|
||||
/**
|
||||
* Video duration in seconds (null if unavailable)
|
||||
* @nullable
|
||||
*/
|
||||
duration: number | null;
|
||||
/** @nullable */
|
||||
/**
|
||||
* URL to video thumbnail image
|
||||
* @nullable
|
||||
*/
|
||||
thumbnail: string | null;
|
||||
/** List of available video quality options (e.g., '1080p', '720p', '480p') */
|
||||
video_resolutions: string[];
|
||||
/** List of available audio format options */
|
||||
audio_resolutions: string[];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user