feat(frontend): updated `INetworkTopLevel` interface

* Made `position` optional in `INodeItem`.
pull/81/head
Samuel Rowe 3 years ago
parent 6237bc0773
commit bc89bd860a

@ -87,19 +87,15 @@ export interface INetworkTopLevel {
driver_opts: KeyValPair;
attachable: boolean;
enable_ipv6: boolean;
ipam: {
driver: string;
config: {
subnet: string;
ip_range: string;
gateway: string;
aux_addresses: {
host1: string;
host2: string;
host3: string;
};
ipam?: {
driver?: string;
config?: {
subnet?: string;
ip_range?: string;
gateway?: string;
aux_addresses?: Record<string, string>;
}[];
options: KeyValPair;
options?: Record<string, string>;
};
internal: boolean;
labels: string[] | KeyValPair;

Loading…
Cancel
Save