-
Notifications
You must be signed in to change notification settings - Fork 1
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 #15 from saagie/google-assistant-compatibility
Add google assistant compatibility for consultation (#14)
- Loading branch information
Showing
151 changed files
with
361 additions
and
47,434 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
34 changes: 0 additions & 34 deletions
34
src/main/kotlin/io/saagie/astonparking/controller/DashboardController.kt
This file was deleted.
Oops, something went wrong.
33 changes: 0 additions & 33 deletions
33
src/main/kotlin/io/saagie/astonparking/controller/DrawController.kt
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
src/main/kotlin/io/saagie/astonparking/controller/SecurityController.kt
This file was deleted.
Oops, something went wrong.
16 changes: 0 additions & 16 deletions
16
src/main/kotlin/io/saagie/astonparking/controller/SlackOAuthController.kt
This file was deleted.
Oops, something went wrong.
38 changes: 0 additions & 38 deletions
38
src/main/kotlin/io/saagie/astonparking/controller/SpotController.kt
This file was deleted.
Oops, something went wrong.
30 changes: 0 additions & 30 deletions
30
src/main/kotlin/io/saagie/astonparking/controller/UserController.kt
This file was deleted.
Oops, something went wrong.
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
11 changes: 11 additions & 0 deletions
11
src/main/kotlin/io/saagie/astonparking/exceptions/PickException.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,11 @@ | ||
package io.saagie.astonparking.exceptions | ||
|
||
import java.lang.IllegalArgumentException | ||
import java.time.LocalDate | ||
|
||
sealed class PickException(message: String): IllegalArgumentException(message) { | ||
data class NoScheduleError(private val date: LocalDate) : PickException("No schedule for the date $date") | ||
data class NoFreeSpotsError(private val date: LocalDate) : PickException("No free spot for the date $date") | ||
object AlreadyPickError : PickException("A spot is already reserved for you") | ||
|
||
} |
Oops, something went wrong.