refactor(files): Replace deprecated Types
enum for share types
#49300
+15
−11
Types
enum for share types
#49300