6.1.0 • Published 4 months ago

@lokalise/file-storage-service-sdk v6.1.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
4 months ago

file-storage-service-sdk

Sdk for file-storage-service - FSS.

Usage

Sdk exposes FileStorageClient which can be injected via DI or created directly.

Authorization

Authorization will require a valid jwtToken.

For FileStorageClient token should contain 2 claims - ownerId and tenant.

Tenant is a string which represents who is calling the api, supported values are expert and autopilot.

Error handling

All function returning monad Either<L, R> where L - Left is a potential error and R - Right is a potential result, one of these will always present in response. Consumer of the api is responsible to handle result/error.

Error reporting

You can pass an {errorReporter: ErrorReporter} field inside the config argument. The error reporter will then be called in all cases when an error response is returned for a request to file storage service API.

6.1.0

4 months ago

5.0.2

4 months ago

6.0.0

4 months ago

5.0.1

7 months ago

5.0.0

7 months ago

3.0.0

10 months ago

4.4.0

7 months ago

4.1.0

7 months ago

4.0.1

7 months ago

4.0.0

7 months ago

4.3.0

7 months ago

4.2.0

7 months ago

1.1.0

1 year ago

1.0.0

1 year ago