cli: organize file structure

This commit is contained in:
Aman Varshney
2025-05-26 00:13:08 +05:30
parent b9c9690e61
commit 1e9c6b2210
40 changed files with 900 additions and 928 deletions

View File

@@ -1,12 +1,12 @@
import { cancel, confirm, isCancel } from "@clack/prompts";
import pc from "picocolors";
import { DEFAULT_CONFIG } from "../constants";
import type { ProjectBackend } from "../types";
import type { Backend } from "../types";
export async function getAuthChoice(
auth: boolean | undefined,
hasDatabase: boolean,
backend?: ProjectBackend,
backend?: Backend,
): Promise<boolean> {
if (backend === "convex") {
return false;