This commit is contained in:
2025-12-31 16:01:15 +01:00
parent b7d86e3b98
commit b3eea5a2fd
4 changed files with 37 additions and 16 deletions
+2 -2
View File
@@ -3,7 +3,7 @@
import { verifySession } from "./auth/session";
import { getNodes } from "./node";
import axios from "axios";
import { Application } from "@/lib/types";
import { ImageApp } from "@/lib/types";
export async function deployNewApp(name: string, repo: string, nodeId: string) {
if (await verifySession()) {
@@ -25,7 +25,7 @@ export async function deployNewApp(name: string, repo: string, nodeId: string) {
).data.applications;
}
export async function getApplications(): Promise<Application[]> {
export async function getApplications(): Promise<ImageApp[]> {
const nodes = await getNodes();
return (