From 5013eec0d94c8363e086cef35f63a2b068ef5b17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ros=C3=A1rio=20P=2E=20Fernandes?= Date: Tue, 28 May 2024 15:00:41 +0100 Subject: [PATCH 1/2] Firebase Cloud Functions -> Cloud Functions for Firebase --- docs/deploy-node.md | 4 ++-- docs/firebase.md | 2 +- docs/get-started.md | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/deploy-node.md b/docs/deploy-node.md index 468cc67c9..5da04fbfa 100644 --- a/docs/deploy-node.md +++ b/docs/deploy-node.md @@ -1,7 +1,7 @@ # Deploy flows to any Node.js platform Firebase Genkit has built-in integrations that help you deploy your flows to -Firebase Cloud Functions and Google Cloud Run, but you can also deploy your +Cloud Functions for Firebase and Google Cloud Run, but you can also deploy your flows to any platform that can serve an Express.js app, whether it’s a cloud service or self-hosted. @@ -38,7 +38,7 @@ sample flow. ``` 1. Select `Node.js` as the deployment platform option (templates for - Firebase Cloud Functions and Google Cloud Run are also available). + Cloud Functions for Firebase and Google Cloud Run are also available). 1. Select your model: diff --git a/docs/firebase.md b/docs/firebase.md index 84ba2967f..4c2942925 100644 --- a/docs/firebase.md +++ b/docs/firebase.md @@ -1,7 +1,7 @@ -# Genkit with Firebase Cloud Functions +# Genkit with Cloud Functions for Firebase Firebase Genkit includes a plugin that helps you deploy your flows to Firebase Cloud Functions. This page, as an example, walks you through the process of diff --git a/docs/get-started.md b/docs/get-started.md index 26db5e9fa..e37b5ab5a 100644 --- a/docs/get-started.md +++ b/docs/get-started.md @@ -33,7 +33,7 @@ Node.js 20 or later. ``` 1. Select `Node.js` as the deployment platform option (templates for - Firebase Cloud Functions and Google Cloud Run are also available). + Cloud Functions for Firebase and Google Cloud Run are also available). 1. Select your model: From 54218a68bc364ce8c8de8de424fbbe9fa405cf7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ros=C3=A1rio=20P=2E=20Fernandes?= Date: Fri, 2 Aug 2024 17:20:56 +0100 Subject: [PATCH 2/2] Update firebase.index.ts.template --- genkit-tools/cli/config/firebase.index.ts.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/genkit-tools/cli/config/firebase.index.ts.template b/genkit-tools/cli/config/firebase.index.ts.template index 9ae843dcc..4e71129a2 100644 --- a/genkit-tools/cli/config/firebase.index.ts.template +++ b/genkit-tools/cli/config/firebase.index.ts.template @@ -31,7 +31,7 @@ export const menuSuggestionFlow = onFlow( // By default, the firebaseAuth policy requires that all requests have an // `Authorization: Bearer` header containing the user's Firebase // Authentication ID token. All other requests are rejected with error - // 403. If your app client uses the Firebase Cloud Functions callable + // 403. If your app client uses the Cloud Functions for Firebase callable // functions feature, the library automatically attaches this header to // requests.