Website Structure

This commit is contained in:
supalerk-ar66 2026-01-13 10:46:40 +07:00
parent 62812f2090
commit 71f0676a62
22365 changed files with 4265753 additions and 791 deletions

View file

@ -0,0 +1,2 @@
import "#nitro-internal-pollyfills";
export declare const __firebaseServerFunctionName__: any;

View file

@ -0,0 +1,8 @@
import "#nitro-internal-pollyfills";
import { useNitroApp } from "nitropack/runtime";
import { useAppConfig } from "nitropack/runtime";
import functions from "firebase-functions";
import { toNodeListener } from "h3";
const nitroApp = useNitroApp();
const firebaseConfig = useAppConfig().nitro.firebase;
export const __firebaseServerFunctionName__ = functions.region(firebaseConfig.region ?? functions.RESET_VALUE).runWith(firebaseConfig.runtimeOptions ?? functions.RESET_VALUE).https.onRequest(toNodeListener(nitroApp.h3App));

View file

@ -0,0 +1,2 @@
import "#nitro-internal-pollyfills";
export declare const __firebaseServerFunctionName__: import("firebase-functions/v2/https").HttpsFunction;

View file

@ -0,0 +1,15 @@
import "#nitro-internal-pollyfills";
import { useNitroApp } from "nitropack/runtime";
import { useAppConfig } from "nitropack/runtime";
import { onRequest } from "firebase-functions/v2/https";
import { toNodeListener } from "h3";
const nitroApp = useNitroApp();
const firebaseConfig = useAppConfig().nitro.firebase;
export const __firebaseServerFunctionName__ = onRequest(
{
// Must be set to public to allow all public requests by default
invoker: "public",
...firebaseConfig.httpsOptions
},
toNodeListener(nitroApp.h3App)
);

View file

@ -0,0 +1 @@
export { __firebaseServerFunctionName__ } from "./firebase-gen-1";

View file

@ -0,0 +1 @@
export { __firebaseServerFunctionName__ } from "./firebase-gen-1.mjs";