mrs-toolbox-cli 0.0.128 → 0.0.129
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/clikt-clikt.js +1121 -1121
- package/colormath-root-colormath.js +375 -375
- package/com.mrs.platform.configuration.dto.js +660 -624
- package/com.mrs.platform.configuration.dto.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +14 -14
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin-logging-js-ir.js +34 -34
- package/ktor-ktor-client-content-negotiation.js +125 -125
- package/ktor-ktor-client-core.js +1408 -1408
- package/ktor-ktor-events.js +4 -4
- package/markdown.js +1795 -1795
- package/mordant-mordant.js +1634 -1634
- package/mrs-toolbox-cli.d.ts +9 -9
- package/mrs-toolbox-cli.js +63 -63
- package/package.json +1 -1
- package/toolbox.js +2371 -2371
package/mrs-toolbox-cli.d.ts
CHANGED
|
@@ -1571,6 +1571,8 @@ export declare namespace dto.query {
|
|
|
1571
1571
|
constructor();
|
|
1572
1572
|
get type(): dto.query.QueryType;
|
|
1573
1573
|
set type(value: dto.query.QueryType);
|
|
1574
|
+
get name(): string;
|
|
1575
|
+
set name(value: string);
|
|
1574
1576
|
get query(): Array<dto.query.RealmQuery>;
|
|
1575
1577
|
set query(value: Array<dto.query.RealmQuery>);
|
|
1576
1578
|
get pagination(): Nullable<dto.query.Pagination>;
|
|
@@ -1586,20 +1588,16 @@ export declare namespace dto.query {
|
|
|
1586
1588
|
export declare namespace dto.query {
|
|
1587
1589
|
abstract class QueryType {
|
|
1588
1590
|
private constructor();
|
|
1589
|
-
static get user(): dto.query.QueryType & {
|
|
1590
|
-
get name(): "user";
|
|
1591
|
-
get ordinal(): 0;
|
|
1592
|
-
};
|
|
1593
1591
|
static get formInstance(): dto.query.QueryType & {
|
|
1594
1592
|
get name(): "formInstance";
|
|
1595
|
-
get ordinal():
|
|
1593
|
+
get ordinal(): 0;
|
|
1596
1594
|
};
|
|
1597
1595
|
static get dictionary(): dto.query.QueryType & {
|
|
1598
1596
|
get name(): "dictionary";
|
|
1599
|
-
get ordinal():
|
|
1597
|
+
get ordinal(): 1;
|
|
1600
1598
|
};
|
|
1601
|
-
get name(): "
|
|
1602
|
-
get ordinal(): 0 | 1
|
|
1599
|
+
get name(): "formInstance" | "dictionary";
|
|
1600
|
+
get ordinal(): 0 | 1;
|
|
1603
1601
|
get code(): string;
|
|
1604
1602
|
static values(): Array<dto.query.QueryType>;
|
|
1605
1603
|
static valueOf(value: string): dto.query.QueryType;
|
|
@@ -1801,7 +1799,7 @@ export declare namespace dto.view {
|
|
|
1801
1799
|
}
|
|
1802
1800
|
export declare namespace dto.view {
|
|
1803
1801
|
class ViewDTO implements dto.view.Query, dto.WithName {
|
|
1804
|
-
constructor(viewType: dto.view.ViewType, settings: Nullable<kotlin.collections.KtMap<string, any/* kotlinx.serialization.json.JsonElement */>>/* Nullable<kotlinx.serialization.json.JsonObject> */ | undefined, forCreate: Nullable<dto.view.creation.ForCreate> | undefined, creationList: Nullable<Array<dto.view.creation.CreationItem>> | undefined, title: Nullable<string> | undefined, name: string, filters?: Array<dto.view.filters.Filter>, queries?: Array<dto.view.QueryItem
|
|
1802
|
+
constructor(viewType: dto.view.ViewType, settings: Nullable<kotlin.collections.KtMap<string, any/* kotlinx.serialization.json.JsonElement */>>/* Nullable<kotlinx.serialization.json.JsonObject> */ | undefined, forCreate: Nullable<dto.view.creation.ForCreate> | undefined, creationList: Nullable<Array<dto.view.creation.CreationItem>> | undefined, title: Nullable<string> | undefined, name: string, filters?: Array<dto.view.filters.Filter>, queries?: Array<dto.view.QueryItem>, autoSort?: boolean);
|
|
1805
1803
|
get viewType(): dto.view.ViewType;
|
|
1806
1804
|
set viewType(value: dto.view.ViewType);
|
|
1807
1805
|
get settings(): Nullable<kotlin.collections.KtMap<string, any/* kotlinx.serialization.json.JsonElement */>>/* Nullable<kotlinx.serialization.json.JsonObject> */;
|
|
@@ -1818,6 +1816,8 @@ export declare namespace dto.view {
|
|
|
1818
1816
|
set filters(value: Array<dto.view.filters.Filter>);
|
|
1819
1817
|
get queries(): Array<dto.view.QueryItem>;
|
|
1820
1818
|
set queries(value: Array<dto.view.QueryItem>);
|
|
1819
|
+
get autoSort(): boolean;
|
|
1820
|
+
set autoSort(value: boolean);
|
|
1821
1821
|
getSettings(): Nullable<string>;
|
|
1822
1822
|
readonly __doNotUseOrImplementIt: dto.view.Query["__doNotUseOrImplementIt"] & dto.WithName["__doNotUseOrImplementIt"];
|
|
1823
1823
|
static get Companion(): {
|
package/mrs-toolbox-cli.js
CHANGED
|
@@ -40,13 +40,13 @@
|
|
|
40
40
|
};
|
|
41
41
|
function WorkingDir() {
|
|
42
42
|
CliktCommand.call(this, 'Set working directory');
|
|
43
|
-
this.
|
|
43
|
+
this.g87_1 = argument(this).a82(this, workingDir$factory());
|
|
44
44
|
}
|
|
45
|
-
protoOf(WorkingDir).
|
|
46
|
-
return this.
|
|
45
|
+
protoOf(WorkingDir).h87 = function () {
|
|
46
|
+
return this.g87_1.u82(this, workingDir$factory_0());
|
|
47
47
|
};
|
|
48
48
|
protoOf(WorkingDir).cs = function () {
|
|
49
|
-
CommandExecutor_getInstance().
|
|
49
|
+
CommandExecutor_getInstance().u54_1 = this.h87();
|
|
50
50
|
};
|
|
51
51
|
function Auth$email$delegate$lambda($this$copy, it) {
|
|
52
52
|
if (!(it == null)) {
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
if (!(charSequenceLength(it) > 0)) {
|
|
57
57
|
// Inline function 'Auth.email$delegate.<anonymous>.<anonymous>' call
|
|
58
58
|
var tmp$ret$1 = "Email can't be empty!";
|
|
59
|
-
$this$copy.
|
|
59
|
+
$this$copy.d82(tmp$ret$1);
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
return Unit_instance;
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
if (!(charSequenceLength(it) > 0)) {
|
|
70
70
|
// Inline function 'Auth.password$delegate.<anonymous>.<anonymous>' call
|
|
71
71
|
var tmp$ret$1 = "Password can't be empty!";
|
|
72
|
-
$this$copy.
|
|
72
|
+
$this$copy.d82(tmp$ret$1);
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
return Unit_instance;
|
|
@@ -79,74 +79,74 @@
|
|
|
79
79
|
var tmp = this;
|
|
80
80
|
// Inline function 'com.github.ajalt.clikt.parameters.options.validate' call
|
|
81
81
|
var this_0 = prompt(option(this, ['-e', '--email'], 'Email for log in'));
|
|
82
|
-
var tmp_0 = this_0.
|
|
83
|
-
var tmp_1 = this_0.
|
|
84
|
-
var tmp_2 = this_0.
|
|
85
|
-
tmp.
|
|
82
|
+
var tmp_0 = this_0.v81();
|
|
83
|
+
var tmp_1 = this_0.x82();
|
|
84
|
+
var tmp_2 = this_0.w81();
|
|
85
|
+
tmp.z87_1 = this_0.y82(tmp_0, tmp_1, tmp_2, Auth$email$delegate$lambda).e83(this, email$factory());
|
|
86
86
|
var tmp_3 = this;
|
|
87
87
|
// Inline function 'com.github.ajalt.clikt.parameters.options.validate' call
|
|
88
88
|
var this_1 = prompt(option(this, ['-p', '--password'], 'Password for log in'));
|
|
89
|
-
var tmp_4 = this_1.
|
|
90
|
-
var tmp_5 = this_1.
|
|
91
|
-
var tmp_6 = this_1.
|
|
92
|
-
tmp_3.
|
|
93
|
-
this.
|
|
94
|
-
this.
|
|
95
|
-
}
|
|
96
|
-
protoOf(Auth).
|
|
97
|
-
return this.
|
|
89
|
+
var tmp_4 = this_1.v81();
|
|
90
|
+
var tmp_5 = this_1.x82();
|
|
91
|
+
var tmp_6 = this_1.w81();
|
|
92
|
+
tmp_3.a88_1 = this_1.y82(tmp_4, tmp_5, tmp_6, Auth$password$delegate$lambda).e83(this, password$factory());
|
|
93
|
+
this.b88_1 = optional(argument(this, VOID, 'Url to strapi server')).a82(this, url$factory());
|
|
94
|
+
this.c88_1 = option(this, ['-c', '--config'], 'Config file name').e83(this, config$factory());
|
|
95
|
+
}
|
|
96
|
+
protoOf(Auth).d88 = function () {
|
|
97
|
+
return this.z87_1.u82(this, email$factory_0());
|
|
98
98
|
};
|
|
99
99
|
protoOf(Auth).y26 = function () {
|
|
100
|
-
return this.
|
|
100
|
+
return this.a88_1.u82(this, password$factory_0());
|
|
101
101
|
};
|
|
102
102
|
protoOf(Auth).f3n = function () {
|
|
103
|
-
return this.
|
|
103
|
+
return this.b88_1.u82(this, url$factory_0());
|
|
104
104
|
};
|
|
105
|
-
protoOf(Auth).
|
|
106
|
-
return this.
|
|
105
|
+
protoOf(Auth).c42 = function () {
|
|
106
|
+
return this.c88_1.u82(this, config$factory_0());
|
|
107
107
|
};
|
|
108
108
|
protoOf(Auth).cs = function () {
|
|
109
|
-
CommandExecutor_getInstance().
|
|
109
|
+
CommandExecutor_getInstance().o57(this.d88(), this.y26(), this.f3n(), this.c42());
|
|
110
110
|
};
|
|
111
111
|
function Test() {
|
|
112
112
|
CliktCommand.call(this, 'Test hooks');
|
|
113
|
-
this.
|
|
113
|
+
this.v88_1 = option(this, ['-c', '--config'], 'Config file name').e83(this, config$factory_1());
|
|
114
114
|
}
|
|
115
|
-
protoOf(Test).
|
|
116
|
-
return this.
|
|
115
|
+
protoOf(Test).c42 = function () {
|
|
116
|
+
return this.v88_1.u82(this, config$factory_2());
|
|
117
117
|
};
|
|
118
118
|
protoOf(Test).cs = function () {
|
|
119
|
-
CommandExecutor_getInstance().
|
|
119
|
+
CommandExecutor_getInstance().p57(this.c42());
|
|
120
120
|
};
|
|
121
121
|
function Prepare() {
|
|
122
122
|
CliktCommand.call(this, 'Prepare workspace');
|
|
123
|
-
this.
|
|
123
|
+
this.n89_1 = option(this, ['-c', '--config'], 'Config file name').e83(this, config$factory_3());
|
|
124
124
|
}
|
|
125
|
-
protoOf(Prepare).
|
|
126
|
-
return this.
|
|
125
|
+
protoOf(Prepare).c42 = function () {
|
|
126
|
+
return this.n89_1.u82(this, config$factory_4());
|
|
127
127
|
};
|
|
128
128
|
protoOf(Prepare).cs = function () {
|
|
129
|
-
CommandExecutor_getInstance().
|
|
129
|
+
CommandExecutor_getInstance().q57(this.c42());
|
|
130
130
|
};
|
|
131
131
|
function Export() {
|
|
132
132
|
CliktCommand.call(this, 'Create export config for s3');
|
|
133
|
-
this.
|
|
133
|
+
this.f8a_1 = option(this, ['-c', '--config'], 'Config file name').e83(this, config$factory_5());
|
|
134
134
|
}
|
|
135
|
-
protoOf(Export).
|
|
136
|
-
return this.
|
|
135
|
+
protoOf(Export).c42 = function () {
|
|
136
|
+
return this.f8a_1.u82(this, config$factory_6());
|
|
137
137
|
};
|
|
138
138
|
protoOf(Export).cs = function () {
|
|
139
|
-
CommandExecutor_getInstance().
|
|
139
|
+
CommandExecutor_getInstance().v57(this.c42());
|
|
140
140
|
};
|
|
141
141
|
function Upload() {
|
|
142
142
|
CliktCommand.call(this, 'Upload exportConfig to s3');
|
|
143
|
-
this.
|
|
143
|
+
this.x8a_1 = option(this, ['-c', '--config'], 'Config file name').e83(this, config$factory_7());
|
|
144
144
|
}
|
|
145
|
-
protoOf(Upload).
|
|
146
|
-
return this.
|
|
145
|
+
protoOf(Upload).c42 = function () {
|
|
146
|
+
return this.x8a_1.u82(this, config$factory_8());
|
|
147
147
|
};
|
|
148
148
|
protoOf(Upload).cs = function () {
|
|
149
|
-
CommandExecutor_getInstance().
|
|
149
|
+
CommandExecutor_getInstance().t57(this.c42());
|
|
150
150
|
};
|
|
151
151
|
function Version() {
|
|
152
152
|
CliktCommand.call(this, 'Get toolbox version');
|
|
@@ -156,33 +156,33 @@
|
|
|
156
156
|
};
|
|
157
157
|
function PullDictionaries() {
|
|
158
158
|
CliktCommand.call(this, 'Pull dictionaries from Directus');
|
|
159
|
-
this.
|
|
159
|
+
this.g8c_1 = option(this, ['-c', '--config'], 'Config file name').e83(this, config$factory_9());
|
|
160
160
|
}
|
|
161
|
-
protoOf(PullDictionaries).
|
|
162
|
-
return this.
|
|
161
|
+
protoOf(PullDictionaries).c42 = function () {
|
|
162
|
+
return this.g8c_1.u82(this, config$factory_10());
|
|
163
163
|
};
|
|
164
164
|
protoOf(PullDictionaries).cs = function () {
|
|
165
|
-
CommandExecutor_getInstance().
|
|
165
|
+
CommandExecutor_getInstance().u57(this.c42());
|
|
166
166
|
};
|
|
167
167
|
function Migrator() {
|
|
168
168
|
CliktCommand.call(this, 'Migrate');
|
|
169
169
|
}
|
|
170
170
|
protoOf(Migrator).cs = function () {
|
|
171
|
-
CommandExecutor_getInstance().
|
|
171
|
+
CommandExecutor_getInstance().y57();
|
|
172
172
|
};
|
|
173
173
|
function workingDir$factory() {
|
|
174
174
|
return getPropertyCallableRef('workingDir', 1, KProperty1, function (receiver) {
|
|
175
|
-
return receiver.
|
|
175
|
+
return receiver.h87();
|
|
176
176
|
}, null);
|
|
177
177
|
}
|
|
178
178
|
function workingDir$factory_0() {
|
|
179
179
|
return getPropertyCallableRef('workingDir', 1, KProperty1, function (receiver) {
|
|
180
|
-
return receiver.
|
|
180
|
+
return receiver.h87();
|
|
181
181
|
}, null);
|
|
182
182
|
}
|
|
183
183
|
function email$factory() {
|
|
184
184
|
return getPropertyCallableRef('email', 1, KProperty1, function (receiver) {
|
|
185
|
-
return receiver.
|
|
185
|
+
return receiver.d88();
|
|
186
186
|
}, null);
|
|
187
187
|
}
|
|
188
188
|
function password$factory() {
|
|
@@ -197,12 +197,12 @@
|
|
|
197
197
|
}
|
|
198
198
|
function config$factory() {
|
|
199
199
|
return getPropertyCallableRef('config', 1, KProperty1, function (receiver) {
|
|
200
|
-
return receiver.
|
|
200
|
+
return receiver.c42();
|
|
201
201
|
}, null);
|
|
202
202
|
}
|
|
203
203
|
function email$factory_0() {
|
|
204
204
|
return getPropertyCallableRef('email', 1, KProperty1, function (receiver) {
|
|
205
|
-
return receiver.
|
|
205
|
+
return receiver.d88();
|
|
206
206
|
}, null);
|
|
207
207
|
}
|
|
208
208
|
function password$factory_0() {
|
|
@@ -217,57 +217,57 @@
|
|
|
217
217
|
}
|
|
218
218
|
function config$factory_0() {
|
|
219
219
|
return getPropertyCallableRef('config', 1, KProperty1, function (receiver) {
|
|
220
|
-
return receiver.
|
|
220
|
+
return receiver.c42();
|
|
221
221
|
}, null);
|
|
222
222
|
}
|
|
223
223
|
function config$factory_1() {
|
|
224
224
|
return getPropertyCallableRef('config', 1, KProperty1, function (receiver) {
|
|
225
|
-
return receiver.
|
|
225
|
+
return receiver.c42();
|
|
226
226
|
}, null);
|
|
227
227
|
}
|
|
228
228
|
function config$factory_2() {
|
|
229
229
|
return getPropertyCallableRef('config', 1, KProperty1, function (receiver) {
|
|
230
|
-
return receiver.
|
|
230
|
+
return receiver.c42();
|
|
231
231
|
}, null);
|
|
232
232
|
}
|
|
233
233
|
function config$factory_3() {
|
|
234
234
|
return getPropertyCallableRef('config', 1, KProperty1, function (receiver) {
|
|
235
|
-
return receiver.
|
|
235
|
+
return receiver.c42();
|
|
236
236
|
}, null);
|
|
237
237
|
}
|
|
238
238
|
function config$factory_4() {
|
|
239
239
|
return getPropertyCallableRef('config', 1, KProperty1, function (receiver) {
|
|
240
|
-
return receiver.
|
|
240
|
+
return receiver.c42();
|
|
241
241
|
}, null);
|
|
242
242
|
}
|
|
243
243
|
function config$factory_5() {
|
|
244
244
|
return getPropertyCallableRef('config', 1, KProperty1, function (receiver) {
|
|
245
|
-
return receiver.
|
|
245
|
+
return receiver.c42();
|
|
246
246
|
}, null);
|
|
247
247
|
}
|
|
248
248
|
function config$factory_6() {
|
|
249
249
|
return getPropertyCallableRef('config', 1, KProperty1, function (receiver) {
|
|
250
|
-
return receiver.
|
|
250
|
+
return receiver.c42();
|
|
251
251
|
}, null);
|
|
252
252
|
}
|
|
253
253
|
function config$factory_7() {
|
|
254
254
|
return getPropertyCallableRef('config', 1, KProperty1, function (receiver) {
|
|
255
|
-
return receiver.
|
|
255
|
+
return receiver.c42();
|
|
256
256
|
}, null);
|
|
257
257
|
}
|
|
258
258
|
function config$factory_8() {
|
|
259
259
|
return getPropertyCallableRef('config', 1, KProperty1, function (receiver) {
|
|
260
|
-
return receiver.
|
|
260
|
+
return receiver.c42();
|
|
261
261
|
}, null);
|
|
262
262
|
}
|
|
263
263
|
function config$factory_9() {
|
|
264
264
|
return getPropertyCallableRef('config', 1, KProperty1, function (receiver) {
|
|
265
|
-
return receiver.
|
|
265
|
+
return receiver.c42();
|
|
266
266
|
}, null);
|
|
267
267
|
}
|
|
268
268
|
function config$factory_10() {
|
|
269
269
|
return getPropertyCallableRef('config', 1, KProperty1, function (receiver) {
|
|
270
|
-
return receiver.
|
|
270
|
+
return receiver.c42();
|
|
271
271
|
}, null);
|
|
272
272
|
}
|
|
273
273
|
function main(args) {
|
|
@@ -275,7 +275,7 @@
|
|
|
275
275
|
var argv = (!(tmp == null) ? isArray(tmp) : false) ? tmp : THROW_CCE();
|
|
276
276
|
println(split(argv[0], [' ']));
|
|
277
277
|
try {
|
|
278
|
-
subcommands(new Mrsc(), [new WorkingDir(), new Auth(), new Test(), new Prepare(), new Export(), new Upload(), new Version(), new PullDictionaries(), new Migrator()]).
|
|
278
|
+
subcommands(new Mrsc(), [new WorkingDir(), new Auth(), new Test(), new Prepare(), new Export(), new Upload(), new Version(), new PullDictionaries(), new Migrator()]).g7u(split(argv[0], [' ']));
|
|
279
279
|
} catch ($p) {
|
|
280
280
|
if ($p instanceof Error) {
|
|
281
281
|
var e = $p;
|
|
@@ -284,7 +284,7 @@
|
|
|
284
284
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
285
285
|
// Inline function 'kotlin.js.asDynamic' call
|
|
286
286
|
var tmp$ret$2 = ['--help'];
|
|
287
|
-
tmp_0.
|
|
287
|
+
tmp_0.h7u(tmp$ret$2);
|
|
288
288
|
} else {
|
|
289
289
|
throw $p;
|
|
290
290
|
}
|