git-digger 2.4.0 → 2.4.1
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/clikt-clikt-mordant.js +87 -87
- package/kotlin/clikt-clikt.js +1365 -1365
- package/kotlin/colormath-root-colormath.js +458 -458
- package/kotlin/command-line-tools-digger-cli.js +110 -110
- package/kotlin/kotlin-kotlin-stdlib.js +162 -161
- package/kotlin/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +1492 -1500
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1828 -1488
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
- package/kotlin/mordant-mordant.js +1245 -1245
- package/kotlin/tools-cli-tools.js +1 -1
- package/kotlin/tools-digger-core.js +23 -23
- package/kotlin/tools-digger-json.js +155 -155
- package/kotlin/tools-digger-json.js.map +1 -1
- package/kotlin/tools-digger-model.js +7 -7
- package/kotlin/tools-git-adapter.js +14 -14
- package/package.json +1 -1
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
//region block: imports
|
|
4
4
|
var imul = Math.imul;
|
|
5
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
6
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
7
|
-
var KProperty1 = kotlin_kotlin.$_$.
|
|
8
|
-
var getPropertyCallableRef = kotlin_kotlin.$_$.
|
|
9
|
-
var split = kotlin_kotlin.$_$.
|
|
5
|
+
var protoOf = kotlin_kotlin.$_$.ea;
|
|
6
|
+
var initMetadataForObject = kotlin_kotlin.$_$.l9;
|
|
7
|
+
var KProperty1 = kotlin_kotlin.$_$.za;
|
|
8
|
+
var getPropertyCallableRef = kotlin_kotlin.$_$.d9;
|
|
9
|
+
var split = kotlin_kotlin.$_$.pc;
|
|
10
10
|
var lastOrNull = kotlin_kotlin.$_$.b6;
|
|
11
|
-
var isBlank = kotlin_kotlin.$_$.
|
|
11
|
+
var isBlank = kotlin_kotlin.$_$.cc;
|
|
12
12
|
var Regex_init_$Create$ = kotlin_kotlin.$_$.n1;
|
|
13
13
|
var Defaults_getInstance = kotlin_com_zegreatrob_tools_digger_core.$_$.c;
|
|
14
14
|
var GitAdapter = kotlin_com_zegreatrob_tools_git_adapter.$_$.a;
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
var option = kotlin_clikt_clikt.$_$.k;
|
|
21
21
|
var default_0 = kotlin_clikt_clikt.$_$.i;
|
|
22
22
|
var mapCapacity = kotlin_kotlin.$_$.h6;
|
|
23
|
-
var coerceAtLeast = kotlin_kotlin.$_$.
|
|
23
|
+
var coerceAtLeast = kotlin_kotlin.$_$.la;
|
|
24
24
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.i1;
|
|
25
25
|
var Unit_instance = kotlin_kotlin.$_$.v;
|
|
26
26
|
var VOID = kotlin_kotlin.$_$.c;
|
|
@@ -28,31 +28,31 @@
|
|
|
28
28
|
var toJsonString = kotlin_com_zegreatrob_tools_digger_json.$_$.b;
|
|
29
29
|
var Default_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.a;
|
|
30
30
|
var writeToFile = kotlin_com_zegreatrob_tools_cli_tools.$_$.b;
|
|
31
|
-
var noWhenBranchMatchedException = kotlin_kotlin.$_$.
|
|
32
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
31
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.af;
|
|
32
|
+
var initMetadataForClass = kotlin_kotlin.$_$.g9;
|
|
33
33
|
var toJsonString_0 = kotlin_com_zegreatrob_tools_digger_json.$_$.a;
|
|
34
34
|
var PrintMessage = kotlin_clikt_clikt.$_$.c;
|
|
35
35
|
var setOf = kotlin_kotlin.$_$.u6;
|
|
36
36
|
var eagerOption = kotlin_clikt_clikt.$_$.j;
|
|
37
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
37
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.h9;
|
|
38
38
|
var PluginGeneratedSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.s1;
|
|
39
39
|
var JsonElementSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_json.$_$.b;
|
|
40
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
40
|
+
var THROW_CCE = kotlin_kotlin.$_$.ee;
|
|
41
41
|
var UnknownFieldException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.m;
|
|
42
42
|
var StringSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.k;
|
|
43
43
|
var typeParametersSerializers = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.o1;
|
|
44
44
|
var GeneratedSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.p1;
|
|
45
|
-
var throwMissingFieldException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.
|
|
46
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
47
|
-
var toString = kotlin_kotlin.$_$.
|
|
48
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
49
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
50
|
-
var equals = kotlin_kotlin.$_$.
|
|
45
|
+
var throwMissingFieldException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w1;
|
|
46
|
+
var objectCreate = kotlin_kotlin.$_$.da;
|
|
47
|
+
var toString = kotlin_kotlin.$_$.ga;
|
|
48
|
+
var getStringHashCode = kotlin_kotlin.$_$.e9;
|
|
49
|
+
var hashCode = kotlin_kotlin.$_$.f9;
|
|
50
|
+
var equals = kotlin_kotlin.$_$.a9;
|
|
51
51
|
var SerializableWith = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.b2;
|
|
52
52
|
var platformArgCorrection = kotlin_com_zegreatrob_tools_cli_tools.$_$.a;
|
|
53
53
|
var main = kotlin_clikt_clikt.$_$.d;
|
|
54
54
|
var subcommands = kotlin_clikt_clikt.$_$.f;
|
|
55
|
-
var Enum = kotlin_kotlin.$_$.
|
|
55
|
+
var Enum = kotlin_kotlin.$_$.wd;
|
|
56
56
|
//endregion
|
|
57
57
|
//region block: pre-declaration
|
|
58
58
|
initMetadataForObject(Versions, 'Versions');
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
initMetadataForClass(OutputFormat, 'OutputFormat', VOID, Enum);
|
|
66
66
|
//endregion
|
|
67
67
|
function Versions() {
|
|
68
|
-
this.
|
|
68
|
+
this.r2i_1 = '2.4.1';
|
|
69
69
|
}
|
|
70
70
|
var Versions_instance;
|
|
71
71
|
function Versions_getInstance() {
|
|
@@ -73,47 +73,47 @@
|
|
|
73
73
|
}
|
|
74
74
|
function _get_dir__e67350($this) {
|
|
75
75
|
var tmp = KProperty1;
|
|
76
|
-
return $this.
|
|
76
|
+
return $this.h2j_1.a1v($this, getPropertyCallableRef('dir', 1, tmp, AllContributionData$_get_dir_$ref_wg6jhm_0(), null));
|
|
77
77
|
}
|
|
78
78
|
function _get_outputFile__pta58u($this) {
|
|
79
79
|
var tmp = KProperty1;
|
|
80
|
-
return $this.
|
|
80
|
+
return $this.i2j_1.a1v($this, getPropertyCallableRef('outputFile', 1, tmp, AllContributionData$_get_outputFile_$ref_2u5sp2_0(), null));
|
|
81
81
|
}
|
|
82
82
|
function _get_label__euqgmb($this) {
|
|
83
83
|
var tmp = KProperty1;
|
|
84
|
-
return $this.
|
|
84
|
+
return $this.j2j_1.a1v($this, getPropertyCallableRef('label', 1, tmp, AllContributionData$_get_label_$ref_3wi4kj_0(), null));
|
|
85
85
|
}
|
|
86
86
|
function _get_majorRegex__5j6ypp($this) {
|
|
87
87
|
var tmp = KProperty1;
|
|
88
|
-
return $this.
|
|
88
|
+
return $this.k2j_1.a1v($this, getPropertyCallableRef('majorRegex', 1, tmp, AllContributionData$_get_majorRegex_$ref_1hzqob_0(), null));
|
|
89
89
|
}
|
|
90
90
|
function _get_minorRegex__20z96h($this) {
|
|
91
91
|
var tmp = KProperty1;
|
|
92
|
-
return $this.
|
|
92
|
+
return $this.l2j_1.a1v($this, getPropertyCallableRef('minorRegex', 1, tmp, AllContributionData$_get_minorRegex_$ref_grl9sf_0(), null));
|
|
93
93
|
}
|
|
94
94
|
function _get_patchRegex__mtlu2c($this) {
|
|
95
95
|
var tmp = KProperty1;
|
|
96
|
-
return $this.
|
|
96
|
+
return $this.m2j_1.a1v($this, getPropertyCallableRef('patchRegex', 1, tmp, AllContributionData$_get_patchRegex_$ref_c7qjno_0(), null));
|
|
97
97
|
}
|
|
98
98
|
function _get_noneRegex__1tdbgi($this) {
|
|
99
99
|
var tmp = KProperty1;
|
|
100
|
-
return $this.
|
|
100
|
+
return $this.n2j_1.a1v($this, getPropertyCallableRef('noneRegex', 1, tmp, AllContributionData$_get_noneRegex_$ref_zhv3p4_0(), null));
|
|
101
101
|
}
|
|
102
102
|
function _get_storyIdRegex__auqux8($this) {
|
|
103
103
|
var tmp = KProperty1;
|
|
104
|
-
return $this.
|
|
104
|
+
return $this.o2j_1.a1v($this, getPropertyCallableRef('storyIdRegex', 1, tmp, AllContributionData$_get_storyIdRegex_$ref_5u1ovg_0(), null));
|
|
105
105
|
}
|
|
106
106
|
function _get_easeRegex__pf594o($this) {
|
|
107
107
|
var tmp = KProperty1;
|
|
108
|
-
return $this.
|
|
108
|
+
return $this.p2j_1.a1v($this, getPropertyCallableRef('easeRegex', 1, tmp, AllContributionData$_get_easeRegex_$ref_np9uma_0(), null));
|
|
109
109
|
}
|
|
110
110
|
function _get_tagRegex__ibn0wy($this) {
|
|
111
111
|
var tmp = KProperty1;
|
|
112
|
-
return $this.
|
|
112
|
+
return $this.q2j_1.a1v($this, getPropertyCallableRef('tagRegex', 1, tmp, AllContributionData$_get_tagRegex_$ref_cls7rq_0(), null));
|
|
113
113
|
}
|
|
114
114
|
function _get_format__qlarck($this) {
|
|
115
115
|
var tmp = KProperty1;
|
|
116
|
-
return $this.
|
|
116
|
+
return $this.r2j_1.a1v($this, getPropertyCallableRef('format', 1, tmp, AllContributionData$_get_format_$ref_cn6yng_0(), null));
|
|
117
117
|
}
|
|
118
118
|
function _get_core__d4zfrg($this) {
|
|
119
119
|
// Inline function 'kotlin.text.ifBlank' call
|
|
@@ -313,43 +313,43 @@
|
|
|
313
313
|
var tmp = this;
|
|
314
314
|
var tmp_0 = argument(this, 'git-repo');
|
|
315
315
|
var tmp_1 = KProperty1;
|
|
316
|
-
tmp.
|
|
316
|
+
tmp.h2j_1 = tmp_0.c1v(this, getPropertyCallableRef('dir', 1, tmp_1, AllContributionData$_get_dir_$ref_wg6jhm(), null));
|
|
317
317
|
var tmp_2 = this;
|
|
318
318
|
var tmp_3 = default_0(option(this, []), 'allContributionData.json');
|
|
319
319
|
var tmp_4 = KProperty1;
|
|
320
|
-
tmp_2.
|
|
320
|
+
tmp_2.i2j_1 = tmp_3.n1v(this, getPropertyCallableRef('outputFile', 1, tmp_4, AllContributionData$_get_outputFile_$ref_2u5sp2(), null));
|
|
321
321
|
var tmp_5 = this;
|
|
322
322
|
var tmp_6 = default_0(option(this, []), '');
|
|
323
323
|
var tmp_7 = KProperty1;
|
|
324
|
-
tmp_5.
|
|
324
|
+
tmp_5.j2j_1 = tmp_6.n1v(this, getPropertyCallableRef('label', 1, tmp_7, AllContributionData$_get_label_$ref_3wi4kj(), null));
|
|
325
325
|
var tmp_8 = this;
|
|
326
326
|
var tmp_9 = option(this, []);
|
|
327
327
|
var tmp_10 = KProperty1;
|
|
328
|
-
tmp_8.
|
|
328
|
+
tmp_8.k2j_1 = tmp_9.n1v(this, getPropertyCallableRef('majorRegex', 1, tmp_10, AllContributionData$_get_majorRegex_$ref_1hzqob(), null));
|
|
329
329
|
var tmp_11 = this;
|
|
330
330
|
var tmp_12 = option(this, []);
|
|
331
331
|
var tmp_13 = KProperty1;
|
|
332
|
-
tmp_11.
|
|
332
|
+
tmp_11.l2j_1 = tmp_12.n1v(this, getPropertyCallableRef('minorRegex', 1, tmp_13, AllContributionData$_get_minorRegex_$ref_grl9sf(), null));
|
|
333
333
|
var tmp_14 = this;
|
|
334
334
|
var tmp_15 = option(this, []);
|
|
335
335
|
var tmp_16 = KProperty1;
|
|
336
|
-
tmp_14.
|
|
336
|
+
tmp_14.m2j_1 = tmp_15.n1v(this, getPropertyCallableRef('patchRegex', 1, tmp_16, AllContributionData$_get_patchRegex_$ref_c7qjno(), null));
|
|
337
337
|
var tmp_17 = this;
|
|
338
338
|
var tmp_18 = option(this, []);
|
|
339
339
|
var tmp_19 = KProperty1;
|
|
340
|
-
tmp_17.
|
|
340
|
+
tmp_17.n2j_1 = tmp_18.n1v(this, getPropertyCallableRef('noneRegex', 1, tmp_19, AllContributionData$_get_noneRegex_$ref_zhv3p4(), null));
|
|
341
341
|
var tmp_20 = this;
|
|
342
342
|
var tmp_21 = option(this, []);
|
|
343
343
|
var tmp_22 = KProperty1;
|
|
344
|
-
tmp_20.
|
|
344
|
+
tmp_20.o2j_1 = tmp_21.n1v(this, getPropertyCallableRef('storyIdRegex', 1, tmp_22, AllContributionData$_get_storyIdRegex_$ref_5u1ovg(), null));
|
|
345
345
|
var tmp_23 = this;
|
|
346
346
|
var tmp_24 = option(this, []);
|
|
347
347
|
var tmp_25 = KProperty1;
|
|
348
|
-
tmp_23.
|
|
348
|
+
tmp_23.p2j_1 = tmp_24.n1v(this, getPropertyCallableRef('easeRegex', 1, tmp_25, AllContributionData$_get_easeRegex_$ref_np9uma(), null));
|
|
349
349
|
var tmp_26 = this;
|
|
350
350
|
var tmp_27 = option(this, []);
|
|
351
351
|
var tmp_28 = KProperty1;
|
|
352
|
-
tmp_26.
|
|
352
|
+
tmp_26.q2j_1 = tmp_27.n1v(this, getPropertyCallableRef('tagRegex', 1, tmp_28, AllContributionData$_get_tagRegex_$ref_cls7rq(), null));
|
|
353
353
|
var tmp_29 = this;
|
|
354
354
|
// Inline function 'com.github.ajalt.clikt.parameters.types.enum' call
|
|
355
355
|
var this_0 = option(this, ['--format'], 'Output format: text (writes to file, default) or json (stdout)');
|
|
@@ -372,20 +372,20 @@
|
|
|
372
372
|
var tmp$ret$0 = choice(this_0, destination, VOID, true);
|
|
373
373
|
var tmp_30 = default_0(tmp$ret$0, OutputFormat_TEXT_getInstance());
|
|
374
374
|
var tmp_31 = KProperty1;
|
|
375
|
-
tmp_29.
|
|
375
|
+
tmp_29.r2j_1 = tmp_30.n1v(this, getPropertyCallableRef('format', 1, tmp_31, AllContributionData$_get_format_$ref_cn6yng(), null));
|
|
376
376
|
}
|
|
377
|
-
protoOf(AllContributionData).
|
|
377
|
+
protoOf(AllContributionData).l1m = function () {
|
|
378
378
|
var jsonString = toJsonString(_get_core__d4zfrg(this).bn());
|
|
379
379
|
switch (_get_format__qlarck(this).y2_1) {
|
|
380
380
|
case 1:
|
|
381
|
-
var dataElement = Default_getInstance().
|
|
382
|
-
this.
|
|
381
|
+
var dataElement = Default_getInstance().j16(jsonString);
|
|
382
|
+
this.a1l(successResponse(dataElement));
|
|
383
383
|
break;
|
|
384
384
|
case 0:
|
|
385
385
|
writeToFile(jsonString, _get_outputFile__pta58u(this));
|
|
386
386
|
// Inline function 'kotlin.also' call
|
|
387
387
|
|
|
388
|
-
this.
|
|
388
|
+
this.a1l('Data written to ' + _get_outputFile__pta58u(this));
|
|
389
389
|
break;
|
|
390
390
|
default:
|
|
391
391
|
noWhenBranchMatchedException();
|
|
@@ -394,47 +394,47 @@
|
|
|
394
394
|
};
|
|
395
395
|
function _get_dir__e67350_0($this) {
|
|
396
396
|
var tmp = KProperty1;
|
|
397
|
-
return $this.
|
|
397
|
+
return $this.h2k_1.a1v($this, getPropertyCallableRef('dir', 1, tmp, CurrentContributionData$_get_dir_$ref_bhrf2a_0(), null));
|
|
398
398
|
}
|
|
399
399
|
function _get_outputFile__pta58u_0($this) {
|
|
400
400
|
var tmp = KProperty1;
|
|
401
|
-
return $this.
|
|
401
|
+
return $this.i2k_1.a1v($this, getPropertyCallableRef('outputFile', 1, tmp, CurrentContributionData$_get_outputFile_$ref_rovsk2_0(), null));
|
|
402
402
|
}
|
|
403
403
|
function _get_label__euqgmb_0($this) {
|
|
404
404
|
var tmp = KProperty1;
|
|
405
|
-
return $this.
|
|
405
|
+
return $this.j2k_1.a1v($this, getPropertyCallableRef('label', 1, tmp, CurrentContributionData$_get_label_$ref_x6bhqd_0(), null));
|
|
406
406
|
}
|
|
407
407
|
function _get_majorRegex__5j6ypp_0($this) {
|
|
408
408
|
var tmp = KProperty1;
|
|
409
|
-
return $this.
|
|
409
|
+
return $this.k2k_1.a1v($this, getPropertyCallableRef('majorRegex', 1, tmp, CurrentContributionData$_get_majorRegex_$ref_w11bxf_0(), null));
|
|
410
410
|
}
|
|
411
411
|
function _get_minorRegex__20z96h_0($this) {
|
|
412
412
|
var tmp = KProperty1;
|
|
413
|
-
return $this.
|
|
413
|
+
return $this.l2k_1.a1v($this, getPropertyCallableRef('minorRegex', 1, tmp, CurrentContributionData$_get_minorRegex_$ref_nqh6xl_0(), null));
|
|
414
414
|
}
|
|
415
415
|
function _get_patchRegex__mtlu2c_0($this) {
|
|
416
416
|
var tmp = KProperty1;
|
|
417
|
-
return $this.
|
|
417
|
+
return $this.m2k_1.a1v($this, getPropertyCallableRef('patchRegex', 1, tmp, CurrentContributionData$_get_patchRegex_$ref_ibb1lg_0(), null));
|
|
418
418
|
}
|
|
419
419
|
function _get_noneRegex__1tdbgi_0($this) {
|
|
420
420
|
var tmp = KProperty1;
|
|
421
|
-
return $this.
|
|
421
|
+
return $this.n2k_1.a1v($this, getPropertyCallableRef('noneRegex', 1, tmp, CurrentContributionData$_get_noneRegex_$ref_4ehpk0_0(), null));
|
|
422
422
|
}
|
|
423
423
|
function _get_storyIdRegex__auqux8_0($this) {
|
|
424
424
|
var tmp = KProperty1;
|
|
425
|
-
return $this.
|
|
425
|
+
return $this.o2k_1.a1v($this, getPropertyCallableRef('storyIdRegex', 1, tmp, CurrentContributionData$_get_storyIdRegex_$ref_3840gk_0(), null));
|
|
426
426
|
}
|
|
427
427
|
function _get_easeRegex__pf594o_0($this) {
|
|
428
428
|
var tmp = KProperty1;
|
|
429
|
-
return $this.
|
|
429
|
+
return $this.p2k_1.a1v($this, getPropertyCallableRef('easeRegex', 1, tmp, CurrentContributionData$_get_easeRegex_$ref_7e3jiu_0(), null));
|
|
430
430
|
}
|
|
431
431
|
function _get_tagRegex__ibn0wy_0($this) {
|
|
432
432
|
var tmp = KProperty1;
|
|
433
|
-
return $this.
|
|
433
|
+
return $this.q2k_1.a1v($this, getPropertyCallableRef('tagRegex', 1, tmp, CurrentContributionData$_get_tagRegex_$ref_bbekxq_0(), null));
|
|
434
434
|
}
|
|
435
435
|
function _get_format__qlarck_0($this) {
|
|
436
436
|
var tmp = KProperty1;
|
|
437
|
-
return $this.
|
|
437
|
+
return $this.r2k_1.a1v($this, getPropertyCallableRef('format', 1, tmp, CurrentContributionData$_get_format_$ref_aid4c_0(), null));
|
|
438
438
|
}
|
|
439
439
|
function _get_core__d4zfrg_0($this) {
|
|
440
440
|
// Inline function 'kotlin.text.ifBlank' call
|
|
@@ -633,43 +633,43 @@
|
|
|
633
633
|
var tmp = this;
|
|
634
634
|
var tmp_0 = argument(this, 'git-repo');
|
|
635
635
|
var tmp_1 = KProperty1;
|
|
636
|
-
tmp.
|
|
636
|
+
tmp.h2k_1 = tmp_0.c1v(this, getPropertyCallableRef('dir', 1, tmp_1, CurrentContributionData$_get_dir_$ref_bhrf2a(), null));
|
|
637
637
|
var tmp_2 = this;
|
|
638
638
|
var tmp_3 = default_0(option(this, []), 'currentContributionData.json');
|
|
639
639
|
var tmp_4 = KProperty1;
|
|
640
|
-
tmp_2.
|
|
640
|
+
tmp_2.i2k_1 = tmp_3.n1v(this, getPropertyCallableRef('outputFile', 1, tmp_4, CurrentContributionData$_get_outputFile_$ref_rovsk2(), null));
|
|
641
641
|
var tmp_5 = this;
|
|
642
642
|
var tmp_6 = default_0(option(this, []), '');
|
|
643
643
|
var tmp_7 = KProperty1;
|
|
644
|
-
tmp_5.
|
|
644
|
+
tmp_5.j2k_1 = tmp_6.n1v(this, getPropertyCallableRef('label', 1, tmp_7, CurrentContributionData$_get_label_$ref_x6bhqd(), null));
|
|
645
645
|
var tmp_8 = this;
|
|
646
646
|
var tmp_9 = option(this, []);
|
|
647
647
|
var tmp_10 = KProperty1;
|
|
648
|
-
tmp_8.
|
|
648
|
+
tmp_8.k2k_1 = tmp_9.n1v(this, getPropertyCallableRef('majorRegex', 1, tmp_10, CurrentContributionData$_get_majorRegex_$ref_w11bxf(), null));
|
|
649
649
|
var tmp_11 = this;
|
|
650
650
|
var tmp_12 = option(this, []);
|
|
651
651
|
var tmp_13 = KProperty1;
|
|
652
|
-
tmp_11.
|
|
652
|
+
tmp_11.l2k_1 = tmp_12.n1v(this, getPropertyCallableRef('minorRegex', 1, tmp_13, CurrentContributionData$_get_minorRegex_$ref_nqh6xl(), null));
|
|
653
653
|
var tmp_14 = this;
|
|
654
654
|
var tmp_15 = option(this, []);
|
|
655
655
|
var tmp_16 = KProperty1;
|
|
656
|
-
tmp_14.
|
|
656
|
+
tmp_14.m2k_1 = tmp_15.n1v(this, getPropertyCallableRef('patchRegex', 1, tmp_16, CurrentContributionData$_get_patchRegex_$ref_ibb1lg(), null));
|
|
657
657
|
var tmp_17 = this;
|
|
658
658
|
var tmp_18 = option(this, []);
|
|
659
659
|
var tmp_19 = KProperty1;
|
|
660
|
-
tmp_17.
|
|
660
|
+
tmp_17.n2k_1 = tmp_18.n1v(this, getPropertyCallableRef('noneRegex', 1, tmp_19, CurrentContributionData$_get_noneRegex_$ref_4ehpk0(), null));
|
|
661
661
|
var tmp_20 = this;
|
|
662
662
|
var tmp_21 = option(this, []);
|
|
663
663
|
var tmp_22 = KProperty1;
|
|
664
|
-
tmp_20.
|
|
664
|
+
tmp_20.o2k_1 = tmp_21.n1v(this, getPropertyCallableRef('storyIdRegex', 1, tmp_22, CurrentContributionData$_get_storyIdRegex_$ref_3840gk(), null));
|
|
665
665
|
var tmp_23 = this;
|
|
666
666
|
var tmp_24 = option(this, []);
|
|
667
667
|
var tmp_25 = KProperty1;
|
|
668
|
-
tmp_23.
|
|
668
|
+
tmp_23.p2k_1 = tmp_24.n1v(this, getPropertyCallableRef('easeRegex', 1, tmp_25, CurrentContributionData$_get_easeRegex_$ref_7e3jiu(), null));
|
|
669
669
|
var tmp_26 = this;
|
|
670
670
|
var tmp_27 = option(this, []);
|
|
671
671
|
var tmp_28 = KProperty1;
|
|
672
|
-
tmp_26.
|
|
672
|
+
tmp_26.q2k_1 = tmp_27.n1v(this, getPropertyCallableRef('tagRegex', 1, tmp_28, CurrentContributionData$_get_tagRegex_$ref_bbekxq(), null));
|
|
673
673
|
var tmp_29 = this;
|
|
674
674
|
// Inline function 'com.github.ajalt.clikt.parameters.types.enum' call
|
|
675
675
|
var this_0 = option(this, ['--format'], 'Output format: text (writes to file, default) or json (stdout)');
|
|
@@ -692,20 +692,20 @@
|
|
|
692
692
|
var tmp$ret$0 = choice(this_0, destination, VOID, true);
|
|
693
693
|
var tmp_30 = default_0(tmp$ret$0, OutputFormat_TEXT_getInstance());
|
|
694
694
|
var tmp_31 = KProperty1;
|
|
695
|
-
tmp_29.
|
|
695
|
+
tmp_29.r2k_1 = tmp_30.n1v(this, getPropertyCallableRef('format', 1, tmp_31, CurrentContributionData$_get_format_$ref_aid4c(), null));
|
|
696
696
|
}
|
|
697
|
-
protoOf(CurrentContributionData).
|
|
697
|
+
protoOf(CurrentContributionData).l1m = function () {
|
|
698
698
|
var jsonString = toJsonString_0(_get_core__d4zfrg_0(this).an());
|
|
699
699
|
switch (_get_format__qlarck_0(this).y2_1) {
|
|
700
700
|
case 1:
|
|
701
|
-
var dataElement = Default_getInstance().
|
|
702
|
-
this.
|
|
701
|
+
var dataElement = Default_getInstance().j16(jsonString);
|
|
702
|
+
this.a1l(successResponse(dataElement));
|
|
703
703
|
break;
|
|
704
704
|
case 0:
|
|
705
705
|
writeToFile(jsonString, _get_outputFile__pta58u_0(this));
|
|
706
706
|
// Inline function 'kotlin.also' call
|
|
707
707
|
|
|
708
|
-
this.
|
|
708
|
+
this.a1l('Data written to ' + _get_outputFile__pta58u_0(this));
|
|
709
709
|
break;
|
|
710
710
|
default:
|
|
711
711
|
noWhenBranchMatchedException();
|
|
@@ -715,24 +715,24 @@
|
|
|
715
715
|
function Digger$lambda($version, $this) {
|
|
716
716
|
return function ($this$eagerOption) {
|
|
717
717
|
var it = $version;
|
|
718
|
-
var tmp$ret$0 = $this.
|
|
718
|
+
var tmp$ret$0 = $this.t1h_1 + ' version ' + it;
|
|
719
719
|
throw new PrintMessage(tmp$ret$0);
|
|
720
720
|
};
|
|
721
721
|
}
|
|
722
722
|
function Digger() {
|
|
723
723
|
CliktCommand.call(this);
|
|
724
724
|
// Inline function 'com.github.ajalt.clikt.parameters.options.versionOption' call
|
|
725
|
-
var version = Versions_instance.
|
|
725
|
+
var version = Versions_instance.r2i_1;
|
|
726
726
|
var help = 'Show the version and exit';
|
|
727
727
|
var names = setOf('--version');
|
|
728
728
|
eagerOption(this, names, help, VOID, VOID, VOID, Digger$lambda(version, this));
|
|
729
729
|
}
|
|
730
|
-
protoOf(Digger).
|
|
731
|
-
this.
|
|
730
|
+
protoOf(Digger).l1m = function () {
|
|
731
|
+
this.a1l('Welcome to Digger CLI.');
|
|
732
732
|
};
|
|
733
733
|
function Companion() {
|
|
734
734
|
}
|
|
735
|
-
protoOf(Companion).
|
|
735
|
+
protoOf(Companion).a18 = function () {
|
|
736
736
|
return $serializer_getInstance();
|
|
737
737
|
};
|
|
738
738
|
var Companion_instance;
|
|
@@ -742,59 +742,59 @@
|
|
|
742
742
|
function $serializer() {
|
|
743
743
|
$serializer_instance = this;
|
|
744
744
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('com.zegreatrob.tools.digger.cli.SuccessResponse', this, 2);
|
|
745
|
-
tmp0_serialDesc.
|
|
746
|
-
tmp0_serialDesc.
|
|
747
|
-
this.
|
|
748
|
-
}
|
|
749
|
-
protoOf($serializer).
|
|
750
|
-
var tmp0_desc = this.
|
|
751
|
-
var tmp1_output = encoder.
|
|
752
|
-
tmp1_output.
|
|
753
|
-
tmp1_output.
|
|
754
|
-
tmp1_output.
|
|
745
|
+
tmp0_serialDesc.px('status', false);
|
|
746
|
+
tmp0_serialDesc.px('data', false);
|
|
747
|
+
this.h2l_1 = tmp0_serialDesc;
|
|
748
|
+
}
|
|
749
|
+
protoOf($serializer).i2l = function (encoder, value) {
|
|
750
|
+
var tmp0_desc = this.h2l_1;
|
|
751
|
+
var tmp1_output = encoder.gq(tmp0_desc);
|
|
752
|
+
tmp1_output.ur(tmp0_desc, 0, value.j2l_1);
|
|
753
|
+
tmp1_output.wr(tmp0_desc, 1, JsonElementSerializer_getInstance(), value.k2l_1);
|
|
754
|
+
tmp1_output.hq(tmp0_desc);
|
|
755
755
|
};
|
|
756
756
|
protoOf($serializer).jn = function (encoder, value) {
|
|
757
|
-
return this.
|
|
757
|
+
return this.i2l(encoder, value instanceof SuccessResponse ? value : THROW_CCE());
|
|
758
758
|
};
|
|
759
759
|
protoOf($serializer).kn = function (decoder) {
|
|
760
|
-
var tmp0_desc = this.
|
|
760
|
+
var tmp0_desc = this.h2l_1;
|
|
761
761
|
var tmp1_flag = true;
|
|
762
762
|
var tmp2_index = 0;
|
|
763
763
|
var tmp3_bitMask0 = 0;
|
|
764
764
|
var tmp4_local0 = null;
|
|
765
765
|
var tmp5_local1 = null;
|
|
766
|
-
var tmp6_input = decoder.
|
|
767
|
-
if (tmp6_input.
|
|
768
|
-
tmp4_local0 = tmp6_input.
|
|
766
|
+
var tmp6_input = decoder.gq(tmp0_desc);
|
|
767
|
+
if (tmp6_input.wq()) {
|
|
768
|
+
tmp4_local0 = tmp6_input.qq(tmp0_desc, 0);
|
|
769
769
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
770
|
-
tmp5_local1 = tmp6_input.
|
|
770
|
+
tmp5_local1 = tmp6_input.sq(tmp0_desc, 1, JsonElementSerializer_getInstance(), tmp5_local1);
|
|
771
771
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
772
772
|
} else
|
|
773
773
|
while (tmp1_flag) {
|
|
774
|
-
tmp2_index = tmp6_input.
|
|
774
|
+
tmp2_index = tmp6_input.xq(tmp0_desc);
|
|
775
775
|
switch (tmp2_index) {
|
|
776
776
|
case -1:
|
|
777
777
|
tmp1_flag = false;
|
|
778
778
|
break;
|
|
779
779
|
case 0:
|
|
780
|
-
tmp4_local0 = tmp6_input.
|
|
780
|
+
tmp4_local0 = tmp6_input.qq(tmp0_desc, 0);
|
|
781
781
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
782
782
|
break;
|
|
783
783
|
case 1:
|
|
784
|
-
tmp5_local1 = tmp6_input.
|
|
784
|
+
tmp5_local1 = tmp6_input.sq(tmp0_desc, 1, JsonElementSerializer_getInstance(), tmp5_local1);
|
|
785
785
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
786
786
|
break;
|
|
787
787
|
default:
|
|
788
788
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
789
789
|
}
|
|
790
790
|
}
|
|
791
|
-
tmp6_input.
|
|
791
|
+
tmp6_input.hq(tmp0_desc);
|
|
792
792
|
return SuccessResponse_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
793
793
|
};
|
|
794
794
|
protoOf($serializer).in = function () {
|
|
795
|
-
return this.
|
|
795
|
+
return this.h2l_1;
|
|
796
796
|
};
|
|
797
|
-
protoOf($serializer).
|
|
797
|
+
protoOf($serializer).rx = function () {
|
|
798
798
|
// Inline function 'kotlin.arrayOf' call
|
|
799
799
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
800
800
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -808,25 +808,25 @@
|
|
|
808
808
|
}
|
|
809
809
|
function SuccessResponse_init_$Init$(seen0, status, data, serializationConstructorMarker, $this) {
|
|
810
810
|
if (!(3 === (3 & seen0))) {
|
|
811
|
-
throwMissingFieldException(seen0, 3, $serializer_getInstance().
|
|
811
|
+
throwMissingFieldException(seen0, 3, $serializer_getInstance().h2l_1);
|
|
812
812
|
}
|
|
813
|
-
$this.
|
|
814
|
-
$this.
|
|
813
|
+
$this.j2l_1 = status;
|
|
814
|
+
$this.k2l_1 = data;
|
|
815
815
|
return $this;
|
|
816
816
|
}
|
|
817
817
|
function SuccessResponse_init_$Create$(seen0, status, data, serializationConstructorMarker) {
|
|
818
818
|
return SuccessResponse_init_$Init$(seen0, status, data, serializationConstructorMarker, objectCreate(protoOf(SuccessResponse)));
|
|
819
819
|
}
|
|
820
820
|
function SuccessResponse(status, data) {
|
|
821
|
-
this.
|
|
822
|
-
this.
|
|
821
|
+
this.j2l_1 = status;
|
|
822
|
+
this.k2l_1 = data;
|
|
823
823
|
}
|
|
824
824
|
protoOf(SuccessResponse).toString = function () {
|
|
825
|
-
return 'SuccessResponse(status=' + this.
|
|
825
|
+
return 'SuccessResponse(status=' + this.j2l_1 + ', data=' + toString(this.k2l_1) + ')';
|
|
826
826
|
};
|
|
827
827
|
protoOf(SuccessResponse).hashCode = function () {
|
|
828
|
-
var result = getStringHashCode(this.
|
|
829
|
-
result = imul(result, 31) + hashCode(this.
|
|
828
|
+
var result = getStringHashCode(this.j2l_1);
|
|
829
|
+
result = imul(result, 31) + hashCode(this.k2l_1) | 0;
|
|
830
830
|
return result;
|
|
831
831
|
};
|
|
832
832
|
protoOf(SuccessResponse).equals = function (other) {
|
|
@@ -834,14 +834,14 @@
|
|
|
834
834
|
return true;
|
|
835
835
|
if (!(other instanceof SuccessResponse))
|
|
836
836
|
return false;
|
|
837
|
-
if (!(this.
|
|
837
|
+
if (!(this.j2l_1 === other.j2l_1))
|
|
838
838
|
return false;
|
|
839
|
-
if (!equals(this.
|
|
839
|
+
if (!equals(this.k2l_1, other.k2l_1))
|
|
840
840
|
return false;
|
|
841
841
|
return true;
|
|
842
842
|
};
|
|
843
843
|
function successResponse(data) {
|
|
844
|
-
return Default_getInstance().
|
|
844
|
+
return Default_getInstance().h16(Companion_instance.a18(), new SuccessResponse('success', data));
|
|
845
845
|
}
|
|
846
846
|
function main_0(args) {
|
|
847
847
|
return main(cli(), platformArgCorrection(args));
|
|
@@ -877,7 +877,7 @@
|
|
|
877
877
|
return OutputFormat_JSON_instance;
|
|
878
878
|
}
|
|
879
879
|
//region block: post-declaration
|
|
880
|
-
protoOf($serializer).
|
|
880
|
+
protoOf($serializer).sx = typeParametersSerializers;
|
|
881
881
|
//endregion
|
|
882
882
|
//region block: init
|
|
883
883
|
Versions_instance = new Versions();
|