-
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
571 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import 'package:vocadb_app/src/features/tags/domain/tag.dart'; | ||
|
||
final kFakeTagsList = [ | ||
Tag(id: 6107, name: '#コンパス', categoryName: 'Copyrights'), | ||
Tag(id: 9078, name: '#コンパス ライブアリーナ', categoryName: 'Games'), | ||
Tag(id: 7720, name: 'LIVE', categoryName: 'Copyrights'), | ||
Tag(id: 10264, name: '10 million master', categoryName: 'Series'), | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import 'package:freezed_annotation/freezed_annotation.dart'; | ||
|
||
part 'tags_list_params.freezed.dart'; | ||
part 'tags_list_params.g.dart'; | ||
|
||
@freezed | ||
class TagsListParams with _$TagsListParams { | ||
@JsonSerializable(includeIfNull: false) | ||
const factory TagsListParams({ | ||
String? query, | ||
String? categoryName, | ||
@Default(0) int start, | ||
@Default(10) int maxResults, | ||
@Default('None') String sort, | ||
@Default('Name') String nameMatchMode, | ||
@Default('Default') String lang, | ||
}) = _TagsListParams; | ||
|
||
factory TagsListParams.fromJson(Map<String, dynamic> json) => | ||
_$TagsListParamsFromJson(json); | ||
} |
Oops, something went wrong.