2026-10-01 06:55:13 +00:00
|
|
|
// Module ID: 14322
|
|
|
|
|
// Function ID: 14323
|
2026-09-10 05:38:07 +00:00
|
|
|
// Name: GatewayAltEndpointExperiment
|
2026-10-01 06:55:13 +00:00
|
|
|
// Dependencies: [1435, 2, 14323]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: useShouldUseAltGateway
|
|
|
|
|
|
2026-10-01 06:55:13 +00:00
|
|
|
// Module 14322 (GatewayAltEndpointExperiment)
|
|
|
|
|
import GatewayAltEndpointCache from "GatewayAltEndpointCache" /* 14323 */;
|
2026-09-26 08:31:33 +00:00
|
|
|
import ApexExperiment from "ApexExperiment" /* 1435 */;
|
2026-09-10 05:38:07 +00:00
|
|
|
import size from "module_2" /* 2 */;
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
const obj = { name: "2026-07-aws-gateway", kind: "user", defaultConfig: { enableAltGateway: false }, variations: null };
|
|
|
|
|
const obj2 = { 1: null, 2: { enableAltGateway: false } };
|
|
|
|
|
obj2[2] = { enableAltGateway: true };
|
|
|
|
|
obj.variations = obj2;
|
|
|
|
|
let closure_0 = ApexExperiment.createApexExperiment(obj);
|
|
|
|
|
const result = size.fileFinishedImporting("modules/gateway/GatewayAltEndpointExperiment.tsx");
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
export const USE_ALT_GATEWAY_KEY = GatewayAltEndpointCache.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;
|
|
|
|
|
};
|