Method
updatePluginMeta
(pluginId: number, params: {
name?: string,
short_description?: string,
long_description?: string,
is_public?: boolean,
is_published?: boolean,
})
Source from the content-addressed store, hash-verified
| 207 | } |
| 208 | |
| 209 | async updatePluginMeta(pluginId: number, params: { |
| 210 | name?: string, |
| 211 | short_description?: string, |
| 212 | long_description?: string, |
| 213 | is_public?: boolean, |
| 214 | is_published?: boolean, |
| 215 | }): Promise<ApiResult<Plugin>> { |
| 216 | return await this.patch(`/api/user/plugins/${pluginId}`, { |
| 217 | kind: "json", |
| 218 | body: params |
| 219 | }); |
| 220 | } |
| 221 | |
| 222 | async updateScriptPluginDevVersion(pluginId: number, params: { |
| 223 | source: string, |
Tested by
no test coverage detected