mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
fix: adjust types
This commit is contained in:
parent
d4a3c5cff9
commit
364c2e192e
@ -10,26 +10,13 @@ import {
|
||||
import { api } from "@/utils/api";
|
||||
import { Layers, Loader2 } from "lucide-react";
|
||||
import React from "react";
|
||||
import { columns } from "./columns";
|
||||
import { type ApplicationList, columns } from "./columns";
|
||||
import { DataTable } from "./data-table";
|
||||
|
||||
interface Props {
|
||||
serverId?: string;
|
||||
}
|
||||
|
||||
interface ApplicationList {
|
||||
ID: string;
|
||||
Image: string;
|
||||
Mode: string;
|
||||
Name: string;
|
||||
Ports: string;
|
||||
Replicas: string;
|
||||
CurrentState: string;
|
||||
DesiredState: string;
|
||||
Error: string;
|
||||
Node: string;
|
||||
}
|
||||
|
||||
export const ShowNodeApplications = ({ serverId }: Props) => {
|
||||
const { data: NodeApps, isLoading: NodeAppsLoading } =
|
||||
api.swarm.getNodeApps.useQuery({ serverId });
|
||||
|
Loading…
Reference in New Issue
Block a user