add quser app

This commit is contained in:
2025-05-19 17:28:29 +08:00
parent 7075e9b097
commit ebcdf22f1e
9 changed files with 140 additions and 2 deletions

View File

@@ -0,0 +1,19 @@
import { shopDefine } from '../defines/query-shop-define.ts';
import { BaseQuery, DataOpts, Query } from '@kevisual/query/query';
export { shopDefine };
export class QueryApp extends BaseQuery {
appDefine = shopDefine;
constructor(opts?: { query: Query }) {
super(opts!);
this.appDefine.query = this.query;
}
get chain() {
return this.appDefine.queryChain;
}
getInstall(data: any, opts?: DataOpts) {
return this.appDefine.queryChain('install').post(data, opts);
}
}