20 lines
906 B
TypeScript
20 lines
906 B
TypeScript
// Module ID: 13985
|
|
// Function ID: 13986
|
|
// Name: USE_ALT_GATEWAY_KEY
|
|
// Dependencies: [1472, 2, 13986]
|
|
// Exports: useShouldUseAltGateway
|
|
|
|
// Module 13985 (USE_ALT_GATEWAY_KEY)
|
|
import set from "set" /* 2 */;
|
|
import USE_ALT_GATEWAY_KEY from "USE_ALT_GATEWAY_KEY" /* 13986 */;
|
|
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;
|
|
};
|