-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into update/sbt-bloop-1.5.0
- Loading branch information
Showing
96 changed files
with
1,518 additions
and
978 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
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,2 +1,4 @@ | ||
version = "3.4.0" | ||
runner.dialect = scala213 | ||
version = 3.5.2 | ||
runner.dialect = scala213 | ||
align.preset = more | ||
maxColumn = 120 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
3 changes: 3 additions & 0 deletions
3
modules/auth/src/main/scala/taskforce/authentication/User.scala
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,3 @@ | ||
package taskforce.authentication | ||
|
||
final case class User(id: UserId) |
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
14 changes: 14 additions & 0 deletions
14
modules/auth/src/main/scala/taskforce/authentication/instances/Circe.scala
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,14 @@ | ||
package taskforce.authentication.instances | ||
|
||
import io.circe.generic.semiauto._ | ||
import io.circe.{Decoder, Encoder} | ||
import taskforce.authentication.User | ||
import monix.newtypes.integrations.DerivedCirceCodec | ||
trait Circe extends DerivedCirceCodec { | ||
|
||
implicit val userDecoder: Decoder[User] = | ||
deriveDecoder[User] | ||
implicit val userEncoder: Encoder[User] = | ||
deriveEncoder[User] | ||
|
||
} |
9 changes: 9 additions & 0 deletions
9
modules/auth/src/main/scala/taskforce/authentication/package.scala
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,9 @@ | ||
package taskforce | ||
|
||
import java.util.UUID | ||
import monix.newtypes._ | ||
|
||
package object authentication { | ||
type UserId = UserId.Type | ||
object UserId extends NewtypeWrapped[UUID] | ||
} |
File renamed without changes.
Oops, something went wrong.