Skip to content

Commit 9e66150

Browse files
committed
frontend: Add Activity to pluginLib
1 parent ce95d2a commit 9e66150

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

frontend/src/plugin/__snapshots__/pluginLib.snapshot

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
{
2+
"Activity": {
3+
"close": [Function],
4+
"launch": [Function],
5+
"reset": [Function],
6+
"update": [Function],
7+
},
28
"ApiProxy": {
39
"ApiError": [Function],
410
"apiFactory": [Function],

frontend/src/plugin/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ import * as ReactRedux from 'react-redux';
3535
import * as ReactRouter from 'react-router-dom';
3636
import * as Recharts from 'recharts';
3737
import semver from 'semver';
38+
import { Activity } from '../components/activity/Activity';
3839
import { runCommand } from '../components/App/runCommand';
3940
import { themeSlice } from '../components/App/themeSlice';
4041
import * as CommonComponents from '../components/common';
@@ -100,6 +101,7 @@ window.pluginLib = {
100101
Plugin,
101102
useTranslation,
102103
...registryToExport,
104+
Activity,
103105
};
104106

105107
// backwards compat.

0 commit comments

Comments
 (0)