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; driver_opts: KeyValPair;
attachable: boolean; attachable: boolean;
enable_ipv6: boolean; enable_ipv6: boolean;
ipam: { ipam?: {
driver: string; driver?: string;
config: { config?: {
subnet: string; subnet?: string;
ip_range: string; ip_range?: string;
gateway: string; gateway?: string;
aux_addresses: { aux_addresses?: Record<string, string>;
host1: string;
host2: string;
host3: string;
};
}[]; }[];
options: KeyValPair; options?: Record<string, string>;
}; };
internal: boolean; internal: boolean;
labels: string[] | KeyValPair; labels: string[] | KeyValPair;

Loading…
Cancel
Save