import { projectPaths, files } from "../../../base-repo/app-constants/project-paths.js";
export function normalizePathForRollUpCopy(input) {
    return input.replace(/\/\(([^)]+)\)\//g, "/[(]$1[)]/");
}
export const pageFilesToCopy = [
    `${projectPaths.f}/\\(not-signed-in\\)`,
    `${projectPaths.f}/\\(signed-in\\)`,
    `${projectPaths.f}/api-docs`,
];
export const filesToCopy = [""];
export const rootFilesToCopy = [
    files.gitIgnore,
    "postcss.config.mjs",
    files.prettierIgnore,
    ".prettierrc.json",
    files.serverTs,
];
export const appFilesToCopy = [
    `${projectPaths.app}/favicon.ico`,
    `${projectPaths.app}/globals.css`,
    `${projectPaths.app}/layout.tsx`,
    `${projectPaths.app}/page.tsx`,
    `${projectPaths.app}/http-wrappers.ts`,
    `${projectPaths.app}/init-saas-kit.ts`,
];
export const apiRoutesToCopy = [
    `${projectPaths.apiV1F}/searchable-resources/route.ts`,
    `${projectPaths.apiV1F}/search-result/route.ts`,
    `${projectPaths.apiV1F}/workspace/change/route.ts`,
    `${projectPaths.apiV1F}/visible-workspace/route.ts`,
    `${projectPaths.apiV1F}/user-permission/route.ts`,
    `${projectPaths.apiV1F}/user-feature/isenabled/route.ts`,
    `${projectPaths.apiV1F}/uimetas/route.ts`,
    `${projectPaths.apiV1F}/uimeta/route.ts`,
    `${projectPaths.apiV1F}/subscription/update/route.ts`,
    `${projectPaths.apiV1F}/subscription/create/route.ts`,
    `${projectPaths.apiV1F}/subscription/cancel/route.ts`,
    `${projectPaths.apiV1F}/sign-up/route.ts`,
    `${projectPaths.apiV1F}/sign-out/route.ts`,
    `${projectPaths.apiV1F}/sign-in/route.ts`,
    `${projectPaths.apiV1F}/payment/route.ts`,
    `${projectPaths.apiV1F}/payment/verify-success/route.ts`,
    `${projectPaths.apiV1F}/payment/verify-fail/route.ts`,
    `${projectPaths.apiV1F}/payment/method/route.ts`,
    `${projectPaths.apiV1F}/password/reset-password/route.ts`,
    `${projectPaths.apiV1F}/password/forgot-password/route.ts`,
    `${projectPaths.apiV1F}/other-user/route.ts`,
    `${projectPaths.apiV1F}/other-user/[id]/route.ts`,
    `${projectPaths.apiV1F}/log/route.ts`,
    `${projectPaths.apiV1F}/blob/route.ts`,
    `${projectPaths.apiV1F}/[resourceName]/route.ts`,
    `${projectPaths.apiV1F}/[resourceName]/upsert/route.ts`,
    `${projectPaths.apiV1F}/[resourceName]/[id]/route.ts`,
    `${projectPaths.apiV1F}/markdown/route.ts`,
];
export const allFilesToCopy = [
    ...filesToCopy,
    ...rootFilesToCopy,
    ...appFilesToCopy,
    ...apiRoutesToCopy,
];
