decord/source/modules/gateway/GatewayAltEndpointExperiment.tsx
github-actions 7450227d0b chore: update source for alpha 345.4
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9596_m.js (380.6 MB)
2026-09-04 17:41:35 +00:00

20 lines
906 B
TypeScript

// Module ID: 14477
// Function ID: 14478
// Name: USE_ALT_GATEWAY_KEY
// Dependencies: [1468, 2, 14478]
// Exports: useShouldUseAltGateway
// Module 14477 (USE_ALT_GATEWAY_KEY)
import set from "set" /* 2 */;
import USE_ALT_GATEWAY_KEY from "USE_ALT_GATEWAY_KEY" /* 14478 */;
import ApexExperiment from "ApexExperiment" /* 1468 */;
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;
};