feat(lstv2 move): moved lstv2 into this app to keep them combined and easier to maintain

This commit is contained in:
2025-09-19 22:22:05 -05:00
parent caf2315191
commit e4477402ad
847 changed files with 165801 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
import type {Context} from "hono";
import type {ContentfulStatusCode} from "hono/utils/http-status";
export const apiReturn = async (
c: Context,
success: boolean,
message: string,
data: any,
code: ContentfulStatusCode
): Promise<Response> => {
/**
* This is just a global return function to reduce constacnt typing the same thing lol
*/
return c.json({success, message, data}, code);
};