88import DevLogDomain
99
1010public extension TodoRequest {
11- public static func fromDomain( _ entity: Todo ) -> Self {
11+ static func fromDomain( _ entity: Todo ) -> Self {
1212 TodoRequest (
1313 id: entity. id,
1414 isPinned: entity. isPinned,
@@ -28,7 +28,7 @@ public extension TodoRequest {
2828}
2929
3030public extension TodoResponse {
31- public func toDomain( ) throws -> Todo {
31+ func toDomain( ) throws -> Todo {
3232 let todoCategory : TodoCategory
3333
3434 switch category {
@@ -58,15 +58,15 @@ public extension TodoResponse {
5858}
5959
6060public extension TodoCursorDTO {
61- public func toDomain( ) -> TodoCursor {
61+ func toDomain( ) -> TodoCursor {
6262 TodoCursor (
6363 primarySortDate: primarySortDate,
6464 secondarySortDate: secondarySortDate,
6565 documentID: documentID
6666 )
6767 }
6868
69- public static func fromDomain( _ cursor: TodoCursor ) -> Self {
69+ static func fromDomain( _ cursor: TodoCursor ) -> Self {
7070 TodoCursorDTO (
7171 primarySortDate: cursor. primarySortDate,
7272 secondarySortDate: cursor. secondarySortDate,
@@ -76,7 +76,7 @@ public extension TodoCursorDTO {
7676}
7777
7878public extension TodoPageResponse {
79- public func toDomain( ) throws -> TodoPage {
79+ func toDomain( ) throws -> TodoPage {
8080 let items = try items. map { try $0. toDomain ( ) }
8181 let cursor = nextCursor? . toDomain ( )
8282 return TodoPage ( items: items, nextCursor: cursor)
0 commit comments