This is right for the Mac mini but the D4 and the D1 are claimed as compatible to thunderbold 3, please read your specs
https://www.terra-master.com/products/d4-ssd
https://www.terra-master.com/products/d1-ssd-plus
The Macbook Pro 2023 M2 has Thunderbold 4 Port as you can see here:
https://support.apple.com/de-de/111838
Today I connect the devices to a MacBook Air 2022 M2 with macOS Sequoia from a friend without problems.

