@lokalise/file-storage-service-sdk v8.0.1
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.
11 months ago
8 months ago
9 months ago
9 months ago
9 months ago
10 months ago
9 months ago
9 months ago
8 months ago
6 months ago
8 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
11 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago