@continuous-excellence/coupling-cli 1.1.755 → 1.1.756
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Auth0Environment.mjs +8 -8
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/ConfigCommand.mjs +38 -38
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/ConfigFileSource.mjs +11 -11
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/CouplingCli.mjs +17 -17
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/CouplingCliConfig.mjs +18 -18
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Login.mjs +22 -22
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Main.mjs +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Versions.mjs +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/WithSdk.mjs +7 -7
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/PartyListQuery.mjs +22 -22
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/PlayersQuery.mjs +31 -31
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/adapter/PartyListQuery_ResponseAdapter.mjs +11 -11
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/adapter/PlayersQuery_ResponseAdapter.mjs +16 -16
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/adapter/PlayersQuery_VariablesAdapter.mjs +2 -2
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/selections/PartyListQuerySelections.mjs +6 -3
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/selections/PartyListQuerySelections.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/selections/PlayersQuerySelections.mjs +7 -4
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/selections/PlayersQuerySelections.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/BatchContribution.mjs +42 -42
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Contribution.mjs +28 -28
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/ContributionInput.mjs +14 -14
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/CurrentPairs.mjs +38 -38
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/CycleTimeFromFirstCommit.mjs +3 -3
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/ListContribution.mjs +51 -51
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Party.mjs +40 -40
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/PartyDetails.mjs +31 -31
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/PartyList.mjs +16 -16
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Players.mjs +32 -32
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/SaveContribution.mjs +62 -62
- package/kotlin/Coupling-libraries-action/com/zegreatrob/coupling/action/ActionLoggingSyntax.mjs +7 -7
- package/kotlin/Coupling-libraries-action/com/zegreatrob/coupling/action/LoggingActionPipe.mjs +10 -10
- package/kotlin/Coupling-libraries-action/com/zegreatrob/coupling/action/party/SaveContributionCommand.mjs +7 -7
- package/kotlin/Coupling-libraries-action/com/zegreatrob/coupling/action/party/SaveContributionCommandDispatcherExecuteKt.mjs +13 -13
- package/kotlin/Coupling-libraries-json/com/zegreatrob/coupling/json/PartyIdSerializer.mjs +7 -7
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/Contribution.mjs +95 -95
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/ContributionId.mjs +4 -4
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/pairassignmentdocument/CouplingPair.mjs +55 -55
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/pairassignmentdocument/PairingSet.mjs +14 -14
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/pairassignmentdocument/PairingSetId.mjs +4 -4
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/party/PairingRule.mjs +1 -1
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/party/PartyDetails.mjs +27 -27
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/party/PartyId.mjs +5 -5
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/party/SecretId.mjs +4 -4
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/pin/Pin.mjs +16 -16
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/player/AvatarType.mjs +1 -1
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/player/Badge.mjs +1 -1
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/player/Player.mjs +21 -21
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/player/PlayerId.mjs +4 -4
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/player/callsign/CallSign.mjs +7 -7
- package/kotlin/Coupling-libraries-model/com/zegreatrob/coupling/model/user/UserId.mjs +4 -4
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/KtorSdk.mjs +17 -17
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/SdkGraphQueryDispatcher.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/SdkSaveContributionCommandDispatcher.mjs +18 -18
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/adapter/Adapter.mjs +23 -23
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/gql/GqlQuery.mjs +11 -11
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/gql/GqlTrait.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/gql/KtorQueryPerformer.mjs +2 -2
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/mapper/ContributionDetailsMapper.mjs +16 -16
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/mapper/PairingSetDetailsMapper.mjs +9 -9
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/mapper/PartyDetailsMapper.mjs +10 -10
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/CurrentPairAssignmentsQuery.mjs +31 -31
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/PartyContributionReportContributionsQuery.mjs +38 -38
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/PartyDetailsQuery.mjs +27 -27
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/SaveContributionMutation.mjs +20 -20
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/CurrentPairAssignmentsQuery_ResponseAdapter.mjs +16 -16
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/CurrentPairAssignmentsQuery_VariablesAdapter.mjs +2 -2
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/PartyContributionReportContributionsQuery_ResponseAdapter.mjs +21 -21
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/PartyContributionReportContributionsQuery_VariablesAdapter.mjs +4 -4
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/PartyDetailsQuery_ResponseAdapter.mjs +11 -11
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/PartyDetailsQuery_VariablesAdapter.mjs +2 -2
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/SaveContributionMutation_ResponseAdapter.mjs +5 -5
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/adapter/SaveContributionMutation_VariablesAdapter.mjs +2 -2
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/ContributionDetails.mjs +51 -51
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/ContributionDetailsImpl_ResponseAdapter.mjs +20 -20
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/PairingSetDetails.mjs +77 -77
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/PairingSetDetailsImpl_ResponseAdapter.mjs +44 -44
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/PartyDetails.mjs +31 -31
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/PartyDetailsImpl_ResponseAdapter.mjs +15 -15
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/PlayerDetails.mjs +28 -28
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/PlayerDetailsImpl_ResponseAdapter.mjs +13 -13
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/selections/ContributionDetailsSelections.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/selections/PairingSetDetailsSelections.mjs +5 -5
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/selections/PartyDetailsSelections.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/selections/PlayerDetailsSelections.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/selections/CurrentPairAssignmentsQuerySelections.mjs +4 -3
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/selections/CurrentPairAssignmentsQuerySelections.mjs.map +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/selections/PartyContributionReportContributionsQuerySelections.mjs +5 -4
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/selections/PartyContributionReportContributionsQuerySelections.mjs.map +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/selections/PartyDetailsQuerySelections.mjs +4 -3
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/selections/PartyDetailsQuerySelections.mjs.map +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/selections/SaveContributionMutationSelections.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/AvatarType.mjs +30 -29
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/AvatarType.mjs.map +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Badge.mjs +10 -29
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Badge.mjs.map +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Contribution.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/ContributionId.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/ContributionInput.mjs +39 -39
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/ContributionReport.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/ContributionWindow.mjs +18 -29
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/ContributionWindow.mjs.map +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/DateTimeISO.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Duration.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/GraphQLBoolean.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/GraphQLFloat.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/GraphQLInt.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/GraphQLString.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Mutation.mjs +8 -8
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PairSnapshot.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PairingSet.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PairingSetId.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Party.mjs +4 -4
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PartyId.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PartyInput.mjs +4 -4
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PinId.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PinSnapshot.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Player.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PlayerId.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PlayerSnapshot.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Query.mjs +4 -4
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/SaveContributionInput.mjs +7 -7
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/AvatarType_ResponseAdapter.mjs +4 -4
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/Badge_ResponseAdapter.mjs +4 -4
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/ContributionInput_InputAdapter.mjs +30 -30
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/ContributionWindow_ResponseAdapter.mjs +4 -4
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/ContributionsInput_InputAdapter.mjs +6 -6
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/PartyInput_InputAdapter.mjs +3 -3
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/SaveContributionInput_InputAdapter.mjs +4 -4
- package/kotlin/apollo-kotlin-adapters-apollo-adapters-core/com/apollographql/adapter/core/KotlinInstantAdapter.mjs +2 -2
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Adapters.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/CompiledGraphQL.mjs +15 -6
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/CompiledGraphQL.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/CustomScalarAdapters.mjs +72 -66
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/CustomScalarAdapters.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Error.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Executables.mjs +33 -15
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Executables.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/Operations.mjs +2 -2
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/RequestParameters.mjs +2 -2
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/BufferedSinkJsonWriter.mjs +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/JsonReaders.mjs +42 -0
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/JsonReaders.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/MapJsonReader.mjs +49 -0
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/MapJsonReader.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/MapJsonWriter.mjs +18 -18
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/internal/Utils.mjs +19 -4
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/api/json/internal/Utils.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/exception/Exceptions.mjs +76 -76
- package/kotlin/apollo-kotlin-apollo-api/com/apollographql/apollo/exception/Exceptions.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/ApolloCall.mjs +11 -11
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/ApolloClient.mjs +201 -180
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/ApolloClient.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/ConcurrencyInfo.mjs +2 -2
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/interceptor/ApolloInterceptor.mjs +5 -5
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/interceptor/NetworkInterceptor.mjs +6 -6
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/interceptor/RetryOnErrorInterceptor.mjs +35 -35
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/MultipartReader.mjs +42 -42
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/flows.mjs +14 -14
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/incremental/IncrementalDeliveryProtocolImpl.mjs +8 -8
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/incremental/V0_1IncrementalResultsMerger.mjs +32 -32
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/incremental/V0_2IncrementalResultsMerger.mjs +30 -30
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/is-node.mjs +1 -1
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/internal/multipart.mjs +2 -2
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/NetworkMonitor.mjs +1 -1
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/http/DefaultHttpEngine.js.mjs +10 -10
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/http/HttpExecutionContext.mjs +4 -4
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/http/HttpInterceptor.mjs +5 -5
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/http/HttpNetworkTransport.mjs +79 -79
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/http/HttpNetworkTransport.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/ClientMessage.mjs +1 -1
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/GraphQLWsProtocol.mjs +10 -10
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/ServerMessage.mjs +6 -6
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/WebSocketEngine.js.mjs +39 -39
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/WebSocketNetworkTransport.mjs +58 -58
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/internal/SubscribableWebSocket.mjs +196 -96
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/internal/SubscribableWebSocket.mjs.map +1 -1
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/websocket/internal/WebSocketPool.mjs +20 -20
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/ws/JsWebSocketEngine.mjs +11 -11
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/ws/SubscriptionWsProtocol.mjs +24 -24
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/ws/WebSocketNetworkTransport.mjs +105 -105
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/ws/WsProtocol.mjs +19 -19
- package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/ws/internal/WsMessage.mjs +24 -24
- package/kotlin/apollo-kotlin-ktor-support-apollo-engine-ktor/com/apollographql/ktor/KtorExtensions.mjs +2 -2
- package/kotlin/apollo-kotlin-ktor-support-apollo-engine-ktor/com/apollographql/ktor/http/KtorHttpEngine.mjs +14 -14
- package/kotlin/apollo-kotlin-ktor-support-apollo-engine-ktor/com/apollographql/ktor/ws/KtorWebSocketEngine.mjs +28 -28
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/command/CoreSuspendingCliktCommand.mjs +7 -7
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/completion/BashCompletionGenerator.mjs +28 -28
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/completion/CompletionGenerator.mjs +4 -4
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/completion/FishCompletionGenerator.mjs +23 -23
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/core/BaseCliktCommand.mjs +111 -111
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/core/Context.mjs +95 -95
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/core/exceptions.mjs +138 -138
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/internal/Finalization.mjs +37 -37
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/internal/Util.mjs +2 -2
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/output/AbstractHelpFormatter.mjs +132 -132
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/output/HelpFormatter.mjs +48 -48
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/output/Localization.mjs +32 -32
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/output/PlaintextHelpFormatter.mjs +26 -26
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/groups/ParameterGroup.mjs +2 -2
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/internal/NullableLateinit.mjs +13 -13
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/EagerOption.mjs +6 -6
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/FlagOption.mjs +3 -3
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/Option.mjs +21 -21
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/OptionWithValues.mjs +204 -204
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/TransformAll.mjs +5 -5
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/TransformEach.mjs +3 -3
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/transform/TransformContext.mjs +7 -7
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/types/boolean.mjs +9 -9
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/CommandLineParser.mjs +29 -29
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/Invocation.mjs +35 -35
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/ParserInternals.mjs +231 -231
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/atfile.mjs +3 -3
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/sources/ValueSource.mjs +15 -15
- package/kotlin/clikt-clikt-mordant/com/github/ajalt/clikt/command/SuspendingCliktCommand.mjs +2 -2
- package/kotlin/clikt-clikt-mordant/com/github/ajalt/clikt/core/MordantContext.mjs +16 -16
- package/kotlin/clikt-clikt-mordant/com/github/ajalt/clikt/output/MordantHelpFormatter.mjs +65 -65
- package/kotlin/clikt-clikt-mordant/com/github/ajalt/clikt/parameters/options/PromptOptions.mjs +18 -18
- package/kotlin/clikt-clikt-mordant/com/github/ajalt/clikt/parameters/transform/MordantTransformContext.mjs +1 -1
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/Color.mjs +1 -1
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/ColorSpace.mjs +5 -5
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/WhitePoint.mjs +15 -15
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/internal/Matrix.mjs +10 -10
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/Ansi16.mjs +18 -18
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/Ansi256.mjs +19 -19
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/HSV.mjs +25 -25
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/ICtCp.mjs +19 -19
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/RGB.mjs +121 -121
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/RGBColorSpaces.mjs +134 -134
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/XYZ.mjs +62 -62
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/xyY.mjs +20 -20
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/Appender.mjs +3 -3
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/ConsoleOutputAppender.mjs +2 -2
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/DirectLoggerFactory.mjs +1 -1
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/Formatter.mjs +8 -8
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/KLogger.mjs +9 -9
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/KLoggingEvent.mjs +25 -25
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/KLoggingEventBuilder.mjs +1 -1
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLogging.mjs +4 -4
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/KotlinLoggingConfiguration.mjs +11 -11
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/Level.mjs +5 -5
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/internal/KLoggerDirect.mjs +11 -11
- package/kotlin/kotlin-logging/io/github/oshai/kotlinlogging/internal/MessageInvoker.mjs +2 -2
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/AnsiCodes.mjs +24 -24
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/AnsiRender.mjs +39 -39
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/Constants.mjs +3 -3
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/HyperlinkIds.mjs +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/MppInternal.jsCommon.mjs +17 -17
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/Parsing.mjs +53 -53
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/cellwidth.mjs +7 -7
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/gen/cellwidthtable.mjs +3 -3
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/internal/gen/emojiseqtable.mjs +15 -15
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/platform/MultiplatformSystem.mjs +3 -3
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/BorderType.mjs +40 -40
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Lines.mjs +61 -61
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Size.mjs +3 -3
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Span.mjs +22 -22
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/TextStyle.mjs +79 -79
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Theme.mjs +44 -44
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Whitespace.mjs +4 -4
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Widget.mjs +2 -2
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/WidthRange.mjs +17 -17
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/Borders.mjs +4 -4
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/Table.mjs +234 -234
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/TableDsl.mjs +22 -22
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/TableDslInstances.mjs +152 -152
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/TableLayout.mjs +57 -57
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/VerticalLayout.mjs +32 -32
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/Prompt.mjs +60 -60
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/StandardTerminalInterface.mjs +14 -14
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/Terminal.mjs +54 -54
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalCursor.mjs +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalDetection.mjs +5 -5
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalExtensions.mjs +1 -1
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalInfo.mjs +18 -18
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalInterface.mjs +10 -10
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/terminalinterface/TerminalInterface.js.mjs +19 -19
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/terminalinterface/TerminalInterface.jsCommon.mjs +13 -13
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/widgets/DefinitionList.mjs +56 -56
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/widgets/EmptyWidget.mjs +3 -3
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/widgets/Padding.mjs +60 -60
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/widgets/Text.mjs +68 -68
- package/kotlin/okio-parent-okio/okio/NonJvmPlatform.mjs +29 -29
- package/kotlin/okio-parent-okio/okio/NonJvmPlatform.mjs.map +1 -1
- package/kotlin/testmints-action-async/com/zegreatrob/testmints/action/ActionCannon.mjs +9 -9
- package/kotlin/testmints-action-async/com/zegreatrob/testmints/action/ActionPipe.mjs +2 -2
- package/kotlin/testmints-action-async/com/zegreatrob/testmints/action/async/SimpleSuspendAction.mjs +1 -1
- package/kotlin/tools-digger-json/com/zegreatrob/tools/digger/json/ContributionDataJson.mjs +118 -118
- package/kotlin/tools-digger-model/com/zegreatrob/tools/digger/model/Contribution.mjs +36 -36
- package/kotlin/types-types/kotools/types/collection/NotEmptyList.mjs +22 -22
- package/kotlin/types-types/kotools/types/text/NotBlankString.mjs +26 -26
- package/kotlin/types-types-internal/kotools/types/internal/ErrorMessage.mjs +15 -15
- package/kotlin/types-types-internal/kotools/types/internal/Serializers.mjs +4 -4
- package/package.json +1 -1
package/kotlin/apollo-kotlin-apollo-runtime/com/apollographql/apollo/network/ws/WsProtocol.mjs
CHANGED
|
@@ -22,27 +22,27 @@ function WsProtocol() {
|
|
|
22
22
|
if (WsProtocolClass === VOID) {
|
|
23
23
|
class $ {
|
|
24
24
|
constructor(webSocketConnection, listener) {
|
|
25
|
-
this.
|
|
26
|
-
this.
|
|
25
|
+
this.l5h_1 = webSocketConnection;
|
|
26
|
+
this.m5h_1 = listener;
|
|
27
27
|
}
|
|
28
|
-
|
|
28
|
+
b5i(_this__u8e3s4) {
|
|
29
29
|
// Inline function 'com.apollographql.apollo.api.json.buildJsonByteString' call
|
|
30
30
|
var buffer = new (Buffer())();
|
|
31
31
|
var $this$buildJsonByteString = new (BufferedSinkJsonWriter())(buffer, null);
|
|
32
32
|
writeAny($this$buildJsonByteString, _this__u8e3s4);
|
|
33
33
|
return buffer.m4g();
|
|
34
34
|
}
|
|
35
|
-
|
|
35
|
+
c5i(_this__u8e3s4) {
|
|
36
36
|
// Inline function 'com.apollographql.apollo.api.json.buildJsonString' call
|
|
37
37
|
var buffer = new (Buffer())();
|
|
38
38
|
var $this$buildJsonString = new (BufferedSinkJsonWriter())(buffer, null);
|
|
39
39
|
writeAny($this$buildJsonString, _this__u8e3s4);
|
|
40
40
|
return buffer.q4g();
|
|
41
41
|
}
|
|
42
|
-
|
|
42
|
+
d5i(_this__u8e3s4) {
|
|
43
43
|
var tmp;
|
|
44
44
|
try {
|
|
45
|
-
var tmp_0 = get_AnyAdapter().y4h(new (BufferedSourceJsonReader())((new (Buffer())()).a4h(_this__u8e3s4)), Key_getInstance().
|
|
45
|
+
var tmp_0 = get_AnyAdapter().y4h(new (BufferedSourceJsonReader())((new (Buffer())()).a4h(_this__u8e3s4)), Key_getInstance().m4p_1);
|
|
46
46
|
tmp = isInterface(tmp_0, KtMap()) ? tmp_0 : null;
|
|
47
47
|
} catch ($p) {
|
|
48
48
|
var tmp_1;
|
|
@@ -56,37 +56,37 @@ function WsProtocol() {
|
|
|
56
56
|
}
|
|
57
57
|
return tmp;
|
|
58
58
|
}
|
|
59
|
-
|
|
60
|
-
this.
|
|
59
|
+
e5i(messageMap) {
|
|
60
|
+
this.l5h_1.s5j(this.b5i(messageMap));
|
|
61
61
|
}
|
|
62
|
-
|
|
63
|
-
this.
|
|
62
|
+
f5i(messageMap) {
|
|
63
|
+
this.l5h_1.g5h(this.c5i(messageMap));
|
|
64
64
|
}
|
|
65
|
-
|
|
65
|
+
u5h(messageMap, frameType) {
|
|
66
66
|
switch (frameType.s1_1) {
|
|
67
67
|
case 0:
|
|
68
|
-
this.
|
|
68
|
+
this.f5i(messageMap);
|
|
69
69
|
break;
|
|
70
70
|
case 1:
|
|
71
|
-
this.
|
|
71
|
+
this.e5i(messageMap);
|
|
72
72
|
break;
|
|
73
73
|
default:
|
|
74
74
|
noWhenBranchMatchedException();
|
|
75
75
|
break;
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
|
-
*
|
|
78
|
+
*n5h($completion) {
|
|
79
79
|
while (true) {
|
|
80
|
-
var map = this.
|
|
80
|
+
var map = this.d5i(yield* this.l5h_1.t5j($completion));
|
|
81
81
|
if (!(map == null)) {
|
|
82
82
|
return map;
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
|
-
*
|
|
86
|
+
*g5i($completion) {
|
|
87
87
|
try {
|
|
88
88
|
while (true) {
|
|
89
|
-
this.
|
|
89
|
+
this.v5h(yield* this.n5h($completion));
|
|
90
90
|
}
|
|
91
91
|
} catch ($p) {
|
|
92
92
|
if ($p instanceof CancellationException()) {
|
|
@@ -95,7 +95,7 @@ function WsProtocol() {
|
|
|
95
95
|
} else {
|
|
96
96
|
if ($p instanceof Exception()) {
|
|
97
97
|
var e_0 = $p;
|
|
98
|
-
this.
|
|
98
|
+
this.m5h_1.h5j(e_0);
|
|
99
99
|
} else {
|
|
100
100
|
throw $p;
|
|
101
101
|
}
|
|
@@ -104,7 +104,7 @@ function WsProtocol() {
|
|
|
104
104
|
return Unit_instance;
|
|
105
105
|
}
|
|
106
106
|
j6() {
|
|
107
|
-
this.
|
|
107
|
+
this.l5h_1.j6();
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
initMetadataForClass($, 'WsProtocol', VOID, VOID, VOID, [0]);
|
|
@@ -22,11 +22,11 @@ function OperationResponse() {
|
|
|
22
22
|
if (OperationResponseClass === VOID) {
|
|
23
23
|
class $ {
|
|
24
24
|
constructor(id, payload) {
|
|
25
|
-
this.
|
|
26
|
-
this.
|
|
25
|
+
this.m5i_1 = id;
|
|
26
|
+
this.n5i_1 = payload;
|
|
27
27
|
}
|
|
28
|
-
|
|
29
|
-
return this.
|
|
28
|
+
h5i() {
|
|
29
|
+
return this.m5i_1;
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
initMetadataForClass($, 'OperationResponse', VOID, VOID, [Event()]);
|
|
@@ -39,11 +39,11 @@ function OperationError() {
|
|
|
39
39
|
if (OperationErrorClass === VOID) {
|
|
40
40
|
class $ {
|
|
41
41
|
constructor(id, payload) {
|
|
42
|
-
this.
|
|
43
|
-
this.
|
|
42
|
+
this.k5i_1 = id;
|
|
43
|
+
this.l5i_1 = payload;
|
|
44
44
|
}
|
|
45
|
-
|
|
46
|
-
return this.
|
|
45
|
+
h5i() {
|
|
46
|
+
return this.k5i_1;
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
initMetadataForClass($, 'OperationError', VOID, VOID, [Event()]);
|
|
@@ -56,10 +56,10 @@ function OperationComplete() {
|
|
|
56
56
|
if (OperationCompleteClass === VOID) {
|
|
57
57
|
class $ {
|
|
58
58
|
constructor(id) {
|
|
59
|
-
this.
|
|
59
|
+
this.u5j_1 = id;
|
|
60
60
|
}
|
|
61
|
-
|
|
62
|
-
return this.
|
|
61
|
+
h5i() {
|
|
62
|
+
return this.u5j_1;
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
initMetadataForClass($, 'OperationComplete', VOID, VOID, [Event()]);
|
|
@@ -72,11 +72,11 @@ function GeneralError() {
|
|
|
72
72
|
if (GeneralErrorClass === VOID) {
|
|
73
73
|
class $ {
|
|
74
74
|
constructor(payload) {
|
|
75
|
-
this.
|
|
76
|
-
this.
|
|
75
|
+
this.k5j_1 = payload;
|
|
76
|
+
this.l5j_1 = null;
|
|
77
77
|
}
|
|
78
|
-
|
|
79
|
-
return this.
|
|
78
|
+
h5i() {
|
|
79
|
+
return this.l5j_1;
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
82
|
initMetadataForClass($, 'GeneralError', VOID, VOID, [Event()]);
|
|
@@ -89,11 +89,11 @@ function NetworkError() {
|
|
|
89
89
|
if (NetworkErrorClass === VOID) {
|
|
90
90
|
class $ {
|
|
91
91
|
constructor(cause) {
|
|
92
|
-
this.
|
|
93
|
-
this.
|
|
92
|
+
this.i5i_1 = cause;
|
|
93
|
+
this.j5i_1 = null;
|
|
94
94
|
}
|
|
95
|
-
|
|
96
|
-
return this.
|
|
95
|
+
h5i() {
|
|
96
|
+
return this.j5i_1;
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
99
|
initMetadataForClass($, 'NetworkError', VOID, VOID, [Event()]);
|
|
@@ -106,7 +106,7 @@ function StartOperation() {
|
|
|
106
106
|
if (StartOperationClass === VOID) {
|
|
107
107
|
class $ {
|
|
108
108
|
constructor(request) {
|
|
109
|
-
this.
|
|
109
|
+
this.e5j_1 = request;
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
initMetadataForClass($, 'StartOperation', VOID, VOID, [Command()]);
|
|
@@ -132,10 +132,10 @@ function ConnectionReEstablished() {
|
|
|
132
132
|
if (ConnectionReEstablishedClass === VOID) {
|
|
133
133
|
class $ {
|
|
134
134
|
constructor() {
|
|
135
|
-
this.
|
|
135
|
+
this.v5j_1 = null;
|
|
136
136
|
}
|
|
137
|
-
|
|
138
|
-
return this.
|
|
137
|
+
h5i() {
|
|
138
|
+
return this.v5j_1;
|
|
139
139
|
}
|
|
140
140
|
}
|
|
141
141
|
initMetadataForClass($, 'ConnectionReEstablished', ConnectionReEstablished, VOID, [Event()]);
|
|
@@ -170,7 +170,7 @@ function StopOperation() {
|
|
|
170
170
|
if (StopOperationClass === VOID) {
|
|
171
171
|
class $ {
|
|
172
172
|
constructor(request) {
|
|
173
|
-
this.
|
|
173
|
+
this.c5j_1 = request;
|
|
174
174
|
}
|
|
175
175
|
}
|
|
176
176
|
initMetadataForClass($, 'StopOperation', VOID, VOID, [Command()]);
|
|
@@ -7,8 +7,8 @@ import { KtorWebSocketEngine2cbfnq8i807su as KtorWebSocketEngine } from './ws/Kt
|
|
|
7
7
|
//endregion
|
|
8
8
|
function ktorClient(_this__u8e3s4, httpClient) {
|
|
9
9
|
// Inline function 'kotlin.apply' call
|
|
10
|
-
_this__u8e3s4.
|
|
11
|
-
_this__u8e3s4.
|
|
10
|
+
_this__u8e3s4.m58(KtorHttpEngine().i5k(httpClient));
|
|
11
|
+
_this__u8e3s4.t58(KtorWebSocketEngine().n5k(httpClient));
|
|
12
12
|
return _this__u8e3s4;
|
|
13
13
|
}
|
|
14
14
|
//region block: exports
|
|
@@ -61,24 +61,24 @@ function KtorHttpEngine() {
|
|
|
61
61
|
if (KtorHttpEngineClass === VOID) {
|
|
62
62
|
class $ {
|
|
63
63
|
constructor(client) {
|
|
64
|
-
return new.target.
|
|
64
|
+
return new.target.i5k(client);
|
|
65
65
|
}
|
|
66
|
-
static
|
|
66
|
+
static i5k(client) {
|
|
67
67
|
var $this = createThis(this);
|
|
68
|
-
$this.
|
|
69
|
-
$this.
|
|
68
|
+
$this.g5k_1 = client;
|
|
69
|
+
$this.h5k_1 = false;
|
|
70
70
|
return $this;
|
|
71
71
|
}
|
|
72
|
-
static
|
|
72
|
+
static o5k(timeoutMillis) {
|
|
73
73
|
timeoutMillis = timeoutMillis === VOID ? new (Long())(60000, 0) : timeoutMillis;
|
|
74
|
-
return this.
|
|
74
|
+
return this.p5k(timeoutMillis, timeoutMillis);
|
|
75
75
|
}
|
|
76
|
-
static
|
|
77
|
-
return this.
|
|
76
|
+
static p5k(connectTimeoutMillis, readTimeoutMillis) {
|
|
77
|
+
return this.i5k(HttpClient(KtorHttpEngine$_init_$lambda_1isu2z(connectTimeoutMillis, readTimeoutMillis)));
|
|
78
78
|
}
|
|
79
|
-
*
|
|
79
|
+
*b5d(request, $completion) {
|
|
80
80
|
try {
|
|
81
|
-
var tmp0 = this.
|
|
81
|
+
var tmp0 = this.g5k_1;
|
|
82
82
|
// Inline function 'io.ktor.client.request.request' call
|
|
83
83
|
var urlString = request.o4t_1;
|
|
84
84
|
// Inline function 'io.ktor.client.request.request' call
|
|
@@ -216,13 +216,13 @@ function KtorHttpEngine() {
|
|
|
216
216
|
}
|
|
217
217
|
}
|
|
218
218
|
j6() {
|
|
219
|
-
if (!this.
|
|
220
|
-
this.
|
|
221
|
-
this.
|
|
219
|
+
if (!this.h5k_1) {
|
|
220
|
+
this.g5k_1.j6();
|
|
221
|
+
this.h5k_1 = true;
|
|
222
222
|
}
|
|
223
223
|
}
|
|
224
224
|
}
|
|
225
|
-
initMetadataForClass($, 'KtorHttpEngine', $.
|
|
225
|
+
initMetadataForClass($, 'KtorHttpEngine', $.o5k, VOID, [HttpEngine()], [1]);
|
|
226
226
|
KtorHttpEngineClass = $;
|
|
227
227
|
}
|
|
228
228
|
return KtorHttpEngineClass;
|
|
@@ -61,7 +61,7 @@ function *open($this, url, headers, $completion) {
|
|
|
61
61
|
}
|
|
62
62
|
this_0.p32(tmp);
|
|
63
63
|
var newUrl = this_0.f2t();
|
|
64
|
-
launch($this.
|
|
64
|
+
launch($this.k5k_1, VOID, VOID, KtorWebSocketEngine$open$slambda($this, newUrl, headers));
|
|
65
65
|
return new (KtorWebSocketEngine$open$4())($this);
|
|
66
66
|
}
|
|
67
67
|
function *closeReasonOrNull($this, $receiver, $completion) {
|
|
@@ -85,10 +85,10 @@ function *closeReasonOrNull($this, $receiver, $completion) {
|
|
|
85
85
|
}
|
|
86
86
|
function *sendFrames($this, session, $completion) {
|
|
87
87
|
while (true) {
|
|
88
|
-
var frame = yield* $this.
|
|
88
|
+
var frame = yield* $this.m5k_1.q1d($completion);
|
|
89
89
|
yield* session.c38(frame, $completion);
|
|
90
90
|
if (frame instanceof Close()) {
|
|
91
|
-
$this.
|
|
91
|
+
$this.l5k_1.z1d();
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
94
|
return Unit_instance;
|
|
@@ -97,10 +97,10 @@ function *receiveFrames($this, incoming, $completion) {
|
|
|
97
97
|
while (true) {
|
|
98
98
|
var frame = yield* incoming.q1d($completion);
|
|
99
99
|
if (frame instanceof Text()) {
|
|
100
|
-
$this.
|
|
100
|
+
$this.l5k_1.o1d(readText(frame));
|
|
101
101
|
} else {
|
|
102
102
|
if (frame instanceof Binary()) {
|
|
103
|
-
$this.
|
|
103
|
+
$this.l5k_1.o1d(decodeToString(frame.r37_1));
|
|
104
104
|
} else {
|
|
105
105
|
// Inline function 'kotlin.error' call
|
|
106
106
|
var message = 'unknown frame type';
|
|
@@ -151,12 +151,12 @@ function KtorWebSocketEngine$open$slambda$slambda$slambda(this$0, $this_webSocke
|
|
|
151
151
|
var closeReason = yield* /*#__NOINLINE__*/closeReasonOrNull(this$0, $this_webSocket, $completion);
|
|
152
152
|
var tmp_1;
|
|
153
153
|
if (!(closeReason == null)) {
|
|
154
|
-
tmp_1 = ApolloWebSocketClosedException().
|
|
154
|
+
tmp_1 = ApolloWebSocketClosedException().y4x(closeReason.g37_1, closeReason.h37_1, e);
|
|
155
155
|
} else {
|
|
156
156
|
tmp_1 = ApolloNetworkException().j4r('Web socket communication error', e);
|
|
157
157
|
}
|
|
158
158
|
var apolloException = tmp_1;
|
|
159
|
-
this$0.
|
|
159
|
+
this$0.l5k_1.x1d(apolloException);
|
|
160
160
|
throw e;
|
|
161
161
|
} else {
|
|
162
162
|
throw $p;
|
|
@@ -175,17 +175,17 @@ function KtorWebSocketEngine$open$slambda(this$0, $newUrl, $headers) {
|
|
|
175
175
|
return constructCallableReference(function *($this$launch, $completion) {
|
|
176
176
|
try {
|
|
177
177
|
var tmp = KtorWebSocketEngine$open$slambda$lambda($newUrl, $headers);
|
|
178
|
-
yield* webSocket(this$0.
|
|
178
|
+
yield* webSocket(this$0.j5k_1, tmp, KtorWebSocketEngine$open$slambda$slambda(this$0), $completion);
|
|
179
179
|
} catch ($p) {
|
|
180
180
|
if ($p instanceof Error) {
|
|
181
181
|
var e = $p;
|
|
182
|
-
this$0.
|
|
182
|
+
this$0.l5k_1.x1d(ApolloNetworkException().j4r('Web socket communication error', e));
|
|
183
183
|
} else {
|
|
184
184
|
throw $p;
|
|
185
185
|
}
|
|
186
186
|
}
|
|
187
187
|
finally {
|
|
188
|
-
this$0.
|
|
188
|
+
this$0.l5k_1.x1d(ApolloNetworkException().j4r('Web socket communication error', null));
|
|
189
189
|
}
|
|
190
190
|
return Unit_instance;
|
|
191
191
|
}, 1);
|
|
@@ -195,19 +195,19 @@ function KtorWebSocketEngine$open$4() {
|
|
|
195
195
|
if (KtorWebSocketEngine$open$4Class === VOID) {
|
|
196
196
|
class $ {
|
|
197
197
|
constructor(this$0) {
|
|
198
|
-
this.
|
|
198
|
+
this.q5k_1 = this$0;
|
|
199
199
|
}
|
|
200
|
-
*
|
|
201
|
-
return yield* this.
|
|
200
|
+
*t5j($completion) {
|
|
201
|
+
return yield* this.q5k_1.l5k_1.q1d($completion);
|
|
202
202
|
}
|
|
203
|
-
|
|
204
|
-
this.
|
|
203
|
+
s5j(data) {
|
|
204
|
+
this.q5k_1.m5k_1.o1d(Binary().g3b(true, data.t4f()));
|
|
205
205
|
}
|
|
206
|
-
|
|
207
|
-
this.
|
|
206
|
+
g5h(string) {
|
|
207
|
+
this.q5k_1.m5k_1.o1d(Text().q3b(string));
|
|
208
208
|
}
|
|
209
209
|
j6() {
|
|
210
|
-
this.
|
|
210
|
+
this.q5k_1.m5k_1.o1d(Close().a39(CloseReason().i37(1000, '')));
|
|
211
211
|
}
|
|
212
212
|
}
|
|
213
213
|
initMetadataForClass($, VOID, VOID, VOID, VOID, [0]);
|
|
@@ -220,24 +220,24 @@ function KtorWebSocketEngine() {
|
|
|
220
220
|
if (KtorWebSocketEngineClass === VOID) {
|
|
221
221
|
class $ {
|
|
222
222
|
constructor(client) {
|
|
223
|
-
return new.target.
|
|
223
|
+
return new.target.n5k(client);
|
|
224
224
|
}
|
|
225
|
-
static
|
|
225
|
+
static n5k(client) {
|
|
226
226
|
var $this = createThis(this);
|
|
227
|
-
$this.
|
|
228
|
-
$this.
|
|
229
|
-
$this.
|
|
230
|
-
$this.
|
|
227
|
+
$this.j5k_1 = client;
|
|
228
|
+
$this.k5k_1 = CoroutineScope(Dispatchers_getInstance().q19_1.lo(SupervisorJob()));
|
|
229
|
+
$this.l5k_1 = Channel(2147483647);
|
|
230
|
+
$this.m5k_1 = Channel(2147483647);
|
|
231
231
|
return $this;
|
|
232
232
|
}
|
|
233
|
-
static
|
|
234
|
-
return this.
|
|
233
|
+
static r5k() {
|
|
234
|
+
return this.n5k(HttpClient(KtorWebSocketEngine$_init_$lambda_2axi3y));
|
|
235
235
|
}
|
|
236
|
-
*
|
|
236
|
+
*d5j(url, headers, $completion) {
|
|
237
237
|
return yield* /*#__NOINLINE__*/open(this, Url(url), headers, $completion);
|
|
238
238
|
}
|
|
239
239
|
}
|
|
240
|
-
initMetadataForClass($, 'KtorWebSocketEngine', $.
|
|
240
|
+
initMetadataForClass($, 'KtorWebSocketEngine', $.r5k, VOID, VOID, [2, 1]);
|
|
241
241
|
KtorWebSocketEngineClass = $;
|
|
242
242
|
}
|
|
243
243
|
return KtorWebSocketEngineClass;
|
|
@@ -15,9 +15,9 @@ var CoreSuspendingCliktCommandClass;
|
|
|
15
15
|
function CoreSuspendingCliktCommand() {
|
|
16
16
|
if (CoreSuspendingCliktCommandClass === VOID) {
|
|
17
17
|
class $ extends BaseCliktCommand() {
|
|
18
|
-
static
|
|
18
|
+
static g5v(name) {
|
|
19
19
|
name = name === VOID ? null : name;
|
|
20
|
-
return this.
|
|
20
|
+
return this.w5v(name);
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
23
|
initMetadataForClass($, 'CoreSuspendingCliktCommand', VOID, VOID, VOID, [0]);
|
|
@@ -35,8 +35,8 @@ function *main_0(_this__u8e3s4, argv, $completion) {
|
|
|
35
35
|
} catch ($p) {
|
|
36
36
|
if ($p instanceof CliktError()) {
|
|
37
37
|
var e = $p;
|
|
38
|
-
_this__u8e3s4.
|
|
39
|
-
_this__u8e3s4.
|
|
38
|
+
_this__u8e3s4.r5w(e);
|
|
39
|
+
_this__u8e3s4.j5w().n5x_1(e.u5x_1);
|
|
40
40
|
} else {
|
|
41
41
|
throw $p;
|
|
42
42
|
}
|
|
@@ -45,9 +45,9 @@ function *main_0(_this__u8e3s4, argv, $completion) {
|
|
|
45
45
|
}
|
|
46
46
|
function *parse(_this__u8e3s4, argv, $completion) {
|
|
47
47
|
// Inline function 'com.github.ajalt.clikt.parsers.CommandLineParser.parseAndRun' call
|
|
48
|
-
var result = CommandLineParser_instance.
|
|
48
|
+
var result = CommandLineParser_instance.x5x(_this__u8e3s4, argv);
|
|
49
49
|
// Inline function 'com.github.ajalt.clikt.parsers.CommandLineParser.run' call
|
|
50
|
-
var rootInvocation = result.
|
|
50
|
+
var rootInvocation = result.y5x_1;
|
|
51
51
|
var tmp0 = flatten(rootInvocation);
|
|
52
52
|
$l$block: {
|
|
53
53
|
// Inline function 'kotlin.use' call
|
|
@@ -56,7 +56,7 @@ function *parse(_this__u8e3s4, argv, $completion) {
|
|
|
56
56
|
var _iterator__ex2g4s = tmp0.l1();
|
|
57
57
|
while (_iterator__ex2g4s.m1()) {
|
|
58
58
|
var invocation = _iterator__ex2g4s.n1();
|
|
59
|
-
yield* invocation.
|
|
59
|
+
yield* invocation.e5y_1.g5i($completion);
|
|
60
60
|
}
|
|
61
61
|
break $l$block;
|
|
62
62
|
} catch ($p) {
|
|
@@ -55,7 +55,7 @@ import { initMetadataForObject1cxne3s9w65el as initMetadataForObject } from '../
|
|
|
55
55
|
//region block: pre-declaration
|
|
56
56
|
//endregion
|
|
57
57
|
function commandCompletionFuncName($this, command) {
|
|
58
|
-
var tmp = command.
|
|
58
|
+
var tmp = command.j5w();
|
|
59
59
|
var tmp_0 = generateSequence(tmp, BashCompletionGenerator$commandCompletionFuncName$lambda);
|
|
60
60
|
var ancestors = asReversed(toList(map(tmp_0, BashCompletionGenerator$commandCompletionFuncName$lambda_0)));
|
|
61
61
|
var isTopLevel = ancestors.q2() === 1;
|
|
@@ -66,34 +66,34 @@ function customParamCompletionName($this, commandFuncName, name) {
|
|
|
66
66
|
return '_' + commandFuncName + '_complete_' + Regex().sh('[^a-zA-Z0-9]').xh(name, '_');
|
|
67
67
|
}
|
|
68
68
|
function _get_allNames__eplh1g($this, $receiver) {
|
|
69
|
-
return plus_0($receiver.
|
|
69
|
+
return plus_0($receiver.j5y(), $receiver.k5y());
|
|
70
70
|
}
|
|
71
71
|
function BashCompletionGenerator$generateBashOrZshCompletion$lambda(it) {
|
|
72
72
|
return "'" + it + "'";
|
|
73
73
|
}
|
|
74
74
|
function BashCompletionGenerator$commandCompletionFuncName$lambda(it) {
|
|
75
|
-
return it.
|
|
75
|
+
return it.w5w_1;
|
|
76
76
|
}
|
|
77
77
|
function BashCompletionGenerator$commandCompletionFuncName$lambda_0(it) {
|
|
78
|
-
return it.
|
|
78
|
+
return it.x5w_1.h5v_1;
|
|
79
79
|
}
|
|
80
80
|
var BashCompletionGeneratorClass;
|
|
81
81
|
function BashCompletionGenerator() {
|
|
82
82
|
if (BashCompletionGeneratorClass === VOID) {
|
|
83
83
|
class $ {
|
|
84
|
-
|
|
85
|
-
var commandName = command.
|
|
84
|
+
l5y(command, zsh) {
|
|
85
|
+
var commandName = command.h5v_1;
|
|
86
86
|
var _destruct__k2r9zo = commandCompletionFuncName(this, command);
|
|
87
87
|
var isTopLevel = _destruct__k2r9zo.pl();
|
|
88
88
|
var funcName = _destruct__k2r9zo.ql();
|
|
89
89
|
// Inline function 'kotlin.collections.filterNot' call
|
|
90
|
-
var tmp0 = command.
|
|
90
|
+
var tmp0 = command.q5v_1;
|
|
91
91
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
92
92
|
var destination = ArrayList().i2();
|
|
93
93
|
var _iterator__ex2g4s = tmp0.l1();
|
|
94
94
|
while (_iterator__ex2g4s.m1()) {
|
|
95
95
|
var element = _iterator__ex2g4s.n1();
|
|
96
|
-
if (!element.
|
|
96
|
+
if (!element.m5y()) {
|
|
97
97
|
destination.o2(element);
|
|
98
98
|
}
|
|
99
99
|
}
|
|
@@ -103,39 +103,39 @@ function BashCompletionGenerator() {
|
|
|
103
103
|
var _iterator__ex2g4s_0 = destination.l1();
|
|
104
104
|
while (_iterator__ex2g4s_0.m1()) {
|
|
105
105
|
var item = _iterator__ex2g4s_0.n1();
|
|
106
|
-
var tmp$ret$5 = new (Triple())(_get_allNames__eplh1g(BashCompletionGenerator_instance, item), item.
|
|
106
|
+
var tmp$ret$5 = new (Triple())(_get_allNames__eplh1g(BashCompletionGenerator_instance, item), item.n5y(), item.o5y());
|
|
107
107
|
destination_0.o2(tmp$ret$5);
|
|
108
108
|
}
|
|
109
109
|
var options = destination_0;
|
|
110
110
|
// Inline function 'kotlin.collections.map' call
|
|
111
|
-
var this_0 = command.
|
|
111
|
+
var this_0 = command.r5v_1;
|
|
112
112
|
// Inline function 'kotlin.collections.mapTo' call
|
|
113
113
|
var destination_1 = ArrayList().r2(collectionSizeOrDefault(this_0, 10));
|
|
114
114
|
var _iterator__ex2g4s_1 = this_0.l1();
|
|
115
115
|
while (_iterator__ex2g4s_1.m1()) {
|
|
116
116
|
var item_0 = _iterator__ex2g4s_1.n1();
|
|
117
|
-
var tmp$ret$8 = to(item_0.d1(), item_0.
|
|
117
|
+
var tmp$ret$8 = to(item_0.d1(), item_0.n5y());
|
|
118
118
|
destination_1.o2(tmp$ret$8);
|
|
119
119
|
}
|
|
120
120
|
var arguments_0 = destination_1;
|
|
121
121
|
// Inline function 'kotlin.collections.map' call
|
|
122
|
-
var this_1 = command.
|
|
122
|
+
var this_1 = command.p5v_1;
|
|
123
123
|
// Inline function 'kotlin.collections.mapTo' call
|
|
124
124
|
var destination_2 = ArrayList().r2(collectionSizeOrDefault(this_1, 10));
|
|
125
125
|
var _iterator__ex2g4s_2 = this_1.l1();
|
|
126
126
|
while (_iterator__ex2g4s_2.m1()) {
|
|
127
127
|
var item_1 = _iterator__ex2g4s_2.n1();
|
|
128
|
-
var tmp$ret$11 = item_1.
|
|
128
|
+
var tmp$ret$11 = item_1.h5v_1;
|
|
129
129
|
destination_2.o2(tmp$ret$11);
|
|
130
130
|
}
|
|
131
131
|
var subcommands = destination_2;
|
|
132
132
|
// Inline function 'kotlin.collections.takeWhile' call
|
|
133
|
-
var this_2 = command.
|
|
133
|
+
var this_2 = command.r5v_1;
|
|
134
134
|
var list = ArrayList().i2();
|
|
135
135
|
var _iterator__ex2g4s_3 = this_2.l1();
|
|
136
136
|
$l$loop: while (_iterator__ex2g4s_3.m1()) {
|
|
137
137
|
var item_2 = _iterator__ex2g4s_3.n1();
|
|
138
|
-
if (!(item_2.
|
|
138
|
+
if (!(item_2.o5y() > 0))
|
|
139
139
|
break $l$loop;
|
|
140
140
|
list.o2(item_2);
|
|
141
141
|
}
|
|
@@ -146,7 +146,7 @@ function BashCompletionGenerator() {
|
|
|
146
146
|
while (_iterator__ex2g4s_4.m1()) {
|
|
147
147
|
var element_0 = _iterator__ex2g4s_4.n1();
|
|
148
148
|
// Inline function 'kotlin.collections.map' call
|
|
149
|
-
var this_3 = numberRangeToNumber(1, element_0.
|
|
149
|
+
var this_3 = numberRangeToNumber(1, element_0.o5y());
|
|
150
150
|
// Inline function 'kotlin.collections.mapTo' call
|
|
151
151
|
var destination_4 = ArrayList().r2(collectionSizeOrDefault(this_3, 10));
|
|
152
152
|
var inductionVariable = this_3.f3_1;
|
|
@@ -164,14 +164,14 @@ function BashCompletionGenerator() {
|
|
|
164
164
|
}
|
|
165
165
|
var fixedArgNameArray = joinToString(destination_3, ' ');
|
|
166
166
|
// Inline function 'kotlin.collections.find' call
|
|
167
|
-
var tmp0_0 = command.
|
|
167
|
+
var tmp0_0 = command.r5v_1;
|
|
168
168
|
var tmp$ret$21;
|
|
169
169
|
$l$block: {
|
|
170
170
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
171
171
|
var _iterator__ex2g4s_5 = tmp0_0.l1();
|
|
172
172
|
while (_iterator__ex2g4s_5.m1()) {
|
|
173
173
|
var element_1 = _iterator__ex2g4s_5.n1();
|
|
174
|
-
if (element_1.
|
|
174
|
+
if (element_1.o5y() < 0) {
|
|
175
175
|
tmp$ret$21 = element_1;
|
|
176
176
|
break $l$block;
|
|
177
177
|
}
|
|
@@ -236,7 +236,7 @@ function BashCompletionGenerator() {
|
|
|
236
236
|
var name = _destruct__k2r9zo_0.pl();
|
|
237
237
|
var candidate = _destruct__k2r9zo_0.ql();
|
|
238
238
|
var tmp0_safe_receiver_0 = candidate instanceof Custom() ? candidate : null;
|
|
239
|
-
var tmp1_safe_receiver = tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.
|
|
239
|
+
var tmp1_safe_receiver = tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.p5y_1;
|
|
240
240
|
var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver(ShellType_BASH_getInstance());
|
|
241
241
|
var tmp;
|
|
242
242
|
if (tmp2_elvis_lhs == null) {
|
|
@@ -292,7 +292,7 @@ function BashCompletionGenerator() {
|
|
|
292
292
|
}
|
|
293
293
|
this_4.i1(' esac\n fi\n case "${COMP_WORDS[$i]}" in\n');
|
|
294
294
|
// Inline function 'kotlin.collections.iterator' call
|
|
295
|
-
var _iterator__ex2g4s_9 = command.
|
|
295
|
+
var _iterator__ex2g4s_9 = command.s5w().a3().l1();
|
|
296
296
|
while (_iterator__ex2g4s_9.m1()) {
|
|
297
297
|
var _destruct__k2r9zo_2 = _iterator__ex2g4s_9.n1();
|
|
298
298
|
// Inline function 'kotlin.collections.component1' call
|
|
@@ -303,18 +303,18 @@ function BashCompletionGenerator() {
|
|
|
303
303
|
joinTo(toks, this_4, ' ', ' ', VOID, VOID, VOID, BashCompletionGenerator$generateBashOrZshCompletion$lambda);
|
|
304
304
|
this_4.i1(' "${COMP_WORDS[@]:${i}}" )').i1('\n');
|
|
305
305
|
this_4.i1(' (( COMP_CWORD = COMP_CWORD + ' + toks.q2() + ' ))\n');
|
|
306
|
-
if (!command.
|
|
306
|
+
if (!command.j5w().y5w_1) {
|
|
307
307
|
this_4.i1(' can_parse_options=0\n');
|
|
308
308
|
}
|
|
309
309
|
this_4.i1(' ;;\n');
|
|
310
310
|
}
|
|
311
|
-
var _iterator__ex2g4s_10 = command.
|
|
311
|
+
var _iterator__ex2g4s_10 = command.p5v_1.l1();
|
|
312
312
|
while (_iterator__ex2g4s_10.m1()) {
|
|
313
313
|
var sub = _iterator__ex2g4s_10.n1();
|
|
314
|
-
this_4.i1(trimMargin('\n | ' + sub.
|
|
314
|
+
this_4.i1(trimMargin('\n | ' + sub.h5v_1 + ')\n | ' + commandCompletionFuncName(BashCompletionGenerator_instance, sub).zl_1 + ' $(( i + 1 ))\n | return\n | ;;\n |\n '));
|
|
315
315
|
}
|
|
316
316
|
this_4.i1(' *)\n (( i = i + 1 ))\n # drop the head of the array\n fixed_arg_names=("${fixed_arg_names[@]:1}")\n');
|
|
317
|
-
if (!command.
|
|
317
|
+
if (!command.j5w().y5w_1) {
|
|
318
318
|
this_4.i1(' can_parse_options=0\n');
|
|
319
319
|
}
|
|
320
320
|
this_4.i1(' ;;\n esac\n done\n local word="${COMP_WORDS[$COMP_CWORD]}"\n');
|
|
@@ -371,11 +371,11 @@ function BashCompletionGenerator() {
|
|
|
371
371
|
} else {
|
|
372
372
|
if (completion instanceof Fixed()) {
|
|
373
373
|
this_4.i1(" COMPREPLY=($(compgen -W '");
|
|
374
|
-
joinTo(completion.
|
|
374
|
+
joinTo(completion.q5y_1, this_4, ' ');
|
|
375
375
|
this_4.i1('\' -- "${word}"))\n');
|
|
376
376
|
} else {
|
|
377
377
|
if (completion instanceof Custom()) {
|
|
378
|
-
if (!(completion.
|
|
378
|
+
if (!(completion.p5y_1(ShellType_BASH_getInstance()) == null)) {
|
|
379
379
|
var fname = customParamCompletionName(BashCompletionGenerator_instance, funcName, name_1);
|
|
380
380
|
this_4.i1(' COMPREPLY=($(compgen -F ' + fname + ' 2>/dev/null))\n');
|
|
381
381
|
}
|
|
@@ -396,10 +396,10 @@ function BashCompletionGenerator() {
|
|
|
396
396
|
this_4.i1('\' -- "${word}"))\n ;;\n');
|
|
397
397
|
}
|
|
398
398
|
this_4.i1(' esac\n}\n');
|
|
399
|
-
var _iterator__ex2g4s_15 = command.
|
|
399
|
+
var _iterator__ex2g4s_15 = command.p5v_1.l1();
|
|
400
400
|
while (_iterator__ex2g4s_15.m1()) {
|
|
401
401
|
var subcommand = _iterator__ex2g4s_15.n1();
|
|
402
|
-
this_4.i1(BashCompletionGenerator_instance.
|
|
402
|
+
this_4.i1(BashCompletionGenerator_instance.l5y(subcommand, zsh));
|
|
403
403
|
}
|
|
404
404
|
if (isTopLevel) {
|
|
405
405
|
this_4.i1('\ncomplete -F ' + funcName + ' ' + commandName);
|
|
@@ -14,17 +14,17 @@ var CompletionGeneratorClass;
|
|
|
14
14
|
function CompletionGenerator() {
|
|
15
15
|
if (CompletionGeneratorClass === VOID) {
|
|
16
16
|
class $ {
|
|
17
|
-
|
|
17
|
+
r5y(command, shell) {
|
|
18
18
|
// Inline function 'kotlin.text.trim' call
|
|
19
19
|
// Inline function 'kotlin.text.lowercase' call
|
|
20
20
|
// Inline function 'kotlin.js.asDynamic' call
|
|
21
21
|
switch (toString(trim(isCharSequence(shell) ? shell : THROW_CCE())).toLowerCase()) {
|
|
22
22
|
case 'fish':
|
|
23
|
-
return FishCompletionGenerator_instance.
|
|
23
|
+
return FishCompletionGenerator_instance.s5y(command);
|
|
24
24
|
case 'zsh':
|
|
25
|
-
return BashCompletionGenerator_instance.
|
|
25
|
+
return BashCompletionGenerator_instance.l5y(command, true);
|
|
26
26
|
default:
|
|
27
|
-
return BashCompletionGenerator_instance.
|
|
27
|
+
return BashCompletionGenerator_instance.l5y(command, false);
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
}
|