-
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.
feat: major features including event signUp
- Loading branch information
1 parent
dfa4066
commit 6cdf857
Showing
42 changed files
with
686 additions
and
34 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
7 changes: 7 additions & 0 deletions
7
app/src/main/java/com/benrostudios/enchante/data/models/response/events/Assets.kt
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,7 @@ | ||
package com.benrostudios.enchante.data.models.response.events | ||
|
||
data class Assets( | ||
val banner: String? = "", | ||
val logo: String? = "", | ||
val otherImages: List<String>? = listOf() | ||
) |
7 changes: 7 additions & 0 deletions
7
app/src/main/java/com/benrostudios/enchante/data/models/response/events/AssetsX.kt
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,7 @@ | ||
package com.benrostudios.enchante.data.models.response.events | ||
|
||
data class AssetsX( | ||
val banner: String? = "", | ||
val logo: String? = "", | ||
val otherImages: List<String>? = listOf() | ||
) |
6 changes: 6 additions & 0 deletions
6
app/src/main/java/com/benrostudios/enchante/data/models/response/events/Coordinates.kt
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,6 @@ | ||
package com.benrostudios.enchante.data.models.response.events | ||
|
||
data class Coordinates( | ||
val lat: String? = "", | ||
val lon: String? = "" | ||
) |
6 changes: 6 additions & 0 deletions
6
app/src/main/java/com/benrostudios/enchante/data/models/response/events/CoordinatesX.kt
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,6 @@ | ||
package com.benrostudios.enchante.data.models.response.events | ||
|
||
data class CoordinatesX( | ||
val lat: String? = "", | ||
val lon: String? = "" | ||
) |
6 changes: 6 additions & 0 deletions
6
app/src/main/java/com/benrostudios/enchante/data/models/response/events/Duration.kt
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,6 @@ | ||
package com.benrostudios.enchante.data.models.response.events | ||
|
||
data class Duration( | ||
val endTimeAndDate: String? = "", | ||
val startTimeAndDate: String? = "" | ||
) |
6 changes: 6 additions & 0 deletions
6
app/src/main/java/com/benrostudios/enchante/data/models/response/events/DurationX.kt
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,6 @@ | ||
package com.benrostudios.enchante.data.models.response.events | ||
|
||
data class DurationX( | ||
val endTimeAndDate: String? = "", | ||
val startTimeAndDate: String? = "" | ||
) |
17 changes: 17 additions & 0 deletions
17
app/src/main/java/com/benrostudios/enchante/data/models/response/events/EventId.kt
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,17 @@ | ||
package com.benrostudios.enchante.data.models.response.events | ||
|
||
data class EventId( | ||
val __v: Int? = 0, | ||
val _id: String? = "", | ||
val assets: Assets? = Assets(), | ||
val description: String? = "", | ||
val duration: Duration? = Duration(), | ||
val faq: List<Any>? = listOf(), | ||
val location: Location? = Location(), | ||
val name: String? = "", | ||
val parentOrg: String? = "", | ||
val passes: List<Passe>? = listOf(), | ||
val schedule: String? = "", | ||
val status: String? = "", | ||
val tags: List<String>? = listOf() | ||
) |
17 changes: 17 additions & 0 deletions
17
app/src/main/java/com/benrostudios/enchante/data/models/response/events/EventIdX.kt
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,17 @@ | ||
package com.benrostudios.enchante.data.models.response.events | ||
|
||
data class EventIdX( | ||
val __v: Int? = 0, | ||
val _id: String? = "", | ||
val assets: Assets = Assets(), | ||
val description: String? = "", | ||
val duration: Duration = Duration(), | ||
val faq: List<Any>? = listOf(), | ||
val location: Location = Location(), | ||
val name: String? = "", | ||
val parentOrg: String? = "", | ||
val passes: List<PasseX>? = listOf(), | ||
val schedule: String? = "", | ||
val status: String? = "", | ||
val tags: List<String>? = listOf() | ||
) |
8 changes: 8 additions & 0 deletions
8
app/src/main/java/com/benrostudios/enchante/data/models/response/events/FutureEvent.kt
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 @@ | ||
package com.benrostudios.enchante.data.models.response.events | ||
|
||
data class FutureEvent( | ||
val _id: String? = "", | ||
val budget: String? = "", | ||
val eventId: EventId? = EventId(), | ||
val passType: String? = "" | ||
) |
7 changes: 7 additions & 0 deletions
7
app/src/main/java/com/benrostudios/enchante/data/models/response/events/Location.kt
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,7 @@ | ||
package com.benrostudios.enchante.data.models.response.events | ||
|
||
data class Location( | ||
val coordinates: Coordinates? = Coordinates(), | ||
val humanformAddress: String? = "", | ||
val mapsUrl: String? = "" | ||
) |
7 changes: 7 additions & 0 deletions
7
app/src/main/java/com/benrostudios/enchante/data/models/response/events/LocationX.kt
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,7 @@ | ||
package com.benrostudios.enchante.data.models.response.events | ||
|
||
data class LocationX( | ||
val coordinates: Coordinates = Coordinates(), | ||
val humanformAddress: String? = "", | ||
val mapsUrl: String? = "" | ||
) |
6 changes: 6 additions & 0 deletions
6
app/src/main/java/com/benrostudios/enchante/data/models/response/events/MyEventsResponse.kt
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,6 @@ | ||
package com.benrostudios.enchante.data.models.response.events | ||
|
||
data class MyEventsResponse( | ||
val futureEvents: List<FutureEvent>? = listOf(), | ||
val pastEvents: List<PastEvent>? = listOf() | ||
) |
9 changes: 9 additions & 0 deletions
9
app/src/main/java/com/benrostudios/enchante/data/models/response/events/Passe.kt
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,9 @@ | ||
package com.benrostudios.enchante.data.models.response.events | ||
|
||
data class Passe( | ||
val _id: String? = "", | ||
val availableNumber: Int? = 0, | ||
val description: String? = "", | ||
val passName: String? = "", | ||
val price: Int? = 0 | ||
) |
9 changes: 9 additions & 0 deletions
9
app/src/main/java/com/benrostudios/enchante/data/models/response/events/PasseX.kt
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,9 @@ | ||
package com.benrostudios.enchante.data.models.response.events | ||
|
||
data class PasseX( | ||
val _id: String? = "", | ||
val availableNumber: Int? = 0, | ||
val description: String? = "", | ||
val passName: String? = "", | ||
val price: Int? = 0 | ||
) |
7 changes: 7 additions & 0 deletions
7
app/src/main/java/com/benrostudios/enchante/data/models/response/events/PastEvent.kt
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,7 @@ | ||
package com.benrostudios.enchante.data.models.response.events | ||
|
||
data class PastEvent( | ||
val _id: String? = "", | ||
val eventId: EventId = EventId(), | ||
val passType: String? = "" | ||
) |
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
Oops, something went wrong.