A tool to read animebox backup files and export the data in alternate formats.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

93 lines
1.8 KiB

  1. struct AnimeBoxesBackup {
  2. backupTime: String,
  3. backupVersion: String,
  4. bannedTags: Vec<String>,
  5. creatorName: String,
  6. creatorVersion: String,
  7. favorites: Vec<AnimeBoxesFavorite>,
  8. searchHistory: Vec<AnimeBoxesSearch>,
  9. servers: Vec<AnimeBoxesServer>,
  10. }
  11. struct AnimeBoxesFavorite {
  12. dateAdded: String,
  13. disableStorage: bool,
  14. enforceOriginalImage: bool,
  15. file: AnimeBoxesFavoriteFile,
  16. has_children: bool,
  17. has_comments: bool,
  18. has_notes: bool,
  19. imageIsVisible: bool,
  20. isFavorite: bool,
  21. isVisible: bool,
  22. jpeg: Option<AnimeBoxesFavoriteJpeg>,
  23. md5: String,
  24. parent_id: String,
  25. ppost_id: String,
  26. ppostUrl: String,
  27. preview: AnimeBoxesFavoritePreview,
  28. rating: String,
  29. sample: AnimeBoxesFavoriteSample,
  30. score: i16,
  31. source: String,
  32. tag_artist: String,
  33. tag_character: String,
  34. tag_copyright: String,
  35. tag_general: String,
  36. tags: String,
  37. }
  38. struct AnimeBoxesFavoriteFile {
  39. contentType: i8,
  40. ext: String,
  41. height: i16,
  42. url: String,
  43. width: i16,
  44. }
  45. struct AnimeBoxesFavoriteJpeg {
  46. contentType: i8,
  47. ext: String,
  48. height: i16,
  49. url: String,
  50. width: i16,
  51. }
  52. struct AnimeBoxesFavoritePreview {
  53. contentType: i8,
  54. ext: String,
  55. height: i16,
  56. url: String,
  57. width: i16,
  58. }
  59. struct AnimeBoxesFavoriteSample {
  60. contentType: i8,
  61. ext: String,
  62. height: i16,
  63. url: String,
  64. width: i16,
  65. }
  66. struct AnimeBoxesSearch {
  67. itemId: i32,
  68. searchDate: String,
  69. searchText: String,
  70. starred: bool,
  71. }
  72. struct AnimeBoxesServer {
  73. apikey: String,
  74. isDefault: bool,
  75. isSelected: bool,
  76. password: String,
  77. passwordKey: String,
  78. ratingFilterEnabled: bool,
  79. realURL: String,
  80. serverId: i16,
  81. serverName: String,
  82. type_: i16,
  83. url: String,
  84. useNativeAutocomplete: bool,
  85. userName: String,
  86. }