Function
createGroupPanel
(
groupId: string,
options: {
name: string;
type: number;
parentId?: string;
provider?: string;
pluginPanelName?: string;
meta?: Record<string, unknown>;
}
)
Source from the content-addressed store, hash-verified
| 299 | * 创建群组面板 |
| 300 | */ |
| 301 | export async function createGroupPanel( |
| 302 | groupId: string, |
| 303 | options: { |
| 304 | name: string; |
| 305 | type: number; |
| 306 | parentId?: string; |
| 307 | provider?: string; |
| 308 | pluginPanelName?: string; |
| 309 | meta?: Record<string, unknown>; |
| 310 | } |
| 311 | ) { |
| 312 | await request.post('/api/group/createGroupPanel', { |
| 313 | ...options, |
| 314 | groupId, |
| 315 | }); |
| 316 | } |
| 317 | |
| 318 | /** |
| 319 | * 创建群组面板 |
Tested by
no test coverage detected