import {
  createHotContext,
  init_remix_hmr
} from "/build/_shared/chunk-G7KTOMTD.js";

// app/routes.ts
init_remix_hmr();
if (import.meta) {
  import.meta.hot = createHotContext(
    //@ts-expect-error
    "app/routes.ts"
  );
  import.meta.hot.lastModified = "1713211579533.08";
}
var path = (root, sublink) => `${root}${sublink}`;
var ROOT_APP = "/app";
var ROOT_AUTH = "/auth";
var ROOT_ACTION = "/action";
var buildEnvPath = (params) => (sublink) => path(ROOT_APP, `/project/${params.projectId}/env/${params.envId}/${sublink}`);
var PATH_APP = {
  root: ROOT_APP,
  project: {
    env: {
      onboarding: (params) => buildEnvPath(params)("onboarding"),
      dashboard: (params) => buildEnvPath(params)("dashboard"),
      apiKeys: (params) => buildEnvPath(params)("api-keys"),
      traces: (params) => buildEnvPath(params)("traces"),
      traceId: (params) => buildEnvPath(params)(`traces/${params.traceId}${params.logId ? `?logId=${params.logId}` : ""}`),
      datasets: (params) => buildEnvPath(params)("datasets"),
      finetuning: (params) => buildEnvPath(params)("finetuning"),
      datasetsId: (params) => buildEnvPath(params)(`datasets/${params.datasetId}`),
      experiments: (params) => buildEnvPath(params)("experiments"),
      experimentsId: (params) => buildEnvPath(params)(`experiments/${params.experimentId}`),
      datapointRunId: (params) => buildEnvPath(params)(`experiments/${params.experimentId}/datapoint-run/${params.datapointRunId}`)
    }
  }
};
var PATH_AUTH = {
  login: path(ROOT_AUTH, "/login"),
  register: path(ROOT_AUTH, "/register")
};
var PATH_ACTIONS = {
  setTheme: path(ROOT_ACTION, "/set-theme"),
  setTZ: path(ROOT_ACTION, "/set-tz"),
  project: {
    create: path(ROOT_ACTION, "/project"),
    delete: (projectId) => path(ROOT_ACTION, `/project/${projectId}`),
    setOpenAIKey: (projectId) => path(ROOT_ACTION, `/project/${projectId}/openai-api-key`)
  },
  apiKeys: {
    reveal: (params) => path(ROOT_ACTION, `/project/${params.projectId}/api-keys/${params.apiKeyId}/reveal`),
    rotate: (params) => path(ROOT_ACTION, `/project/${params.projectId}/api-keys/${params.apiKeyId}/rotate`)
  },
  trace: {
    delete: (params) => path(ROOT_ACTION, `/project/${params.projectId}/trace/${params.traceId}`)
  },
  env: {
    create: (projectId) => path(ROOT_ACTION, `/project/${projectId}/env`)
  },
  dataset: {
    create: (params) => path(ROOT_ACTION, `/project/${params.projectId}/env/${params.envId}/dataset`),
    delete: (params) => path(ROOT_ACTION, `/project/${params.projectId}/dataset/${params.datasetId}`)
  },
  datapoints: {
    create: (params) => path(ROOT_ACTION, `/project/${params.projectId}/datapoint`),
    delete: (params) => path(ROOT_ACTION, `/project/${params.projectId}/datapoint/${params.datapointId}`)
  },
  finetuning: {
    create: (params) => path(ROOT_ACTION, `/project/${params.projectId}/dataset/${params.datasetId}/finetuning`)
  }
};
var PATH_EXTERNAL = {
  landing: "https://montelo.ai",
  documentation: "https://docs.montelo.ai",
  docs: {
    quickstart: "https://docs.montelo.ai/general/quickstart",
    traces: "https://docs.montelo.ai/traces/traces",
    datasets: "https://docs.montelo.ai/datasets/datasets",
    datapoints: "https://docs.montelo.ai/datapoints/datapoints",
    experiments: "https://docs.montelo.ai/experiments/experiments",
    runs: "https://docs.montelo.ai/runs/runs"
  },
  discord: "https://discord.gg/3t6WJzDHRB"
};
var Routes = {
  actions: PATH_ACTIONS,
  app: PATH_APP,
  auth: PATH_AUTH,
  external: PATH_EXTERNAL
};

export {
  Routes
};
//# sourceMappingURL=/build/_shared/chunk-N27UEDHN.js.map
