-
-
Notifications
You must be signed in to change notification settings - Fork 488
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix issues in loading Attendees (#2466)
* Replace registrants with attendees & Update tests, queries & Add Docs * remove usage of dynamic
- Loading branch information
Showing
18 changed files
with
676 additions
and
287 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 |
---|---|---|
@@ -1,25 +1,71 @@ | ||
// ignore_for_file: talawa_api_doc | ||
// ignore_for_file: talawa_good_doc_comments | ||
|
||
///This file contains different enums. | ||
///The enum keyword is used to define an enumeration type in Dart. | ||
/// The use case of enumeration is to store finite data members under the same type definition. | ||
/// Represents the state of the view | ||
/// Represents the state of the view. | ||
enum ViewState { | ||
/// The view is not doing anything. | ||
idle, | ||
|
||
/// The view is loading something. | ||
busy, | ||
} | ||
|
||
/// Represents the state of the chat | ||
enum ChatState { initial, loading, complete } | ||
/// Represents the state of the chat. | ||
enum ChatState { | ||
/// The chat is at initial state. | ||
initial, | ||
|
||
/// The chat is loading something. | ||
loading, | ||
|
||
/// The chat state is complete. | ||
complete | ||
} | ||
|
||
/// Represents the type of the tile. | ||
enum TileType { | ||
/// Represents the tile of the user. | ||
user, | ||
|
||
/// Represents the tile of the attendee. | ||
attendee, | ||
|
||
/// Represents the type of the tile | ||
enum TileType { user, org, option } | ||
/// Represents the tile of the organization. | ||
org, | ||
|
||
/// Represents the tile of the option. | ||
option | ||
} | ||
|
||
/// Represents the type of the Message | ||
enum MessageType { error, warning, info, random } | ||
/// Represents the type of the Message. | ||
enum MessageType { | ||
/// Represents error message. | ||
error, | ||
|
||
enum CallFor { login, signup, joinPublicOrg } | ||
/// Represents warning message. | ||
warning, | ||
|
||
enum ModalSheet { donation, invite } | ||
/// Represents info message. | ||
info, | ||
|
||
/// Represents random message. | ||
random | ||
} | ||
|
||
/// Represents the type of CallFor. | ||
enum CallFor { | ||
/// Represents the call for login. | ||
login, | ||
|
||
/// Represents the call for signup. | ||
signup, | ||
|
||
/// Represents the call for joining Public organization. | ||
joinPublicOrg | ||
} | ||
|
||
/// Represents the type of ModalSheet. | ||
enum ModalSheet { | ||
/// Represents the modal sheet for donation. | ||
donation, | ||
|
||
/// Represents the modal sheet for invite. | ||
invite | ||
} |
Oops, something went wrong.