@devtable/dashboard 6.24.0 → 6.25.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dashboard.es.js +4097 -3990
- package/dist/dashboard.umd.js +41 -41
- package/dist/definition-editor/query-editor/configurations.d.ts +9 -0
- package/dist/main/use-panel-full-screen.d.ts +68 -0
- package/dist/model/queries/index.d.ts +86 -0
- package/dist/model/queries/mute-query.d.ts +14 -0
- package/dist/model/queries/query.d.ts +17 -0
- package/dist/model/views/view/index.d.ts +306 -0
- package/dist/model/views/view/panels/index.d.ts +102 -0
- package/dist/model/views/view/panels/panel.d.ts +34 -0
- package/dist/panel/viz/index.d.ts +2 -0
- package/dist/plugins/plugin-context.d.ts +68 -0
- package/package.json +1 -1
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { QueryModelInstance } from '~/model';
|
|
3
|
+
interface IQueryConfigurations {
|
|
4
|
+
queryModel: QueryModelInstance;
|
|
5
|
+
}
|
|
6
|
+
export declare const QueryConfigurations: (({ queryModel }: IQueryConfigurations) => JSX.Element) & {
|
|
7
|
+
displayName: string;
|
|
8
|
+
};
|
|
9
|
+
export {};
|
|
@@ -377,6 +377,7 @@ export declare function usePanelFullScreen(view: ViewModelInstance, panelID: str
|
|
|
377
377
|
type: import("../model/queries/types").DataSourceType;
|
|
378
378
|
key: string;
|
|
379
379
|
sql: string;
|
|
380
|
+
run_by: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
380
381
|
state: "idle" | "loading" | "error";
|
|
381
382
|
data: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").IType<string[] | number[], string[] | number[], string[] | number[]>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IType<string[] | number[], string[] | number[], string[] | number[]>>, [undefined]>>;
|
|
382
383
|
error: any;
|
|
@@ -388,9 +389,24 @@ export declare function usePanelFullScreen(view: ViewModelInstance, panelID: str
|
|
|
388
389
|
type: import("../model/queries/types").DataSourceType;
|
|
389
390
|
key: string;
|
|
390
391
|
sql: string;
|
|
392
|
+
run_by: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
393
|
+
};
|
|
394
|
+
readonly conditionOptions: {
|
|
395
|
+
label: string;
|
|
396
|
+
value: string;
|
|
397
|
+
group: string;
|
|
398
|
+
}[];
|
|
399
|
+
readonly unmetRunByConditions: string[];
|
|
400
|
+
} & {
|
|
401
|
+
readonly runByConditionsMet: boolean;
|
|
402
|
+
readonly conditionNames: {
|
|
403
|
+
context: string[];
|
|
404
|
+
filters: any[];
|
|
391
405
|
};
|
|
392
406
|
} & {
|
|
393
407
|
readonly formattedSQL: any;
|
|
408
|
+
} & {
|
|
409
|
+
readonly stateMessage: string;
|
|
394
410
|
} & {
|
|
395
411
|
controller: AbortController;
|
|
396
412
|
} & {
|
|
@@ -398,6 +414,7 @@ export declare function usePanelFullScreen(view: ViewModelInstance, panelID: str
|
|
|
398
414
|
setKey(key: string): void;
|
|
399
415
|
setType(type: import("../model/queries/types").DataSourceType): void;
|
|
400
416
|
setSQL(sql: string): void;
|
|
417
|
+
setRunBy(v: string[]): void;
|
|
401
418
|
fetchData: () => Promise<void>;
|
|
402
419
|
beforeDestroy(): void;
|
|
403
420
|
} & {
|
|
@@ -408,6 +425,7 @@ export declare function usePanelFullScreen(view: ViewModelInstance, panelID: str
|
|
|
408
425
|
type: import("mobx-state-tree").ISimpleType<import("../model/queries/types").DataSourceType>;
|
|
409
426
|
key: import("mobx-state-tree").ISimpleType<string>;
|
|
410
427
|
sql: import("mobx-state-tree").ISimpleType<string>;
|
|
428
|
+
run_by: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>;
|
|
411
429
|
} & {
|
|
412
430
|
state: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<"idle" | "loading" | "error">, [undefined]>;
|
|
413
431
|
data: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IType<string[] | number[], string[] | number[], string[] | number[]>>, [undefined]>;
|
|
@@ -420,9 +438,24 @@ export declare function usePanelFullScreen(view: ViewModelInstance, panelID: str
|
|
|
420
438
|
type: import("../model/queries/types").DataSourceType;
|
|
421
439
|
key: string;
|
|
422
440
|
sql: string;
|
|
441
|
+
run_by: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
442
|
+
};
|
|
443
|
+
readonly conditionOptions: {
|
|
444
|
+
label: string;
|
|
445
|
+
value: string;
|
|
446
|
+
group: string;
|
|
447
|
+
}[];
|
|
448
|
+
readonly unmetRunByConditions: string[];
|
|
449
|
+
} & {
|
|
450
|
+
readonly runByConditionsMet: boolean;
|
|
451
|
+
readonly conditionNames: {
|
|
452
|
+
context: string[];
|
|
453
|
+
filters: any[];
|
|
423
454
|
};
|
|
424
455
|
} & {
|
|
425
456
|
readonly formattedSQL: any;
|
|
457
|
+
} & {
|
|
458
|
+
readonly stateMessage: string;
|
|
426
459
|
} & {
|
|
427
460
|
controller: AbortController;
|
|
428
461
|
} & {
|
|
@@ -430,6 +463,7 @@ export declare function usePanelFullScreen(view: ViewModelInstance, panelID: str
|
|
|
430
463
|
setKey(key: string): void;
|
|
431
464
|
setType(type: import("../model/queries/types").DataSourceType): void;
|
|
432
465
|
setSQL(sql: string): void;
|
|
466
|
+
setRunBy(v: string[]): void;
|
|
433
467
|
fetchData: () => Promise<void>;
|
|
434
468
|
beforeDestroy(): void;
|
|
435
469
|
} & {
|
|
@@ -1147,6 +1181,7 @@ export declare function usePanelFullScreen(view: ViewModelInstance, panelID: str
|
|
|
1147
1181
|
type: import("../model/queries/types").DataSourceType;
|
|
1148
1182
|
key: string;
|
|
1149
1183
|
sql: string;
|
|
1184
|
+
run_by: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
1150
1185
|
state: "idle" | "loading" | "error";
|
|
1151
1186
|
data: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").IType<string[] | number[], string[] | number[], string[] | number[]>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IType<string[] | number[], string[] | number[], string[] | number[]>>, [undefined]>>;
|
|
1152
1187
|
error: any;
|
|
@@ -1158,9 +1193,24 @@ export declare function usePanelFullScreen(view: ViewModelInstance, panelID: str
|
|
|
1158
1193
|
type: import("../model/queries/types").DataSourceType;
|
|
1159
1194
|
key: string;
|
|
1160
1195
|
sql: string;
|
|
1196
|
+
run_by: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
1197
|
+
};
|
|
1198
|
+
readonly conditionOptions: {
|
|
1199
|
+
label: string;
|
|
1200
|
+
value: string;
|
|
1201
|
+
group: string;
|
|
1202
|
+
}[];
|
|
1203
|
+
readonly unmetRunByConditions: string[];
|
|
1204
|
+
} & {
|
|
1205
|
+
readonly runByConditionsMet: boolean;
|
|
1206
|
+
readonly conditionNames: {
|
|
1207
|
+
context: string[];
|
|
1208
|
+
filters: any[];
|
|
1161
1209
|
};
|
|
1162
1210
|
} & {
|
|
1163
1211
|
readonly formattedSQL: any;
|
|
1212
|
+
} & {
|
|
1213
|
+
readonly stateMessage: string;
|
|
1164
1214
|
} & {
|
|
1165
1215
|
controller: AbortController;
|
|
1166
1216
|
} & {
|
|
@@ -1168,6 +1218,7 @@ export declare function usePanelFullScreen(view: ViewModelInstance, panelID: str
|
|
|
1168
1218
|
setKey(key: string): void;
|
|
1169
1219
|
setType(type: import("../model/queries/types").DataSourceType): void;
|
|
1170
1220
|
setSQL(sql: string): void;
|
|
1221
|
+
setRunBy(v: string[]): void;
|
|
1171
1222
|
fetchData: () => Promise<void>;
|
|
1172
1223
|
beforeDestroy(): void;
|
|
1173
1224
|
} & {
|
|
@@ -1178,6 +1229,7 @@ export declare function usePanelFullScreen(view: ViewModelInstance, panelID: str
|
|
|
1178
1229
|
type: import("mobx-state-tree").ISimpleType<import("../model/queries/types").DataSourceType>;
|
|
1179
1230
|
key: import("mobx-state-tree").ISimpleType<string>;
|
|
1180
1231
|
sql: import("mobx-state-tree").ISimpleType<string>;
|
|
1232
|
+
run_by: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>;
|
|
1181
1233
|
} & {
|
|
1182
1234
|
state: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<"idle" | "loading" | "error">, [undefined]>;
|
|
1183
1235
|
data: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IType<string[] | number[], string[] | number[], string[] | number[]>>, [undefined]>;
|
|
@@ -1190,9 +1242,24 @@ export declare function usePanelFullScreen(view: ViewModelInstance, panelID: str
|
|
|
1190
1242
|
type: import("../model/queries/types").DataSourceType;
|
|
1191
1243
|
key: string;
|
|
1192
1244
|
sql: string;
|
|
1245
|
+
run_by: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
1246
|
+
};
|
|
1247
|
+
readonly conditionOptions: {
|
|
1248
|
+
label: string;
|
|
1249
|
+
value: string;
|
|
1250
|
+
group: string;
|
|
1251
|
+
}[];
|
|
1252
|
+
readonly unmetRunByConditions: string[];
|
|
1253
|
+
} & {
|
|
1254
|
+
readonly runByConditionsMet: boolean;
|
|
1255
|
+
readonly conditionNames: {
|
|
1256
|
+
context: string[];
|
|
1257
|
+
filters: any[];
|
|
1193
1258
|
};
|
|
1194
1259
|
} & {
|
|
1195
1260
|
readonly formattedSQL: any;
|
|
1261
|
+
} & {
|
|
1262
|
+
readonly stateMessage: string;
|
|
1196
1263
|
} & {
|
|
1197
1264
|
controller: AbortController;
|
|
1198
1265
|
} & {
|
|
@@ -1200,6 +1267,7 @@ export declare function usePanelFullScreen(view: ViewModelInstance, panelID: str
|
|
|
1200
1267
|
setKey(key: string): void;
|
|
1201
1268
|
setType(type: import("../model/queries/types").DataSourceType): void;
|
|
1202
1269
|
setSQL(sql: string): void;
|
|
1270
|
+
setRunBy(v: string[]): void;
|
|
1203
1271
|
fetchData: () => Promise<void>;
|
|
1204
1272
|
beforeDestroy(): void;
|
|
1205
1273
|
} & {
|
|
@@ -6,6 +6,7 @@ export declare const QueriesModel: import("mobx-state-tree").IModelType<{
|
|
|
6
6
|
type: import("mobx-state-tree").ISimpleType<import("./types").DataSourceType>;
|
|
7
7
|
key: import("mobx-state-tree").ISimpleType<string>;
|
|
8
8
|
sql: import("mobx-state-tree").ISimpleType<string>;
|
|
9
|
+
run_by: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>;
|
|
9
10
|
} & {
|
|
10
11
|
state: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<"idle" | "loading" | "error">, [undefined]>;
|
|
11
12
|
data: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IType<string[] | number[], string[] | number[], string[] | number[]>>, [undefined]>;
|
|
@@ -18,9 +19,24 @@ export declare const QueriesModel: import("mobx-state-tree").IModelType<{
|
|
|
18
19
|
type: import("./types").DataSourceType;
|
|
19
20
|
key: string;
|
|
20
21
|
sql: string;
|
|
22
|
+
run_by: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
23
|
+
};
|
|
24
|
+
readonly conditionOptions: {
|
|
25
|
+
label: string;
|
|
26
|
+
value: string;
|
|
27
|
+
group: string;
|
|
28
|
+
}[];
|
|
29
|
+
readonly unmetRunByConditions: string[];
|
|
30
|
+
} & {
|
|
31
|
+
readonly runByConditionsMet: boolean;
|
|
32
|
+
readonly conditionNames: {
|
|
33
|
+
context: string[];
|
|
34
|
+
filters: any[];
|
|
21
35
|
};
|
|
22
36
|
} & {
|
|
23
37
|
readonly formattedSQL: any;
|
|
38
|
+
} & {
|
|
39
|
+
readonly stateMessage: string;
|
|
24
40
|
} & {
|
|
25
41
|
controller: AbortController;
|
|
26
42
|
} & {
|
|
@@ -28,6 +44,7 @@ export declare const QueriesModel: import("mobx-state-tree").IModelType<{
|
|
|
28
44
|
setKey(key: string): void;
|
|
29
45
|
setType(type: import("./types").DataSourceType): void;
|
|
30
46
|
setSQL(sql: string): void;
|
|
47
|
+
setRunBy(v: string[]): void;
|
|
31
48
|
fetchData: () => Promise<void>;
|
|
32
49
|
beforeDestroy(): void;
|
|
33
50
|
} & {
|
|
@@ -41,6 +58,7 @@ export declare const QueriesModel: import("mobx-state-tree").IModelType<{
|
|
|
41
58
|
type: import("./types").DataSourceType;
|
|
42
59
|
key: string;
|
|
43
60
|
sql: string;
|
|
61
|
+
run_by: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
44
62
|
state: "idle" | "loading" | "error";
|
|
45
63
|
data: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").IType<string[] | number[], string[] | number[], string[] | number[]>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IType<string[] | number[], string[] | number[], string[] | number[]>>, [undefined]>>;
|
|
46
64
|
error: any;
|
|
@@ -52,9 +70,24 @@ export declare const QueriesModel: import("mobx-state-tree").IModelType<{
|
|
|
52
70
|
type: import("./types").DataSourceType;
|
|
53
71
|
key: string;
|
|
54
72
|
sql: string;
|
|
73
|
+
run_by: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
74
|
+
};
|
|
75
|
+
readonly conditionOptions: {
|
|
76
|
+
label: string;
|
|
77
|
+
value: string;
|
|
78
|
+
group: string;
|
|
79
|
+
}[];
|
|
80
|
+
readonly unmetRunByConditions: string[];
|
|
81
|
+
} & {
|
|
82
|
+
readonly runByConditionsMet: boolean;
|
|
83
|
+
readonly conditionNames: {
|
|
84
|
+
context: string[];
|
|
85
|
+
filters: any[];
|
|
55
86
|
};
|
|
56
87
|
} & {
|
|
57
88
|
readonly formattedSQL: any;
|
|
89
|
+
} & {
|
|
90
|
+
readonly stateMessage: string;
|
|
58
91
|
} & {
|
|
59
92
|
controller: AbortController;
|
|
60
93
|
} & {
|
|
@@ -62,6 +95,7 @@ export declare const QueriesModel: import("mobx-state-tree").IModelType<{
|
|
|
62
95
|
setKey(key: string): void;
|
|
63
96
|
setType(type: import("./types").DataSourceType): void;
|
|
64
97
|
setSQL(sql: string): void;
|
|
98
|
+
setRunBy(v: string[]): void;
|
|
65
99
|
fetchData: () => Promise<void>;
|
|
66
100
|
beforeDestroy(): void;
|
|
67
101
|
} & {
|
|
@@ -72,6 +106,7 @@ export declare const QueriesModel: import("mobx-state-tree").IModelType<{
|
|
|
72
106
|
type: import("mobx-state-tree").ISimpleType<import("./types").DataSourceType>;
|
|
73
107
|
key: import("mobx-state-tree").ISimpleType<string>;
|
|
74
108
|
sql: import("mobx-state-tree").ISimpleType<string>;
|
|
109
|
+
run_by: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>;
|
|
75
110
|
} & {
|
|
76
111
|
state: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<"idle" | "loading" | "error">, [undefined]>;
|
|
77
112
|
data: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IType<string[] | number[], string[] | number[], string[] | number[]>>, [undefined]>;
|
|
@@ -84,9 +119,24 @@ export declare const QueriesModel: import("mobx-state-tree").IModelType<{
|
|
|
84
119
|
type: import("./types").DataSourceType;
|
|
85
120
|
key: string;
|
|
86
121
|
sql: string;
|
|
122
|
+
run_by: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
123
|
+
};
|
|
124
|
+
readonly conditionOptions: {
|
|
125
|
+
label: string;
|
|
126
|
+
value: string;
|
|
127
|
+
group: string;
|
|
128
|
+
}[];
|
|
129
|
+
readonly unmetRunByConditions: string[];
|
|
130
|
+
} & {
|
|
131
|
+
readonly runByConditionsMet: boolean;
|
|
132
|
+
readonly conditionNames: {
|
|
133
|
+
context: string[];
|
|
134
|
+
filters: any[];
|
|
87
135
|
};
|
|
88
136
|
} & {
|
|
89
137
|
readonly formattedSQL: any;
|
|
138
|
+
} & {
|
|
139
|
+
readonly stateMessage: string;
|
|
90
140
|
} & {
|
|
91
141
|
controller: AbortController;
|
|
92
142
|
} & {
|
|
@@ -94,6 +144,7 @@ export declare const QueriesModel: import("mobx-state-tree").IModelType<{
|
|
|
94
144
|
setKey(key: string): void;
|
|
95
145
|
setType(type: import("./types").DataSourceType): void;
|
|
96
146
|
setSQL(sql: string): void;
|
|
147
|
+
setRunBy(v: string[]): void;
|
|
97
148
|
fetchData: () => Promise<void>;
|
|
98
149
|
beforeDestroy(): void;
|
|
99
150
|
} & {
|
|
@@ -110,6 +161,7 @@ export declare const QueriesModel: import("mobx-state-tree").IModelType<{
|
|
|
110
161
|
type: import("./types").DataSourceType;
|
|
111
162
|
key: string;
|
|
112
163
|
sql: string;
|
|
164
|
+
run_by: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
113
165
|
}[];
|
|
114
166
|
} & {
|
|
115
167
|
replace(current: Array<QueryModelInstance>): void;
|
|
@@ -123,6 +175,7 @@ export declare const QueriesModel: import("mobx-state-tree").IModelType<{
|
|
|
123
175
|
type: import("./types").DataSourceType;
|
|
124
176
|
key: string;
|
|
125
177
|
sql: string;
|
|
178
|
+
run_by: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
126
179
|
state: "idle" | "loading" | "error";
|
|
127
180
|
data: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").IType<string[] | number[], string[] | number[], string[] | number[]>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IType<string[] | number[], string[] | number[], string[] | number[]>>, [undefined]>>;
|
|
128
181
|
error: any;
|
|
@@ -134,9 +187,24 @@ export declare const QueriesModel: import("mobx-state-tree").IModelType<{
|
|
|
134
187
|
type: import("./types").DataSourceType;
|
|
135
188
|
key: string;
|
|
136
189
|
sql: string;
|
|
190
|
+
run_by: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
191
|
+
};
|
|
192
|
+
readonly conditionOptions: {
|
|
193
|
+
label: string;
|
|
194
|
+
value: string;
|
|
195
|
+
group: string;
|
|
196
|
+
}[];
|
|
197
|
+
readonly unmetRunByConditions: string[];
|
|
198
|
+
} & {
|
|
199
|
+
readonly runByConditionsMet: boolean;
|
|
200
|
+
readonly conditionNames: {
|
|
201
|
+
context: string[];
|
|
202
|
+
filters: any[];
|
|
137
203
|
};
|
|
138
204
|
} & {
|
|
139
205
|
readonly formattedSQL: any;
|
|
206
|
+
} & {
|
|
207
|
+
readonly stateMessage: string;
|
|
140
208
|
} & {
|
|
141
209
|
controller: AbortController;
|
|
142
210
|
} & {
|
|
@@ -144,6 +212,7 @@ export declare const QueriesModel: import("mobx-state-tree").IModelType<{
|
|
|
144
212
|
setKey(key: string): void;
|
|
145
213
|
setType(type: import("./types").DataSourceType): void;
|
|
146
214
|
setSQL(sql: string): void;
|
|
215
|
+
setRunBy(v: string[]): void;
|
|
147
216
|
fetchData: () => Promise<void>;
|
|
148
217
|
beforeDestroy(): void;
|
|
149
218
|
} & {
|
|
@@ -154,6 +223,7 @@ export declare const QueriesModel: import("mobx-state-tree").IModelType<{
|
|
|
154
223
|
type: import("mobx-state-tree").ISimpleType<import("./types").DataSourceType>;
|
|
155
224
|
key: import("mobx-state-tree").ISimpleType<string>;
|
|
156
225
|
sql: import("mobx-state-tree").ISimpleType<string>;
|
|
226
|
+
run_by: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>;
|
|
157
227
|
} & {
|
|
158
228
|
state: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<"idle" | "loading" | "error">, [undefined]>;
|
|
159
229
|
data: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IType<string[] | number[], string[] | number[], string[] | number[]>>, [undefined]>;
|
|
@@ -166,9 +236,24 @@ export declare const QueriesModel: import("mobx-state-tree").IModelType<{
|
|
|
166
236
|
type: import("./types").DataSourceType;
|
|
167
237
|
key: string;
|
|
168
238
|
sql: string;
|
|
239
|
+
run_by: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
240
|
+
};
|
|
241
|
+
readonly conditionOptions: {
|
|
242
|
+
label: string;
|
|
243
|
+
value: string;
|
|
244
|
+
group: string;
|
|
245
|
+
}[];
|
|
246
|
+
readonly unmetRunByConditions: string[];
|
|
247
|
+
} & {
|
|
248
|
+
readonly runByConditionsMet: boolean;
|
|
249
|
+
readonly conditionNames: {
|
|
250
|
+
context: string[];
|
|
251
|
+
filters: any[];
|
|
169
252
|
};
|
|
170
253
|
} & {
|
|
171
254
|
readonly formattedSQL: any;
|
|
255
|
+
} & {
|
|
256
|
+
readonly stateMessage: string;
|
|
172
257
|
} & {
|
|
173
258
|
controller: AbortController;
|
|
174
259
|
} & {
|
|
@@ -176,6 +261,7 @@ export declare const QueriesModel: import("mobx-state-tree").IModelType<{
|
|
|
176
261
|
setKey(key: string): void;
|
|
177
262
|
setType(type: import("./types").DataSourceType): void;
|
|
178
263
|
setSQL(sql: string): void;
|
|
264
|
+
setRunBy(v: string[]): void;
|
|
179
265
|
fetchData: () => Promise<void>;
|
|
180
266
|
beforeDestroy(): void;
|
|
181
267
|
} & {
|
|
@@ -6,6 +6,7 @@ export declare const MuteQueryModel: import("mobx-state-tree").IModelType<{
|
|
|
6
6
|
type: import("mobx-state-tree").ISimpleType<DataSourceType>;
|
|
7
7
|
key: import("mobx-state-tree").ISimpleType<string>;
|
|
8
8
|
sql: import("mobx-state-tree").ISimpleType<string>;
|
|
9
|
+
run_by: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>;
|
|
9
10
|
}, {
|
|
10
11
|
readonly valid: string;
|
|
11
12
|
readonly json: {
|
|
@@ -14,6 +15,19 @@ export declare const MuteQueryModel: import("mobx-state-tree").IModelType<{
|
|
|
14
15
|
type: DataSourceType;
|
|
15
16
|
key: string;
|
|
16
17
|
sql: string;
|
|
18
|
+
run_by: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
19
|
+
};
|
|
20
|
+
readonly conditionOptions: {
|
|
21
|
+
label: string;
|
|
22
|
+
value: string;
|
|
23
|
+
group: string;
|
|
24
|
+
}[];
|
|
25
|
+
readonly unmetRunByConditions: string[];
|
|
26
|
+
} & {
|
|
27
|
+
readonly runByConditionsMet: boolean;
|
|
28
|
+
readonly conditionNames: {
|
|
29
|
+
context: string[];
|
|
30
|
+
filters: any[];
|
|
17
31
|
};
|
|
18
32
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|
|
19
33
|
export declare type MuteQueryModelInstance = Instance<typeof MuteQueryModel>;
|
|
@@ -6,6 +6,7 @@ export declare const QueryModel: import("mobx-state-tree").IModelType<{
|
|
|
6
6
|
type: import("mobx-state-tree").ISimpleType<DataSourceType>;
|
|
7
7
|
key: import("mobx-state-tree").ISimpleType<string>;
|
|
8
8
|
sql: import("mobx-state-tree").ISimpleType<string>;
|
|
9
|
+
run_by: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>;
|
|
9
10
|
} & {
|
|
10
11
|
state: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<"idle" | "loading" | "error">, [undefined]>;
|
|
11
12
|
data: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IType<string[] | number[], string[] | number[], string[] | number[]>>, [undefined]>;
|
|
@@ -18,9 +19,24 @@ export declare const QueryModel: import("mobx-state-tree").IModelType<{
|
|
|
18
19
|
type: DataSourceType;
|
|
19
20
|
key: string;
|
|
20
21
|
sql: string;
|
|
22
|
+
run_by: import("mobx-state-tree").IMSTArray<import("mobx-state-tree").ISimpleType<string>> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>>;
|
|
23
|
+
};
|
|
24
|
+
readonly conditionOptions: {
|
|
25
|
+
label: string;
|
|
26
|
+
value: string;
|
|
27
|
+
group: string;
|
|
28
|
+
}[];
|
|
29
|
+
readonly unmetRunByConditions: string[];
|
|
30
|
+
} & {
|
|
31
|
+
readonly runByConditionsMet: boolean;
|
|
32
|
+
readonly conditionNames: {
|
|
33
|
+
context: string[];
|
|
34
|
+
filters: any[];
|
|
21
35
|
};
|
|
22
36
|
} & {
|
|
23
37
|
readonly formattedSQL: any;
|
|
38
|
+
} & {
|
|
39
|
+
readonly stateMessage: string;
|
|
24
40
|
} & {
|
|
25
41
|
controller: AbortController;
|
|
26
42
|
} & {
|
|
@@ -28,6 +44,7 @@ export declare const QueryModel: import("mobx-state-tree").IModelType<{
|
|
|
28
44
|
setKey(key: string): void;
|
|
29
45
|
setType(type: DataSourceType): void;
|
|
30
46
|
setSQL(sql: string): void;
|
|
47
|
+
setRunBy(v: string[]): void;
|
|
31
48
|
fetchData: () => Promise<void>;
|
|
32
49
|
beforeDestroy(): void;
|
|
33
50
|
} & {
|