feat: init

This commit is contained in:
2026-02-13 22:02:30 +01:00
commit 8f9ff830fb
16711 changed files with 3307340 additions and 0 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/v1";
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/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";