feat(app): add script and tasks

This commit is contained in:
petrovyuri
2025-01-21 18:59:02 +03:00
parent 17d096baac
commit 40fc2209a4
8 changed files with 84 additions and 12 deletions

View File

@@ -15,8 +15,8 @@ final class AppSecureStorage implements ISecureStorage {
@override
final String secretKey;
@override
String get name => 'AuroraAppSecureStorage';
static const name = 'AuroraAppSecureStorage';
/// Экземпляр хранилища данных
final _box = const FlutterSecureStorage();
@@ -45,4 +45,7 @@ final class AppSecureStorage implements ISecureStorage {
Future<void> write(String key, String value) async {
await _box.write(key: key, value: value);
}
@override
String get nameImpl => AppSecureStorage.name;
}

View File

@@ -41,4 +41,7 @@ final class AppSecureStorage implements ISecureStorage {
Future<void> write(String key, String value) async {
await _box.write(key: key, value: value);
}
@override
String get nameImpl => AppSecureStorage.name;
}

View File

@@ -41,4 +41,6 @@ abstract interface class ISecureStorage {
/// Принимает:
/// - [key] - ключ
Future<bool> exists(String key);
String get nameImpl;
}