Files
github-leaderboard/server/jobs/index.ts
T
2024-08-08 06:07:30 +07:00

16 lines
463 B
TypeScript

import { calculateUserPoints } from "./calculate-user-points";
import { fetchRepoContributors } from "./fetch-repo-contributors";
import { fetchRepoData } from "./fetch-repo-data";
import { fetchUserProfile } from "./fetch-user-profile";
import { fetchUserRepos } from "./fetch-user-repos";
export const jobs = {
fetchUserRepos,
fetchRepoData,
fetchRepoContributors,
calculateUserPoints,
fetchUserProfile,
};
export type JobNames = keyof typeof jobs;