decord/source/modules/gateway/GatewayAltEndpointExperiment.tsx

19 lines
835 B
TypeScript
Raw Normal View History

2026-08-15 05:55:55 +00:00
// Module ID: 13917
// Function ID: 13918
2026-07-20 16:05:17 +00:00
// Name: USE_ALT_GATEWAY_KEY
2026-08-15 05:55:55 +00:00
// Dependencies: [1472, 2, 13918]
2026-07-20 16:05:17 +00:00
// Exports: useShouldUseAltGateway
2026-08-15 05:55:55 +00:00
// Module 13917 (USE_ALT_GATEWAY_KEY)
2026-07-23 10:11:24 +00:00
import ApexExperiment from "ApexExperiment";
2026-07-20 16:05:17 +00:00
2026-07-29 08:29:29 +00:00
const obj = { 1: null, 2: { enableAltGateway: false } };
obj[2] = { enableAltGateway: true };
let closure_0 = ApexExperiment.createApexExperiment({ name: "2026-07-aws-gateway", kind: "user", defaultConfig: { enableAltGateway: false }, variations: obj });
2026-07-23 10:11:24 +00:00
const result = require("USE_ALT_GATEWAY_KEY").fileFinishedImporting("modules/gateway/GatewayAltEndpointExperiment.tsx");
export const USE_ALT_GATEWAY_KEY = require("USE_ALT_GATEWAY_KEY").USE_ALT_GATEWAY_KEY;
2026-07-20 16:05:17 +00:00
export const useShouldUseAltGateway = function useShouldUseAltGateway(App) {
return closure_0.useConfig({ location: App }).enableAltGateway;
};