@strawbinary-io/api-video-strapi-5-plugin
Version:
A powerful Strapi plugin to easily manage your videos and integrate them in your project
45 lines (44 loc) • 843 B
TypeScript
export interface CustomVideo {
documentId: string;
title: string;
description: string;
_public: boolean;
videoId: string;
hls: string;
iframe: string;
mp4: string;
player: string;
thumbnail: string;
tags: string[];
metadata: {
key: string;
value: string;
}[];
createdAt: Date;
id: number;
updatedAt: Date;
}
export interface CustomAssets {
hls: string;
iframe: string;
mp4: string;
player: string;
}
export interface CustomSettings {
apiKey: string;
defaultPublic: boolean;
}
export interface InputData {
title: string;
description: string;
_public: boolean;
tags?: string[];
metadata?: {
key: string;
value: string;
}[];
}
export interface InputDataMetadata {
key: string;
value: string;
}