@continuous-excellence/coupling-cli 1.1.515 → 1.1.517
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 +39 -38
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/ConfigCommand.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/ConfigFileSource.mjs +11 -11
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/CouplingCli.mjs +19 -18
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/CouplingCli.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/CouplingCliConfig.mjs +18 -18
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Login.mjs +23 -22
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Login.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Main.mjs +6 -2
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Main.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Versions.mjs +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/WithSdk.mjs +56 -12
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/WithSdk.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/PartyListQuery.mjs +13 -13
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/PlayersQuery.mjs +22 -22
- 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/party/BatchContribution.mjs +60 -53
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/BatchContribution.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Contribution.mjs +29 -28
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Contribution.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/ContributionInput.mjs +13 -13
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/CurrentPairs.mjs +164 -120
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/CurrentPairs.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/CycleTimeFromFirstCommit.mjs +3 -3
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Party.mjs +44 -41
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Party.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/PartyDetails.mjs +72 -50
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/PartyDetails.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/PartyList.mjs +73 -74
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/PartyList.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Players.mjs +101 -49
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Players.mjs.map +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/SaveContribution.mjs +79 -79
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/SaveContribution.mjs.map +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/KtorSdk.mjs +2 -2
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/command/CoreSuspendingCliktCommand.mjs +7 -7
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/command/CoreSuspendingCliktCommand.mjs.map +1 -1
- 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 +117 -112
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/core/BaseCliktCommand.mjs.map +1 -1
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/core/Context.mjs +95 -95
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/core/exceptions.mjs +124 -124
- 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 +134 -134
- 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 +12 -12
- 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 +189 -189
- 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 +45 -45
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/ParserInternals.mjs +227 -227
- 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 +4 -3
- package/kotlin/clikt-clikt-mordant/com/github/ajalt/clikt/command/SuspendingCliktCommand.mjs.map +1 -1
- 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 +64 -64
- 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 +24 -24
- 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 +119 -119
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/RGBColorSpaces.mjs +132 -132
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/XYZ.mjs +60 -60
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/xyY.mjs +19 -19
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs +2 -2
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs +2 -2
- package/kotlin/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs +1 -1
- package/kotlin/ktor-ktor-websockets/io/ktor/websocket/WebSocketChannelsConfig.mjs +2 -2
- 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 +14 -14
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/platform/MultiplatformSystem.mjs +3 -3
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/BorderType.mjs +39 -39
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/Lines.mjs +60 -60
- 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 +65 -65
- 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 +225 -225
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/TableDsl.mjs +22 -22
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/TableDslInstances.mjs +138 -138
- 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 +53 -53
- 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 +16 -16
- 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 +56 -56
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/widgets/Text.mjs +67 -67
- package/kotlin/tools-digger-json/com/zegreatrob/tools/digger/json/ContributionDataJson.mjs +107 -107
- package/kotlin/tools-digger-model/com/zegreatrob/tools/digger/model/Contribution.mjs +37 -37
- package/package.json +1 -1
|
@@ -1,14 +1,13 @@
|
|
|
1
|
+
import { joinToString1cxrrlmo0chqs as joinToString } from '../../../../../../kotlin-kotlin-stdlib/kotlin/collections/_Collections.mjs';
|
|
1
2
|
import { KProperty1ca4yb4wlo496 as KProperty1 } from '../../../../../../kotlin-kotlin-stdlib/kotlin/reflect/KPropertyJs.mjs';
|
|
2
3
|
import { getPropertyCallableRef3hckxc0xueiaj as getPropertyCallableRef } from '../../../../../../kotlin-kotlin-stdlib/kotlin/js/reflectRuntime.mjs';
|
|
3
|
-
import { NotBlankString__toString_impl_5tex9r2ig2s5isyc5ve as NotBlankString__toString_impl_5tex9r } from '../../../../../../types-types/kotools/types/text/NotBlankString.mjs';
|
|
4
|
-
import { ArrayList3it5z8td81qkl as ArrayList } from '../../../../../../kotlin-kotlin-stdlib/kotlin/collections/ArrayListJs.mjs';
|
|
5
|
-
import { collectionSizeOrDefault36dulx8yinfqm as collectionSizeOrDefault } from '../../../../../../kotlin-kotlin-stdlib/kotlin/collections/Iterables.mjs';
|
|
6
|
-
import { toDomain13ri9vnrcp4hq as toDomain } from '../../../../../../Coupling-sdk/com/zegreatrob/coupling/sdk/mapper/PartyDetailsMapper.mjs';
|
|
7
4
|
import { Unit_instancev9v8hjid95df as Unit_instance } from '../../../../../../kotlin-kotlin-stdlib/kotlin/Unit.mjs';
|
|
8
|
-
import { VOID3gxj6tk5isa35 as VOID } from '../../../../../../kotlin-kotlin-stdlib/kotlin/js/void.mjs';
|
|
9
|
-
import { joinToString1cxrrlmo0chqs as joinToString } from '../../../../../../kotlin-kotlin-stdlib/kotlin/collections/_Collections.mjs';
|
|
10
5
|
import { PartyListQuery2kxpn3kazmoaz as PartyListQuery } from '../gql/PartyListQuery.mjs';
|
|
11
6
|
import { GqlQueryfz0vfezppkdu as GqlQuery } from '../../../../../../Coupling-sdk/com/zegreatrob/coupling/sdk/gql/GqlQuery.mjs';
|
|
7
|
+
import { ArrayList3it5z8td81qkl as ArrayList } from '../../../../../../kotlin-kotlin-stdlib/kotlin/collections/ArrayListJs.mjs';
|
|
8
|
+
import { collectionSizeOrDefault36dulx8yinfqm as collectionSizeOrDefault } from '../../../../../../kotlin-kotlin-stdlib/kotlin/collections/Iterables.mjs';
|
|
9
|
+
import { toDomain13ri9vnrcp4hq as toDomain } from '../../../../../../Coupling-sdk/com/zegreatrob/coupling/sdk/mapper/PartyDetailsMapper.mjs';
|
|
10
|
+
import { NotBlankString__toString_impl_5tex9r2ig2s5isyc5ve as NotBlankString__toString_impl_5tex9r } from '../../../../../../types-types/kotools/types/text/NotBlankString.mjs';
|
|
12
11
|
import { THROW_CCE2g6jy02ryeudk as THROW_CCE } from '../../../../../../kotlin-kotlin-stdlib/kotlin/hacks.mjs';
|
|
13
12
|
import { ActionCannon17qqlawtblrps as ActionCannon } from '../../../../../../testmints-action-async/com/zegreatrob/testmints/action/ActionCannon.mjs';
|
|
14
13
|
import { isInterface3d6p8outrmvmk as isInterface } from '../../../../../../kotlin-kotlin-stdlib/kotlin/js/typeCheckUtils.mjs';
|
|
@@ -16,17 +15,21 @@ import {
|
|
|
16
15
|
initMetadataForLambda3af3he42mmnh as initMetadataForLambda,
|
|
17
16
|
initMetadataForClassbxx6q50dy2s7 as initMetadataForClass,
|
|
18
17
|
} from '../../../../../../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs';
|
|
18
|
+
import { VOID3gxj6tk5isa35 as VOID } from '../../../../../../kotlin-kotlin-stdlib/kotlin/js/void.mjs';
|
|
19
19
|
import { SuspendingCliktCommand1zyftwh5k9ke9 as SuspendingCliktCommand } from '../../../../../../clikt-clikt-mordant/com/github/ajalt/clikt/command/SuspendingCliktCommand.mjs';
|
|
20
20
|
import { option2wnxma00ykjjp as option } from '../../../../../../clikt-clikt/com/github/ajalt/clikt/parameters/options/OptionWithValues.mjs';
|
|
21
21
|
import { default2v6m45aspyoyr as default_0 } from '../../../../../../clikt-clikt/com/github/ajalt/clikt/parameters/options/TransformAll.mjs';
|
|
22
|
-
import {
|
|
22
|
+
import { withSdk224uta8ich308 as withSdk } from '../WithSdk.mjs';
|
|
23
23
|
//region block: imports
|
|
24
24
|
//endregion
|
|
25
25
|
//region block: pre-declaration
|
|
26
26
|
//endregion
|
|
27
|
+
function formatPartyList(parties) {
|
|
28
|
+
return joinToString(parties, '\n');
|
|
29
|
+
}
|
|
27
30
|
function _get_env__e67txg($this) {
|
|
28
31
|
var tmp = KProperty1();
|
|
29
|
-
return $this.
|
|
32
|
+
return $this.r76_1.zp($this, getPropertyCallableRef('env', 1, tmp, PartyList$_get_env_$ref_drep03_0(), null));
|
|
30
33
|
}
|
|
31
34
|
function PartyList$_get_env_$ref_drep03() {
|
|
32
35
|
return (p0) => _get_env__e67txg(p0);
|
|
@@ -34,45 +37,9 @@ function PartyList$_get_env_$ref_drep03() {
|
|
|
34
37
|
function PartyList$_get_env_$ref_drep03_0() {
|
|
35
38
|
return (p0) => _get_env__e67txg(p0);
|
|
36
39
|
}
|
|
37
|
-
function PartyList$run$lambda$lambda(it) {
|
|
38
|
-
return 'Party: id = ' + NotBlankString__toString_impl_5tex9r(it.j54_1.u54_1) + ', name = ' + it.p54_1;
|
|
39
|
-
}
|
|
40
|
-
function PartyList$run$lambda(this$0) {
|
|
41
|
-
return (data) => {
|
|
42
|
-
var tmp1_safe_receiver = data == null ? null : data.g6y_1;
|
|
43
|
-
var tmp;
|
|
44
|
-
if (tmp1_safe_receiver == null) {
|
|
45
|
-
tmp = null;
|
|
46
|
-
} else {
|
|
47
|
-
// Inline function 'kotlin.collections.map' call
|
|
48
|
-
// Inline function 'kotlin.collections.mapTo' call
|
|
49
|
-
var destination = ArrayList().r2(collectionSizeOrDefault(tmp1_safe_receiver, 10));
|
|
50
|
-
var _iterator__ex2g4s = tmp1_safe_receiver.l1();
|
|
51
|
-
while (_iterator__ex2g4s.m1()) {
|
|
52
|
-
var item = _iterator__ex2g4s.n1();
|
|
53
|
-
var tmp$ret$2 = toDomain(item.i6y_1);
|
|
54
|
-
destination.o2(tmp$ret$2);
|
|
55
|
-
}
|
|
56
|
-
tmp = destination;
|
|
57
|
-
}
|
|
58
|
-
var tmp2_safe_receiver = tmp;
|
|
59
|
-
var tmp_0;
|
|
60
|
-
if (tmp2_safe_receiver == null) {
|
|
61
|
-
tmp_0 = null;
|
|
62
|
-
} else {
|
|
63
|
-
tmp_0 = joinToString(tmp2_safe_receiver, '\n', VOID, VOID, VOID, VOID, PartyList$run$lambda$lambda);
|
|
64
|
-
}
|
|
65
|
-
// Inline function 'kotlin.let' call
|
|
66
|
-
var tmp0_elvis_lhs = tmp_0;
|
|
67
|
-
// Inline function 'kotlin.let' call
|
|
68
|
-
var it = tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
69
|
-
this$0.l5t(it);
|
|
70
|
-
return Unit_instance;
|
|
71
|
-
};
|
|
72
|
-
}
|
|
73
40
|
function PartyList$echo$ref(p0) {
|
|
74
41
|
return (receiver) => {
|
|
75
|
-
p0.
|
|
42
|
+
p0.n5t(receiver);
|
|
76
43
|
return Unit_instance;
|
|
77
44
|
};
|
|
78
45
|
}
|
|
@@ -80,15 +47,58 @@ var PartyList$run$slambdaClass;
|
|
|
80
47
|
function PartyList$run$slambda() {
|
|
81
48
|
if (PartyList$run$slambdaClass === VOID) {
|
|
82
49
|
class $ {
|
|
83
|
-
constructor($
|
|
84
|
-
this.
|
|
50
|
+
constructor(this$0) {
|
|
51
|
+
this.m79_1 = this$0;
|
|
85
52
|
}
|
|
86
|
-
*
|
|
87
|
-
|
|
53
|
+
*m73(sdk, $completion) {
|
|
54
|
+
var tmp0_safe_receiver = yield* sdk.g57(new (GqlQuery())(new (PartyListQuery())()), $completion);
|
|
55
|
+
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.y6y_1;
|
|
56
|
+
var tmp;
|
|
57
|
+
if (tmp1_safe_receiver == null) {
|
|
58
|
+
tmp = null;
|
|
59
|
+
} else {
|
|
60
|
+
// Inline function 'kotlin.collections.map' call
|
|
61
|
+
// Inline function 'kotlin.collections.mapTo' call
|
|
62
|
+
var destination = ArrayList().r2(collectionSizeOrDefault(tmp1_safe_receiver, 10));
|
|
63
|
+
var _iterator__ex2g4s = tmp1_safe_receiver.l1();
|
|
64
|
+
while (_iterator__ex2g4s.m1()) {
|
|
65
|
+
var item = _iterator__ex2g4s.n1();
|
|
66
|
+
var tmp$ret$2 = toDomain(item.a6z_1);
|
|
67
|
+
destination.o2(tmp$ret$2);
|
|
68
|
+
}
|
|
69
|
+
tmp = destination;
|
|
70
|
+
}
|
|
71
|
+
var tmp2_safe_receiver = tmp;
|
|
72
|
+
var tmp_0;
|
|
73
|
+
if (tmp2_safe_receiver == null) {
|
|
74
|
+
tmp_0 = null;
|
|
75
|
+
} else {
|
|
76
|
+
// Inline function 'kotlin.collections.map' call
|
|
77
|
+
// Inline function 'kotlin.collections.mapTo' call
|
|
78
|
+
var destination_0 = ArrayList().r2(collectionSizeOrDefault(tmp2_safe_receiver, 10));
|
|
79
|
+
var _iterator__ex2g4s_0 = tmp2_safe_receiver.l1();
|
|
80
|
+
while (_iterator__ex2g4s_0.m1()) {
|
|
81
|
+
var item_0 = _iterator__ex2g4s_0.n1();
|
|
82
|
+
var tmp$ret$5 = 'Party: id = ' + NotBlankString__toString_impl_5tex9r(item_0.j54_1.u54_1) + ', name = ' + item_0.p54_1;
|
|
83
|
+
destination_0.o2(tmp$ret$5);
|
|
84
|
+
}
|
|
85
|
+
tmp_0 = destination_0;
|
|
86
|
+
}
|
|
87
|
+
var tmp3_safe_receiver = tmp_0;
|
|
88
|
+
var tmp_1;
|
|
89
|
+
if (tmp3_safe_receiver == null) {
|
|
90
|
+
tmp_1 = null;
|
|
91
|
+
} else {
|
|
92
|
+
// Inline function 'kotlin.let' call
|
|
93
|
+
tmp_1 = formatPartyList(tmp3_safe_receiver);
|
|
94
|
+
}
|
|
95
|
+
var tmp4_elvis_lhs = tmp_1;
|
|
96
|
+
var output = tmp4_elvis_lhs == null ? '' : tmp4_elvis_lhs;
|
|
97
|
+
this.m79_1.n5t(output);
|
|
88
98
|
return Unit_instance;
|
|
89
99
|
}
|
|
90
100
|
vd(p1, $completion) {
|
|
91
|
-
return this.
|
|
101
|
+
return this.m73((!(p1 == null) ? isInterface(p1, ActionCannon()) : false) ? p1 : THROW_CCE(), $completion);
|
|
92
102
|
}
|
|
93
103
|
}
|
|
94
104
|
initMetadataForLambda($, VOID, VOID, [1]);
|
|
@@ -96,9 +106,9 @@ function PartyList$run$slambda() {
|
|
|
96
106
|
}
|
|
97
107
|
return PartyList$run$slambdaClass;
|
|
98
108
|
}
|
|
99
|
-
function PartyList$run$slambda_0($
|
|
100
|
-
var i = new (PartyList$run$slambda())($
|
|
101
|
-
var l = (sdk, $completion) => i.
|
|
109
|
+
function PartyList$run$slambda_0(this$0) {
|
|
110
|
+
var i = new (PartyList$run$slambda())(this$0);
|
|
111
|
+
var l = (sdk, $completion) => i.m73(sdk, $completion);
|
|
102
112
|
l.$arity = 1;
|
|
103
113
|
return l;
|
|
104
114
|
}
|
|
@@ -106,30 +116,19 @@ var PartyListClass;
|
|
|
106
116
|
function PartyList() {
|
|
107
117
|
if (PartyListClass === VOID) {
|
|
108
118
|
class $ extends SuspendingCliktCommand() {
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
this.
|
|
112
|
-
var tmp = this;
|
|
113
|
-
var tmp_0 = default_0(option(this, []), 'production');
|
|
119
|
+
static s76(sdkProvider) {
|
|
120
|
+
var $this = this.z6w('list');
|
|
121
|
+
$this.q76_1 = sdkProvider;
|
|
122
|
+
var tmp = $this;
|
|
123
|
+
var tmp_0 = default_0(option($this, []), 'production');
|
|
114
124
|
var tmp_1 = KProperty1();
|
|
115
|
-
tmp.
|
|
125
|
+
tmp.r76_1 = tmp_0.l68($this, getPropertyCallableRef('env', 1, tmp_1, PartyList$_get_env_$ref_drep03(), null));
|
|
126
|
+
return $this;
|
|
116
127
|
}
|
|
117
128
|
*g5i($completion) {
|
|
118
|
-
var
|
|
119
|
-
var
|
|
120
|
-
|
|
121
|
-
if (tmp0_safe_receiver == null) {
|
|
122
|
-
tmp = null;
|
|
123
|
-
} else {
|
|
124
|
-
// Inline function 'kotlin.let' call
|
|
125
|
-
handleResult(yield* tmp0_safe_receiver.g57(new (GqlQuery())(new (PartyListQuery())()), $completion));
|
|
126
|
-
tmp = Unit_instance;
|
|
127
|
-
}
|
|
128
|
-
if (tmp == null) {
|
|
129
|
-
var tmp_0 = _get_env__e67txg(this);
|
|
130
|
-
var tmp_1 = PartyList$echo$ref(this);
|
|
131
|
-
yield* withSdk(tmp_0, tmp_1, VOID, PartyList$run$slambda_0(handleResult), $completion);
|
|
132
|
-
}
|
|
129
|
+
var tmp = _get_env__e67txg(this);
|
|
130
|
+
var tmp_0 = PartyList$echo$ref(this);
|
|
131
|
+
yield* withSdk(tmp, tmp_0, this.q76_1, PartyList$run$slambda_0(this), $completion);
|
|
133
132
|
return Unit_instance;
|
|
134
133
|
}
|
|
135
134
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../cli/src/commonMain/kotlin/com/zegreatrob/coupling/cli/party/PartyList.kt","../../../../../cli/build/compileSync/js/main/productionExecutable/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/common/src/generated/_Collections.kt"],"sourcesContent":[null,null],"ignoreList":[],"x_google_ignoreList":[],"names":["<get-env>","$this","PartyList$
|
|
1
|
+
{"version":3,"sources":["../../../../../cli/src/commonMain/kotlin/com/zegreatrob/coupling/cli/party/PartyList.kt","../../../../../cli/build/compileSync/js/main/productionExecutable/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/common/src/generated/_Collections.kt"],"sourcesContent":[null,null],"ignoreList":[],"x_google_ignoreList":[],"names":["formatPartyList","parties","<get-env>","$this","PartyList$echo$ref","p0","PartyList$echo$ref$lambda","invoke","$completion","item","output","PartyList$run$slambda","PartyList$run$slambda$lambda","sdkProvider","run"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;wBAWSA,CAAoBC,OAApBD,EAAqD;A,EAA0B,OAAlB,aAAR,OAAQ,EAAa,IAAb,C;AAAiB,C;yBAG3EE,CAAAC,KAAAD,EAAW;A;EAAA,6G;AAA6B,C;;iBAA7B,oB;;;iBAAA,oB;;2BAGWE,CAAAC,EAAAD,E;SAAAE,C,QAAAA,KAAA;A,IAAA,gB;IAAK,oB;EAAA,C;C;;;;;;;;UAA8BC,CAAE,G,EAAFC,WAAAD,EACzD;A,YAAiB,4BAAJ,GAAI,6D;YACX,yDADO,kBACP,M;;QACA,+B;gBAAA,I;;;;4BC6hDD,eAAa,wBD/hDL,kBC+hDK,EAAwB,EAAxB,CAAb,C;cA2EA,oBD1mDQ,kBC0mDR,K;iBAAA,sB,EACT;A,gBADCE,OAAQ,sB;gBDxmDiC,YAAV,SCymDN,IDzmDM,CAAb,KAAa,C;YCymDhC,WAAY,IAAI,SAAJ,C;UAAmB,C;gBAC5B,W;;YD1mDO,wB;;QACA,+B;kBAAA,I;;;;8BC4hDD,eAAa,wBD/hDL,kBC+hDK,EAAwB,EAAxB,CAAb,C;cA2EA,sBD1mDQ,kBC0mDR,K;iBAAA,wB,EACT;A,gBADCA,SAAQ,wB;gBDvmDsD,YAA9C,cAAD,wCCwmDU,MDxmDV,CAAkB,KAAlB,CAAqB,KAArB,IAA2B,WAA3B,GCwmDU,MDxmDV,CAAyC,K;YCwmDzD,aAAY,IAAI,SAAJ,C;UAAmB,C;kBAC5B,a;;YDzmDO,0B;;QACA,+B;kBAAA,I;;;kBAAI,gBAJG,kBAIH,C;;YAJG,sB;YAAbC,SAAa,yBAKN,EALM,iB;QAMb,eAAK,MAAL,C;QAAW,oB;MAAA,C;;;;;;;;;;gCAP8CC,C,MAAAA,E;;UAAAC,CAAE,G,EAAFJ,WAAAI,4B;;;C;;;;;iBAJ7CC,W;6BAAuD,M;QAA/D,yB;kBACO,K;oBAAS,UAAT,iBAAS,EAAQ,YAAR,C;;QAAT,6G;;;UAEFC,CAAAN,WAAAM,EAAU;A,kBACT,sB;oBAAY,wB;eAA1B,oBAAgD,IAAhD,CAAgD,KAAhD,EAA6D,6BAA7D,c;QASJ,oB;MAAA,C;;;;;;;;;;;"}
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
import { VOID3gxj6tk5isa35 as VOID } from '../../../../../../kotlin-kotlin-stdlib/kotlin/js/void.mjs';
|
|
2
|
+
import { joinToString1cxrrlmo0chqs as joinToString } from '../../../../../../kotlin-kotlin-stdlib/kotlin/collections/_Collections.mjs';
|
|
3
|
+
import { NotBlankString__toString_impl_5tex9r2ig2s5isyc5ve as NotBlankString__toString_impl_5tex9r } from '../../../../../../types-types/kotools/types/text/NotBlankString.mjs';
|
|
4
|
+
import { isBlank1dvkhjjvox3p0 as isBlank } from '../../../../../../kotlin-kotlin-stdlib/kotlin/text/Strings.mjs';
|
|
1
5
|
import { KProperty1ca4yb4wlo496 as KProperty1 } from '../../../../../../kotlin-kotlin-stdlib/kotlin/reflect/KPropertyJs.mjs';
|
|
2
6
|
import { getPropertyCallableRef3hckxc0xueiaj as getPropertyCallableRef } from '../../../../../../kotlin-kotlin-stdlib/kotlin/js/reflectRuntime.mjs';
|
|
3
7
|
import {
|
|
@@ -7,47 +11,65 @@ import {
|
|
|
7
11
|
import { FunctionAdapter3lcrrz3moet5b as FunctionAdapter } from '../../../../../../kotlin-kotlin-stdlib/kotlin/js/FunctionAdapter.mjs';
|
|
8
12
|
import { isInterface3d6p8outrmvmk as isInterface } from '../../../../../../kotlin-kotlin-stdlib/kotlin/js/typeCheckUtils.mjs';
|
|
9
13
|
import { ReadOnlyPropertyhimsujm8ri3k as ReadOnlyProperty } from '../../../../../../kotlin-kotlin-stdlib/kotlin/properties/Interfaces.mjs';
|
|
10
|
-
import {
|
|
11
|
-
|
|
14
|
+
import {
|
|
15
|
+
initMetadataForClassbxx6q50dy2s7 as initMetadataForClass,
|
|
16
|
+
initMetadataForLambda3af3he42mmnh as initMetadataForLambda,
|
|
17
|
+
} from '../../../../../../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs';
|
|
12
18
|
import { PartyContext2sgu0y2mnzw1k as PartyContext } from './Party.mjs';
|
|
13
19
|
import { selfAndAncestors2dend8wm8aud9 as selfAndAncestors } from '../../../../../../clikt-clikt/com/github/ajalt/clikt/core/Context.mjs';
|
|
14
20
|
import {
|
|
15
21
|
mapNotNull3b8ce5hky4k2l as mapNotNull,
|
|
16
22
|
firstOrNull175qkyx53x0vd as firstOrNull,
|
|
17
23
|
} from '../../../../../../kotlin-kotlin-stdlib/kotlin/sequences/_Sequences.mjs';
|
|
18
|
-
import {
|
|
24
|
+
import {
|
|
25
|
+
ensureNotNull1e947j3ixpazm as ensureNotNull,
|
|
26
|
+
THROW_CCE2g6jy02ryeudk as THROW_CCE,
|
|
27
|
+
} from '../../../../../../kotlin-kotlin-stdlib/kotlin/hacks.mjs';
|
|
19
28
|
import { PartyId30onj62xl01at as PartyId } from '../../../../../../Coupling-libraries-model/com/zegreatrob/coupling/model/party/PartyId.mjs';
|
|
20
29
|
import { Unit_instancev9v8hjid95df as Unit_instance } from '../../../../../../kotlin-kotlin-stdlib/kotlin/Unit.mjs';
|
|
21
|
-
import { SuspendingCliktCommand1zyftwh5k9ke9 as SuspendingCliktCommand } from '../../../../../../clikt-clikt-mordant/com/github/ajalt/clikt/command/SuspendingCliktCommand.mjs';
|
|
22
|
-
import { loadSdk2seprzwvwb0jf as loadSdk } from '../WithSdk.mjs';
|
|
23
30
|
import { PartyInput51qtwhl4r59s as PartyInput } from '../../../../../../Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PartyInput.mjs';
|
|
24
31
|
import { PlayersQuery3ov6tbgz63uc4 as PlayersQuery } from '../gql/PlayersQuery.mjs';
|
|
25
32
|
import { GqlQueryfz0vfezppkdu as GqlQuery } from '../../../../../../Coupling-sdk/com/zegreatrob/coupling/sdk/gql/GqlQuery.mjs';
|
|
26
|
-
import {
|
|
33
|
+
import { ArrayList3it5z8td81qkl as ArrayList } from '../../../../../../kotlin-kotlin-stdlib/kotlin/collections/ArrayListJs.mjs';
|
|
34
|
+
import { collectionSizeOrDefault36dulx8yinfqm as collectionSizeOrDefault } from '../../../../../../kotlin-kotlin-stdlib/kotlin/collections/Iterables.mjs';
|
|
35
|
+
import { emptyList1g2z5xcrvp2zy as emptyList } from '../../../../../../kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs';
|
|
36
|
+
import { ActionCannon17qqlawtblrps as ActionCannon } from '../../../../../../testmints-action-async/com/zegreatrob/testmints/action/ActionCannon.mjs';
|
|
37
|
+
import { SuspendingCliktCommand1zyftwh5k9ke9 as SuspendingCliktCommand } from '../../../../../../clikt-clikt-mordant/com/github/ajalt/clikt/command/SuspendingCliktCommand.mjs';
|
|
38
|
+
import { withSdk224uta8ich308 as withSdk } from '../WithSdk.mjs';
|
|
27
39
|
//region block: imports
|
|
28
40
|
//endregion
|
|
29
41
|
//region block: pre-declaration
|
|
30
42
|
//endregion
|
|
43
|
+
function formatPlayers(partyId, players) {
|
|
44
|
+
var body = joinToString(players, '\n', VOID, VOID, VOID, VOID, formatPlayers$lambda);
|
|
45
|
+
var tmp;
|
|
46
|
+
if (isBlank(body)) {
|
|
47
|
+
tmp = 'Players for Party ID: ' + NotBlankString__toString_impl_5tex9r(partyId.u54_1);
|
|
48
|
+
} else {
|
|
49
|
+
tmp = 'Players for Party ID: ' + NotBlankString__toString_impl_5tex9r(partyId.u54_1) + '\n' + body;
|
|
50
|
+
}
|
|
51
|
+
return tmp;
|
|
52
|
+
}
|
|
31
53
|
function _get_context__ps0bpe($this) {
|
|
32
54
|
var tmp = KProperty1();
|
|
33
|
-
return $this.
|
|
55
|
+
return $this.c78_1.zp($this, getPropertyCallableRef('context', 1, tmp, Players$_get_context_$ref_7m15sv(), null));
|
|
34
56
|
}
|
|
35
57
|
function _get_partyId__g79dgw($this) {
|
|
36
58
|
var tmp = KProperty1();
|
|
37
|
-
return $this.
|
|
59
|
+
return $this.d78_1.zp($this, getPropertyCallableRef('partyId', 1, tmp, Players$_get_partyId_$ref_xbsvzh(), null));
|
|
38
60
|
}
|
|
39
61
|
var sam$kotlin_properties_ReadOnlyProperty$0Class;
|
|
40
62
|
function sam$kotlin_properties_ReadOnlyProperty$0() {
|
|
41
63
|
if (sam$kotlin_properties_ReadOnlyProperty$0Class === VOID) {
|
|
42
64
|
class $ {
|
|
43
65
|
constructor(function_0) {
|
|
44
|
-
this.
|
|
66
|
+
this.n79_1 = function_0;
|
|
45
67
|
}
|
|
46
68
|
zp(thisRef, property) {
|
|
47
|
-
return this.
|
|
69
|
+
return this.n79_1(thisRef, property);
|
|
48
70
|
}
|
|
49
71
|
c5() {
|
|
50
|
-
return this.
|
|
72
|
+
return this.n79_1;
|
|
51
73
|
}
|
|
52
74
|
equals(other) {
|
|
53
75
|
var tmp;
|
|
@@ -78,13 +100,13 @@ function sam$kotlin_properties_ReadOnlyProperty$0_0() {
|
|
|
78
100
|
if (sam$kotlin_properties_ReadOnlyProperty$0Class_0 === VOID) {
|
|
79
101
|
class $ {
|
|
80
102
|
constructor(function_0) {
|
|
81
|
-
this.
|
|
103
|
+
this.o79_1 = function_0;
|
|
82
104
|
}
|
|
83
105
|
zp(thisRef, property) {
|
|
84
|
-
return this.
|
|
106
|
+
return this.o79_1(thisRef, property);
|
|
85
107
|
}
|
|
86
108
|
c5() {
|
|
87
|
-
return this.
|
|
109
|
+
return this.o79_1;
|
|
88
110
|
}
|
|
89
111
|
equals(other) {
|
|
90
112
|
var tmp;
|
|
@@ -112,13 +134,13 @@ function sam$kotlin_properties_ReadOnlyProperty$0_0() {
|
|
|
112
134
|
}
|
|
113
135
|
function Players$context$delegate$lambda$lambda($key) {
|
|
114
136
|
return (it) => {
|
|
115
|
-
var tmp = it.
|
|
137
|
+
var tmp = it.e5u_1.j4($key);
|
|
116
138
|
return tmp instanceof PartyContext() ? tmp : null;
|
|
117
139
|
};
|
|
118
140
|
}
|
|
119
141
|
function Players$context$delegate$lambda($key) {
|
|
120
142
|
return (thisRef, _unused_var__etf5q3) => {
|
|
121
|
-
var tmp0 = thisRef.
|
|
143
|
+
var tmp0 = thisRef.c5t();
|
|
122
144
|
// Inline function 'com.github.ajalt.clikt.core.Context.findObject' call
|
|
123
145
|
var key = $key;
|
|
124
146
|
var tmp = selfAndAncestors(tmp0);
|
|
@@ -131,13 +153,13 @@ function Players$_get_context_$ref_7m15sv() {
|
|
|
131
153
|
}
|
|
132
154
|
function Players$partyId$delegate$lambda$lambda($key) {
|
|
133
155
|
return (it) => {
|
|
134
|
-
var tmp = it.
|
|
156
|
+
var tmp = it.e5u_1.j4($key);
|
|
135
157
|
return tmp instanceof PartyId() ? tmp : null;
|
|
136
158
|
};
|
|
137
159
|
}
|
|
138
160
|
function Players$partyId$delegate$lambda($key) {
|
|
139
161
|
return (thisRef, _unused_var__etf5q3) => {
|
|
140
|
-
var tmp0 = thisRef.
|
|
162
|
+
var tmp0 = thisRef.c5t();
|
|
141
163
|
// Inline function 'com.github.ajalt.clikt.core.Context.findObject' call
|
|
142
164
|
var key = $key;
|
|
143
165
|
var tmp = selfAndAncestors(tmp0);
|
|
@@ -150,51 +172,78 @@ function Players$_get_partyId_$ref_xbsvzh() {
|
|
|
150
172
|
}
|
|
151
173
|
function Players$echo$ref(p0) {
|
|
152
174
|
return (receiver) => {
|
|
153
|
-
p0.
|
|
175
|
+
p0.n5t(receiver);
|
|
154
176
|
return Unit_instance;
|
|
155
177
|
};
|
|
156
178
|
}
|
|
179
|
+
var Players$run$slambdaClass;
|
|
180
|
+
function Players$run$slambda() {
|
|
181
|
+
if (Players$run$slambdaClass === VOID) {
|
|
182
|
+
class $ {
|
|
183
|
+
constructor(this$0) {
|
|
184
|
+
this.p79_1 = this$0;
|
|
185
|
+
}
|
|
186
|
+
*m73(sdk, $completion) {
|
|
187
|
+
var tmp0_safe_receiver = yield* sdk.g57(new (GqlQuery())(new (PlayersQuery())(new (PartyInput())(_get_partyId__g79dgw(this.p79_1)))), $completion);
|
|
188
|
+
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.d6z_1;
|
|
189
|
+
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.e6z_1;
|
|
190
|
+
var tmp;
|
|
191
|
+
if (tmp2_safe_receiver == null) {
|
|
192
|
+
tmp = null;
|
|
193
|
+
} else {
|
|
194
|
+
// Inline function 'kotlin.collections.map' call
|
|
195
|
+
// Inline function 'kotlin.collections.mapTo' call
|
|
196
|
+
var destination = ArrayList().r2(collectionSizeOrDefault(tmp2_safe_receiver, 10));
|
|
197
|
+
var _iterator__ex2g4s = tmp2_safe_receiver.l1();
|
|
198
|
+
while (_iterator__ex2g4s.m1()) {
|
|
199
|
+
var item = _iterator__ex2g4s.n1();
|
|
200
|
+
var tmp$ret$2 = item.g6z_1.c5p_1 + ' ' + item.g6z_1.d5p_1;
|
|
201
|
+
destination.o2(tmp$ret$2);
|
|
202
|
+
}
|
|
203
|
+
tmp = destination;
|
|
204
|
+
}
|
|
205
|
+
var tmp3_elvis_lhs = tmp;
|
|
206
|
+
var players = tmp3_elvis_lhs == null ? emptyList() : tmp3_elvis_lhs;
|
|
207
|
+
this.p79_1.n5t(formatPlayers(_get_partyId__g79dgw(this.p79_1), players));
|
|
208
|
+
return Unit_instance;
|
|
209
|
+
}
|
|
210
|
+
vd(p1, $completion) {
|
|
211
|
+
return this.m73((!(p1 == null) ? isInterface(p1, ActionCannon()) : false) ? p1 : THROW_CCE(), $completion);
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
initMetadataForLambda($, VOID, VOID, [1]);
|
|
215
|
+
Players$run$slambdaClass = $;
|
|
216
|
+
}
|
|
217
|
+
return Players$run$slambdaClass;
|
|
218
|
+
}
|
|
219
|
+
function Players$run$slambda_0(this$0) {
|
|
220
|
+
var i = new (Players$run$slambda())(this$0);
|
|
221
|
+
var l = (sdk, $completion) => i.m73(sdk, $completion);
|
|
222
|
+
l.$arity = 1;
|
|
223
|
+
return l;
|
|
224
|
+
}
|
|
157
225
|
var PlayersClass;
|
|
158
226
|
function Players() {
|
|
159
227
|
if (PlayersClass === VOID) {
|
|
160
228
|
class $ extends SuspendingCliktCommand() {
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
this.
|
|
164
|
-
var tmp = this;
|
|
229
|
+
static e78(sdkProvider) {
|
|
230
|
+
var $this = this.z6w();
|
|
231
|
+
$this.b78_1 = sdkProvider;
|
|
232
|
+
var tmp = $this;
|
|
165
233
|
// Inline function 'com.github.ajalt.clikt.core.requireObject' call
|
|
166
234
|
var key = 'default_object';
|
|
167
235
|
var tmp_0 = Players$context$delegate$lambda(key);
|
|
168
|
-
tmp.
|
|
169
|
-
var tmp_1 = this;
|
|
236
|
+
tmp.c78_1 = new (sam$kotlin_properties_ReadOnlyProperty$0())(tmp_0);
|
|
237
|
+
var tmp_1 = $this;
|
|
170
238
|
// Inline function 'com.github.ajalt.clikt.core.requireObject' call
|
|
171
239
|
var tmp_2 = Players$partyId$delegate$lambda('partyId');
|
|
172
|
-
tmp_1.
|
|
240
|
+
tmp_1.d78_1 = new (sam$kotlin_properties_ReadOnlyProperty$0_0())(tmp_2);
|
|
241
|
+
return $this;
|
|
173
242
|
}
|
|
174
243
|
*g5i($completion) {
|
|
175
|
-
var
|
|
176
|
-
var
|
|
177
|
-
|
|
178
|
-
var tmp_0 = _get_context__ps0bpe(this).g74_1;
|
|
179
|
-
tmp = yield* loadSdk(tmp_0, Players$echo$ref(this), $completion);
|
|
180
|
-
} else {
|
|
181
|
-
tmp = tmp0_elvis_lhs;
|
|
182
|
-
}
|
|
183
|
-
var actionCannon = tmp;
|
|
184
|
-
var result = actionCannon == null ? null : (yield* actionCannon.g57(new (GqlQuery())(new (PlayersQuery())(new (PartyInput())(_get_partyId__g79dgw(this)))), $completion));
|
|
185
|
-
this.l5t('Players for Party ID: ' + NotBlankString__toString_impl_5tex9r(_get_partyId__g79dgw(this).u54_1));
|
|
186
|
-
var tmp3_safe_receiver = result == null ? null : result.l6y_1;
|
|
187
|
-
var tmp4_safe_receiver = tmp3_safe_receiver == null ? null : tmp3_safe_receiver.m6y_1;
|
|
188
|
-
if (tmp4_safe_receiver == null)
|
|
189
|
-
null;
|
|
190
|
-
else {
|
|
191
|
-
// Inline function 'kotlin.collections.forEach' call
|
|
192
|
-
var _iterator__ex2g4s = tmp4_safe_receiver.l1();
|
|
193
|
-
while (_iterator__ex2g4s.m1()) {
|
|
194
|
-
var element = _iterator__ex2g4s.n1();
|
|
195
|
-
this.l5t(' - ' + element.o6y_1.c5p_1 + ' ' + element.o6y_1.d5p_1);
|
|
196
|
-
}
|
|
197
|
-
}
|
|
244
|
+
var tmp = _get_context__ps0bpe(this).i75_1;
|
|
245
|
+
var tmp_0 = Players$echo$ref(this);
|
|
246
|
+
yield* withSdk(tmp, tmp_0, this.b78_1, Players$run$slambda_0(this), $completion);
|
|
198
247
|
return Unit_instance;
|
|
199
248
|
}
|
|
200
249
|
}
|
|
@@ -203,6 +252,9 @@ function Players() {
|
|
|
203
252
|
}
|
|
204
253
|
return PlayersClass;
|
|
205
254
|
}
|
|
255
|
+
function formatPlayers$lambda(it) {
|
|
256
|
+
return ' - ' + it;
|
|
257
|
+
}
|
|
206
258
|
//region block: exports
|
|
207
259
|
export {
|
|
208
260
|
Players as Players25ui8ofk5l4l,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../cli/src/commonMain/kotlin/com/zegreatrob/coupling/cli/party/Players.kt","../../../../../../../../../../Users/runner/work/clikt/clikt/clikt/src/commonMain/kotlin/com/github/ajalt/clikt/core/Context.kt","../../../../../cli/build/compileSync/js/main/productionExecutable/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/common/src/generated/_Collections.kt"],"sourcesContent":[null,null,null],"ignoreList":[],"x_google_ignoreList":[],"names":["<get-context>","$this","<get-partyId>","getValue","thisRef","property","equals","hashCode","Players$context$delegate$lambda$lambda","Players$context$delegate$lambda$lambda$lambda","Players$context$delegate$lambda","Players$partyId$delegate$lambda$lambda","Players$partyId$delegate$lambda$lambda$lambda","Players$partyId$delegate$lambda","Players$echo$ref","p0","Players$echo$ref$lambda","
|
|
1
|
+
{"version":3,"sources":["../../../../../cli/src/commonMain/kotlin/com/zegreatrob/coupling/cli/party/Players.kt","../../../../../../../../../../Users/runner/work/clikt/clikt/clikt/src/commonMain/kotlin/com/github/ajalt/clikt/core/Context.kt","../../../../../cli/build/compileSync/js/main/productionExecutable/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/common/src/generated/_Collections.kt"],"sourcesContent":[null,null,null],"ignoreList":[],"x_google_ignoreList":[],"names":["formatPlayers","partyId","players","body","<get-context>","$this","<get-partyId>","getValue","thisRef","property","equals","hashCode","Players$context$delegate$lambda$lambda","Players$context$delegate$lambda$lambda$lambda","Players$context$delegate$lambda","Players$partyId$delegate$lambda$lambda","Players$partyId$delegate$lambda$lambda$lambda","Players$partyId$delegate$lambda","Players$echo$ref","p0","Players$echo$ref$lambda","invoke","$completion","item","Players$run$slambda","Players$run$slambda$lambda","sdkProvider","run","formatPlayers$lambda"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAWSA,CAAkBC,O,EAAkBC,OAApCF,EAAmE;A,MACxEG,OAAmB,aAAR,OAAQ,EAAa,IAAb,0BAAmB,oBAAnB,C;;EACR,IAAK,QAAL,IAAK,CAAL,C;UACN,wB,wCAAwB,O,CAAQ,K;;UAEhC,wB,wCAAwB,O,CAAQ,K,IAAM,I,GAAG,I;;EAH9C,U;AAKJ,C;6BAGYC,CAAAC,KAAAD,EAAe;A;EAAA,iH;AAA4B,C;6BAC3CE,CAAAD,KAAAC,EAAwB;A;EAAA,iH;AAAgC,C;;;;;;QAaguiB,uB;;QAAAC,CAXxxiBC,O,EAAYC,QAW4wiBF,E;;O;;;;YAnCpyiBG,C,KAAAA,E;;;;;;;;;;;;;;O;cAAAC,CAAAA,E;;O;;;;;;;;;;;;QAmCoyiB,uB;;QAAAJ,CAXxxiBC,O,EAAYC,QAW4wiBF,E;;O;;;;YAnCpyiBG,C,KAAAA,E;;;;;;;;;;;;;;O;cAAAC,CAAAA,E;;O;;;;;;;+CAmCu3IC,C,IAAAA,E;SAAAC,CAAA,EAAAA,KAAA;A,cAAE,GAAG,KAAH,IAAQ,IAAR,C;IAAkB,OAAlB,0C;EAAmB,C;C;wCAAy6ZC,C,IAAAA,E;SAAAF,CAAE,O,EAAS,mBAAXA,KAAA;A,eAAgB,OAAQ,M;;cAA0B,I;cCkHx1iB,sB;QAAP,YAA4D,YAAlC,gBAAW,2CAAX,CAAkC,C;IDlHyyiB,OAAxC,cAAuB,SAAvB,C;EAAyC,C;C;;iBAdn1iB,wB;;+CAc41IG,C,IAAAA,E;SAAAC,CAAA,EAAAA,KAAA;A,cAAE,GAAG,KAAH,IAAQ,IAAR,C;IAAkB,OAAlB,qC;EAAmB,C;C;wCAAy6ZC,C,IAAAA,E;SAAAF,CAAE,O,EAAS,mBAAXA,KAAA;A,eAAgB,OAAQ,M;;cAA0B,I;cCkHx1iB,sB;QAAP,YAA4D,YAAlC,gBAAW,2CAAX,CAAkC,C;IDlHyyiB,OAAxC,cAAuB,SAAvB,C;EAAyC,C;C;;iBAb10iB,wB;;yBAGMG,CAAAC,EAAAD,E;SAAAE,C,QAAAA,KAAA;A,IAAA,gB;IAAK,oB;EAAA,C;C;;;;;;;;UAA8BC,CAAE,G,EAAFC,WAAAD,EACjE;A,YAAkB,4BAAJ,GAAI,8DAAsC,gCAAtC,iB;YACZ,yDADQ,kBACR,M;YACA,yDAFQ,kBAER,M;;QACA,+B;gBAAA,I;;;;4BEohDD,eAAa,wBFvhDJ,kBEuhDI,EAAwB,EAAxB,CAAb,C;cA2EA,oBFlmDS,kBEkmDT,K;iBAAA,sB,EACT;A,gBADCE,OAAQ,sB;gBF/lD2D,YEgmD1C,IFhmDV,CAAM,KAAN,CAAoB,KAApB,GAAyB,GAAzB,GEgmDU,IFhmDV,CAA+B,KAA/B,CAA6C,K;YEgmD7D,WAAY,IAAI,SAAJ,C;UAAmB,C;gBAC5B,W;;YFpmDe,oB;YAAdrB,UAAc,yBAIP,WAJO,iB;QAKd,eAAK,cAAc,gCAAd,EAAuB,OAAvB,CAAL,C;QAAoC,oB;MAAA,C;;;;;;;;;;8BAN6BsB,C,MAAAA,E;;UAAAC,CAAE,G,EAAFH,WAAAG,4B;;;C;;;;;iBALvDC,W;;QAAR,yB;kBACa,K;;kBC8cD,gB;YAEE,4C;QDhdD,6DCgdC,KDhdD,C;oBACS,K;;YC+cR,wCD/c+B,SC+c/B,C;QD/cQ,iEC+cR,KD/cQ,C;;;UAEfC,CAAAL,WAAAK,EAAU;A,kBACT,0B,CAAQ,K;oBAAY,sB;eAAlC,oBAAwD,IAAxD,CAAwD,KAAxD,EAAqE,2BAArE,c;QAQJ,oB;MAAA,C;;;;;;;6BArBsCC,CAAA,EAAAA,EAAA;A,EAAW,OAAR,MAAQ,GAAH,E;AAAI,C;;;;;"}
|