decord/source/modules/gateway/GatewayAltEndpointExperiment.tsx
2026-08-25 06:04:03 +00:00

20 lines
906 B
TypeScript

// Module ID: 14020
// Function ID: 14021
// Name: USE_ALT_GATEWAY_KEY
// Dependencies: [1472, 2, 14021]
// Exports: useShouldUseAltGateway
// Module 14020 (USE_ALT_GATEWAY_KEY)
import set from "set" /* 2 */;
import USE_ALT_GATEWAY_KEY from "USE_ALT_GATEWAY_KEY" /* 14021 */;
import ApexExperiment from "ApexExperiment" /* 1472 */;
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 });
const result = set.fileFinishedImporting("modules/gateway/GatewayAltEndpointExperiment.tsx");
export const USE_ALT_GATEWAY_KEY = USE_ALT_GATEWAY_KEY.USE_ALT_GATEWAY_KEY;
export const useShouldUseAltGateway = function useShouldUseAltGateway(App) {
return closure_0.useConfig({ location: App }).enableAltGateway;
};