Reformat & rearrange the project

This commit is contained in:
Ali Khaleqi Yekta 2021-06-20 14:02:24 +04:30 committed by John O'Reilly
parent 7bc2918873
commit 1a339ae623
40 changed files with 396 additions and 397 deletions

View file

@ -1,6 +1,6 @@
name: Android CI name: Android CI
on: [push, pull_request] on: [ push, pull_request ]
jobs: jobs:
build: build:
@ -8,28 +8,28 @@ jobs:
runs-on: macos-latest runs-on: macos-latest
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- name: set up JDK 11 - name: set up JDK 11
uses: actions/setup-java@v1 uses: actions/setup-java@v1
with: with:
java-version: 11 java-version: 11
- name: Build android app - name: Build android app
run: ./gradlew assembleDebug run: ./gradlew assembleDebug
- name: Run Unit Tests - name: Run Unit Tests
run: ./gradlew test run: ./gradlew test
- name: Build web app - name: Build web app
run: ./gradlew :web:assemble run: ./gradlew :web:assemble
- name: Build iOS shared code - name: Build iOS shared code
run: ./gradlew :common:compileKotlinIOS run: ./gradlew :common:compileKotlinIOS
- name: Build macOS shared code - name: Build macOS shared code
run: ./gradlew :common:compileKotlinMacOS run: ./gradlew :common:compileKotlinMacOS
# If main branch update, deploy to gh-pages # If main branch update, deploy to gh-pages
- name: Deploy - name: Deploy
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main' if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main'
uses: JamesIves/github-pages-deploy-action@3.7.1 uses: JamesIves/github-pages-deploy-action@3.7.1
with: with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages # The branch the action should deploy to. BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: web/build/distributions # The folder the action should deploy. FOLDER: web/build/distributions # The folder the action should deploy.
CLEAN: true # Automatically remove deleted files from the deploy branch CLEAN: true # Automatically remove deleted files from the deploy branch

View file

@ -1,3 +1,5 @@
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins { plugins {
id("com.android.application") id("com.android.application")
kotlin("android") kotlin("android")
@ -45,7 +47,7 @@ android {
} }
} }
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> { tasks.withType<KotlinCompile> {
kotlinOptions { kotlinOptions {
jvmTarget = JavaVersion.VERSION_1_8.toString() jvmTarget = JavaVersion.VERSION_1_8.toString()
freeCompilerArgs = listOf( freeCompilerArgs = listOf(
@ -58,7 +60,7 @@ tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
} }
dependencies { dependencies {
with(Deps){ with(Deps) {
implementation(material) implementation(material)
implementation(lifecycleRuntimeKtx) implementation(lifecycleRuntimeKtx)
implementation(lifecycleViewmodelKtx) implementation(lifecycleViewmodelKtx)
@ -95,4 +97,4 @@ dependencies {
} }
implementation(project(":common")) implementation(project(":common"))
} }

View file

@ -1,3 +1,5 @@
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins { plugins {
id("kotlin-platform-jvm") id("kotlin-platform-jvm")
application application
@ -6,13 +8,13 @@ plugins {
} }
dependencies { dependencies {
with (Deps){ with(Deps) {
implementation(Deps.Serialization.core) // JVM dependency implementation(Deps.Serialization.core) // JVM dependency
implementation(kotlinCoroutinesCore) implementation(kotlinCoroutinesCore)
implementation(logback) implementation(logback)
} }
with(Deps.Ktor){ with(Deps.Ktor) {
implementation(serverCore) implementation(serverCore)
implementation(serverNetty) implementation(serverNetty)
implementation(serialization) implementation(serialization)
@ -22,7 +24,7 @@ dependencies {
implementation(project(":common")) implementation(project(":common"))
} }
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> { tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = "1.8" kotlinOptions.jvmTarget = "1.8"
} }

View file

@ -26,4 +26,4 @@ allprojects {
maven(url = "https://kotlin.bintray.com/kotlin-js-wrappers/") maven(url = "https://kotlin.bintray.com/kotlin-js-wrappers/")
maven(url = "https://jitpack.io") maven(url = "https://jitpack.io")
} }
} }

View file

@ -1,7 +1,7 @@
repositories {
jcenter()
}
plugins { plugins {
`kotlin-dsl` `kotlin-dsl`
} }
repositories {
jcenter()
}

View file

@ -1,3 +1,5 @@
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins { plugins {
kotlin("multiplatform") kotlin("multiplatform")
id("kotlinx-serialization") id("kotlinx-serialization")
@ -37,7 +39,6 @@ android {
} }
} }
kotlin { kotlin {
val sdkName: String? = System.getenv("SDK_NAME") val sdkName: String? = System.getenv("SDK_NAME")
@ -72,27 +73,27 @@ kotlin {
sourceSets { sourceSets {
sourceSets["commonMain"].dependencies { sourceSets["commonMain"].dependencies {
// Coroutines
implementation(Deps.kotlinCoroutinesCore) { implementation(Deps.kotlinCoroutinesCore) {
isForce = true isForce = true
} }
with(Deps.Ktor){ with(Deps.Ktor) {
implementation(clientCore) implementation(clientCore)
implementation(clientJson) implementation(clientJson)
implementation(clientLogging) implementation(clientLogging)
implementation(clientSerialization) implementation(clientSerialization)
} }
// Kotlinx Serialization with(Deps.Serialization) {
implementation(Deps.Serialization.core) implementation(core)
}
with(Deps.SqlDelight){ with(Deps.SqlDelight) {
implementation(runtime) implementation(runtime)
implementation(coroutineExtensions) implementation(coroutineExtensions)
} }
with(Deps.Koin){ with(Deps.Koin) {
api(core) api(core)
api(test) api(test)
} }
@ -140,7 +141,7 @@ kotlin {
} }
} }
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> { tasks.withType<KotlinCompile> {
kotlinOptions { kotlinOptions {
jvmTarget = "1.8" jvmTarget = "1.8"
} }
@ -159,5 +160,4 @@ multiplatformSwiftPackage {
targetPlatforms { targetPlatforms {
iOS { v("13") } iOS { v("13") }
} }
} }

View file

@ -11,9 +11,6 @@ import com.surrus.common.remote.IssPosition
import com.surrus.common.remote.PeopleInSpaceApi import com.surrus.common.remote.PeopleInSpaceApi
import kotlinx.coroutines.* import kotlinx.coroutines.*
import kotlinx.coroutines.flow.* import kotlinx.coroutines.flow.*
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.collect
import kotlinx.coroutines.flow.flowOf
import org.koin.core.component.KoinComponent import org.koin.core.component.KoinComponent
import org.koin.core.component.inject import org.koin.core.component.inject
import kotlin.coroutines.CoroutineContext import kotlin.coroutines.CoroutineContext

View file

@ -71,7 +71,11 @@ fun main() = Window {
} }
@Composable @Composable
fun PersonList(people: List<Assignment>, selectedPerson: String, personSelected: (person: Assignment) -> Unit) { fun PersonList(
people: List<Assignment>,
selectedPerson: String,
personSelected: (person: Assignment) -> Unit
) {
LazyColumn { LazyColumn {
items(people) { person -> items(people) { person ->
@ -81,7 +85,11 @@ fun PersonList(people: List<Assignment>, selectedPerson: String, personSelected:
} }
@Composable @Composable
fun PersonView(person: Assignment, selectedPerson: String, personSelected: (person: Assignment) -> Unit) { fun PersonView(
person: Assignment,
selectedPerson: String,
personSelected: (person: Assignment) -> Unit
) {
Row( Row(
modifier = Modifier.fillMaxWidth().clickable(onClick = { personSelected(person) }) modifier = Modifier.fillMaxWidth().clickable(onClick = { personSelected(person) })
.padding(8.dp), .padding(8.dp),

View file

@ -1,4 +1,3 @@
plugins { plugins {
kotlin("multiplatform") kotlin("multiplatform")
id("org.jetbrains.compose") version "0.5.0-build225" id("org.jetbrains.compose") version "0.5.0-build225"
@ -12,14 +11,12 @@ repositories {
} }
kotlin { kotlin {
js(IR) { js(IR) {
browser() browser()
binaries.executable() binaries.executable()
} }
sourceSets { sourceSets {
val jsMain by getting { val jsMain by getting {
dependencies { dependencies {
implementation(compose.web.widgets) implementation(compose.web.widgets)
@ -36,5 +33,4 @@ compose.desktop {
application { application {
mainClass = "" mainClass = ""
} }
} }

View file

@ -44,7 +44,7 @@ fun main() {
style { style {
display(DisplayStyle.Flex) display(DisplayStyle.Flex)
alignItems(AlignItems.Center) alignItems(AlignItems.Center)
} }
} }
) { ) {
@ -55,7 +55,7 @@ fun main() {
style { style {
width(48.px) width(48.px)
property("padding-right", 16.px) property("padding-right", 16.px)
} }
} }
) )

View file

@ -19,5 +19,5 @@ android.useAndroidX=true
android.enableJetifier=false android.enableJetifier=false
# Kotlin code style for this project: "official" or "obsolete": # Kotlin code style for this project: "official" or "obsolete":
kotlin.code.style=official kotlin.code.style=official
# XCode
xcodeproj=./ios/PeopleInSpaceSwiftUI xcodeproj=./ios/PeopleInSpaceSwiftUI

View file

@ -1,98 +1,98 @@
{ {
"images" : [ "images": [
{ {
"idiom" : "iphone", "idiom": "iphone",
"size" : "20x20", "size": "20x20",
"scale" : "2x" "scale": "2x"
}, },
{ {
"idiom" : "iphone", "idiom": "iphone",
"size" : "20x20", "size": "20x20",
"scale" : "3x" "scale": "3x"
}, },
{ {
"idiom" : "iphone", "idiom": "iphone",
"size" : "29x29", "size": "29x29",
"scale" : "2x" "scale": "2x"
}, },
{ {
"idiom" : "iphone", "idiom": "iphone",
"size" : "29x29", "size": "29x29",
"scale" : "3x" "scale": "3x"
}, },
{ {
"idiom" : "iphone", "idiom": "iphone",
"size" : "40x40", "size": "40x40",
"scale" : "2x" "scale": "2x"
}, },
{ {
"idiom" : "iphone", "idiom": "iphone",
"size" : "40x40", "size": "40x40",
"scale" : "3x" "scale": "3x"
}, },
{ {
"idiom" : "iphone", "idiom": "iphone",
"size" : "60x60", "size": "60x60",
"scale" : "2x" "scale": "2x"
}, },
{ {
"idiom" : "iphone", "idiom": "iphone",
"size" : "60x60", "size": "60x60",
"scale" : "3x" "scale": "3x"
}, },
{ {
"idiom" : "ipad", "idiom": "ipad",
"size" : "20x20", "size": "20x20",
"scale" : "1x" "scale": "1x"
}, },
{ {
"idiom" : "ipad", "idiom": "ipad",
"size" : "20x20", "size": "20x20",
"scale" : "2x" "scale": "2x"
}, },
{ {
"idiom" : "ipad", "idiom": "ipad",
"size" : "29x29", "size": "29x29",
"scale" : "1x" "scale": "1x"
}, },
{ {
"idiom" : "ipad", "idiom": "ipad",
"size" : "29x29", "size": "29x29",
"scale" : "2x" "scale": "2x"
}, },
{ {
"idiom" : "ipad", "idiom": "ipad",
"size" : "40x40", "size": "40x40",
"scale" : "1x" "scale": "1x"
}, },
{ {
"idiom" : "ipad", "idiom": "ipad",
"size" : "40x40", "size": "40x40",
"scale" : "2x" "scale": "2x"
}, },
{ {
"idiom" : "ipad", "idiom": "ipad",
"size" : "76x76", "size": "76x76",
"scale" : "1x" "scale": "1x"
}, },
{ {
"idiom" : "ipad", "idiom": "ipad",
"size" : "76x76", "size": "76x76",
"scale" : "2x" "scale": "2x"
}, },
{ {
"idiom" : "ipad", "idiom": "ipad",
"size" : "83.5x83.5", "size": "83.5x83.5",
"scale" : "2x" "scale": "2x"
}, },
{ {
"idiom" : "ios-marketing", "idiom": "ios-marketing",
"size" : "1024x1024", "size": "1024x1024",
"scale" : "1x" "scale": "1x"
} }
], ],
"info" : { "info": {
"version" : 1, "version": 1,
"author" : "xcode" "author": "xcode"
} }
} }

View file

@ -1,6 +1,6 @@
{ {
"info" : { "info": {
"version" : 1, "version": 1,
"author" : "xcode" "author": "xcode"
} }
} }

View file

@ -1,6 +1,6 @@
{ {
"info" : { "info": {
"version" : 1, "version": 1,
"author" : "xcode" "author": "xcode"
} }
} }

View file

@ -1,58 +1,58 @@
{ {
"images" : [ "images": [
{ {
"idiom" : "mac", "idiom": "mac",
"size" : "16x16", "size": "16x16",
"scale" : "1x" "scale": "1x"
}, },
{ {
"idiom" : "mac", "idiom": "mac",
"size" : "16x16", "size": "16x16",
"scale" : "2x" "scale": "2x"
}, },
{ {
"idiom" : "mac", "idiom": "mac",
"size" : "32x32", "size": "32x32",
"scale" : "1x" "scale": "1x"
}, },
{ {
"idiom" : "mac", "idiom": "mac",
"size" : "32x32", "size": "32x32",
"scale" : "2x" "scale": "2x"
}, },
{ {
"idiom" : "mac", "idiom": "mac",
"size" : "128x128", "size": "128x128",
"scale" : "1x" "scale": "1x"
}, },
{ {
"idiom" : "mac", "idiom": "mac",
"size" : "128x128", "size": "128x128",
"scale" : "2x" "scale": "2x"
}, },
{ {
"idiom" : "mac", "idiom": "mac",
"size" : "256x256", "size": "256x256",
"scale" : "1x" "scale": "1x"
}, },
{ {
"idiom" : "mac", "idiom": "mac",
"size" : "256x256", "size": "256x256",
"scale" : "2x" "scale": "2x"
}, },
{ {
"idiom" : "mac", "idiom": "mac",
"size" : "512x512", "size": "512x512",
"scale" : "1x" "scale": "1x"
}, },
{ {
"idiom" : "mac", "idiom": "mac",
"size" : "512x512", "size": "512x512",
"scale" : "2x" "scale": "2x"
} }
], ],
"info" : { "info": {
"version" : 1, "version": 1,
"author" : "xcode" "author": "xcode"
} }
} }

View file

@ -1,6 +1,6 @@
{ {
"info" : { "info": {
"version" : 1, "version": 1,
"author" : "xcode" "author": "xcode"
} }
} }

View file

@ -1,6 +1,6 @@
{ {
"info" : { "info": {
"version" : 1, "version": 1,
"author" : "xcode" "author": "xcode"
} }
} }

View file

@ -4,7 +4,6 @@ pluginManagement {
mavenCentral() mavenCentral()
maven(url = "https://maven.pkg.jetbrains.space/public/p/compose/dev") maven(url = "https://maven.pkg.jetbrains.space/public/p/compose/dev")
} }
} }
rootProject.name = "PeopleInSpace" rootProject.name = "PeopleInSpace"

View file

@ -1,81 +1,81 @@
{ {
"images" : [ "images": [
{ {
"size" : "24x24", "size": "24x24",
"idiom" : "watch", "idiom": "watch",
"scale" : "2x", "scale": "2x",
"role" : "notificationCenter", "role": "notificationCenter",
"subtype" : "38mm" "subtype": "38mm"
}, },
{ {
"size" : "27.5x27.5", "size": "27.5x27.5",
"idiom" : "watch", "idiom": "watch",
"scale" : "2x", "scale": "2x",
"role" : "notificationCenter", "role": "notificationCenter",
"subtype" : "42mm" "subtype": "42mm"
}, },
{ {
"size" : "29x29", "size": "29x29",
"idiom" : "watch", "idiom": "watch",
"role" : "companionSettings", "role": "companionSettings",
"scale" : "2x" "scale": "2x"
}, },
{ {
"size" : "29x29", "size": "29x29",
"idiom" : "watch", "idiom": "watch",
"role" : "companionSettings", "role": "companionSettings",
"scale" : "3x" "scale": "3x"
}, },
{ {
"size" : "40x40", "size": "40x40",
"idiom" : "watch", "idiom": "watch",
"scale" : "2x", "scale": "2x",
"role" : "appLauncher", "role": "appLauncher",
"subtype" : "38mm" "subtype": "38mm"
}, },
{ {
"size" : "44x44", "size": "44x44",
"idiom" : "watch", "idiom": "watch",
"scale" : "2x", "scale": "2x",
"role" : "appLauncher", "role": "appLauncher",
"subtype" : "40mm" "subtype": "40mm"
}, },
{ {
"size" : "50x50", "size": "50x50",
"idiom" : "watch", "idiom": "watch",
"scale" : "2x", "scale": "2x",
"role" : "appLauncher", "role": "appLauncher",
"subtype" : "44mm" "subtype": "44mm"
}, },
{ {
"size" : "86x86", "size": "86x86",
"idiom" : "watch", "idiom": "watch",
"scale" : "2x", "scale": "2x",
"role" : "quickLook", "role": "quickLook",
"subtype" : "38mm" "subtype": "38mm"
}, },
{ {
"size" : "98x98", "size": "98x98",
"idiom" : "watch", "idiom": "watch",
"scale" : "2x", "scale": "2x",
"role" : "quickLook", "role": "quickLook",
"subtype" : "42mm" "subtype": "42mm"
}, },
{ {
"size" : "108x108", "size": "108x108",
"idiom" : "watch", "idiom": "watch",
"scale" : "2x", "scale": "2x",
"role" : "quickLook", "role": "quickLook",
"subtype" : "44mm" "subtype": "44mm"
}, },
{ {
"idiom" : "watch-marketing", "idiom": "watch-marketing",
"size" : "1024x1024", "size": "1024x1024",
"scale" : "1x" "scale": "1x"
} }
], ],
"info" : { "info": {
"version" : 1, "version": 1,
"author" : "xcode" "author": "xcode"
} }
} }

View file

@ -1,6 +1,6 @@
{ {
"info" : { "info": {
"version" : 1, "version": 1,
"author" : "xcode" "author": "xcode"
} }
} }

View file

@ -1,28 +1,28 @@
{ {
"images" : [ "images": [
{ {
"idiom" : "watch", "idiom": "watch",
"scale" : "2x", "scale": "2x",
"screen-width" : "<=145" "screen-width": "<=145"
}, },
{ {
"idiom" : "watch", "idiom": "watch",
"scale" : "2x", "scale": "2x",
"screen-width" : ">161" "screen-width": ">161"
}, },
{ {
"idiom" : "watch", "idiom": "watch",
"scale" : "2x", "scale": "2x",
"screen-width" : ">145" "screen-width": ">145"
}, },
{ {
"idiom" : "watch", "idiom": "watch",
"scale" : "2x", "scale": "2x",
"screen-width" : ">183" "screen-width": ">183"
} }
], ],
"info" : { "info": {
"version" : 1, "version": 1,
"author" : "xcode" "author": "xcode"
} }
} }

View file

@ -1,48 +1,48 @@
{ {
"assets" : [ "assets": [
{ {
"idiom" : "watch", "idiom": "watch",
"filename" : "Circular.imageset", "filename": "Circular.imageset",
"role" : "circular" "role": "circular"
}, },
{ {
"idiom" : "watch", "idiom": "watch",
"filename" : "Extra Large.imageset", "filename": "Extra Large.imageset",
"role" : "extra-large" "role": "extra-large"
}, },
{ {
"idiom" : "watch", "idiom": "watch",
"filename" : "Graphic Bezel.imageset", "filename": "Graphic Bezel.imageset",
"role" : "graphic-bezel" "role": "graphic-bezel"
}, },
{ {
"idiom" : "watch", "idiom": "watch",
"filename" : "Graphic Circular.imageset", "filename": "Graphic Circular.imageset",
"role" : "graphic-circular" "role": "graphic-circular"
}, },
{ {
"idiom" : "watch", "idiom": "watch",
"filename" : "Graphic Corner.imageset", "filename": "Graphic Corner.imageset",
"role" : "graphic-corner" "role": "graphic-corner"
}, },
{ {
"idiom" : "watch", "idiom": "watch",
"filename" : "Graphic Large Rectangular.imageset", "filename": "Graphic Large Rectangular.imageset",
"role" : "graphic-large-rectangular" "role": "graphic-large-rectangular"
}, },
{ {
"idiom" : "watch", "idiom": "watch",
"filename" : "Modular.imageset", "filename": "Modular.imageset",
"role" : "modular" "role": "modular"
}, },
{ {
"idiom" : "watch", "idiom": "watch",
"filename" : "Utilitarian.imageset", "filename": "Utilitarian.imageset",
"role" : "utilitarian" "role": "utilitarian"
} }
], ],
"info" : { "info": {
"version" : 1, "version": 1,
"author" : "xcode" "author": "xcode"
} }
} }

View file

@ -1,28 +1,28 @@
{ {
"images" : [ "images": [
{ {
"idiom" : "watch", "idiom": "watch",
"scale" : "2x", "scale": "2x",
"screen-width" : "<=145" "screen-width": "<=145"
}, },
{ {
"idiom" : "watch", "idiom": "watch",
"scale" : "2x", "scale": "2x",
"screen-width" : ">161" "screen-width": ">161"
}, },
{ {
"idiom" : "watch", "idiom": "watch",
"scale" : "2x", "scale": "2x",
"screen-width" : ">145" "screen-width": ">145"
}, },
{ {
"idiom" : "watch", "idiom": "watch",
"scale" : "2x", "scale": "2x",
"screen-width" : ">183" "screen-width": ">183"
} }
], ],
"info" : { "info": {
"version" : 1, "version": 1,
"author" : "xcode" "author": "xcode"
} }
} }

View file

@ -1,28 +1,28 @@
{ {
"images" : [ "images": [
{ {
"idiom" : "watch", "idiom": "watch",
"scale" : "2x", "scale": "2x",
"screen-width" : "<=145" "screen-width": "<=145"
}, },
{ {
"idiom" : "watch", "idiom": "watch",
"scale" : "2x", "scale": "2x",
"screen-width" : ">161" "screen-width": ">161"
}, },
{ {
"idiom" : "watch", "idiom": "watch",
"scale" : "2x", "scale": "2x",
"screen-width" : ">145" "screen-width": ">145"
}, },
{ {
"idiom" : "watch", "idiom": "watch",
"scale" : "2x", "scale": "2x",
"screen-width" : ">183" "screen-width": ">183"
} }
], ],
"info" : { "info": {
"version" : 1, "version": 1,
"author" : "xcode" "author": "xcode"
} }
} }

View file

@ -1,28 +1,28 @@
{ {
"images" : [ "images": [
{ {
"idiom" : "watch", "idiom": "watch",
"scale" : "2x", "scale": "2x",
"screen-width" : "<=145" "screen-width": "<=145"
}, },
{ {
"idiom" : "watch", "idiom": "watch",
"scale" : "2x", "scale": "2x",
"screen-width" : ">161" "screen-width": ">161"
}, },
{ {
"idiom" : "watch", "idiom": "watch",
"scale" : "2x", "scale": "2x",
"screen-width" : ">145" "screen-width": ">145"
}, },
{ {
"idiom" : "watch", "idiom": "watch",
"scale" : "2x", "scale": "2x",
"screen-width" : ">183" "screen-width": ">183"
} }
], ],
"info" : { "info": {
"version" : 1, "version": 1,
"author" : "xcode" "author": "xcode"
} }
} }

View file

@ -1,28 +1,28 @@
{ {
"images" : [ "images": [
{ {
"idiom" : "watch", "idiom": "watch",
"scale" : "2x", "scale": "2x",
"screen-width" : "<=145" "screen-width": "<=145"
}, },
{ {
"idiom" : "watch", "idiom": "watch",
"scale" : "2x", "scale": "2x",
"screen-width" : ">161" "screen-width": ">161"
}, },
{ {
"idiom" : "watch", "idiom": "watch",
"scale" : "2x", "scale": "2x",
"screen-width" : ">145" "screen-width": ">145"
}, },
{ {
"idiom" : "watch", "idiom": "watch",
"scale" : "2x", "scale": "2x",
"screen-width" : ">183" "screen-width": ">183"
} }
], ],
"info" : { "info": {
"version" : 1, "version": 1,
"author" : "xcode" "author": "xcode"
} }
} }

View file

@ -1,28 +1,28 @@
{ {
"images" : [ "images": [
{ {
"idiom" : "watch", "idiom": "watch",
"scale" : "2x", "scale": "2x",
"screen-width" : "<=145" "screen-width": "<=145"
}, },
{ {
"idiom" : "watch", "idiom": "watch",
"scale" : "2x", "scale": "2x",
"screen-width" : ">161" "screen-width": ">161"
}, },
{ {
"idiom" : "watch", "idiom": "watch",
"scale" : "2x", "scale": "2x",
"screen-width" : ">145" "screen-width": ">145"
}, },
{ {
"idiom" : "watch", "idiom": "watch",
"scale" : "2x", "scale": "2x",
"screen-width" : ">183" "screen-width": ">183"
} }
], ],
"info" : { "info": {
"version" : 1, "version": 1,
"author" : "xcode" "author": "xcode"
} }
} }

View file

@ -1,28 +1,28 @@
{ {
"images" : [ "images": [
{ {
"idiom" : "watch", "idiom": "watch",
"scale" : "2x", "scale": "2x",
"screen-width" : "<=145" "screen-width": "<=145"
}, },
{ {
"idiom" : "watch", "idiom": "watch",
"scale" : "2x", "scale": "2x",
"screen-width" : ">161" "screen-width": ">161"
}, },
{ {
"idiom" : "watch", "idiom": "watch",
"scale" : "2x", "scale": "2x",
"screen-width" : ">145" "screen-width": ">145"
}, },
{ {
"idiom" : "watch", "idiom": "watch",
"scale" : "2x", "scale": "2x",
"screen-width" : ">183" "screen-width": ">183"
} }
], ],
"info" : { "info": {
"version" : 1, "version": 1,
"author" : "xcode" "author": "xcode"
} }
} }

View file

@ -1,28 +1,28 @@
{ {
"images" : [ "images": [
{ {
"idiom" : "watch", "idiom": "watch",
"scale" : "2x", "scale": "2x",
"screen-width" : "<=145" "screen-width": "<=145"
}, },
{ {
"idiom" : "watch", "idiom": "watch",
"scale" : "2x", "scale": "2x",
"screen-width" : ">161" "screen-width": ">161"
}, },
{ {
"idiom" : "watch", "idiom": "watch",
"scale" : "2x", "scale": "2x",
"screen-width" : ">145" "screen-width": ">145"
}, },
{ {
"idiom" : "watch", "idiom": "watch",
"scale" : "2x", "scale": "2x",
"screen-width" : ">183" "screen-width": ">183"
} }
], ],
"info" : { "info": {
"version" : 1, "version": 1,
"author" : "xcode" "author": "xcode"
} }
} }

View file

@ -1,6 +1,6 @@
{ {
"info" : { "info": {
"version" : 1, "version": 1,
"author" : "xcode" "author": "xcode"
} }
} }

View file

@ -1,6 +1,6 @@
{ {
"info" : { "info": {
"version" : 1, "version": 1,
"author" : "xcode" "author": "xcode"
} }
} }

View file

@ -23,7 +23,6 @@ dependencies {
implementation(project(":common")) implementation(project(":common"))
} }
kotlin { kotlin {
js(IR) { js(IR) {
browser() browser()

View file

@ -1,9 +1,5 @@
import com.surrus.common.remote.IssPosition import com.surrus.common.remote.IssPosition
import components.IssLocationMap import components.*
import components.PeopleList
import components.PersonDetails
import components.Space
import components.Typography
import components.materialui.AppBar import components.materialui.AppBar
import components.materialui.Card import components.materialui.Card
import components.materialui.Grid import components.materialui.Grid

View file

@ -3,7 +3,7 @@
package components.materialui package components.materialui
import react.* import react.RClass
@JsName("AppBar") @JsName("AppBar")
external val AppBar: RClass<dynamic> external val AppBar: RClass<dynamic>

View file

@ -3,7 +3,7 @@
package components.materialui package components.materialui
import react.* import react.RClass
@JsName("Avatar") @JsName("Avatar")
external val Avatar: RClass<dynamic> external val Avatar: RClass<dynamic>

View file

@ -3,7 +3,7 @@
package components.materialui package components.materialui
import react.* import react.RClass
@JsName("Card") @JsName("Card")
external val Card: RClass<dynamic> external val Card: RClass<dynamic>

View file

@ -3,7 +3,7 @@
package components.materialui package components.materialui
import react.* import react.RClass
@JsName("List") @JsName("List")
external val List: RClass<dynamic> external val List: RClass<dynamic>

View file

@ -3,7 +3,7 @@
package components.materialui package components.materialui
import react.* import react.RClass
@JsName("Toolbar") @JsName("Toolbar")
external val Toolbar: RClass<dynamic> external val Toolbar: RClass<dynamic>

View file

@ -3,7 +3,7 @@
package components.pigeonmaps package components.pigeonmaps
import react.* import react.RClass
@JsName("Map") @JsName("Map")
external val Map: RClass<dynamic> external val Map: RClass<dynamic>

View file

@ -3,7 +3,7 @@
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<title>People In Space</title> <title>People In Space</title>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport">
</head> </head>
<body> <body>
<div id="root"></div> <div id="root"></div>