elm-format

pull/1/head
Bram van den Heuvel 2023-02-13 18:07:08 +01:00
parent 293a37c8cd
commit a47d80af9e
2 changed files with 20 additions and 19 deletions

View File

@ -16,6 +16,7 @@ type alias SendStateKeyInputV1 =
, stateKey : String , stateKey : String
} }
type alias SendStateKeyOutputV1 = type alias SendStateKeyOutputV1 =
Task X.Error SO1.EventResponse Task X.Error SO1.EventResponse

View File

@ -10,25 +10,25 @@ sendStateKey versions =
{ current = Api.sendStateKeyV1 { current = Api.sendStateKeyV1
, version = "r0.0.0" , version = "r0.0.0"
} }
|> VC.sameForVersion "r0.0.1" |> VC.sameForVersion "r0.0.1"
|> VC.sameForVersion "r0.1.0" |> VC.sameForVersion "r0.1.0"
|> VC.sameForVersion "r0.2.0" |> VC.sameForVersion "r0.2.0"
|> VC.sameForVersion "r0.3.0" |> VC.sameForVersion "r0.3.0"
|> VC.sameForVersion "r0.4.0" |> VC.sameForVersion "r0.4.0"
|> VC.sameForVersion "r0.5.0" |> VC.sameForVersion "r0.5.0"
|> VC.sameForVersion "r0.6.0" |> VC.sameForVersion "r0.6.0"
|> VC.sameForVersion "r0.6.1" |> VC.sameForVersion "r0.6.1"
|> VC.addMiddleLayer |> VC.addMiddleLayer
{ downcast = identity { downcast = identity
, current = Api.sendStateKeyV2 , current = Api.sendStateKeyV2
, upcast = identity , upcast = identity
, version = "v1.1" , version = "v1.1"
} }
|> VC.sameForVersion "v1.2" |> VC.sameForVersion "v1.2"
|> VC.sameForVersion "v1.3" |> VC.sameForVersion "v1.3"
|> VC.sameForVersion "v1.4" |> VC.sameForVersion "v1.4"
|> VC.sameForVersion "v1.5" |> VC.sameForVersion "v1.5"
|> VC.mostRecentFromVersionList versions |> VC.mostRecentFromVersionList versions
type alias SendStateKeyInput = type alias SendStateKeyInput =