-
-
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.
- Loading branch information
Showing
27 changed files
with
91 additions
and
80 deletions.
There are no files selected for viewing
8 changes: 4 additions & 4 deletions
8
library/src/commonMain/kotlin/api/feeds.kt → .../kotlin/ink/literate/crowous/api/feeds.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
12 changes: 6 additions & 6 deletions
12
.../src/commonMain/kotlin/api/restaurants.kt → ...n/ink/literate/crowous/api/restaurants.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
2 changes: 1 addition & 1 deletion
2
...ary/src/commonMain/kotlin/core/request.kt → ...tlin/ink/literate/crowous/core/request.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package core | ||
package ink.literate.crowous.core | ||
|
||
import io.ktor.client.* | ||
import io.ktor.client.request.* | ||
|
4 changes: 2 additions & 2 deletions
4
...src/commonMain/kotlin/decoders/contact.kt → .../ink/literate/crowous/decoders/contact.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
4 changes: 2 additions & 2 deletions
4
...ry/src/commonMain/kotlin/decoders/feed.kt → ...lin/ink/literate/crowous/decoders/feed.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
4 changes: 2 additions & 2 deletions
4
...y/src/commonMain/kotlin/decoders/image.kt → ...in/ink/literate/crowous/decoders/image.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
4 changes: 2 additions & 2 deletions
4
...mmonMain/kotlin/decoders/meal-category.kt → ...iterate/crowous/decoders/meal-category.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
4 changes: 2 additions & 2 deletions
4
...ry/src/commonMain/kotlin/decoders/meal.kt → ...lin/ink/literate/crowous/decoders/meal.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
4 changes: 2 additions & 2 deletions
4
...ry/src/commonMain/kotlin/decoders/menu.kt → ...lin/ink/literate/crowous/decoders/menu.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
4 changes: 2 additions & 2 deletions
4
.../src/commonMain/kotlin/decoders/moment.kt → ...n/ink/literate/crowous/decoders/moment.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
4 changes: 2 additions & 2 deletions
4
...monMain/kotlin/decoders/payment-method.kt → ...terate/crowous/decoders/payment-method.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
4 changes: 2 additions & 2 deletions
4
...onMain/kotlin/decoders/restaurant-kind.kt → ...erate/crowous/decoders/restaurant-kind.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
4 changes: 2 additions & 2 deletions
4
.../commonMain/kotlin/decoders/restaurant.kt → ...k/literate/crowous/decoders/restaurant.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
2 changes: 1 addition & 1 deletion
2
...y/src/commonMain/kotlin/models/contact.kt → ...in/ink/literate/crowous/models/contact.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package models | ||
package ink.literate.crowous.models | ||
|
||
import kotlinx.serialization.Serializable | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
library/src/commonMain/kotlin/models/feed.kt → ...otlin/ink/literate/crowous/models/feed.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package models | ||
package ink.literate.crowous.models | ||
|
||
import kotlinx.serialization.Serializable | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
...ary/src/commonMain/kotlin/models/image.kt → ...tlin/ink/literate/crowous/models/image.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package models | ||
package ink.literate.crowous.models | ||
|
||
import kotlinx.serialization.Serializable | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
...commonMain/kotlin/models/meal-category.kt → .../literate/crowous/models/meal-category.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package models | ||
package ink.literate.crowous.models | ||
|
||
import kotlinx.serialization.Serializable | ||
|
||
|
10 changes: 10 additions & 0 deletions
10
library/src/commonMain/kotlin/ink/literate/crowous/models/meal.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,10 @@ | ||
package ink.literate.crowous.models | ||
|
||
import kotlinx.serialization.Serializable | ||
|
||
@Serializable | ||
data class Meal( | ||
val moment: Moment, | ||
val information: String?, | ||
val categories: List<MealCategory> | ||
) |
2 changes: 1 addition & 1 deletion
2
library/src/commonMain/kotlin/models/menu.kt → ...otlin/ink/literate/crowous/models/menu.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
2 changes: 1 addition & 1 deletion
2
...ry/src/commonMain/kotlin/models/moment.kt → ...lin/ink/literate/crowous/models/moment.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
2 changes: 1 addition & 1 deletion
2
...ommonMain/kotlin/models/payment-method.kt → ...literate/crowous/models/payment-method.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
2 changes: 1 addition & 1 deletion
2
...mmonMain/kotlin/models/restaurant-kind.kt → ...iterate/crowous/models/restaurant-kind.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
28 changes: 28 additions & 0 deletions
28
library/src/commonMain/kotlin/ink/literate/crowous/models/restaurant.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,28 @@ | ||
package ink.literate.crowous.models | ||
|
||
import kotlinx.serialization.Serializable | ||
|
||
@Serializable | ||
data class Restaurant( | ||
val id: Int, | ||
val title: String, | ||
val latitude: Double, | ||
val longitude: Double, | ||
val area: String, | ||
val address: String, | ||
val opening: String, | ||
val closing: String, | ||
val kind: RestaurantKind, | ||
val accessibility: Boolean, | ||
val wifi: Boolean, | ||
val shortDescription: String, | ||
val description: String, | ||
val access: String, | ||
val operationalHours: String, | ||
val contact: Contact, | ||
val crousAndGo: String, | ||
val album: Image?, | ||
val photo: Image, | ||
val paymentMethods: List<PaymentMethod>, | ||
val menus: List<Menu> | ||
) |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
library/src/commonTest/kotlin/api/feeds.kt → .../kotlin/ink/literate/crowous/api/feeds.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package api | ||
package ink.literate.crowous.api | ||
|
||
import kotlinx.coroutines.runBlocking | ||
import kotlin.test.Test | ||
|
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