@mp70/react-networks 0.3.0-alpha.2 → 0.3.0-alpha.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -1434,7 +1434,7 @@ declare const isUPositionAvailable: (rack: NetworkNode, device: NetworkNode, uPo
1434
1434
  /**
1435
1435
  * Find the next available U position in a rack
1436
1436
  */
1437
- declare const findNextAvailableUPosition: (rack: NetworkNode, device: NetworkNode, allNodes: NetworkNode[], startFrom?: number) => number;
1437
+ declare const findNextAvailableUPosition: (rack: NetworkNode, device: NetworkNode, allNodes: NetworkNode[], startFrom?: number) => number | undefined;
1438
1438
  /**
1439
1439
  * Calculate device position based on U position within a rack
1440
1440
  */
package/dist/index.d.ts CHANGED
@@ -1434,7 +1434,7 @@ declare const isUPositionAvailable: (rack: NetworkNode, device: NetworkNode, uPo
1434
1434
  /**
1435
1435
  * Find the next available U position in a rack
1436
1436
  */
1437
- declare const findNextAvailableUPosition: (rack: NetworkNode, device: NetworkNode, allNodes: NetworkNode[], startFrom?: number) => number;
1437
+ declare const findNextAvailableUPosition: (rack: NetworkNode, device: NetworkNode, allNodes: NetworkNode[], startFrom?: number) => number | undefined;
1438
1438
  /**
1439
1439
  * Calculate device position based on U position within a rack
1440
1440
  */