diff --git a/README.md b/README.md index ed4f23f..49d6611 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@

-coverage: 0% +coverage Documentation: Read

diff --git a/analysis_options.yaml b/analysis_options.yaml index 803eb63..6f69771 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml @@ -1,4 +1,4 @@ -include: package:very_good_analysis/analysis_options.7.0.0.yaml +include: package:very_good_analysis/analysis_options.9.0.0.yaml analyzer: errors: avoid_redundant_argument_values: ignore diff --git a/lib/src/config/environment_config.dart b/lib/src/config/environment_config.dart index 71babc7..01cb664 100644 --- a/lib/src/config/environment_config.dart +++ b/lib/src/config/environment_config.dart @@ -15,7 +15,7 @@ abstract final class EnvironmentConfig { // The DotEnv instance is now loaded via a helper method to make it more // resilient to current working directory issues. - static final _env = _loadEnv(); + static final DotEnv _env = _loadEnv(); /// Helper method to load the .env file more robustly. /// diff --git a/lib/src/registry/model_registry.dart b/lib/src/registry/model_registry.dart index 046559d..d4a3c7b 100644 --- a/lib/src/registry/model_registry.dart +++ b/lib/src/registry/model_registry.dart @@ -459,4 +459,4 @@ typedef ModelRegistryMap = Map>; /// This makes the `modelRegistry` map available for injection into the /// request context via `context.read()`. It's primarily /// used by the middleware in `routes/api/v1/data/_middleware.dart`. -final modelRegistryProvider = provider((_) => modelRegistry); +final Middleware modelRegistryProvider = provider((_) => modelRegistry); diff --git a/pubspec.lock b/pubspec.lock index d816ff0..21a7955 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -117,8 +117,8 @@ packages: dependency: "direct main" description: path: "." - ref: HEAD - resolved-ref: d7d9afa3e0cf8fb211fdea3342db8831813abf7d + ref: "828b984517edec069266579c624c7af9fbe0e2ac" + resolved-ref: "828b984517edec069266579c624c7af9fbe0e2ac" url: "https://github.com/flutter-news-app-full-source-code/core.git" source: git version: "0.0.0" @@ -158,8 +158,8 @@ packages: dependency: "direct main" description: path: "." - ref: HEAD - resolved-ref: "2cbe263418a214838e2ac84d0db8911520d14a3e" + ref: "960a00882045ee252274d9d57bfca606c1fe5d64" + resolved-ref: "960a00882045ee252274d9d57bfca606c1fe5d64" url: "https://github.com/flutter-news-app-full-source-code/data-client.git" source: git version: "0.0.0" @@ -167,8 +167,8 @@ packages: dependency: "direct main" description: path: "." - ref: HEAD - resolved-ref: "113c1874dc7baa964d0c41640a09c8cac64a685a" + ref: ee2ace6243f1ad4710c192c36215d3ce9e91c7a3 + resolved-ref: ee2ace6243f1ad4710c192c36215d3ce9e91c7a3 url: "https://github.com/flutter-news-app-full-source-code/data-mongodb.git" source: git version: "0.0.0" @@ -176,8 +176,8 @@ packages: dependency: "direct main" description: path: "." - ref: HEAD - resolved-ref: d9fbbf33d8bb53724e2dd29d488a0c8eb9cbf6e8 + ref: f8f01f1191286efbba41fa2bb369fb16eb652ccf + resolved-ref: f8f01f1191286efbba41fa2bb369fb16eb652ccf url: "https://github.com/flutter-news-app-full-source-code/data-repository.git" source: git version: "0.0.0" @@ -225,8 +225,8 @@ packages: dependency: "direct main" description: path: "." - ref: HEAD - resolved-ref: "422f8c6442be166b503ba1cdcb1a0170f3fbe71f" + ref: c5e36d06b58918056dde4a58d177a39fb66bfe24 + resolved-ref: c5e36d06b58918056dde4a58d177a39fb66bfe24 url: "https://github.com/flutter-news-app-full-source-code/email-client.git" source: git version: "0.0.0" @@ -234,8 +234,8 @@ packages: dependency: "direct main" description: path: "." - ref: HEAD - resolved-ref: f09f7868b9f0ffbe90f3c8e1c12655356a86dcfb + ref: a68acd99c37b844af4eb3ed9f2eb9fd494c57f73 + resolved-ref: a68acd99c37b844af4eb3ed9f2eb9fd494c57f73 url: "https://github.com/flutter-news-app-full-source-code/email-repository.git" source: git version: "0.0.0" @@ -243,8 +243,8 @@ packages: dependency: "direct main" description: path: "." - ref: HEAD - resolved-ref: "80606a93d3f1ab5ac57123cd89ed4a04a43203df" + ref: "4cd256b1a65a648db2519d8b26b4e9174d4d3a0c" + resolved-ref: "4cd256b1a65a648db2519d8b26b4e9174d4d3a0c" url: "https://github.com/flutter-news-app-full-source-code/email-sendgrid.git" source: git version: "0.0.0" @@ -316,8 +316,8 @@ packages: dependency: "direct main" description: path: "." - ref: HEAD - resolved-ref: be0149d0eebab781a5ffefe5c6475d3bd1be56a6 + ref: "57f6bcfc0f209ecc135fdcb688194045ec87e6e8" + resolved-ref: "57f6bcfc0f209ecc135fdcb688194045ec87e6e8" url: "https://github.com/flutter-news-app-full-source-code/http-client.git" source: git version: "0.0.0" diff --git a/pubspec.yaml b/pubspec.yaml index 6a05a55..b29a480 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -11,30 +11,38 @@ dependencies: core: git: url: https://github.com/flutter-news-app-full-source-code/core.git + ref: 828b984517edec069266579c624c7af9fbe0e2ac dart_frog: ^1.1.0 dart_jsonwebtoken: ^3.2.0 data_client: git: url: https://github.com/flutter-news-app-full-source-code/data-client.git + ref: 960a00882045ee252274d9d57bfca606c1fe5d64 data_mongodb: git: url: https://github.com/flutter-news-app-full-source-code/data-mongodb.git + ref: ee2ace6243f1ad4710c192c36215d3ce9e91c7a3 data_repository: git: url: https://github.com/flutter-news-app-full-source-code/data-repository.git + ref: f8f01f1191286efbba41fa2bb369fb16eb652ccf dotenv: ^4.2.0 email_client: git: url: https://github.com/flutter-news-app-full-source-code/email-client.git + ref: c5e36d06b58918056dde4a58d177a39fb66bfe24 email_repository: git: url: https://github.com/flutter-news-app-full-source-code/email-repository.git + ref: a68acd99c37b844af4eb3ed9f2eb9fd494c57f73 email_sendgrid: git: url: https://github.com/flutter-news-app-full-source-code/email-sendgrid.git + ref: 4cd256b1a65a648db2519d8b26b4e9174d4d3a0c http_client: git: url: https://github.com/flutter-news-app-full-source-code/http-client.git + ref: 57f6bcfc0f209ecc135fdcb688194045ec87e6e8 json_annotation: ^4.9.0 logging: ^1.3.0 meta: ^1.16.0