Files
Defined in: libs/ccs-files-user-client/src/angular/files.ts:14
Properties
Section titled “Properties”client
Section titled “client”
readonlyclient:FilesClient
Defined in: libs/ccs-files-user-client/src/angular/files.ts:16
The underlying client: folders, files, search, previews, shares, …
uploads
Section titled “uploads”
readonlyuploads:Signal<readonlyUploadView[]>
Defined in: libs/ccs-files-user-client/src/angular/files.ts:18
The uploads in progress (and failed ones, which resume() retries), as immutable views; updates on every progress event.
Methods
Section titled “Methods”upload()
Section titled “upload()”upload(
file,input?,options?):UploadHandle<File>
Defined in: libs/ccs-files-user-client/src/angular/files.ts:20
client.upload: the new upload appears in uploads() at once.
Parameters
Section titled “Parameters”Blob
input?
Section titled “input?”options?
Section titled “options?”Returns
Section titled “Returns”resumeUpload()
Section titled “resumeUpload()”resumeUpload(
snapshot,file):UploadHandle<File>
Defined in: libs/ccs-files-user-client/src/angular/files.ts:26
client.resumeUpload: throws UploadFileMismatchError when the file is not the snapshot’s.
Parameters
Section titled “Parameters”snapshot
Section titled “snapshot”Blob
Returns
Section titled “Returns”signOut()
Section titled “signOut()”signOut():
Promise<void>
Defined in: libs/ccs-files-user-client/src/angular/files.ts:28
client.signOut(): cancels the uploads, clears the caches and the token provider, disposes the client.
Returns
Section titled “Returns”Promise<void>