diff options
author | Hailey <me@haileyok.com> | 2024-07-30 08:25:31 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-30 08:25:31 -0700 |
commit | 8ddb28d3c54b63fb81ca361e741e5a6a46c1d25f (patch) | |
tree | b62aa2dbfb2b9b8d84efbe9ff2a4ef6124dc1bed /src/lib/api/index.ts | |
parent | 43ba0f21f6796ebbdd0156c9fa89ebc7d56376e7 (diff) | |
download | voidsky-8ddb28d3c54b63fb81ca361e741e5a6a46c1d25f.tar.zst |
[Video] Uploads (#4754)
* state for video uploads * get upload working * add a debug log * add post progress * progress * fetch data * add some progress info, web uploads * post on finished uploading (wip) * add a note * add some todos * clear video * merge some stuff * convert to `createUploadTask` * patch expo modules core * working native upload progress * platform fork * upload progress for web * cleanup * cleanup * more tweaks * simplify * fix type errors --------- Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com>
Diffstat (limited to 'src/lib/api/index.ts')
-rw-r--r-- | src/lib/api/index.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/api/index.ts b/src/lib/api/index.ts index 5b1c998cb..12e30bf6c 100644 --- a/src/lib/api/index.ts +++ b/src/lib/api/index.ts @@ -54,6 +54,10 @@ interface PostOpts { uri: string cid: string } + video?: { + uri: string + cid: string + } extLink?: ExternalEmbedDraft images?: ImageModel[] labels?: string[] |