decord/source/modules/gateway/GatewayAltEndpointExperiment.tsx
github-actions 67d978d9fb chore: update source for alpha 346.0
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9672_m.js (378.6 MB)
2026-09-07 16:44:02 +00:00

20 lines
906 B
TypeScript

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