···991010const TOKEN_KEY = "luminary-token";
11111212-type LuminaryFailResponse = components["schemas"]["luminary_node.api.response.LuminaryFailResponse"];
1212+type LuminaryFailResponse = components["schemas"]["luminary.api.response.LuminaryFailResponse"];
13131414type LuminaryResponse =
1515- | components["schemas"]["luminary_node.api.response.LuminarySuccessResponse<()>"]
1515+ | components["schemas"]["luminary.api.response.LuminarySuccessResponse<()>"]
1616 | LuminaryFailResponse;
17171818type ExcludeFail<T> = T extends LuminaryFailResponse ? never : T;
···116116 * If successful, the token will be stored and used for future requests.
117117 * @param credentials The credentials to use for authentication.
118118 */
119119-export async function login(credentials: components["schemas"]["luminary_node.api.auth.LuminaryUserCredentials"]) {
119119+export async function login(credentials: components["schemas"]["luminary.api.auth.LuminaryUserCredentials"]) {
120120 const response = await client.POST("/api/auth/login", { body: credentials });
121121 putToken(response.data!);
122122}
+7-7
packages/panel/src/lib/api/realtime.svelte.ts
···55import { goto } from "$app/navigation";
66import { patch } from "ultrapatch";
7788-export type LuminaryProjectList = components["schemas"]["luminary_node.core.model.LuminaryProjectList"];
99-export type LuminaryProject = components["schemas"]["luminary_node.core.model.LuminaryProject"];
1010-type LogMessage = components["schemas"]["luminary_node.logging.LogMessage"];
88+export type LuminaryProjectList = components["schemas"]["luminary.core.model.LuminaryProjectList"];
99+export type LuminaryProject = components["schemas"]["luminary.core.model.LuminaryProject"];
1010+type LogMessage = components["schemas"]["luminary.logging.LogMessage"];
11111212/**
1313 * The current internal list of projects and their states.
···6767 "Luminary will attempt to reconnect automatically. If the issue persists, please check your network connection and the server status.",
6868 ]);
6969 }
7070- } catch (_) {
7171- if (signal.aborted) return;
7272- await backoff.wait();
7373- }
7070+ } catch (_) {}
7171+7272+ if (signal.aborted) return;
7373+ await backoff.wait();
7474 }
7575}
7676