decord/source/modules/experiments/fetchExperiments.tsx

20 lines
735 B
TypeScript
Raw Normal View History

2026-09-03 10:05:34 +00:00
// Module ID: 14072
// Function ID: 14073
2026-07-20 16:05:17 +00:00
// Name: fetchExperiments
2026-09-02 09:53:35 +00:00
// Dependencies: [673, 527, 2]
2026-07-20 16:05:17 +00:00
// Exports: fetchExperiments
2026-09-03 10:05:34 +00:00
// Module 14072 (fetchExperiments)
2026-08-24 06:08:38 +00:00
import set from "set" /* 2 */;
2026-09-02 09:53:35 +00:00
import sendRequest from "sendRequest" /* 527 */;
import ME from "ME" /* 673 */;
2026-07-23 10:11:24 +00:00
2026-08-24 06:08:38 +00:00
const Endpoints = ME.Endpoints;
const result = set.fileFinishedImporting("modules/experiments/fetchExperiments.tsx");
2026-07-20 16:05:17 +00:00
export const fetchExperiments = function fetchExperiments(arg0) {
({ withGuildExperiments, headers, context } = arg0);
2026-08-24 06:08:38 +00:00
const HTTP = sendRequest.HTTP;
2026-07-20 16:05:17 +00:00
return HTTP.get({ url: Endpoints.EXPERIMENTS, query: { with_guild_experiments: withGuildExperiments }, headers, context, retries: 3, oldFormErrors: true, rejectWithError: false });
};