Nicolas Cantu 940cf59178 Share upstream definitions in @4nk/smart-ide-upstreams, systemd user units
- Add packages/smart-ide-upstreams (versioned dist) for resolveUpstream + listUpstreamKeys
- Wire smart-ide-global-api and smart-ide-sso-gateway via file: dependency
- Add systemd user unit templates and install-smart-ide-gateway-systemd-user.sh (SSO After/Requires global API)
- Update docs and VERSION 0.0.3
2026-04-04 15:37:58 +02:00

15 lines
385 B
TypeScript

export type UpstreamAuth = {
kind: "bearer";
token: string;
} | {
kind: "header";
name: string;
value: string;
};
export type UpstreamTarget = {
baseUrl: string;
auth: UpstreamAuth;
};
export declare const resolveUpstream: (key: string) => UpstreamTarget | null;
export declare const listUpstreamKeys: () => string[];
//# sourceMappingURL=upstreams.d.ts.map