import {
  configManager,
  type ContentBuilderConfig,
} from "@content-builder/core";

const config: ContentBuilderConfig = {
  database: {
    type: process.env.DATABASE_TYPE as "postgres" | "firebase" | "sqlite",
    // Database config will be added based on selection
  },
  auth: {
    type: process.env.AUTH_TYPE as "firebase" | "clerk" | "auth0",
    // Auth config will be added based on selection
  },
  theme: {
    primary: "#0070f3",
    secondary: "#1a1a1a",
    accent: "#fafafa",
  },
};

configManager.initialize(config);

export { configManager };
