You've already forked AstralRinth
feat: implement kryos upload sessions (#6145)
* feat: implement upload sessions * fix: files not scoped * feat: hide staging files folder and proper cancel feedback * fix: lint
This commit is contained in:
@@ -16,6 +16,8 @@ export interface FilesystemAuth {
|
||||
token: string
|
||||
}
|
||||
|
||||
export type CancelUploadHandler = () => void | Promise<void>
|
||||
|
||||
export interface ModrinthServerContext {
|
||||
readonly serverId: string
|
||||
readonly worldId: Ref<string | null>
|
||||
@@ -44,7 +46,7 @@ export interface ModrinthServerContext {
|
||||
|
||||
// File upload state
|
||||
readonly uploadState: Ref<UploadState>
|
||||
readonly cancelUpload: Ref<(() => void) | null>
|
||||
readonly cancelUpload: Ref<CancelUploadHandler | null>
|
||||
|
||||
// File operations (extract, move, etc.)
|
||||
readonly activeOperations: ComputedRef<FileOperation[]>
|
||||
|
||||
Reference in New Issue
Block a user