-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #45 from andannn/notification
notification function
- Loading branch information
Showing
87 changed files
with
6,513 additions
and
331 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
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 |
---|---|---|
@@ -1,17 +1,29 @@ | ||
|
||
import 'package:freezed_annotation/freezed_annotation.dart'; | ||
|
||
@JsonEnum() | ||
enum MediaStatus { | ||
@JsonValue('RELEASING') | ||
releasing('RELEASING'), | ||
/// Has completed and is no longer being released | ||
@JsonValue('FINISHED') | ||
finished('FINISHED'), | ||
|
||
/// Currently releasing | ||
@JsonValue('RELEASING') | ||
releasing('RELEASING'), | ||
|
||
/// To be released at a later date | ||
@JsonValue('NOT_YET_RELEASED') | ||
notYetReleased('NOT_YET_RELEASED'); | ||
notYetReleased('NOT_YET_RELEASED'), | ||
|
||
/// Ended before the work could be finished | ||
@JsonValue('CANCELLED') | ||
cancelled('CANCELLED'), | ||
|
||
// ignore: lines_longer_than_80_chars | ||
/// Version 2 only. Is currently paused from releasing and will resume at a later date. | ||
@JsonValue('HIATUS') | ||
hiatus('HIATUS'); | ||
|
||
final String sqlTypeString; | ||
|
||
const MediaStatus(this.sqlTypeString); | ||
} | ||
|
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
Oops, something went wrong.