Skip to content

Commit 66ce087

Browse files
committed
refactor(registry): update imports and package references
- Replace `ht_data_client` with `data_client` package - Replace `flutter_news_app_api_server_full_source_code` with `core` package - Update class names and references accordingly
1 parent fef92b9 commit 66ce087

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/src/registry/model_registry.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
// ignore_for_file: comment_references
22

3+
import 'package:core/core.dart';
34
import 'package:dart_frog/dart_frog.dart';
4-
import 'package:ht_api/src/rbac/permissions.dart';
5-
import 'package:ht_data_client/ht_data_client.dart';
6-
import 'package:ht_shared/ht_shared.dart';
5+
import 'package:data_client/data_client.dart';
6+
import 'package:flutter_news_app_api_server_full_source_code/src/rbac/permissions.dart';
77

88
/// Defines the type of permission check required for a specific action.
99
enum RequiredPermissionType {
@@ -113,7 +113,7 @@ class ModelConfig<T> {
113113
/// (like `fromJson`, `getOwnerId`) and authorization metadata needed by the
114114
/// generic route handlers (`index.dart`, `[id].dart`) and authorization middleware.
115115
///
116-
/// While individual repositories (`HtDataRepository<Headline>`, etc.) are provided
116+
/// While individual repositories (`DataRepository<Headline>`, etc.) are provided
117117
/// directly in the main `routes/_middleware.dart`, this registry provides the
118118
/// *metadata* needed to work with those repositories generically based on the
119119
/// request's `model` parameter.

0 commit comments

Comments
 (0)