UNPKG

hapiest-s3-storage

Version:

A simple s3 storage service that's flexible and allows mocking of s3 locally

14 lines (10 loc) 318 B
'use strict'; const Joi = require('joi'); const schema = Joi.object({ awsAccessKey: Joi.string().required(), awsSecretKey: Joi.string().required(), httpTimeoutMs: Joi.number().integer().optional(), baseUrl: Joi.string().optional(), endpoint: Joi.string().optional() }); module.exports = schema;