@motiadev/plugin-observability 0.14.0-beta.165-277118 → 0.14.0-beta.165-912190
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/index.d.ts.map +1 -1
- package/dist/plugin.js +1 -1
- package/dist/plugin.js.map +1 -1
- package/dist/styles.css.map +1 -0
- package/dist/styles.js +0 -0
- package/package.json +4 -4
- package/dist/index.css.map +0 -1
- /package/dist/{index.css → styles.css} +0 -0
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/components/observability-page.tsx","../src/components/observability-tab-label.tsx","../src/types/observability.ts"],"sourcesContent":[],"mappings":";;;;cAMa,mBAAiB,MAAA,CAAA,0BAAA,kBAAA,CAAA,GAAA,CAAA;;;cCHjB,uBAAqB,MAAA,CAAA,0BAAA,kBAAA,CAAA,GAAA,CAAA;;;UCHjB,UAAA;;;;EFMJ,MAAA,EAAA,SAAA,GAiBX,
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/components/observability-page.tsx","../src/components/observability-tab-label.tsx","../src/types/observability.ts"],"sourcesContent":[],"mappings":";;;;cAMa,mBAAiB,MAAA,CAAA,0BAAA,kBAAA,CAAA,GAAA,CAAA;;;cCHjB,uBAAqB,MAAA,CAAA,0BAAA,kBAAA,CAAA,GAAA,CAAA;;;UCHjB,UAAA;;;;EFMJ,MAAA,EAAA,SAAA,GAiBX,WAAA,GAjB4B,QAAA;;;;ECHjB,QAAA,EAAA;;;;ECHI,CAAA;AAejB;AAaY,UAbK,KAAA,CAaK;EAMV,EAAA,EAAA,MAAA;EAAa,IAAA,EAAA,MAAA;EAAa,aAAA,CAAA,EAAA,MAAA;EAAY,aAAA,CAAA,EAAA,MAAA;EAAc,MAAA,EAAA,SAAA,GAAA,WAAA,GAAA,QAAA;EAAQ,SAAA,EAAA,MAAA;EAG5D,OAAA,CAAA,EAAA,MAAA;EAEK,UAAA,EAAA;IASA,IAAA,EAAA,KAAS,GAAA,OAAA,GAAA,MAAA;IAQT,QAAA,EAAW,MAAA;EAUX,CAAA;EAQA,MAAA,EAlDP,UAkDO,EAAA;UAjDP;;KAGE,UAAA;;;;;KAMA,UAAA,GAAa,aAAa,YAAY,cAAc;KAGpD,eAAA;UAEK,UAAA;;;;;;;;UASA,SAAA;;;;;;;UAQA,WAAA;;;aAGJ;;;;;;;;;;UAOI,QAAA;;;;;;;UAQA,kBAAA"}
|
package/dist/plugin.js
CHANGED
|
@@ -25,7 +25,7 @@ function plugin(motia) {
|
|
|
25
25
|
api(motia);
|
|
26
26
|
return { workbench: [{
|
|
27
27
|
packageName: "@motiadev/plugin-observability",
|
|
28
|
-
cssImports: ["@motiadev/plugin-observability/dist/
|
|
28
|
+
cssImports: ["@motiadev/plugin-observability/dist/styles.css"],
|
|
29
29
|
label: "Tracing",
|
|
30
30
|
position: "bottom",
|
|
31
31
|
componentName: "ObservabilityPage",
|
package/dist/plugin.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.js","names":["ApiResponse","MotiaPluginContext","api","tracerFactory","registerApi","method","path","Promise","clear","status","body","message","error","Error","MotiaPlugin","MotiaPluginContext","api","plugin","motia","workbench","packageName","cssImports","label","position","componentName","labelIcon"],"sources":["../src/api.ts","../src/plugin.ts"],"sourcesContent":["import type { ApiResponse, MotiaPluginContext } from '@motiadev/core'\n\nexport const api = ({ tracerFactory, registerApi }: MotiaPluginContext): void => {\n // POST /__motia/trace/clear - Clear all traces\n registerApi(\n {\n method: 'POST',\n path: '/__motia/trace/clear',\n },\n async (): Promise<ApiResponse> => {\n try {\n await tracerFactory.clear()\n return {\n status: 200,\n body: { message: 'Traces cleared' },\n }\n } catch (error: unknown) {\n return {\n status: 500,\n body: { error: error instanceof Error ? error.message : 'Unknown error' },\n }\n }\n },\n )\n}\n","import type { MotiaPlugin, MotiaPluginContext } from '@motiadev/core'\nimport { api } from './api'\n\nexport default function plugin(motia: MotiaPluginContext): MotiaPlugin {\n api(motia)\n\n return {\n workbench: [\n {\n packageName: '@motiadev/plugin-observability',\n cssImports: ['@motiadev/plugin-observability/dist/
|
|
1
|
+
{"version":3,"file":"plugin.js","names":["ApiResponse","MotiaPluginContext","api","tracerFactory","registerApi","method","path","Promise","clear","status","body","message","error","Error","MotiaPlugin","MotiaPluginContext","api","plugin","motia","workbench","packageName","cssImports","label","position","componentName","labelIcon"],"sources":["../src/api.ts","../src/plugin.ts"],"sourcesContent":["import type { ApiResponse, MotiaPluginContext } from '@motiadev/core'\n\nexport const api = ({ tracerFactory, registerApi }: MotiaPluginContext): void => {\n // POST /__motia/trace/clear - Clear all traces\n registerApi(\n {\n method: 'POST',\n path: '/__motia/trace/clear',\n },\n async (): Promise<ApiResponse> => {\n try {\n await tracerFactory.clear()\n return {\n status: 200,\n body: { message: 'Traces cleared' },\n }\n } catch (error: unknown) {\n return {\n status: 500,\n body: { error: error instanceof Error ? error.message : 'Unknown error' },\n }\n }\n },\n )\n}\n","import type { MotiaPlugin, MotiaPluginContext } from '@motiadev/core'\nimport { api } from './api'\n\nexport default function plugin(motia: MotiaPluginContext): MotiaPlugin {\n api(motia)\n\n return {\n workbench: [\n {\n packageName: '@motiadev/plugin-observability',\n cssImports: ['@motiadev/plugin-observability/dist/styles.css'],\n label: 'Tracing',\n position: 'bottom',\n componentName: 'ObservabilityPage',\n labelIcon: 'gantt-chart',\n },\n ],\n }\n}\n"],"mappings":";AAEA,MAAaE,OAAO,EAAEC,eAAeC,kBAA4C;AAE/EA,aACE;EACEC,QAAQ;EACRC,MAAM;EACP,EACD,YAAkC;AAChC,MAAI;AACF,SAAMH,cAAcK,OAAO;AAC3B,UAAO;IACLC,QAAQ;IACRC,MAAM,EAAEC,SAAS,kBAAiB;IACnC;WACMC,OAAgB;AACvB,UAAO;IACLH,QAAQ;IACRC,MAAM,EAAEE,OAAOA,iBAAiBC,QAAQD,MAAMD,UAAU,iBAAgB;IACzE;;GAGN;;;;;ACpBH,SAAwBM,OAAOC,OAAwC;AACrEF,KAAIE,MAAM;AAEV,QAAO,EACLC,WAAW,CACT;EACEC,aAAa;EACbC,YAAY,CAAC,iDAAiD;EAC9DC,OAAO;EACPC,UAAU;EACVC,eAAe;EACfC,WAAW;EACZ,CAAA,EAEJ"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.css","names":[],"sources":["../src/styles.css"],"sourcesContent":["export default undefined;"],"mappings":"AAAA"}
|
package/dist/styles.js
ADDED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@motiadev/plugin-observability",
|
|
3
|
-
"version": "0.14.0-beta.165-
|
|
3
|
+
"version": "0.14.0-beta.165-912190",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
"zustand": "^5.0.8"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
|
-
"@motiadev/
|
|
26
|
-
"@motiadev/
|
|
27
|
-
"@motiadev/
|
|
25
|
+
"@motiadev/stream-client-react": "0.14.0-beta.165-912190",
|
|
26
|
+
"@motiadev/ui": "0.14.0-beta.165-912190",
|
|
27
|
+
"@motiadev/core": "0.14.0-beta.165-912190"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@bosh-code/tsdown-plugin-inject-css": "^2.0.0",
|
package/dist/index.css.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.css","names":[],"sources":["../src/styles.css"],"sourcesContent":["export default undefined;"],"mappings":"AAAA"}
|
|
File without changes
|