From a47d80af9e6f7463cb8ca2cc7cb2d6474d5df4c9 Mon Sep 17 00:00:00 2001 From: Bram van den Heuvel Date: Mon, 13 Feb 2023 18:07:08 +0100 Subject: [PATCH] elm-format --- src/Internal/Api/SendStateKey/Api.elm | 1 + src/Internal/Api/SendStateKey/Main.elm | 38 +++++++++++++------------- 2 files changed, 20 insertions(+), 19 deletions(-) diff --git a/src/Internal/Api/SendStateKey/Api.elm b/src/Internal/Api/SendStateKey/Api.elm index 2a91f03..eba7938 100644 --- a/src/Internal/Api/SendStateKey/Api.elm +++ b/src/Internal/Api/SendStateKey/Api.elm @@ -16,6 +16,7 @@ type alias SendStateKeyInputV1 = , stateKey : String } + type alias SendStateKeyOutputV1 = Task X.Error SO1.EventResponse diff --git a/src/Internal/Api/SendStateKey/Main.elm b/src/Internal/Api/SendStateKey/Main.elm index 4a97703..7099dc7 100644 --- a/src/Internal/Api/SendStateKey/Main.elm +++ b/src/Internal/Api/SendStateKey/Main.elm @@ -10,25 +10,25 @@ sendStateKey versions = { current = Api.sendStateKeyV1 , version = "r0.0.0" } - |> VC.sameForVersion "r0.0.1" - |> VC.sameForVersion "r0.1.0" - |> VC.sameForVersion "r0.2.0" - |> VC.sameForVersion "r0.3.0" - |> VC.sameForVersion "r0.4.0" - |> VC.sameForVersion "r0.5.0" - |> VC.sameForVersion "r0.6.0" - |> VC.sameForVersion "r0.6.1" - |> VC.addMiddleLayer - { downcast = identity - , current = Api.sendStateKeyV2 - , upcast = identity - , version = "v1.1" - } - |> VC.sameForVersion "v1.2" - |> VC.sameForVersion "v1.3" - |> VC.sameForVersion "v1.4" - |> VC.sameForVersion "v1.5" - |> VC.mostRecentFromVersionList versions + |> VC.sameForVersion "r0.0.1" + |> VC.sameForVersion "r0.1.0" + |> VC.sameForVersion "r0.2.0" + |> VC.sameForVersion "r0.3.0" + |> VC.sameForVersion "r0.4.0" + |> VC.sameForVersion "r0.5.0" + |> VC.sameForVersion "r0.6.0" + |> VC.sameForVersion "r0.6.1" + |> VC.addMiddleLayer + { downcast = identity + , current = Api.sendStateKeyV2 + , upcast = identity + , version = "v1.1" + } + |> VC.sameForVersion "v1.2" + |> VC.sameForVersion "v1.3" + |> VC.sameForVersion "v1.4" + |> VC.sameForVersion "v1.5" + |> VC.mostRecentFromVersionList versions type alias SendStateKeyInput =