/** * Default configuration values for microfrontends * * NOTE: ESLint and Prettier configs are NOT exported from here since they * contain Node.js-specific dependencies. Import them directly: * - ESLint: import { createEslintConfig } from '@burdenoff/fe-libs/shared/config/eslint.config' * - Prettier: import { prettierConfig } from '@burdenoff/fe-libs/shared/config/prettier.config' */ export declare const DEFAULT_PAGE_SIZE = 20; /** * Gateway configuration * * Two primary gateways: * - workspace: For workspace-scoped operations (gw-wspace.local.burdenoff.com in dev) * - global: For global/tenant operations (gw-global.local.burdenoff.com in dev) */ export declare const GATEWAYS: { readonly workspace: { /** Default base URL for development */ readonly defaultBaseUrl: "https://gw-wspace.local.burdenoff.com"; /** GraphQL endpoint path */ readonly graphql: "/workspaces/graphql"; /** SSE endpoint path for subscriptions (same endpoint, gateway detects via Accept header) */ readonly sse: "/workspaces/graphql"; }; readonly global: { /** Default base URL for development */ readonly defaultBaseUrl: "https://gw-global.local.burdenoff.com"; /** GraphQL endpoint path */ readonly graphql: "/global/graphql"; /** SSE endpoint path for subscriptions (same endpoint, gateway detects via Accept header) */ readonly sse: "/global/graphql"; /** WebSocket endpoint for subscriptions (if needed) */ readonly ws: "/global/graphql/ws"; }; }; export type Supergraph = 'tenant' | 'workspaces'; export type Gateway = keyof typeof GATEWAYS; /** * Build full GraphQL endpoint URL */ export declare function getGraphQLEndpoint(baseUrl: string, supergraph: Supergraph): string; /** * Get gateway configuration */ export declare function getGatewayConfig(gateway: Gateway): { /** Default base URL for development */ readonly defaultBaseUrl: "https://gw-wspace.local.burdenoff.com"; /** GraphQL endpoint path */ readonly graphql: "/workspaces/graphql"; /** SSE endpoint path for subscriptions (same endpoint, gateway detects via Accept header) */ readonly sse: "/workspaces/graphql"; } | { /** Default base URL for development */ readonly defaultBaseUrl: "https://gw-global.local.burdenoff.com"; /** GraphQL endpoint path */ readonly graphql: "/global/graphql"; /** SSE endpoint path for subscriptions (same endpoint, gateway detects via Accept header) */ readonly sse: "/global/graphql"; /** WebSocket endpoint for subscriptions (if needed) */ readonly ws: "/global/graphql/ws"; }; /** * Build full gateway URL */ export declare function getGatewayUrl(baseUrl: string | undefined, gateway: Gateway): string; export { resolveGatewayUrls } from './gatewayUrls'; export type { RuntimeGatewayUrls } from './gatewayUrls'; export { resolveAuthBridgeConfig, resolveShellAuthBridgeConfig } from './authBridgeUrls'; export type { RuntimeAuthBridgeConfig } from './authBridgeUrls'; export { PRODUCTS, PRODUCT_URLS, getProductUrl, getProductsWithUrls } from './products'; export type { ProductConfig } from './products'; export { getShellConfig, isShellLessRoute, shouldShowSidebar, shouldShowBreadcrumb, DEFAULT_SHELL_CONFIG, COMMON_SHELL_LESS_ROUTES, } from './shellRoutes'; export type { ShellRouteConfig } from './shellRoutes'; //# sourceMappingURL=index.d.ts.map