mrs-toolbox-cli 0.0.113 → 0.0.115

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.
@@ -669,12 +669,14 @@ export declare namespace dto.form.property {
669
669
  set multiple(value: Nullable<boolean>);
670
670
  get canCreate(): Nullable<boolean>;
671
671
  set canCreate(value: Nullable<boolean>);
672
+ get canSelect(): Nullable<boolean>;
673
+ set canSelect(value: Nullable<boolean>);
672
674
  get linkTo(): Nullable<dto.form.property.misc.LinkedTo>;
673
675
  set linkTo(value: Nullable<dto.form.property.misc.LinkedTo>);
674
676
  get autoUpdate(): Nullable<boolean>;
675
677
  get maxCount(): number;
676
678
  /** @deprecated This synthesized declaration should not be used directly */
677
- static ViewProperty_init_$Create$(seen1: number, name: Nullable<string>, title: Nullable<string>, readOnly: Nullable<boolean>, disabled: Nullable<boolean>, hidden: Nullable<boolean>, helperText: Nullable<string>, description: Nullable<string>, lazyLoading: boolean, viewId: Nullable<string>, variables: Nullable<any>/* Nullable<kotlin.collections.Map<string, string>> */, fields: Nullable<Array<string>>, multiple: Nullable<boolean>, canCreate: Nullable<boolean>, linkTo: Nullable<dto.form.property.misc.LinkedTo>, autoUpdate: Nullable<boolean>, maxCount: number, sort: Nullable<Array<dto.query.Sort>>, serializationConstructorMarker: Nullable<any>/* Nullable<kotlinx.serialization.internal.SerializationConstructorMarker> */): dto.form.property.ViewProperty;
679
+ static ViewProperty_init_$Create$(seen1: number, name: Nullable<string>, title: Nullable<string>, readOnly: Nullable<boolean>, disabled: Nullable<boolean>, hidden: Nullable<boolean>, helperText: Nullable<string>, description: Nullable<string>, lazyLoading: boolean, viewId: Nullable<string>, variables: Nullable<any>/* Nullable<kotlin.collections.Map<string, string>> */, fields: Nullable<Array<string>>, multiple: Nullable<boolean>, canCreate: Nullable<boolean>, canSelect: Nullable<boolean>, linkTo: Nullable<dto.form.property.misc.LinkedTo>, autoUpdate: Nullable<boolean>, maxCount: number, sort: Nullable<Array<dto.query.Sort>>, serializationConstructorMarker: Nullable<any>/* Nullable<kotlinx.serialization.internal.SerializationConstructorMarker> */): dto.form.property.ViewProperty;
678
680
  static get Companion(): {
679
681
  serializer(): any/* kotlinx.serialization.KSerializer<dto.form.property.ViewProperty> */;
680
682
  };
@@ -1802,8 +1804,10 @@ export declare namespace dto.query {
1802
1804
  set pagination(value: Nullable<dto.query.Pagination>);
1803
1805
  get sort(): Nullable<Array<dto.query.Sort>>;
1804
1806
  set sort(value: Nullable<Array<dto.query.Sort>>);
1807
+ get selectionType(): dto.query.SelectionType;
1808
+ set selectionType(value: dto.query.SelectionType);
1805
1809
  /** @deprecated This synthesized declaration should not be used directly */
1806
- static Query_init_$Create$(seen1: number, type: Nullable<dto.query.QueryType>, query: Nullable<Array<dto.query.RealmQuery>>, pagination: Nullable<dto.query.Pagination>, sort: Nullable<Array<dto.query.Sort>>, serializationConstructorMarker: Nullable<any>/* Nullable<kotlinx.serialization.internal.SerializationConstructorMarker> */): dto.query.Query;
1810
+ static Query_init_$Create$(seen1: number, type: Nullable<dto.query.QueryType>, query: Nullable<Array<dto.query.RealmQuery>>, pagination: Nullable<dto.query.Pagination>, sort: Nullable<Array<dto.query.Sort>>, selectionType: Nullable<dto.query.SelectionType>, serializationConstructorMarker: Nullable<any>/* Nullable<kotlinx.serialization.internal.SerializationConstructorMarker> */): dto.query.Query;
1807
1811
  static get Companion(): {
1808
1812
  serializer(): any/* kotlinx.serialization.KSerializer<dto.query.Query> */;
1809
1813
  };
@@ -1860,6 +1864,27 @@ export declare namespace dto.query {
1860
1864
  } & any/* kotlinx.serialization.internal.GeneratedSerializer<dto.query.RealmQuery> */;
1861
1865
  }
1862
1866
  }
1867
+ export declare namespace dto.query {
1868
+ abstract class SelectionType {
1869
+ private constructor();
1870
+ get type(): string;
1871
+ static get DEFAULT(): dto.query.SelectionType & {
1872
+ get name(): "DEFAULT";
1873
+ get ordinal(): 0;
1874
+ };
1875
+ static get COUNT(): dto.query.SelectionType & {
1876
+ get name(): "COUNT";
1877
+ get ordinal(): 1;
1878
+ };
1879
+ static values(): Array<dto.query.SelectionType>;
1880
+ static valueOf(value: string): dto.query.SelectionType;
1881
+ get name(): "DEFAULT" | "COUNT";
1882
+ get ordinal(): 0 | 1;
1883
+ static get Companion(): {
1884
+ serializer(): any/* kotlinx.serialization.KSerializer<dto.query.SelectionType> */;
1885
+ } & any/* kotlinx.serialization.internal.SerializerFactory */;
1886
+ }
1887
+ }
1863
1888
  export declare namespace dto.query {
1864
1889
  class Sort {
1865
1890
  constructor();
@@ -2559,16 +2584,12 @@ export declare namespace dto.workflow {
2559
2584
  set name(value: string);
2560
2585
  get path(): Nullable<string>;
2561
2586
  set path(value: Nullable<string>);
2562
- get regexString(): Nullable<string>;
2563
- set regexString(value: Nullable<string>);
2564
- get script(): Nullable<string>;
2565
- set script(value: Nullable<string>);
2566
2587
  get timeout(): Nullable<number>;
2567
2588
  set timeout(value: Nullable<number>);
2568
- get cronExpression(): Nullable<string>;
2569
- set cronExpression(value: Nullable<string>);
2589
+ get triggers(): Array<dto.workflow.triggers.WorkflowTrigger>;
2590
+ set triggers(value: Array<dto.workflow.triggers.WorkflowTrigger>);
2570
2591
  /** @deprecated This synthesized declaration should not be used directly */
2571
- static WorkflowDTO_init_$Create$(seen1: number, name: Nullable<string>, path: Nullable<string>, regexString: Nullable<string>, script: Nullable<string>, timeout: Nullable<number>, cronExpression: Nullable<string>, serializationConstructorMarker: Nullable<any>/* Nullable<kotlinx.serialization.internal.SerializationConstructorMarker> */): dto.workflow.WorkflowDTO;
2592
+ static WorkflowDTO_init_$Create$(seen1: number, name: Nullable<string>, path: Nullable<string>, timeout: Nullable<number>, triggers: Nullable<Array<dto.workflow.triggers.WorkflowTrigger>>, serializationConstructorMarker: Nullable<any>/* Nullable<kotlinx.serialization.internal.SerializationConstructorMarker> */): dto.workflow.WorkflowDTO;
2572
2593
  readonly __doNotUseOrImplementIt: dto.WithName["__doNotUseOrImplementIt"];
2573
2594
  static get Companion(): {
2574
2595
  serializer(): any/* kotlinx.serialization.KSerializer<dto.workflow.WorkflowDTO> */;
@@ -2580,13 +2601,11 @@ export declare namespace dto.workflow {
2580
2601
  }
2581
2602
  export declare namespace dto.workflow {
2582
2603
  class WorkflowQuery implements dto.WithName {
2583
- constructor(name: string, path: string);
2604
+ constructor(name: string);
2584
2605
  get name(): string;
2585
2606
  set name(value: string);
2586
- get path(): string;
2587
- set path(value: string);
2588
2607
  /** @deprecated This synthesized declaration should not be used directly */
2589
- static WorkflowQuery_init_$Create$(seen1: number, name: Nullable<string>, path: Nullable<string>, serializationConstructorMarker: Nullable<any>/* Nullable<kotlinx.serialization.internal.SerializationConstructorMarker> */): dto.workflow.WorkflowQuery;
2608
+ static WorkflowQuery_init_$Create$(seen1: number, name: Nullable<string>, serializationConstructorMarker: Nullable<any>/* Nullable<kotlinx.serialization.internal.SerializationConstructorMarker> */): dto.workflow.WorkflowQuery;
2590
2609
  readonly __doNotUseOrImplementIt: dto.WithName["__doNotUseOrImplementIt"];
2591
2610
  static get Companion(): {
2592
2611
  serializer(): any/* kotlinx.serialization.KSerializer<dto.workflow.WorkflowQuery> */;
@@ -2596,6 +2615,122 @@ export declare namespace dto.workflow {
2596
2615
  } & any/* kotlinx.serialization.internal.GeneratedSerializer<dto.workflow.WorkflowQuery> */;
2597
2616
  }
2598
2617
  }
2618
+ export declare namespace dto.workflow.triggers {
2619
+ abstract class WorkflowBusType {
2620
+ private constructor();
2621
+ get code(): string;
2622
+ static get rabbitmq(): dto.workflow.triggers.WorkflowBusType & {
2623
+ get name(): "rabbitmq";
2624
+ get ordinal(): 0;
2625
+ };
2626
+ static get kafka(): dto.workflow.triggers.WorkflowBusType & {
2627
+ get name(): "kafka";
2628
+ get ordinal(): 1;
2629
+ };
2630
+ static values(): Array<dto.workflow.triggers.WorkflowBusType>;
2631
+ static valueOf(value: string): dto.workflow.triggers.WorkflowBusType;
2632
+ get name(): "rabbitmq" | "kafka";
2633
+ get ordinal(): 0 | 1;
2634
+ static get Companion(): {
2635
+ serializer(): any/* kotlinx.serialization.KSerializer<dto.workflow.triggers.WorkflowBusType> */;
2636
+ } & any/* kotlinx.serialization.internal.SerializerFactory */;
2637
+ }
2638
+ }
2639
+ export declare namespace dto.workflow.triggers {
2640
+ class WorkflowCron extends dto.workflow.triggers.WorkflowTrigger {
2641
+ constructor(type: dto.workflow.triggers.WorkflowTriggerType | undefined, expression: string);
2642
+ get type(): dto.workflow.triggers.WorkflowTriggerType;
2643
+ get expression(): string;
2644
+ copy(type?: dto.workflow.triggers.WorkflowTriggerType, expression?: string): dto.workflow.triggers.WorkflowCron;
2645
+ toString(): string;
2646
+ hashCode(): number;
2647
+ equals(other: Nullable<any>): boolean;
2648
+ /** @deprecated This synthesized declaration should not be used directly */
2649
+ static WorkflowCron_init_$Create$(seen1: number, type: Nullable<dto.workflow.triggers.WorkflowTriggerType>, expression: Nullable<string>, serializationConstructorMarker: Nullable<any>/* Nullable<kotlinx.serialization.internal.SerializationConstructorMarker> */): dto.workflow.triggers.WorkflowCron;
2650
+ static get Companion(): {
2651
+ serializer(): any/* kotlinx.serialization.KSerializer<dto.workflow.triggers.WorkflowCron> */;
2652
+ };
2653
+ /** @deprecated This synthesized declaration should not be used directly */
2654
+ static get $serializer(): {
2655
+ } & any/* kotlinx.serialization.internal.GeneratedSerializer<dto.workflow.triggers.WorkflowCron> */;
2656
+ }
2657
+ }
2658
+ export declare namespace dto.workflow.triggers {
2659
+ class WorkflowEvent extends dto.workflow.triggers.WorkflowTrigger {
2660
+ constructor(type: dto.workflow.triggers.WorkflowTriggerType | undefined, regex: string, busType: dto.workflow.triggers.WorkflowBusType, credName?: string);
2661
+ get type(): dto.workflow.triggers.WorkflowTriggerType;
2662
+ get regex(): string;
2663
+ get busType(): dto.workflow.triggers.WorkflowBusType;
2664
+ get credName(): string;
2665
+ copy(type?: dto.workflow.triggers.WorkflowTriggerType, regex?: string, busType?: dto.workflow.triggers.WorkflowBusType, credName?: string): dto.workflow.triggers.WorkflowEvent;
2666
+ toString(): string;
2667
+ hashCode(): number;
2668
+ equals(other: Nullable<any>): boolean;
2669
+ /** @deprecated This synthesized declaration should not be used directly */
2670
+ static WorkflowEvent_init_$Create$(seen1: number, type: Nullable<dto.workflow.triggers.WorkflowTriggerType>, regex: Nullable<string>, busType: Nullable<dto.workflow.triggers.WorkflowBusType>, credName: Nullable<string>, serializationConstructorMarker: Nullable<any>/* Nullable<kotlinx.serialization.internal.SerializationConstructorMarker> */): dto.workflow.triggers.WorkflowEvent;
2671
+ static get Companion(): {
2672
+ serializer(): any/* kotlinx.serialization.KSerializer<dto.workflow.triggers.WorkflowEvent> */;
2673
+ };
2674
+ /** @deprecated This synthesized declaration should not be used directly */
2675
+ static get $serializer(): {
2676
+ } & any/* kotlinx.serialization.internal.GeneratedSerializer<dto.workflow.triggers.WorkflowEvent> */;
2677
+ }
2678
+ }
2679
+ export declare namespace dto.workflow.triggers {
2680
+ class WorkflowRest extends dto.workflow.triggers.WorkflowTrigger {
2681
+ constructor(type?: dto.workflow.triggers.WorkflowTriggerType, isEnabled?: boolean);
2682
+ get type(): dto.workflow.triggers.WorkflowTriggerType;
2683
+ get isEnabled(): boolean;
2684
+ copy(type?: dto.workflow.triggers.WorkflowTriggerType, isEnabled?: boolean): dto.workflow.triggers.WorkflowRest;
2685
+ toString(): string;
2686
+ hashCode(): number;
2687
+ equals(other: Nullable<any>): boolean;
2688
+ /** @deprecated This synthesized declaration should not be used directly */
2689
+ static WorkflowRest_init_$Create$(seen1: number, type: Nullable<dto.workflow.triggers.WorkflowTriggerType>, isEnabled: boolean, serializationConstructorMarker: Nullable<any>/* Nullable<kotlinx.serialization.internal.SerializationConstructorMarker> */): dto.workflow.triggers.WorkflowRest;
2690
+ static get Companion(): {
2691
+ serializer(): any/* kotlinx.serialization.KSerializer<dto.workflow.triggers.WorkflowRest> */;
2692
+ };
2693
+ /** @deprecated This synthesized declaration should not be used directly */
2694
+ static get $serializer(): {
2695
+ } & any/* kotlinx.serialization.internal.GeneratedSerializer<dto.workflow.triggers.WorkflowRest> */;
2696
+ }
2697
+ }
2698
+ export declare namespace dto.workflow.triggers {
2699
+ abstract class WorkflowTrigger {
2700
+ protected constructor();
2701
+ abstract get type(): dto.workflow.triggers.WorkflowTriggerType;
2702
+ /** @deprecated This synthesized declaration should not be used directly */
2703
+ static WorkflowTrigger_init_$Create$(seen1: number, serializationConstructorMarker: Nullable<any>/* Nullable<kotlinx.serialization.internal.SerializationConstructorMarker> */): dto.workflow.triggers.WorkflowTrigger;
2704
+ static get Companion(): {
2705
+ serializer(): any/* kotlinx.serialization.KSerializer<dto.workflow.triggers.WorkflowTrigger> */;
2706
+ } & any/* kotlinx.serialization.internal.SerializerFactory */;
2707
+ }
2708
+ }
2709
+ export declare namespace dto.workflow.triggers {
2710
+ abstract class WorkflowTriggerType {
2711
+ private constructor();
2712
+ get code(): string;
2713
+ static get cron(): dto.workflow.triggers.WorkflowTriggerType & {
2714
+ get name(): "cron";
2715
+ get ordinal(): 0;
2716
+ };
2717
+ static get rest(): dto.workflow.triggers.WorkflowTriggerType & {
2718
+ get name(): "rest";
2719
+ get ordinal(): 1;
2720
+ };
2721
+ static get event(): dto.workflow.triggers.WorkflowTriggerType & {
2722
+ get name(): "event";
2723
+ get ordinal(): 2;
2724
+ };
2725
+ static values(): Array<dto.workflow.triggers.WorkflowTriggerType>;
2726
+ static valueOf(value: string): dto.workflow.triggers.WorkflowTriggerType;
2727
+ get name(): "cron" | "rest" | "event";
2728
+ get ordinal(): 0 | 1 | 2;
2729
+ static get Companion(): {
2730
+ serializer(): any/* kotlinx.serialization.KSerializer<dto.workflow.triggers.WorkflowTriggerType> */;
2731
+ } & any/* kotlinx.serialization.internal.SerializerFactory */;
2732
+ }
2733
+ }
2599
2734
  export declare namespace types {
2600
2735
  class Component {
2601
2736
  constructor(type: string, fieldName?: Nullable<string>, schemaType?: Nullable<string>, viewType?: Nullable<string>);
@@ -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.c7o(tmp$ret$1);
51
+ $this$copy.g7p(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.c7o(tmp$ret$1);
64
+ $this$copy.g7p(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.u7n();
75
- var tmp_1 = this_0.w7o();
76
- var tmp_2 = this_0.v7n();
77
- tmp.f7t_1 = this_0.x7o(tmp_0, tmp_1, tmp_2, Auth$email$delegate$lambda).d7p(this, email$factory());
74
+ var tmp_0 = this_0.y7o();
75
+ var tmp_1 = this_0.a7q();
76
+ var tmp_2 = this_0.z7o();
77
+ tmp.j7u_1 = this_0.b7q(tmp_0, tmp_1, tmp_2, Auth$email$delegate$lambda).h7q(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.u7n();
82
- var tmp_5 = this_1.w7o();
83
- var tmp_6 = this_1.v7n();
84
- tmp_3.g7t_1 = this_1.x7o(tmp_4, tmp_5, tmp_6, Auth$password$delegate$lambda).d7p(this, password$factory());
85
- this.h7t_1 = optional(argument(this, VOID, 'Url to strapi server')).z7n(this, url$factory());
86
- this.i7t_1 = option(this, ['-c', '--config'], 'Config file name').d7p(this, config$factory());
87
- this.j7t_1 = default_0(option(this, [], 'Current working directory', VOID, true), FileManager_instance.x60()).d7p(this, cwd$factory());
88
- }
89
- protoOf(Auth).k7t = function () {
90
- return this.f7t_1.t7o(this, email$factory_0());
81
+ var tmp_4 = this_1.y7o();
82
+ var tmp_5 = this_1.a7q();
83
+ var tmp_6 = this_1.z7o();
84
+ tmp_3.k7u_1 = this_1.b7q(tmp_4, tmp_5, tmp_6, Auth$password$delegate$lambda).h7q(this, password$factory());
85
+ this.l7u_1 = optional(argument(this, VOID, 'Url to strapi server')).d7p(this, url$factory());
86
+ this.m7u_1 = option(this, ['-c', '--config'], 'Config file name').h7q(this, config$factory());
87
+ this.n7u_1 = default_0(option(this, [], 'Current working directory', VOID, true), FileManager_instance.b62()).h7q(this, cwd$factory());
88
+ }
89
+ protoOf(Auth).o7u = function () {
90
+ return this.j7u_1.x7p(this, email$factory_0());
91
91
  };
92
92
  protoOf(Auth).l21 = function () {
93
- return this.g7t_1.t7o(this, password$factory_0());
93
+ return this.k7u_1.x7p(this, password$factory_0());
94
94
  };
95
- protoOf(Auth).z3h = function () {
96
- return this.h7t_1.t7o(this, url$factory_0());
95
+ protoOf(Auth).b3i = function () {
96
+ return this.l7u_1.x7p(this, url$factory_0());
97
97
  };
98
- protoOf(Auth).g3z = function () {
99
- return this.i7t_1.t7o(this, config$factory_0());
98
+ protoOf(Auth).l40 = function () {
99
+ return this.m7u_1.x7p(this, config$factory_0());
100
100
  };
101
- protoOf(Auth).j62 = function () {
102
- return this.j7t_1.t7o(this, cwd$factory_0());
101
+ protoOf(Auth).n63 = function () {
102
+ return this.n7u_1.x7p(this, cwd$factory_0());
103
103
  };
104
104
  protoOf(Auth).kr = function () {
105
- CommandExecutor_getInstance().auth(this.k7t(), this.l21(), this.z3h(), this.j62(), this.g3z());
105
+ CommandExecutor_getInstance().auth(this.o7u(), this.l21(), this.b3i(), this.n63(), this.l40());
106
106
  };
107
107
  function Test() {
108
108
  CliktCommand.call(this, 'Test hooks');
109
- this.c7u_1 = option(this, ['-c', '--config'], 'Config file name').d7p(this, config$factory_1());
110
- this.d7u_1 = default_0(option(this, [], 'Current working directory', VOID, true), FileManager_instance.x60()).d7p(this, cwd$factory_1());
109
+ this.g7v_1 = option(this, ['-c', '--config'], 'Config file name').h7q(this, config$factory_1());
110
+ this.h7v_1 = default_0(option(this, [], 'Current working directory', VOID, true), FileManager_instance.b62()).h7q(this, cwd$factory_1());
111
111
  }
112
- protoOf(Test).g3z = function () {
113
- return this.c7u_1.t7o(this, config$factory_2());
112
+ protoOf(Test).l40 = function () {
113
+ return this.g7v_1.x7p(this, config$factory_2());
114
114
  };
115
- protoOf(Test).j62 = function () {
116
- return this.d7u_1.t7o(this, cwd$factory_2());
115
+ protoOf(Test).n63 = function () {
116
+ return this.h7v_1.x7p(this, cwd$factory_2());
117
117
  };
118
118
  protoOf(Test).kr = function () {
119
- CommandExecutor_getInstance().test(this.j62(), this.g3z());
119
+ CommandExecutor_getInstance().test(this.n63(), this.l40());
120
120
  };
121
121
  function Prepare() {
122
122
  CliktCommand.call(this, 'Prepare workspace');
123
- this.v7u_1 = option(this, ['-c', '--config'], 'Config file name').d7p(this, config$factory_3());
124
- this.w7u_1 = default_0(option(this, [], 'Current working directory', VOID, true), FileManager_instance.x60()).d7p(this, cwd$factory_3());
123
+ this.z7v_1 = option(this, ['-c', '--config'], 'Config file name').h7q(this, config$factory_3());
124
+ this.a7w_1 = default_0(option(this, [], 'Current working directory', VOID, true), FileManager_instance.b62()).h7q(this, cwd$factory_3());
125
125
  }
126
- protoOf(Prepare).g3z = function () {
127
- return this.v7u_1.t7o(this, config$factory_4());
126
+ protoOf(Prepare).l40 = function () {
127
+ return this.z7v_1.x7p(this, config$factory_4());
128
128
  };
129
- protoOf(Prepare).j62 = function () {
130
- return this.w7u_1.t7o(this, cwd$factory_4());
129
+ protoOf(Prepare).n63 = function () {
130
+ return this.a7w_1.x7p(this, cwd$factory_4());
131
131
  };
132
132
  protoOf(Prepare).kr = function () {
133
- CommandExecutor_getInstance().prepare(this.j62(), this.g3z());
133
+ CommandExecutor_getInstance().prepare(this.n63(), this.l40());
134
134
  };
135
135
  function Export() {
136
136
  CliktCommand.call(this, 'Create export config for s3');
137
- this.o7v_1 = option(this, ['-c', '--config'], 'Config file name').d7p(this, config$factory_5());
138
- this.p7v_1 = default_0(option(this, [], 'Current working directory', VOID, true), FileManager_instance.x60()).d7p(this, cwd$factory_5());
139
- this.q7v_1 = flag(option(this, ['--autoUpdate'], 'Autoupdate config in s3 storage', VOID, true), [], false).d7p(this, autoUpdate$factory());
140
- this.r7v_1 = option(this, ['-v', '--version'], 'Version for build').d7p(this, version$factory());
137
+ this.s7w_1 = option(this, ['-c', '--config'], 'Config file name').h7q(this, config$factory_5());
138
+ this.t7w_1 = default_0(option(this, [], 'Current working directory', VOID, true), FileManager_instance.b62()).h7q(this, cwd$factory_5());
139
+ this.u7w_1 = flag(option(this, ['--autoUpdate'], 'Autoupdate config in s3 storage', VOID, true), [], false).h7q(this, autoUpdate$factory());
140
+ this.v7w_1 = option(this, ['-v', '--version'], 'Version for build').h7q(this, version$factory());
141
141
  }
142
- protoOf(Export).g3z = function () {
143
- return this.o7v_1.t7o(this, config$factory_6());
142
+ protoOf(Export).l40 = function () {
143
+ return this.s7w_1.x7p(this, config$factory_6());
144
144
  };
145
- protoOf(Export).j62 = function () {
146
- return this.p7v_1.t7o(this, cwd$factory_6());
145
+ protoOf(Export).n63 = function () {
146
+ return this.t7w_1.x7p(this, cwd$factory_6());
147
147
  };
148
- protoOf(Export).h3g = function () {
149
- return this.q7v_1.t7o(this, autoUpdate$factory_0());
148
+ protoOf(Export).j3g = function () {
149
+ return this.u7w_1.x7p(this, autoUpdate$factory_0());
150
150
  };
151
- protoOf(Export).o3k = function () {
152
- return this.r7v_1.t7o(this, version$factory_0());
151
+ protoOf(Export).q3k = function () {
152
+ return this.v7w_1.x7p(this, version$factory_0());
153
153
  };
154
154
  protoOf(Export).kr = function () {
155
- CommandExecutor_getInstance().export(this.h3g(), this.j62(), this.g3z(), this.o3k());
155
+ CommandExecutor_getInstance().export(this.j3g(), this.n63(), this.l40(), this.q3k());
156
156
  };
157
157
  function Upload() {
158
158
  CliktCommand.call(this, 'Upload exportConfig to s3');
159
- this.j7w_1 = option(this, ['-c', '--config'], 'Config file name').d7p(this, config$factory_7());
160
- this.k7w_1 = default_0(option(this, [], 'Current working directory', VOID, true), FileManager_instance.x60()).d7p(this, cwd$factory_7());
159
+ this.n7x_1 = option(this, ['-c', '--config'], 'Config file name').h7q(this, config$factory_7());
160
+ this.o7x_1 = default_0(option(this, [], 'Current working directory', VOID, true), FileManager_instance.b62()).h7q(this, cwd$factory_7());
161
161
  }
162
- protoOf(Upload).g3z = function () {
163
- return this.j7w_1.t7o(this, config$factory_8());
162
+ protoOf(Upload).l40 = function () {
163
+ return this.n7x_1.x7p(this, config$factory_8());
164
164
  };
165
- protoOf(Upload).j62 = function () {
166
- return this.k7w_1.t7o(this, cwd$factory_8());
165
+ protoOf(Upload).n63 = function () {
166
+ return this.o7x_1.x7p(this, cwd$factory_8());
167
167
  };
168
168
  protoOf(Upload).kr = function () {
169
- CommandExecutor_getInstance().upload(this.j62(), this.g3z());
169
+ CommandExecutor_getInstance().upload(this.n63(), this.l40());
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.t7x_1 = option(this, ['-c', '--config'], 'Config file name').d7p(this, config$factory_9());
180
- this.u7x_1 = default_0(option(this, [], 'Current working directory', VOID, true), FileManager_instance.x60()).d7p(this, cwd$factory_9());
179
+ this.x7y_1 = option(this, ['-c', '--config'], 'Config file name').h7q(this, config$factory_9());
180
+ this.y7y_1 = default_0(option(this, [], 'Current working directory', VOID, true), FileManager_instance.b62()).h7q(this, cwd$factory_9());
181
181
  }
182
- protoOf(PullReferences).g3z = function () {
183
- return this.t7x_1.t7o(this, config$factory_10());
182
+ protoOf(PullReferences).l40 = function () {
183
+ return this.x7y_1.x7p(this, config$factory_10());
184
184
  };
185
- protoOf(PullReferences).j62 = function () {
186
- return this.u7x_1.t7o(this, cwd$factory_10());
185
+ protoOf(PullReferences).n63 = function () {
186
+ return this.y7y_1.x7p(this, cwd$factory_10());
187
187
  };
188
188
  protoOf(PullReferences).kr = function () {
189
- CommandExecutor_getInstance().pullReferences(this.j62(), this.g3z());
189
+ CommandExecutor_getInstance().pullReferences(this.n63(), this.l40());
190
190
  };
191
191
  function email$factory() {
192
192
  return getPropertyCallableRef('email', 1, KProperty1, function (receiver) {
193
- return receiver.k7t();
193
+ return receiver.o7u();
194
194
  }, null);
195
195
  }
196
196
  function password$factory() {
@@ -200,22 +200,22 @@
200
200
  }
201
201
  function url$factory() {
202
202
  return getPropertyCallableRef('url', 1, KProperty1, function (receiver) {
203
- return receiver.z3h();
203
+ return receiver.b3i();
204
204
  }, null);
205
205
  }
206
206
  function config$factory() {
207
207
  return getPropertyCallableRef('config', 1, KProperty1, function (receiver) {
208
- return receiver.g3z();
208
+ return receiver.l40();
209
209
  }, null);
210
210
  }
211
211
  function cwd$factory() {
212
212
  return getPropertyCallableRef('cwd', 1, KProperty1, function (receiver) {
213
- return receiver.j62();
213
+ return receiver.n63();
214
214
  }, null);
215
215
  }
216
216
  function email$factory_0() {
217
217
  return getPropertyCallableRef('email', 1, KProperty1, function (receiver) {
218
- return receiver.k7t();
218
+ return receiver.o7u();
219
219
  }, null);
220
220
  }
221
221
  function password$factory_0() {
@@ -225,137 +225,137 @@
225
225
  }
226
226
  function url$factory_0() {
227
227
  return getPropertyCallableRef('url', 1, KProperty1, function (receiver) {
228
- return receiver.z3h();
228
+ return receiver.b3i();
229
229
  }, null);
230
230
  }
231
231
  function config$factory_0() {
232
232
  return getPropertyCallableRef('config', 1, KProperty1, function (receiver) {
233
- return receiver.g3z();
233
+ return receiver.l40();
234
234
  }, null);
235
235
  }
236
236
  function cwd$factory_0() {
237
237
  return getPropertyCallableRef('cwd', 1, KProperty1, function (receiver) {
238
- return receiver.j62();
238
+ return receiver.n63();
239
239
  }, null);
240
240
  }
241
241
  function config$factory_1() {
242
242
  return getPropertyCallableRef('config', 1, KProperty1, function (receiver) {
243
- return receiver.g3z();
243
+ return receiver.l40();
244
244
  }, null);
245
245
  }
246
246
  function cwd$factory_1() {
247
247
  return getPropertyCallableRef('cwd', 1, KProperty1, function (receiver) {
248
- return receiver.j62();
248
+ return receiver.n63();
249
249
  }, null);
250
250
  }
251
251
  function config$factory_2() {
252
252
  return getPropertyCallableRef('config', 1, KProperty1, function (receiver) {
253
- return receiver.g3z();
253
+ return receiver.l40();
254
254
  }, null);
255
255
  }
256
256
  function cwd$factory_2() {
257
257
  return getPropertyCallableRef('cwd', 1, KProperty1, function (receiver) {
258
- return receiver.j62();
258
+ return receiver.n63();
259
259
  }, null);
260
260
  }
261
261
  function config$factory_3() {
262
262
  return getPropertyCallableRef('config', 1, KProperty1, function (receiver) {
263
- return receiver.g3z();
263
+ return receiver.l40();
264
264
  }, null);
265
265
  }
266
266
  function cwd$factory_3() {
267
267
  return getPropertyCallableRef('cwd', 1, KProperty1, function (receiver) {
268
- return receiver.j62();
268
+ return receiver.n63();
269
269
  }, null);
270
270
  }
271
271
  function config$factory_4() {
272
272
  return getPropertyCallableRef('config', 1, KProperty1, function (receiver) {
273
- return receiver.g3z();
273
+ return receiver.l40();
274
274
  }, null);
275
275
  }
276
276
  function cwd$factory_4() {
277
277
  return getPropertyCallableRef('cwd', 1, KProperty1, function (receiver) {
278
- return receiver.j62();
278
+ return receiver.n63();
279
279
  }, null);
280
280
  }
281
281
  function config$factory_5() {
282
282
  return getPropertyCallableRef('config', 1, KProperty1, function (receiver) {
283
- return receiver.g3z();
283
+ return receiver.l40();
284
284
  }, null);
285
285
  }
286
286
  function cwd$factory_5() {
287
287
  return getPropertyCallableRef('cwd', 1, KProperty1, function (receiver) {
288
- return receiver.j62();
288
+ return receiver.n63();
289
289
  }, null);
290
290
  }
291
291
  function autoUpdate$factory() {
292
292
  return getPropertyCallableRef('autoUpdate', 1, KProperty1, function (receiver) {
293
- return receiver.h3g();
293
+ return receiver.j3g();
294
294
  }, null);
295
295
  }
296
296
  function version$factory() {
297
297
  return getPropertyCallableRef('version', 1, KProperty1, function (receiver) {
298
- return receiver.o3k();
298
+ return receiver.q3k();
299
299
  }, null);
300
300
  }
301
301
  function config$factory_6() {
302
302
  return getPropertyCallableRef('config', 1, KProperty1, function (receiver) {
303
- return receiver.g3z();
303
+ return receiver.l40();
304
304
  }, null);
305
305
  }
306
306
  function cwd$factory_6() {
307
307
  return getPropertyCallableRef('cwd', 1, KProperty1, function (receiver) {
308
- return receiver.j62();
308
+ return receiver.n63();
309
309
  }, null);
310
310
  }
311
311
  function autoUpdate$factory_0() {
312
312
  return getPropertyCallableRef('autoUpdate', 1, KProperty1, function (receiver) {
313
- return receiver.h3g();
313
+ return receiver.j3g();
314
314
  }, null);
315
315
  }
316
316
  function version$factory_0() {
317
317
  return getPropertyCallableRef('version', 1, KProperty1, function (receiver) {
318
- return receiver.o3k();
318
+ return receiver.q3k();
319
319
  }, null);
320
320
  }
321
321
  function config$factory_7() {
322
322
  return getPropertyCallableRef('config', 1, KProperty1, function (receiver) {
323
- return receiver.g3z();
323
+ return receiver.l40();
324
324
  }, null);
325
325
  }
326
326
  function cwd$factory_7() {
327
327
  return getPropertyCallableRef('cwd', 1, KProperty1, function (receiver) {
328
- return receiver.j62();
328
+ return receiver.n63();
329
329
  }, null);
330
330
  }
331
331
  function config$factory_8() {
332
332
  return getPropertyCallableRef('config', 1, KProperty1, function (receiver) {
333
- return receiver.g3z();
333
+ return receiver.l40();
334
334
  }, null);
335
335
  }
336
336
  function cwd$factory_8() {
337
337
  return getPropertyCallableRef('cwd', 1, KProperty1, function (receiver) {
338
- return receiver.j62();
338
+ return receiver.n63();
339
339
  }, null);
340
340
  }
341
341
  function config$factory_9() {
342
342
  return getPropertyCallableRef('config', 1, KProperty1, function (receiver) {
343
- return receiver.g3z();
343
+ return receiver.l40();
344
344
  }, null);
345
345
  }
346
346
  function cwd$factory_9() {
347
347
  return getPropertyCallableRef('cwd', 1, KProperty1, function (receiver) {
348
- return receiver.j62();
348
+ return receiver.n63();
349
349
  }, null);
350
350
  }
351
351
  function config$factory_10() {
352
352
  return getPropertyCallableRef('config', 1, KProperty1, function (receiver) {
353
- return receiver.g3z();
353
+ return receiver.l40();
354
354
  }, null);
355
355
  }
356
356
  function cwd$factory_10() {
357
357
  return getPropertyCallableRef('cwd', 1, KProperty1, function (receiver) {
358
- return receiver.j62();
358
+ return receiver.n63();
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()]).d7g(split(argv[0], [' ']));
366
+ subcommands(new Mrsc(), [new Auth(), new Test(), new Prepare(), new Export(), new Upload(), new Version(), new PullReferences()]).h7h(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.e7g(tmp$ret$2);
375
+ tmp_0.i7h(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.113",
3
+ "version": "0.0.115",
4
4
  "main": "mrs-toolbox-cli.js",
5
5
  "types": "mrs-toolbox-cli.d.ts",
6
6
  "devDependencies": {