Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export const addEnvironmentHandler = createHandler(
"/AddEnvironment",
() => {
return new AddEnvironmentResponse();
}
);
export const deleteEnvironmentHandler = createHandler<
DeleteEnvironmentResponse
>("/DeleteEnvironment", () => {
return new DeleteEnvironmentResponse();
});
export const deleteEnvironmentFailedHandler = createHandlerWithError(
"/DeleteEnvironment",
StatusCode.FAILED_PRECONDITION
);
export const environmentHandlers = [
listEnvironmentHandler,
deleteEnvironmentHandler,
addEnvironmentHandler,
];