-
Notifications
You must be signed in to change notification settings - Fork 2
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 #253 from tukcomCD2024/develop_front
rls : FCM(SkinMake) - Front
- Loading branch information
Showing
140 changed files
with
4,505 additions
and
969 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Android CI | ||
|
||
on: | ||
pull_request: | ||
branches: [ "develop_front" ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
env: | ||
LOCAL_PROPERTIES_CONTENTS: ${{ secrets.LOCAL_PROPERTIES_CONTENTS }} | ||
GOOGLE_SERVICES_JSON: ${{ secrets.GOOGLE_SERVICES_JSON }} | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
|
||
- name: set up JDK 17 | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 17 | ||
distribution: 'temurin' | ||
cache: gradle | ||
|
||
- name: Grant Permission for gradlew | ||
run: chmod +x ./frontend/ARchive/gradlew | ||
shell: bash | ||
|
||
- name: Create google-services.json | ||
run: echo "$GOOGLE_SERVICES_JSON" > frontend/ARchive/app/google-services.json | ||
|
||
- name: Create local.properties | ||
run: | | ||
echo "$LOCAL_PROPERTIES_CONTENTS" > frontend/ARchive/app/local.properties | ||
- name: Build debug | ||
run: ./frontend/ARchive/gradlew |
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
10 changes: 5 additions & 5 deletions
10
...java/com/droidblossom/archive/data/dto/capsule_skin/request/CapsuleSkinsMakeRequestDto.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,9 +1,9 @@ | ||
package com.droidblossom.archive.data.dto.capsule_skin.request | ||
|
||
import java.io.File | ||
|
||
data class CapsuleSkinsMakeRequestDto ( | ||
val name : String, | ||
val skinImage : File, | ||
val motionName : String | ||
val skinName : String, | ||
val imageUrl : String, | ||
val directory : String, | ||
val motionName : String?, | ||
val retarget : String? | ||
) |
13 changes: 13 additions & 0 deletions
13
...va/com/droidblossom/archive/data/dto/capsule_skin/response/CapsuleSkinsMakeResponseDto.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,13 @@ | ||
package com.droidblossom.archive.data.dto.capsule_skin.response | ||
|
||
import com.droidblossom.archive.domain.model.capsule_skin.CapsuleSkinsMakeResponse | ||
|
||
data class CapsuleSkinsMakeResponseDto( | ||
val status : String, | ||
val result : String | ||
){ | ||
fun toModel() = CapsuleSkinsMakeResponse( | ||
status = this.status, | ||
result = this.result | ||
) | ||
} |
5 changes: 5 additions & 0 deletions
5
.../app/src/main/java/com/droidblossom/archive/data/dto/member/request/FcmTokenRequsetDto.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,5 @@ | ||
package com.droidblossom.archive.data.dto.member.request | ||
|
||
data class FcmTokenRequsetDto( | ||
val fcmToken: String | ||
) |
5 changes: 5 additions & 0 deletions
5
...in/java/com/droidblossom/archive/data/dto/member/request/NotificationEnabledRequestDto.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,5 @@ | ||
package com.droidblossom.archive.data.dto.member.request | ||
|
||
data class NotificationEnabledRequestDto( | ||
val notificationEnabled: Boolean | ||
) |
17 changes: 17 additions & 0 deletions
17
.../main/java/com/droidblossom/archive/data/dto/member/response/NoficationListResponseDto.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.droidblossom.archive.data.dto.member.response | ||
|
||
import com.droidblossom.archive.domain.model.member.NotificationModel | ||
|
||
data class NoficationListResponseDto( | ||
val createdAt: String, | ||
val imageUrl: String, | ||
val text: String, | ||
val title: String | ||
) { | ||
fun toModel() = NotificationModel( | ||
createdAt = this.createdAt, | ||
imageUrl = this.imageUrl, | ||
text = this.text, | ||
title = this.title | ||
) | ||
} |
13 changes: 13 additions & 0 deletions
13
...rc/main/java/com/droidblossom/archive/data/dto/member/response/NotificationResponseDto.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,13 @@ | ||
package com.droidblossom.archive.data.dto.member.response | ||
|
||
import com.droidblossom.archive.domain.model.member.NotificationPage | ||
|
||
data class NotificationResponseDto( | ||
val hasNext: Boolean, | ||
val responseList: List<NoficationListResponseDto> | ||
){ | ||
fun toModel() = NotificationPage( | ||
hasNext = this.hasNext, | ||
notifications = this.responseList.map { it.toModel() } | ||
) | ||
} |
Oops, something went wrong.