@continuous-excellence/coupling-cli 1.1.513 → 1.1.515
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 +21 -21
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/ConfigFileSource.mjs +11 -11
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/CouplingCli.mjs +6 -6
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/CouplingCliConfig.mjs +18 -18
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/Login.mjs +8 -8
- 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 +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 +150 -91
- 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 +17 -17
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/ContributionInput.mjs +13 -13
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/CurrentPairs.mjs +14 -14
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/CycleTimeFromFirstCommit.mjs +2 -2
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/Party.mjs +51 -45
- 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 +14 -14
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/PartyList.mjs +68 -50
- 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 +16 -16
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/SaveContribution.mjs +224 -163
- package/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/SaveContribution.mjs.map +1 -1
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/core/Context.mjs +8 -4
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/core/Context.mjs.map +1 -1
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/core/exceptions.mjs +116 -116
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/internal/Finalization.mjs +32 -32
- 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 +46 -46
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/output/Localization.mjs +31 -31
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/output/PlaintextHelpFormatter.mjs +25 -25
- 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 +5 -5
- 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 +9 -9
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/OptionWithValues.mjs +138 -138
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/TransformAll.mjs +2 -16
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parameters/options/TransformAll.mjs.map +1 -1
- 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 +5 -5
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/Invocation.mjs +28 -28
- package/kotlin/clikt-clikt/com/github/ajalt/clikt/parsers/ParserInternals.mjs +198 -198
- 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 +7 -7
- 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 +16 -16
- 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 +21 -21
- 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 +114 -114
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/RGBColorSpaces.mjs +126 -126
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/XYZ.mjs +57 -57
- package/kotlin/colormath-root-colormath/com/github/ajalt/colormath/model/xyY.mjs +16 -16
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs +6 -6
- package/kotlin/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs.map +1 -1
- 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 +21 -21
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/rendering/TextStyle.mjs +54 -54
- 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 +208 -208
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/TableDsl.mjs +22 -22
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/table/TableDslInstances.mjs +122 -122
- 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 +13 -13
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/terminal/TerminalInterface.mjs +8 -8
- 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 +53 -53
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/widgets/EmptyWidget.mjs +3 -3
- package/kotlin/mordant-mordant/com/github/ajalt/mordant/widgets/Padding.mjs +51 -51
- 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 +97 -97
- package/kotlin/tools-digger-model/com/zegreatrob/tools/digger/model/Contribution.mjs +28 -28
- package/package.json +1 -1
|
@@ -1,39 +1,45 @@
|
|
|
1
1
|
import { KProperty1ca4yb4wlo496 as KProperty1 } from '../../../../../../kotlin-kotlin-stdlib/kotlin/reflect/KPropertyJs.mjs';
|
|
2
2
|
import { getPropertyCallableRef3hckxc0xueiaj as getPropertyCallableRef } from '../../../../../../kotlin-kotlin-stdlib/kotlin/js/reflectRuntime.mjs';
|
|
3
|
-
import { ContributionContext11gr0e7fhjnfl as ContributionContext } from './Contribution.mjs';
|
|
4
|
-
import { Unit_instancev9v8hjid95df as Unit_instance } from '../../../../../../kotlin-kotlin-stdlib/kotlin/Unit.mjs';
|
|
5
|
-
import { fire2xk63tpdsh7fi as fire } from '../../../../../../Coupling-libraries-action/com/zegreatrob/coupling/action/party/SaveContributionCommandDispatcherExecuteKt.mjs';
|
|
6
3
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
4
|
+
equals2au1ep9vhcato as equals,
|
|
5
|
+
hashCodeq5arwsb9dgti as hashCode,
|
|
6
|
+
toString1pkumu07cwy4m as toString,
|
|
7
|
+
} from '../../../../../../kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs';
|
|
8
|
+
import { FunctionAdapter3lcrrz3moet5b as FunctionAdapter } from '../../../../../../kotlin-kotlin-stdlib/kotlin/js/FunctionAdapter.mjs';
|
|
11
9
|
import {
|
|
12
10
|
isInterface3d6p8outrmvmk as isInterface,
|
|
13
11
|
isCharSequence1ju9jr1w86plq as isCharSequence,
|
|
14
12
|
} from '../../../../../../kotlin-kotlin-stdlib/kotlin/js/typeCheckUtils.mjs';
|
|
13
|
+
import { ReadOnlyPropertyhimsujm8ri3k as ReadOnlyProperty } from '../../../../../../kotlin-kotlin-stdlib/kotlin/properties/Interfaces.mjs';
|
|
15
14
|
import {
|
|
16
|
-
initMetadataForLambda3af3he42mmnh as initMetadataForLambda,
|
|
17
15
|
initMetadataForClassbxx6q50dy2s7 as initMetadataForClass,
|
|
16
|
+
initMetadataForLambda3af3he42mmnh as initMetadataForLambda,
|
|
18
17
|
} from '../../../../../../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs';
|
|
19
18
|
import { VOID3gxj6tk5isa35 as VOID } from '../../../../../../kotlin-kotlin-stdlib/kotlin/js/void.mjs';
|
|
19
|
+
import { ContributionContext11gr0e7fhjnfl as ContributionContext } from './Contribution.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 {
|
|
26
|
+
ensureNotNull1e947j3ixpazm as ensureNotNull,
|
|
27
|
+
THROW_CCE2g6jy02ryeudk as THROW_CCE,
|
|
28
|
+
} from '../../../../../../kotlin-kotlin-stdlib/kotlin/hacks.mjs';
|
|
29
|
+
import { Unit_instancev9v8hjid95df as Unit_instance } from '../../../../../../kotlin-kotlin-stdlib/kotlin/Unit.mjs';
|
|
30
|
+
import { fire2xk63tpdsh7fi as fire } from '../../../../../../Coupling-libraries-action/com/zegreatrob/coupling/action/party/SaveContributionCommandDispatcherExecuteKt.mjs';
|
|
31
|
+
import { ActionCannon17qqlawtblrps as ActionCannon } from '../../../../../../testmints-action-async/com/zegreatrob/testmints/action/ActionCannon.mjs';
|
|
20
32
|
import { SuspendingCliktCommand1zyftwh5k9ke9 as SuspendingCliktCommand } from '../../../../../../clikt-clikt-mordant/com/github/ajalt/clikt/command/SuspendingCliktCommand.mjs';
|
|
21
33
|
import { option2wnxma00ykjjp as option } from '../../../../../../clikt-clikt/com/github/ajalt/clikt/parameters/options/OptionWithValues.mjs';
|
|
22
34
|
import { default2v6m45aspyoyr as default_0 } from '../../../../../../clikt-clikt/com/github/ajalt/clikt/parameters/options/TransformAll.mjs';
|
|
23
35
|
import { flag3dod1qr8no54f as flag } from '../../../../../../clikt-clikt/com/github/ajalt/clikt/parameters/options/FlagOption.mjs';
|
|
24
36
|
import { loadFilezf2qy6x6rlff as loadFile } from './Contribution.js.mjs';
|
|
25
|
-
import {
|
|
26
|
-
import { toString1pkumu07cwy4m as toString } from '../../../../../../kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs';
|
|
37
|
+
import { CliktError136b5l5psfi1n as CliktError } from '../../../../../../clikt-clikt/com/github/ajalt/clikt/core/exceptions.mjs';
|
|
27
38
|
import { ContributionParser_getInstance32m0gmpo6i2di as ContributionParser_getInstance } from '../../../../../../tools-digger-json/com/zegreatrob/tools/digger/json/ContributionDataJson.mjs';
|
|
28
39
|
import {
|
|
29
40
|
trim11nh7r46at6sx as trim,
|
|
30
41
|
isBlank1dvkhjjvox3p0 as isBlank,
|
|
31
42
|
} from '../../../../../../kotlin-kotlin-stdlib/kotlin/text/Strings.mjs';
|
|
32
|
-
import { selfAndAncestors2dend8wm8aud9 as selfAndAncestors } from '../../../../../../clikt-clikt/com/github/ajalt/clikt/core/Context.mjs';
|
|
33
|
-
import {
|
|
34
|
-
mapNotNull3b8ce5hky4k2l as mapNotNull,
|
|
35
|
-
firstOrNull175qkyx53x0vd as firstOrNull,
|
|
36
|
-
} from '../../../../../../kotlin-kotlin-stdlib/kotlin/sequences/_Sequences.mjs';
|
|
37
43
|
import { ArrayList3it5z8td81qkl as ArrayList } from '../../../../../../kotlin-kotlin-stdlib/kotlin/collections/ArrayListJs.mjs';
|
|
38
44
|
import { collectionSizeOrDefault36dulx8yinfqm as collectionSizeOrDefault } from '../../../../../../kotlin-kotlin-stdlib/kotlin/collections/Iterables.mjs';
|
|
39
45
|
import { cycleTimeFromFirstCommitjxlqe3jhxmq9 as cycleTimeFromFirstCommit } from './CycleTimeFromFirstCommit.mjs';
|
|
@@ -45,17 +51,77 @@ import { withSdk35tk3ax9pa40k as withSdk } from '../WithSdk.mjs';
|
|
|
45
51
|
//endregion
|
|
46
52
|
//region block: pre-declaration
|
|
47
53
|
//endregion
|
|
54
|
+
function _get_contributionContext__ud5ble($this) {
|
|
55
|
+
var tmp = KProperty1();
|
|
56
|
+
return $this.f72_1.zp($this, getPropertyCallableRef('contributionContext', 1, tmp, BatchContribution$_get_contributionContext_$ref_ktwvzt(), null));
|
|
57
|
+
}
|
|
48
58
|
function _get_file__d6iv67($this) {
|
|
49
59
|
var tmp = KProperty1();
|
|
50
|
-
return $this.
|
|
60
|
+
return $this.g72_1.zp($this, getPropertyCallableRef('file', 1, tmp, BatchContribution$_get_file_$ref_fvayxk_0(), null));
|
|
51
61
|
}
|
|
52
62
|
function _get_inputJson__zeyf3($this) {
|
|
53
63
|
var tmp = KProperty1();
|
|
54
|
-
return $this.
|
|
64
|
+
return $this.h72_1.zp($this, getPropertyCallableRef('inputJson', 1, tmp, BatchContribution$_get_inputJson_$ref_uxucks_0(), null));
|
|
55
65
|
}
|
|
56
66
|
function _get_cycleTimeFromFirstCommit__2fkwv5($this) {
|
|
57
67
|
var tmp = KProperty1();
|
|
58
|
-
return $this.
|
|
68
|
+
return $this.k72_1.zp($this, getPropertyCallableRef('cycleTimeFromFirstCommit', 1, tmp, BatchContribution$_get_cycleTimeFromFirstCommit_$ref_qjjywa_0(), null));
|
|
69
|
+
}
|
|
70
|
+
var sam$kotlin_properties_ReadOnlyProperty$0Class;
|
|
71
|
+
function sam$kotlin_properties_ReadOnlyProperty$0() {
|
|
72
|
+
if (sam$kotlin_properties_ReadOnlyProperty$0Class === VOID) {
|
|
73
|
+
class $ {
|
|
74
|
+
constructor(function_0) {
|
|
75
|
+
this.l72_1 = function_0;
|
|
76
|
+
}
|
|
77
|
+
zp(thisRef, property) {
|
|
78
|
+
return this.l72_1(thisRef, property);
|
|
79
|
+
}
|
|
80
|
+
c5() {
|
|
81
|
+
return this.l72_1;
|
|
82
|
+
}
|
|
83
|
+
equals(other) {
|
|
84
|
+
var tmp;
|
|
85
|
+
if (!(other == null) ? isInterface(other, ReadOnlyProperty()) : false) {
|
|
86
|
+
var tmp_0;
|
|
87
|
+
if (!(other == null) ? isInterface(other, FunctionAdapter()) : false) {
|
|
88
|
+
tmp_0 = equals(this.c5(), other.c5());
|
|
89
|
+
} else {
|
|
90
|
+
tmp_0 = false;
|
|
91
|
+
}
|
|
92
|
+
tmp = tmp_0;
|
|
93
|
+
} else {
|
|
94
|
+
tmp = false;
|
|
95
|
+
}
|
|
96
|
+
return tmp;
|
|
97
|
+
}
|
|
98
|
+
hashCode() {
|
|
99
|
+
return hashCode(this.c5());
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
initMetadataForClass($, 'sam$kotlin_properties_ReadOnlyProperty$0', VOID, VOID, [ReadOnlyProperty(), FunctionAdapter()]);
|
|
103
|
+
sam$kotlin_properties_ReadOnlyProperty$0Class = $;
|
|
104
|
+
}
|
|
105
|
+
return sam$kotlin_properties_ReadOnlyProperty$0Class;
|
|
106
|
+
}
|
|
107
|
+
function BatchContribution$contributionContext$delegate$lambda$lambda($key) {
|
|
108
|
+
return (it) => {
|
|
109
|
+
var tmp = it.c5u_1.j4($key);
|
|
110
|
+
return tmp instanceof ContributionContext() ? tmp : null;
|
|
111
|
+
};
|
|
112
|
+
}
|
|
113
|
+
function BatchContribution$contributionContext$delegate$lambda($key) {
|
|
114
|
+
return (thisRef, _unused_var__etf5q3) => {
|
|
115
|
+
var tmp0 = thisRef.a5t();
|
|
116
|
+
// Inline function 'com.github.ajalt.clikt.core.Context.findObject' call
|
|
117
|
+
var key = $key;
|
|
118
|
+
var tmp = selfAndAncestors(tmp0);
|
|
119
|
+
var tmp$ret$0 = firstOrNull(mapNotNull(tmp, BatchContribution$contributionContext$delegate$lambda$lambda(key)));
|
|
120
|
+
return ensureNotNull(tmp$ret$0);
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
function BatchContribution$_get_contributionContext_$ref_ktwvzt() {
|
|
124
|
+
return (p0) => _get_contributionContext__ud5ble(p0);
|
|
59
125
|
}
|
|
60
126
|
function BatchContribution$_get_file_$ref_fvayxk() {
|
|
61
127
|
return (p0) => _get_file__d6iv67(p0);
|
|
@@ -70,16 +136,16 @@ function BatchContribution$_get_inputJson_$ref_uxucks_0() {
|
|
|
70
136
|
return (p0) => _get_inputJson__zeyf3(p0);
|
|
71
137
|
}
|
|
72
138
|
function BatchContribution$_get_label_$ref_jbf4aa() {
|
|
73
|
-
return (p0) => p0.
|
|
139
|
+
return (p0) => p0.m72();
|
|
74
140
|
}
|
|
75
141
|
function BatchContribution$_get_label_$ref_jbf4aa_0() {
|
|
76
|
-
return (p0) => p0.
|
|
142
|
+
return (p0) => p0.m72();
|
|
77
143
|
}
|
|
78
144
|
function BatchContribution$_get_link_$ref_arx8yi() {
|
|
79
|
-
return (p0) => p0.
|
|
145
|
+
return (p0) => p0.n72();
|
|
80
146
|
}
|
|
81
147
|
function BatchContribution$_get_link_$ref_arx8yi_0() {
|
|
82
|
-
return (p0) => p0.
|
|
148
|
+
return (p0) => p0.n72();
|
|
83
149
|
}
|
|
84
150
|
function BatchContribution$_get_cycleTimeFromFirstCommit_$ref_qjjywa() {
|
|
85
151
|
return (p0) => _get_cycleTimeFromFirstCommit__2fkwv5(p0);
|
|
@@ -87,12 +153,6 @@ function BatchContribution$_get_cycleTimeFromFirstCommit_$ref_qjjywa() {
|
|
|
87
153
|
function BatchContribution$_get_cycleTimeFromFirstCommit_$ref_qjjywa_0() {
|
|
88
154
|
return (p0) => _get_cycleTimeFromFirstCommit__2fkwv5(p0);
|
|
89
155
|
}
|
|
90
|
-
function BatchContribution$run$lambda($key) {
|
|
91
|
-
return (it) => {
|
|
92
|
-
var tmp = it.c5u_1.j4($key);
|
|
93
|
-
return tmp instanceof ContributionContext() ? tmp : null;
|
|
94
|
-
};
|
|
95
|
-
}
|
|
96
156
|
function BatchContribution$echo$ref(p0) {
|
|
97
157
|
return (receiver) => {
|
|
98
158
|
p0.l5t(receiver);
|
|
@@ -104,11 +164,11 @@ function BatchContribution$run$slambda() {
|
|
|
104
164
|
if (BatchContribution$run$slambdaClass === VOID) {
|
|
105
165
|
class $ {
|
|
106
166
|
constructor($commands) {
|
|
107
|
-
this.
|
|
167
|
+
this.o72_1 = $commands;
|
|
108
168
|
}
|
|
109
|
-
*
|
|
169
|
+
*p72(sdk, $completion) {
|
|
110
170
|
// Inline function 'kotlin.collections.forEach' call
|
|
111
|
-
var _iterator__ex2g4s = this.
|
|
171
|
+
var _iterator__ex2g4s = this.o72_1.l1();
|
|
112
172
|
while (_iterator__ex2g4s.m1()) {
|
|
113
173
|
var element = _iterator__ex2g4s.n1();
|
|
114
174
|
yield* fire(sdk, element, $completion);
|
|
@@ -116,7 +176,7 @@ function BatchContribution$run$slambda() {
|
|
|
116
176
|
return Unit_instance;
|
|
117
177
|
}
|
|
118
178
|
vd(p1, $completion) {
|
|
119
|
-
return this.
|
|
179
|
+
return this.p72((!(p1 == null) ? isInterface(p1, ActionCannon()) : false) ? p1 : THROW_CCE(), $completion);
|
|
120
180
|
}
|
|
121
181
|
}
|
|
122
182
|
initMetadataForLambda($, VOID, VOID, [1]);
|
|
@@ -126,7 +186,7 @@ function BatchContribution$run$slambda() {
|
|
|
126
186
|
}
|
|
127
187
|
function BatchContribution$run$slambda_0($commands) {
|
|
128
188
|
var i = new (BatchContribution$run$slambda())($commands);
|
|
129
|
-
var l = (sdk, $completion) => i.
|
|
189
|
+
var l = (sdk, $completion) => i.p72(sdk, $completion);
|
|
130
190
|
l.$arity = 1;
|
|
131
191
|
return l;
|
|
132
192
|
}
|
|
@@ -137,58 +197,56 @@ function BatchContribution() {
|
|
|
137
197
|
constructor(cannon) {
|
|
138
198
|
cannon = cannon === VOID ? null : cannon;
|
|
139
199
|
super('batch');
|
|
140
|
-
this.
|
|
200
|
+
this.e72_1 = cannon;
|
|
141
201
|
var tmp = this;
|
|
142
|
-
|
|
143
|
-
var
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
var
|
|
147
|
-
var
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
var
|
|
151
|
-
var
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
var
|
|
155
|
-
var
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
var
|
|
159
|
-
var
|
|
160
|
-
|
|
202
|
+
// Inline function 'com.github.ajalt.clikt.core.requireObject' call
|
|
203
|
+
var key = 'default_object';
|
|
204
|
+
var tmp_0 = BatchContribution$contributionContext$delegate$lambda(key);
|
|
205
|
+
tmp.f72_1 = new (sam$kotlin_properties_ReadOnlyProperty$0())(tmp_0);
|
|
206
|
+
var tmp_1 = this;
|
|
207
|
+
var tmp_2 = default_0(option(this, []), '');
|
|
208
|
+
var tmp_3 = KProperty1();
|
|
209
|
+
tmp_1.g72_1 = tmp_2.j68(this, getPropertyCallableRef('file', 1, tmp_3, BatchContribution$_get_file_$ref_fvayxk(), null));
|
|
210
|
+
var tmp_4 = this;
|
|
211
|
+
var tmp_5 = option(this, []);
|
|
212
|
+
var tmp_6 = KProperty1();
|
|
213
|
+
tmp_4.h72_1 = tmp_5.j68(this, getPropertyCallableRef('inputJson', 1, tmp_6, BatchContribution$_get_inputJson_$ref_uxucks(), null));
|
|
214
|
+
var tmp_7 = this;
|
|
215
|
+
var tmp_8 = default_0(option(this, []), '');
|
|
216
|
+
var tmp_9 = KProperty1();
|
|
217
|
+
tmp_7.i72_1 = tmp_8.j68(this, getPropertyCallableRef('label', 1, tmp_9, BatchContribution$_get_label_$ref_jbf4aa(), null));
|
|
218
|
+
var tmp_10 = this;
|
|
219
|
+
var tmp_11 = default_0(option(this, []), '');
|
|
220
|
+
var tmp_12 = KProperty1();
|
|
221
|
+
tmp_10.j72_1 = tmp_11.j68(this, getPropertyCallableRef('link', 1, tmp_12, BatchContribution$_get_link_$ref_arx8yi(), null));
|
|
222
|
+
var tmp_13 = this;
|
|
223
|
+
var tmp_14 = flag(option(this, []), []);
|
|
224
|
+
var tmp_15 = KProperty1();
|
|
225
|
+
tmp_13.k72_1 = tmp_14.j68(this, getPropertyCallableRef('cycleTimeFromFirstCommit', 1, tmp_15, BatchContribution$_get_cycleTimeFromFirstCommit_$ref_qjjywa(), null));
|
|
161
226
|
}
|
|
162
|
-
|
|
227
|
+
m72() {
|
|
163
228
|
var tmp = KProperty1();
|
|
164
|
-
return this.
|
|
229
|
+
return this.i72_1.zp(this, getPropertyCallableRef('label', 1, tmp, BatchContribution$_get_label_$ref_jbf4aa_0(), null));
|
|
165
230
|
}
|
|
166
|
-
|
|
231
|
+
n72() {
|
|
167
232
|
var tmp = KProperty1();
|
|
168
|
-
return this.
|
|
233
|
+
return this.j72_1.zp(this, getPropertyCallableRef('link', 1, tmp, BatchContribution$_get_link_$ref_arx8yi_0(), null));
|
|
169
234
|
}
|
|
170
235
|
*g5i($completion) {
|
|
171
236
|
var tmp0_elvis_lhs = _get_inputJson__zeyf3(this);
|
|
172
237
|
var tmp1_elvis_lhs = tmp0_elvis_lhs == null ? loadFile(_get_file__d6iv67(this)) : tmp0_elvis_lhs;
|
|
173
238
|
var tmp;
|
|
174
239
|
if (tmp1_elvis_lhs == null) {
|
|
175
|
-
|
|
176
|
-
var message = 'Could not load file';
|
|
177
|
-
throw IllegalStateException().o(toString(message));
|
|
240
|
+
throw CliktError().p5x('Could not load file', VOID, VOID, true);
|
|
178
241
|
} else {
|
|
179
242
|
tmp = tmp1_elvis_lhs;
|
|
180
243
|
}
|
|
181
244
|
var inputJson = tmp;
|
|
182
245
|
var tmp_0 = ContributionParser_getInstance();
|
|
183
246
|
// Inline function 'kotlin.text.trim' call
|
|
184
|
-
var tmp$ret$
|
|
185
|
-
var contributions = tmp_0.
|
|
186
|
-
|
|
187
|
-
var this_0 = this.a5t();
|
|
188
|
-
var key = 'default_object';
|
|
189
|
-
var tmp_1 = selfAndAncestors(this_0);
|
|
190
|
-
var contributionContext = firstOrNull(mapNotNull(tmp_1, BatchContribution$run$lambda(key)));
|
|
191
|
-
var partyId = ensureNotNull(contributionContext).n72_1;
|
|
247
|
+
var tmp$ret$0 = toString(trim(isCharSequence(inputJson) ? inputJson : THROW_CCE()));
|
|
248
|
+
var contributions = tmp_0.n6x(tmp$ret$0);
|
|
249
|
+
var partyId = _get_contributionContext__ud5ble(this).q72_1;
|
|
192
250
|
// Inline function 'kotlin.collections.map' call
|
|
193
251
|
// Inline function 'kotlin.collections.mapTo' call
|
|
194
252
|
var destination = ArrayList().r2(collectionSizeOrDefault(contributions, 10));
|
|
@@ -196,7 +254,17 @@ function BatchContribution() {
|
|
|
196
254
|
while (_iterator__ex2g4s.m1()) {
|
|
197
255
|
var item = _iterator__ex2g4s.n1();
|
|
198
256
|
// Inline function 'kotlin.takeIf' call
|
|
199
|
-
var
|
|
257
|
+
var this_0 = this.n72();
|
|
258
|
+
var tmp_1;
|
|
259
|
+
// Inline function 'kotlin.text.isNotBlank' call
|
|
260
|
+
if (!isBlank(this_0)) {
|
|
261
|
+
tmp_1 = this_0;
|
|
262
|
+
} else {
|
|
263
|
+
tmp_1 = null;
|
|
264
|
+
}
|
|
265
|
+
var tmp0_link = tmp_1;
|
|
266
|
+
// Inline function 'kotlin.takeIf' call
|
|
267
|
+
var this_1 = this.m72();
|
|
200
268
|
var tmp_2;
|
|
201
269
|
// Inline function 'kotlin.text.isNotBlank' call
|
|
202
270
|
if (!isBlank(this_1)) {
|
|
@@ -204,41 +272,32 @@ function BatchContribution() {
|
|
|
204
272
|
} else {
|
|
205
273
|
tmp_2 = null;
|
|
206
274
|
}
|
|
207
|
-
var
|
|
208
|
-
// Inline function 'kotlin.takeIf' call
|
|
209
|
-
var this_2 = this.j72();
|
|
275
|
+
var tmp1_label = tmp_2;
|
|
210
276
|
var tmp_3;
|
|
211
|
-
// Inline function 'kotlin.text.isNotBlank' call
|
|
212
|
-
if (!isBlank(this_2)) {
|
|
213
|
-
tmp_3 = this_2;
|
|
214
|
-
} else {
|
|
215
|
-
tmp_3 = null;
|
|
216
|
-
}
|
|
217
|
-
var tmp1_label = tmp_3;
|
|
218
|
-
var tmp_4;
|
|
219
277
|
if (_get_cycleTimeFromFirstCommit__2fkwv5(this)) {
|
|
220
|
-
|
|
278
|
+
tmp_3 = cycleTimeFromFirstCommit(this, item, null);
|
|
221
279
|
} else {
|
|
222
|
-
|
|
280
|
+
tmp_3 = null;
|
|
223
281
|
}
|
|
224
|
-
var tmp2_cycleTime =
|
|
225
|
-
var tmp$ret$
|
|
226
|
-
destination.o2(tmp$ret$
|
|
282
|
+
var tmp2_cycleTime = tmp_3;
|
|
283
|
+
var tmp$ret$3 = contributionInput(item, tmp2_cycleTime, tmp0_link, tmp1_label);
|
|
284
|
+
destination.o2(tmp$ret$3);
|
|
227
285
|
}
|
|
228
286
|
var inputs = destination;
|
|
229
287
|
// Inline function 'kotlin.collections.map' call
|
|
230
|
-
var
|
|
288
|
+
var this_2 = chunked(inputs, 100);
|
|
231
289
|
// Inline function 'kotlin.collections.mapTo' call
|
|
232
|
-
var destination_0 = ArrayList().r2(collectionSizeOrDefault(
|
|
233
|
-
var _iterator__ex2g4s_0 =
|
|
290
|
+
var destination_0 = ArrayList().r2(collectionSizeOrDefault(this_2, 10));
|
|
291
|
+
var _iterator__ex2g4s_0 = this_2.l1();
|
|
234
292
|
while (_iterator__ex2g4s_0.m1()) {
|
|
235
293
|
var item_0 = _iterator__ex2g4s_0.n1();
|
|
236
|
-
var tmp$ret$
|
|
237
|
-
destination_0.o2(tmp$ret$
|
|
294
|
+
var tmp$ret$12 = new (SaveContributionCommand())(partyId, item_0);
|
|
295
|
+
destination_0.o2(tmp$ret$12);
|
|
238
296
|
}
|
|
239
297
|
var commands = destination_0;
|
|
298
|
+
var tmp_4 = _get_contributionContext__ud5ble(this).r72_1;
|
|
240
299
|
var tmp_5 = BatchContribution$echo$ref(this);
|
|
241
|
-
yield* withSdk(
|
|
300
|
+
yield* withSdk(tmp_4, tmp_5, this.e72_1, BatchContribution$run$slambda_0(commands), $completion);
|
|
242
301
|
return Unit_instance;
|
|
243
302
|
}
|
|
244
303
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../cli/src/commonMain/kotlin/com/zegreatrob/coupling/cli/party/BatchContribution.kt","
|
|
1
|
+
{"version":3,"sources":["../../../../../cli/src/commonMain/kotlin/com/zegreatrob/coupling/cli/party/BatchContribution.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","../../../../../cli/build/compileSync/js/main/productionExecutable/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/src/kotlin/text/Strings.kt","../../../../../cli/build/compileSync/js/main/productionExecutable/kotlin/Coupling-cli/com/zegreatrob/coupling/cli/party/src/kotlin/util/Standard.kt"],"sourcesContent":[null,null,null,null,null],"ignoreList":[],"x_google_ignoreList":[],"names":["<get-contributionContext>","$this","<get-file>","<get-inputJson>","<get-cycleTimeFromFirstCommit>","getValue","thisRef","property","equals","hashCode","BatchContribution$contributionContext$delegate$lambda$lambda","BatchContribution$contributionContext$delegate$lambda$lambda$lambda","BatchContribution$contributionContext$delegate$lambda","BatchContribution$echo$ref","p0","BatchContribution$echo$ref$lambda","invoke","$completion","element","BatchContribution$run$slambda","BatchContribution$run$slambda$lambda","cannon","<get-label>","<get-link>","run","inputJson","contributions","partyId","item","inputs","commands"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yCAmBYA,CAAAC,KAAAD,EAA2B;A;EAAA,mJ;AAAmC,C;0BAC9DE,CAAAD,KAAAC,EAAY;A;EAAA,uH;AAAmB,C;8BAC/BC,CAAAF,KAAAE,EAAiB;A;EAAA,iI;AAAO,C;8CAGxBC,CAAAH,KAAAG,EAAgC;A;EAAA,+J;AAAc,C;;;;;;QAyB47gB,uB;;QAAAC,CA7Bx9gBC,O,EAAYC,QA6B48gBF,E;;O;;;;YAjDt/gBG,C,KAAAA,E;;;;;;;;;;;;;;O;cAAAC,CAAAA,E;;O;;;;;;;qEAiDykHC,C,IAAAA,E;SAAAC,CAAA,EAAAA,KAAA;A,cAAE,GAAG,KAAH,IAAQ,IAAR,C;IAAkB,OAAlB,iD;EAAmB,C;C;8DAAy6ZC,C,IAAAA,E;SAAAF,CAAE,O,EAAS,mBAAXA,KAAA;A,eAAgB,OAAQ,M;;cAA0B,I;cCoG1ihB,sB;QAAP,YAA4D,YAAlC,gBAAW,iEAAX,CAAkC,C;IDpG2/gB,OAAxC,cAAuB,SAAvB,C;EAAyC,C;C;;iBA9BzhhB,oC;;;iBACf,qB;;;iBAAA,qB;;;iBACK,yB;;;iBAAA,yB;;;iBACH,Q;;;iBAAA,Q;;;iBACD,Q;;;iBAAA,Q;;;iBACmB,yC;;;iBAAA,yC;;mCAkBHG,CAAAC,EAAAD,E;SAAAE,C,QAAAA,KAAA;A,IAAA,gB;IAAK,oB;EAAA,C;C;;;;;;;;UAAoBC,CAAE,G,EAAFC,WAAAD,EACtD;A;YE+0DQ,oBF/0DR,IE+0DQ,CF/0DR,KE+0DQ,K;eAAA,sB,EAAM;A,cAAjBE,UAAW,sB;iBF90DA,KAAJ,GAAI,EE80Da,OF90Db,c;QE80DoB,C;QF70D5B,oB;MAAA,C;;;;;;;;;;wCAHsDC,C,SAAAA,E;;UAAAC,CAAE,G,EAAFH,WAAAG,4B;;;C;;;;;kBA1BtDC,M;mCAAmD,I;cAC7B,O;QAD9B,mB;kBAGmC,I;;kBCgdb,gB;YAEE,kE;QDldW,6DCkdX,KDldW,C;oBACf,I;oBAAS,UAAT,gBAAS,EAAQ,EAAR,C;;QAAT,wH;oBACK,I;oBAAA,gB;;QAAA,kI;oBACH,I;oBAAS,UAAT,gBAAS,EAAQ,EAAR,C;;QAAT,0H;qBACD,I;qBAAS,UAAT,gBAAS,EAAQ,EAAR,C;;QAAT,2H;qBACmB,I;qBAAS,KAAT,gBAAS,K;;QAAT,mK;;SAF/BC,CAAAA,EAAa;A;QAAA,uH;MAAmB,C;SAChCC,CAAAA,EAAY;A;QAAA,qH;MAAmB,C;UAEvBC,CAAAP,WAAAO,EAAU;A,YACP,4C;YAAA,0CAAa,SAAS,uBAAT,CAAb,iB;;QAAA,2B;UACT,uBAAiB,qBAAjB,cAAqD,IAArD,C;;gBADS,c;;YAAhBC,e;;;YG0J0E,YAAV,SAAP,KAAtB,eHxJuB,SGwJvB,IHxJuB,SGwJvB,cAAsB,CAAO,C;YHxJhEC,gBAAuC,UAA6B,SAA7B,C;YACvCC,UAAc,sCAAdA,CAAkC,K;;;0BEohDzB,eAAa,wBFnhDT,aEmhDS,EAAwB,EAAxB,CAAb,C;YA2EA,oBF9lDI,aE8lDJ,K;eAAA,sB,EACT;A,cADCC,OAAQ,sB;;uBF5lDM,U;;;UImGR,ID0LwC,CAAC,QC1L/B,MD0L+B,CC1LzC,C;oBAAiB,M;;oBAAU,I;;cJnGd,YImGjB,K;;uBJlGa,U;;;UIkGT,ID0LwC,CAAC,QC1L/B,MD0L+B,CC1LzC,C;oBAAiB,M;;oBAAU,I;;cJlGZ,aIkGnB,K;;UJjGqB,gD;oBACZ,+BE0lDc,IF1lDd,EAAuC,IAAvC,C;;oBAEA,I;;cAHQ,sB;cAKf,YARY,kBE8lDS,IF9lDT,EAGG,cAHH,EACG,SADH,EAEK,UAFL,C;UE8lDjB,WAAY,IAAI,SAAJ,C;QAAmB,C;YF/lD/BC,SEgmDG,W;;qBFrlDmB,QAAP,MAAO,EAAQ,GAAR,C;;4BEwgDb,eAAa,gCAAwB,EAAxB,CAAb,C;YA2EA,sBA3EN,MA2EM,K;eAAA,wB,EACT;A,cADCD,SAAQ,wB;cFnlDiG,aAAjE,gCAAkC,OAAlC,EEolDf,MFplDe,C;UEolDzC,aAAY,IAAI,UAAJ,C;QAAmB,C;YFplD/BE,WEqlDG,a;oBFplDK,sC,CAAoB,K;oBAAK,gC;eAAjC,sBAAkD,IAAlD,CAAkD,KAAlD,EAA0D,yCAA1D,c;QAKJ,oB;MAAA,C;;;;;;;;;;;"}
|
|
@@ -31,15 +31,15 @@ function ContributionContext() {
|
|
|
31
31
|
if (ContributionContextClass === VOID) {
|
|
32
32
|
class $ {
|
|
33
33
|
constructor(partyId, env) {
|
|
34
|
-
this.
|
|
35
|
-
this.
|
|
34
|
+
this.q72_1 = partyId;
|
|
35
|
+
this.r72_1 = env;
|
|
36
36
|
}
|
|
37
37
|
toString() {
|
|
38
|
-
return 'ContributionContext(partyId=' + this.
|
|
38
|
+
return 'ContributionContext(partyId=' + this.q72_1.toString() + ', env=' + this.r72_1 + ')';
|
|
39
39
|
}
|
|
40
40
|
hashCode() {
|
|
41
|
-
var result = this.
|
|
42
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
41
|
+
var result = this.q72_1.hashCode();
|
|
42
|
+
result = imul(result, 31) + getStringHashCode(this.r72_1) | 0;
|
|
43
43
|
return result;
|
|
44
44
|
}
|
|
45
45
|
equals(other) {
|
|
@@ -47,9 +47,9 @@ function ContributionContext() {
|
|
|
47
47
|
return true;
|
|
48
48
|
if (!(other instanceof ContributionContext()))
|
|
49
49
|
return false;
|
|
50
|
-
if (!this.
|
|
50
|
+
if (!this.q72_1.equals(other.q72_1))
|
|
51
51
|
return false;
|
|
52
|
-
if (!(this.
|
|
52
|
+
if (!(this.r72_1 === other.r72_1))
|
|
53
53
|
return false;
|
|
54
54
|
return true;
|
|
55
55
|
}
|
|
@@ -61,20 +61,20 @@ function ContributionContext() {
|
|
|
61
61
|
}
|
|
62
62
|
function _get_env__e67txg($this) {
|
|
63
63
|
var tmp = KProperty1();
|
|
64
|
-
return $this.
|
|
64
|
+
return $this.h73_1.zp($this, getPropertyCallableRef('env', 1, tmp, Contribution$_get_env_$ref_faf1oh_0(), null));
|
|
65
65
|
}
|
|
66
66
|
var sam$kotlin_properties_ReadOnlyProperty$0Class;
|
|
67
67
|
function sam$kotlin_properties_ReadOnlyProperty$0() {
|
|
68
68
|
if (sam$kotlin_properties_ReadOnlyProperty$0Class === VOID) {
|
|
69
69
|
class $ {
|
|
70
70
|
constructor(function_0) {
|
|
71
|
-
this.
|
|
71
|
+
this.j73_1 = function_0;
|
|
72
72
|
}
|
|
73
73
|
zp(thisRef, property) {
|
|
74
|
-
return this.
|
|
74
|
+
return this.j73_1(thisRef, property);
|
|
75
75
|
}
|
|
76
76
|
c5() {
|
|
77
|
-
return this.
|
|
77
|
+
return this.j73_1;
|
|
78
78
|
}
|
|
79
79
|
equals(other) {
|
|
80
80
|
var tmp;
|
|
@@ -123,7 +123,7 @@ function Contribution$partyId$delegate$lambda($key) {
|
|
|
123
123
|
};
|
|
124
124
|
}
|
|
125
125
|
function Contribution$_get_partyId_$ref_xh1jat() {
|
|
126
|
-
return (p0) => p0.
|
|
126
|
+
return (p0) => p0.k73();
|
|
127
127
|
}
|
|
128
128
|
function Contribution$run$lambda($key) {
|
|
129
129
|
return (it) => {
|
|
@@ -140,15 +140,15 @@ function Contribution() {
|
|
|
140
140
|
var tmp = this;
|
|
141
141
|
var tmp_0 = default_0(option(this, []), 'production');
|
|
142
142
|
var tmp_1 = KProperty1();
|
|
143
|
-
tmp.
|
|
143
|
+
tmp.h73_1 = tmp_0.j68(this, getPropertyCallableRef('env', 1, tmp_1, Contribution$_get_env_$ref_faf1oh(), null));
|
|
144
144
|
var tmp_2 = this;
|
|
145
145
|
// Inline function 'com.github.ajalt.clikt.core.requireObject' call
|
|
146
146
|
var tmp_3 = Contribution$partyId$delegate$lambda('partyId');
|
|
147
|
-
tmp_2.
|
|
147
|
+
tmp_2.i73_1 = new (sam$kotlin_properties_ReadOnlyProperty$0())(tmp_3);
|
|
148
148
|
}
|
|
149
|
-
|
|
149
|
+
k73() {
|
|
150
150
|
var tmp = KProperty1();
|
|
151
|
-
return this.
|
|
151
|
+
return this.i73_1.zp(this, getPropertyCallableRef('partyId', 1, tmp, Contribution$_get_partyId_$ref_xh1jat(), null));
|
|
152
152
|
}
|
|
153
153
|
*g5i($completion) {
|
|
154
154
|
// Inline function 'com.github.ajalt.clikt.core.Context.findOrSetObject' call
|
|
@@ -160,7 +160,7 @@ function Contribution() {
|
|
|
160
160
|
var tmp_0;
|
|
161
161
|
if (tmp0_elvis_lhs == null) {
|
|
162
162
|
// Inline function 'kotlin.also' call
|
|
163
|
-
var this_1 = new (ContributionContext())(this.
|
|
163
|
+
var this_1 = new (ContributionContext())(this.k73(), _get_env__e67txg(this));
|
|
164
164
|
// Inline function 'kotlin.collections.set' call
|
|
165
165
|
this_0.c5u_1.q4(key, this_1);
|
|
166
166
|
tmp_0 = this_1;
|
|
@@ -13,15 +13,15 @@ import { ContributionInput13asb0faxwkkm as ContributionInput } from '../../../..
|
|
|
13
13
|
//endregion
|
|
14
14
|
function contributionInput(_this__u8e3s4, cycleTime, link, label) {
|
|
15
15
|
// Inline function 'kotlin.getOrThrow' call
|
|
16
|
-
var this_0 = toNotBlankString(_this__u8e3s4.
|
|
16
|
+
var this_0 = toNotBlankString(_this__u8e3s4.b6x_1);
|
|
17
17
|
throwOnFailure(this_0);
|
|
18
18
|
var tmp$ret$0 = _Result___get_value__impl__bjfvqg(this_0).j52_1;
|
|
19
19
|
var tmp2_contributionId = new (ContributionId())(tmp$ret$0);
|
|
20
|
-
var tmp3_participantEmails = toSet(_this__u8e3s4.
|
|
21
|
-
var tmp4_hash = _this__u8e3s4.
|
|
22
|
-
var tmp5_dateTime = _this__u8e3s4.
|
|
23
|
-
var tmp6_ease = _this__u8e3s4.
|
|
24
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
20
|
+
var tmp3_participantEmails = toSet(_this__u8e3s4.c6x_1);
|
|
21
|
+
var tmp4_hash = _this__u8e3s4.a6x_1;
|
|
22
|
+
var tmp5_dateTime = _this__u8e3s4.e6x_1;
|
|
23
|
+
var tmp6_ease = _this__u8e3s4.g6x_1;
|
|
24
|
+
var tmp0_safe_receiver = _this__u8e3s4.h6x_1;
|
|
25
25
|
var tmp;
|
|
26
26
|
if (tmp0_safe_receiver == null) {
|
|
27
27
|
tmp = null;
|
|
@@ -36,13 +36,13 @@ function contributionInput(_this__u8e3s4, cycleTime, link, label) {
|
|
|
36
36
|
tmp = tmp_0;
|
|
37
37
|
}
|
|
38
38
|
var tmp7_story = tmp;
|
|
39
|
-
var tmp8_semver = _this__u8e3s4.
|
|
40
|
-
var tmp9_label = label == null ? _this__u8e3s4.
|
|
41
|
-
var tmp10_firstCommit = _this__u8e3s4.
|
|
42
|
-
var tmp11_firstCommitDateTime = _this__u8e3s4.
|
|
43
|
-
var tmp12_commitCount = _this__u8e3s4.
|
|
44
|
-
var tmp13_name = _this__u8e3s4.
|
|
45
|
-
var tmp14_integrationDateTime = _this__u8e3s4.
|
|
39
|
+
var tmp8_semver = _this__u8e3s4.i6x_1;
|
|
40
|
+
var tmp9_label = label == null ? _this__u8e3s4.j6x_1 : label;
|
|
41
|
+
var tmp10_firstCommit = _this__u8e3s4.b6x_1;
|
|
42
|
+
var tmp11_firstCommitDateTime = _this__u8e3s4.f6x_1;
|
|
43
|
+
var tmp12_commitCount = _this__u8e3s4.d6x_1;
|
|
44
|
+
var tmp13_name = _this__u8e3s4.k6x_1;
|
|
45
|
+
var tmp14_integrationDateTime = _this__u8e3s4.l6x_1;
|
|
46
46
|
return new (ContributionInput())(tmp2_contributionId, tmp3_participantEmails, tmp4_hash, tmp5_dateTime, tmp6_ease, tmp7_story, link, tmp8_semver, tmp9_label, tmp10_firstCommit, tmp11_firstCommitDateTime, tmp14_integrationDateTime, cycleTime, tmp12_commitCount, tmp13_name);
|
|
47
47
|
}
|
|
48
48
|
//region block: exports
|
|
@@ -46,24 +46,24 @@ import { joinToString1cxrrlmo0chqs as joinToString } from '../../../../../../kot
|
|
|
46
46
|
//endregion
|
|
47
47
|
function _get_context__ps0bpe($this) {
|
|
48
48
|
var tmp = KProperty1();
|
|
49
|
-
return $this.
|
|
49
|
+
return $this.b74_1.zp($this, getPropertyCallableRef('context', 1, tmp, CurrentPairs$_get_context_$ref_mnrr03(), null));
|
|
50
50
|
}
|
|
51
51
|
function _get_partyId__g79dgw($this) {
|
|
52
52
|
var tmp = KProperty1();
|
|
53
|
-
return $this.
|
|
53
|
+
return $this.c74_1.zp($this, getPropertyCallableRef('partyId', 1, tmp, CurrentPairs$_get_partyId_$ref_31zz6j(), null));
|
|
54
54
|
}
|
|
55
55
|
var sam$kotlin_properties_ReadOnlyProperty$0Class;
|
|
56
56
|
function sam$kotlin_properties_ReadOnlyProperty$0() {
|
|
57
57
|
if (sam$kotlin_properties_ReadOnlyProperty$0Class === VOID) {
|
|
58
58
|
class $ {
|
|
59
59
|
constructor(function_0) {
|
|
60
|
-
this.
|
|
60
|
+
this.d74_1 = function_0;
|
|
61
61
|
}
|
|
62
62
|
zp(thisRef, property) {
|
|
63
|
-
return this.
|
|
63
|
+
return this.d74_1(thisRef, property);
|
|
64
64
|
}
|
|
65
65
|
c5() {
|
|
66
|
-
return this.
|
|
66
|
+
return this.d74_1;
|
|
67
67
|
}
|
|
68
68
|
equals(other) {
|
|
69
69
|
var tmp;
|
|
@@ -94,13 +94,13 @@ function sam$kotlin_properties_ReadOnlyProperty$0_0() {
|
|
|
94
94
|
if (sam$kotlin_properties_ReadOnlyProperty$0Class_0 === VOID) {
|
|
95
95
|
class $ {
|
|
96
96
|
constructor(function_0) {
|
|
97
|
-
this.
|
|
97
|
+
this.e74_1 = function_0;
|
|
98
98
|
}
|
|
99
99
|
zp(thisRef, property) {
|
|
100
|
-
return this.
|
|
100
|
+
return this.e74_1(thisRef, property);
|
|
101
101
|
}
|
|
102
102
|
c5() {
|
|
103
|
-
return this.
|
|
103
|
+
return this.e74_1;
|
|
104
104
|
}
|
|
105
105
|
equals(other) {
|
|
106
106
|
var tmp;
|
|
@@ -176,22 +176,22 @@ function CurrentPairs() {
|
|
|
176
176
|
class $ extends SuspendingCliktCommand() {
|
|
177
177
|
constructor(cannon) {
|
|
178
178
|
super('current-pairs');
|
|
179
|
-
this.
|
|
179
|
+
this.a74_1 = cannon;
|
|
180
180
|
var tmp = this;
|
|
181
181
|
// Inline function 'com.github.ajalt.clikt.core.requireObject' call
|
|
182
182
|
var key = 'default_object';
|
|
183
183
|
var tmp_0 = CurrentPairs$context$delegate$lambda(key);
|
|
184
|
-
tmp.
|
|
184
|
+
tmp.b74_1 = new (sam$kotlin_properties_ReadOnlyProperty$0())(tmp_0);
|
|
185
185
|
var tmp_1 = this;
|
|
186
186
|
// Inline function 'com.github.ajalt.clikt.core.requireObject' call
|
|
187
187
|
var tmp_2 = CurrentPairs$partyId$delegate$lambda('partyId');
|
|
188
|
-
tmp_1.
|
|
188
|
+
tmp_1.c74_1 = new (sam$kotlin_properties_ReadOnlyProperty$0_0())(tmp_2);
|
|
189
189
|
}
|
|
190
190
|
*g5i($completion) {
|
|
191
|
-
var tmp0_elvis_lhs = this.
|
|
191
|
+
var tmp0_elvis_lhs = this.a74_1;
|
|
192
192
|
var tmp;
|
|
193
193
|
if (tmp0_elvis_lhs == null) {
|
|
194
|
-
var tmp_0 = _get_context__ps0bpe(this).
|
|
194
|
+
var tmp_0 = _get_context__ps0bpe(this).g74_1;
|
|
195
195
|
tmp = yield* loadSdk(tmp_0, CurrentPairs$echo$ref(this), $completion);
|
|
196
196
|
} else {
|
|
197
197
|
tmp = tmp0_elvis_lhs;
|
|
@@ -203,7 +203,7 @@ function CurrentPairs() {
|
|
|
203
203
|
var tmp5_safe_receiver = tmp4_safe_receiver == null ? null : tmp4_safe_receiver.z5l_1;
|
|
204
204
|
var pairingSet = tmp5_safe_receiver == null ? null : toDomain(tmp5_safe_receiver);
|
|
205
205
|
if (pairingSet == null) {
|
|
206
|
-
throw CliktError().
|
|
206
|
+
throw CliktError().p5x('Party not found.', VOID, VOID, true);
|
|
207
207
|
}
|
|
208
208
|
this.l5t('Current Pairs for Party ID: ' + NotBlankString__toString_impl_5tex9r(_get_partyId__g79dgw(this).u54_1));
|
|
209
209
|
this.l5t('');
|
|
@@ -4,13 +4,13 @@ import { Duration5ynfiptaqcrg as Duration } from '../../../../../../kotlin-kotli
|
|
|
4
4
|
//region block: pre-declaration
|
|
5
5
|
//endregion
|
|
6
6
|
function cycleTimeFromFirstCommit(_this__u8e3s4, contribution, now) {
|
|
7
|
-
var firstCommitDateTime = contribution.
|
|
7
|
+
var firstCommitDateTime = contribution.f6x_1;
|
|
8
8
|
var tmp;
|
|
9
9
|
if (firstCommitDateTime == null) {
|
|
10
10
|
_this__u8e3s4.l5t('Warning: could not calculate cycle time from missing firstCommitDateTime');
|
|
11
11
|
tmp = null;
|
|
12
12
|
} else {
|
|
13
|
-
var tmp0_elvis_lhs = contribution.
|
|
13
|
+
var tmp0_elvis_lhs = contribution.l6x_1;
|
|
14
14
|
var tmp1_safe_receiver = tmp0_elvis_lhs == null ? now : tmp0_elvis_lhs;
|
|
15
15
|
var tmp_0;
|
|
16
16
|
if (tmp1_safe_receiver == null) {
|