mirrored_repositories/public-apis-mobile-client/lib/app/services/local_db/hive
import 'package:hive_flutter/hive_flutter.dart';
import 'package:hive/hive.dart';

import '../../../../data/models/favoriteApi.dart';

abstract class BoxesConstants {
  static const String favorites = "favorites";
  static const String locals = "locals";
  static const String hiddenCategories = "hidden_categories";
  BoxesConstants._();
}

class HiveBoxes {
  static Box<FavoriteApi> favoritesBox =
      Hive.box<FavoriteApi>(BoxesConstants.favorites);
  static Box localsBox = Hive.box(BoxesConstants.locals);
  static Box hiddenCategoriesBox = Hive.box(BoxesConstants.hiddenCategories);
  HiveBoxes._();
}
