更新版本至 0.0.45,升级依赖项并新增发布应用功能
This commit is contained in:
@@ -29,4 +29,21 @@ export class QueryApp extends BaseQuery {
|
||||
data: data,
|
||||
}, opts);
|
||||
}
|
||||
/**
|
||||
* 发布应用
|
||||
* @param data
|
||||
* @param opts
|
||||
* @returns
|
||||
*/
|
||||
publichApp(data: {
|
||||
id?: string;
|
||||
username?: string,
|
||||
detect?: boolean,
|
||||
}, opts?: DataOpts) {
|
||||
return this.query.post({
|
||||
path: 'app',
|
||||
key: 'publish',
|
||||
data: { detect: true, ...data },
|
||||
}, opts);
|
||||
}
|
||||
}
|
||||
|
||||
2
query/query-remote/index.ts
Normal file
2
query/query-remote/index.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
import { RemoteApp } from '@Kevisual/remote-app'
|
||||
|
||||
Reference in New Issue
Block a user