const admin = require("firebase-admin");

// Use default credentials/environment provided by Cloud Functions.
// Avoid bundling a service account key and hardcoding project/bucket.
admin.initializeApp();

exports.refList = {
  projects: admin.firestore().collection("projects"),
};

// Exporter toutes les fonctions
exports.music = require("./src/music");
exports.lyrics = require("./src/lyrics");
exports.cover = require("./src/cover");
exports.projects = require("./src/project");
exports.hls = require("./src/hls");
