decord/alpha/source/modules/experiments/fetchExperiments.tsx

24 lines
846 B
TypeScript
Raw Permalink Normal View History

2026-10-13 12:43:34 +00:00
// Module ID: 14764
// Function ID: 14765
2026-07-20 16:05:17 +00:00
// Name: fetchExperiments
2026-10-09 10:00:15 +00:00
// Dependencies: [1085, 1295, 2]
2026-07-20 16:05:17 +00:00
// Exports: fetchExperiments
2026-10-13 12:43:34 +00:00
// Module 14764 (fetchExperiments)
2026-10-03 08:58:59 +00:00
import Constants from "Constants" /* 1085 */;
2026-10-09 10:00:15 +00:00
import HTTPUtils from "HTTPUtils" /* 1295 */;
import size from "module_2" /* 2 */;
2026-07-23 10:11:24 +00:00
const Endpoints = Constants.Endpoints;
const result = size.fileFinishedImporting("modules/experiments/fetchExperiments.tsx");
2026-07-20 16:05:17 +00:00
export const fetchExperiments = function fetchExperiments(arg0) {
2026-10-03 08:58:59 +00:00
let context;
let headers;
let withGuildExperiments;
2026-07-20 16:05:17 +00:00
({ withGuildExperiments, headers, context } = arg0);
const HTTP = HTTPUtils.HTTP;
const request = { url: Endpoints.EXPERIMENTS, query: { with_guild_experiments: withGuildExperiments }, headers, context, retries: 3, oldFormErrors: true, rejectWithError: false };
return HTTP.get(request);
2026-07-20 16:05:17 +00:00
};