@continuous-excellence/coupling-cli 1.1.438 → 1.1.439
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 +31 -31
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/ConfigFileSource.mjs +11 -11
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/CouplingCli.mjs +27 -9
- 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 +15 -15
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Versions.mjs +1 -1
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/WithSdk.mjs +4 -4
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/PartyListQuery.mjs +13 -13
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/PlayersQuery.mjs +193 -0
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/PlayersQuery.mjs.map +1 -0
- 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 +158 -0
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/adapter/PlayersQuery_ResponseAdapter.mjs.map +1 -0
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/adapter/PlayersQuery_VariablesAdapter.mjs +37 -0
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/gql/adapter/PlayersQuery_VariablesAdapter.mjs.map +1 -0
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/BatchContribution.mjs +30 -30
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Contribution.mjs +22 -22
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/ContributionInput.mjs +13 -13
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/CurrentPairs.mjs +25 -25
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/CycleTimeFromFirstCommit.mjs +3 -3
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Party.mjs +29 -28
- 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 +29 -29
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/PartyList.mjs +10 -10
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Players.mjs +229 -0
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Players.mjs.map +1 -0
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/SaveContribution.mjs +46 -46
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/KtorSdk.mjs +15 -15
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/SdkGraphQueryDispatcher.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/SdkSaveContributionCommandDispatcher.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/adapter/Adapter.mjs +8 -8
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/gql/GqlQuery.mjs +10 -10
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/gql/GqlTrait.mjs +1 -1
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/gql/KtorQueryPerformer.mjs +4 -4
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/PlayerDetails.mjs +82 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/PlayerDetails.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/PlayerDetailsImpl_ResponseAdapter.mjs +173 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/fragment/PlayerDetailsImpl_ResponseAdapter.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/AvatarType.mjs +4 -4
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/Badge.mjs +4 -4
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/ContributionInput.mjs +43 -43
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PartyInput.mjs +41 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PartyInput.mjs.map +1 -0
- 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 +2 -2
- 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/PartyInput_InputAdapter.mjs +46 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/PartyInput_InputAdapter.mjs.map +1 -0
- package/kotlin/Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/adapter/SaveContributionInput_InputAdapter.mjs +4 -4
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/command/CoreSuspendingCliktCommand.mjs +5 -5
- 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 +110 -110
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/core/Context.mjs +93 -93
- 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 +211 -211
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/TransformAll.mjs +6 -6
- 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 +230 -230
- 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/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 +19 -19
- 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 +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 +63 -63
- 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 +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 +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 +59 -59
- 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 +95 -95
- package/kotlin/tools-digger-model/com/zegreatrob/tools/digger/model/Contribution.mjs +37 -37
- package/package.json +1 -1
|
@@ -40,6 +40,7 @@ import {
|
|
|
40
40
|
import { PartyListby3z4h6lbpwn as PartyList } from './PartyList.mjs';
|
|
41
41
|
import { PartyDetails6e4jtr4s1gqd as PartyDetails } from './PartyDetails.mjs';
|
|
42
42
|
import { CurrentPairs144z88jaaomih as CurrentPairs } from './CurrentPairs.mjs';
|
|
43
|
+
import { Players25ui8ofk5l4l as Players } from './Players.mjs';
|
|
43
44
|
import { Contribution1khcbvhojyx3q as Contribution } from './Contribution.mjs';
|
|
44
45
|
import { System_instance3vgml03lwn0cv as System_instance } from '../../../../../../kotlin-kotlin-stdlib/kotlin/time/Clock.mjs';
|
|
45
46
|
import { SaveContribution3tbsqukq7u3w6 as SaveContribution } from './SaveContribution.mjs';
|
|
@@ -51,35 +52,35 @@ var imul = Math.imul;
|
|
|
51
52
|
//endregion
|
|
52
53
|
function _get_partyId__g79dgw($this) {
|
|
53
54
|
var tmp = KProperty1();
|
|
54
|
-
return $this.
|
|
55
|
+
return $this.w70_1.fp($this, getPropertyCallableRef('partyId', 1, tmp, Party$_get_partyId_$ref_u36t3z_0(), null));
|
|
55
56
|
}
|
|
56
57
|
function _get_env__e67txg($this) {
|
|
57
58
|
var tmp = KProperty1();
|
|
58
|
-
return $this.
|
|
59
|
+
return $this.x70_1.fp($this, getPropertyCallableRef('env', 1, tmp, Party$_get_env_$ref_90ho0l_0(), null));
|
|
59
60
|
}
|
|
60
61
|
function Party$lambda($this$context) {
|
|
61
|
-
$this$context.
|
|
62
|
+
$this$context.s5s_1 = new (ConfigFileSource())($this$context.v5s_1);
|
|
62
63
|
return Unit_instance;
|
|
63
64
|
}
|
|
64
65
|
function Party$partyId$delegate$lambda(_this__u8e3s4) {
|
|
65
|
-
return _this__u8e3s4.
|
|
66
|
+
return _this__u8e3s4.c5q_1.g63();
|
|
66
67
|
}
|
|
67
68
|
function Party$partyId$delegate$lambda_0($this) {
|
|
68
69
|
return (_this__u8e3s4, it) => {
|
|
69
70
|
var tmp;
|
|
70
71
|
try {
|
|
71
|
-
var it_0 = $this.
|
|
72
|
+
var it_0 = $this.a64()(_this__u8e3s4, it);
|
|
72
73
|
tmp = PartyId(it_0);
|
|
73
74
|
} catch ($p) {
|
|
74
75
|
var tmp_0;
|
|
75
76
|
if ($p instanceof UsageError()) {
|
|
76
77
|
var err = $p;
|
|
77
78
|
var tmp_1 = err;
|
|
78
|
-
var tmp0_elvis_lhs = err.
|
|
79
|
+
var tmp0_elvis_lhs = err.m5t_1;
|
|
79
80
|
var tmp_2;
|
|
80
81
|
if (tmp0_elvis_lhs == null) {
|
|
81
82
|
// Inline function 'kotlin.takeUnless' call
|
|
82
|
-
var this_0 = _this__u8e3s4.
|
|
83
|
+
var this_0 = _this__u8e3s4.f64_1;
|
|
83
84
|
var tmp_3;
|
|
84
85
|
// Inline function 'kotlin.text.isEmpty' call
|
|
85
86
|
if (!(charSequenceLength(this_0) === 0)) {
|
|
@@ -92,13 +93,13 @@ function Party$partyId$delegate$lambda_0($this) {
|
|
|
92
93
|
tmp_2 = tmp0_elvis_lhs;
|
|
93
94
|
}
|
|
94
95
|
var tmp1_elvis_lhs = tmp_2;
|
|
95
|
-
tmp_1.
|
|
96
|
+
tmp_1.m5t_1 = tmp1_elvis_lhs == null ? longestName(_this__u8e3s4.g64_1) : tmp1_elvis_lhs;
|
|
96
97
|
throw err;
|
|
97
98
|
} else {
|
|
98
99
|
if ($p instanceof Exception()) {
|
|
99
100
|
var err_0 = $p;
|
|
100
101
|
var tmp2_elvis_lhs = err_0.message;
|
|
101
|
-
_this__u8e3s4.
|
|
102
|
+
_this__u8e3s4.i64(tmp2_elvis_lhs == null ? '' : tmp2_elvis_lhs);
|
|
102
103
|
} else {
|
|
103
104
|
throw $p;
|
|
104
105
|
}
|
|
@@ -122,13 +123,13 @@ function Party$_get_env_$ref_90ho0l_0() {
|
|
|
122
123
|
}
|
|
123
124
|
function Party$run$lambda($key) {
|
|
124
125
|
return (it) => {
|
|
125
|
-
var tmp = it.
|
|
126
|
+
var tmp = it.e5q_1.o4($key);
|
|
126
127
|
return tmp instanceof PartyId_0() ? tmp : null;
|
|
127
128
|
};
|
|
128
129
|
}
|
|
129
130
|
function Party$run$lambda_0($key) {
|
|
130
131
|
return (it) => {
|
|
131
|
-
var tmp = it.
|
|
132
|
+
var tmp = it.e5q_1.o4($key);
|
|
132
133
|
return tmp instanceof PartyContext() ? tmp : null;
|
|
133
134
|
};
|
|
134
135
|
}
|
|
@@ -147,21 +148,21 @@ function Party() {
|
|
|
147
148
|
var tmp_0 = defaultEachProcessor();
|
|
148
149
|
var tmp_1 = defaultAllProcessor();
|
|
149
150
|
var tmp_2 = defaultValidator();
|
|
150
|
-
var tmp0_elvis_lhs = this_0.
|
|
151
|
+
var tmp0_elvis_lhs = this_0.s64();
|
|
151
152
|
var tmp_3 = tmp0_elvis_lhs == null ? metavar : tmp0_elvis_lhs;
|
|
152
|
-
var tmp1_elvis_lhs = this_0.
|
|
153
|
-
var tmp$ret$0 = this_0.
|
|
153
|
+
var tmp1_elvis_lhs = this_0.r64();
|
|
154
|
+
var tmp$ret$0 = this_0.d64(valueTransform, tmp_0, tmp_1, tmp_2, VOID, tmp_3, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp1_elvis_lhs == null ? null : tmp1_elvis_lhs);
|
|
154
155
|
var tmp_4 = required(tmp$ret$0);
|
|
155
156
|
var tmp_5 = KProperty1();
|
|
156
|
-
tmp.
|
|
157
|
+
tmp.w70_1 = tmp_4.k64(this, getPropertyCallableRef('partyId', 1, tmp_5, Party$_get_partyId_$ref_u36t3z(), null));
|
|
157
158
|
var tmp_6 = this;
|
|
158
159
|
var tmp_7 = default_0(option(this, []), 'production');
|
|
159
160
|
var tmp_8 = KProperty1();
|
|
160
|
-
tmp_6.
|
|
161
|
+
tmp_6.x70_1 = tmp_7.k64(this, getPropertyCallableRef('env', 1, tmp_8, Party$_get_env_$ref_90ho0l(), null));
|
|
161
162
|
}
|
|
162
163
|
k5e($completion) {
|
|
163
164
|
// Inline function 'com.github.ajalt.clikt.core.Context.findOrSetObject' call
|
|
164
|
-
var this_0 = this.
|
|
165
|
+
var this_0 = this.c5p();
|
|
165
166
|
// Inline function 'com.github.ajalt.clikt.core.Context.findObject' call
|
|
166
167
|
var tmp = selfAndAncestors(this_0);
|
|
167
168
|
var tmp0_elvis_lhs = firstOrNull(mapNotNull(tmp, Party$run$lambda('partyId')));
|
|
@@ -170,13 +171,13 @@ function Party() {
|
|
|
170
171
|
// Inline function 'kotlin.also' call
|
|
171
172
|
var this_1 = _get_partyId__g79dgw(this);
|
|
172
173
|
// Inline function 'kotlin.collections.set' call
|
|
173
|
-
this_0.
|
|
174
|
+
this_0.e5q_1.v4('partyId', this_1);
|
|
174
175
|
tmp_0 = this_1;
|
|
175
176
|
} else {
|
|
176
177
|
tmp_0 = tmp0_elvis_lhs;
|
|
177
178
|
}
|
|
178
179
|
// Inline function 'com.github.ajalt.clikt.core.Context.findOrSetObject' call
|
|
179
|
-
var this_2 = this.
|
|
180
|
+
var this_2 = this.c5p();
|
|
180
181
|
var key = 'default_object';
|
|
181
182
|
// Inline function 'com.github.ajalt.clikt.core.Context.findObject' call
|
|
182
183
|
var tmp_1 = selfAndAncestors(this_2);
|
|
@@ -186,7 +187,7 @@ function Party() {
|
|
|
186
187
|
// Inline function 'kotlin.also' call
|
|
187
188
|
var this_3 = new (PartyContext())(_get_partyId__g79dgw(this), _get_env__e67txg(this));
|
|
188
189
|
// Inline function 'kotlin.collections.set' call
|
|
189
|
-
this_2.
|
|
190
|
+
this_2.e5q_1.v4(key, this_3);
|
|
190
191
|
tmp_2 = this_3;
|
|
191
192
|
} else {
|
|
192
193
|
tmp_2 = tmp0_elvis_lhs_0;
|
|
@@ -204,15 +205,15 @@ function PartyContext() {
|
|
|
204
205
|
if (PartyContextClass === VOID) {
|
|
205
206
|
class $ {
|
|
206
207
|
constructor(partyId, env) {
|
|
207
|
-
this.
|
|
208
|
-
this.
|
|
208
|
+
this.d70_1 = partyId;
|
|
209
|
+
this.e70_1 = env;
|
|
209
210
|
}
|
|
210
211
|
toString() {
|
|
211
|
-
return 'PartyContext(partyId=' + toString(this.
|
|
212
|
+
return 'PartyContext(partyId=' + toString(this.d70_1) + ', env=' + this.e70_1 + ')';
|
|
212
213
|
}
|
|
213
214
|
hashCode() {
|
|
214
|
-
var result = this.
|
|
215
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
215
|
+
var result = this.d70_1 == null ? 0 : this.d70_1.hashCode();
|
|
216
|
+
result = imul(result, 31) + getStringHashCode(this.e70_1) | 0;
|
|
216
217
|
return result;
|
|
217
218
|
}
|
|
218
219
|
equals(other) {
|
|
@@ -220,9 +221,9 @@ function PartyContext() {
|
|
|
220
221
|
return true;
|
|
221
222
|
if (!(other instanceof PartyContext()))
|
|
222
223
|
return false;
|
|
223
|
-
if (!equals(this.
|
|
224
|
+
if (!equals(this.d70_1, other.d70_1))
|
|
224
225
|
return false;
|
|
225
|
-
if (!(this.
|
|
226
|
+
if (!(this.e70_1 === other.e70_1))
|
|
226
227
|
return false;
|
|
227
228
|
return true;
|
|
228
229
|
}
|
|
@@ -233,7 +234,7 @@ function PartyContext() {
|
|
|
233
234
|
return PartyContextClass;
|
|
234
235
|
}
|
|
235
236
|
function party(cannon) {
|
|
236
|
-
return subcommands(subcommands(subcommands(subcommands(new (Party())(), [new (PartyList())()]), [new (PartyDetails())(cannon)]), [new (CurrentPairs())(cannon)]), [subcommands(subcommands(new (Contribution())(), [new (SaveContribution())(VOID, System_instance)]), [new (BatchContribution())()])]);
|
|
237
|
+
return subcommands(subcommands(subcommands(subcommands(subcommands(new (Party())(), [new (PartyList())()]), [new (PartyDetails())(cannon)]), [new (CurrentPairs())(cannon)]), [new (Players())(cannon)]), [subcommands(subcommands(new (Contribution())(), [new (SaveContribution())(VOID, System_instance)]), [new (BatchContribution())()])]);
|
|
237
238
|
}
|
|
238
239
|
//region block: exports
|
|
239
240
|
export {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../cli/src/commonMain/kotlin/com/zegreatrob/coupling/cli/party/Party.kt","../../../../../cli/build/compileSync/js/main/productionExecutable/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/src/kotlin/util/Standard.kt","../../../../../cli/build/compileSync/js/main/productionExecutable/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/src/kotlin/text/Strings.kt","../../../../../../../../../../Users/runner/work/clikt/clikt/clikt/src/commonMain/kotlin/com/github/ajalt/clikt/parameters/options/Convert.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/src/kotlin/collections/Maps.kt"],"sourcesContent":[null,null,null,null,null,null],"ignoreList":[],"x_google_ignoreList":[],"names":["<get-partyId>","<get-env>","Party$lambda","Party$partyId$delegate$lambda","Party$partyId$delegate$lambda$lambda","err","Party$run$lambda","Party$run$lambda$lambda","valueTransform","run","$completion","partyId","env","result","party","cannon"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../../../../cli/src/commonMain/kotlin/com/zegreatrob/coupling/cli/party/Party.kt","../../../../../cli/build/compileSync/js/main/productionExecutable/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/src/kotlin/util/Standard.kt","../../../../../cli/build/compileSync/js/main/productionExecutable/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/src/kotlin/text/Strings.kt","../../../../../../../../../../Users/runner/work/clikt/clikt/clikt/src/commonMain/kotlin/com/github/ajalt/clikt/parameters/options/Convert.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/src/kotlin/collections/Maps.kt"],"sourcesContent":[null,null,null,null,null,null],"ignoreList":[],"x_google_ignoreList":[],"names":["<get-partyId>","<get-env>","Party$lambda","Party$partyId$delegate$lambda","Party$partyId$delegate$lambda$lambda","err","Party$run$lambda","Party$run$lambda$lambda","valueTransform","run","$completion","partyId","env","result","party","cannon"],"mappings":"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"}
|
|
@@ -32,17 +32,17 @@ import { suspendOrReturn49pspzlx5djv as suspendOrReturn } from '../../../../../.
|
|
|
32
32
|
//endregion
|
|
33
33
|
function _get_context__ps0bpe($this) {
|
|
34
34
|
var tmp = KProperty1();
|
|
35
|
-
return $this.
|
|
35
|
+
return $this.o71_1.fp($this, getPropertyCallableRef('context', 1, tmp, PartyDetails$_get_context_$ref_q6kw5z(), null));
|
|
36
36
|
}
|
|
37
37
|
function _get_partyId__g79dgw($this) {
|
|
38
38
|
var tmp = KProperty1();
|
|
39
|
-
return $this.
|
|
39
|
+
return $this.p71_1.fp($this, getPropertyCallableRef('partyId', 1, tmp, PartyDetails$_get_partyId_$ref_gt5zd(), null));
|
|
40
40
|
}
|
|
41
41
|
function *_generator_run__cb7u2f($this, $completion) {
|
|
42
|
-
var tmp0_elvis_lhs = $this.
|
|
42
|
+
var tmp0_elvis_lhs = $this.n71_1;
|
|
43
43
|
var tmp;
|
|
44
44
|
if (tmp0_elvis_lhs == null) {
|
|
45
|
-
var tmp_0 = _get_context__ps0bpe($this).
|
|
45
|
+
var tmp_0 = _get_context__ps0bpe($this).e70_1;
|
|
46
46
|
var tmp_1 = loadSdk(tmp_0, PartyDetails$echo$ref($this), $completion);
|
|
47
47
|
if (tmp_1 === get_COROUTINE_SUSPENDED())
|
|
48
48
|
tmp_1 = yield tmp_1;
|
|
@@ -65,18 +65,18 @@ function *_generator_run__cb7u2f($this, $completion) {
|
|
|
65
65
|
var tmp4_safe_receiver = tmp3_safe_receiver == null ? null : tmp3_safe_receiver.l5i_1;
|
|
66
66
|
var partyDetails = tmp4_safe_receiver == null ? null : toDomain(tmp4_safe_receiver);
|
|
67
67
|
if (partyDetails == null) {
|
|
68
|
-
throw CliktError().
|
|
68
|
+
throw CliktError().q5t('Party not found.', VOID, VOID, true);
|
|
69
69
|
}
|
|
70
|
-
$this.
|
|
71
|
-
$this.
|
|
72
|
-
$this.
|
|
73
|
-
$this.
|
|
74
|
-
$this.
|
|
75
|
-
$this.
|
|
76
|
-
$this.
|
|
77
|
-
$this.
|
|
78
|
-
$this.
|
|
79
|
-
$this.
|
|
70
|
+
$this.n5p('Party ID: ' + partyDetails.b51_1.toString());
|
|
71
|
+
$this.n5p('Name: ' + partyDetails.h51_1);
|
|
72
|
+
$this.n5p('Email: ' + partyDetails.g51_1);
|
|
73
|
+
$this.n5p('PairingRule: ' + partyDetails.c51_1.toString());
|
|
74
|
+
$this.n5p('BadgesEnabled: ' + partyDetails.d51_1);
|
|
75
|
+
$this.n5p('DefaultBadgeName: ' + partyDetails.e51_1);
|
|
76
|
+
$this.n5p('AlternateBadgeName: ' + partyDetails.f51_1);
|
|
77
|
+
$this.n5p('CallSignsEnabled: ' + partyDetails.i51_1);
|
|
78
|
+
$this.n5p('AnimationEnabled: ' + partyDetails.j51_1);
|
|
79
|
+
$this.n5p('AnimationSpeed: ' + partyDetails.k51_1);
|
|
80
80
|
return Unit_instance;
|
|
81
81
|
}
|
|
82
82
|
var sam$kotlin_properties_ReadOnlyProperty$0Class;
|
|
@@ -84,13 +84,13 @@ function sam$kotlin_properties_ReadOnlyProperty$0() {
|
|
|
84
84
|
if (sam$kotlin_properties_ReadOnlyProperty$0Class === VOID) {
|
|
85
85
|
class $ {
|
|
86
86
|
constructor(function_0) {
|
|
87
|
-
this.
|
|
87
|
+
this.q71_1 = function_0;
|
|
88
88
|
}
|
|
89
89
|
fp(thisRef, property) {
|
|
90
|
-
return this.
|
|
90
|
+
return this.q71_1(thisRef, property);
|
|
91
91
|
}
|
|
92
92
|
h5() {
|
|
93
|
-
return this.
|
|
93
|
+
return this.q71_1;
|
|
94
94
|
}
|
|
95
95
|
equals(other) {
|
|
96
96
|
var tmp;
|
|
@@ -121,13 +121,13 @@ function sam$kotlin_properties_ReadOnlyProperty$0_0() {
|
|
|
121
121
|
if (sam$kotlin_properties_ReadOnlyProperty$0Class_0 === VOID) {
|
|
122
122
|
class $ {
|
|
123
123
|
constructor(function_0) {
|
|
124
|
-
this.
|
|
124
|
+
this.r71_1 = function_0;
|
|
125
125
|
}
|
|
126
126
|
fp(thisRef, property) {
|
|
127
|
-
return this.
|
|
127
|
+
return this.r71_1(thisRef, property);
|
|
128
128
|
}
|
|
129
129
|
h5() {
|
|
130
|
-
return this.
|
|
130
|
+
return this.r71_1;
|
|
131
131
|
}
|
|
132
132
|
equals(other) {
|
|
133
133
|
var tmp;
|
|
@@ -155,13 +155,13 @@ function sam$kotlin_properties_ReadOnlyProperty$0_0() {
|
|
|
155
155
|
}
|
|
156
156
|
function PartyDetails$context$delegate$lambda$lambda($key) {
|
|
157
157
|
return (it) => {
|
|
158
|
-
var tmp = it.
|
|
158
|
+
var tmp = it.e5q_1.o4($key);
|
|
159
159
|
return tmp instanceof PartyContext() ? tmp : null;
|
|
160
160
|
};
|
|
161
161
|
}
|
|
162
162
|
function PartyDetails$context$delegate$lambda($key) {
|
|
163
163
|
return (thisRef, _unused_var__etf5q3) => {
|
|
164
|
-
var tmp0 = thisRef.
|
|
164
|
+
var tmp0 = thisRef.c5p();
|
|
165
165
|
// Inline function 'com.github.ajalt.clikt.core.Context.findObject' call
|
|
166
166
|
var key = $key;
|
|
167
167
|
var tmp = selfAndAncestors(tmp0);
|
|
@@ -174,13 +174,13 @@ function PartyDetails$_get_context_$ref_q6kw5z() {
|
|
|
174
174
|
}
|
|
175
175
|
function PartyDetails$partyId$delegate$lambda$lambda($key) {
|
|
176
176
|
return (it) => {
|
|
177
|
-
var tmp = it.
|
|
177
|
+
var tmp = it.e5q_1.o4($key);
|
|
178
178
|
return tmp instanceof PartyId() ? tmp : null;
|
|
179
179
|
};
|
|
180
180
|
}
|
|
181
181
|
function PartyDetails$partyId$delegate$lambda($key) {
|
|
182
182
|
return (thisRef, _unused_var__etf5q3) => {
|
|
183
|
-
var tmp0 = thisRef.
|
|
183
|
+
var tmp0 = thisRef.c5p();
|
|
184
184
|
// Inline function 'com.github.ajalt.clikt.core.Context.findObject' call
|
|
185
185
|
var key = $key;
|
|
186
186
|
var tmp = selfAndAncestors(tmp0);
|
|
@@ -193,7 +193,7 @@ function PartyDetails$_get_partyId_$ref_gt5zd() {
|
|
|
193
193
|
}
|
|
194
194
|
function PartyDetails$echo$ref(p0) {
|
|
195
195
|
return (receiver) => {
|
|
196
|
-
p0.
|
|
196
|
+
p0.n5p(receiver);
|
|
197
197
|
return Unit_instance;
|
|
198
198
|
};
|
|
199
199
|
}
|
|
@@ -203,16 +203,16 @@ function PartyDetails() {
|
|
|
203
203
|
class $ extends SuspendingCliktCommand() {
|
|
204
204
|
constructor(cannon) {
|
|
205
205
|
super('details');
|
|
206
|
-
this.
|
|
206
|
+
this.n71_1 = cannon;
|
|
207
207
|
var tmp = this;
|
|
208
208
|
// Inline function 'com.github.ajalt.clikt.core.requireObject' call
|
|
209
209
|
var key = 'default_object';
|
|
210
210
|
var tmp_0 = PartyDetails$context$delegate$lambda(key);
|
|
211
|
-
tmp.
|
|
211
|
+
tmp.o71_1 = new (sam$kotlin_properties_ReadOnlyProperty$0())(tmp_0);
|
|
212
212
|
var tmp_1 = this;
|
|
213
213
|
// Inline function 'com.github.ajalt.clikt.core.requireObject' call
|
|
214
214
|
var tmp_2 = PartyDetails$partyId$delegate$lambda('partyId');
|
|
215
|
-
tmp_1.
|
|
215
|
+
tmp_1.p71_1 = new (sam$kotlin_properties_ReadOnlyProperty$0_0())(tmp_2);
|
|
216
216
|
}
|
|
217
217
|
k5e($completion) {
|
|
218
218
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_run__cb7u2f.bind(VOID, this), $completion);
|
|
@@ -31,7 +31,7 @@ function *_generator_invoke__zhh2q8($this, sdk, $completion) {
|
|
|
31
31
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
32
32
|
tmp = yield tmp;
|
|
33
33
|
var tmp0_safe_receiver = tmp;
|
|
34
|
-
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
34
|
+
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.i6u_1;
|
|
35
35
|
var tmp_0;
|
|
36
36
|
if (tmp1_safe_receiver == null) {
|
|
37
37
|
tmp_0 = null;
|
|
@@ -42,7 +42,7 @@ function *_generator_invoke__zhh2q8($this, sdk, $completion) {
|
|
|
42
42
|
var _iterator__ex2g4s = tmp1_safe_receiver.q1();
|
|
43
43
|
while (_iterator__ex2g4s.r1()) {
|
|
44
44
|
var item = _iterator__ex2g4s.s1();
|
|
45
|
-
var tmp$ret$0 = toDomain(item.
|
|
45
|
+
var tmp$ret$0 = toDomain(item.k6u_1);
|
|
46
46
|
destination.t2(tmp$ret$0);
|
|
47
47
|
}
|
|
48
48
|
tmp_0 = destination;
|
|
@@ -58,7 +58,7 @@ function *_generator_invoke__zhh2q8($this, sdk, $completion) {
|
|
|
58
58
|
var tmp0_elvis_lhs = tmp_1;
|
|
59
59
|
// Inline function 'kotlin.let' call
|
|
60
60
|
var it = tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
61
|
-
$this.
|
|
61
|
+
$this.s71_1.n5p(it);
|
|
62
62
|
return Unit_instance;
|
|
63
63
|
}
|
|
64
64
|
function PartyList$run$slambda$lambda(it) {
|
|
@@ -66,7 +66,7 @@ function PartyList$run$slambda$lambda(it) {
|
|
|
66
66
|
}
|
|
67
67
|
function _get_env__e67txg($this) {
|
|
68
68
|
var tmp = KProperty1();
|
|
69
|
-
return $this.
|
|
69
|
+
return $this.i72_1.fp($this, getPropertyCallableRef('env', 1, tmp, PartyList$_get_env_$ref_drep03_0(), null));
|
|
70
70
|
}
|
|
71
71
|
function *_generator_run__cb7u2f($this, $completion) {
|
|
72
72
|
var tmp = _get_env__e67txg($this);
|
|
@@ -84,7 +84,7 @@ function PartyList$_get_env_$ref_drep03_0() {
|
|
|
84
84
|
}
|
|
85
85
|
function PartyList$echo$ref(p0) {
|
|
86
86
|
return (receiver) => {
|
|
87
|
-
p0.
|
|
87
|
+
p0.n5p(receiver);
|
|
88
88
|
return Unit_instance;
|
|
89
89
|
};
|
|
90
90
|
}
|
|
@@ -93,13 +93,13 @@ function PartyList$run$slambda() {
|
|
|
93
93
|
if (PartyList$run$slambdaClass === VOID) {
|
|
94
94
|
class $ {
|
|
95
95
|
constructor(this$0) {
|
|
96
|
-
this.
|
|
96
|
+
this.s71_1 = this$0;
|
|
97
97
|
}
|
|
98
|
-
|
|
98
|
+
r6y(sdk, $completion) {
|
|
99
99
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_invoke__zhh2q8.bind(VOID, this, sdk), $completion);
|
|
100
100
|
}
|
|
101
101
|
de(p1, $completion) {
|
|
102
|
-
return this.
|
|
102
|
+
return this.r6y((!(p1 == null) ? isInterface(p1, ActionCannon()) : false) ? p1 : THROW_CCE(), $completion);
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
105
|
initMetadataForLambda($, VOID, VOID, [1]);
|
|
@@ -109,7 +109,7 @@ function PartyList$run$slambda() {
|
|
|
109
109
|
}
|
|
110
110
|
function PartyList$run$slambda_0(this$0) {
|
|
111
111
|
var i = new (PartyList$run$slambda())(this$0);
|
|
112
|
-
var l = (sdk, $completion) => i.
|
|
112
|
+
var l = (sdk, $completion) => i.r6y(sdk, $completion);
|
|
113
113
|
l.$arity = 1;
|
|
114
114
|
return l;
|
|
115
115
|
}
|
|
@@ -122,7 +122,7 @@ function PartyList() {
|
|
|
122
122
|
var tmp = this;
|
|
123
123
|
var tmp_0 = default_0(option(this, []), 'production');
|
|
124
124
|
var tmp_1 = KProperty1();
|
|
125
|
-
tmp.
|
|
125
|
+
tmp.i72_1 = tmp_0.k64(this, getPropertyCallableRef('env', 1, tmp_1, PartyList$_get_env_$ref_drep03(), null));
|
|
126
126
|
}
|
|
127
127
|
k5e($completion) {
|
|
128
128
|
return suspendOrReturn(/*#__NOINLINE__*/_generator_run__cb7u2f.bind(VOID, this), $completion);
|
|
@@ -0,0 +1,229 @@
|
|
|
1
|
+
import { KProperty1ca4yb4wlo496 as KProperty1 } from '../../../../../../kotlin-kotlin-stdlib/kotlin/reflect/KPropertyJs.mjs';
|
|
2
|
+
import { getPropertyCallableRef3hckxc0xueiaj as getPropertyCallableRef } from '../../../../../../kotlin-kotlin-stdlib/kotlin/js/reflectRuntime.mjs';
|
|
3
|
+
import { loadSdkhnbciq6dnqu9 as loadSdk } from '../WithSdk.mjs';
|
|
4
|
+
import { get_COROUTINE_SUSPENDED3ujt3p13qm4iy as get_COROUTINE_SUSPENDED } from '../../../../../../kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/Intrinsics.mjs';
|
|
5
|
+
import { PartyInput51qtwhl4r59s as PartyInput } from '../../../../../../Coupling-sdk/com/zegreatrob/coupling/sdk/schema/type/PartyInput.mjs';
|
|
6
|
+
import { PlayersQuery3ov6tbgz63uc4 as PlayersQuery } from '../gql/PlayersQuery.mjs';
|
|
7
|
+
import { GqlQueryfz0vfezppkdu as GqlQuery } from '../../../../../../Coupling-sdk/com/zegreatrob/coupling/sdk/gql/GqlQuery.mjs';
|
|
8
|
+
import { NotBlankString__toString_impl_5tex9rxgr4zyip8kpr as NotBlankString__toString_impl_5tex9r } from '../../../../../../types-types/kotools/types/text/NotBlankString.mjs';
|
|
9
|
+
import { Unit_instance28fytmsmm6r23 as Unit_instance } from '../../../../../../kotlin-kotlin-stdlib/kotlin/Unit.mjs';
|
|
10
|
+
import {
|
|
11
|
+
equals2au1ep9vhcato as equals,
|
|
12
|
+
hashCodeq5arwsb9dgti as hashCode,
|
|
13
|
+
} from '../../../../../../kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs';
|
|
14
|
+
import { FunctionAdapter3lcrrz3moet5b as FunctionAdapter } from '../../../../../../kotlin-kotlin-stdlib/kotlin/js/FunctionAdapter.mjs';
|
|
15
|
+
import { isInterface3d6p8outrmvmk as isInterface } from '../../../../../../kotlin-kotlin-stdlib/kotlin/js/typeCheckUtils.mjs';
|
|
16
|
+
import { ReadOnlyPropertyhimsujm8ri3k as ReadOnlyProperty } from '../../../../../../kotlin-kotlin-stdlib/kotlin/properties/Interfaces.mjs';
|
|
17
|
+
import { initMetadataForClassbxx6q50dy2s7 as initMetadataForClass } from '../../../../../../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs';
|
|
18
|
+
import { VOID3gxj6tk5isa35 as VOID } from '../../../../../../kotlin-kotlin-stdlib/kotlin/js/void.mjs';
|
|
19
|
+
import { PartyContext2sgu0y2mnzw1k as PartyContext } from './Party.mjs';
|
|
20
|
+
import { selfAndAncestors2dend8wm8aud9 as selfAndAncestors } from '../../../../../../clikt-clikt/com/github/ajalt/clikt/core/Context.mjs';
|
|
21
|
+
import {
|
|
22
|
+
mapNotNull3b8ce5hky4k2l as mapNotNull,
|
|
23
|
+
firstOrNull175qkyx53x0vd as firstOrNull,
|
|
24
|
+
} from '../../../../../../kotlin-kotlin-stdlib/kotlin/sequences/_Sequences.mjs';
|
|
25
|
+
import { ensureNotNull1e947j3ixpazm as ensureNotNull } from '../../../../../../kotlin-kotlin-stdlib/kotlin/hacks.mjs';
|
|
26
|
+
import { PartyId30onj62xl01at as PartyId } from '../../../../../../Coupling-libraries-model/com/zegreatrob/coupling/model/party/PartyId.mjs';
|
|
27
|
+
import { SuspendingCliktCommand1zyftwh5k9ke9 as SuspendingCliktCommand } from '../../../../../../clikt-clikt-mordant/com/github/ajalt/clikt/command/SuspendingCliktCommand.mjs';
|
|
28
|
+
import { suspendOrReturn49pspzlx5djv as suspendOrReturn } from '../../../../../../kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/IntrinsicsJs.mjs';
|
|
29
|
+
//region block: imports
|
|
30
|
+
//endregion
|
|
31
|
+
//region block: pre-declaration
|
|
32
|
+
//endregion
|
|
33
|
+
function _get_context__ps0bpe($this) {
|
|
34
|
+
var tmp = KProperty1();
|
|
35
|
+
return $this.z72_1.fp($this, getPropertyCallableRef('context', 1, tmp, Players$_get_context_$ref_7m15sv(), null));
|
|
36
|
+
}
|
|
37
|
+
function _get_partyId__g79dgw($this) {
|
|
38
|
+
var tmp = KProperty1();
|
|
39
|
+
return $this.a73_1.fp($this, getPropertyCallableRef('partyId', 1, tmp, Players$_get_partyId_$ref_xbsvzh(), null));
|
|
40
|
+
}
|
|
41
|
+
function *_generator_run__cb7u2f($this, $completion) {
|
|
42
|
+
var tmp0_elvis_lhs = $this.y72_1;
|
|
43
|
+
var tmp;
|
|
44
|
+
if (tmp0_elvis_lhs == null) {
|
|
45
|
+
var tmp_0 = _get_context__ps0bpe($this).e70_1;
|
|
46
|
+
var tmp_1 = loadSdk(tmp_0, Players$echo$ref($this), $completion);
|
|
47
|
+
if (tmp_1 === get_COROUTINE_SUSPENDED())
|
|
48
|
+
tmp_1 = yield tmp_1;
|
|
49
|
+
tmp = tmp_1;
|
|
50
|
+
} else {
|
|
51
|
+
tmp = tmp0_elvis_lhs;
|
|
52
|
+
}
|
|
53
|
+
var actionCannon = tmp;
|
|
54
|
+
var tmp_2;
|
|
55
|
+
if (actionCannon == null) {
|
|
56
|
+
tmp_2 = null;
|
|
57
|
+
} else {
|
|
58
|
+
var tmp_3 = actionCannon.p53(new (GqlQuery())(new (PlayersQuery())(new (PartyInput())(_get_partyId__g79dgw($this)))), $completion);
|
|
59
|
+
if (tmp_3 === get_COROUTINE_SUSPENDED())
|
|
60
|
+
tmp_3 = yield tmp_3;
|
|
61
|
+
tmp_2 = tmp_3;
|
|
62
|
+
}
|
|
63
|
+
var result = tmp_2;
|
|
64
|
+
$this.n5p('Players for Party ID: ' + NotBlankString__toString_impl_5tex9r(_get_partyId__g79dgw($this).m51_1));
|
|
65
|
+
var tmp3_safe_receiver = result == null ? null : result.n6u_1;
|
|
66
|
+
var tmp4_safe_receiver = tmp3_safe_receiver == null ? null : tmp3_safe_receiver.o6u_1;
|
|
67
|
+
if (tmp4_safe_receiver == null)
|
|
68
|
+
null;
|
|
69
|
+
else {
|
|
70
|
+
// Inline function 'kotlin.collections.forEach' call
|
|
71
|
+
var _iterator__ex2g4s = tmp4_safe_receiver.q1();
|
|
72
|
+
while (_iterator__ex2g4s.r1()) {
|
|
73
|
+
var element = _iterator__ex2g4s.s1();
|
|
74
|
+
$this.n5p(' - ' + element.q6u_1.e5l_1 + ' ' + element.q6u_1.f5l_1);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
return Unit_instance;
|
|
78
|
+
}
|
|
79
|
+
var sam$kotlin_properties_ReadOnlyProperty$0Class;
|
|
80
|
+
function sam$kotlin_properties_ReadOnlyProperty$0() {
|
|
81
|
+
if (sam$kotlin_properties_ReadOnlyProperty$0Class === VOID) {
|
|
82
|
+
class $ {
|
|
83
|
+
constructor(function_0) {
|
|
84
|
+
this.b73_1 = function_0;
|
|
85
|
+
}
|
|
86
|
+
fp(thisRef, property) {
|
|
87
|
+
return this.b73_1(thisRef, property);
|
|
88
|
+
}
|
|
89
|
+
h5() {
|
|
90
|
+
return this.b73_1;
|
|
91
|
+
}
|
|
92
|
+
equals(other) {
|
|
93
|
+
var tmp;
|
|
94
|
+
if (!(other == null) ? isInterface(other, ReadOnlyProperty()) : false) {
|
|
95
|
+
var tmp_0;
|
|
96
|
+
if (!(other == null) ? isInterface(other, FunctionAdapter()) : false) {
|
|
97
|
+
tmp_0 = equals(this.h5(), other.h5());
|
|
98
|
+
} else {
|
|
99
|
+
tmp_0 = false;
|
|
100
|
+
}
|
|
101
|
+
tmp = tmp_0;
|
|
102
|
+
} else {
|
|
103
|
+
tmp = false;
|
|
104
|
+
}
|
|
105
|
+
return tmp;
|
|
106
|
+
}
|
|
107
|
+
hashCode() {
|
|
108
|
+
return hashCode(this.h5());
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
initMetadataForClass($, 'sam$kotlin_properties_ReadOnlyProperty$0', VOID, VOID, [ReadOnlyProperty(), FunctionAdapter()]);
|
|
112
|
+
sam$kotlin_properties_ReadOnlyProperty$0Class = $;
|
|
113
|
+
}
|
|
114
|
+
return sam$kotlin_properties_ReadOnlyProperty$0Class;
|
|
115
|
+
}
|
|
116
|
+
var sam$kotlin_properties_ReadOnlyProperty$0Class_0;
|
|
117
|
+
function sam$kotlin_properties_ReadOnlyProperty$0_0() {
|
|
118
|
+
if (sam$kotlin_properties_ReadOnlyProperty$0Class_0 === VOID) {
|
|
119
|
+
class $ {
|
|
120
|
+
constructor(function_0) {
|
|
121
|
+
this.c73_1 = function_0;
|
|
122
|
+
}
|
|
123
|
+
fp(thisRef, property) {
|
|
124
|
+
return this.c73_1(thisRef, property);
|
|
125
|
+
}
|
|
126
|
+
h5() {
|
|
127
|
+
return this.c73_1;
|
|
128
|
+
}
|
|
129
|
+
equals(other) {
|
|
130
|
+
var tmp;
|
|
131
|
+
if (!(other == null) ? isInterface(other, ReadOnlyProperty()) : false) {
|
|
132
|
+
var tmp_0;
|
|
133
|
+
if (!(other == null) ? isInterface(other, FunctionAdapter()) : false) {
|
|
134
|
+
tmp_0 = equals(this.h5(), other.h5());
|
|
135
|
+
} else {
|
|
136
|
+
tmp_0 = false;
|
|
137
|
+
}
|
|
138
|
+
tmp = tmp_0;
|
|
139
|
+
} else {
|
|
140
|
+
tmp = false;
|
|
141
|
+
}
|
|
142
|
+
return tmp;
|
|
143
|
+
}
|
|
144
|
+
hashCode() {
|
|
145
|
+
return hashCode(this.h5());
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
initMetadataForClass($, 'sam$kotlin_properties_ReadOnlyProperty$0', VOID, VOID, [ReadOnlyProperty(), FunctionAdapter()]);
|
|
149
|
+
sam$kotlin_properties_ReadOnlyProperty$0Class_0 = $;
|
|
150
|
+
}
|
|
151
|
+
return sam$kotlin_properties_ReadOnlyProperty$0Class_0;
|
|
152
|
+
}
|
|
153
|
+
function Players$context$delegate$lambda$lambda($key) {
|
|
154
|
+
return (it) => {
|
|
155
|
+
var tmp = it.e5q_1.o4($key);
|
|
156
|
+
return tmp instanceof PartyContext() ? tmp : null;
|
|
157
|
+
};
|
|
158
|
+
}
|
|
159
|
+
function Players$context$delegate$lambda($key) {
|
|
160
|
+
return (thisRef, _unused_var__etf5q3) => {
|
|
161
|
+
var tmp0 = thisRef.c5p();
|
|
162
|
+
// Inline function 'com.github.ajalt.clikt.core.Context.findObject' call
|
|
163
|
+
var key = $key;
|
|
164
|
+
var tmp = selfAndAncestors(tmp0);
|
|
165
|
+
var tmp$ret$0 = firstOrNull(mapNotNull(tmp, Players$context$delegate$lambda$lambda(key)));
|
|
166
|
+
return ensureNotNull(tmp$ret$0);
|
|
167
|
+
};
|
|
168
|
+
}
|
|
169
|
+
function Players$_get_context_$ref_7m15sv() {
|
|
170
|
+
return (p0) => _get_context__ps0bpe(p0);
|
|
171
|
+
}
|
|
172
|
+
function Players$partyId$delegate$lambda$lambda($key) {
|
|
173
|
+
return (it) => {
|
|
174
|
+
var tmp = it.e5q_1.o4($key);
|
|
175
|
+
return tmp instanceof PartyId() ? tmp : null;
|
|
176
|
+
};
|
|
177
|
+
}
|
|
178
|
+
function Players$partyId$delegate$lambda($key) {
|
|
179
|
+
return (thisRef, _unused_var__etf5q3) => {
|
|
180
|
+
var tmp0 = thisRef.c5p();
|
|
181
|
+
// Inline function 'com.github.ajalt.clikt.core.Context.findObject' call
|
|
182
|
+
var key = $key;
|
|
183
|
+
var tmp = selfAndAncestors(tmp0);
|
|
184
|
+
var tmp$ret$0 = firstOrNull(mapNotNull(tmp, Players$partyId$delegate$lambda$lambda(key)));
|
|
185
|
+
return ensureNotNull(tmp$ret$0);
|
|
186
|
+
};
|
|
187
|
+
}
|
|
188
|
+
function Players$_get_partyId_$ref_xbsvzh() {
|
|
189
|
+
return (p0) => _get_partyId__g79dgw(p0);
|
|
190
|
+
}
|
|
191
|
+
function Players$echo$ref(p0) {
|
|
192
|
+
return (receiver) => {
|
|
193
|
+
p0.n5p(receiver);
|
|
194
|
+
return Unit_instance;
|
|
195
|
+
};
|
|
196
|
+
}
|
|
197
|
+
var PlayersClass;
|
|
198
|
+
function Players() {
|
|
199
|
+
if (PlayersClass === VOID) {
|
|
200
|
+
class $ extends SuspendingCliktCommand() {
|
|
201
|
+
constructor(cannon) {
|
|
202
|
+
super();
|
|
203
|
+
this.y72_1 = cannon;
|
|
204
|
+
var tmp = this;
|
|
205
|
+
// Inline function 'com.github.ajalt.clikt.core.requireObject' call
|
|
206
|
+
var key = 'default_object';
|
|
207
|
+
var tmp_0 = Players$context$delegate$lambda(key);
|
|
208
|
+
tmp.z72_1 = new (sam$kotlin_properties_ReadOnlyProperty$0())(tmp_0);
|
|
209
|
+
var tmp_1 = this;
|
|
210
|
+
// Inline function 'com.github.ajalt.clikt.core.requireObject' call
|
|
211
|
+
var tmp_2 = Players$partyId$delegate$lambda('partyId');
|
|
212
|
+
tmp_1.a73_1 = new (sam$kotlin_properties_ReadOnlyProperty$0_0())(tmp_2);
|
|
213
|
+
}
|
|
214
|
+
k5e($completion) {
|
|
215
|
+
return suspendOrReturn(/*#__NOINLINE__*/_generator_run__cb7u2f.bind(VOID, this), $completion);
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
initMetadataForClass($, 'Players', VOID, VOID, VOID, [0]);
|
|
219
|
+
PlayersClass = $;
|
|
220
|
+
}
|
|
221
|
+
return PlayersClass;
|
|
222
|
+
}
|
|
223
|
+
//region block: exports
|
|
224
|
+
export {
|
|
225
|
+
Players as Players25ui8ofk5l4l,
|
|
226
|
+
};
|
|
227
|
+
//endregion
|
|
228
|
+
|
|
229
|
+
//# sourceMappingURL=Players.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../cli/src/commonMain/kotlin/com/zegreatrob/coupling/cli/party/Players.kt","../../../../../cli/build/compileSync/js/main/productionExecutable/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/common/src/generated/_Collections.kt","../../../../../../../../../../Users/runner/work/clikt/clikt/clikt/src/commonMain/kotlin/com/github/ajalt/clikt/core/Context.kt"],"sourcesContent":[null,null,null],"ignoreList":[],"x_google_ignoreList":[],"names":["<get-context>","<get-partyId>","<generator-run>","$completion","actionCannon","result","element","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","cannon","run"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6BAaYA,CAAA,KAAAA,EAAe;A;EAAA,iH;AAA4B,C;6BAC3CC,CAAA,KAAAA,EAAwB;A;EAAA,iH;AAAgC,C;gCAC/CC,CAAA,K,EAAAC,WAAAD,EAAU;A,MACJ,4B;;EAAA,2B;gBAAkB,2B,CAAQ,K;QAAhB,uBAAqB,uBAArB,c;;;;;UAAV,c;;MAAnBE,kB;;EAC2B,IAAd,YAAc,S;YAAA,I;;QAAA,QAAd,YAAc,8DAAsC,2BAAtC,iB;;;;;MAA3BC,c;EAEA,UAAM,wBAAN,wCAA8B,2BAA9B,CAAsC,KAAtC,E;MACQ,qBAAR,MAAQ,kBAAR,MAAQ,M;MAAO,yDAAf,kBAAe,M;EAAY,+B;IAAA,I;;;QCs2Df,oBDt2DZ,kBCs2DY,K;WAAA,sB,EAAM;A,UAAjBC,UAAW,sB;MDr2DR,UAAM,MAAN,GCq2DqB,ODr2DrB,CAAmB,KAAnB,CAAiC,KAAjC,GAAsC,GAAtC,GCq2DqB,ODr2DrB,CAAgD,KAAhD,CAA8D,KAA9D,C;ICq2D4B,C;;EDn2DpC,oB;AAAA,C;;;;;;QAE+hjB,uB;;QAAAC,CANn/iBC,O,EAC3CC,QAK8hjBF,E;;O;;;;YAzBnijBG,C,KAAAA,E;;;;;;;;;;;;;;O;cAAAC,CAAAA,E;;O;;;;;;;;;;;;QAyBmijB,uB;;QAAAJ,CANn/iBC,O,EAC3CC,QAK8hjBF,E;;O;;;;YAzBnijBG,C,KAAAA,E;;;;;;;;;;;;;;O;cAAAC,CAAAA,E;;O;;;;;;;+CAyBsnJC,C,IAAAA,E;SAAAC,CAAA,EAAAA,KAAA;A,cAAE,GAAG,KAAH,IAAQ,IAAR,C;IAAkB,uCAAlB,GAAkB,O;EAAC,C;C;wCAAy6ZC,C,IAAAA,E;SAAAF,CAAE,O,EAAS,mBAAXA,KAAA;A,eAAgB,OAAQ,M;;cAA0B,I;cE4HvljB,sB;QAAP,YAA4D,YAAlC,gBAAW,2CAAX,CAAkC,C;IF5HwijB,OAAxC,cAAuB,SAAvB,C;EAAyC,C;C;;iBAZlljB,wB;;+CAY2lJG,C,IAAAA,E;SAAAC,CAAA,EAAAA,KAAA;A,cAAE,GAAG,KAAH,IAAQ,IAAR,C;IAAkB,kCAAlB,GAAkB,O;EAAC,C;C;wCAAy6ZC,C,IAAAA,E;SAAAF,CAAE,O,EAAS,mBAAXA,KAAA;A,eAAgB,OAAQ,M;;cAA0B,I;cE4HvljB,sB;QAAP,YAA4D,YAAlC,gBAAW,2CAAX,CAAkC,C;IF5HwijB,OAAxC,cAAuB,SAAvB,C;EAAyC,C;C;;iBAXzkjB,wB;;yBAEsBG,CAAAC,EAAAD,E;SAAAE,C,QAAAA,KAAA;A,IAAA,gB;IAAK,oB;EAAA,C;C;;;;;kBAJjDC,M;;QAAA,mB;kBACa,I;;kBEsdD,gB;YAEE,4C;QFxdD,6DEwdC,KFxdD,C;oBACS,I;;YEudR,wCFvd+B,SEud/B,C;QFvdQ,iEEudR,KFvdQ,C;;SACfC,CAAAnB,WAAAmB,E;;O;;;;;;;;;;;"}
|