@grafana/plugin-types 0.0.10 → 0.0.11
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.
|
@@ -1,8 +1,46 @@
|
|
|
1
1
|
// Generated by dts-bundle-generator v9.5.1
|
|
2
2
|
|
|
3
3
|
export type ComponentSize = "xs" | "sm" | "md" | "lg";
|
|
4
|
+
declare enum StringRules {
|
|
5
|
+
EQUALS = "=",
|
|
6
|
+
NOT_EQUALS = "<>",
|
|
7
|
+
STARTS_WITH = "STARTS WITH",
|
|
8
|
+
CONTAINS = "CONTAINS",
|
|
9
|
+
IS_NULL = "IS NULL",
|
|
10
|
+
IS_NOT_NULL = "IS NOT NULL"
|
|
11
|
+
}
|
|
12
|
+
declare enum NumberRules {
|
|
13
|
+
EQUALS = "=",
|
|
14
|
+
NOT_EQUALS = "<>",
|
|
15
|
+
GREATER = ">",
|
|
16
|
+
GREATER_OR_EQUAL = ">=",
|
|
17
|
+
LESS = "<",
|
|
18
|
+
LESS_OR_EQUAL = "<=",
|
|
19
|
+
IS_NULL = "IS NULL",
|
|
20
|
+
IS_NOT_NULL = "IS NOT NULL"
|
|
21
|
+
}
|
|
22
|
+
export declare enum EntityPropertyTypes {
|
|
23
|
+
STRING = "String",
|
|
24
|
+
DOUBLE = "Double"
|
|
25
|
+
}
|
|
4
26
|
export interface EntityAssertionsWidgetProps {
|
|
5
|
-
query:
|
|
27
|
+
query: {
|
|
28
|
+
additionalMatchers?: {
|
|
29
|
+
id: number;
|
|
30
|
+
name: string;
|
|
31
|
+
value: string | number;
|
|
32
|
+
op: StringRules | NumberRules;
|
|
33
|
+
type: EntityPropertyTypes;
|
|
34
|
+
uom?: string | null;
|
|
35
|
+
}[];
|
|
36
|
+
enabled: boolean;
|
|
37
|
+
matchAllNames?: boolean;
|
|
38
|
+
entityName?: string;
|
|
39
|
+
entityType?: string;
|
|
40
|
+
start: number;
|
|
41
|
+
end: number;
|
|
42
|
+
scope?: Scope;
|
|
43
|
+
};
|
|
6
44
|
size?: ComponentSize;
|
|
7
45
|
source?: string;
|
|
8
46
|
}
|