chore: rename webpanel -> webview

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

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

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

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

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

Loading…
Cancel
Save