UNPKG

everything-dev

Version:

A consolidated product package for building Module Federation apps with oRPC APIs.

29 lines • 1.05 kB
//#region src/start-config-source.d.ts /** * The `bos start --config` decision: an explicit local config outranks the * registry identity (BOS_ACCOUNT/BOS_GATEWAY) — FastKV is fetched only when * no local config was given. */ interface StartConfigSource { configPath?: string; registry?: { account: string; domain: string; }; } declare function resolveStartConfigSource(input: { configPath?: string; account?: string; domain?: string; }, env: { BOS_ACCOUNT?: string; BOS_GATEWAY?: string; }): StartConfigSource; /** A registry-fetched start is a real deployment — a localhost origin there is * a stray dev leftover. Local starts (explicit --config-path, bare `bos start`) * keep the operator's environment: their localhost origin IS the reachable * deployment context the in-process host's auth seam reads. */ declare function isRegistryStart(source: StartConfigSource): boolean; //#endregion export { StartConfigSource, isRegistryStart, resolveStartConfigSource }; //# sourceMappingURL=start-config-source.d.mts.map