Skip to content

Commit

Permalink
fix: add FirebaseTelemetryOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDoyle committed Feb 13, 2025
1 parent 29c4b14 commit e7a1981
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion js/plugins/firebase/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,12 @@ import {
} from '@genkit-ai/google-cloud';
export { defineFirestoreRetriever } from './firestoreRetriever.js';

export interface FirebaseTelemetryOptions extends GcpTelemetryConfigOptions {
// future: firebase specific telemetry options
}

export async function enableFirebaseTelemetry(
options?: GcpTelemetryConfigOptions
options?: FirebaseTelemetryOptions | GcpTelemetryConfigOptions
) {
await enableGoogleCloudTelemetry(options);
}

0 comments on commit e7a1981

Please sign in to comment.