mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-04-04 14:29:45 +00:00
do not load array buffer into memory
This commit is contained in:
committed by
Aiden McClelland
parent
f29c7ba4f2
commit
fd166c4433
@@ -1,6 +1,6 @@
|
||||
import { BehaviorSubject, Observable } from 'rxjs'
|
||||
import { Update } from 'patch-db-client'
|
||||
import { RR, Encrypted } from './api.types'
|
||||
import { Encrypted, RR } from './api.types'
|
||||
import { DataModel } from 'src/app/services/patch-db/data-model'
|
||||
import { Log } from '@start9labs/shared'
|
||||
import { WebSocketSubjectConfig } from 'rxjs/webSocket'
|
||||
@@ -30,7 +30,7 @@ export abstract class ApiService {
|
||||
abstract getStatic(url: string): Promise<string>
|
||||
|
||||
// for sideloading packages
|
||||
abstract uploadPackage(guid: string, body: ArrayBuffer): Promise<string>
|
||||
abstract uploadPackage(guid: string, body: Blob): Promise<string>
|
||||
|
||||
// db
|
||||
|
||||
|
||||
Reference in New Issue
Block a user