forked from sopt-makers/SOPT-iOS
-
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.
Merge branch 'develop' of https://github.com/sopt-makers/SOPT-Stamp-iOS into fix/sopt-makers#42-ListDetailLayout
- Loading branch information
Showing
17 changed files
with
658 additions
and
0 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
26 changes: 26 additions & 0 deletions
26
SOPT-Stamp-iOS/Projects/Data/Sources/Repository/SignInRepository.swift
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,26 @@ | ||
// | ||
// SignInRepository.swift | ||
// Presentation | ||
// | ||
// Created by devxsby on 2022/12/01. | ||
// Copyright © 2022 SOPT-Stamp-iOS. All rights reserved. | ||
// | ||
|
||
import Combine | ||
|
||
import Domain | ||
import Network | ||
|
||
public class SignInRepository { | ||
|
||
private let networkService: AuthService | ||
private let cancelBag = Set<AnyCancellable>() | ||
|
||
public init(service: AuthService) { | ||
self.networkService = service | ||
} | ||
} | ||
|
||
extension SignInRepository: SignInRepositoryInterface { | ||
|
||
} |
19 changes: 19 additions & 0 deletions
19
SOPT-Stamp-iOS/Projects/Data/Sources/Transform/SignInTransform.swift
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,19 @@ | ||
// | ||
// SignInTransform.swift | ||
// Presentation | ||
// | ||
// Created by devxsby on 2022/12/01. | ||
// Copyright © 2022 SOPT-Stamp-iOS. All rights reserved. | ||
// | ||
|
||
import Foundation | ||
|
||
import Domain | ||
import Network | ||
|
||
extension SignInEntity { | ||
|
||
public func toDomain() -> SignInModel { | ||
return SignInModel.init() | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
SOPT-Stamp-iOS/Projects/Domain/Sources/Model/OnboardingDataModel.swift
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,20 @@ | ||
// | ||
// OnboardingDataModel.swift | ||
// Domain | ||
// | ||
// Created by devxsby on 2022/12/01. | ||
// Copyright © 2022 SOPT-Stamp-iOS. All rights reserved. | ||
// | ||
|
||
import UIKit | ||
|
||
public struct OnboardingDataModel { | ||
public var image: UIImage | ||
public var title, caption: String | ||
|
||
public init(image: UIImage, title: String, caption: String) { | ||
self.image = image | ||
self.title = title | ||
self.caption = caption | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
SOPT-Stamp-iOS/Projects/Domain/Sources/Model/SignInModel.swift
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,16 @@ | ||
// | ||
// SignInModel.swift | ||
// Presentation | ||
// | ||
// Created by devxsby on 2022/12/01. | ||
// Copyright © 2022 SOPT-Stamp-iOS. All rights reserved. | ||
// | ||
|
||
import Foundation | ||
|
||
public struct SignInModel { | ||
|
||
public init() { | ||
|
||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
SOPT-Stamp-iOS/Projects/Domain/Sources/RepositoryInterface/SignInRepositoryInterface.swift
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 @@ | ||
// | ||
// SignInRepositoryInterface.swift | ||
// Presentation | ||
// | ||
// Created by devxsby on 2022/12/01. | ||
// Copyright © 2022 SOPT-Stamp-iOS. All rights reserved. | ||
// | ||
|
||
import Combine | ||
|
||
public protocol SignInRepositoryInterface { | ||
|
||
} |
27 changes: 27 additions & 0 deletions
27
SOPT-Stamp-iOS/Projects/Domain/Sources/UseCase/SignInUseCase.swift
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,27 @@ | ||
// | ||
// SignInUseCase.swift | ||
// Presentation | ||
// | ||
// Created by devxsby on 2022/12/01. | ||
// Copyright © 2022 SOPT-Stamp-iOS. All rights reserved. | ||
// | ||
|
||
import Combine | ||
|
||
public protocol SignInUseCase { | ||
|
||
} | ||
|
||
public class DefaultSignInUseCase { | ||
|
||
private let repository: SignInRepositoryInterface | ||
private var cancelBag = Set<AnyCancellable>() | ||
|
||
public init(repository: SignInRepositoryInterface) { | ||
self.repository = repository | ||
} | ||
} | ||
|
||
extension DefaultSignInUseCase: SignInUseCase { | ||
|
||
} |
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
13 changes: 13 additions & 0 deletions
13
SOPT-Stamp-iOS/Projects/Modules/Network/Sources/Entity/SignInEntity.swift
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 @@ | ||
// | ||
// SignInEntity.swift | ||
// Presentation | ||
// | ||
// Created by devxsby on 2022/12/01. | ||
// Copyright © 2022 SOPT-Stamp-iOS. All rights reserved. | ||
// | ||
|
||
import Foundation | ||
|
||
public struct SignInEntity { | ||
|
||
} |
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.