MCPcopy Create free account
hub / github.com/IsAvaible/AngularModUpdater / createRepoConfigs

Method createRepoConfigs

src/app/libraries/github/github.ts:47–68  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

45 public static REPO_CONFIGS: GitHubRepoConfig[] = GitHub.createRepoConfigs();
46
47 private static createRepoConfigs(): GitHubRepoConfig[] {
48 let configs: GitHubRepoConfig[] = [];
49
50 const sakuraRyokoConfigs: GitHubRepoConfig[] = [
51 { modName: 'litematica', modrinthPage: 'bEpr0Arc' },
52 { modName: 'malilib', modrinthPage: 'GcWjdA9I' },
53 { modName: 'minihud', modrinthPage: 'UMxybHE8' },
54 { modName: 'tweakeroo', modrinthPage: 't5wuYk45' },
55 { modName: 'itemscroller', modrinthPage: 'JygyCSA4' },
56 { modName: 'servux', modrinthPage: 'zQhsx8KF' }
57 ].map(({ modName, modrinthPage }) => ({
58 owner: 'sakura-ryoko',
59 repo: modName,
60 loader: Loader.fabric,
61 pattern: new RegExp(`^${modName}.*?-.+?-.+?-sakura.\\d+?.jar$`, 'i'),
62 modrinthPage
63 }));
64
65 configs = configs.concat(sakuraRyokoConfigs);
66
67 return configs;
68 }
69
70 /**
71 * Check if error is rate limit related (API-specific implementation)

Callers 1

GitHubClass · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected