The more common ones are Gute Nacht, mein Schatz, Gute Nacht and meine Liebe.
The difference is that Schatz is generally only used for very close relationships, affection and love, just like the usage of baby.
Compared with Liebe, it can be used more "indiscriminately". As long as the relationship is good. Friendship, teacher-student relationship, the same thing can be done.
I hope my answer can help you. If you have any other questions, please click on the consultation or private letter.