diff options
author | Samuel Newman <mozzius@protonmail.com> | 2024-08-29 16:34:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-29 16:34:41 +0100 |
commit | 551c4a4f3210e5fa3060d06f4beeaeef3a97093d (patch) | |
tree | 23bccedc3f4a487ed15d540352c823ab466781a9 /src/lib/media | |
parent | d52d29621e0f5df9cba16795d40db8a413248342 (diff) | |
download | voidsky-551c4a4f3210e5fa3060d06f4beeaeef3a97093d.tar.zst |
[Video] Add uploaded video to post (#4884)
* video uploads! * use video upload lexicons * add missing postgate * remove references to prerelease package * fix scrubber showing a "0" * Delete types.ts * rm logs * rm upload header --------- Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com>
Diffstat (limited to 'src/lib/media')
-rw-r--r-- | src/lib/media/video/types.ts | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/src/lib/media/video/types.ts b/src/lib/media/video/types.ts deleted file mode 100644 index c458da96e..000000000 --- a/src/lib/media/video/types.ts +++ /dev/null @@ -1,36 +0,0 @@ -/** - * TEMPORARY: THIS IS A TEMPORARY PLACEHOLDER. THAT MEANS IT IS TEMPORARY. I.E. WILL BE REMOVED. NOT TO USE IN PRODUCTION. - * @temporary - * PS: This is a temporary placeholder for the video types. It will be removed once the actual types are implemented. - * Not joking, this is temporary. - */ - -export interface JobStatus { - jobId: string - did: string - cid: string - state: JobState - progress?: number - errorHuman?: string - errorMachine?: string -} - -export enum JobState { - JOB_STATE_UNSPECIFIED = 'JOB_STATE_UNSPECIFIED', - JOB_STATE_CREATED = 'JOB_STATE_CREATED', - JOB_STATE_ENCODING = 'JOB_STATE_ENCODING', - JOB_STATE_ENCODED = 'JOB_STATE_ENCODED', - JOB_STATE_UPLOADING = 'JOB_STATE_UPLOADING', - JOB_STATE_UPLOADED = 'JOB_STATE_UPLOADED', - JOB_STATE_CDN_PROCESSING = 'JOB_STATE_CDN_PROCESSING', - JOB_STATE_CDN_PROCESSED = 'JOB_STATE_CDN_PROCESSED', - JOB_STATE_FAILED = 'JOB_STATE_FAILED', - JOB_STATE_COMPLETED = 'JOB_STATE_COMPLETED', -} - -export interface UploadVideoResponse { - job_id: string - did: string - cid: string - state: JobState -} |