@grafana/plugin-types 0.0.3 → 0.0.5

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.
@@ -11,9 +11,9 @@ export interface UseEntityParams {
11
11
  entityType?: string;
12
12
  start: number;
13
13
  end: number;
14
- scope?: ScopeBase;
14
+ scope?: Scope;
15
15
  }
16
- export interface ScopeBase {
16
+ export interface Scope {
17
17
  env?: string;
18
18
  site?: string;
19
19
  namespace?: string;
@@ -0,0 +1,17 @@
1
+ // Generated by dts-bundle-generator v9.5.1
2
+
3
+ export type TempoMatcher = {
4
+ name: string;
5
+ value: string;
6
+ operator: "=" | "!=" | ">" | "<";
7
+ };
8
+ export interface OpenInExploreTracesButtonProps {
9
+ datasourceUid?: string;
10
+ matchers: TempoMatcher[];
11
+ from?: string;
12
+ to?: string;
13
+ returnToPreviousSource?: string;
14
+ renderButton?: (props: {
15
+ href: string;
16
+ }) => React.ReactElement<any>;
17
+ }
package/dist/index.d.ts CHANGED
@@ -1,2 +1,3 @@
1
1
  export * as grafanaAssertsApp from "./grafana-asserts-app/index";
2
+ export * as grafanaExploretracesApp from "./grafana-exploretraces-app/index";
2
3
  export * as grafanaPluginsplatformApp from "./grafana-pluginsplatform-app/index";
@@ -0,0 +1,4 @@
1
+ {
2
+ "name": "@grafana/plugin-types/grafana-exploretraces-app",
3
+ "types": "../dist/grafana-exploretraces-app/index.d.ts"
4
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grafana/plugin-types",
3
- "version": "0.0.3",
3
+ "version": "0.0.5",
4
4
  "description": "NPM package consisting of various Grafana plugins exposed types.",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Grafana Labs",
@@ -32,6 +32,9 @@
32
32
  "./grafana-asserts-app": {
33
33
  "types": "./dist/grafana-asserts-app/index.d.ts"
34
34
  },
35
+ "./grafana-exploretraces-app": {
36
+ "types": "./dist/grafana-exploretraces-app/index.d.ts"
37
+ },
35
38
  "./grafana-pluginsplatform-app": {
36
39
  "types": "./dist/grafana-pluginsplatform-app/index.d.ts"
37
40
  }
@@ -39,6 +42,7 @@
39
42
  "files": [
40
43
  "dist",
41
44
  "grafana-asserts-app",
45
+ "grafana-exploretraces-app",
42
46
  "grafana-pluginsplatform-app",
43
47
  "package.json",
44
48
  "LICENSE",