commandbar 1.6.4 → 1.6.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (26) hide show
  1. package/package.json +2 -2
  2. package/src/init.ts +8 -1
  3. package/src/snippet.ts +1 -1
  4. package/build/commandbar-js/src/index.d.ts +0 -10
  5. package/build/commandbar-js/src/index.js +0 -1
  6. package/build/commandbar-js/src/init.d.ts +0 -19
  7. package/build/commandbar-js/src/snippet.d.ts +0 -1
  8. package/build/internal/src/client/AddContextOptions.d.ts +0 -57
  9. package/build/internal/src/client/AnalyticsEventTypes.d.ts +0 -1
  10. package/build/internal/src/client/CommandBarClientSDK.d.ts +0 -217
  11. package/build/internal/src/client/CommandBarProxySDK.d.ts +0 -48
  12. package/build/internal/src/client/CommandBarSDK.d.ts +0 -43
  13. package/build/internal/src/client/EventHandler.d.ts +0 -71
  14. package/build/internal/src/client/SDKConfig.d.ts +0 -9
  15. package/build/internal/src/client/SentryReporter.d.ts +0 -41
  16. package/build/internal/src/client/proxy.d.ts +0 -15
  17. package/build/internal/src/client/symbols.d.ts +0 -30
  18. package/build/internal/src/middleware/CommandFromClientV.d.ts +0 -198
  19. package/build/internal/src/middleware/ICommandFromClientType.d.ts +0 -3
  20. package/build/internal/src/middleware/IResourceSettings.d.ts +0 -3
  21. package/build/internal/src/middleware/OrganizationV.d.ts +0 -102
  22. package/build/internal/src/middleware/ResourceSettingsV.d.ts +0 -43
  23. package/build/internal/src/middleware/helpers/argument.d.ts +0 -404
  24. package/build/internal/src/middleware/helpers/commandTemplate.d.ts +0 -129
  25. package/build/internal/src/middleware/helpers/rules.d.ts +0 -80
  26. package/build/internal/src/util/Disposable.d.ts +0 -17
@@ -1,404 +0,0 @@
1
- /*******************************************************************************/
2
- import * as t from 'io-ts';
3
- /*******************************************************************************/
4
- export declare const ConditionOperatorV: t.UnionC<[t.LiteralC<"==">, t.LiteralC<"!=">, t.LiteralC<"isTruthy">, t.LiteralC<"isFalsy">]>;
5
- export declare const ConditionV: t.TypeC<{
6
- field: t.StringC;
7
- operator: t.UnionC<[t.LiteralC<"==">, t.LiteralC<"!=">, t.LiteralC<"isTruthy">, t.LiteralC<"isFalsy">]>;
8
- value: t.UnionC<[t.StringC, t.UndefinedC]>;
9
- }>;
10
- export declare const ContextArgumentV: t.IntersectionC<[t.TypeC<{
11
- type: t.LiteralC<"context">;
12
- value: t.StringC;
13
- order_key: t.NumberC;
14
- }>, t.PartialC<{
15
- label: t.StringC;
16
- chosen: t.UnionC<[t.StringC, t.NumberC]>;
17
- selected: t.ArrayC<t.AnyC>;
18
- input_type: t.StringC;
19
- preselected_key: t.StringC;
20
- label_field: t.StringC;
21
- availability_condition: t.ArrayC<t.TypeC<{
22
- field: t.StringC;
23
- operator: t.UnionC<[t.LiteralC<"==">, t.LiteralC<"!=">, t.LiteralC<"isTruthy">, t.LiteralC<"isFalsy">]>;
24
- value: t.UnionC<[t.StringC, t.UndefinedC]>;
25
- }>>;
26
- loaded: t.ArrayC<t.AnyC>;
27
- allow_create: t.BooleanC;
28
- allow_create_label: t.StringC;
29
- }>]>;
30
- export declare const SetArgumentV: t.IntersectionC<[t.TypeC<{
31
- type: t.LiteralC<"set">;
32
- value: t.UnionC<[t.ArrayC<t.StringC>, t.ArrayC<t.NumberC>, t.ArrayC<t.UnknownRecordC>]>;
33
- order_key: t.NumberC;
34
- }>, t.PartialC<{
35
- label: t.StringC;
36
- chosen: t.UnionC<[t.StringC, t.NumberC]>;
37
- selected: t.ArrayC<t.AnyC>;
38
- input_type: t.StringC;
39
- preselected_key: t.StringC;
40
- label_field: t.StringC;
41
- availability_condition: t.ArrayC<t.TypeC<{
42
- field: t.StringC;
43
- operator: t.UnionC<[t.LiteralC<"==">, t.LiteralC<"!=">, t.LiteralC<"isTruthy">, t.LiteralC<"isFalsy">]>;
44
- value: t.UnionC<[t.StringC, t.UndefinedC]>;
45
- }>>;
46
- loaded: t.ArrayC<t.AnyC>;
47
- allow_create: t.BooleanC;
48
- allow_create_label: t.StringC;
49
- }>]>;
50
- export declare const DynamicArgumentV: t.IntersectionC<[t.TypeC<{
51
- type: t.LiteralC<"provided">;
52
- value: t.UnionC<[t.LiteralC<"text">, t.LiteralC<"time">]>;
53
- order_key: t.NumberC;
54
- }>, t.PartialC<{
55
- label: t.StringC;
56
- chosen: t.UnionC<[t.StringC, t.NumberC]>;
57
- selected: t.ArrayC<t.AnyC>;
58
- input_type: t.StringC;
59
- preselected_key: t.StringC;
60
- label_field: t.StringC;
61
- availability_condition: t.ArrayC<t.TypeC<{
62
- field: t.StringC;
63
- operator: t.UnionC<[t.LiteralC<"==">, t.LiteralC<"!=">, t.LiteralC<"isTruthy">, t.LiteralC<"isFalsy">]>;
64
- value: t.UnionC<[t.StringC, t.UndefinedC]>;
65
- }>>;
66
- loaded: t.ArrayC<t.AnyC>;
67
- dateTimeArgumentTypeId: t.NumberC;
68
- allow_create: t.BooleanC;
69
- allow_create_label: t.StringC;
70
- }>]>;
71
- export declare const DependentArgumentV: t.IntersectionC<[t.TypeC<{
72
- type: t.LiteralC<"dependent">;
73
- value: t.StringC;
74
- order_key: t.NumberC;
75
- }>, t.PartialC<{
76
- label: t.StringC;
77
- chosen: t.UnionC<[t.StringC, t.NumberC]>;
78
- selected: t.ArrayC<t.AnyC>;
79
- input_type: t.StringC;
80
- preselected_key: t.StringC;
81
- label_field: t.StringC;
82
- availability_condition: t.ArrayC<t.TypeC<{
83
- field: t.StringC;
84
- operator: t.UnionC<[t.LiteralC<"==">, t.LiteralC<"!=">, t.LiteralC<"isTruthy">, t.LiteralC<"isFalsy">]>;
85
- value: t.UnionC<[t.StringC, t.UndefinedC]>;
86
- }>>;
87
- loaded: t.ArrayC<t.AnyC>;
88
- allow_create: t.BooleanC;
89
- allow_create_label: t.StringC;
90
- }>]>;
91
- export declare const FunctionArgumentV: t.IntersectionC<[t.TypeC<{
92
- type: t.LiteralC<"function">;
93
- value: t.StringC;
94
- order_key: t.NumberC;
95
- }>, t.PartialC<{
96
- label: t.StringC;
97
- chosen: t.UnionC<[t.StringC, t.NumberC]>;
98
- selected: t.ArrayC<t.AnyC>;
99
- input_type: t.StringC;
100
- preselected_key: t.StringC;
101
- label_field: t.StringC;
102
- availability_condition: t.ArrayC<t.TypeC<{
103
- field: t.StringC;
104
- operator: t.UnionC<[t.LiteralC<"==">, t.LiteralC<"!=">, t.LiteralC<"isTruthy">, t.LiteralC<"isFalsy">]>;
105
- value: t.UnionC<[t.StringC, t.UndefinedC]>;
106
- }>>;
107
- loaded: t.ArrayC<t.AnyC>;
108
- allow_create: t.BooleanC;
109
- allow_create_label: t.StringC;
110
- }>]>;
111
- export declare const ArgumentTypeV: t.UnionC<[t.IntersectionC<[t.TypeC<{
112
- type: t.LiteralC<"context">;
113
- value: t.StringC;
114
- order_key: t.NumberC;
115
- }>, t.PartialC<{
116
- label: t.StringC;
117
- chosen: t.UnionC<[t.StringC, t.NumberC]>;
118
- selected: t.ArrayC<t.AnyC>;
119
- input_type: t.StringC;
120
- preselected_key: t.StringC;
121
- label_field: t.StringC;
122
- availability_condition: t.ArrayC<t.TypeC<{
123
- field: t.StringC;
124
- operator: t.UnionC<[t.LiteralC<"==">, t.LiteralC<"!=">, t.LiteralC<"isTruthy">, t.LiteralC<"isFalsy">]>;
125
- value: t.UnionC<[t.StringC, t.UndefinedC]>;
126
- }>>;
127
- loaded: t.ArrayC<t.AnyC>;
128
- allow_create: t.BooleanC;
129
- allow_create_label: t.StringC;
130
- }>]>, t.IntersectionC<[t.TypeC<{
131
- type: t.LiteralC<"set">;
132
- value: t.UnionC<[t.ArrayC<t.StringC>, t.ArrayC<t.NumberC>, t.ArrayC<t.UnknownRecordC>]>;
133
- order_key: t.NumberC;
134
- }>, t.PartialC<{
135
- label: t.StringC;
136
- chosen: t.UnionC<[t.StringC, t.NumberC]>;
137
- selected: t.ArrayC<t.AnyC>;
138
- input_type: t.StringC;
139
- preselected_key: t.StringC;
140
- label_field: t.StringC;
141
- availability_condition: t.ArrayC<t.TypeC<{
142
- field: t.StringC;
143
- operator: t.UnionC<[t.LiteralC<"==">, t.LiteralC<"!=">, t.LiteralC<"isTruthy">, t.LiteralC<"isFalsy">]>;
144
- value: t.UnionC<[t.StringC, t.UndefinedC]>;
145
- }>>;
146
- loaded: t.ArrayC<t.AnyC>;
147
- allow_create: t.BooleanC;
148
- allow_create_label: t.StringC;
149
- }>]>, t.IntersectionC<[t.TypeC<{
150
- type: t.LiteralC<"provided">;
151
- value: t.UnionC<[t.LiteralC<"text">, t.LiteralC<"time">]>;
152
- order_key: t.NumberC;
153
- }>, t.PartialC<{
154
- label: t.StringC;
155
- chosen: t.UnionC<[t.StringC, t.NumberC]>;
156
- selected: t.ArrayC<t.AnyC>;
157
- input_type: t.StringC;
158
- preselected_key: t.StringC;
159
- label_field: t.StringC;
160
- availability_condition: t.ArrayC<t.TypeC<{
161
- field: t.StringC;
162
- operator: t.UnionC<[t.LiteralC<"==">, t.LiteralC<"!=">, t.LiteralC<"isTruthy">, t.LiteralC<"isFalsy">]>;
163
- value: t.UnionC<[t.StringC, t.UndefinedC]>;
164
- }>>;
165
- loaded: t.ArrayC<t.AnyC>;
166
- dateTimeArgumentTypeId: t.NumberC;
167
- allow_create: t.BooleanC;
168
- allow_create_label: t.StringC;
169
- }>]>, t.IntersectionC<[t.TypeC<{
170
- type: t.LiteralC<"dependent">;
171
- value: t.StringC;
172
- order_key: t.NumberC;
173
- }>, t.PartialC<{
174
- label: t.StringC;
175
- chosen: t.UnionC<[t.StringC, t.NumberC]>;
176
- selected: t.ArrayC<t.AnyC>;
177
- input_type: t.StringC;
178
- preselected_key: t.StringC;
179
- label_field: t.StringC;
180
- availability_condition: t.ArrayC<t.TypeC<{
181
- field: t.StringC;
182
- operator: t.UnionC<[t.LiteralC<"==">, t.LiteralC<"!=">, t.LiteralC<"isTruthy">, t.LiteralC<"isFalsy">]>;
183
- value: t.UnionC<[t.StringC, t.UndefinedC]>;
184
- }>>;
185
- loaded: t.ArrayC<t.AnyC>;
186
- allow_create: t.BooleanC;
187
- allow_create_label: t.StringC;
188
- }>]>, t.IntersectionC<[t.TypeC<{
189
- type: t.LiteralC<"function">;
190
- value: t.StringC;
191
- order_key: t.NumberC;
192
- }>, t.PartialC<{
193
- label: t.StringC;
194
- chosen: t.UnionC<[t.StringC, t.NumberC]>;
195
- selected: t.ArrayC<t.AnyC>;
196
- input_type: t.StringC;
197
- preselected_key: t.StringC;
198
- label_field: t.StringC;
199
- availability_condition: t.ArrayC<t.TypeC<{
200
- field: t.StringC;
201
- operator: t.UnionC<[t.LiteralC<"==">, t.LiteralC<"!=">, t.LiteralC<"isTruthy">, t.LiteralC<"isFalsy">]>;
202
- value: t.UnionC<[t.StringC, t.UndefinedC]>;
203
- }>>;
204
- loaded: t.ArrayC<t.AnyC>;
205
- allow_create: t.BooleanC;
206
- allow_create_label: t.StringC;
207
- }>]>]>;
208
- export declare const ArgumentMapV: t.RecordC<t.StringC, t.UnionC<[t.IntersectionC<[t.TypeC<{
209
- type: t.LiteralC<"context">;
210
- value: t.StringC;
211
- order_key: t.NumberC;
212
- }>, t.PartialC<{
213
- label: t.StringC;
214
- chosen: t.UnionC<[t.StringC, t.NumberC]>;
215
- selected: t.ArrayC<t.AnyC>;
216
- input_type: t.StringC;
217
- preselected_key: t.StringC;
218
- label_field: t.StringC;
219
- availability_condition: t.ArrayC<t.TypeC<{
220
- field: t.StringC;
221
- operator: t.UnionC<[t.LiteralC<"==">, t.LiteralC<"!=">, t.LiteralC<"isTruthy">, t.LiteralC<"isFalsy">]>;
222
- value: t.UnionC<[t.StringC, t.UndefinedC]>;
223
- }>>;
224
- loaded: t.ArrayC<t.AnyC>;
225
- allow_create: t.BooleanC;
226
- allow_create_label: t.StringC;
227
- }>]>, t.IntersectionC<[t.TypeC<{
228
- type: t.LiteralC<"set">;
229
- value: t.UnionC<[t.ArrayC<t.StringC>, t.ArrayC<t.NumberC>, t.ArrayC<t.UnknownRecordC>]>;
230
- order_key: t.NumberC;
231
- }>, t.PartialC<{
232
- label: t.StringC;
233
- chosen: t.UnionC<[t.StringC, t.NumberC]>;
234
- selected: t.ArrayC<t.AnyC>;
235
- input_type: t.StringC;
236
- preselected_key: t.StringC;
237
- label_field: t.StringC;
238
- availability_condition: t.ArrayC<t.TypeC<{
239
- field: t.StringC;
240
- operator: t.UnionC<[t.LiteralC<"==">, t.LiteralC<"!=">, t.LiteralC<"isTruthy">, t.LiteralC<"isFalsy">]>;
241
- value: t.UnionC<[t.StringC, t.UndefinedC]>;
242
- }>>;
243
- loaded: t.ArrayC<t.AnyC>;
244
- allow_create: t.BooleanC;
245
- allow_create_label: t.StringC;
246
- }>]>, t.IntersectionC<[t.TypeC<{
247
- type: t.LiteralC<"provided">;
248
- value: t.UnionC<[t.LiteralC<"text">, t.LiteralC<"time">]>;
249
- order_key: t.NumberC;
250
- }>, t.PartialC<{
251
- label: t.StringC;
252
- chosen: t.UnionC<[t.StringC, t.NumberC]>;
253
- selected: t.ArrayC<t.AnyC>;
254
- input_type: t.StringC;
255
- preselected_key: t.StringC;
256
- label_field: t.StringC;
257
- availability_condition: t.ArrayC<t.TypeC<{
258
- field: t.StringC;
259
- operator: t.UnionC<[t.LiteralC<"==">, t.LiteralC<"!=">, t.LiteralC<"isTruthy">, t.LiteralC<"isFalsy">]>;
260
- value: t.UnionC<[t.StringC, t.UndefinedC]>;
261
- }>>;
262
- loaded: t.ArrayC<t.AnyC>;
263
- dateTimeArgumentTypeId: t.NumberC;
264
- allow_create: t.BooleanC;
265
- allow_create_label: t.StringC;
266
- }>]>, t.IntersectionC<[t.TypeC<{
267
- type: t.LiteralC<"dependent">;
268
- value: t.StringC;
269
- order_key: t.NumberC;
270
- }>, t.PartialC<{
271
- label: t.StringC;
272
- chosen: t.UnionC<[t.StringC, t.NumberC]>;
273
- selected: t.ArrayC<t.AnyC>;
274
- input_type: t.StringC;
275
- preselected_key: t.StringC;
276
- label_field: t.StringC;
277
- availability_condition: t.ArrayC<t.TypeC<{
278
- field: t.StringC;
279
- operator: t.UnionC<[t.LiteralC<"==">, t.LiteralC<"!=">, t.LiteralC<"isTruthy">, t.LiteralC<"isFalsy">]>;
280
- value: t.UnionC<[t.StringC, t.UndefinedC]>;
281
- }>>;
282
- loaded: t.ArrayC<t.AnyC>;
283
- allow_create: t.BooleanC;
284
- allow_create_label: t.StringC;
285
- }>]>, t.IntersectionC<[t.TypeC<{
286
- type: t.LiteralC<"function">;
287
- value: t.StringC;
288
- order_key: t.NumberC;
289
- }>, t.PartialC<{
290
- label: t.StringC;
291
- chosen: t.UnionC<[t.StringC, t.NumberC]>;
292
- selected: t.ArrayC<t.AnyC>;
293
- input_type: t.StringC;
294
- preselected_key: t.StringC;
295
- label_field: t.StringC;
296
- availability_condition: t.ArrayC<t.TypeC<{
297
- field: t.StringC;
298
- operator: t.UnionC<[t.LiteralC<"==">, t.LiteralC<"!=">, t.LiteralC<"isTruthy">, t.LiteralC<"isFalsy">]>;
299
- value: t.UnionC<[t.StringC, t.UndefinedC]>;
300
- }>>;
301
- loaded: t.ArrayC<t.AnyC>;
302
- allow_create: t.BooleanC;
303
- allow_create_label: t.StringC;
304
- }>]>]>>;
305
- export declare const StepArgumentTypeV: t.IntersectionC<[t.TypeC<{
306
- userDefinedName: t.StringC;
307
- userDefinedValue: t.StringC;
308
- }>, t.UnionC<[t.IntersectionC<[t.TypeC<{
309
- type: t.LiteralC<"context">;
310
- value: t.StringC;
311
- order_key: t.NumberC;
312
- }>, t.PartialC<{
313
- label: t.StringC;
314
- chosen: t.UnionC<[t.StringC, t.NumberC]>;
315
- selected: t.ArrayC<t.AnyC>;
316
- input_type: t.StringC;
317
- preselected_key: t.StringC;
318
- label_field: t.StringC;
319
- availability_condition: t.ArrayC<t.TypeC<{
320
- field: t.StringC;
321
- operator: t.UnionC<[t.LiteralC<"==">, t.LiteralC<"!=">, t.LiteralC<"isTruthy">, t.LiteralC<"isFalsy">]>;
322
- value: t.UnionC<[t.StringC, t.UndefinedC]>;
323
- }>>;
324
- loaded: t.ArrayC<t.AnyC>;
325
- allow_create: t.BooleanC;
326
- allow_create_label: t.StringC;
327
- }>]>, t.IntersectionC<[t.TypeC<{
328
- type: t.LiteralC<"set">;
329
- value: t.UnionC<[t.ArrayC<t.StringC>, t.ArrayC<t.NumberC>, t.ArrayC<t.UnknownRecordC>]>;
330
- order_key: t.NumberC;
331
- }>, t.PartialC<{
332
- label: t.StringC;
333
- chosen: t.UnionC<[t.StringC, t.NumberC]>;
334
- selected: t.ArrayC<t.AnyC>;
335
- input_type: t.StringC;
336
- preselected_key: t.StringC;
337
- label_field: t.StringC;
338
- availability_condition: t.ArrayC<t.TypeC<{
339
- field: t.StringC;
340
- operator: t.UnionC<[t.LiteralC<"==">, t.LiteralC<"!=">, t.LiteralC<"isTruthy">, t.LiteralC<"isFalsy">]>;
341
- value: t.UnionC<[t.StringC, t.UndefinedC]>;
342
- }>>;
343
- loaded: t.ArrayC<t.AnyC>;
344
- allow_create: t.BooleanC;
345
- allow_create_label: t.StringC;
346
- }>]>, t.IntersectionC<[t.TypeC<{
347
- type: t.LiteralC<"provided">;
348
- value: t.UnionC<[t.LiteralC<"text">, t.LiteralC<"time">]>;
349
- order_key: t.NumberC;
350
- }>, t.PartialC<{
351
- label: t.StringC;
352
- chosen: t.UnionC<[t.StringC, t.NumberC]>;
353
- selected: t.ArrayC<t.AnyC>;
354
- input_type: t.StringC;
355
- preselected_key: t.StringC;
356
- label_field: t.StringC;
357
- availability_condition: t.ArrayC<t.TypeC<{
358
- field: t.StringC;
359
- operator: t.UnionC<[t.LiteralC<"==">, t.LiteralC<"!=">, t.LiteralC<"isTruthy">, t.LiteralC<"isFalsy">]>;
360
- value: t.UnionC<[t.StringC, t.UndefinedC]>;
361
- }>>;
362
- loaded: t.ArrayC<t.AnyC>;
363
- dateTimeArgumentTypeId: t.NumberC;
364
- allow_create: t.BooleanC;
365
- allow_create_label: t.StringC;
366
- }>]>, t.IntersectionC<[t.TypeC<{
367
- type: t.LiteralC<"dependent">;
368
- value: t.StringC;
369
- order_key: t.NumberC;
370
- }>, t.PartialC<{
371
- label: t.StringC;
372
- chosen: t.UnionC<[t.StringC, t.NumberC]>;
373
- selected: t.ArrayC<t.AnyC>;
374
- input_type: t.StringC;
375
- preselected_key: t.StringC;
376
- label_field: t.StringC;
377
- availability_condition: t.ArrayC<t.TypeC<{
378
- field: t.StringC;
379
- operator: t.UnionC<[t.LiteralC<"==">, t.LiteralC<"!=">, t.LiteralC<"isTruthy">, t.LiteralC<"isFalsy">]>;
380
- value: t.UnionC<[t.StringC, t.UndefinedC]>;
381
- }>>;
382
- loaded: t.ArrayC<t.AnyC>;
383
- allow_create: t.BooleanC;
384
- allow_create_label: t.StringC;
385
- }>]>, t.IntersectionC<[t.TypeC<{
386
- type: t.LiteralC<"function">;
387
- value: t.StringC;
388
- order_key: t.NumberC;
389
- }>, t.PartialC<{
390
- label: t.StringC;
391
- chosen: t.UnionC<[t.StringC, t.NumberC]>;
392
- selected: t.ArrayC<t.AnyC>;
393
- input_type: t.StringC;
394
- preselected_key: t.StringC;
395
- label_field: t.StringC;
396
- availability_condition: t.ArrayC<t.TypeC<{
397
- field: t.StringC;
398
- operator: t.UnionC<[t.LiteralC<"==">, t.LiteralC<"!=">, t.LiteralC<"isTruthy">, t.LiteralC<"isFalsy">]>;
399
- value: t.UnionC<[t.StringC, t.UndefinedC]>;
400
- }>>;
401
- loaded: t.ArrayC<t.AnyC>;
402
- allow_create: t.BooleanC;
403
- allow_create_label: t.StringC;
404
- }>]>]>]>;
@@ -1,129 +0,0 @@
1
- /*******************************************************************************/
2
- import * as t from 'io-ts';
3
- /*******************************************************************************/
4
- export declare const TemplateOptionsV: t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
5
- commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
6
- object: t.StringC;
7
- hoverTooltip: t.BooleanC;
8
- operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
9
- }>]>;
10
- export declare const AdminTemplateV: t.IntersectionC<[t.TypeC<{
11
- type: t.LiteralC<"admin">;
12
- value: t.StringC;
13
- }>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
14
- commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
15
- object: t.StringC;
16
- hoverTooltip: t.BooleanC;
17
- operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
18
- }>]>]>;
19
- export declare const CallbackTemplateV: t.IntersectionC<[t.TypeC<{
20
- type: t.LiteralC<"callback">;
21
- value: t.StringC;
22
- }>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
23
- commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
24
- object: t.StringC;
25
- hoverTooltip: t.BooleanC;
26
- operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
27
- }>]>]>;
28
- export declare const LinkTemplateV: t.IntersectionC<[t.TypeC<{
29
- type: t.LiteralC<"link">;
30
- value: t.StringC;
31
- }>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
32
- commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
33
- object: t.StringC;
34
- hoverTooltip: t.BooleanC;
35
- operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
36
- }>]>]>;
37
- export declare const ClickTemplateV: t.IntersectionC<[t.TypeC<{
38
- type: t.UnionC<[t.LiteralC<"click">, t.LiteralC<"clickBySelector">, t.LiteralC<"clickByXpath">]>;
39
- value: t.ArrayC<t.StringC>;
40
- }>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
41
- commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
42
- object: t.StringC;
43
- hoverTooltip: t.BooleanC;
44
- operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
45
- }>]>]>;
46
- export declare const BuiltInTemplateV: t.IntersectionC<[t.TypeC<{
47
- type: t.LiteralC<"builtin">;
48
- value: t.StringC;
49
- }>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
50
- commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
51
- object: t.StringC;
52
- hoverTooltip: t.BooleanC;
53
- operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
54
- }>]>]>;
55
- export declare const WebhookTemplateV: t.IntersectionC<[t.TypeC<{
56
- type: t.LiteralC<"webhook">;
57
- value: t.StringC;
58
- }>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
59
- commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
60
- object: t.StringC;
61
- hoverTooltip: t.BooleanC;
62
- operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
63
- }>]>]>;
64
- export declare const ScriptTemplateV: t.IntersectionC<[t.TypeC<{
65
- type: t.LiteralC<"script">;
66
- value: t.StringC;
67
- }>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
68
- commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
69
- object: t.StringC;
70
- hoverTooltip: t.BooleanC;
71
- operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
72
- }>]>]>;
73
- export declare const TemplateV: t.UnionC<[t.IntersectionC<[t.TypeC<{
74
- type: t.LiteralC<"admin">;
75
- value: t.StringC;
76
- }>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
77
- commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
78
- object: t.StringC;
79
- hoverTooltip: t.BooleanC;
80
- operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
81
- }>]>]>, t.IntersectionC<[t.TypeC<{
82
- type: t.LiteralC<"callback">;
83
- value: t.StringC;
84
- }>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
85
- commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
86
- object: t.StringC;
87
- hoverTooltip: t.BooleanC;
88
- operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
89
- }>]>]>, t.IntersectionC<[t.TypeC<{
90
- type: t.LiteralC<"link">;
91
- value: t.StringC;
92
- }>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
93
- commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
94
- object: t.StringC;
95
- hoverTooltip: t.BooleanC;
96
- operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
97
- }>]>]>, t.IntersectionC<[t.TypeC<{
98
- type: t.UnionC<[t.LiteralC<"click">, t.LiteralC<"clickBySelector">, t.LiteralC<"clickByXpath">]>;
99
- value: t.ArrayC<t.StringC>;
100
- }>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
101
- commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
102
- object: t.StringC;
103
- hoverTooltip: t.BooleanC;
104
- operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
105
- }>]>]>, t.IntersectionC<[t.TypeC<{
106
- type: t.LiteralC<"builtin">;
107
- value: t.StringC;
108
- }>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
109
- commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
110
- object: t.StringC;
111
- hoverTooltip: t.BooleanC;
112
- operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
113
- }>]>]>, t.IntersectionC<[t.TypeC<{
114
- type: t.LiteralC<"webhook">;
115
- value: t.StringC;
116
- }>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
117
- commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
118
- object: t.StringC;
119
- hoverTooltip: t.BooleanC;
120
- operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
121
- }>]>]>, t.IntersectionC<[t.TypeC<{
122
- type: t.LiteralC<"script">;
123
- value: t.StringC;
124
- }>, t.IntersectionC<[t.TypeC<{}>, t.PartialC<{
125
- commandType: t.UnionC<[t.LiteralC<"independent">, t.LiteralC<"object">, t.LiteralC<"help">]>;
126
- object: t.StringC;
127
- hoverTooltip: t.BooleanC;
128
- operation: t.UnionC<[t.LiteralC<"router">, t.LiteralC<"self">, t.LiteralC<"blank">, t.UndefinedC]>;
129
- }>]>]>]>;
@@ -1,80 +0,0 @@
1
- import * as t from 'io-ts';
2
- export declare const operators: readonly ["is", "isNot", "isTrue", "isFalse", "isTruthy", "isFalsy", "startsWith", "endsWith", "includes", "doesNotInclude", "matchesRegex", "isGreaterThan", "isLessThan", "isDefined", "isNotDefined", "classnameOnPage", "idOnPage"];
3
- declare const OperatorV: t.KeyofC<{
4
- includes: null;
5
- endsWith: null;
6
- startsWith: null;
7
- is: null;
8
- isTruthy: null;
9
- isFalsy: null;
10
- isNot: null;
11
- isTrue: null;
12
- isFalse: null;
13
- doesNotInclude: null;
14
- matchesRegex: null;
15
- isGreaterThan: null;
16
- isLessThan: null;
17
- isDefined: null;
18
- isNotDefined: null;
19
- classnameOnPage: null;
20
- idOnPage: null;
21
- }>;
22
- export declare const AvailabilityRuleV: t.IntersectionC<[t.TypeC<{
23
- type: t.UnionC<[t.LiteralC<"context">, t.LiteralC<"url">, t.LiteralC<"element">]>;
24
- operator: t.KeyofC<{
25
- includes: null;
26
- endsWith: null;
27
- startsWith: null;
28
- is: null;
29
- isTruthy: null;
30
- isFalsy: null;
31
- isNot: null;
32
- isTrue: null;
33
- isFalse: null;
34
- doesNotInclude: null;
35
- matchesRegex: null;
36
- isGreaterThan: null;
37
- isLessThan: null;
38
- isDefined: null;
39
- isNotDefined: null;
40
- classnameOnPage: null;
41
- idOnPage: null;
42
- }>;
43
- }>, t.PartialC<{
44
- field: t.StringC;
45
- value: t.StringC;
46
- reason: t.StringC;
47
- }>]>;
48
- export declare const RecommendationRuleV: t.IntersectionC<[t.TypeC<{
49
- type: t.UnionC<[t.LiteralC<"context">, t.LiteralC<"url">, t.LiteralC<"element">, t.LiteralC<"always">]>;
50
- }>, t.PartialC<{
51
- operator: t.KeyofC<{
52
- includes: null;
53
- endsWith: null;
54
- startsWith: null;
55
- is: null;
56
- isTruthy: null;
57
- isFalsy: null;
58
- isNot: null;
59
- isTrue: null;
60
- isFalse: null;
61
- doesNotInclude: null;
62
- matchesRegex: null;
63
- isGreaterThan: null;
64
- isLessThan: null;
65
- isDefined: null;
66
- isNotDefined: null;
67
- classnameOnPage: null;
68
- idOnPage: null;
69
- }>;
70
- field: t.StringC;
71
- value: t.StringC;
72
- reason: t.StringC;
73
- }>]>;
74
- export declare type IRuleOperator = t.TypeOf<typeof OperatorV>;
75
- export declare type IAvailabilityRule = t.TypeOf<typeof AvailabilityRuleV>;
76
- export declare type IRecommendationRule = t.TypeOf<typeof RecommendationRuleV>;
77
- export declare type IAvailabilityRuleType = IAvailabilityRule['type'];
78
- export declare type IRecommendationRuleType = IRecommendationRule['type'];
79
- export declare type IRule = IAvailabilityRule | IRecommendationRule;
80
- export {};
@@ -1,17 +0,0 @@
1
- import { _dispose, _disposed } from '../client/symbols';
2
- export declare type PublicDisposable = {
3
- dispose: VoidFunction;
4
- _disposed?: boolean;
5
- };
6
- export declare type PrivateDisposable = {
7
- [_dispose]: VoidFunction;
8
- [_disposed]?: boolean;
9
- };
10
- export declare type Disposable = undefined | PublicDisposable | PrivateDisposable;
11
- export declare const isDisposable: (x: unknown) => x is Disposable;
12
- /**
13
- * Determines if the provided value is "disposed". A value is considered "disposed" if it is an object with the
14
- * _disposed property or symbol symbol set to true, or if the actual value is undefined.
15
- */
16
- export declare const isDisposed: (x: unknown) => boolean;
17
- export declare function dispose(x: Disposable): void;