Skip to content

Files

Defined in: libs/ccs-files-user-client/src/angular/files.ts:14

readonly client: FilesClient

Defined in: libs/ccs-files-user-client/src/angular/files.ts:16

The underlying client: folders, files, search, previews, shares, …


readonly uploads: Signal<readonly UploadView[]>

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.

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.

Blob

UploadInput

UploadOptions

UploadHandle<File>


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.

UploadSnapshot

Blob

UploadHandle<File>


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.

Promise<void>