0.2.2 • Published 4 years ago
@tesseract-collective/serverless-toolbox v0.2.2
serverless-toolbox
Object stores
An object store is a simple interface to get, put, and delete json documents based on a unique id. This library includes object store implementations for DynamoDB and S3.
export default interface ObjectStore<T> {
get(id: string): Promise<T | undefined>;
put(id: string, item: T): Promise<T>;
delete(id: string): Promise<void>;
updateState(id: string, action: Action, reducer: Reducer<T>): Promise<T>;
}
API Gateway
This library provides sensible defaults for API Gateway using express. It also provides a websocket subscription service for API Gateway.
Hasura
This library provides type definitions and simple helpers for consuming Hasura actions and events.
Auth
This library provides sensible defaults and helpers for hashing and verifying passwords and dealing with tokens.
0.2.2
4 years ago