- 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
15 lines
385 B
TypeScript
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
|