mrs-toolbox-cli 0.0.94 → 0.0.96

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.
@@ -2085,10 +2085,14 @@ export declare namespace dto.view {
2085
2085
  get name(): "superset";
2086
2086
  get ordinal(): 9;
2087
2087
  };
2088
+ static get dictionary(): dto.view.ViewType & {
2089
+ get name(): "dictionary";
2090
+ get ordinal(): 10;
2091
+ };
2088
2092
  static values(): Array<dto.view.ViewType>;
2089
2093
  static valueOf(value: string): dto.view.ViewType;
2090
- get name(): "list" | "grid" | "dataGrid" | "tree" | "document" | "gantt" | "calendar" | "drawing2d" | "embed" | "superset";
2091
- get ordinal(): 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9;
2094
+ get name(): "list" | "grid" | "dataGrid" | "tree" | "document" | "gantt" | "calendar" | "drawing2d" | "embed" | "superset" | "dictionary";
2095
+ get ordinal(): 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
2092
2096
  static get Companion(): {
2093
2097
  serializer(): any/* kotlinx.serialization.KSerializer<dto.view.ViewType> */;
2094
2098
  } & any/* kotlinx.serialization.internal.SerializerFactory */;
@@ -2603,7 +2607,7 @@ export declare namespace types {
2603
2607
  }
2604
2608
  export declare namespace types {
2605
2609
  class ExportConfig {
2606
- constructor(app: dto.manifest.ManifestApp | undefined, build: dto.manifest.ManifestBuild | undefined, docTemplates: Array<dto.doctemplates.InternalDocTemplate>, forms: Array<dto.form.FormDTO>, menu: Nullable<dto.menu.Menu>, views: Array<dto.view.ViewDTO>, relations: dto.relations.Relations);
2610
+ constructor(app: dto.manifest.ManifestApp | undefined, build: dto.manifest.ManifestBuild | undefined, docTemplates: Array<dto.doctemplates.InternalDocTemplate>, forms: Array<dto.form.FormDTO>, menu: Nullable<dto.menu.Menu>, views: Array<dto.view.ViewDTO>, relations: dto.relations.Relations, workflows: Array<dto.workflow.WorkflowDTO>);
2607
2611
  get app(): dto.manifest.ManifestApp;
2608
2612
  set app(value: dto.manifest.ManifestApp);
2609
2613
  get build(): dto.manifest.ManifestBuild;
@@ -2614,6 +2618,7 @@ export declare namespace types {
2614
2618
  get menu(): Nullable<dto.menu.Menu>;
2615
2619
  get views(): Array<dto.view.ViewDTO>;
2616
2620
  get relations(): dto.relations.Relations;
2621
+ get workflows(): Array<dto.workflow.WorkflowDTO>;
2617
2622
  static get Companion(): {
2618
2623
  };
2619
2624
  }
@@ -48,7 +48,7 @@
48
48
  if (!(charSequenceLength(it) > 0)) {
49
49
  // Inline function 'Auth.email$delegate.<anonymous>.<anonymous>' call
50
50
  var tmp$ret$1 = "Email can't be empty!";
51
- $this$copy.x7j(tmp$ret$1);
51
+ $this$copy.m7l(tmp$ret$1);
52
52
  }
53
53
  }
54
54
  return Unit_instance;
@@ -61,7 +61,7 @@
61
61
  if (!(charSequenceLength(it) > 0)) {
62
62
  // Inline function 'Auth.password$delegate.<anonymous>.<anonymous>' call
63
63
  var tmp$ret$1 = "Password can't be empty!";
64
- $this$copy.x7j(tmp$ret$1);
64
+ $this$copy.m7l(tmp$ret$1);
65
65
  }
66
66
  }
67
67
  return Unit_instance;
@@ -71,102 +71,102 @@
71
71
  var tmp = this;
72
72
  // Inline function 'com.github.ajalt.clikt.parameters.options.validate' call
73
73
  var this_0 = prompt(option(this, ['-e', '--email'], 'Email for log in'));
74
- var tmp_0 = this_0.p7j();
75
- var tmp_1 = this_0.r7k();
76
- var tmp_2 = this_0.q7j();
77
- tmp.a7p_1 = this_0.s7k(tmp_0, tmp_1, tmp_2, Auth$email$delegate$lambda).y7k(this, email$factory());
74
+ var tmp_0 = this_0.e7l();
75
+ var tmp_1 = this_0.g7m();
76
+ var tmp_2 = this_0.f7l();
77
+ tmp.p7q_1 = this_0.h7m(tmp_0, tmp_1, tmp_2, Auth$email$delegate$lambda).n7m(this, email$factory());
78
78
  var tmp_3 = this;
79
79
  // Inline function 'com.github.ajalt.clikt.parameters.options.validate' call
80
80
  var this_1 = prompt(option(this, ['-p', '--password'], 'Password for log in'));
81
- var tmp_4 = this_1.p7j();
82
- var tmp_5 = this_1.r7k();
83
- var tmp_6 = this_1.q7j();
84
- tmp_3.b7p_1 = this_1.s7k(tmp_4, tmp_5, tmp_6, Auth$password$delegate$lambda).y7k(this, password$factory());
85
- this.c7p_1 = optional(argument(this, VOID, 'Url to strapi server')).u7j(this, url$factory());
86
- this.d7p_1 = option(this, ['-c', '--config'], 'Config file name').y7k(this, config$factory());
87
- this.e7p_1 = default_0(option(this, [], 'Current working directory', VOID, true), FileManager_instance.t5w()).y7k(this, cwd$factory());
88
- }
89
- protoOf(Auth).f7p = function () {
90
- return this.a7p_1.o7k(this, email$factory_0());
81
+ var tmp_4 = this_1.e7l();
82
+ var tmp_5 = this_1.g7m();
83
+ var tmp_6 = this_1.f7l();
84
+ tmp_3.q7q_1 = this_1.h7m(tmp_4, tmp_5, tmp_6, Auth$password$delegate$lambda).n7m(this, password$factory());
85
+ this.r7q_1 = optional(argument(this, VOID, 'Url to strapi server')).j7l(this, url$factory());
86
+ this.s7q_1 = option(this, ['-c', '--config'], 'Config file name').n7m(this, config$factory());
87
+ this.t7q_1 = default_0(option(this, [], 'Current working directory', VOID, true), FileManager_instance.i5y()).n7m(this, cwd$factory());
88
+ }
89
+ protoOf(Auth).u7q = function () {
90
+ return this.p7q_1.d7m(this, email$factory_0());
91
91
  };
92
92
  protoOf(Auth).l21 = function () {
93
- return this.b7p_1.o7k(this, password$factory_0());
93
+ return this.q7q_1.d7m(this, password$factory_0());
94
94
  };
95
95
  protoOf(Auth).o3h = function () {
96
- return this.c7p_1.o7k(this, url$factory_0());
96
+ return this.r7q_1.d7m(this, url$factory_0());
97
97
  };
98
98
  protoOf(Auth).r3y = function () {
99
- return this.d7p_1.o7k(this, config$factory_0());
99
+ return this.s7q_1.d7m(this, config$factory_0());
100
100
  };
101
- protoOf(Auth).f5y = function () {
102
- return this.e7p_1.o7k(this, cwd$factory_0());
101
+ protoOf(Auth).u5z = function () {
102
+ return this.t7q_1.d7m(this, cwd$factory_0());
103
103
  };
104
104
  protoOf(Auth).lr = function () {
105
- CommandExecutor_getInstance().auth(this.f7p(), this.l21(), this.o3h(), this.f5y(), this.r3y());
105
+ CommandExecutor_getInstance().auth(this.u7q(), this.l21(), this.o3h(), this.u5z(), this.r3y());
106
106
  };
107
107
  function Test() {
108
108
  CliktCommand.call(this, 'Test hooks');
109
- this.x7p_1 = option(this, ['-c', '--config'], 'Config file name').y7k(this, config$factory_1());
110
- this.y7p_1 = default_0(option(this, [], 'Current working directory', VOID, true), FileManager_instance.t5w()).y7k(this, cwd$factory_1());
109
+ this.m7r_1 = option(this, ['-c', '--config'], 'Config file name').n7m(this, config$factory_1());
110
+ this.n7r_1 = default_0(option(this, [], 'Current working directory', VOID, true), FileManager_instance.i5y()).n7m(this, cwd$factory_1());
111
111
  }
112
112
  protoOf(Test).r3y = function () {
113
- return this.x7p_1.o7k(this, config$factory_2());
113
+ return this.m7r_1.d7m(this, config$factory_2());
114
114
  };
115
- protoOf(Test).f5y = function () {
116
- return this.y7p_1.o7k(this, cwd$factory_2());
115
+ protoOf(Test).u5z = function () {
116
+ return this.n7r_1.d7m(this, cwd$factory_2());
117
117
  };
118
118
  protoOf(Test).lr = function () {
119
- CommandExecutor_getInstance().test(this.f5y(), this.r3y());
119
+ CommandExecutor_getInstance().test(this.u5z(), this.r3y());
120
120
  };
121
121
  function Prepare() {
122
122
  CliktCommand.call(this, 'Prepare workspace');
123
- this.q7q_1 = option(this, ['-c', '--config'], 'Config file name').y7k(this, config$factory_3());
124
- this.r7q_1 = default_0(option(this, [], 'Current working directory', VOID, true), FileManager_instance.t5w()).y7k(this, cwd$factory_3());
123
+ this.f7s_1 = option(this, ['-c', '--config'], 'Config file name').n7m(this, config$factory_3());
124
+ this.g7s_1 = default_0(option(this, [], 'Current working directory', VOID, true), FileManager_instance.i5y()).n7m(this, cwd$factory_3());
125
125
  }
126
126
  protoOf(Prepare).r3y = function () {
127
- return this.q7q_1.o7k(this, config$factory_4());
127
+ return this.f7s_1.d7m(this, config$factory_4());
128
128
  };
129
- protoOf(Prepare).f5y = function () {
130
- return this.r7q_1.o7k(this, cwd$factory_4());
129
+ protoOf(Prepare).u5z = function () {
130
+ return this.g7s_1.d7m(this, cwd$factory_4());
131
131
  };
132
132
  protoOf(Prepare).lr = function () {
133
- CommandExecutor_getInstance().prepare(this.f5y(), this.r3y());
133
+ CommandExecutor_getInstance().prepare(this.u5z(), this.r3y());
134
134
  };
135
135
  function Export() {
136
136
  CliktCommand.call(this, 'Create export config for s3');
137
- this.j7r_1 = option(this, ['-c', '--config'], 'Config file name').y7k(this, config$factory_5());
138
- this.k7r_1 = default_0(option(this, [], 'Current working directory', VOID, true), FileManager_instance.t5w()).y7k(this, cwd$factory_5());
139
- this.l7r_1 = flag(option(this, ['--autoUpdate'], 'Autoupdate config in s3 storage', VOID, true), [], false).y7k(this, autoUpdate$factory());
140
- this.m7r_1 = option(this, ['-v', '--version'], 'Version for build').y7k(this, version$factory());
137
+ this.y7s_1 = option(this, ['-c', '--config'], 'Config file name').n7m(this, config$factory_5());
138
+ this.z7s_1 = default_0(option(this, [], 'Current working directory', VOID, true), FileManager_instance.i5y()).n7m(this, cwd$factory_5());
139
+ this.a7t_1 = flag(option(this, ['--autoUpdate'], 'Autoupdate config in s3 storage', VOID, true), [], false).n7m(this, autoUpdate$factory());
140
+ this.b7t_1 = option(this, ['-v', '--version'], 'Version for build').n7m(this, version$factory());
141
141
  }
142
142
  protoOf(Export).r3y = function () {
143
- return this.j7r_1.o7k(this, config$factory_6());
143
+ return this.y7s_1.d7m(this, config$factory_6());
144
144
  };
145
- protoOf(Export).f5y = function () {
146
- return this.k7r_1.o7k(this, cwd$factory_6());
145
+ protoOf(Export).u5z = function () {
146
+ return this.z7s_1.d7m(this, cwd$factory_6());
147
147
  };
148
148
  protoOf(Export).z3f = function () {
149
- return this.l7r_1.o7k(this, autoUpdate$factory_0());
149
+ return this.a7t_1.d7m(this, autoUpdate$factory_0());
150
150
  };
151
151
  protoOf(Export).d3k = function () {
152
- return this.m7r_1.o7k(this, version$factory_0());
152
+ return this.b7t_1.d7m(this, version$factory_0());
153
153
  };
154
154
  protoOf(Export).lr = function () {
155
- CommandExecutor_getInstance().export(this.z3f(), this.f5y(), this.r3y(), this.d3k());
155
+ CommandExecutor_getInstance().export(this.z3f(), this.u5z(), this.r3y(), this.d3k());
156
156
  };
157
157
  function Upload() {
158
158
  CliktCommand.call(this, 'Upload exportConfig to s3');
159
- this.e7s_1 = option(this, ['-c', '--config'], 'Config file name').y7k(this, config$factory_7());
160
- this.f7s_1 = default_0(option(this, [], 'Current working directory', VOID, true), FileManager_instance.t5w()).y7k(this, cwd$factory_7());
159
+ this.t7t_1 = option(this, ['-c', '--config'], 'Config file name').n7m(this, config$factory_7());
160
+ this.u7t_1 = default_0(option(this, [], 'Current working directory', VOID, true), FileManager_instance.i5y()).n7m(this, cwd$factory_7());
161
161
  }
162
162
  protoOf(Upload).r3y = function () {
163
- return this.e7s_1.o7k(this, config$factory_8());
163
+ return this.t7t_1.d7m(this, config$factory_8());
164
164
  };
165
- protoOf(Upload).f5y = function () {
166
- return this.f7s_1.o7k(this, cwd$factory_8());
165
+ protoOf(Upload).u5z = function () {
166
+ return this.u7t_1.d7m(this, cwd$factory_8());
167
167
  };
168
168
  protoOf(Upload).lr = function () {
169
- CommandExecutor_getInstance().upload(this.f5y(), this.r3y());
169
+ CommandExecutor_getInstance().upload(this.u5z(), this.r3y());
170
170
  };
171
171
  function Version() {
172
172
  CliktCommand.call(this, 'Get toolbox version');
@@ -176,21 +176,21 @@
176
176
  };
177
177
  function PullReferences() {
178
178
  CliktCommand.call(this, 'Pull references from Directus');
179
- this.o7t_1 = option(this, ['-c', '--config'], 'Config file name').y7k(this, config$factory_9());
180
- this.p7t_1 = default_0(option(this, [], 'Current working directory', VOID, true), FileManager_instance.t5w()).y7k(this, cwd$factory_9());
179
+ this.d7v_1 = option(this, ['-c', '--config'], 'Config file name').n7m(this, config$factory_9());
180
+ this.e7v_1 = default_0(option(this, [], 'Current working directory', VOID, true), FileManager_instance.i5y()).n7m(this, cwd$factory_9());
181
181
  }
182
182
  protoOf(PullReferences).r3y = function () {
183
- return this.o7t_1.o7k(this, config$factory_10());
183
+ return this.d7v_1.d7m(this, config$factory_10());
184
184
  };
185
- protoOf(PullReferences).f5y = function () {
186
- return this.p7t_1.o7k(this, cwd$factory_10());
185
+ protoOf(PullReferences).u5z = function () {
186
+ return this.e7v_1.d7m(this, cwd$factory_10());
187
187
  };
188
188
  protoOf(PullReferences).lr = function () {
189
- CommandExecutor_getInstance().pullReferences(this.f5y(), this.r3y());
189
+ CommandExecutor_getInstance().pullReferences(this.u5z(), this.r3y());
190
190
  };
191
191
  function email$factory() {
192
192
  return getPropertyCallableRef('email', 1, KProperty1, function (receiver) {
193
- return receiver.f7p();
193
+ return receiver.u7q();
194
194
  }, null);
195
195
  }
196
196
  function password$factory() {
@@ -210,12 +210,12 @@
210
210
  }
211
211
  function cwd$factory() {
212
212
  return getPropertyCallableRef('cwd', 1, KProperty1, function (receiver) {
213
- return receiver.f5y();
213
+ return receiver.u5z();
214
214
  }, null);
215
215
  }
216
216
  function email$factory_0() {
217
217
  return getPropertyCallableRef('email', 1, KProperty1, function (receiver) {
218
- return receiver.f7p();
218
+ return receiver.u7q();
219
219
  }, null);
220
220
  }
221
221
  function password$factory_0() {
@@ -235,7 +235,7 @@
235
235
  }
236
236
  function cwd$factory_0() {
237
237
  return getPropertyCallableRef('cwd', 1, KProperty1, function (receiver) {
238
- return receiver.f5y();
238
+ return receiver.u5z();
239
239
  }, null);
240
240
  }
241
241
  function config$factory_1() {
@@ -245,7 +245,7 @@
245
245
  }
246
246
  function cwd$factory_1() {
247
247
  return getPropertyCallableRef('cwd', 1, KProperty1, function (receiver) {
248
- return receiver.f5y();
248
+ return receiver.u5z();
249
249
  }, null);
250
250
  }
251
251
  function config$factory_2() {
@@ -255,7 +255,7 @@
255
255
  }
256
256
  function cwd$factory_2() {
257
257
  return getPropertyCallableRef('cwd', 1, KProperty1, function (receiver) {
258
- return receiver.f5y();
258
+ return receiver.u5z();
259
259
  }, null);
260
260
  }
261
261
  function config$factory_3() {
@@ -265,7 +265,7 @@
265
265
  }
266
266
  function cwd$factory_3() {
267
267
  return getPropertyCallableRef('cwd', 1, KProperty1, function (receiver) {
268
- return receiver.f5y();
268
+ return receiver.u5z();
269
269
  }, null);
270
270
  }
271
271
  function config$factory_4() {
@@ -275,7 +275,7 @@
275
275
  }
276
276
  function cwd$factory_4() {
277
277
  return getPropertyCallableRef('cwd', 1, KProperty1, function (receiver) {
278
- return receiver.f5y();
278
+ return receiver.u5z();
279
279
  }, null);
280
280
  }
281
281
  function config$factory_5() {
@@ -285,7 +285,7 @@
285
285
  }
286
286
  function cwd$factory_5() {
287
287
  return getPropertyCallableRef('cwd', 1, KProperty1, function (receiver) {
288
- return receiver.f5y();
288
+ return receiver.u5z();
289
289
  }, null);
290
290
  }
291
291
  function autoUpdate$factory() {
@@ -305,7 +305,7 @@
305
305
  }
306
306
  function cwd$factory_6() {
307
307
  return getPropertyCallableRef('cwd', 1, KProperty1, function (receiver) {
308
- return receiver.f5y();
308
+ return receiver.u5z();
309
309
  }, null);
310
310
  }
311
311
  function autoUpdate$factory_0() {
@@ -325,7 +325,7 @@
325
325
  }
326
326
  function cwd$factory_7() {
327
327
  return getPropertyCallableRef('cwd', 1, KProperty1, function (receiver) {
328
- return receiver.f5y();
328
+ return receiver.u5z();
329
329
  }, null);
330
330
  }
331
331
  function config$factory_8() {
@@ -335,7 +335,7 @@
335
335
  }
336
336
  function cwd$factory_8() {
337
337
  return getPropertyCallableRef('cwd', 1, KProperty1, function (receiver) {
338
- return receiver.f5y();
338
+ return receiver.u5z();
339
339
  }, null);
340
340
  }
341
341
  function config$factory_9() {
@@ -345,7 +345,7 @@
345
345
  }
346
346
  function cwd$factory_9() {
347
347
  return getPropertyCallableRef('cwd', 1, KProperty1, function (receiver) {
348
- return receiver.f5y();
348
+ return receiver.u5z();
349
349
  }, null);
350
350
  }
351
351
  function config$factory_10() {
@@ -355,7 +355,7 @@
355
355
  }
356
356
  function cwd$factory_10() {
357
357
  return getPropertyCallableRef('cwd', 1, KProperty1, function (receiver) {
358
- return receiver.f5y();
358
+ return receiver.u5z();
359
359
  }, null);
360
360
  }
361
361
  function main(args) {
@@ -363,7 +363,7 @@
363
363
  var argv = (!(tmp == null) ? isArray(tmp) : false) ? tmp : THROW_CCE();
364
364
  println(split(argv[0], [' ']));
365
365
  try {
366
- subcommands(new Mrsc(), [new Auth(), new Test(), new Prepare(), new Export(), new Upload(), new Version(), new PullReferences()]).y7b(split(argv[0], [' ']));
366
+ subcommands(new Mrsc(), [new Auth(), new Test(), new Prepare(), new Export(), new Upload(), new Version(), new PullReferences()]).n7d(split(argv[0], [' ']));
367
367
  } catch ($p) {
368
368
  if ($p instanceof Error) {
369
369
  var e = $p;
@@ -372,7 +372,7 @@
372
372
  // Inline function 'kotlin.js.unsafeCast' call
373
373
  // Inline function 'kotlin.js.asDynamic' call
374
374
  var tmp$ret$2 = ['--help'];
375
- tmp_0.z7b(tmp$ret$2);
375
+ tmp_0.o7d(tmp$ret$2);
376
376
  } else {
377
377
  throw $p;
378
378
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mrs-toolbox-cli",
3
- "version": "0.0.94",
3
+ "version": "0.0.96",
4
4
  "main": "mrs-toolbox-cli.js",
5
5
  "types": "mrs-toolbox-cli.d.ts",
6
6
  "devDependencies": {