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

24 lines
846 B
TypeScript
Raw Normal View History

2026-10-05 08:00:40 +00:00
// Module ID: 13954
// Function ID: 13955
2026-07-20 16:05:17 +00:00
// Name: fetchExperiments
2026-10-03 08:58:59 +00:00
// Dependencies: [1085, 1282, 2]
2026-07-20 16:05:17 +00:00
// Exports: fetchExperiments
2026-10-05 08:00:40 +00:00
// Module 13954 (fetchExperiments)
2026-10-03 08:58:59 +00:00
import Constants from "Constants" /* 1085 */;
import HTTPUtils from "HTTPUtils" /* 1282 */;
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
};