chore: rename webpanel -> webview

pull/13/head
moonrailgun 5 years ago
parent cd125e9c9c
commit 66cac2e724

@ -1,5 +1,5 @@
{ {
"name": "@plugins/com.msgbyte.webpanel", "name": "@plugins/com.msgbyte.webview",
"main": "src/index.tsx", "main": "src/index.tsx",
"version": "0.0.0", "version": "0.0.0",
"private": true, "private": true,

@ -1,7 +1,7 @@
import React from 'react'; import React from 'react';
import { regGroupPanel, useCurrentGroupPanelInfo } from '@capital/common'; import { regGroupPanel, useCurrentGroupPanelInfo } from '@capital/common';
const PLUGIN_NAME = 'com.msgbyte.webpanel'; const PLUGIN_NAME = 'com.msgbyte.webview';
const GroupWebPanelRender = () => { const GroupWebPanelRender = () => {
const groupPanelInfo = useCurrentGroupPanelInfo(); const groupPanelInfo = useCurrentGroupPanelInfo();

@ -6,7 +6,7 @@ import { buildRegList, FastFormFieldMeta } from 'tailchat-shared';
export interface PluginGroupPanel { export interface PluginGroupPanel {
/** /**
* *
* @example com.msgbyte.webpanel/grouppanel * @example com.msgbyte.webview/grouppanel
*/ */
name: string; name: string;

@ -10,8 +10,8 @@ export function initPlugins(): Promise<void> {
return initMiniStar({ return initMiniStar({
plugins: [ plugins: [
{ {
name: 'com.msgbyte.webpanel', name: 'com.msgbyte.webview',
url: '/plugins/com.msgbyte.webpanel/index.js', url: '/plugins/com.msgbyte.webview/index.js',
}, },
], ],
}); });

Loading…
Cancel
Save