decord/source/modules/gateway/GatewayAltEndpointExperiment.tsx

21 lines
906 B
TypeScript
Raw Normal View History

2026-09-01 10:26:29 +00:00
// Module ID: 14206
// Function ID: 14207
2026-07-20 16:05:17 +00:00
// Name: USE_ALT_GATEWAY_KEY
2026-09-01 10:26:29 +00:00
// Dependencies: [1468, 2, 14207]
2026-07-20 16:05:17 +00:00
// Exports: useShouldUseAltGateway
2026-09-01 10:26:29 +00:00
// Module 14206 (USE_ALT_GATEWAY_KEY)
2026-08-24 06:08:38 +00:00
import set from "set" /* 2 */;
2026-09-01 10:26:29 +00:00
import USE_ALT_GATEWAY_KEY from "USE_ALT_GATEWAY_KEY" /* 14207 */;
2026-08-31 15:47:37 +00:00
import ApexExperiment from "ApexExperiment" /* 1468 */;
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-08-24 06:08:38 +00:00
const result = set.fileFinishedImporting("modules/gateway/GatewayAltEndpointExperiment.tsx");
2026-07-23 10:11:24 +00:00
2026-08-24 06:08:38 +00:00
export const USE_ALT_GATEWAY_KEY = 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;
};