Basically library structure

This commit is contained in:
mrjvs
2023-08-23 20:07:39 +02:00
parent fe721bee37
commit ef766936dd
12 changed files with 191 additions and 29 deletions

18
src/main/runner.ts Normal file
View File

@@ -0,0 +1,18 @@
import { Stream } from '@/providers/streams';
export type RunOutput = {
sourceId: string;
fromEmbed: boolean;
stream: Stream;
};
export type SourceRunOutput = {
sourceId: string;
stream?: Stream;
embeds: [];
};
export type EmbedRunOutput = {
embedId: string;
stream?: Stream;
};