.ts
TypeScript
(application/typescript)
import { join, resolve } from "node:path";
import { Env } from "../../env";

export const ORGS_REPOS: Record<
  string,
  Record<
    string,
    { username: string; password: string; gitRepositoryDir: string }
  >
> = {
  ethicdevs: {
    "test-repository": {
      username: "ethicdevs",
      password: "secret",
      gitRepositoryDir: resolve(
        join(Env.GIT_REPOSITORIES_ROOT, "ethicdevs", "test-repository")
      ),
    },
  },
  wnemencha: {
    "react-monolith-samples": {
      username: "wnemencha",
      password: "secret",
      gitRepositoryDir: resolve(
        join(Env.GIT_REPOSITORIES_ROOT, "wnemencha", "react-monolith-samples")
      ),
    },
  },
};