commandbar 1.6.13 → 1.6.16
Sign up to get free protection for your applications and to get access to all the features.
- package/build/commandbar-js/src/index.js +1 -1
- package/build/internal/src/client/AddContextOptions.d.ts +6 -0
- package/build/internal/src/client/CommandBarClientSDK.d.ts +39 -3
- package/build/internal/src/client/CommandBarSDK.d.ts +2 -1
- package/build/internal/src/client/EventHandler.d.ts +13 -4
- package/build/internal/src/client/symbols.d.ts +1 -0
- package/build/internal/src/middleware/CommandFromClientV.d.ts +7 -3
- package/build/internal/src/middleware/OrganizationV.d.ts +24 -0
- package/build/internal/src/middleware/ResourceSettingsV.d.ts +24 -0
- package/build/internal/src/middleware/command.d.ts +696 -190
- package/build/internal/src/middleware/commandCategory.d.ts +8 -0
- package/build/internal/src/middleware/detailPreview.d.ts +3 -6
- package/build/internal/src/middleware/helpers/argument.d.ts +11 -6
- package/build/internal/src/middleware/helpers/commandTemplate.d.ts +17 -0
- package/build/internal/src/middleware/helpers/rules.d.ts +29 -26
- package/build/internal/src/middleware/nudge.d.ts +197 -0
- package/build/internal/src/middleware/organization.d.ts +104 -13
- package/build/internal/src/middleware/skin.d.ts +18 -1
- package/build/internal/src/middleware/tab.d.ts +27 -0
- package/build/internal/src/middleware/types.d.ts +45 -12
- package/build/internal/src/middleware/user.d.ts +1 -1
- package/package.json +1 -1
@@ -2,6 +2,116 @@
|
|
2
2
|
import * as t from 'io-ts';
|
3
3
|
import { GenericBatchRequest } from './generics';
|
4
4
|
export { CommandFromClientV } from './CommandFromClientV';
|
5
|
+
declare const CommandBaseV: t.IntersectionC<[t.TypeC<{
|
6
|
+
id: t.NumberC;
|
7
|
+
organization: t.UnionC<[t.NumberC, t.StringC]>;
|
8
|
+
text: t.StringC;
|
9
|
+
template: t.UnionC<[t.IntersectionC<[t.TypeC<{
|
10
|
+
type: t.LiteralC<"admin">;
|
11
|
+
value: t.StringC;
|
12
|
+
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
13
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
14
|
+
object: t.StringC;
|
15
|
+
hoverTooltip: t.BooleanC;
|
16
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
17
|
+
}>]>]>, t.IntersectionC<[t.TypeC<{
|
18
|
+
type: t.LiteralC<"callback">;
|
19
|
+
value: t.StringC;
|
20
|
+
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
21
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
22
|
+
object: t.StringC;
|
23
|
+
hoverTooltip: t.BooleanC;
|
24
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
25
|
+
}>]>]>, t.IntersectionC<[t.TypeC<{
|
26
|
+
type: t.LiteralC<"link">;
|
27
|
+
value: t.StringC;
|
28
|
+
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
29
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
30
|
+
object: t.StringC;
|
31
|
+
hoverTooltip: t.BooleanC;
|
32
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
33
|
+
}>]>]>, t.IntersectionC<[t.TypeC<{
|
34
|
+
type: t.UnionC<[t.LiteralC<"click">, t.LiteralC<"clickBySelector">, t.LiteralC<"clickByXpath">]>;
|
35
|
+
value: t.ArrayC<t.StringC>;
|
36
|
+
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
37
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
38
|
+
object: t.StringC;
|
39
|
+
hoverTooltip: t.BooleanC;
|
40
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
41
|
+
}>]>]>, t.IntersectionC<[t.TypeC<{
|
42
|
+
type: t.LiteralC<"builtin">;
|
43
|
+
value: t.StringC;
|
44
|
+
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
45
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
46
|
+
object: t.StringC;
|
47
|
+
hoverTooltip: t.BooleanC;
|
48
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
49
|
+
}>]>]>, t.IntersectionC<[t.TypeC<{
|
50
|
+
type: t.LiteralC<"webhook">;
|
51
|
+
value: t.StringC;
|
52
|
+
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
53
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
54
|
+
object: t.StringC;
|
55
|
+
hoverTooltip: t.BooleanC;
|
56
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
57
|
+
}>]>]>, t.IntersectionC<[t.TypeC<{
|
58
|
+
type: t.LiteralC<"script">;
|
59
|
+
value: t.StringC;
|
60
|
+
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
61
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
62
|
+
object: t.StringC;
|
63
|
+
hoverTooltip: t.BooleanC;
|
64
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
65
|
+
}>]>]>, t.IntersectionC<[t.TypeC<{
|
66
|
+
type: t.LiteralC<"request">;
|
67
|
+
value: t.IntersectionC<[t.TypeC<{
|
68
|
+
method: t.UnionC<[t.LiteralC<"get">, t.LiteralC<"delete">, t.LiteralC<"head">, t.LiteralC<"options">, t.LiteralC<"post">, t.LiteralC<"put">, t.LiteralC<"patch">]>;
|
69
|
+
url: t.StringC;
|
70
|
+
}>, t.PartialC<{
|
71
|
+
headers: t.UnknownRecordC;
|
72
|
+
body: t.UnknownRecordC;
|
73
|
+
onSend: t.StringC;
|
74
|
+
onSuccess: t.StringC;
|
75
|
+
onError: t.StringC;
|
76
|
+
}>]>;
|
77
|
+
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
78
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
79
|
+
object: t.StringC;
|
80
|
+
hoverTooltip: t.BooleanC;
|
81
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
82
|
+
}>]>]>, t.IntersectionC<[t.TypeC<{
|
83
|
+
type: t.LiteralC<"appcues">;
|
84
|
+
value: t.StringC;
|
85
|
+
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
86
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
87
|
+
object: t.StringC;
|
88
|
+
hoverTooltip: t.BooleanC;
|
89
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
90
|
+
}>]>]>, t.IntersectionC<[t.TypeC<{
|
91
|
+
type: t.LiteralC<"video">;
|
92
|
+
value: t.StringC;
|
93
|
+
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
94
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
95
|
+
object: t.StringC;
|
96
|
+
hoverTooltip: t.BooleanC;
|
97
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
98
|
+
}>]>]>, t.IntersectionC<[t.TypeC<{
|
99
|
+
type: t.LiteralC<"helpdoc">;
|
100
|
+
value: t.StringC;
|
101
|
+
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
102
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
103
|
+
object: t.StringC;
|
104
|
+
hoverTooltip: t.BooleanC;
|
105
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
106
|
+
}>]>]>]>;
|
107
|
+
}>, t.PartialC<{
|
108
|
+
disabledReason: t.StringC;
|
109
|
+
source: t.StringC;
|
110
|
+
name: t.StringC;
|
111
|
+
last_available: t.UnionC<[t.StringC, t.NullC]>;
|
112
|
+
modified: t.StringC;
|
113
|
+
isAsync: t.BooleanC;
|
114
|
+
}>]>;
|
5
115
|
declare const HelpSyncCommandAdditionalV: t.PartialC<{
|
6
116
|
third_party_source: t.UnionC<[t.StringC, t.NullC]>;
|
7
117
|
third_party_id: t.UnionC<[t.StringC, t.NullC]>;
|
@@ -100,6 +210,14 @@ export declare const CommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
100
210
|
object: t.StringC;
|
101
211
|
hoverTooltip: t.BooleanC;
|
102
212
|
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
213
|
+
}>]>]>, t.IntersectionC<[t.TypeC<{
|
214
|
+
type: t.LiteralC<"helpdoc">;
|
215
|
+
value: t.StringC;
|
216
|
+
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
217
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
218
|
+
object: t.StringC;
|
219
|
+
hoverTooltip: t.BooleanC;
|
220
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
103
221
|
}>]>]>]>;
|
104
222
|
}>, t.PartialC<{
|
105
223
|
disabledReason: t.StringC;
|
@@ -107,6 +225,7 @@ export declare const CommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
107
225
|
name: t.StringC;
|
108
226
|
last_available: t.UnionC<[t.StringC, t.NullC]>;
|
109
227
|
modified: t.StringC;
|
228
|
+
isAsync: t.BooleanC;
|
110
229
|
}>]>, t.TypeC<{
|
111
230
|
arguments: t.RecordC<t.StringC, t.UnionC<[t.IntersectionC<[t.TypeC<{
|
112
231
|
type: t.LiteralC<"context">;
|
@@ -217,12 +336,13 @@ export declare const CommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
217
336
|
auto_choose: t.BooleanC;
|
218
337
|
is_private: t.BooleanC;
|
219
338
|
}>]>, t.IntersectionC<[t.TypeC<{
|
220
|
-
type: t.LiteralC<"video">;
|
339
|
+
type: t.UnionC<[t.LiteralC<"video">, t.LiteralC<"html">]>;
|
221
340
|
value: t.IntersectionC<[t.TypeC<{
|
222
341
|
source: t.StringC;
|
223
342
|
}>, t.PartialC<{
|
224
343
|
title: t.StringC;
|
225
344
|
description: t.StringC;
|
345
|
+
url: t.StringC;
|
226
346
|
}>]>;
|
227
347
|
order_key: t.NumberC;
|
228
348
|
}>, t.PartialC<{
|
@@ -303,6 +423,9 @@ export declare const CommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
303
423
|
value: t.StringC;
|
304
424
|
reason: t.StringC;
|
305
425
|
}>]>]>>;
|
426
|
+
availability_expression: t.UnionC<[t.Type<import("./helpers/rules").RuleExpression, import("./helpers/rules").RuleExpression, unknown>, t.NullC]>;
|
427
|
+
recommend_expression: t.UnionC<[t.Type<import("./helpers/rules").RuleExpression, import("./helpers/rules").RuleExpression, unknown>, t.NullC]>;
|
428
|
+
always_recommend: t.BooleanC;
|
306
429
|
confirm: t.StringC;
|
307
430
|
shortcut: t.ArrayC<t.StringC>;
|
308
431
|
explanation: t.StringC;
|
@@ -311,6 +434,7 @@ export declare const CommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
311
434
|
category: t.UnionC<[t.NumberC, t.NullC]>;
|
312
435
|
sort_key: t.UnionC<[t.NumberC, t.NullC]>;
|
313
436
|
icon: t.UnionC<[t.StringC, t.NullC]>;
|
437
|
+
image: t.UnionC<[t.StringC, t.NullC]>;
|
314
438
|
celebrate: t.UnionC<[t.BooleanC, t.PartialC<{
|
315
439
|
angle: t.NumberC;
|
316
440
|
spread: t.NumberC;
|
@@ -331,16 +455,20 @@ export declare const CommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
331
455
|
hotkey_mac: t.StringC;
|
332
456
|
hotkey_win: t.StringC;
|
333
457
|
detail: t.UnionC<[t.NullC, t.StringC, t.IntersectionC<[t.TypeC<{
|
334
|
-
type: t.UnionC<[t.LiteralC<"plaintext">, t.LiteralC<"markdown">, t.LiteralC<"html">, t.LiteralC<"react">, t.LiteralC<"video">, t.
|
458
|
+
type: t.UnionC<[t.LiteralC<"plaintext">, t.LiteralC<"markdown">, t.LiteralC<"html">, t.LiteralC<"react">, t.LiteralC<"video">, t.LiteralC<"component">]>;
|
335
459
|
value: t.StringC;
|
336
460
|
}>, t.PartialC<{
|
337
461
|
position: t.UnionC<[t.LiteralC<"inline">, t.LiteralC<"popover">]>;
|
338
462
|
}>]>, t.ArrayC<t.UnionC<[t.StringC, t.IntersectionC<[t.TypeC<{
|
339
|
-
type: t.UnionC<[t.LiteralC<"plaintext">, t.LiteralC<"markdown">, t.LiteralC<"html">, t.LiteralC<"react">, t.LiteralC<"video">, t.
|
463
|
+
type: t.UnionC<[t.LiteralC<"plaintext">, t.LiteralC<"markdown">, t.LiteralC<"html">, t.LiteralC<"react">, t.LiteralC<"video">, t.LiteralC<"component">]>;
|
340
464
|
value: t.StringC;
|
341
465
|
}>, t.PartialC<{
|
342
466
|
position: t.UnionC<[t.LiteralC<"inline">, t.LiteralC<"popover">]>;
|
343
467
|
}>]>]>>]>;
|
468
|
+
next_steps: t.ArrayC<t.UnionC<[t.StringC, t.NumberC]>>;
|
469
|
+
}>, t.PartialC<{
|
470
|
+
third_party_source: t.UnionC<[t.StringC, t.NullC]>;
|
471
|
+
third_party_id: t.UnionC<[t.StringC, t.NullC]>;
|
344
472
|
}>]>;
|
345
473
|
export declare const EditorCommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
346
474
|
id: t.NumberC;
|
@@ -435,6 +563,14 @@ export declare const EditorCommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
435
563
|
object: t.StringC;
|
436
564
|
hoverTooltip: t.BooleanC;
|
437
565
|
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
566
|
+
}>]>]>, t.IntersectionC<[t.TypeC<{
|
567
|
+
type: t.LiteralC<"helpdoc">;
|
568
|
+
value: t.StringC;
|
569
|
+
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
570
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
571
|
+
object: t.StringC;
|
572
|
+
hoverTooltip: t.BooleanC;
|
573
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
438
574
|
}>]>]>]>;
|
439
575
|
}>, t.PartialC<{
|
440
576
|
disabledReason: t.StringC;
|
@@ -442,6 +578,7 @@ export declare const EditorCommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
442
578
|
name: t.StringC;
|
443
579
|
last_available: t.UnionC<[t.StringC, t.NullC]>;
|
444
580
|
modified: t.StringC;
|
581
|
+
isAsync: t.BooleanC;
|
445
582
|
}>]>, t.TypeC<{
|
446
583
|
arguments: t.RecordC<t.StringC, t.UnionC<[t.IntersectionC<[t.TypeC<{
|
447
584
|
type: t.LiteralC<"context">;
|
@@ -552,12 +689,13 @@ export declare const EditorCommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
552
689
|
auto_choose: t.BooleanC;
|
553
690
|
is_private: t.BooleanC;
|
554
691
|
}>]>, t.IntersectionC<[t.TypeC<{
|
555
|
-
type: t.LiteralC<"video">;
|
692
|
+
type: t.UnionC<[t.LiteralC<"video">, t.LiteralC<"html">]>;
|
556
693
|
value: t.IntersectionC<[t.TypeC<{
|
557
694
|
source: t.StringC;
|
558
695
|
}>, t.PartialC<{
|
559
696
|
title: t.StringC;
|
560
697
|
description: t.StringC;
|
698
|
+
url: t.StringC;
|
561
699
|
}>]>;
|
562
700
|
order_key: t.NumberC;
|
563
701
|
}>, t.PartialC<{
|
@@ -705,6 +843,9 @@ export declare const EditorCommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
705
843
|
value: t.StringC;
|
706
844
|
reason: t.StringC;
|
707
845
|
}>]>]>>]>;
|
846
|
+
availability_expression: t.Type<import("./helpers/rules").RuleExpression, import("./helpers/rules").RuleExpression, unknown>;
|
847
|
+
recommend_expression: t.Type<import("./helpers/rules").RuleExpression, import("./helpers/rules").RuleExpression, unknown>;
|
848
|
+
always_recommend: t.BooleanC;
|
708
849
|
confirm: t.StringC;
|
709
850
|
shortcut: t.ArrayC<t.StringC>;
|
710
851
|
explanation: t.StringC;
|
@@ -713,6 +854,7 @@ export declare const EditorCommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
713
854
|
category: t.UnionC<[t.NumberC, t.NullC]>;
|
714
855
|
sort_key: t.UnionC<[t.NumberC, t.NullC]>;
|
715
856
|
icon: t.UnionC<[t.StringC, t.NullC]>;
|
857
|
+
image: t.UnionC<[t.StringC, t.NullC]>;
|
716
858
|
celebrate: t.UnionC<[t.BooleanC, t.PartialC<{
|
717
859
|
angle: t.NumberC;
|
718
860
|
spread: t.NumberC;
|
@@ -733,16 +875,17 @@ export declare const EditorCommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
|
733
875
|
hotkey_mac: t.StringC;
|
734
876
|
hotkey_win: t.StringC;
|
735
877
|
detail: t.UnionC<[t.NullC, t.StringC, t.IntersectionC<[t.TypeC<{
|
736
|
-
type: t.UnionC<[t.LiteralC<"plaintext">, t.LiteralC<"markdown">, t.LiteralC<"html">, t.LiteralC<"react">, t.LiteralC<"video">, t.
|
878
|
+
type: t.UnionC<[t.LiteralC<"plaintext">, t.LiteralC<"markdown">, t.LiteralC<"html">, t.LiteralC<"react">, t.LiteralC<"video">, t.LiteralC<"component">]>;
|
737
879
|
value: t.StringC;
|
738
880
|
}>, t.PartialC<{
|
739
881
|
position: t.UnionC<[t.LiteralC<"inline">, t.LiteralC<"popover">]>;
|
740
882
|
}>]>, t.ArrayC<t.UnionC<[t.StringC, t.IntersectionC<[t.TypeC<{
|
741
|
-
type: t.UnionC<[t.LiteralC<"plaintext">, t.LiteralC<"markdown">, t.LiteralC<"html">, t.LiteralC<"react">, t.LiteralC<"video">, t.
|
883
|
+
type: t.UnionC<[t.LiteralC<"plaintext">, t.LiteralC<"markdown">, t.LiteralC<"html">, t.LiteralC<"react">, t.LiteralC<"video">, t.LiteralC<"component">]>;
|
742
884
|
value: t.StringC;
|
743
885
|
}>, t.PartialC<{
|
744
886
|
position: t.UnionC<[t.LiteralC<"inline">, t.LiteralC<"popover">]>;
|
745
887
|
}>]>]>>]>;
|
888
|
+
next_steps: t.ArrayC<t.UnionC<[t.StringC, t.NumberC]>>;
|
746
889
|
}>, t.PartialC<{
|
747
890
|
third_party_source: t.UnionC<[t.StringC, t.NullC]>;
|
748
891
|
third_party_id: t.UnionC<[t.StringC, t.NullC]>;
|
@@ -852,6 +995,14 @@ export declare const BatchEditorCommandResponseV: t.TypeC<{
|
|
852
995
|
object: t.StringC;
|
853
996
|
hoverTooltip: t.BooleanC;
|
854
997
|
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
998
|
+
}>]>]>, t.IntersectionC<[t.TypeC<{
|
999
|
+
type: t.LiteralC<"helpdoc">;
|
1000
|
+
value: t.StringC;
|
1001
|
+
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
1002
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
1003
|
+
object: t.StringC;
|
1004
|
+
hoverTooltip: t.BooleanC;
|
1005
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
855
1006
|
}>]>]>]>;
|
856
1007
|
}>, t.PartialC<{
|
857
1008
|
disabledReason: t.StringC;
|
@@ -859,6 +1010,7 @@ export declare const BatchEditorCommandResponseV: t.TypeC<{
|
|
859
1010
|
name: t.StringC;
|
860
1011
|
last_available: t.UnionC<[t.StringC, t.NullC]>;
|
861
1012
|
modified: t.StringC;
|
1013
|
+
isAsync: t.BooleanC;
|
862
1014
|
}>]>, t.TypeC<{
|
863
1015
|
arguments: t.RecordC<t.StringC, t.UnionC<[t.IntersectionC<[t.TypeC<{
|
864
1016
|
type: t.LiteralC<"context">;
|
@@ -969,12 +1121,13 @@ export declare const BatchEditorCommandResponseV: t.TypeC<{
|
|
969
1121
|
auto_choose: t.BooleanC;
|
970
1122
|
is_private: t.BooleanC;
|
971
1123
|
}>]>, t.IntersectionC<[t.TypeC<{
|
972
|
-
type: t.LiteralC<"video">;
|
1124
|
+
type: t.UnionC<[t.LiteralC<"video">, t.LiteralC<"html">]>;
|
973
1125
|
value: t.IntersectionC<[t.TypeC<{
|
974
1126
|
source: t.StringC;
|
975
1127
|
}>, t.PartialC<{
|
976
1128
|
title: t.StringC;
|
977
1129
|
description: t.StringC;
|
1130
|
+
url: t.StringC;
|
978
1131
|
}>]>;
|
979
1132
|
order_key: t.NumberC;
|
980
1133
|
}>, t.PartialC<{
|
@@ -1122,6 +1275,9 @@ export declare const BatchEditorCommandResponseV: t.TypeC<{
|
|
1122
1275
|
value: t.StringC;
|
1123
1276
|
reason: t.StringC;
|
1124
1277
|
}>]>]>>]>;
|
1278
|
+
availability_expression: t.Type<import("./helpers/rules").RuleExpression, import("./helpers/rules").RuleExpression, unknown>;
|
1279
|
+
recommend_expression: t.Type<import("./helpers/rules").RuleExpression, import("./helpers/rules").RuleExpression, unknown>;
|
1280
|
+
always_recommend: t.BooleanC;
|
1125
1281
|
confirm: t.StringC;
|
1126
1282
|
shortcut: t.ArrayC<t.StringC>;
|
1127
1283
|
explanation: t.StringC;
|
@@ -1130,6 +1286,7 @@ export declare const BatchEditorCommandResponseV: t.TypeC<{
|
|
1130
1286
|
category: t.UnionC<[t.NumberC, t.NullC]>;
|
1131
1287
|
sort_key: t.UnionC<[t.NumberC, t.NullC]>;
|
1132
1288
|
icon: t.UnionC<[t.StringC, t.NullC]>;
|
1289
|
+
image: t.UnionC<[t.StringC, t.NullC]>;
|
1133
1290
|
celebrate: t.UnionC<[t.BooleanC, t.PartialC<{
|
1134
1291
|
angle: t.NumberC;
|
1135
1292
|
spread: t.NumberC;
|
@@ -1150,16 +1307,17 @@ export declare const BatchEditorCommandResponseV: t.TypeC<{
|
|
1150
1307
|
hotkey_mac: t.StringC;
|
1151
1308
|
hotkey_win: t.StringC;
|
1152
1309
|
detail: t.UnionC<[t.NullC, t.StringC, t.IntersectionC<[t.TypeC<{
|
1153
|
-
type: t.UnionC<[t.LiteralC<"plaintext">, t.LiteralC<"markdown">, t.LiteralC<"html">, t.LiteralC<"react">, t.LiteralC<"video">, t.
|
1310
|
+
type: t.UnionC<[t.LiteralC<"plaintext">, t.LiteralC<"markdown">, t.LiteralC<"html">, t.LiteralC<"react">, t.LiteralC<"video">, t.LiteralC<"component">]>;
|
1154
1311
|
value: t.StringC;
|
1155
1312
|
}>, t.PartialC<{
|
1156
1313
|
position: t.UnionC<[t.LiteralC<"inline">, t.LiteralC<"popover">]>;
|
1157
1314
|
}>]>, t.ArrayC<t.UnionC<[t.StringC, t.IntersectionC<[t.TypeC<{
|
1158
|
-
type: t.UnionC<[t.LiteralC<"plaintext">, t.LiteralC<"markdown">, t.LiteralC<"html">, t.LiteralC<"react">, t.LiteralC<"video">, t.
|
1315
|
+
type: t.UnionC<[t.LiteralC<"plaintext">, t.LiteralC<"markdown">, t.LiteralC<"html">, t.LiteralC<"react">, t.LiteralC<"video">, t.LiteralC<"component">]>;
|
1159
1316
|
value: t.StringC;
|
1160
1317
|
}>, t.PartialC<{
|
1161
1318
|
position: t.UnionC<[t.LiteralC<"inline">, t.LiteralC<"popover">]>;
|
1162
1319
|
}>]>]>>]>;
|
1320
|
+
next_steps: t.ArrayC<t.UnionC<[t.StringC, t.NumberC]>>;
|
1163
1321
|
}>, t.PartialC<{
|
1164
1322
|
third_party_source: t.UnionC<[t.StringC, t.NullC]>;
|
1165
1323
|
third_party_id: t.UnionC<[t.StringC, t.NullC]>;
|
@@ -1263,6 +1421,14 @@ export declare class Command {
|
|
1263
1421
|
object?: string | undefined;
|
1264
1422
|
hoverTooltip?: boolean | undefined;
|
1265
1423
|
operation?: "self" | "router" | "blank" | undefined;
|
1424
|
+
}) | ({
|
1425
|
+
type: "helpdoc";
|
1426
|
+
value: string;
|
1427
|
+
} & {} & {
|
1428
|
+
commandType?: "object" | "independent" | "help" | undefined;
|
1429
|
+
object?: string | undefined;
|
1430
|
+
hoverTooltip?: boolean | undefined;
|
1431
|
+
operation?: "self" | "router" | "blank" | undefined;
|
1266
1432
|
});
|
1267
1433
|
} & {
|
1268
1434
|
disabledReason?: string | undefined;
|
@@ -1270,6 +1436,7 @@ export declare class Command {
|
|
1270
1436
|
name?: string | undefined;
|
1271
1437
|
last_available?: string | null | undefined;
|
1272
1438
|
modified?: string | undefined;
|
1439
|
+
isAsync?: boolean | undefined;
|
1273
1440
|
} & {
|
1274
1441
|
arguments: {
|
1275
1442
|
[x: string]: ({
|
@@ -1383,12 +1550,13 @@ export declare class Command {
|
|
1383
1550
|
auto_choose?: boolean | undefined;
|
1384
1551
|
is_private?: boolean | undefined;
|
1385
1552
|
}) | ({
|
1386
|
-
type: "video";
|
1553
|
+
type: "html" | "video";
|
1387
1554
|
value: {
|
1388
1555
|
source: string;
|
1389
1556
|
} & {
|
1390
1557
|
title?: string | undefined;
|
1391
1558
|
description?: string | undefined;
|
1559
|
+
url?: string | undefined;
|
1392
1560
|
};
|
1393
1561
|
order_key: number;
|
1394
1562
|
} & {
|
@@ -1432,27 +1600,20 @@ export declare class Command {
|
|
1432
1600
|
reason?: string | undefined;
|
1433
1601
|
}))[];
|
1434
1602
|
recommend_rules: (({
|
1435
|
-
type: "always";
|
1436
|
-
} & {
|
1437
|
-
operator?: null | undefined;
|
1438
|
-
field?: null | undefined;
|
1439
|
-
value?: null | undefined;
|
1440
|
-
reason?: null | undefined;
|
1441
|
-
}) | ({
|
1442
1603
|
type: "url" | "context" | "element";
|
1443
1604
|
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
|
1444
1605
|
} & {
|
1445
1606
|
field?: string | undefined;
|
1446
1607
|
value?: string | undefined;
|
1447
1608
|
reason?: string | undefined;
|
1448
|
-
})
|
1609
|
+
}) | ({
|
1449
1610
|
type: "always";
|
1450
1611
|
} & {
|
1451
1612
|
operator?: null | undefined;
|
1452
1613
|
field?: null | undefined;
|
1453
1614
|
value?: null | undefined;
|
1454
1615
|
reason?: null | undefined;
|
1455
|
-
}) | ({
|
1616
|
+
}))[] | (({
|
1456
1617
|
type: "url" | "context" | "element";
|
1457
1618
|
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
|
1458
1619
|
} & {
|
@@ -1464,7 +1625,17 @@ export declare class Command {
|
|
1464
1625
|
rule_id: number;
|
1465
1626
|
} & {
|
1466
1627
|
reason?: string | undefined;
|
1628
|
+
}) | ({
|
1629
|
+
type: "always";
|
1630
|
+
} & {
|
1631
|
+
operator?: null | undefined;
|
1632
|
+
field?: null | undefined;
|
1633
|
+
value?: null | undefined;
|
1634
|
+
reason?: null | undefined;
|
1467
1635
|
}))[];
|
1636
|
+
availability_expression: import("./helpers/rules").RuleExpression;
|
1637
|
+
recommend_expression: import("./helpers/rules").RuleExpression;
|
1638
|
+
always_recommend: boolean;
|
1468
1639
|
confirm: string;
|
1469
1640
|
shortcut: string[];
|
1470
1641
|
explanation: string;
|
@@ -1473,6 +1644,7 @@ export declare class Command {
|
|
1473
1644
|
category: number | null;
|
1474
1645
|
sort_key: number | null;
|
1475
1646
|
icon: string | null;
|
1647
|
+
image: string | null;
|
1476
1648
|
celebrate: boolean | {
|
1477
1649
|
angle?: number | undefined;
|
1478
1650
|
spread?: number | undefined;
|
@@ -1493,16 +1665,17 @@ export declare class Command {
|
|
1493
1665
|
hotkey_mac: string;
|
1494
1666
|
hotkey_win: string;
|
1495
1667
|
detail: string | ({
|
1496
|
-
type: "html" | "video" | "plaintext" | "markdown" | "react" |
|
1668
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
1497
1669
|
value: string;
|
1498
1670
|
} & {
|
1499
1671
|
position?: "inline" | "popover" | undefined;
|
1500
1672
|
}) | (string | ({
|
1501
|
-
type: "html" | "video" | "plaintext" | "markdown" | "react" |
|
1673
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
1502
1674
|
value: string;
|
1503
1675
|
} & {
|
1504
1676
|
position?: "inline" | "popover" | undefined;
|
1505
1677
|
}))[] | null;
|
1678
|
+
next_steps: (string | number)[];
|
1506
1679
|
} & {
|
1507
1680
|
third_party_source?: string | null | undefined;
|
1508
1681
|
third_party_id?: string | null | undefined;
|
@@ -1603,6 +1776,14 @@ export declare class Command {
|
|
1603
1776
|
object?: string | undefined;
|
1604
1777
|
hoverTooltip?: boolean | undefined;
|
1605
1778
|
operation?: "self" | "router" | "blank" | undefined;
|
1779
|
+
}) | ({
|
1780
|
+
type: "helpdoc";
|
1781
|
+
value: string;
|
1782
|
+
} & {} & {
|
1783
|
+
commandType?: "object" | "independent" | "help" | undefined;
|
1784
|
+
object?: string | undefined;
|
1785
|
+
hoverTooltip?: boolean | undefined;
|
1786
|
+
operation?: "self" | "router" | "blank" | undefined;
|
1606
1787
|
});
|
1607
1788
|
} & {
|
1608
1789
|
disabledReason?: string | undefined;
|
@@ -1610,6 +1791,7 @@ export declare class Command {
|
|
1610
1791
|
name?: string | undefined;
|
1611
1792
|
last_available?: string | null | undefined;
|
1612
1793
|
modified?: string | undefined;
|
1794
|
+
isAsync?: boolean | undefined;
|
1613
1795
|
} & {
|
1614
1796
|
arguments: {
|
1615
1797
|
[x: string]: ({
|
@@ -1723,12 +1905,13 @@ export declare class Command {
|
|
1723
1905
|
auto_choose?: boolean | undefined;
|
1724
1906
|
is_private?: boolean | undefined;
|
1725
1907
|
}) | ({
|
1726
|
-
type: "video";
|
1908
|
+
type: "html" | "video";
|
1727
1909
|
value: {
|
1728
1910
|
source: string;
|
1729
1911
|
} & {
|
1730
1912
|
title?: string | undefined;
|
1731
1913
|
description?: string | undefined;
|
1914
|
+
url?: string | undefined;
|
1732
1915
|
};
|
1733
1916
|
order_key: number;
|
1734
1917
|
} & {
|
@@ -1772,27 +1955,20 @@ export declare class Command {
|
|
1772
1955
|
reason?: string | undefined;
|
1773
1956
|
}))[];
|
1774
1957
|
recommend_rules: (({
|
1775
|
-
type: "always";
|
1776
|
-
} & {
|
1777
|
-
operator?: null | undefined;
|
1778
|
-
field?: null | undefined;
|
1779
|
-
value?: null | undefined;
|
1780
|
-
reason?: null | undefined;
|
1781
|
-
}) | ({
|
1782
1958
|
type: "url" | "context" | "element";
|
1783
1959
|
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
|
1784
1960
|
} & {
|
1785
1961
|
field?: string | undefined;
|
1786
1962
|
value?: string | undefined;
|
1787
1963
|
reason?: string | undefined;
|
1788
|
-
})
|
1964
|
+
}) | ({
|
1789
1965
|
type: "always";
|
1790
1966
|
} & {
|
1791
1967
|
operator?: null | undefined;
|
1792
1968
|
field?: null | undefined;
|
1793
1969
|
value?: null | undefined;
|
1794
1970
|
reason?: null | undefined;
|
1795
|
-
}) | ({
|
1971
|
+
}))[] | (({
|
1796
1972
|
type: "url" | "context" | "element";
|
1797
1973
|
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
|
1798
1974
|
} & {
|
@@ -1804,7 +1980,17 @@ export declare class Command {
|
|
1804
1980
|
rule_id: number;
|
1805
1981
|
} & {
|
1806
1982
|
reason?: string | undefined;
|
1983
|
+
}) | ({
|
1984
|
+
type: "always";
|
1985
|
+
} & {
|
1986
|
+
operator?: null | undefined;
|
1987
|
+
field?: null | undefined;
|
1988
|
+
value?: null | undefined;
|
1989
|
+
reason?: null | undefined;
|
1807
1990
|
}))[];
|
1991
|
+
availability_expression: import("./helpers/rules").RuleExpression;
|
1992
|
+
recommend_expression: import("./helpers/rules").RuleExpression;
|
1993
|
+
always_recommend: boolean;
|
1808
1994
|
confirm: string;
|
1809
1995
|
shortcut: string[];
|
1810
1996
|
explanation: string;
|
@@ -1813,6 +1999,7 @@ export declare class Command {
|
|
1813
1999
|
category: number | null;
|
1814
2000
|
sort_key: number | null;
|
1815
2001
|
icon: string | null;
|
2002
|
+
image: string | null;
|
1816
2003
|
celebrate: boolean | {
|
1817
2004
|
angle?: number | undefined;
|
1818
2005
|
spread?: number | undefined;
|
@@ -1833,16 +2020,17 @@ export declare class Command {
|
|
1833
2020
|
hotkey_mac: string;
|
1834
2021
|
hotkey_win: string;
|
1835
2022
|
detail: string | ({
|
1836
|
-
type: "html" | "video" | "plaintext" | "markdown" | "react" |
|
2023
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
1837
2024
|
value: string;
|
1838
2025
|
} & {
|
1839
2026
|
position?: "inline" | "popover" | undefined;
|
1840
2027
|
}) | (string | ({
|
1841
|
-
type: "html" | "video" | "plaintext" | "markdown" | "react" |
|
2028
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
1842
2029
|
value: string;
|
1843
2030
|
} & {
|
1844
2031
|
position?: "inline" | "popover" | undefined;
|
1845
2032
|
}))[] | null;
|
2033
|
+
next_steps: (string | number)[];
|
1846
2034
|
} & {
|
1847
2035
|
third_party_source?: string | null | undefined;
|
1848
2036
|
third_party_id?: string | null | undefined;
|
@@ -1944,6 +2132,14 @@ export declare class Command {
|
|
1944
2132
|
object?: string | undefined;
|
1945
2133
|
hoverTooltip?: boolean | undefined;
|
1946
2134
|
operation?: "self" | "router" | "blank" | undefined;
|
2135
|
+
}) | ({
|
2136
|
+
type: "helpdoc";
|
2137
|
+
value: string;
|
2138
|
+
} & {} & {
|
2139
|
+
commandType?: "object" | "independent" | "help" | undefined;
|
2140
|
+
object?: string | undefined;
|
2141
|
+
hoverTooltip?: boolean | undefined;
|
2142
|
+
operation?: "self" | "router" | "blank" | undefined;
|
1947
2143
|
});
|
1948
2144
|
} & {
|
1949
2145
|
disabledReason?: string | undefined;
|
@@ -1951,6 +2147,7 @@ export declare class Command {
|
|
1951
2147
|
name?: string | undefined;
|
1952
2148
|
last_available?: string | null | undefined;
|
1953
2149
|
modified?: string | undefined;
|
2150
|
+
isAsync?: boolean | undefined;
|
1954
2151
|
} & {
|
1955
2152
|
arguments: {
|
1956
2153
|
[x: string]: ({
|
@@ -2064,12 +2261,13 @@ export declare class Command {
|
|
2064
2261
|
auto_choose?: boolean | undefined;
|
2065
2262
|
is_private?: boolean | undefined;
|
2066
2263
|
}) | ({
|
2067
|
-
type: "video";
|
2264
|
+
type: "html" | "video";
|
2068
2265
|
value: {
|
2069
2266
|
source: string;
|
2070
2267
|
} & {
|
2071
2268
|
title?: string | undefined;
|
2072
2269
|
description?: string | undefined;
|
2270
|
+
url?: string | undefined;
|
2073
2271
|
};
|
2074
2272
|
order_key: number;
|
2075
2273
|
} & {
|
@@ -2113,27 +2311,20 @@ export declare class Command {
|
|
2113
2311
|
reason?: string | undefined;
|
2114
2312
|
}))[];
|
2115
2313
|
recommend_rules: (({
|
2116
|
-
type: "always";
|
2117
|
-
} & {
|
2118
|
-
operator?: null | undefined;
|
2119
|
-
field?: null | undefined;
|
2120
|
-
value?: null | undefined;
|
2121
|
-
reason?: null | undefined;
|
2122
|
-
}) | ({
|
2123
2314
|
type: "url" | "context" | "element";
|
2124
2315
|
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
|
2125
2316
|
} & {
|
2126
2317
|
field?: string | undefined;
|
2127
2318
|
value?: string | undefined;
|
2128
2319
|
reason?: string | undefined;
|
2129
|
-
})
|
2320
|
+
}) | ({
|
2130
2321
|
type: "always";
|
2131
2322
|
} & {
|
2132
2323
|
operator?: null | undefined;
|
2133
2324
|
field?: null | undefined;
|
2134
2325
|
value?: null | undefined;
|
2135
2326
|
reason?: null | undefined;
|
2136
|
-
}) | ({
|
2327
|
+
}))[] | (({
|
2137
2328
|
type: "url" | "context" | "element";
|
2138
2329
|
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
|
2139
2330
|
} & {
|
@@ -2145,7 +2336,17 @@ export declare class Command {
|
|
2145
2336
|
rule_id: number;
|
2146
2337
|
} & {
|
2147
2338
|
reason?: string | undefined;
|
2339
|
+
}) | ({
|
2340
|
+
type: "always";
|
2341
|
+
} & {
|
2342
|
+
operator?: null | undefined;
|
2343
|
+
field?: null | undefined;
|
2344
|
+
value?: null | undefined;
|
2345
|
+
reason?: null | undefined;
|
2148
2346
|
}))[];
|
2347
|
+
availability_expression: import("./helpers/rules").RuleExpression;
|
2348
|
+
recommend_expression: import("./helpers/rules").RuleExpression;
|
2349
|
+
always_recommend: boolean;
|
2149
2350
|
confirm: string;
|
2150
2351
|
shortcut: string[];
|
2151
2352
|
explanation: string;
|
@@ -2154,6 +2355,7 @@ export declare class Command {
|
|
2154
2355
|
category: number | null;
|
2155
2356
|
sort_key: number | null;
|
2156
2357
|
icon: string | null;
|
2358
|
+
image: string | null;
|
2157
2359
|
celebrate: boolean | {
|
2158
2360
|
angle?: number | undefined;
|
2159
2361
|
spread?: number | undefined;
|
@@ -2174,16 +2376,17 @@ export declare class Command {
|
|
2174
2376
|
hotkey_mac: string;
|
2175
2377
|
hotkey_win: string;
|
2176
2378
|
detail: string | ({
|
2177
|
-
type: "html" | "video" | "plaintext" | "markdown" | "react" |
|
2379
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
2178
2380
|
value: string;
|
2179
2381
|
} & {
|
2180
2382
|
position?: "inline" | "popover" | undefined;
|
2181
2383
|
}) | (string | ({
|
2182
|
-
type: "html" | "video" | "plaintext" | "markdown" | "react" |
|
2384
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
2183
2385
|
value: string;
|
2184
2386
|
} & {
|
2185
2387
|
position?: "inline" | "popover" | undefined;
|
2186
2388
|
}))[] | null;
|
2389
|
+
next_steps: (string | number)[];
|
2187
2390
|
} & {
|
2188
2391
|
third_party_source?: string | null | undefined;
|
2189
2392
|
third_party_id?: string | null | undefined;
|
@@ -2284,6 +2487,14 @@ export declare class Command {
|
|
2284
2487
|
object?: string | undefined;
|
2285
2488
|
hoverTooltip?: boolean | undefined;
|
2286
2489
|
operation?: "self" | "router" | "blank" | undefined;
|
2490
|
+
}) | ({
|
2491
|
+
type: "helpdoc";
|
2492
|
+
value: string;
|
2493
|
+
} & {} & {
|
2494
|
+
commandType?: "object" | "independent" | "help" | undefined;
|
2495
|
+
object?: string | undefined;
|
2496
|
+
hoverTooltip?: boolean | undefined;
|
2497
|
+
operation?: "self" | "router" | "blank" | undefined;
|
2287
2498
|
});
|
2288
2499
|
} & {
|
2289
2500
|
disabledReason?: string | undefined;
|
@@ -2291,6 +2502,7 @@ export declare class Command {
|
|
2291
2502
|
name?: string | undefined;
|
2292
2503
|
last_available?: string | null | undefined;
|
2293
2504
|
modified?: string | undefined;
|
2505
|
+
isAsync?: boolean | undefined;
|
2294
2506
|
} & {
|
2295
2507
|
arguments: {
|
2296
2508
|
[x: string]: ({
|
@@ -2404,12 +2616,13 @@ export declare class Command {
|
|
2404
2616
|
auto_choose?: boolean | undefined;
|
2405
2617
|
is_private?: boolean | undefined;
|
2406
2618
|
}) | ({
|
2407
|
-
type: "video";
|
2619
|
+
type: "html" | "video";
|
2408
2620
|
value: {
|
2409
2621
|
source: string;
|
2410
2622
|
} & {
|
2411
2623
|
title?: string | undefined;
|
2412
2624
|
description?: string | undefined;
|
2625
|
+
url?: string | undefined;
|
2413
2626
|
};
|
2414
2627
|
order_key: number;
|
2415
2628
|
} & {
|
@@ -2453,27 +2666,20 @@ export declare class Command {
|
|
2453
2666
|
reason?: string | undefined;
|
2454
2667
|
}))[];
|
2455
2668
|
recommend_rules: (({
|
2456
|
-
type: "always";
|
2457
|
-
} & {
|
2458
|
-
operator?: null | undefined;
|
2459
|
-
field?: null | undefined;
|
2460
|
-
value?: null | undefined;
|
2461
|
-
reason?: null | undefined;
|
2462
|
-
}) | ({
|
2463
2669
|
type: "url" | "context" | "element";
|
2464
2670
|
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
|
2465
2671
|
} & {
|
2466
2672
|
field?: string | undefined;
|
2467
2673
|
value?: string | undefined;
|
2468
2674
|
reason?: string | undefined;
|
2469
|
-
})
|
2675
|
+
}) | ({
|
2470
2676
|
type: "always";
|
2471
2677
|
} & {
|
2472
2678
|
operator?: null | undefined;
|
2473
2679
|
field?: null | undefined;
|
2474
2680
|
value?: null | undefined;
|
2475
2681
|
reason?: null | undefined;
|
2476
|
-
}) | ({
|
2682
|
+
}))[] | (({
|
2477
2683
|
type: "url" | "context" | "element";
|
2478
2684
|
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
|
2479
2685
|
} & {
|
@@ -2485,7 +2691,17 @@ export declare class Command {
|
|
2485
2691
|
rule_id: number;
|
2486
2692
|
} & {
|
2487
2693
|
reason?: string | undefined;
|
2694
|
+
}) | ({
|
2695
|
+
type: "always";
|
2696
|
+
} & {
|
2697
|
+
operator?: null | undefined;
|
2698
|
+
field?: null | undefined;
|
2699
|
+
value?: null | undefined;
|
2700
|
+
reason?: null | undefined;
|
2488
2701
|
}))[];
|
2702
|
+
availability_expression: import("./helpers/rules").RuleExpression;
|
2703
|
+
recommend_expression: import("./helpers/rules").RuleExpression;
|
2704
|
+
always_recommend: boolean;
|
2489
2705
|
confirm: string;
|
2490
2706
|
shortcut: string[];
|
2491
2707
|
explanation: string;
|
@@ -2494,6 +2710,7 @@ export declare class Command {
|
|
2494
2710
|
category: number | null;
|
2495
2711
|
sort_key: number | null;
|
2496
2712
|
icon: string | null;
|
2713
|
+
image: string | null;
|
2497
2714
|
celebrate: boolean | {
|
2498
2715
|
angle?: number | undefined;
|
2499
2716
|
spread?: number | undefined;
|
@@ -2514,16 +2731,17 @@ export declare class Command {
|
|
2514
2731
|
hotkey_mac: string;
|
2515
2732
|
hotkey_win: string;
|
2516
2733
|
detail: string | ({
|
2517
|
-
type: "html" | "video" | "plaintext" | "markdown" | "react" |
|
2734
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
2518
2735
|
value: string;
|
2519
2736
|
} & {
|
2520
2737
|
position?: "inline" | "popover" | undefined;
|
2521
2738
|
}) | (string | ({
|
2522
|
-
type: "html" | "video" | "plaintext" | "markdown" | "react" |
|
2739
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
2523
2740
|
value: string;
|
2524
2741
|
} & {
|
2525
2742
|
position?: "inline" | "popover" | undefined;
|
2526
2743
|
}))[] | null;
|
2744
|
+
next_steps: (string | number)[];
|
2527
2745
|
} & {
|
2528
2746
|
third_party_source?: string | null | undefined;
|
2529
2747
|
third_party_id?: string | null | undefined;
|
@@ -2627,6 +2845,14 @@ export declare class Command {
|
|
2627
2845
|
object?: string | undefined;
|
2628
2846
|
hoverTooltip?: boolean | undefined;
|
2629
2847
|
operation?: "self" | "router" | "blank" | undefined;
|
2848
|
+
}) | ({
|
2849
|
+
type: "helpdoc";
|
2850
|
+
value: string;
|
2851
|
+
} & {} & {
|
2852
|
+
commandType?: "object" | "independent" | "help" | undefined;
|
2853
|
+
object?: string | undefined;
|
2854
|
+
hoverTooltip?: boolean | undefined;
|
2855
|
+
operation?: "self" | "router" | "blank" | undefined;
|
2630
2856
|
});
|
2631
2857
|
} & {
|
2632
2858
|
disabledReason?: string | undefined;
|
@@ -2634,6 +2860,7 @@ export declare class Command {
|
|
2634
2860
|
name?: string | undefined;
|
2635
2861
|
last_available?: string | null | undefined;
|
2636
2862
|
modified?: string | undefined;
|
2863
|
+
isAsync?: boolean | undefined;
|
2637
2864
|
} & {
|
2638
2865
|
arguments: {
|
2639
2866
|
[x: string]: ({
|
@@ -2747,12 +2974,13 @@ export declare class Command {
|
|
2747
2974
|
auto_choose?: boolean | undefined;
|
2748
2975
|
is_private?: boolean | undefined;
|
2749
2976
|
}) | ({
|
2750
|
-
type: "video";
|
2977
|
+
type: "html" | "video";
|
2751
2978
|
value: {
|
2752
2979
|
source: string;
|
2753
2980
|
} & {
|
2754
2981
|
title?: string | undefined;
|
2755
2982
|
description?: string | undefined;
|
2983
|
+
url?: string | undefined;
|
2756
2984
|
};
|
2757
2985
|
order_key: number;
|
2758
2986
|
} & {
|
@@ -2796,27 +3024,20 @@ export declare class Command {
|
|
2796
3024
|
reason?: string | undefined;
|
2797
3025
|
}))[];
|
2798
3026
|
recommend_rules: (({
|
2799
|
-
type: "always";
|
2800
|
-
} & {
|
2801
|
-
operator?: null | undefined;
|
2802
|
-
field?: null | undefined;
|
2803
|
-
value?: null | undefined;
|
2804
|
-
reason?: null | undefined;
|
2805
|
-
}) | ({
|
2806
3027
|
type: "url" | "context" | "element";
|
2807
3028
|
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
|
2808
3029
|
} & {
|
2809
3030
|
field?: string | undefined;
|
2810
3031
|
value?: string | undefined;
|
2811
3032
|
reason?: string | undefined;
|
2812
|
-
})
|
3033
|
+
}) | ({
|
2813
3034
|
type: "always";
|
2814
3035
|
} & {
|
2815
3036
|
operator?: null | undefined;
|
2816
3037
|
field?: null | undefined;
|
2817
3038
|
value?: null | undefined;
|
2818
3039
|
reason?: null | undefined;
|
2819
|
-
}) | ({
|
3040
|
+
}))[] | (({
|
2820
3041
|
type: "url" | "context" | "element";
|
2821
3042
|
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
|
2822
3043
|
} & {
|
@@ -2828,7 +3049,17 @@ export declare class Command {
|
|
2828
3049
|
rule_id: number;
|
2829
3050
|
} & {
|
2830
3051
|
reason?: string | undefined;
|
3052
|
+
}) | ({
|
3053
|
+
type: "always";
|
3054
|
+
} & {
|
3055
|
+
operator?: null | undefined;
|
3056
|
+
field?: null | undefined;
|
3057
|
+
value?: null | undefined;
|
3058
|
+
reason?: null | undefined;
|
2831
3059
|
}))[];
|
3060
|
+
availability_expression: import("./helpers/rules").RuleExpression;
|
3061
|
+
recommend_expression: import("./helpers/rules").RuleExpression;
|
3062
|
+
always_recommend: boolean;
|
2832
3063
|
confirm: string;
|
2833
3064
|
shortcut: string[];
|
2834
3065
|
explanation: string;
|
@@ -2837,6 +3068,7 @@ export declare class Command {
|
|
2837
3068
|
category: number | null;
|
2838
3069
|
sort_key: number | null;
|
2839
3070
|
icon: string | null;
|
3071
|
+
image: string | null;
|
2840
3072
|
celebrate: boolean | {
|
2841
3073
|
angle?: number | undefined;
|
2842
3074
|
spread?: number | undefined;
|
@@ -2857,16 +3089,17 @@ export declare class Command {
|
|
2857
3089
|
hotkey_mac: string;
|
2858
3090
|
hotkey_win: string;
|
2859
3091
|
detail: string | ({
|
2860
|
-
type: "html" | "video" | "plaintext" | "markdown" | "react" |
|
3092
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
2861
3093
|
value: string;
|
2862
3094
|
} & {
|
2863
3095
|
position?: "inline" | "popover" | undefined;
|
2864
3096
|
}) | (string | ({
|
2865
|
-
type: "html" | "video" | "plaintext" | "markdown" | "react" |
|
3097
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
2866
3098
|
value: string;
|
2867
3099
|
} & {
|
2868
3100
|
position?: "inline" | "popover" | undefined;
|
2869
3101
|
}))[] | null;
|
3102
|
+
next_steps: (string | number)[];
|
2870
3103
|
} & {
|
2871
3104
|
third_party_source?: string | null | undefined;
|
2872
3105
|
third_party_id?: string | null | undefined;
|
@@ -3058,12 +3291,13 @@ export declare class Command {
|
|
3058
3291
|
auto_choose?: boolean | undefined;
|
3059
3292
|
is_private?: boolean | undefined;
|
3060
3293
|
}) | ({
|
3061
|
-
type: "video";
|
3294
|
+
type: "html" | "video";
|
3062
3295
|
value: {
|
3063
3296
|
source: string;
|
3064
3297
|
} & {
|
3065
3298
|
title?: string | undefined;
|
3066
3299
|
description?: string | undefined;
|
3300
|
+
url?: string | undefined;
|
3067
3301
|
};
|
3068
3302
|
order_key: number;
|
3069
3303
|
} & {
|
@@ -3087,6 +3321,7 @@ export declare class Command {
|
|
3087
3321
|
} | undefined;
|
3088
3322
|
category?: string | number | null | undefined;
|
3089
3323
|
icon?: string | null | undefined;
|
3324
|
+
image?: string | null | undefined;
|
3090
3325
|
celebrate?: boolean | {
|
3091
3326
|
angle?: number | undefined;
|
3092
3327
|
spread?: number | undefined;
|
@@ -3110,27 +3345,29 @@ export declare class Command {
|
|
3110
3345
|
reason?: string | undefined;
|
3111
3346
|
})[] | undefined;
|
3112
3347
|
recommend_rules?: (({
|
3113
|
-
type: "always";
|
3114
|
-
} & {
|
3115
|
-
operator?: null | undefined;
|
3116
|
-
field?: null | undefined;
|
3117
|
-
value?: null | undefined;
|
3118
|
-
reason?: null | undefined;
|
3119
|
-
}) | ({
|
3120
3348
|
type: "url" | "context" | "element";
|
3121
3349
|
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
|
3122
3350
|
} & {
|
3123
3351
|
field?: string | undefined;
|
3124
3352
|
value?: string | undefined;
|
3125
3353
|
reason?: string | undefined;
|
3354
|
+
}) | ({
|
3355
|
+
type: "always";
|
3356
|
+
} & {
|
3357
|
+
operator?: null | undefined;
|
3358
|
+
field?: null | undefined;
|
3359
|
+
value?: null | undefined;
|
3360
|
+
reason?: null | undefined;
|
3126
3361
|
}))[] | undefined;
|
3362
|
+
availability_expression?: import("./helpers/rules").RuleExpression[] | undefined;
|
3363
|
+
recommend_expression?: import("./helpers/rules").RuleExpression[] | undefined;
|
3127
3364
|
detail?: string | ({
|
3128
|
-
type: "html" | "video" | "plaintext" | "markdown" | "react" |
|
3365
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
3129
3366
|
value: string;
|
3130
3367
|
} & {
|
3131
3368
|
position?: "inline" | "popover" | undefined;
|
3132
3369
|
}) | ({
|
3133
|
-
type: "html" | "video" | "plaintext" | "markdown" | "react" |
|
3370
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
3134
3371
|
value: string;
|
3135
3372
|
} & {
|
3136
3373
|
position?: "inline" | "popover" | undefined;
|
@@ -3233,6 +3470,14 @@ export declare class Command {
|
|
3233
3470
|
object?: string | undefined;
|
3234
3471
|
hoverTooltip?: boolean | undefined;
|
3235
3472
|
operation?: "self" | "router" | "blank" | undefined;
|
3473
|
+
}) | ({
|
3474
|
+
type: "helpdoc";
|
3475
|
+
value: string;
|
3476
|
+
} & {} & {
|
3477
|
+
commandType?: "object" | "independent" | "help" | undefined;
|
3478
|
+
object?: string | undefined;
|
3479
|
+
hoverTooltip?: boolean | undefined;
|
3480
|
+
operation?: "self" | "router" | "blank" | undefined;
|
3236
3481
|
});
|
3237
3482
|
} & {
|
3238
3483
|
disabledReason?: string | undefined;
|
@@ -3240,6 +3485,7 @@ export declare class Command {
|
|
3240
3485
|
name?: string | undefined;
|
3241
3486
|
last_available?: string | null | undefined;
|
3242
3487
|
modified?: string | undefined;
|
3488
|
+
isAsync?: boolean | undefined;
|
3243
3489
|
} & {
|
3244
3490
|
arguments: {
|
3245
3491
|
[x: string]: ({
|
@@ -3353,12 +3599,13 @@ export declare class Command {
|
|
3353
3599
|
auto_choose?: boolean | undefined;
|
3354
3600
|
is_private?: boolean | undefined;
|
3355
3601
|
}) | ({
|
3356
|
-
type: "video";
|
3602
|
+
type: "html" | "video";
|
3357
3603
|
value: {
|
3358
3604
|
source: string;
|
3359
3605
|
} & {
|
3360
3606
|
title?: string | undefined;
|
3361
3607
|
description?: string | undefined;
|
3608
|
+
url?: string | undefined;
|
3362
3609
|
};
|
3363
3610
|
order_key: number;
|
3364
3611
|
} & {
|
@@ -3390,20 +3637,23 @@ export declare class Command {
|
|
3390
3637
|
reason?: string | undefined;
|
3391
3638
|
})[];
|
3392
3639
|
recommend_rules: (({
|
3393
|
-
type: "always";
|
3394
|
-
} & {
|
3395
|
-
operator?: null | undefined;
|
3396
|
-
field?: null | undefined;
|
3397
|
-
value?: null | undefined;
|
3398
|
-
reason?: null | undefined;
|
3399
|
-
}) | ({
|
3400
3640
|
type: "url" | "context" | "element";
|
3401
3641
|
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
|
3402
3642
|
} & {
|
3403
3643
|
field?: string | undefined;
|
3404
3644
|
value?: string | undefined;
|
3405
3645
|
reason?: string | undefined;
|
3646
|
+
}) | ({
|
3647
|
+
type: "always";
|
3648
|
+
} & {
|
3649
|
+
operator?: null | undefined;
|
3650
|
+
field?: null | undefined;
|
3651
|
+
value?: null | undefined;
|
3652
|
+
reason?: null | undefined;
|
3406
3653
|
}))[];
|
3654
|
+
availability_expression: import("./helpers/rules").RuleExpression | null;
|
3655
|
+
recommend_expression: import("./helpers/rules").RuleExpression | null;
|
3656
|
+
always_recommend: boolean;
|
3407
3657
|
confirm: string;
|
3408
3658
|
shortcut: string[];
|
3409
3659
|
explanation: string;
|
@@ -3412,6 +3662,7 @@ export declare class Command {
|
|
3412
3662
|
category: number | null;
|
3413
3663
|
sort_key: number | null;
|
3414
3664
|
icon: string | null;
|
3665
|
+
image: string | null;
|
3415
3666
|
celebrate: boolean | {
|
3416
3667
|
angle?: number | undefined;
|
3417
3668
|
spread?: number | undefined;
|
@@ -3432,18 +3683,137 @@ export declare class Command {
|
|
3432
3683
|
hotkey_mac: string;
|
3433
3684
|
hotkey_win: string;
|
3434
3685
|
detail: string | ({
|
3435
|
-
type: "html" | "video" | "plaintext" | "markdown" | "react" |
|
3686
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
3687
|
+
value: string;
|
3688
|
+
} & {
|
3689
|
+
position?: "inline" | "popover" | undefined;
|
3690
|
+
}) | (string | ({
|
3691
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
3692
|
+
value: string;
|
3693
|
+
} & {
|
3694
|
+
position?: "inline" | "popover" | undefined;
|
3695
|
+
}))[] | null;
|
3696
|
+
next_steps: (string | number)[];
|
3697
|
+
} & {
|
3698
|
+
third_party_source?: string | null | undefined;
|
3699
|
+
third_party_id?: string | null | undefined;
|
3700
|
+
};
|
3701
|
+
static decodeEditorCommand: (data: {
|
3702
|
+
id: number;
|
3703
|
+
organization: string | number;
|
3704
|
+
text: string;
|
3705
|
+
template: ({
|
3706
|
+
type: "admin";
|
3707
|
+
value: string;
|
3708
|
+
} & {} & {
|
3709
|
+
commandType?: "object" | "independent" | "help" | undefined;
|
3710
|
+
object?: string | undefined;
|
3711
|
+
hoverTooltip?: boolean | undefined;
|
3712
|
+
operation?: "self" | "router" | "blank" | undefined;
|
3713
|
+
}) | ({
|
3714
|
+
type: "callback";
|
3715
|
+
value: string;
|
3716
|
+
} & {} & {
|
3717
|
+
commandType?: "object" | "independent" | "help" | undefined;
|
3718
|
+
object?: string | undefined;
|
3719
|
+
hoverTooltip?: boolean | undefined;
|
3720
|
+
operation?: "self" | "router" | "blank" | undefined;
|
3721
|
+
}) | ({
|
3722
|
+
type: "link";
|
3723
|
+
value: string;
|
3724
|
+
} & {} & {
|
3725
|
+
commandType?: "object" | "independent" | "help" | undefined;
|
3726
|
+
object?: string | undefined;
|
3727
|
+
hoverTooltip?: boolean | undefined;
|
3728
|
+
operation?: "self" | "router" | "blank" | undefined;
|
3729
|
+
}) | ({
|
3730
|
+
type: "click" | "clickByXpath" | "clickBySelector";
|
3731
|
+
value: string[];
|
3732
|
+
} & {} & {
|
3733
|
+
commandType?: "object" | "independent" | "help" | undefined;
|
3734
|
+
object?: string | undefined;
|
3735
|
+
hoverTooltip?: boolean | undefined;
|
3736
|
+
operation?: "self" | "router" | "blank" | undefined;
|
3737
|
+
}) | ({
|
3738
|
+
type: "builtin";
|
3739
|
+
value: string;
|
3740
|
+
} & {} & {
|
3741
|
+
commandType?: "object" | "independent" | "help" | undefined;
|
3742
|
+
object?: string | undefined;
|
3743
|
+
hoverTooltip?: boolean | undefined;
|
3744
|
+
operation?: "self" | "router" | "blank" | undefined;
|
3745
|
+
}) | ({
|
3746
|
+
type: "webhook";
|
3747
|
+
value: string;
|
3748
|
+
} & {} & {
|
3749
|
+
commandType?: "object" | "independent" | "help" | undefined;
|
3750
|
+
object?: string | undefined;
|
3751
|
+
hoverTooltip?: boolean | undefined;
|
3752
|
+
operation?: "self" | "router" | "blank" | undefined;
|
3753
|
+
}) | ({
|
3754
|
+
type: "script";
|
3755
|
+
value: string;
|
3756
|
+
} & {} & {
|
3757
|
+
commandType?: "object" | "independent" | "help" | undefined;
|
3758
|
+
object?: string | undefined;
|
3759
|
+
hoverTooltip?: boolean | undefined;
|
3760
|
+
operation?: "self" | "router" | "blank" | undefined;
|
3761
|
+
}) | ({
|
3762
|
+
type: "request";
|
3763
|
+
value: {
|
3764
|
+
method: "head" | "options" | "get" | "delete" | "post" | "put" | "patch";
|
3765
|
+
url: string;
|
3766
|
+
} & {
|
3767
|
+
headers?: {
|
3768
|
+
[key: string]: unknown;
|
3769
|
+
} | undefined;
|
3770
|
+
body?: {
|
3771
|
+
[key: string]: unknown;
|
3772
|
+
} | undefined;
|
3773
|
+
onSend?: string | undefined;
|
3774
|
+
onSuccess?: string | undefined;
|
3775
|
+
onError?: string | undefined;
|
3776
|
+
};
|
3777
|
+
} & {} & {
|
3778
|
+
commandType?: "object" | "independent" | "help" | undefined;
|
3779
|
+
object?: string | undefined;
|
3780
|
+
hoverTooltip?: boolean | undefined;
|
3781
|
+
operation?: "self" | "router" | "blank" | undefined;
|
3782
|
+
}) | ({
|
3783
|
+
type: "appcues";
|
3436
3784
|
value: string;
|
3437
|
-
} & {
|
3438
|
-
|
3439
|
-
|
3440
|
-
|
3785
|
+
} & {} & {
|
3786
|
+
commandType?: "object" | "independent" | "help" | undefined;
|
3787
|
+
object?: string | undefined;
|
3788
|
+
hoverTooltip?: boolean | undefined;
|
3789
|
+
operation?: "self" | "router" | "blank" | undefined;
|
3790
|
+
}) | ({
|
3791
|
+
type: "video";
|
3441
3792
|
value: string;
|
3442
|
-
} & {
|
3443
|
-
|
3444
|
-
|
3445
|
-
|
3446
|
-
|
3793
|
+
} & {} & {
|
3794
|
+
commandType?: "object" | "independent" | "help" | undefined;
|
3795
|
+
object?: string | undefined;
|
3796
|
+
hoverTooltip?: boolean | undefined;
|
3797
|
+
operation?: "self" | "router" | "blank" | undefined;
|
3798
|
+
}) | ({
|
3799
|
+
type: "helpdoc";
|
3800
|
+
value: string;
|
3801
|
+
} & {} & {
|
3802
|
+
commandType?: "object" | "independent" | "help" | undefined;
|
3803
|
+
object?: string | undefined;
|
3804
|
+
hoverTooltip?: boolean | undefined;
|
3805
|
+
operation?: "self" | "router" | "blank" | undefined;
|
3806
|
+
});
|
3807
|
+
} & {
|
3808
|
+
disabledReason?: string | undefined;
|
3809
|
+
source?: string | undefined;
|
3810
|
+
name?: string | undefined;
|
3811
|
+
last_available?: string | null | undefined;
|
3812
|
+
modified?: string | undefined;
|
3813
|
+
isAsync?: boolean | undefined;
|
3814
|
+
} & {
|
3815
|
+
[key: string]: any;
|
3816
|
+
}) => {
|
3447
3817
|
id: number;
|
3448
3818
|
organization: string | number;
|
3449
3819
|
text: string;
|
@@ -3540,6 +3910,14 @@ export declare class Command {
|
|
3540
3910
|
object?: string | undefined;
|
3541
3911
|
hoverTooltip?: boolean | undefined;
|
3542
3912
|
operation?: "self" | "router" | "blank" | undefined;
|
3913
|
+
}) | ({
|
3914
|
+
type: "helpdoc";
|
3915
|
+
value: string;
|
3916
|
+
} & {} & {
|
3917
|
+
commandType?: "object" | "independent" | "help" | undefined;
|
3918
|
+
object?: string | undefined;
|
3919
|
+
hoverTooltip?: boolean | undefined;
|
3920
|
+
operation?: "self" | "router" | "blank" | undefined;
|
3543
3921
|
});
|
3544
3922
|
} & {
|
3545
3923
|
disabledReason?: string | undefined;
|
@@ -3547,6 +3925,7 @@ export declare class Command {
|
|
3547
3925
|
name?: string | undefined;
|
3548
3926
|
last_available?: string | null | undefined;
|
3549
3927
|
modified?: string | undefined;
|
3928
|
+
isAsync?: boolean | undefined;
|
3550
3929
|
} & {
|
3551
3930
|
arguments: {
|
3552
3931
|
[x: string]: ({
|
@@ -3660,12 +4039,13 @@ export declare class Command {
|
|
3660
4039
|
auto_choose?: boolean | undefined;
|
3661
4040
|
is_private?: boolean | undefined;
|
3662
4041
|
}) | ({
|
3663
|
-
type: "video";
|
4042
|
+
type: "html" | "video";
|
3664
4043
|
value: {
|
3665
4044
|
source: string;
|
3666
4045
|
} & {
|
3667
4046
|
title?: string | undefined;
|
3668
4047
|
description?: string | undefined;
|
4048
|
+
url?: string | undefined;
|
3669
4049
|
};
|
3670
4050
|
order_key: number;
|
3671
4051
|
} & {
|
@@ -3709,27 +4089,20 @@ export declare class Command {
|
|
3709
4089
|
reason?: string | undefined;
|
3710
4090
|
}))[];
|
3711
4091
|
recommend_rules: (({
|
3712
|
-
type: "always";
|
3713
|
-
} & {
|
3714
|
-
operator?: null | undefined;
|
3715
|
-
field?: null | undefined;
|
3716
|
-
value?: null | undefined;
|
3717
|
-
reason?: null | undefined;
|
3718
|
-
}) | ({
|
3719
4092
|
type: "url" | "context" | "element";
|
3720
4093
|
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
|
3721
4094
|
} & {
|
3722
4095
|
field?: string | undefined;
|
3723
4096
|
value?: string | undefined;
|
3724
4097
|
reason?: string | undefined;
|
3725
|
-
})
|
4098
|
+
}) | ({
|
3726
4099
|
type: "always";
|
3727
4100
|
} & {
|
3728
4101
|
operator?: null | undefined;
|
3729
4102
|
field?: null | undefined;
|
3730
4103
|
value?: null | undefined;
|
3731
4104
|
reason?: null | undefined;
|
3732
|
-
}) | ({
|
4105
|
+
}))[] | (({
|
3733
4106
|
type: "url" | "context" | "element";
|
3734
4107
|
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
|
3735
4108
|
} & {
|
@@ -3741,7 +4114,17 @@ export declare class Command {
|
|
3741
4114
|
rule_id: number;
|
3742
4115
|
} & {
|
3743
4116
|
reason?: string | undefined;
|
4117
|
+
}) | ({
|
4118
|
+
type: "always";
|
4119
|
+
} & {
|
4120
|
+
operator?: null | undefined;
|
4121
|
+
field?: null | undefined;
|
4122
|
+
value?: null | undefined;
|
4123
|
+
reason?: null | undefined;
|
3744
4124
|
}))[];
|
4125
|
+
availability_expression: import("./helpers/rules").RuleExpression;
|
4126
|
+
recommend_expression: import("./helpers/rules").RuleExpression;
|
4127
|
+
always_recommend: boolean;
|
3745
4128
|
confirm: string;
|
3746
4129
|
shortcut: string[];
|
3747
4130
|
explanation: string;
|
@@ -3750,6 +4133,7 @@ export declare class Command {
|
|
3750
4133
|
category: number | null;
|
3751
4134
|
sort_key: number | null;
|
3752
4135
|
icon: string | null;
|
4136
|
+
image: string | null;
|
3753
4137
|
celebrate: boolean | {
|
3754
4138
|
angle?: number | undefined;
|
3755
4139
|
spread?: number | undefined;
|
@@ -3770,16 +4154,17 @@ export declare class Command {
|
|
3770
4154
|
hotkey_mac: string;
|
3771
4155
|
hotkey_win: string;
|
3772
4156
|
detail: string | ({
|
3773
|
-
type: "html" | "video" | "plaintext" | "markdown" | "react" |
|
4157
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
3774
4158
|
value: string;
|
3775
4159
|
} & {
|
3776
4160
|
position?: "inline" | "popover" | undefined;
|
3777
4161
|
}) | (string | ({
|
3778
|
-
type: "html" | "video" | "plaintext" | "markdown" | "react" |
|
4162
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
3779
4163
|
value: string;
|
3780
4164
|
} & {
|
3781
4165
|
position?: "inline" | "popover" | undefined;
|
3782
4166
|
}))[] | null;
|
4167
|
+
next_steps: (string | number)[];
|
3783
4168
|
} & {
|
3784
4169
|
third_party_source?: string | null | undefined;
|
3785
4170
|
third_party_id?: string | null | undefined;
|
@@ -3881,6 +4266,14 @@ export declare class Command {
|
|
3881
4266
|
object?: string | undefined;
|
3882
4267
|
hoverTooltip?: boolean | undefined;
|
3883
4268
|
operation?: "self" | "router" | "blank" | undefined;
|
4269
|
+
}) | ({
|
4270
|
+
type: "helpdoc";
|
4271
|
+
value: string;
|
4272
|
+
} & {} & {
|
4273
|
+
commandType?: "object" | "independent" | "help" | undefined;
|
4274
|
+
object?: string | undefined;
|
4275
|
+
hoverTooltip?: boolean | undefined;
|
4276
|
+
operation?: "self" | "router" | "blank" | undefined;
|
3884
4277
|
});
|
3885
4278
|
} & {
|
3886
4279
|
disabledReason?: string | undefined;
|
@@ -3888,6 +4281,7 @@ export declare class Command {
|
|
3888
4281
|
name?: string | undefined;
|
3889
4282
|
last_available?: string | null | undefined;
|
3890
4283
|
modified?: string | undefined;
|
4284
|
+
isAsync?: boolean | undefined;
|
3891
4285
|
} & {
|
3892
4286
|
arguments: {
|
3893
4287
|
[x: string]: ({
|
@@ -4001,12 +4395,13 @@ export declare class Command {
|
|
4001
4395
|
auto_choose?: boolean | undefined;
|
4002
4396
|
is_private?: boolean | undefined;
|
4003
4397
|
}) | ({
|
4004
|
-
type: "video";
|
4398
|
+
type: "html" | "video";
|
4005
4399
|
value: {
|
4006
4400
|
source: string;
|
4007
4401
|
} & {
|
4008
4402
|
title?: string | undefined;
|
4009
4403
|
description?: string | undefined;
|
4404
|
+
url?: string | undefined;
|
4010
4405
|
};
|
4011
4406
|
order_key: number;
|
4012
4407
|
} & {
|
@@ -4050,27 +4445,20 @@ export declare class Command {
|
|
4050
4445
|
reason?: string | undefined;
|
4051
4446
|
}))[];
|
4052
4447
|
recommend_rules: (({
|
4053
|
-
type: "always";
|
4054
|
-
} & {
|
4055
|
-
operator?: null | undefined;
|
4056
|
-
field?: null | undefined;
|
4057
|
-
value?: null | undefined;
|
4058
|
-
reason?: null | undefined;
|
4059
|
-
}) | ({
|
4060
4448
|
type: "url" | "context" | "element";
|
4061
4449
|
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
|
4062
4450
|
} & {
|
4063
4451
|
field?: string | undefined;
|
4064
4452
|
value?: string | undefined;
|
4065
4453
|
reason?: string | undefined;
|
4066
|
-
})
|
4454
|
+
}) | ({
|
4067
4455
|
type: "always";
|
4068
4456
|
} & {
|
4069
4457
|
operator?: null | undefined;
|
4070
4458
|
field?: null | undefined;
|
4071
4459
|
value?: null | undefined;
|
4072
4460
|
reason?: null | undefined;
|
4073
|
-
}) | ({
|
4461
|
+
}))[] | (({
|
4074
4462
|
type: "url" | "context" | "element";
|
4075
4463
|
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
|
4076
4464
|
} & {
|
@@ -4082,7 +4470,17 @@ export declare class Command {
|
|
4082
4470
|
rule_id: number;
|
4083
4471
|
} & {
|
4084
4472
|
reason?: string | undefined;
|
4473
|
+
}) | ({
|
4474
|
+
type: "always";
|
4475
|
+
} & {
|
4476
|
+
operator?: null | undefined;
|
4477
|
+
field?: null | undefined;
|
4478
|
+
value?: null | undefined;
|
4479
|
+
reason?: null | undefined;
|
4085
4480
|
}))[];
|
4481
|
+
availability_expression: import("./helpers/rules").RuleExpression;
|
4482
|
+
recommend_expression: import("./helpers/rules").RuleExpression;
|
4483
|
+
always_recommend: boolean;
|
4086
4484
|
confirm: string;
|
4087
4485
|
shortcut: string[];
|
4088
4486
|
explanation: string;
|
@@ -4091,6 +4489,7 @@ export declare class Command {
|
|
4091
4489
|
category: number | null;
|
4092
4490
|
sort_key: number | null;
|
4093
4491
|
icon: string | null;
|
4492
|
+
image: string | null;
|
4094
4493
|
celebrate: boolean | {
|
4095
4494
|
angle?: number | undefined;
|
4096
4495
|
spread?: number | undefined;
|
@@ -4111,16 +4510,17 @@ export declare class Command {
|
|
4111
4510
|
hotkey_mac: string;
|
4112
4511
|
hotkey_win: string;
|
4113
4512
|
detail: string | ({
|
4114
|
-
type: "html" | "video" | "plaintext" | "markdown" | "react" |
|
4513
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
4115
4514
|
value: string;
|
4116
4515
|
} & {
|
4117
4516
|
position?: "inline" | "popover" | undefined;
|
4118
4517
|
}) | (string | ({
|
4119
|
-
type: "html" | "video" | "plaintext" | "markdown" | "react" |
|
4518
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
4120
4519
|
value: string;
|
4121
4520
|
} & {
|
4122
4521
|
position?: "inline" | "popover" | undefined;
|
4123
4522
|
}))[] | null;
|
4523
|
+
next_steps: (string | number)[];
|
4124
4524
|
} & {
|
4125
4525
|
third_party_source?: string | null | undefined;
|
4126
4526
|
third_party_id?: string | null | undefined;
|
@@ -4221,6 +4621,14 @@ export declare class Command {
|
|
4221
4621
|
object?: string | undefined;
|
4222
4622
|
hoverTooltip?: boolean | undefined;
|
4223
4623
|
operation?: "self" | "router" | "blank" | undefined;
|
4624
|
+
}) | ({
|
4625
|
+
type: "helpdoc";
|
4626
|
+
value: string;
|
4627
|
+
} & {} & {
|
4628
|
+
commandType?: "object" | "independent" | "help" | undefined;
|
4629
|
+
object?: string | undefined;
|
4630
|
+
hoverTooltip?: boolean | undefined;
|
4631
|
+
operation?: "self" | "router" | "blank" | undefined;
|
4224
4632
|
});
|
4225
4633
|
} & {
|
4226
4634
|
disabledReason?: string | undefined;
|
@@ -4228,6 +4636,7 @@ export declare class Command {
|
|
4228
4636
|
name?: string | undefined;
|
4229
4637
|
last_available?: string | null | undefined;
|
4230
4638
|
modified?: string | undefined;
|
4639
|
+
isAsync?: boolean | undefined;
|
4231
4640
|
} & {
|
4232
4641
|
arguments: {
|
4233
4642
|
[x: string]: ({
|
@@ -4341,12 +4750,13 @@ export declare class Command {
|
|
4341
4750
|
auto_choose?: boolean | undefined;
|
4342
4751
|
is_private?: boolean | undefined;
|
4343
4752
|
}) | ({
|
4344
|
-
type: "video";
|
4753
|
+
type: "html" | "video";
|
4345
4754
|
value: {
|
4346
4755
|
source: string;
|
4347
4756
|
} & {
|
4348
4757
|
title?: string | undefined;
|
4349
4758
|
description?: string | undefined;
|
4759
|
+
url?: string | undefined;
|
4350
4760
|
};
|
4351
4761
|
order_key: number;
|
4352
4762
|
} & {
|
@@ -4390,27 +4800,20 @@ export declare class Command {
|
|
4390
4800
|
reason?: string | undefined;
|
4391
4801
|
}))[];
|
4392
4802
|
recommend_rules: (({
|
4393
|
-
type: "always";
|
4394
|
-
} & {
|
4395
|
-
operator?: null | undefined;
|
4396
|
-
field?: null | undefined;
|
4397
|
-
value?: null | undefined;
|
4398
|
-
reason?: null | undefined;
|
4399
|
-
}) | ({
|
4400
4803
|
type: "url" | "context" | "element";
|
4401
4804
|
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
|
4402
4805
|
} & {
|
4403
4806
|
field?: string | undefined;
|
4404
4807
|
value?: string | undefined;
|
4405
4808
|
reason?: string | undefined;
|
4406
|
-
})
|
4809
|
+
}) | ({
|
4407
4810
|
type: "always";
|
4408
4811
|
} & {
|
4409
4812
|
operator?: null | undefined;
|
4410
4813
|
field?: null | undefined;
|
4411
4814
|
value?: null | undefined;
|
4412
4815
|
reason?: null | undefined;
|
4413
|
-
}) | ({
|
4816
|
+
}))[] | (({
|
4414
4817
|
type: "url" | "context" | "element";
|
4415
4818
|
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
|
4416
4819
|
} & {
|
@@ -4422,7 +4825,17 @@ export declare class Command {
|
|
4422
4825
|
rule_id: number;
|
4423
4826
|
} & {
|
4424
4827
|
reason?: string | undefined;
|
4828
|
+
}) | ({
|
4829
|
+
type: "always";
|
4830
|
+
} & {
|
4831
|
+
operator?: null | undefined;
|
4832
|
+
field?: null | undefined;
|
4833
|
+
value?: null | undefined;
|
4834
|
+
reason?: null | undefined;
|
4425
4835
|
}))[];
|
4836
|
+
availability_expression: import("./helpers/rules").RuleExpression;
|
4837
|
+
recommend_expression: import("./helpers/rules").RuleExpression;
|
4838
|
+
always_recommend: boolean;
|
4426
4839
|
confirm: string;
|
4427
4840
|
shortcut: string[];
|
4428
4841
|
explanation: string;
|
@@ -4431,6 +4844,7 @@ export declare class Command {
|
|
4431
4844
|
category: number | null;
|
4432
4845
|
sort_key: number | null;
|
4433
4846
|
icon: string | null;
|
4847
|
+
image: string | null;
|
4434
4848
|
celebrate: boolean | {
|
4435
4849
|
angle?: number | undefined;
|
4436
4850
|
spread?: number | undefined;
|
@@ -4451,16 +4865,17 @@ export declare class Command {
|
|
4451
4865
|
hotkey_mac: string;
|
4452
4866
|
hotkey_win: string;
|
4453
4867
|
detail: string | ({
|
4454
|
-
type: "html" | "video" | "plaintext" | "markdown" | "react" |
|
4868
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
4455
4869
|
value: string;
|
4456
4870
|
} & {
|
4457
4871
|
position?: "inline" | "popover" | undefined;
|
4458
4872
|
}) | (string | ({
|
4459
|
-
type: "html" | "video" | "plaintext" | "markdown" | "react" |
|
4873
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
4460
4874
|
value: string;
|
4461
4875
|
} & {
|
4462
4876
|
position?: "inline" | "popover" | undefined;
|
4463
4877
|
}))[] | null;
|
4878
|
+
next_steps: (string | number)[];
|
4464
4879
|
} & {
|
4465
4880
|
third_party_source?: string | null | undefined;
|
4466
4881
|
third_party_id?: string | null | undefined;
|
@@ -4562,6 +4977,14 @@ export declare class Command {
|
|
4562
4977
|
object?: string | undefined;
|
4563
4978
|
hoverTooltip?: boolean | undefined;
|
4564
4979
|
operation?: "self" | "router" | "blank" | undefined;
|
4980
|
+
}) | ({
|
4981
|
+
type: "helpdoc";
|
4982
|
+
value: string;
|
4983
|
+
} & {} & {
|
4984
|
+
commandType?: "object" | "independent" | "help" | undefined;
|
4985
|
+
object?: string | undefined;
|
4986
|
+
hoverTooltip?: boolean | undefined;
|
4987
|
+
operation?: "self" | "router" | "blank" | undefined;
|
4565
4988
|
});
|
4566
4989
|
} & {
|
4567
4990
|
disabledReason?: string | undefined;
|
@@ -4569,6 +4992,7 @@ export declare class Command {
|
|
4569
4992
|
name?: string | undefined;
|
4570
4993
|
last_available?: string | null | undefined;
|
4571
4994
|
modified?: string | undefined;
|
4995
|
+
isAsync?: boolean | undefined;
|
4572
4996
|
} & {
|
4573
4997
|
arguments: {
|
4574
4998
|
[x: string]: ({
|
@@ -4682,12 +5106,13 @@ export declare class Command {
|
|
4682
5106
|
auto_choose?: boolean | undefined;
|
4683
5107
|
is_private?: boolean | undefined;
|
4684
5108
|
}) | ({
|
4685
|
-
type: "video";
|
5109
|
+
type: "html" | "video";
|
4686
5110
|
value: {
|
4687
5111
|
source: string;
|
4688
5112
|
} & {
|
4689
5113
|
title?: string | undefined;
|
4690
5114
|
description?: string | undefined;
|
5115
|
+
url?: string | undefined;
|
4691
5116
|
};
|
4692
5117
|
order_key: number;
|
4693
5118
|
} & {
|
@@ -4731,27 +5156,20 @@ export declare class Command {
|
|
4731
5156
|
reason?: string | undefined;
|
4732
5157
|
}))[];
|
4733
5158
|
recommend_rules: (({
|
4734
|
-
type: "always";
|
4735
|
-
} & {
|
4736
|
-
operator?: null | undefined;
|
4737
|
-
field?: null | undefined;
|
4738
|
-
value?: null | undefined;
|
4739
|
-
reason?: null | undefined;
|
4740
|
-
}) | ({
|
4741
5159
|
type: "url" | "context" | "element";
|
4742
5160
|
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
|
4743
5161
|
} & {
|
4744
5162
|
field?: string | undefined;
|
4745
5163
|
value?: string | undefined;
|
4746
5164
|
reason?: string | undefined;
|
4747
|
-
})
|
5165
|
+
}) | ({
|
4748
5166
|
type: "always";
|
4749
5167
|
} & {
|
4750
5168
|
operator?: null | undefined;
|
4751
5169
|
field?: null | undefined;
|
4752
5170
|
value?: null | undefined;
|
4753
5171
|
reason?: null | undefined;
|
4754
|
-
}) | ({
|
5172
|
+
}))[] | (({
|
4755
5173
|
type: "url" | "context" | "element";
|
4756
5174
|
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
|
4757
5175
|
} & {
|
@@ -4763,7 +5181,17 @@ export declare class Command {
|
|
4763
5181
|
rule_id: number;
|
4764
5182
|
} & {
|
4765
5183
|
reason?: string | undefined;
|
5184
|
+
}) | ({
|
5185
|
+
type: "always";
|
5186
|
+
} & {
|
5187
|
+
operator?: null | undefined;
|
5188
|
+
field?: null | undefined;
|
5189
|
+
value?: null | undefined;
|
5190
|
+
reason?: null | undefined;
|
4766
5191
|
}))[];
|
5192
|
+
availability_expression: import("./helpers/rules").RuleExpression;
|
5193
|
+
recommend_expression: import("./helpers/rules").RuleExpression;
|
5194
|
+
always_recommend: boolean;
|
4767
5195
|
confirm: string;
|
4768
5196
|
shortcut: string[];
|
4769
5197
|
explanation: string;
|
@@ -4772,6 +5200,7 @@ export declare class Command {
|
|
4772
5200
|
category: number | null;
|
4773
5201
|
sort_key: number | null;
|
4774
5202
|
icon: string | null;
|
5203
|
+
image: string | null;
|
4775
5204
|
celebrate: boolean | {
|
4776
5205
|
angle?: number | undefined;
|
4777
5206
|
spread?: number | undefined;
|
@@ -4792,16 +5221,17 @@ export declare class Command {
|
|
4792
5221
|
hotkey_mac: string;
|
4793
5222
|
hotkey_win: string;
|
4794
5223
|
detail: string | ({
|
4795
|
-
type: "html" | "video" | "plaintext" | "markdown" | "react" |
|
5224
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
4796
5225
|
value: string;
|
4797
5226
|
} & {
|
4798
5227
|
position?: "inline" | "popover" | undefined;
|
4799
5228
|
}) | (string | ({
|
4800
|
-
type: "html" | "video" | "plaintext" | "markdown" | "react" |
|
5229
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
4801
5230
|
value: string;
|
4802
5231
|
} & {
|
4803
5232
|
position?: "inline" | "popover" | undefined;
|
4804
5233
|
}))[] | null;
|
5234
|
+
next_steps: (string | number)[];
|
4805
5235
|
} & {
|
4806
5236
|
third_party_source?: string | null | undefined;
|
4807
5237
|
third_party_id?: string | null | undefined;
|
@@ -4902,6 +5332,14 @@ export declare class Command {
|
|
4902
5332
|
object?: string | undefined;
|
4903
5333
|
hoverTooltip?: boolean | undefined;
|
4904
5334
|
operation?: "self" | "router" | "blank" | undefined;
|
5335
|
+
}) | ({
|
5336
|
+
type: "helpdoc";
|
5337
|
+
value: string;
|
5338
|
+
} & {} & {
|
5339
|
+
commandType?: "object" | "independent" | "help" | undefined;
|
5340
|
+
object?: string | undefined;
|
5341
|
+
hoverTooltip?: boolean | undefined;
|
5342
|
+
operation?: "self" | "router" | "blank" | undefined;
|
4905
5343
|
});
|
4906
5344
|
} & {
|
4907
5345
|
disabledReason?: string | undefined;
|
@@ -4909,6 +5347,7 @@ export declare class Command {
|
|
4909
5347
|
name?: string | undefined;
|
4910
5348
|
last_available?: string | null | undefined;
|
4911
5349
|
modified?: string | undefined;
|
5350
|
+
isAsync?: boolean | undefined;
|
4912
5351
|
} & {
|
4913
5352
|
arguments: {
|
4914
5353
|
[x: string]: ({
|
@@ -5022,12 +5461,13 @@ export declare class Command {
|
|
5022
5461
|
auto_choose?: boolean | undefined;
|
5023
5462
|
is_private?: boolean | undefined;
|
5024
5463
|
}) | ({
|
5025
|
-
type: "video";
|
5464
|
+
type: "html" | "video";
|
5026
5465
|
value: {
|
5027
5466
|
source: string;
|
5028
5467
|
} & {
|
5029
5468
|
title?: string | undefined;
|
5030
5469
|
description?: string | undefined;
|
5470
|
+
url?: string | undefined;
|
5031
5471
|
};
|
5032
5472
|
order_key: number;
|
5033
5473
|
} & {
|
@@ -5071,27 +5511,20 @@ export declare class Command {
|
|
5071
5511
|
reason?: string | undefined;
|
5072
5512
|
}))[];
|
5073
5513
|
recommend_rules: (({
|
5074
|
-
type: "always";
|
5075
|
-
} & {
|
5076
|
-
operator?: null | undefined;
|
5077
|
-
field?: null | undefined;
|
5078
|
-
value?: null | undefined;
|
5079
|
-
reason?: null | undefined;
|
5080
|
-
}) | ({
|
5081
5514
|
type: "url" | "context" | "element";
|
5082
5515
|
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
|
5083
5516
|
} & {
|
5084
5517
|
field?: string | undefined;
|
5085
5518
|
value?: string | undefined;
|
5086
5519
|
reason?: string | undefined;
|
5087
|
-
})
|
5520
|
+
}) | ({
|
5088
5521
|
type: "always";
|
5089
5522
|
} & {
|
5090
5523
|
operator?: null | undefined;
|
5091
5524
|
field?: null | undefined;
|
5092
5525
|
value?: null | undefined;
|
5093
5526
|
reason?: null | undefined;
|
5094
|
-
}) | ({
|
5527
|
+
}))[] | (({
|
5095
5528
|
type: "url" | "context" | "element";
|
5096
5529
|
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
|
5097
5530
|
} & {
|
@@ -5103,7 +5536,17 @@ export declare class Command {
|
|
5103
5536
|
rule_id: number;
|
5104
5537
|
} & {
|
5105
5538
|
reason?: string | undefined;
|
5539
|
+
}) | ({
|
5540
|
+
type: "always";
|
5541
|
+
} & {
|
5542
|
+
operator?: null | undefined;
|
5543
|
+
field?: null | undefined;
|
5544
|
+
value?: null | undefined;
|
5545
|
+
reason?: null | undefined;
|
5106
5546
|
}))[];
|
5547
|
+
availability_expression: import("./helpers/rules").RuleExpression;
|
5548
|
+
recommend_expression: import("./helpers/rules").RuleExpression;
|
5549
|
+
always_recommend: boolean;
|
5107
5550
|
confirm: string;
|
5108
5551
|
shortcut: string[];
|
5109
5552
|
explanation: string;
|
@@ -5112,6 +5555,7 @@ export declare class Command {
|
|
5112
5555
|
category: number | null;
|
5113
5556
|
sort_key: number | null;
|
5114
5557
|
icon: string | null;
|
5558
|
+
image: string | null;
|
5115
5559
|
celebrate: boolean | {
|
5116
5560
|
angle?: number | undefined;
|
5117
5561
|
spread?: number | undefined;
|
@@ -5132,16 +5576,17 @@ export declare class Command {
|
|
5132
5576
|
hotkey_mac: string;
|
5133
5577
|
hotkey_win: string;
|
5134
5578
|
detail: string | ({
|
5135
|
-
type: "html" | "video" | "plaintext" | "markdown" | "react" |
|
5579
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
5136
5580
|
value: string;
|
5137
5581
|
} & {
|
5138
5582
|
position?: "inline" | "popover" | undefined;
|
5139
5583
|
}) | (string | ({
|
5140
|
-
type: "html" | "video" | "plaintext" | "markdown" | "react" |
|
5584
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
5141
5585
|
value: string;
|
5142
5586
|
} & {
|
5143
5587
|
position?: "inline" | "popover" | undefined;
|
5144
5588
|
}))[] | null;
|
5589
|
+
next_steps: (string | number)[];
|
5145
5590
|
} & {
|
5146
5591
|
third_party_source?: string | null | undefined;
|
5147
5592
|
third_party_id?: string | null | undefined;
|
@@ -5150,6 +5595,7 @@ export declare class Command {
|
|
5150
5595
|
static commandUID: (cmd: t.TypeOf<typeof CommandV> | t.TypeOf<typeof EditorCommandV>) => string;
|
5151
5596
|
static isProgrammatic: (cmd: t.TypeOf<typeof CommandV> | t.TypeOf<typeof EditorCommandV>) => boolean;
|
5152
5597
|
static isRecordAction: (cmd: t.TypeOf<typeof CommandV> | t.TypeOf<typeof EditorCommandV>, recordKey?: string | undefined) => boolean;
|
5598
|
+
static isHelpSyncCommand: (cmd: t.TypeOf<typeof CommandV> | t.TypeOf<typeof EditorCommandV>) => boolean;
|
5153
5599
|
static showInDefaultList: (cmd: t.TypeOf<typeof CommandV> | t.TypeOf<typeof EditorCommandV>) => boolean;
|
5154
5600
|
}
|
5155
5601
|
export declare const HelpSyncCommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC<{
|
@@ -5245,6 +5691,14 @@ export declare const HelpSyncCommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC
|
|
5245
5691
|
object: t.StringC;
|
5246
5692
|
hoverTooltip: t.BooleanC;
|
5247
5693
|
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
5694
|
+
}>]>]>, t.IntersectionC<[t.TypeC<{
|
5695
|
+
type: t.LiteralC<"helpdoc">;
|
5696
|
+
value: t.StringC;
|
5697
|
+
}>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
|
5698
|
+
commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
|
5699
|
+
object: t.StringC;
|
5700
|
+
hoverTooltip: t.BooleanC;
|
5701
|
+
operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
|
5248
5702
|
}>]>]>]>;
|
5249
5703
|
}>, t.PartialC<{
|
5250
5704
|
disabledReason: t.StringC;
|
@@ -5252,6 +5706,7 @@ export declare const HelpSyncCommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC
|
|
5252
5706
|
name: t.StringC;
|
5253
5707
|
last_available: t.UnionC<[t.StringC, t.NullC]>;
|
5254
5708
|
modified: t.StringC;
|
5709
|
+
isAsync: t.BooleanC;
|
5255
5710
|
}>]>, t.TypeC<{
|
5256
5711
|
arguments: t.RecordC<t.StringC, t.UnionC<[t.IntersectionC<[t.TypeC<{
|
5257
5712
|
type: t.LiteralC<"context">;
|
@@ -5362,12 +5817,13 @@ export declare const HelpSyncCommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC
|
|
5362
5817
|
auto_choose: t.BooleanC;
|
5363
5818
|
is_private: t.BooleanC;
|
5364
5819
|
}>]>, t.IntersectionC<[t.TypeC<{
|
5365
|
-
type: t.LiteralC<"video">;
|
5820
|
+
type: t.UnionC<[t.LiteralC<"video">, t.LiteralC<"html">]>;
|
5366
5821
|
value: t.IntersectionC<[t.TypeC<{
|
5367
5822
|
source: t.StringC;
|
5368
5823
|
}>, t.PartialC<{
|
5369
5824
|
title: t.StringC;
|
5370
5825
|
description: t.StringC;
|
5826
|
+
url: t.StringC;
|
5371
5827
|
}>]>;
|
5372
5828
|
order_key: t.NumberC;
|
5373
5829
|
}>, t.PartialC<{
|
@@ -5448,6 +5904,9 @@ export declare const HelpSyncCommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC
|
|
5448
5904
|
value: t.StringC;
|
5449
5905
|
reason: t.StringC;
|
5450
5906
|
}>]>]>>;
|
5907
|
+
availability_expression: t.UnionC<[t.Type<import("./helpers/rules").RuleExpression, import("./helpers/rules").RuleExpression, unknown>, t.NullC]>;
|
5908
|
+
recommend_expression: t.UnionC<[t.Type<import("./helpers/rules").RuleExpression, import("./helpers/rules").RuleExpression, unknown>, t.NullC]>;
|
5909
|
+
always_recommend: t.BooleanC;
|
5451
5910
|
confirm: t.StringC;
|
5452
5911
|
shortcut: t.ArrayC<t.StringC>;
|
5453
5912
|
explanation: t.StringC;
|
@@ -5456,6 +5915,7 @@ export declare const HelpSyncCommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC
|
|
5456
5915
|
category: t.UnionC<[t.NumberC, t.NullC]>;
|
5457
5916
|
sort_key: t.UnionC<[t.NumberC, t.NullC]>;
|
5458
5917
|
icon: t.UnionC<[t.StringC, t.NullC]>;
|
5918
|
+
image: t.UnionC<[t.StringC, t.NullC]>;
|
5459
5919
|
celebrate: t.UnionC<[t.BooleanC, t.PartialC<{
|
5460
5920
|
angle: t.NumberC;
|
5461
5921
|
spread: t.NumberC;
|
@@ -5476,16 +5936,17 @@ export declare const HelpSyncCommandV: t.IntersectionC<[t.IntersectionC<[t.TypeC
|
|
5476
5936
|
hotkey_mac: t.StringC;
|
5477
5937
|
hotkey_win: t.StringC;
|
5478
5938
|
detail: t.UnionC<[t.NullC, t.StringC, t.IntersectionC<[t.TypeC<{
|
5479
|
-
type: t.UnionC<[t.LiteralC<"plaintext">, t.LiteralC<"markdown">, t.LiteralC<"html">, t.LiteralC<"react">, t.LiteralC<"video">, t.
|
5939
|
+
type: t.UnionC<[t.LiteralC<"plaintext">, t.LiteralC<"markdown">, t.LiteralC<"html">, t.LiteralC<"react">, t.LiteralC<"video">, t.LiteralC<"component">]>;
|
5480
5940
|
value: t.StringC;
|
5481
5941
|
}>, t.PartialC<{
|
5482
5942
|
position: t.UnionC<[t.LiteralC<"inline">, t.LiteralC<"popover">]>;
|
5483
5943
|
}>]>, t.ArrayC<t.UnionC<[t.StringC, t.IntersectionC<[t.TypeC<{
|
5484
|
-
type: t.UnionC<[t.LiteralC<"plaintext">, t.LiteralC<"markdown">, t.LiteralC<"html">, t.LiteralC<"react">, t.LiteralC<"video">, t.
|
5944
|
+
type: t.UnionC<[t.LiteralC<"plaintext">, t.LiteralC<"markdown">, t.LiteralC<"html">, t.LiteralC<"react">, t.LiteralC<"video">, t.LiteralC<"component">]>;
|
5485
5945
|
value: t.StringC;
|
5486
5946
|
}>, t.PartialC<{
|
5487
5947
|
position: t.UnionC<[t.LiteralC<"inline">, t.LiteralC<"popover">]>;
|
5488
5948
|
}>]>]>>]>;
|
5949
|
+
next_steps: t.ArrayC<t.UnionC<[t.StringC, t.NumberC]>>;
|
5489
5950
|
}>, t.PartialC<{
|
5490
5951
|
third_party_source: t.UnionC<[t.StringC, t.NullC]>;
|
5491
5952
|
third_party_id: t.UnionC<[t.StringC, t.NullC]>;
|
@@ -5588,6 +6049,14 @@ export declare class HelpSyncCommand {
|
|
5588
6049
|
object?: string | undefined;
|
5589
6050
|
hoverTooltip?: boolean | undefined;
|
5590
6051
|
operation?: "self" | "router" | "blank" | undefined;
|
6052
|
+
}) | ({
|
6053
|
+
type: "helpdoc";
|
6054
|
+
value: string;
|
6055
|
+
} & {} & {
|
6056
|
+
commandType?: "object" | "independent" | "help" | undefined;
|
6057
|
+
object?: string | undefined;
|
6058
|
+
hoverTooltip?: boolean | undefined;
|
6059
|
+
operation?: "self" | "router" | "blank" | undefined;
|
5591
6060
|
});
|
5592
6061
|
} & {
|
5593
6062
|
disabledReason?: string | undefined;
|
@@ -5595,6 +6064,7 @@ export declare class HelpSyncCommand {
|
|
5595
6064
|
name?: string | undefined;
|
5596
6065
|
last_available?: string | null | undefined;
|
5597
6066
|
modified?: string | undefined;
|
6067
|
+
isAsync?: boolean | undefined;
|
5598
6068
|
} & {
|
5599
6069
|
arguments: {
|
5600
6070
|
[x: string]: ({
|
@@ -5708,12 +6178,13 @@ export declare class HelpSyncCommand {
|
|
5708
6178
|
auto_choose?: boolean | undefined;
|
5709
6179
|
is_private?: boolean | undefined;
|
5710
6180
|
}) | ({
|
5711
|
-
type: "video";
|
6181
|
+
type: "html" | "video";
|
5712
6182
|
value: {
|
5713
6183
|
source: string;
|
5714
6184
|
} & {
|
5715
6185
|
title?: string | undefined;
|
5716
6186
|
description?: string | undefined;
|
6187
|
+
url?: string | undefined;
|
5717
6188
|
};
|
5718
6189
|
order_key: number;
|
5719
6190
|
} & {
|
@@ -5745,20 +6216,23 @@ export declare class HelpSyncCommand {
|
|
5745
6216
|
reason?: string | undefined;
|
5746
6217
|
})[];
|
5747
6218
|
recommend_rules: (({
|
5748
|
-
type: "always";
|
5749
|
-
} & {
|
5750
|
-
operator?: null | undefined;
|
5751
|
-
field?: null | undefined;
|
5752
|
-
value?: null | undefined;
|
5753
|
-
reason?: null | undefined;
|
5754
|
-
}) | ({
|
5755
6219
|
type: "url" | "context" | "element";
|
5756
6220
|
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
|
5757
6221
|
} & {
|
5758
6222
|
field?: string | undefined;
|
5759
6223
|
value?: string | undefined;
|
5760
6224
|
reason?: string | undefined;
|
6225
|
+
}) | ({
|
6226
|
+
type: "always";
|
6227
|
+
} & {
|
6228
|
+
operator?: null | undefined;
|
6229
|
+
field?: null | undefined;
|
6230
|
+
value?: null | undefined;
|
6231
|
+
reason?: null | undefined;
|
5761
6232
|
}))[];
|
6233
|
+
availability_expression: import("./helpers/rules").RuleExpression | null;
|
6234
|
+
recommend_expression: import("./helpers/rules").RuleExpression | null;
|
6235
|
+
always_recommend: boolean;
|
5762
6236
|
confirm: string;
|
5763
6237
|
shortcut: string[];
|
5764
6238
|
explanation: string;
|
@@ -5767,6 +6241,7 @@ export declare class HelpSyncCommand {
|
|
5767
6241
|
category: number | null;
|
5768
6242
|
sort_key: number | null;
|
5769
6243
|
icon: string | null;
|
6244
|
+
image: string | null;
|
5770
6245
|
celebrate: boolean | {
|
5771
6246
|
angle?: number | undefined;
|
5772
6247
|
spread?: number | undefined;
|
@@ -5787,16 +6262,17 @@ export declare class HelpSyncCommand {
|
|
5787
6262
|
hotkey_mac: string;
|
5788
6263
|
hotkey_win: string;
|
5789
6264
|
detail: string | ({
|
5790
|
-
type: "html" | "video" | "plaintext" | "markdown" | "react" |
|
6265
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
5791
6266
|
value: string;
|
5792
6267
|
} & {
|
5793
6268
|
position?: "inline" | "popover" | undefined;
|
5794
6269
|
}) | (string | ({
|
5795
|
-
type: "html" | "video" | "plaintext" | "markdown" | "react" |
|
6270
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
5796
6271
|
value: string;
|
5797
6272
|
} & {
|
5798
6273
|
position?: "inline" | "popover" | undefined;
|
5799
6274
|
}))[] | null;
|
6275
|
+
next_steps: (string | number)[];
|
5800
6276
|
} & {
|
5801
6277
|
third_party_source?: string | null | undefined;
|
5802
6278
|
third_party_id?: string | null | undefined;
|
@@ -5898,6 +6374,14 @@ export declare class HelpSyncCommand {
|
|
5898
6374
|
object?: string | undefined;
|
5899
6375
|
hoverTooltip?: boolean | undefined;
|
5900
6376
|
operation?: "self" | "router" | "blank" | undefined;
|
6377
|
+
}) | ({
|
6378
|
+
type: "helpdoc";
|
6379
|
+
value: string;
|
6380
|
+
} & {} & {
|
6381
|
+
commandType?: "object" | "independent" | "help" | undefined;
|
6382
|
+
object?: string | undefined;
|
6383
|
+
hoverTooltip?: boolean | undefined;
|
6384
|
+
operation?: "self" | "router" | "blank" | undefined;
|
5901
6385
|
});
|
5902
6386
|
} & {
|
5903
6387
|
disabledReason?: string | undefined;
|
@@ -5905,6 +6389,7 @@ export declare class HelpSyncCommand {
|
|
5905
6389
|
name?: string | undefined;
|
5906
6390
|
last_available?: string | null | undefined;
|
5907
6391
|
modified?: string | undefined;
|
6392
|
+
isAsync?: boolean | undefined;
|
5908
6393
|
} & {
|
5909
6394
|
arguments: {
|
5910
6395
|
[x: string]: ({
|
@@ -6018,12 +6503,13 @@ export declare class HelpSyncCommand {
|
|
6018
6503
|
auto_choose?: boolean | undefined;
|
6019
6504
|
is_private?: boolean | undefined;
|
6020
6505
|
}) | ({
|
6021
|
-
type: "video";
|
6506
|
+
type: "html" | "video";
|
6022
6507
|
value: {
|
6023
6508
|
source: string;
|
6024
6509
|
} & {
|
6025
6510
|
title?: string | undefined;
|
6026
6511
|
description?: string | undefined;
|
6512
|
+
url?: string | undefined;
|
6027
6513
|
};
|
6028
6514
|
order_key: number;
|
6029
6515
|
} & {
|
@@ -6055,20 +6541,23 @@ export declare class HelpSyncCommand {
|
|
6055
6541
|
reason?: string | undefined;
|
6056
6542
|
})[];
|
6057
6543
|
recommend_rules: (({
|
6058
|
-
type: "always";
|
6059
|
-
} & {
|
6060
|
-
operator?: null | undefined;
|
6061
|
-
field?: null | undefined;
|
6062
|
-
value?: null | undefined;
|
6063
|
-
reason?: null | undefined;
|
6064
|
-
}) | ({
|
6065
6544
|
type: "url" | "context" | "element";
|
6066
6545
|
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
|
6067
6546
|
} & {
|
6068
6547
|
field?: string | undefined;
|
6069
6548
|
value?: string | undefined;
|
6070
6549
|
reason?: string | undefined;
|
6550
|
+
}) | ({
|
6551
|
+
type: "always";
|
6552
|
+
} & {
|
6553
|
+
operator?: null | undefined;
|
6554
|
+
field?: null | undefined;
|
6555
|
+
value?: null | undefined;
|
6556
|
+
reason?: null | undefined;
|
6071
6557
|
}))[];
|
6558
|
+
availability_expression: import("./helpers/rules").RuleExpression | null;
|
6559
|
+
recommend_expression: import("./helpers/rules").RuleExpression | null;
|
6560
|
+
always_recommend: boolean;
|
6072
6561
|
confirm: string;
|
6073
6562
|
shortcut: string[];
|
6074
6563
|
explanation: string;
|
@@ -6077,6 +6566,7 @@ export declare class HelpSyncCommand {
|
|
6077
6566
|
category: number | null;
|
6078
6567
|
sort_key: number | null;
|
6079
6568
|
icon: string | null;
|
6569
|
+
image: string | null;
|
6080
6570
|
celebrate: boolean | {
|
6081
6571
|
angle?: number | undefined;
|
6082
6572
|
spread?: number | undefined;
|
@@ -6097,16 +6587,17 @@ export declare class HelpSyncCommand {
|
|
6097
6587
|
hotkey_mac: string;
|
6098
6588
|
hotkey_win: string;
|
6099
6589
|
detail: string | ({
|
6100
|
-
type: "html" | "video" | "plaintext" | "markdown" | "react" |
|
6590
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
6101
6591
|
value: string;
|
6102
6592
|
} & {
|
6103
6593
|
position?: "inline" | "popover" | undefined;
|
6104
6594
|
}) | (string | ({
|
6105
|
-
type: "html" | "video" | "plaintext" | "markdown" | "react" |
|
6595
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
6106
6596
|
value: string;
|
6107
6597
|
} & {
|
6108
6598
|
position?: "inline" | "popover" | undefined;
|
6109
6599
|
}))[] | null;
|
6600
|
+
next_steps: (string | number)[];
|
6110
6601
|
} & {
|
6111
6602
|
third_party_source?: string | null | undefined;
|
6112
6603
|
third_party_id?: string | null | undefined;
|
@@ -6207,6 +6698,14 @@ export declare class HelpSyncCommand {
|
|
6207
6698
|
object?: string | undefined;
|
6208
6699
|
hoverTooltip?: boolean | undefined;
|
6209
6700
|
operation?: "self" | "router" | "blank" | undefined;
|
6701
|
+
}) | ({
|
6702
|
+
type: "helpdoc";
|
6703
|
+
value: string;
|
6704
|
+
} & {} & {
|
6705
|
+
commandType?: "object" | "independent" | "help" | undefined;
|
6706
|
+
object?: string | undefined;
|
6707
|
+
hoverTooltip?: boolean | undefined;
|
6708
|
+
operation?: "self" | "router" | "blank" | undefined;
|
6210
6709
|
});
|
6211
6710
|
} & {
|
6212
6711
|
disabledReason?: string | undefined;
|
@@ -6214,6 +6713,7 @@ export declare class HelpSyncCommand {
|
|
6214
6713
|
name?: string | undefined;
|
6215
6714
|
last_available?: string | null | undefined;
|
6216
6715
|
modified?: string | undefined;
|
6716
|
+
isAsync?: boolean | undefined;
|
6217
6717
|
} & {
|
6218
6718
|
arguments: {
|
6219
6719
|
[x: string]: ({
|
@@ -6327,12 +6827,13 @@ export declare class HelpSyncCommand {
|
|
6327
6827
|
auto_choose?: boolean | undefined;
|
6328
6828
|
is_private?: boolean | undefined;
|
6329
6829
|
}) | ({
|
6330
|
-
type: "video";
|
6830
|
+
type: "html" | "video";
|
6331
6831
|
value: {
|
6332
6832
|
source: string;
|
6333
6833
|
} & {
|
6334
6834
|
title?: string | undefined;
|
6335
6835
|
description?: string | undefined;
|
6836
|
+
url?: string | undefined;
|
6336
6837
|
};
|
6337
6838
|
order_key: number;
|
6338
6839
|
} & {
|
@@ -6364,20 +6865,23 @@ export declare class HelpSyncCommand {
|
|
6364
6865
|
reason?: string | undefined;
|
6365
6866
|
})[];
|
6366
6867
|
recommend_rules: (({
|
6367
|
-
type: "always";
|
6368
|
-
} & {
|
6369
|
-
operator?: null | undefined;
|
6370
|
-
field?: null | undefined;
|
6371
|
-
value?: null | undefined;
|
6372
|
-
reason?: null | undefined;
|
6373
|
-
}) | ({
|
6374
6868
|
type: "url" | "context" | "element";
|
6375
6869
|
operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
|
6376
6870
|
} & {
|
6377
6871
|
field?: string | undefined;
|
6378
6872
|
value?: string | undefined;
|
6379
6873
|
reason?: string | undefined;
|
6874
|
+
}) | ({
|
6875
|
+
type: "always";
|
6876
|
+
} & {
|
6877
|
+
operator?: null | undefined;
|
6878
|
+
field?: null | undefined;
|
6879
|
+
value?: null | undefined;
|
6880
|
+
reason?: null | undefined;
|
6380
6881
|
}))[];
|
6882
|
+
availability_expression: import("./helpers/rules").RuleExpression | null;
|
6883
|
+
recommend_expression: import("./helpers/rules").RuleExpression | null;
|
6884
|
+
always_recommend: boolean;
|
6381
6885
|
confirm: string;
|
6382
6886
|
shortcut: string[];
|
6383
6887
|
explanation: string;
|
@@ -6386,6 +6890,7 @@ export declare class HelpSyncCommand {
|
|
6386
6890
|
category: number | null;
|
6387
6891
|
sort_key: number | null;
|
6388
6892
|
icon: string | null;
|
6893
|
+
image: string | null;
|
6389
6894
|
celebrate: boolean | {
|
6390
6895
|
angle?: number | undefined;
|
6391
6896
|
spread?: number | undefined;
|
@@ -6406,16 +6911,17 @@ export declare class HelpSyncCommand {
|
|
6406
6911
|
hotkey_mac: string;
|
6407
6912
|
hotkey_win: string;
|
6408
6913
|
detail: string | ({
|
6409
|
-
type: "html" | "video" | "plaintext" | "markdown" | "react" |
|
6914
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
6410
6915
|
value: string;
|
6411
6916
|
} & {
|
6412
6917
|
position?: "inline" | "popover" | undefined;
|
6413
6918
|
}) | (string | ({
|
6414
|
-
type: "html" | "video" | "plaintext" | "markdown" | "react" |
|
6919
|
+
type: "html" | "video" | "plaintext" | "markdown" | "react" | "component";
|
6415
6920
|
value: string;
|
6416
6921
|
} & {
|
6417
6922
|
position?: "inline" | "popover" | undefined;
|
6418
6923
|
}))[] | null;
|
6924
|
+
next_steps: (string | number)[];
|
6419
6925
|
} & {
|
6420
6926
|
third_party_source?: string | null | undefined;
|
6421
6927
|
third_party_id?: string | null | undefined;
|