import { LambdaHttpResponse, HttpHeader } from '@linzjs/lambda';
const OkResponse = new LambdaHttpResponse(200, 'ok');
OkResponse.header(HttpHeader.CacheControl, 'no-store');
export async function Ping() {
    return OkResponse;
}
export async function Version() {
    var _a;
    const response = new LambdaHttpResponse(200, 'ok');
    response.header(HttpHeader.CacheControl, 'no-store');
    response.json({ version: (_a = process.env.GIT_VERSION) !== null && _a !== void 0 ? _a : 'dev', hash: process.env.GIT_HASH });
    return response;
}
//# sourceMappingURL=api.js.map