decord/source/modules/experiments/fetchExperiments.tsx

20 lines
735 B
TypeScript
Raw Normal View History

2026-08-27 16:17:25 +00:00
// Module ID: 13747
// Function ID: 13748
2026-07-20 16:05:17 +00:00
// Name: fetchExperiments
2026-07-29 08:29:29 +00:00
// Dependencies: [676, 530, 2]
2026-07-20 16:05:17 +00:00
// Exports: fetchExperiments
2026-08-27 16:17:25 +00:00
// Module 13747 (fetchExperiments)
2026-08-24 06:08:38 +00:00
import set from "set" /* 2 */;
import sendRequest from "sendRequest" /* 530 */;
import ME from "ME" /* 676 */;
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 });
};