mirror of
https://github.com/crocofied/CoreControl.git
synced 2025-12-29 16:14:43 +00:00
Network & Edit mode
This commit is contained in:
@@ -1,11 +1,19 @@
|
||||
import { useState, useEffect, useCallback } from "react";
|
||||
import axios from "axios";
|
||||
|
||||
interface Network {
|
||||
id?: number;
|
||||
name: string;
|
||||
ipv4Subnet?: string;
|
||||
ipv6Subnet?: string;
|
||||
gateway?: string;
|
||||
}
|
||||
|
||||
interface Site {
|
||||
id: number;
|
||||
name: string;
|
||||
description: string;
|
||||
networks: string[];
|
||||
networks: Network[];
|
||||
}
|
||||
|
||||
const useSite = () => {
|
||||
|
||||
Reference in New Issue
Block a user