webstreamr/src/handler/types.ts
2025-05-10 22:09:52 +00:00

13 lines
255 B
TypeScript

import { StreamWithMeta } from '../types';
export interface Handler {
readonly id: string;
readonly label: string;
readonly contentTypes: string[];
readonly languages: string[];
readonly handle: (id: string) => Promise<StreamWithMeta[]>;
}