// Import the functions you need from the SDKs you need
import { initializeApp } from "firebase/app";
import { getAuth } from "firebase/auth";
import { getDataConnect } from 'firebase/data-connect';
import { connectorConfig } from '@dataconnect/generated';

// Your web app's Firebase configuration
const firebaseConfig = {
  /*apiKey: import.meta.env.VITE_HARNESS_FIREBASE_API_KEY,
  authDomain: import.meta.env.VITE_HARNESS_FIREBASE_AUTH_DOMAIN,
  projectId: import.meta.env.VITE_HARNESS_FIREBASE_PROJECT_ID,
  storageBucket: import.meta.env.VITE_HARNESS_FIREBASE_STORAGE_BUCKET,
  messagingSenderId: import.meta.env.VITE_HARNESS_FIREBASE_MESSAGING_SENDER_ID,
  appId: import.meta.env.VITE_HARNESS_FIREBASE_APP_ID*/
};

// Initialize Firebase
const app = initializeApp(firebaseConfig);
export const dataConnect = getDataConnect(app, connectorConfig);
export const auth = getAuth(app);