@perses-dev/tempo-plugin 0.49.0-rc.0 → 0.49.0

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/cjs/index.js CHANGED
@@ -30,8 +30,7 @@ _export(exports, {
30
30
  });
31
31
  const _tempodatasource = require("./plugins/tempo-datasource");
32
32
  const _TempoTraceQuery = require("./plugins/tempo-trace-query/TempoTraceQuery");
33
- _export_star(require("./model/tempo-client"), exports);
34
- _export_star(require("./model/tempo-selectors"), exports);
33
+ _export_star(require("./model"), exports);
35
34
  _export_star(require("./components/TraceQLExtension"), exports);
36
35
  function _export_star(from, to) {
37
36
  Object.keys(from).forEach(function(k) {
@@ -17,7 +17,7 @@ Object.defineProperty(exports, "__esModule", {
17
17
  _export_star(require("./tempo-client"), exports);
18
18
  _export_star(require("./tempo-selectors"), exports);
19
19
  _export_star(require("./trace-query-model"), exports);
20
- _export_star(require("./types"), exports);
20
+ _export_star(require("./api-types"), exports);
21
21
  function _export_star(from, to) {
22
22
  Object.keys(from).forEach(function(k) {
23
23
  if (k !== "default" && !Object.prototype.hasOwnProperty.call(to, k)) {
package/dist/index.d.ts CHANGED
@@ -1,7 +1,6 @@
1
1
  import { TempoDatasource } from './plugins/tempo-datasource';
2
2
  import { TempoTraceQuery } from './plugins/tempo-trace-query/TempoTraceQuery';
3
3
  export { TempoTraceQuery, TempoDatasource };
4
- export * from './model/tempo-client';
5
- export * from './model/tempo-selectors';
4
+ export * from './model';
6
5
  export * from './components/TraceQLExtension';
7
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,6CAA6C,CAAC;AAG9E,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,CAAC;AAG5C,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC;AAGxC,cAAc,+BAA+B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,6CAA6C,CAAC;AAG9E,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,CAAC;AAG5C,cAAc,SAAS,CAAC;AAGxB,cAAc,+BAA+B,CAAC"}
package/dist/index.js CHANGED
@@ -15,8 +15,7 @@ import { TempoTraceQuery } from './plugins/tempo-trace-query/TempoTraceQuery';
15
15
  // Export plugins under the same name as the kinds they handle from the plugin.json
16
16
  export { TempoTraceQuery, TempoDatasource };
17
17
  // For consumers to leverage in DatasourceStoreProvider onCreate
18
- export * from './model/tempo-client';
19
- export * from './model/tempo-selectors';
18
+ export * from './model';
20
19
  // For consumers of TraceQLExtension
21
20
  export * from './components/TraceQLExtension';
22
21
 
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"sourcesContent":["// Copyright 2023 The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nimport { TempoDatasource } from './plugins/tempo-datasource';\nimport { TempoTraceQuery } from './plugins/tempo-trace-query/TempoTraceQuery';\n\n// Export plugins under the same name as the kinds they handle from the plugin.json\nexport { TempoTraceQuery, TempoDatasource };\n\n// For consumers to leverage in DatasourceStoreProvider onCreate\nexport * from './model/tempo-client';\nexport * from './model/tempo-selectors';\n\n// For consumers of TraceQLExtension\nexport * from './components/TraceQLExtension';\n"],"names":["TempoDatasource","TempoTraceQuery"],"mappings":"AAAA,oCAAoC;AACpC,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAEjC,SAASA,eAAe,QAAQ,6BAA6B;AAC7D,SAASC,eAAe,QAAQ,8CAA8C;AAE9E,mFAAmF;AACnF,SAASA,eAAe,EAAED,eAAe,GAAG;AAE5C,gEAAgE;AAChE,cAAc,uBAAuB;AACrC,cAAc,0BAA0B;AAExC,oCAAoC;AACpC,cAAc,gCAAgC"}
1
+ {"version":3,"sources":["../src/index.ts"],"sourcesContent":["// Copyright 2023 The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nimport { TempoDatasource } from './plugins/tempo-datasource';\nimport { TempoTraceQuery } from './plugins/tempo-trace-query/TempoTraceQuery';\n\n// Export plugins under the same name as the kinds they handle from the plugin.json\nexport { TempoTraceQuery, TempoDatasource };\n\n// For consumers to leverage in DatasourceStoreProvider onCreate\nexport * from './model';\n\n// For consumers of TraceQLExtension\nexport * from './components/TraceQLExtension';\n"],"names":["TempoDatasource","TempoTraceQuery"],"mappings":"AAAA,oCAAoC;AACpC,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAEjC,SAASA,eAAe,QAAQ,6BAA6B;AAC7D,SAASC,eAAe,QAAQ,8CAA8C;AAE9E,mFAAmF;AACnF,SAASA,eAAe,EAAED,eAAe,GAAG;AAE5C,gEAAgE;AAChE,cAAc,UAAU;AAExB,oCAAoC;AACpC,cAAc,gCAAgC"}
@@ -0,0 +1,5 @@
1
+ export * from './tempo-client';
2
+ export * from './tempo-selectors';
3
+ export * from './trace-query-model';
4
+ export * from './api-types';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/model/index.ts"],"names":[],"mappings":"AAaA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,aAAa,CAAC"}
@@ -13,6 +13,6 @@
13
13
  export * from './tempo-client';
14
14
  export * from './tempo-selectors';
15
15
  export * from './trace-query-model';
16
- export * from './types';
16
+ export * from './api-types';
17
17
 
18
18
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/model/index.js"],"sourcesContent":["// Copyright 2023 The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nexport * from './tempo-client'\nexport * from './tempo-selectors'\nexport * from './trace-query-model'\nexport * from './types'"],"names":[],"mappings":"AAAA,oCAAoC;AACpC,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAEjC,cAAc,iBAAgB;AAC9B,cAAc,oBAAmB;AACjC,cAAc,sBAAqB;AACnC,cAAc,UAAS"}
1
+ {"version":3,"sources":["../../src/model/index.ts"],"sourcesContent":["// Copyright 2023 The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nexport * from './tempo-client';\nexport * from './tempo-selectors';\nexport * from './trace-query-model';\nexport * from './api-types';\n"],"names":[],"mappings":"AAAA,oCAAoC;AACpC,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;AAEjC,cAAc,iBAAiB;AAC/B,cAAc,oBAAoB;AAClC,cAAc,sBAAsB;AACpC,cAAc,cAAc"}
@@ -3,7 +3,7 @@ import { TempoTraceQueryEditor } from './TempoTraceQueryEditor';
3
3
  * The core Tempo TraceQuery plugin for Perses.
4
4
  */
5
5
  export declare const TempoTraceQuery: {
6
- getTraceData: (spec: import("../../model/trace-query-model").TempoTraceQuerySpec, ctx: import("@perses-dev/plugin-system").TraceQueryContext) => Promise<import("@perses-dev/core").TraceData>;
6
+ getTraceData: (spec: import("../..").TempoTraceQuerySpec, ctx: import("@perses-dev/plugin-system").TraceQueryContext) => Promise<import("@perses-dev/core").TraceData>;
7
7
  OptionsEditorComponent: typeof TempoTraceQueryEditor;
8
8
  createInitialOptions: () => {
9
9
  query: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@perses-dev/tempo-plugin",
3
- "version": "0.49.0-rc.0",
3
+ "version": "0.49.0",
4
4
  "description": "A Perses plugin to interact with Tempo traces",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://github.com/perses/perses/blob/main/README.md",
@@ -32,9 +32,9 @@
32
32
  "@codemirror/autocomplete": "^6.17.0",
33
33
  "@lezer/highlight": "^1.0.0",
34
34
  "@grafana/lezer-traceql": "^0.0.18",
35
- "@perses-dev/components": "0.49.0-rc.0",
36
- "@perses-dev/core": "0.49.0-rc.0",
37
- "@perses-dev/plugin-system": "0.49.0-rc.0",
35
+ "@perses-dev/components": "0.49.0",
36
+ "@perses-dev/core": "0.49.0",
37
+ "@perses-dev/plugin-system": "0.49.0",
38
38
  "@uiw/react-codemirror": "^4.19.1"
39
39
  },
40
40
  "peerDependencies": {