UNPKG

biketag-admin

Version:

<h1 align=center>BikeTag-Admin</h1> <div align="center"> <img alt="biketag-admin logo" src="https://raw.githubusercontent.com/keneucker/biketag-website/production/public/img/Tag-Logo-Stacked-V2-medium.png" height="auto" width="200" style="border-radius:25

40 lines (39 loc) 1.17 kB
import { HttpStatusCode } from '../common/constants'; declare const approveHandler: (event: any) => Promise<{ statusCode: HttpStatusCode; headers: { Accept: string; 'Access-Control-Allow-Headers': string; 'Content-Type': string; 'Access-Control-Allow-Methods': string; 'Access-Control-Allow-Origin': string; 'Access-Control-Max-Age': string; }; body?: undefined; errors?: undefined; } | { headers: { Accept: string; 'Access-Control-Allow-Headers': string; 'Content-Type': string; 'Access-Control-Allow-Methods': string; 'Access-Control-Allow-Origin': string; 'Access-Control-Max-Age': string; }; body: string; statusCode: HttpStatusCode; errors?: undefined; } | { headers: { Accept: string; 'Access-Control-Allow-Headers': string; 'Content-Type': string; 'Access-Control-Allow-Methods': string; 'Access-Control-Allow-Origin': string; 'Access-Control-Max-Age': string; }; statusCode: HttpStatusCode; body: string; errors: any[]; }>; export { approveHandler as handler };