Skip to content

Commit

Permalink
chore(ml-opensource#80): Remove the new folder
Browse files Browse the repository at this point in the history
  • Loading branch information
nivisi committed Jan 5, 2023
1 parent e75b5a3 commit a7100fb
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import 'dart:convert';

import 'package:flutter/foundation.dart';
import 'package:flutter_secure_storage/flutter_secure_storage.dart';
import 'package:flutter_template/data/api/new/auth_token_storage/auth_token_storage.dart';
import 'package:flutter_template/data/api/auth_token_storage/auth_token_storage.dart';
import 'package:flutter_template/data/model/auth/auth_tokens.dart';
import 'package:injectable/injectable.dart';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ import 'dart:async';

import 'package:dio/dio.dart';
import 'package:flutter_template/data/api/api_config.dart';
import 'package:flutter_template/data/api/auth_token_storage/auth_token_storage.dart';
import 'package:flutter_template/data/api/exceptions/authenticator_exception.dart';
import 'package:flutter_template/data/api/new/auth_token_storage/auth_token_storage.dart';
import 'package:flutter_template/data/api/new/interceptor/api_auth_interceptor.dart';
import 'package:flutter_template/data/interceptor/meta_interceptor.dart';
import 'package:flutter_template/data/api/interceptors/api_auth_interceptor.dart';
import 'package:flutter_template/data/api/interceptors/meta_interceptor.dart';
import 'package:flutter_template/data/model/auth/auth_tokens.dart';
import 'package:flutter_template/data/services/http_client/dio_http_client.dart';
import 'package:flutter_template/data/services/response_objects/tokens_response.dart';
Expand Down
2 changes: 1 addition & 1 deletion lib/data/api/exceptions/token_unauthorized_exception.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import 'package:flutter_template/data/api/new/interceptor/api_auth_interceptor.dart';
import 'package:flutter_template/data/api/interceptors/api_auth_interceptor.dart';

/// An exception indicating that token was invalid even after reauthentication.
/// See [ApiAuthInterceptor].
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import 'package:dio/dio.dart';
import 'package:flutter_template/data/api/authenticator/authenticator.dart';
import 'package:flutter_template/data/api/exceptions/token_unauthorized_exception.dart';
import 'package:flutter_template/data/api/new/authenticator/authenticator.dart';
import 'package:flutter_template/injection/network_module.dart';
import 'package:injectable/injectable.dart';

Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions lib/injection/network_module.dart
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import 'package:dio/adapter.dart';
import 'package:dio/dio.dart';
import 'package:flutter_template/data/api/api_config.dart';
import 'package:flutter_template/data/api/new/authenticator/authenticator.dart';
import 'package:flutter_template/data/api/new/interceptor/api_auth_interceptor.dart';
import 'package:flutter_template/data/api/authenticator/authenticator.dart';
import 'package:flutter_template/data/api/interceptors/api_auth_interceptor.dart';
import 'package:flutter_template/data/services/http_client/dio_http_client.dart';
import 'package:flutter_template/injection/injector.dart';
import 'package:injectable/injectable.dart';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import 'dart:convert';

import 'package:flutter_secure_storage/flutter_secure_storage.dart';
import 'package:flutter_template/data/api/new/auth_token_storage/secure_auth_token_storage.dart';
import 'package:flutter_template/data/api/auth_token_storage/secure_auth_token_storage.dart';
import 'package:flutter_template/data/model/auth/auth_tokens.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:mocktail/mocktail.dart';
Expand Down
6 changes: 3 additions & 3 deletions test/data/api/authenticator/authenticator_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ import 'dart:async';

import 'package:dio/dio.dart';
import 'package:flutter_template/data/api/api_config.dart';
import 'package:flutter_template/data/api/auth_token_storage/auth_token_storage.dart';
import 'package:flutter_template/data/api/authenticator/authenticator.dart';
import 'package:flutter_template/data/api/exceptions/authenticator_exception.dart';
import 'package:flutter_template/data/api/new/auth_token_storage/auth_token_storage.dart';
import 'package:flutter_template/data/api/new/authenticator/authenticator.dart';
import 'package:flutter_template/data/interceptor/meta_interceptor.dart';
import 'package:flutter_template/data/api/interceptors/meta_interceptor.dart';
import 'package:flutter_template/data/model/auth/auth_tokens.dart';
import 'package:flutter_template/data/services/http_client/dio_http_client.dart';
import 'package:flutter_template/presentation/app_flavor.dart';
Expand Down
4 changes: 2 additions & 2 deletions test/data/api/interceptors/api_auth_interceptor_test.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import 'package:dio/dio.dart';
import 'package:flutter_template/data/api/authenticator/authenticator.dart';
import 'package:flutter_template/data/api/exceptions/token_unauthorized_exception.dart';
import 'package:flutter_template/data/api/new/authenticator/authenticator.dart';
import 'package:flutter_template/data/api/new/interceptor/api_auth_interceptor.dart';
import 'package:flutter_template/data/api/interceptors/api_auth_interceptor.dart';
import 'package:flutter_template/data/model/auth/auth_tokens.dart';
import 'package:flutter_test/flutter_test.dart';
// import 'package:husl/data/preferences/auth_preferences.dart';
Expand Down

0 comments on commit a7100fb

Please sign in to comment.