mrs-toolbox-cli 0.0.115 → 0.0.117
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-DateTime-library-kotlinx-datetime.js +71 -71
- package/clikt-clikt.js +1139 -1139
- package/colormath-root-colormath.js +366 -366
- package/com.mrs.platform.configuration.dto.js +2065 -1541
- package/com.mrs.platform.configuration.dto.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +10 -10
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin-logging-js-ir.js +34 -34
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js +1 -1
- package/ktor-ktor-client-content-negotiation.js +125 -125
- package/ktor-ktor-client-core.js +1407 -1407
- package/ktor-ktor-events.js +4 -4
- package/markdown.js +1805 -1805
- package/mordant-mordant.js +1671 -1671
- package/mrs-toolbox-cli.d.ts +110 -51
- package/mrs-toolbox-cli.js +90 -90
- package/package.json +1 -1
- package/toolbox.js +2445 -2363
- package/toolbox.js.map +1 -1
package/mrs-toolbox-cli.d.ts
CHANGED
|
@@ -2031,23 +2031,6 @@ export declare namespace dto.relations {
|
|
|
2031
2031
|
} & any/* kotlinx.serialization.internal.GeneratedSerializer<dto.relations.Relations> */;
|
|
2032
2032
|
}
|
|
2033
2033
|
}
|
|
2034
|
-
export declare namespace dto.view {
|
|
2035
|
-
class ForCreate {
|
|
2036
|
-
constructor();
|
|
2037
|
-
get type(): Nullable<string>;
|
|
2038
|
-
set type(value: Nullable<string>);
|
|
2039
|
-
get formId(): Nullable<string>;
|
|
2040
|
-
set formId(value: Nullable<string>);
|
|
2041
|
-
/** @deprecated This synthesized declaration should not be used directly */
|
|
2042
|
-
static ForCreate_init_$Create$(seen1: number, type: Nullable<string>, formId: Nullable<string>, serializationConstructorMarker: Nullable<any>/* Nullable<kotlinx.serialization.internal.SerializationConstructorMarker> */): dto.view.ForCreate;
|
|
2043
|
-
static get Companion(): {
|
|
2044
|
-
serializer(): any/* kotlinx.serialization.KSerializer<dto.view.ForCreate> */;
|
|
2045
|
-
};
|
|
2046
|
-
/** @deprecated This synthesized declaration should not be used directly */
|
|
2047
|
-
static get $serializer(): {
|
|
2048
|
-
} & any/* kotlinx.serialization.internal.GeneratedSerializer<dto.view.ForCreate> */;
|
|
2049
|
-
}
|
|
2050
|
-
}
|
|
2051
2034
|
export declare namespace dto.view {
|
|
2052
2035
|
interface Query {
|
|
2053
2036
|
filters: Array<dto.view.filters.Filter>;
|
|
@@ -2059,19 +2042,21 @@ export declare namespace dto.view {
|
|
|
2059
2042
|
}
|
|
2060
2043
|
export declare namespace dto.view {
|
|
2061
2044
|
class QueryItem {
|
|
2062
|
-
constructor(name: string, raw?: Nullable<string>, map?: Nullable<string
|
|
2045
|
+
constructor(name: string, raw?: Nullable<string>, map?: Nullable<string>, listeners?: Nullable<Array<dto.view.creation.ListenerItem>>);
|
|
2063
2046
|
get name(): string;
|
|
2064
2047
|
set name(value: string);
|
|
2065
2048
|
get raw(): Nullable<string>;
|
|
2066
2049
|
set raw(value: Nullable<string>);
|
|
2067
2050
|
get map(): Nullable<string>;
|
|
2068
2051
|
set map(value: Nullable<string>);
|
|
2069
|
-
|
|
2052
|
+
get listeners(): Nullable<Array<dto.view.creation.ListenerItem>>;
|
|
2053
|
+
set listeners(value: Nullable<Array<dto.view.creation.ListenerItem>>);
|
|
2054
|
+
copy(name?: string, raw?: Nullable<string>, map?: Nullable<string>, listeners?: Nullable<Array<dto.view.creation.ListenerItem>>): dto.view.QueryItem;
|
|
2070
2055
|
toString(): string;
|
|
2071
2056
|
hashCode(): number;
|
|
2072
2057
|
equals(other: Nullable<any>): boolean;
|
|
2073
2058
|
/** @deprecated This synthesized declaration should not be used directly */
|
|
2074
|
-
static QueryItem_init_$Create$(seen1: number, name: Nullable<string>, raw: Nullable<string>, map: Nullable<string>, serializationConstructorMarker: Nullable<any>/* Nullable<kotlinx.serialization.internal.SerializationConstructorMarker> */): dto.view.QueryItem;
|
|
2059
|
+
static QueryItem_init_$Create$(seen1: number, name: Nullable<string>, raw: Nullable<string>, map: Nullable<string>, listeners: Nullable<Array<dto.view.creation.ListenerItem>>, serializationConstructorMarker: Nullable<any>/* Nullable<kotlinx.serialization.internal.SerializationConstructorMarker> */): dto.view.QueryItem;
|
|
2075
2060
|
static get Companion(): {
|
|
2076
2061
|
serializer(): any/* kotlinx.serialization.KSerializer<dto.view.QueryItem> */;
|
|
2077
2062
|
};
|
|
@@ -2082,13 +2067,15 @@ export declare namespace dto.view {
|
|
|
2082
2067
|
}
|
|
2083
2068
|
export declare namespace dto.view {
|
|
2084
2069
|
class ViewDTO implements dto.view.Query, dto.WithName {
|
|
2085
|
-
constructor(viewType: dto.view.ViewType, settings: Nullable<dto.view.settings.Settings> | undefined, forCreate: Nullable<dto.view.ForCreate> | undefined, title: Nullable<string> | undefined, name: string, filters?: Array<dto.view.filters.Filter>, queries?: Array<dto.view.QueryItem>);
|
|
2070
|
+
constructor(viewType: dto.view.ViewType, settings: Nullable<dto.view.settings.Settings> | 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>);
|
|
2086
2071
|
get viewType(): dto.view.ViewType;
|
|
2087
2072
|
set viewType(value: dto.view.ViewType);
|
|
2088
2073
|
get settings(): Nullable<dto.view.settings.Settings>;
|
|
2089
2074
|
set settings(value: Nullable<dto.view.settings.Settings>);
|
|
2090
|
-
get forCreate(): Nullable<dto.view.ForCreate>;
|
|
2091
|
-
set forCreate(value: Nullable<dto.view.ForCreate>);
|
|
2075
|
+
get forCreate(): Nullable<dto.view.creation.ForCreate>;
|
|
2076
|
+
set forCreate(value: Nullable<dto.view.creation.ForCreate>);
|
|
2077
|
+
get creationList(): Nullable<Array<dto.view.creation.CreationItem>>;
|
|
2078
|
+
set creationList(value: Nullable<Array<dto.view.creation.CreationItem>>);
|
|
2092
2079
|
get title(): Nullable<string>;
|
|
2093
2080
|
set title(value: Nullable<string>);
|
|
2094
2081
|
get name(): string;
|
|
@@ -2098,7 +2085,7 @@ export declare namespace dto.view {
|
|
|
2098
2085
|
get queries(): Array<dto.view.QueryItem>;
|
|
2099
2086
|
set queries(value: Array<dto.view.QueryItem>);
|
|
2100
2087
|
/** @deprecated This synthesized declaration should not be used directly */
|
|
2101
|
-
static ViewDTO_init_$Create$(seen1: number, viewType: Nullable<dto.view.ViewType>, settings: Nullable<dto.view.settings.Settings>, forCreate: Nullable<dto.view.ForCreate>, title: Nullable<string>, name: Nullable<string>, filters: Nullable<Array<dto.view.filters.Filter>>, queries: Nullable<Array<dto.view.QueryItem>>, serializationConstructorMarker: Nullable<any>/* Nullable<kotlinx.serialization.internal.SerializationConstructorMarker> */): dto.view.ViewDTO;
|
|
2088
|
+
static ViewDTO_init_$Create$(seen1: number, viewType: Nullable<dto.view.ViewType>, settings: Nullable<dto.view.settings.Settings>, forCreate: Nullable<dto.view.creation.ForCreate>, creationList: Nullable<Array<dto.view.creation.CreationItem>>, title: Nullable<string>, name: Nullable<string>, filters: Nullable<Array<dto.view.filters.Filter>>, queries: Nullable<Array<dto.view.QueryItem>>, serializationConstructorMarker: Nullable<any>/* Nullable<kotlinx.serialization.internal.SerializationConstructorMarker> */): dto.view.ViewDTO;
|
|
2102
2089
|
readonly __doNotUseOrImplementIt: dto.view.Query["__doNotUseOrImplementIt"] & dto.WithName["__doNotUseOrImplementIt"];
|
|
2103
2090
|
static get Companion(): {
|
|
2104
2091
|
serializer(): any/* kotlinx.serialization.KSerializer<dto.view.ViewDTO> */;
|
|
@@ -2176,15 +2163,109 @@ export declare namespace dto.view {
|
|
|
2176
2163
|
get name(): "dictionary";
|
|
2177
2164
|
get ordinal(): 10;
|
|
2178
2165
|
};
|
|
2166
|
+
static get usm(): dto.view.ViewType & {
|
|
2167
|
+
get name(): "usm";
|
|
2168
|
+
get ordinal(): 11;
|
|
2169
|
+
};
|
|
2179
2170
|
static values(): Array<dto.view.ViewType>;
|
|
2180
2171
|
static valueOf(value: string): dto.view.ViewType;
|
|
2181
|
-
get name(): "list" | "grid" | "dataGrid" | "tree" | "document" | "gantt" | "calendar" | "drawing2d" | "embed" | "superset" | "dictionary";
|
|
2182
|
-
get ordinal(): 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10;
|
|
2172
|
+
get name(): "list" | "grid" | "dataGrid" | "tree" | "document" | "gantt" | "calendar" | "drawing2d" | "embed" | "superset" | "dictionary" | "usm";
|
|
2173
|
+
get ordinal(): 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11;
|
|
2183
2174
|
static get Companion(): {
|
|
2184
2175
|
serializer(): any/* kotlinx.serialization.KSerializer<dto.view.ViewType> */;
|
|
2185
2176
|
} & any/* kotlinx.serialization.internal.SerializerFactory */;
|
|
2186
2177
|
}
|
|
2187
2178
|
}
|
|
2179
|
+
export declare namespace dto.view.creation {
|
|
2180
|
+
abstract class BaseCreationData {
|
|
2181
|
+
constructor();
|
|
2182
|
+
abstract get type(): Nullable<string>;
|
|
2183
|
+
abstract get formId(): Nullable<string>;
|
|
2184
|
+
/** @deprecated This synthesized declaration should not be used directly */
|
|
2185
|
+
static BaseCreationData_init_$Create$(seen1: number, serializationConstructorMarker: Nullable<any>/* Nullable<kotlinx.serialization.internal.SerializationConstructorMarker> */): dto.view.creation.BaseCreationData;
|
|
2186
|
+
static get Companion(): {
|
|
2187
|
+
serializer(): any/* kotlinx.serialization.KSerializer<dto.view.creation.BaseCreationData> */;
|
|
2188
|
+
} & any/* kotlinx.serialization.internal.SerializerFactory */;
|
|
2189
|
+
}
|
|
2190
|
+
}
|
|
2191
|
+
export declare namespace dto.view.creation {
|
|
2192
|
+
class CreationData extends dto.view.creation.BaseCreationData {
|
|
2193
|
+
constructor(type?: Nullable<string>, formId?: Nullable<string>);
|
|
2194
|
+
get type(): Nullable<string>;
|
|
2195
|
+
get formId(): Nullable<string>;
|
|
2196
|
+
copy(type?: Nullable<string>, formId?: Nullable<string>): dto.view.creation.CreationData;
|
|
2197
|
+
toString(): string;
|
|
2198
|
+
hashCode(): number;
|
|
2199
|
+
equals(other: Nullable<any>): boolean;
|
|
2200
|
+
/** @deprecated This synthesized declaration should not be used directly */
|
|
2201
|
+
static CreationData_init_$Create$(seen1: number, type: Nullable<string>, formId: Nullable<string>, serializationConstructorMarker: Nullable<any>/* Nullable<kotlinx.serialization.internal.SerializationConstructorMarker> */): dto.view.creation.CreationData;
|
|
2202
|
+
static get Companion(): {
|
|
2203
|
+
serializer(): any/* kotlinx.serialization.KSerializer<dto.view.creation.CreationData> */;
|
|
2204
|
+
};
|
|
2205
|
+
/** @deprecated This synthesized declaration should not be used directly */
|
|
2206
|
+
static get $serializer(): {
|
|
2207
|
+
} & any/* kotlinx.serialization.internal.GeneratedSerializer<dto.view.creation.CreationData> */;
|
|
2208
|
+
}
|
|
2209
|
+
}
|
|
2210
|
+
export declare namespace dto.view.creation {
|
|
2211
|
+
class CreationItem {
|
|
2212
|
+
constructor(name?: Nullable<string>, data?: Nullable<dto.view.creation.CreationData>);
|
|
2213
|
+
get name(): Nullable<string>;
|
|
2214
|
+
set name(value: Nullable<string>);
|
|
2215
|
+
get data(): Nullable<dto.view.creation.CreationData>;
|
|
2216
|
+
set data(value: Nullable<dto.view.creation.CreationData>);
|
|
2217
|
+
copy(name?: Nullable<string>, data?: Nullable<dto.view.creation.CreationData>): dto.view.creation.CreationItem;
|
|
2218
|
+
toString(): string;
|
|
2219
|
+
hashCode(): number;
|
|
2220
|
+
equals(other: Nullable<any>): boolean;
|
|
2221
|
+
/** @deprecated This synthesized declaration should not be used directly */
|
|
2222
|
+
static CreationItem_init_$Create$(seen1: number, name: Nullable<string>, data: Nullable<dto.view.creation.CreationData>, serializationConstructorMarker: Nullable<any>/* Nullable<kotlinx.serialization.internal.SerializationConstructorMarker> */): dto.view.creation.CreationItem;
|
|
2223
|
+
static get Companion(): {
|
|
2224
|
+
serializer(): any/* kotlinx.serialization.KSerializer<dto.view.creation.CreationItem> */;
|
|
2225
|
+
};
|
|
2226
|
+
/** @deprecated This synthesized declaration should not be used directly */
|
|
2227
|
+
static get $serializer(): {
|
|
2228
|
+
} & any/* kotlinx.serialization.internal.GeneratedSerializer<dto.view.creation.CreationItem> */;
|
|
2229
|
+
}
|
|
2230
|
+
}
|
|
2231
|
+
export declare namespace dto.view.creation {
|
|
2232
|
+
class ForCreate extends dto.view.creation.BaseCreationData {
|
|
2233
|
+
constructor(type?: Nullable<string>, formId?: Nullable<string>);
|
|
2234
|
+
get type(): Nullable<string>;
|
|
2235
|
+
get formId(): Nullable<string>;
|
|
2236
|
+
copy(type?: Nullable<string>, formId?: Nullable<string>): dto.view.creation.ForCreate;
|
|
2237
|
+
toString(): string;
|
|
2238
|
+
hashCode(): number;
|
|
2239
|
+
equals(other: Nullable<any>): boolean;
|
|
2240
|
+
/** @deprecated This synthesized declaration should not be used directly */
|
|
2241
|
+
static ForCreate_init_$Create$(seen1: number, type: Nullable<string>, formId: Nullable<string>, serializationConstructorMarker: Nullable<any>/* Nullable<kotlinx.serialization.internal.SerializationConstructorMarker> */): dto.view.creation.ForCreate;
|
|
2242
|
+
static get Companion(): {
|
|
2243
|
+
serializer(): any/* kotlinx.serialization.KSerializer<dto.view.creation.ForCreate> */;
|
|
2244
|
+
};
|
|
2245
|
+
/** @deprecated This synthesized declaration should not be used directly */
|
|
2246
|
+
static get $serializer(): {
|
|
2247
|
+
} & any/* kotlinx.serialization.internal.GeneratedSerializer<dto.view.creation.ForCreate> */;
|
|
2248
|
+
}
|
|
2249
|
+
}
|
|
2250
|
+
export declare namespace dto.view.creation {
|
|
2251
|
+
class ListenerItem extends dto.view.creation.BaseCreationData {
|
|
2252
|
+
constructor(type?: Nullable<string>, formId?: Nullable<string>);
|
|
2253
|
+
get type(): Nullable<string>;
|
|
2254
|
+
get formId(): Nullable<string>;
|
|
2255
|
+
copy(type?: Nullable<string>, formId?: Nullable<string>): dto.view.creation.ListenerItem;
|
|
2256
|
+
toString(): string;
|
|
2257
|
+
hashCode(): number;
|
|
2258
|
+
equals(other: Nullable<any>): boolean;
|
|
2259
|
+
/** @deprecated This synthesized declaration should not be used directly */
|
|
2260
|
+
static ListenerItem_init_$Create$(seen1: number, type: Nullable<string>, formId: Nullable<string>, serializationConstructorMarker: Nullable<any>/* Nullable<kotlinx.serialization.internal.SerializationConstructorMarker> */): dto.view.creation.ListenerItem;
|
|
2261
|
+
static get Companion(): {
|
|
2262
|
+
serializer(): any/* kotlinx.serialization.KSerializer<dto.view.creation.ListenerItem> */;
|
|
2263
|
+
};
|
|
2264
|
+
/** @deprecated This synthesized declaration should not be used directly */
|
|
2265
|
+
static get $serializer(): {
|
|
2266
|
+
} & any/* kotlinx.serialization.internal.GeneratedSerializer<dto.view.creation.ListenerItem> */;
|
|
2267
|
+
}
|
|
2268
|
+
}
|
|
2188
2269
|
export declare namespace dto.view.filters {
|
|
2189
2270
|
class DateDefaultValue {
|
|
2190
2271
|
constructor();
|
|
@@ -2615,27 +2696,6 @@ export declare namespace dto.workflow {
|
|
|
2615
2696
|
} & any/* kotlinx.serialization.internal.GeneratedSerializer<dto.workflow.WorkflowQuery> */;
|
|
2616
2697
|
}
|
|
2617
2698
|
}
|
|
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
2699
|
export declare namespace dto.workflow.triggers {
|
|
2640
2700
|
class WorkflowCron extends dto.workflow.triggers.WorkflowTrigger {
|
|
2641
2701
|
constructor(type: dto.workflow.triggers.WorkflowTriggerType | undefined, expression: string);
|
|
@@ -2657,17 +2717,16 @@ export declare namespace dto.workflow.triggers {
|
|
|
2657
2717
|
}
|
|
2658
2718
|
export declare namespace dto.workflow.triggers {
|
|
2659
2719
|
class WorkflowEvent extends dto.workflow.triggers.WorkflowTrigger {
|
|
2660
|
-
constructor(type: dto.workflow.triggers.WorkflowTriggerType | undefined, regex: string,
|
|
2720
|
+
constructor(type: dto.workflow.triggers.WorkflowTriggerType | undefined, regex: string, credName?: string);
|
|
2661
2721
|
get type(): dto.workflow.triggers.WorkflowTriggerType;
|
|
2662
2722
|
get regex(): string;
|
|
2663
|
-
get busType(): dto.workflow.triggers.WorkflowBusType;
|
|
2664
2723
|
get credName(): string;
|
|
2665
|
-
copy(type?: dto.workflow.triggers.WorkflowTriggerType, regex?: string,
|
|
2724
|
+
copy(type?: dto.workflow.triggers.WorkflowTriggerType, regex?: string, credName?: string): dto.workflow.triggers.WorkflowEvent;
|
|
2666
2725
|
toString(): string;
|
|
2667
2726
|
hashCode(): number;
|
|
2668
2727
|
equals(other: Nullable<any>): boolean;
|
|
2669
2728
|
/** @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>,
|
|
2729
|
+
static WorkflowEvent_init_$Create$(seen1: number, type: Nullable<dto.workflow.triggers.WorkflowTriggerType>, regex: Nullable<string>, credName: Nullable<string>, serializationConstructorMarker: Nullable<any>/* Nullable<kotlinx.serialization.internal.SerializationConstructorMarker> */): dto.workflow.triggers.WorkflowEvent;
|
|
2671
2730
|
static get Companion(): {
|
|
2672
2731
|
serializer(): any/* kotlinx.serialization.KSerializer<dto.workflow.triggers.WorkflowEvent> */;
|
|
2673
2732
|
};
|
package/mrs-toolbox-cli.js
CHANGED
|
@@ -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.
|
|
51
|
+
$this$copy.b7q(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.
|
|
64
|
+
$this$copy.b7q(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.
|
|
75
|
-
var tmp_1 = this_0.
|
|
76
|
-
var tmp_2 = this_0.
|
|
77
|
-
tmp.
|
|
74
|
+
var tmp_0 = this_0.t7p();
|
|
75
|
+
var tmp_1 = this_0.v7q();
|
|
76
|
+
var tmp_2 = this_0.u7p();
|
|
77
|
+
tmp.e7v_1 = this_0.w7q(tmp_0, tmp_1, tmp_2, Auth$email$delegate$lambda).c7r(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.
|
|
82
|
-
var tmp_5 = this_1.
|
|
83
|
-
var tmp_6 = this_1.
|
|
84
|
-
tmp_3.
|
|
85
|
-
this.
|
|
86
|
-
this.
|
|
87
|
-
this.
|
|
88
|
-
}
|
|
89
|
-
protoOf(Auth).
|
|
90
|
-
return this.
|
|
81
|
+
var tmp_4 = this_1.t7p();
|
|
82
|
+
var tmp_5 = this_1.v7q();
|
|
83
|
+
var tmp_6 = this_1.u7p();
|
|
84
|
+
tmp_3.f7v_1 = this_1.w7q(tmp_4, tmp_5, tmp_6, Auth$password$delegate$lambda).c7r(this, password$factory());
|
|
85
|
+
this.g7v_1 = optional(argument(this, VOID, 'Url to strapi server')).y7p(this, url$factory());
|
|
86
|
+
this.h7v_1 = option(this, ['-c', '--config'], 'Config file name').c7r(this, config$factory());
|
|
87
|
+
this.i7v_1 = default_0(option(this, [], 'Current working directory', VOID, true), FileManager_instance.w62()).c7r(this, cwd$factory());
|
|
88
|
+
}
|
|
89
|
+
protoOf(Auth).j7v = function () {
|
|
90
|
+
return this.e7v_1.s7q(this, email$factory_0());
|
|
91
91
|
};
|
|
92
92
|
protoOf(Auth).l21 = function () {
|
|
93
|
-
return this.
|
|
93
|
+
return this.f7v_1.s7q(this, password$factory_0());
|
|
94
94
|
};
|
|
95
95
|
protoOf(Auth).b3i = function () {
|
|
96
|
-
return this.
|
|
96
|
+
return this.g7v_1.s7q(this, url$factory_0());
|
|
97
97
|
};
|
|
98
|
-
protoOf(Auth).
|
|
99
|
-
return this.
|
|
98
|
+
protoOf(Auth).c41 = function () {
|
|
99
|
+
return this.h7v_1.s7q(this, config$factory_0());
|
|
100
100
|
};
|
|
101
|
-
protoOf(Auth).
|
|
102
|
-
return this.
|
|
101
|
+
protoOf(Auth).i64 = function () {
|
|
102
|
+
return this.i7v_1.s7q(this, cwd$factory_0());
|
|
103
103
|
};
|
|
104
104
|
protoOf(Auth).kr = function () {
|
|
105
|
-
CommandExecutor_getInstance().auth(this.
|
|
105
|
+
CommandExecutor_getInstance().auth(this.j7v(), this.l21(), this.b3i(), this.i64(), this.c41());
|
|
106
106
|
};
|
|
107
107
|
function Test() {
|
|
108
108
|
CliktCommand.call(this, 'Test hooks');
|
|
109
|
-
this.
|
|
110
|
-
this.
|
|
109
|
+
this.b7w_1 = option(this, ['-c', '--config'], 'Config file name').c7r(this, config$factory_1());
|
|
110
|
+
this.c7w_1 = default_0(option(this, [], 'Current working directory', VOID, true), FileManager_instance.w62()).c7r(this, cwd$factory_1());
|
|
111
111
|
}
|
|
112
|
-
protoOf(Test).
|
|
113
|
-
return this.
|
|
112
|
+
protoOf(Test).c41 = function () {
|
|
113
|
+
return this.b7w_1.s7q(this, config$factory_2());
|
|
114
114
|
};
|
|
115
|
-
protoOf(Test).
|
|
116
|
-
return this.
|
|
115
|
+
protoOf(Test).i64 = function () {
|
|
116
|
+
return this.c7w_1.s7q(this, cwd$factory_2());
|
|
117
117
|
};
|
|
118
118
|
protoOf(Test).kr = function () {
|
|
119
|
-
CommandExecutor_getInstance().test(this.
|
|
119
|
+
CommandExecutor_getInstance().test(this.i64(), this.c41());
|
|
120
120
|
};
|
|
121
121
|
function Prepare() {
|
|
122
122
|
CliktCommand.call(this, 'Prepare workspace');
|
|
123
|
-
this.
|
|
124
|
-
this.
|
|
123
|
+
this.u7w_1 = option(this, ['-c', '--config'], 'Config file name').c7r(this, config$factory_3());
|
|
124
|
+
this.v7w_1 = default_0(option(this, [], 'Current working directory', VOID, true), FileManager_instance.w62()).c7r(this, cwd$factory_3());
|
|
125
125
|
}
|
|
126
|
-
protoOf(Prepare).
|
|
127
|
-
return this.
|
|
126
|
+
protoOf(Prepare).c41 = function () {
|
|
127
|
+
return this.u7w_1.s7q(this, config$factory_4());
|
|
128
128
|
};
|
|
129
|
-
protoOf(Prepare).
|
|
130
|
-
return this.
|
|
129
|
+
protoOf(Prepare).i64 = function () {
|
|
130
|
+
return this.v7w_1.s7q(this, cwd$factory_4());
|
|
131
131
|
};
|
|
132
132
|
protoOf(Prepare).kr = function () {
|
|
133
|
-
CommandExecutor_getInstance().prepare(this.
|
|
133
|
+
CommandExecutor_getInstance().prepare(this.i64(), this.c41());
|
|
134
134
|
};
|
|
135
135
|
function Export() {
|
|
136
136
|
CliktCommand.call(this, 'Create export config for s3');
|
|
137
|
-
this.
|
|
138
|
-
this.
|
|
139
|
-
this.
|
|
140
|
-
this.
|
|
137
|
+
this.n7x_1 = option(this, ['-c', '--config'], 'Config file name').c7r(this, config$factory_5());
|
|
138
|
+
this.o7x_1 = default_0(option(this, [], 'Current working directory', VOID, true), FileManager_instance.w62()).c7r(this, cwd$factory_5());
|
|
139
|
+
this.p7x_1 = flag(option(this, ['--autoUpdate'], 'Autoupdate config in s3 storage', VOID, true), [], false).c7r(this, autoUpdate$factory());
|
|
140
|
+
this.q7x_1 = option(this, ['-v', '--version'], 'Version for build').c7r(this, version$factory());
|
|
141
141
|
}
|
|
142
|
-
protoOf(Export).
|
|
143
|
-
return this.
|
|
142
|
+
protoOf(Export).c41 = function () {
|
|
143
|
+
return this.n7x_1.s7q(this, config$factory_6());
|
|
144
144
|
};
|
|
145
|
-
protoOf(Export).
|
|
146
|
-
return this.
|
|
145
|
+
protoOf(Export).i64 = function () {
|
|
146
|
+
return this.o7x_1.s7q(this, cwd$factory_6());
|
|
147
147
|
};
|
|
148
148
|
protoOf(Export).j3g = function () {
|
|
149
|
-
return this.
|
|
149
|
+
return this.p7x_1.s7q(this, autoUpdate$factory_0());
|
|
150
150
|
};
|
|
151
151
|
protoOf(Export).q3k = function () {
|
|
152
|
-
return this.
|
|
152
|
+
return this.q7x_1.s7q(this, version$factory_0());
|
|
153
153
|
};
|
|
154
154
|
protoOf(Export).kr = function () {
|
|
155
|
-
CommandExecutor_getInstance().export(this.j3g(), this.
|
|
155
|
+
CommandExecutor_getInstance().export(this.j3g(), this.i64(), this.c41(), this.q3k());
|
|
156
156
|
};
|
|
157
157
|
function Upload() {
|
|
158
158
|
CliktCommand.call(this, 'Upload exportConfig to s3');
|
|
159
|
-
this.
|
|
160
|
-
this.
|
|
159
|
+
this.i7y_1 = option(this, ['-c', '--config'], 'Config file name').c7r(this, config$factory_7());
|
|
160
|
+
this.j7y_1 = default_0(option(this, [], 'Current working directory', VOID, true), FileManager_instance.w62()).c7r(this, cwd$factory_7());
|
|
161
161
|
}
|
|
162
|
-
protoOf(Upload).
|
|
163
|
-
return this.
|
|
162
|
+
protoOf(Upload).c41 = function () {
|
|
163
|
+
return this.i7y_1.s7q(this, config$factory_8());
|
|
164
164
|
};
|
|
165
|
-
protoOf(Upload).
|
|
166
|
-
return this.
|
|
165
|
+
protoOf(Upload).i64 = function () {
|
|
166
|
+
return this.j7y_1.s7q(this, cwd$factory_8());
|
|
167
167
|
};
|
|
168
168
|
protoOf(Upload).kr = function () {
|
|
169
|
-
CommandExecutor_getInstance().upload(this.
|
|
169
|
+
CommandExecutor_getInstance().upload(this.i64(), this.c41());
|
|
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.
|
|
180
|
-
this.
|
|
179
|
+
this.s7z_1 = option(this, ['-c', '--config'], 'Config file name').c7r(this, config$factory_9());
|
|
180
|
+
this.t7z_1 = default_0(option(this, [], 'Current working directory', VOID, true), FileManager_instance.w62()).c7r(this, cwd$factory_9());
|
|
181
181
|
}
|
|
182
|
-
protoOf(PullReferences).
|
|
183
|
-
return this.
|
|
182
|
+
protoOf(PullReferences).c41 = function () {
|
|
183
|
+
return this.s7z_1.s7q(this, config$factory_10());
|
|
184
184
|
};
|
|
185
|
-
protoOf(PullReferences).
|
|
186
|
-
return this.
|
|
185
|
+
protoOf(PullReferences).i64 = function () {
|
|
186
|
+
return this.t7z_1.s7q(this, cwd$factory_10());
|
|
187
187
|
};
|
|
188
188
|
protoOf(PullReferences).kr = function () {
|
|
189
|
-
CommandExecutor_getInstance().pullReferences(this.
|
|
189
|
+
CommandExecutor_getInstance().pullReferences(this.i64(), this.c41());
|
|
190
190
|
};
|
|
191
191
|
function email$factory() {
|
|
192
192
|
return getPropertyCallableRef('email', 1, KProperty1, function (receiver) {
|
|
193
|
-
return receiver.
|
|
193
|
+
return receiver.j7v();
|
|
194
194
|
}, null);
|
|
195
195
|
}
|
|
196
196
|
function password$factory() {
|
|
@@ -205,17 +205,17 @@
|
|
|
205
205
|
}
|
|
206
206
|
function config$factory() {
|
|
207
207
|
return getPropertyCallableRef('config', 1, KProperty1, function (receiver) {
|
|
208
|
-
return receiver.
|
|
208
|
+
return receiver.c41();
|
|
209
209
|
}, null);
|
|
210
210
|
}
|
|
211
211
|
function cwd$factory() {
|
|
212
212
|
return getPropertyCallableRef('cwd', 1, KProperty1, function (receiver) {
|
|
213
|
-
return receiver.
|
|
213
|
+
return receiver.i64();
|
|
214
214
|
}, null);
|
|
215
215
|
}
|
|
216
216
|
function email$factory_0() {
|
|
217
217
|
return getPropertyCallableRef('email', 1, KProperty1, function (receiver) {
|
|
218
|
-
return receiver.
|
|
218
|
+
return receiver.j7v();
|
|
219
219
|
}, null);
|
|
220
220
|
}
|
|
221
221
|
function password$factory_0() {
|
|
@@ -230,62 +230,62 @@
|
|
|
230
230
|
}
|
|
231
231
|
function config$factory_0() {
|
|
232
232
|
return getPropertyCallableRef('config', 1, KProperty1, function (receiver) {
|
|
233
|
-
return receiver.
|
|
233
|
+
return receiver.c41();
|
|
234
234
|
}, null);
|
|
235
235
|
}
|
|
236
236
|
function cwd$factory_0() {
|
|
237
237
|
return getPropertyCallableRef('cwd', 1, KProperty1, function (receiver) {
|
|
238
|
-
return receiver.
|
|
238
|
+
return receiver.i64();
|
|
239
239
|
}, null);
|
|
240
240
|
}
|
|
241
241
|
function config$factory_1() {
|
|
242
242
|
return getPropertyCallableRef('config', 1, KProperty1, function (receiver) {
|
|
243
|
-
return receiver.
|
|
243
|
+
return receiver.c41();
|
|
244
244
|
}, null);
|
|
245
245
|
}
|
|
246
246
|
function cwd$factory_1() {
|
|
247
247
|
return getPropertyCallableRef('cwd', 1, KProperty1, function (receiver) {
|
|
248
|
-
return receiver.
|
|
248
|
+
return receiver.i64();
|
|
249
249
|
}, null);
|
|
250
250
|
}
|
|
251
251
|
function config$factory_2() {
|
|
252
252
|
return getPropertyCallableRef('config', 1, KProperty1, function (receiver) {
|
|
253
|
-
return receiver.
|
|
253
|
+
return receiver.c41();
|
|
254
254
|
}, null);
|
|
255
255
|
}
|
|
256
256
|
function cwd$factory_2() {
|
|
257
257
|
return getPropertyCallableRef('cwd', 1, KProperty1, function (receiver) {
|
|
258
|
-
return receiver.
|
|
258
|
+
return receiver.i64();
|
|
259
259
|
}, null);
|
|
260
260
|
}
|
|
261
261
|
function config$factory_3() {
|
|
262
262
|
return getPropertyCallableRef('config', 1, KProperty1, function (receiver) {
|
|
263
|
-
return receiver.
|
|
263
|
+
return receiver.c41();
|
|
264
264
|
}, null);
|
|
265
265
|
}
|
|
266
266
|
function cwd$factory_3() {
|
|
267
267
|
return getPropertyCallableRef('cwd', 1, KProperty1, function (receiver) {
|
|
268
|
-
return receiver.
|
|
268
|
+
return receiver.i64();
|
|
269
269
|
}, null);
|
|
270
270
|
}
|
|
271
271
|
function config$factory_4() {
|
|
272
272
|
return getPropertyCallableRef('config', 1, KProperty1, function (receiver) {
|
|
273
|
-
return receiver.
|
|
273
|
+
return receiver.c41();
|
|
274
274
|
}, null);
|
|
275
275
|
}
|
|
276
276
|
function cwd$factory_4() {
|
|
277
277
|
return getPropertyCallableRef('cwd', 1, KProperty1, function (receiver) {
|
|
278
|
-
return receiver.
|
|
278
|
+
return receiver.i64();
|
|
279
279
|
}, null);
|
|
280
280
|
}
|
|
281
281
|
function config$factory_5() {
|
|
282
282
|
return getPropertyCallableRef('config', 1, KProperty1, function (receiver) {
|
|
283
|
-
return receiver.
|
|
283
|
+
return receiver.c41();
|
|
284
284
|
}, null);
|
|
285
285
|
}
|
|
286
286
|
function cwd$factory_5() {
|
|
287
287
|
return getPropertyCallableRef('cwd', 1, KProperty1, function (receiver) {
|
|
288
|
-
return receiver.
|
|
288
|
+
return receiver.i64();
|
|
289
289
|
}, null);
|
|
290
290
|
}
|
|
291
291
|
function autoUpdate$factory() {
|
|
@@ -300,12 +300,12 @@
|
|
|
300
300
|
}
|
|
301
301
|
function config$factory_6() {
|
|
302
302
|
return getPropertyCallableRef('config', 1, KProperty1, function (receiver) {
|
|
303
|
-
return receiver.
|
|
303
|
+
return receiver.c41();
|
|
304
304
|
}, null);
|
|
305
305
|
}
|
|
306
306
|
function cwd$factory_6() {
|
|
307
307
|
return getPropertyCallableRef('cwd', 1, KProperty1, function (receiver) {
|
|
308
|
-
return receiver.
|
|
308
|
+
return receiver.i64();
|
|
309
309
|
}, null);
|
|
310
310
|
}
|
|
311
311
|
function autoUpdate$factory_0() {
|
|
@@ -320,42 +320,42 @@
|
|
|
320
320
|
}
|
|
321
321
|
function config$factory_7() {
|
|
322
322
|
return getPropertyCallableRef('config', 1, KProperty1, function (receiver) {
|
|
323
|
-
return receiver.
|
|
323
|
+
return receiver.c41();
|
|
324
324
|
}, null);
|
|
325
325
|
}
|
|
326
326
|
function cwd$factory_7() {
|
|
327
327
|
return getPropertyCallableRef('cwd', 1, KProperty1, function (receiver) {
|
|
328
|
-
return receiver.
|
|
328
|
+
return receiver.i64();
|
|
329
329
|
}, null);
|
|
330
330
|
}
|
|
331
331
|
function config$factory_8() {
|
|
332
332
|
return getPropertyCallableRef('config', 1, KProperty1, function (receiver) {
|
|
333
|
-
return receiver.
|
|
333
|
+
return receiver.c41();
|
|
334
334
|
}, null);
|
|
335
335
|
}
|
|
336
336
|
function cwd$factory_8() {
|
|
337
337
|
return getPropertyCallableRef('cwd', 1, KProperty1, function (receiver) {
|
|
338
|
-
return receiver.
|
|
338
|
+
return receiver.i64();
|
|
339
339
|
}, null);
|
|
340
340
|
}
|
|
341
341
|
function config$factory_9() {
|
|
342
342
|
return getPropertyCallableRef('config', 1, KProperty1, function (receiver) {
|
|
343
|
-
return receiver.
|
|
343
|
+
return receiver.c41();
|
|
344
344
|
}, null);
|
|
345
345
|
}
|
|
346
346
|
function cwd$factory_9() {
|
|
347
347
|
return getPropertyCallableRef('cwd', 1, KProperty1, function (receiver) {
|
|
348
|
-
return receiver.
|
|
348
|
+
return receiver.i64();
|
|
349
349
|
}, null);
|
|
350
350
|
}
|
|
351
351
|
function config$factory_10() {
|
|
352
352
|
return getPropertyCallableRef('config', 1, KProperty1, function (receiver) {
|
|
353
|
-
return receiver.
|
|
353
|
+
return receiver.c41();
|
|
354
354
|
}, null);
|
|
355
355
|
}
|
|
356
356
|
function cwd$factory_10() {
|
|
357
357
|
return getPropertyCallableRef('cwd', 1, KProperty1, function (receiver) {
|
|
358
|
-
return receiver.
|
|
358
|
+
return receiver.i64();
|
|
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()]).
|
|
366
|
+
subcommands(new Mrsc(), [new Auth(), new Test(), new Prepare(), new Export(), new Upload(), new Version(), new PullReferences()]).c7i(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.
|
|
375
|
+
tmp_0.d7i(tmp$ret$2);
|
|
376
376
|
} else {
|
|
377
377
|
throw $p;
|
|
378
378
|
}
|