cabloy 5.1.249 → 5.1.250
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.cabloy-version +1 -1
- package/.github/workflows/create-cabloy.yml +50 -3
- package/CHANGELOG.md +21 -0
- package/package.json +1 -1
- package/repo-agent-governance/managed-assets.json +12 -12
- package/repo-agent-governance/skills/cabloy-spec-execution/references/status-and-evidence.md +1 -1
- package/repo-agent-governance/skills/cabloy-spec-generation/references/canonical-spec-input.md +1 -1
- package/repo-agent-governance/skills/cabloy-spec-generation/references/repo-specs-document-set.md +2 -2
- package/repo-agent-governance/skills/cabloy-spec-generation/references/traceability-and-status-rules.md +1 -1
- package/repo-agent-governance/tools/spec-charts/generate-implementation-charts.mjs +73 -22
- package/repo-agent-governance/tools/spec-charts/generate-implementation-charts.test.mjs +98 -7
- package/repo-docs/ai/playbook-spec-execution.md +1 -1
- package/repo-docs/backend/crud-workflow.md +92 -1
- package/repo-docs/backend/dto-guide.md +16 -1
- package/repo-docs/backend/dto-infer-generation.md +23 -5
- package/repo-docs/backend/orm-aggregate-group-guide.md +32 -0
- package/repo-docs/backend/validation-guide.md +38 -2
- package/repo-e2e/specs/cabloy-basic.spec.ts +9 -2
- package/vona/packages-cli/cli/package.json +1 -1
- package/vona/packages-cli/cli-set-api/cli/templates/tools/crudAnalysis/aggregate/src/dto/{{resourceName}}AggregateRes.tsx_ +11 -0
- package/vona/packages-cli/cli-set-api/cli/templates/tools/crudAnalysis/common/src/lib/{{resourceName}}Analysis.ts_ +14 -0
- package/vona/packages-cli/cli-set-api/cli/templates/tools/crudAnalysis/common/test/{{resourceName}}Analysis.test.ts_ +81 -0
- package/vona/packages-cli/cli-set-api/cli/templates/tools/crudAnalysis/group/src/dto/{{resourceName}}GroupResItem.tsx_ +11 -0
- package/vona/packages-cli/cli-set-api/cli/templates/tools/crudBasic/boilerplate/src/controller/{{resourceName}}.ts_ +18 -1
- package/vona/packages-cli/cli-set-api/cli/templates/tools/crudBasic/boilerplate/src/dto/{{resourceName}}SelectReq.tsx_ +2 -0
- package/vona/packages-cli/cli-set-api/cli/templates/tools/crudBasic/boilerplate/src/service/{{resourceName}}.ts_ +14 -1
- package/vona/packages-cli/cli-set-api/cli/templates/tools/crudBasic/boilerplate/test/{{resourceName}}.test.ts_ +4 -0
- package/vona/packages-cli/cli-set-api/cli/templates/tools/crudBasic/snippets/3-en-us.ts +2 -0
- package/vona/packages-cli/cli-set-api/cli/templates/tools/crudBasic/snippets/4-zh-cn.ts +2 -0
- package/vona/packages-cli/cli-set-api/cli/templates/tools/crudStart/boilerplate/src/controller/{{resourceName}}.ts_ +18 -1
- package/vona/packages-cli/cli-set-api/cli/templates/tools/crudStart/boilerplate/src/dto/{{resourceName}}SelectReq.tsx_ +2 -0
- package/vona/packages-cli/cli-set-api/cli/templates/tools/crudStart/boilerplate/src/service/{{resourceName}}.ts_ +14 -1
- package/vona/packages-cli/cli-set-api/cli/templates/tools/crudStart/boilerplate/test/{{resourceName}}.test.ts_ +1 -1
- package/vona/packages-cli/cli-set-api/cli/templates/tools/crudStart/snippets/3-en-us.ts +2 -0
- package/vona/packages-cli/cli-set-api/cli/templates/tools/crudStart/snippets/4-zh-cn.ts +2 -0
- package/vona/packages-cli/cli-set-api/package.json +1 -1
- package/vona/packages-cli/cli-set-api/src/lib/bean/cli.tools.crudBasic.ts +2 -0
- package/vona/packages-cli/cli-set-api/src/lib/bean/cli.tools.crudStart.ts +2 -0
- package/vona/packages-cli/cli-set-api/src/lib/bean/cli.tools.masterDetail.ts +9 -1
- package/vona/packages-cli/cli-set-api/src/lib/crudAnalysis.ts +11 -0
- package/vona/packages-cli/cli-set-api/test/crudAnalysis.test.ts +385 -0
- package/vona/packages-utils/babel-plugin-vona-bean-module/package.json +1 -1
- package/vona/packages-vona/vona/package.json +1 -1
- package/vona/packages-vona/vona-core/package.json +1 -1
- package/vona/packages-vona/vona-mock/package.json +1 -1
- package/vona/pnpm-lock.yaml +7 -7
- package/vona/src/suite/a-training/modules/training-student/src/.metadata/index.ts +18 -0
- package/vona/src/suite/a-training/modules/training-student/src/config/locale/en-us.ts +2 -0
- package/vona/src/suite/a-training/modules/training-student/src/config/locale/zh-cn.ts +2 -0
- package/vona/src/suite/a-training/modules/training-student/src/controller/student.ts +28 -1
- package/vona/src/suite/a-training/modules/training-student/src/dto/studentAggregateRes.tsx +11 -0
- package/vona/src/suite/a-training/modules/training-student/src/dto/studentGroupResItem.tsx +11 -0
- package/vona/src/suite/a-training/modules/training-student/src/dto/studentSelectReq.tsx +2 -0
- package/vona/src/suite/a-training/modules/training-student/src/lib/studentAnalysis.ts +12 -0
- package/vona/src/suite/a-training/modules/training-student/src/service/student.ts +22 -1
- package/vona/src/suite/a-training/modules/training-student/test/student.test.ts +4 -0
- package/vona/src/suite/a-training/modules/training-student/test/studentAnalysis.test.ts +422 -0
- package/vona/src/suite-vendor/a-cabloy/modules/a-rbac/package.json +1 -1
- package/vona/src/suite-vendor/a-cabloy/package.json +2 -2
- package/vona/src/suite-vendor/a-captcha/modules/a-captcha/package.json +1 -1
- package/vona/src/suite-vendor/a-captcha/package.json +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-core/package.json +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-hmr/package.json +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-locale/package.json +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-openapi/package.json +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-openapiutils/package.json +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-openapiutils/src/lib/utils.ts +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-orm/package.json +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-orm/src/.metadata/index.ts +26 -26
- package/vona/src/suite-vendor/a-vona/modules/a-orm/src/lib/aggregateResult.ts +53 -0
- package/vona/src/suite-vendor/a-vona/modules/a-orm/src/lib/analysis/controls.ts +163 -0
- package/vona/src/suite-vendor/a-vona/modules/a-orm/src/lib/analysis/execute.ts +49 -0
- package/vona/src/suite-vendor/a-vona/modules/a-orm/src/lib/analysis/index.ts +3 -0
- package/vona/src/suite-vendor/a-vona/modules/a-orm/src/lib/analysis/policy.ts +140 -0
- package/vona/src/suite-vendor/a-vona/modules/a-orm/src/lib/bean.model/bean.model_cache.ts +4 -2
- package/vona/src/suite-vendor/a-vona/modules/a-orm/src/lib/bean.model/bean.model_crud_inner.ts +8 -3
- package/vona/src/suite-vendor/a-vona/modules/a-orm/src/lib/dto/dto.ts +3 -0
- package/vona/src/suite-vendor/a-vona/modules/a-orm/src/lib/dto/dtoAggregate.ts +4 -1
- package/vona/src/suite-vendor/a-vona/modules/a-orm/src/lib/dto/dtoAnalysis.ts +34 -0
- package/vona/src/suite-vendor/a-vona/modules/a-orm/src/lib/index.ts +1 -0
- package/vona/src/suite-vendor/a-vona/modules/a-orm/src/types/analysis.ts +137 -0
- package/vona/src/suite-vendor/a-vona/modules/a-orm/src/types/index.ts +1 -0
- package/vona/src/suite-vendor/a-vona/modules/a-orm/src/types/relationsAggr.ts +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-orm/test/aggregateResult.test.ts +81 -0
- package/vona/src/suite-vendor/a-vona/modules/a-orm/test/analysis.test.ts +208 -0
- package/vona/src/suite-vendor/a-vona/modules/a-orm/test/analysis.types.test.ts +112 -0
- package/vona/src/suite-vendor/a-vona/modules/a-permission/package.json +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-queue/package.json +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-ratelimit/package.json +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-user/package.json +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-web/package.json +1 -1
- package/vona/src/suite-vendor/a-vona/modules/a-web/src/.metadata/index.ts +40 -40
- package/vona/src/suite-vendor/a-vona/modules/a-web/src/bean/pipe.filter.ts +44 -3
- package/vona/src/suite-vendor/a-vona/modules/a-web/src/lib/analysisFilter.ts +69 -0
- package/vona/src/suite-vendor/a-vona/modules/a-web/src/lib/decorator/arguments.ts +6 -4
- package/vona/src/suite-vendor/a-vona/modules/a-web/src/lib/index.ts +1 -0
- package/vona/src/suite-vendor/a-vona/modules/a-web/src/types/dto.ts +2 -1
- package/vona/src/suite-vendor/a-vona/modules/a-web/src/types/filter.ts +7 -2
- package/vona/src/suite-vendor/a-vona/package.json +1 -1
- package/zova/packages-cli/cli/package.json +2 -2
- package/zova/packages-cli/cli-set-front/package.json +2 -2
- package/zova/packages-utils/zova-jsx/package.json +2 -2
- package/zova/packages-utils/zova-vite/package.json +1 -1
- package/zova/packages-zova/zova/package.json +3 -3
- package/zova/packages-zova/zova-core/package.json +1 -1
- package/zova/pnpm-lock.yaml +11 -11
- package/zova/src/suite/a-training/modules/training-student/src/api/openapi/schemas.ts +16 -2
- package/zova/src/suite/a-training/modules/training-student/src/api/openapi/types.ts +201 -7
- package/zova/src/suite/a-training/modules/training-student/src/api/trainingStudent.ts +42 -0
- package/zova/src/suite/a-training/modules/training-student/src/apiSchema/trainingStudent.ts +10 -0
- package/zova/src/suite-vendor/a-zova/modules/a-ssr/package.json +1 -1
- package/zova/src/suite-vendor/a-zova/modules/a-ssrserver/package.json +1 -1
- package/zova/src/suite-vendor/a-zova/modules/a-table/package.json +1 -1
- package/zova/src/suite-vendor/a-zova/modules/a-zova/package.json +2 -2
- package/zova/src/suite-vendor/a-zova/package.json +5 -5
|
@@ -1298,6 +1298,40 @@ export interface paths {
|
|
|
1298
1298
|
patch?: never;
|
|
1299
1299
|
trace?: never;
|
|
1300
1300
|
};
|
|
1301
|
+
'/api/training/student/group': {
|
|
1302
|
+
parameters: {
|
|
1303
|
+
query?: never;
|
|
1304
|
+
header?: never;
|
|
1305
|
+
path?: never;
|
|
1306
|
+
cookie?: never;
|
|
1307
|
+
};
|
|
1308
|
+
/** Group Students */
|
|
1309
|
+
get: operations['TrainingStudent_group'];
|
|
1310
|
+
put?: never;
|
|
1311
|
+
post?: never;
|
|
1312
|
+
delete?: never;
|
|
1313
|
+
options?: never;
|
|
1314
|
+
head?: never;
|
|
1315
|
+
patch?: never;
|
|
1316
|
+
trace?: never;
|
|
1317
|
+
};
|
|
1318
|
+
'/api/training/student/aggregate': {
|
|
1319
|
+
parameters: {
|
|
1320
|
+
query?: never;
|
|
1321
|
+
header?: never;
|
|
1322
|
+
path?: never;
|
|
1323
|
+
cookie?: never;
|
|
1324
|
+
};
|
|
1325
|
+
/** Aggregate Students */
|
|
1326
|
+
get: operations['TrainingStudent_aggregate'];
|
|
1327
|
+
put?: never;
|
|
1328
|
+
post?: never;
|
|
1329
|
+
delete?: never;
|
|
1330
|
+
options?: never;
|
|
1331
|
+
head?: never;
|
|
1332
|
+
patch?: never;
|
|
1333
|
+
trace?: never;
|
|
1334
|
+
};
|
|
1301
1335
|
'/api/training/student/{id}': {
|
|
1302
1336
|
parameters: {
|
|
1303
1337
|
query?: never;
|
|
@@ -2596,6 +2630,7 @@ export interface components {
|
|
|
2596
2630
|
| undefined;
|
|
2597
2631
|
'home-user.dto.accountCurrent': {
|
|
2598
2632
|
name: string;
|
|
2633
|
+
displayName?: string | undefined;
|
|
2599
2634
|
avatar?: string | undefined;
|
|
2600
2635
|
locale?: unknown;
|
|
2601
2636
|
tz?: string | undefined;
|
|
@@ -2605,7 +2640,7 @@ export interface components {
|
|
|
2605
2640
|
};
|
|
2606
2641
|
'home-user.dto.accountProfileUpdate': {
|
|
2607
2642
|
/** @description Display name */
|
|
2608
|
-
|
|
2643
|
+
displayName?: string | undefined;
|
|
2609
2644
|
/**
|
|
2610
2645
|
* Avatar
|
|
2611
2646
|
* @description Absolute HTTPS avatar URL or API delivery URL
|
|
@@ -2673,6 +2708,7 @@ export interface components {
|
|
|
2673
2708
|
'home-user.dto.passportUser': {
|
|
2674
2709
|
id: number | string;
|
|
2675
2710
|
name: string;
|
|
2711
|
+
displayName?: string | undefined;
|
|
2676
2712
|
avatar?: string | undefined;
|
|
2677
2713
|
email?: string | undefined;
|
|
2678
2714
|
mobile?: string | undefined;
|
|
@@ -2783,6 +2819,7 @@ export interface components {
|
|
|
2783
2819
|
instanceName: string;
|
|
2784
2820
|
userId: string;
|
|
2785
2821
|
userName: string;
|
|
2822
|
+
displayName?: string | undefined;
|
|
2786
2823
|
};
|
|
2787
2824
|
'commerce-promotion.dto.couponMineItem': {
|
|
2788
2825
|
id: number | string;
|
|
@@ -3215,7 +3252,9 @@ export interface components {
|
|
|
3215
3252
|
shippedAt: Date;
|
|
3216
3253
|
};
|
|
3217
3254
|
'commerce-trade.dto.orderShip': {
|
|
3255
|
+
/** @description Carrier */
|
|
3218
3256
|
carrier: string;
|
|
3257
|
+
/** @description Tracking number */
|
|
3219
3258
|
trackingNumber: string;
|
|
3220
3259
|
};
|
|
3221
3260
|
'commerce-trade.dto.orderSelectRes': {
|
|
@@ -4479,6 +4518,16 @@ export interface components {
|
|
|
4479
4518
|
signed?: boolean;
|
|
4480
4519
|
}
|
|
4481
4520
|
| undefined;
|
|
4521
|
+
'training-student.dto.studentGroupResItem': {
|
|
4522
|
+
/** @description Training Stage */
|
|
4523
|
+
level?: 1 | 2 | 3 | undefined;
|
|
4524
|
+
count_all?: string | undefined;
|
|
4525
|
+
count_imageId?: string | undefined;
|
|
4526
|
+
};
|
|
4527
|
+
'training-student.dto.studentAggregateRes': {
|
|
4528
|
+
count_all?: string | undefined;
|
|
4529
|
+
count_imageId?: string | undefined;
|
|
4530
|
+
};
|
|
4482
4531
|
/** @description View Student */
|
|
4483
4532
|
'training-student.dto.studentView_2d063d28bc7243bed02ebd8bddf1212a93c6305b_4826fc678e47603ec467782ddb0d02463792cd60':
|
|
4484
4533
|
| {
|
|
@@ -5066,7 +5115,24 @@ export interface components {
|
|
|
5066
5115
|
count_title?: string | undefined;
|
|
5067
5116
|
sum_stars?: string | undefined;
|
|
5068
5117
|
};
|
|
5069
|
-
'test-vona.dto.
|
|
5118
|
+
'test-vona.dto.userCreate_1ff20af69286149eb0b25291d9450172f7bd0054': {
|
|
5119
|
+
name: string;
|
|
5120
|
+
age?: number | undefined;
|
|
5121
|
+
scores?: number | undefined;
|
|
5122
|
+
posts?:
|
|
5123
|
+
| {
|
|
5124
|
+
/** @description Title */
|
|
5125
|
+
title: string;
|
|
5126
|
+
}[]
|
|
5127
|
+
| undefined;
|
|
5128
|
+
roles?:
|
|
5129
|
+
| {
|
|
5130
|
+
id: number | string;
|
|
5131
|
+
deleted?: boolean | undefined;
|
|
5132
|
+
}[]
|
|
5133
|
+
| undefined;
|
|
5134
|
+
};
|
|
5135
|
+
'test-vona.dto.userUpdate_fb27bcbbc8bfc8a865e086eb43abd766c7107326': {
|
|
5070
5136
|
name: string;
|
|
5071
5137
|
age?: number | undefined;
|
|
5072
5138
|
scores?: number | undefined;
|
|
@@ -5208,9 +5274,15 @@ export interface components {
|
|
|
5208
5274
|
pageNo: number;
|
|
5209
5275
|
};
|
|
5210
5276
|
'test-vona.dto.postGroup': {
|
|
5211
|
-
|
|
5277
|
+
/** @description Title */
|
|
5278
|
+
title?: string | undefined;
|
|
5279
|
+
userId?: number | string | undefined;
|
|
5212
5280
|
count_all?: string | undefined;
|
|
5281
|
+
count_stars?: string | undefined;
|
|
5213
5282
|
sum_stars?: string | undefined;
|
|
5283
|
+
avg_stars?: string | undefined;
|
|
5284
|
+
min_stars?: string | undefined;
|
|
5285
|
+
max_stars?: string | undefined;
|
|
5214
5286
|
};
|
|
5215
5287
|
'test-vona.dto.postAggregate': {
|
|
5216
5288
|
count_all?: string | undefined;
|
|
@@ -8160,6 +8232,87 @@ export interface operations {
|
|
|
8160
8232
|
};
|
|
8161
8233
|
authToken: true;
|
|
8162
8234
|
};
|
|
8235
|
+
TrainingStudent_group: {
|
|
8236
|
+
parameters: {
|
|
8237
|
+
query?: {
|
|
8238
|
+
columns?: string[] | undefined;
|
|
8239
|
+
where?:
|
|
8240
|
+
| {
|
|
8241
|
+
[key: string]: unknown;
|
|
8242
|
+
}
|
|
8243
|
+
| undefined;
|
|
8244
|
+
orders?: string | string[][] | undefined;
|
|
8245
|
+
pageNo?: number;
|
|
8246
|
+
pageSize?: number;
|
|
8247
|
+
createdAt?: string | undefined;
|
|
8248
|
+
name?: string | undefined;
|
|
8249
|
+
level?: number | undefined;
|
|
8250
|
+
aggrs?: {
|
|
8251
|
+
count?: ('*' | 'imageId')[] | undefined;
|
|
8252
|
+
};
|
|
8253
|
+
groups?: 'level'[];
|
|
8254
|
+
};
|
|
8255
|
+
header?: never;
|
|
8256
|
+
path?: never;
|
|
8257
|
+
cookie?: never;
|
|
8258
|
+
};
|
|
8259
|
+
requestBody?: never;
|
|
8260
|
+
responses: {
|
|
8261
|
+
200: {
|
|
8262
|
+
headers: {
|
|
8263
|
+
[name: string]: unknown;
|
|
8264
|
+
};
|
|
8265
|
+
content: {
|
|
8266
|
+
'application/json': {
|
|
8267
|
+
code: string;
|
|
8268
|
+
message: string;
|
|
8269
|
+
data: components['schemas']['training-student.dto.studentGroupResItem'][];
|
|
8270
|
+
};
|
|
8271
|
+
};
|
|
8272
|
+
};
|
|
8273
|
+
};
|
|
8274
|
+
authToken: true;
|
|
8275
|
+
};
|
|
8276
|
+
TrainingStudent_aggregate: {
|
|
8277
|
+
parameters: {
|
|
8278
|
+
query?: {
|
|
8279
|
+
columns?: string[] | undefined;
|
|
8280
|
+
where?:
|
|
8281
|
+
| {
|
|
8282
|
+
[key: string]: unknown;
|
|
8283
|
+
}
|
|
8284
|
+
| undefined;
|
|
8285
|
+
orders?: string | string[][] | undefined;
|
|
8286
|
+
pageNo?: number;
|
|
8287
|
+
pageSize?: number;
|
|
8288
|
+
createdAt?: string | undefined;
|
|
8289
|
+
name?: string | undefined;
|
|
8290
|
+
level?: number | undefined;
|
|
8291
|
+
aggrs?: {
|
|
8292
|
+
count?: ('*' | 'imageId')[] | undefined;
|
|
8293
|
+
};
|
|
8294
|
+
};
|
|
8295
|
+
header?: never;
|
|
8296
|
+
path?: never;
|
|
8297
|
+
cookie?: never;
|
|
8298
|
+
};
|
|
8299
|
+
requestBody?: never;
|
|
8300
|
+
responses: {
|
|
8301
|
+
200: {
|
|
8302
|
+
headers: {
|
|
8303
|
+
[name: string]: unknown;
|
|
8304
|
+
};
|
|
8305
|
+
content: {
|
|
8306
|
+
'application/json': {
|
|
8307
|
+
code: string;
|
|
8308
|
+
message: string;
|
|
8309
|
+
data: components['schemas']['training-student.dto.studentAggregateRes'];
|
|
8310
|
+
};
|
|
8311
|
+
};
|
|
8312
|
+
};
|
|
8313
|
+
};
|
|
8314
|
+
authToken: true;
|
|
8315
|
+
};
|
|
8163
8316
|
TrainingStudent_view: {
|
|
8164
8317
|
parameters: {
|
|
8165
8318
|
query?: never;
|
|
@@ -9174,7 +9327,7 @@ export interface operations {
|
|
|
9174
9327
|
};
|
|
9175
9328
|
requestBody: {
|
|
9176
9329
|
content: {
|
|
9177
|
-
'application/json': components['schemas']['test-vona.dto.
|
|
9330
|
+
'application/json': components['schemas']['test-vona.dto.userCreate_1ff20af69286149eb0b25291d9450172f7bd0054'];
|
|
9178
9331
|
};
|
|
9179
9332
|
};
|
|
9180
9333
|
responses: {
|
|
@@ -9204,7 +9357,7 @@ export interface operations {
|
|
|
9204
9357
|
};
|
|
9205
9358
|
requestBody: {
|
|
9206
9359
|
content: {
|
|
9207
|
-
'application/json': components['schemas']['test-vona.dto.
|
|
9360
|
+
'application/json': components['schemas']['test-vona.dto.userUpdate_fb27bcbbc8bfc8a865e086eb43abd766c7107326'];
|
|
9208
9361
|
};
|
|
9209
9362
|
};
|
|
9210
9363
|
responses: {
|
|
@@ -9750,7 +9903,28 @@ export interface operations {
|
|
|
9750
9903
|
};
|
|
9751
9904
|
TestVonaPost_group: {
|
|
9752
9905
|
parameters: {
|
|
9753
|
-
query?:
|
|
9906
|
+
query?: {
|
|
9907
|
+
columns?: string[] | undefined;
|
|
9908
|
+
where?:
|
|
9909
|
+
| {
|
|
9910
|
+
[key: string]: unknown;
|
|
9911
|
+
}
|
|
9912
|
+
| undefined;
|
|
9913
|
+
orders?: string | string[][] | undefined;
|
|
9914
|
+
pageNo?: number;
|
|
9915
|
+
pageSize?: number;
|
|
9916
|
+
createdAt?: string | undefined;
|
|
9917
|
+
title?: string | undefined;
|
|
9918
|
+
userName?: string | undefined;
|
|
9919
|
+
aggrs?: {
|
|
9920
|
+
count?: ('*' | 'stars')[] | undefined;
|
|
9921
|
+
sum?: 'stars'[] | undefined;
|
|
9922
|
+
avg?: 'stars'[] | undefined;
|
|
9923
|
+
min?: 'stars'[] | undefined;
|
|
9924
|
+
max?: 'stars'[] | undefined;
|
|
9925
|
+
};
|
|
9926
|
+
groups?: ('title' | 'userId')[];
|
|
9927
|
+
};
|
|
9754
9928
|
header?: never;
|
|
9755
9929
|
path?: never;
|
|
9756
9930
|
cookie?: never;
|
|
@@ -9774,7 +9948,27 @@ export interface operations {
|
|
|
9774
9948
|
};
|
|
9775
9949
|
TestVonaPost_aggregate: {
|
|
9776
9950
|
parameters: {
|
|
9777
|
-
query?:
|
|
9951
|
+
query?: {
|
|
9952
|
+
columns?: string[] | undefined;
|
|
9953
|
+
where?:
|
|
9954
|
+
| {
|
|
9955
|
+
[key: string]: unknown;
|
|
9956
|
+
}
|
|
9957
|
+
| undefined;
|
|
9958
|
+
orders?: string | string[][] | undefined;
|
|
9959
|
+
pageNo?: number;
|
|
9960
|
+
pageSize?: number;
|
|
9961
|
+
createdAt?: string | undefined;
|
|
9962
|
+
title?: string | undefined;
|
|
9963
|
+
userName?: string | undefined;
|
|
9964
|
+
aggrs?: {
|
|
9965
|
+
count?: ('*' | 'stars')[] | undefined;
|
|
9966
|
+
sum?: 'stars'[] | undefined;
|
|
9967
|
+
avg?: 'stars'[] | undefined;
|
|
9968
|
+
min?: 'stars'[] | undefined;
|
|
9969
|
+
max?: 'stars'[] | undefined;
|
|
9970
|
+
};
|
|
9971
|
+
};
|
|
9778
9972
|
header?: never;
|
|
9779
9973
|
path?: never;
|
|
9780
9974
|
cookie?: never;
|
|
@@ -24,6 +24,24 @@ export type ApiApiTrainingStudentcreateRequestBody =
|
|
|
24
24
|
export type ApiApiTrainingStudentcreateResponseBody =
|
|
25
25
|
paths[ApiApiTrainingStudentcreatePath][ApiApiTrainingStudentcreateMethod]['responses']['200']['content']['application/json']['data'];
|
|
26
26
|
|
|
27
|
+
/** TrainingStudent_group */
|
|
28
|
+
export const ApiApiTrainingStudentgroupPath = '/api/training/student/group';
|
|
29
|
+
export type ApiApiTrainingStudentgroupPath = '/api/training/student/group';
|
|
30
|
+
export type ApiApiTrainingStudentgroupMethod = 'get';
|
|
31
|
+
export type ApiApiTrainingStudentgroupRequestQuery =
|
|
32
|
+
paths[ApiApiTrainingStudentgroupPath][ApiApiTrainingStudentgroupMethod]['parameters']['query'];
|
|
33
|
+
export type ApiApiTrainingStudentgroupResponseBody =
|
|
34
|
+
paths[ApiApiTrainingStudentgroupPath][ApiApiTrainingStudentgroupMethod]['responses']['200']['content']['application/json']['data'];
|
|
35
|
+
|
|
36
|
+
/** TrainingStudent_aggregate */
|
|
37
|
+
export const ApiApiTrainingStudentaggregatePath = '/api/training/student/aggregate';
|
|
38
|
+
export type ApiApiTrainingStudentaggregatePath = '/api/training/student/aggregate';
|
|
39
|
+
export type ApiApiTrainingStudentaggregateMethod = 'get';
|
|
40
|
+
export type ApiApiTrainingStudentaggregateRequestQuery =
|
|
41
|
+
paths[ApiApiTrainingStudentaggregatePath][ApiApiTrainingStudentaggregateMethod]['parameters']['query'];
|
|
42
|
+
export type ApiApiTrainingStudentaggregateResponseBody =
|
|
43
|
+
paths[ApiApiTrainingStudentaggregatePath][ApiApiTrainingStudentaggregateMethod]['responses']['200']['content']['application/json']['data'];
|
|
44
|
+
|
|
27
45
|
/** TrainingStudent_view */
|
|
28
46
|
export const ApiApiTrainingStudentviewPath = '/api/training/student/{id}';
|
|
29
47
|
export type ApiApiTrainingStudentviewPath = '/api/training/student/{id}';
|
|
@@ -103,6 +121,30 @@ export class ApiTrainingStudent extends BeanApiBase {
|
|
|
103
121
|
);
|
|
104
122
|
}
|
|
105
123
|
|
|
124
|
+
/** Group Students */
|
|
125
|
+
group(
|
|
126
|
+
options?: {
|
|
127
|
+
query?: ApiApiTrainingStudentgroupRequestQuery;
|
|
128
|
+
} & IApiActionOptions,
|
|
129
|
+
) {
|
|
130
|
+
return this.$fetch.get<any, ApiApiTrainingStudentgroupResponseBody>(
|
|
131
|
+
ApiApiTrainingStudentgroupPath,
|
|
132
|
+
this.$configPrepare(OpenApiBaseURL(this.sys), options, true),
|
|
133
|
+
);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
/** Aggregate Students */
|
|
137
|
+
aggregate(
|
|
138
|
+
options?: {
|
|
139
|
+
query?: ApiApiTrainingStudentaggregateRequestQuery;
|
|
140
|
+
} & IApiActionOptions,
|
|
141
|
+
) {
|
|
142
|
+
return this.$fetch.get<any, ApiApiTrainingStudentaggregateResponseBody>(
|
|
143
|
+
ApiApiTrainingStudentaggregatePath,
|
|
144
|
+
this.$configPrepare(OpenApiBaseURL(this.sys), options, true),
|
|
145
|
+
);
|
|
146
|
+
}
|
|
147
|
+
|
|
106
148
|
/** View Student */
|
|
107
149
|
view(
|
|
108
150
|
options: {
|
|
@@ -6,6 +6,8 @@ import { ApiSchema } from 'zova-module-a-api';
|
|
|
6
6
|
import {
|
|
7
7
|
ApiApiTrainingStudentselectPath,
|
|
8
8
|
ApiApiTrainingStudentcreatePath,
|
|
9
|
+
ApiApiTrainingStudentgroupPath,
|
|
10
|
+
ApiApiTrainingStudentaggregatePath,
|
|
9
11
|
ApiApiTrainingStudentviewPath,
|
|
10
12
|
ApiApiTrainingStudentdeletePath,
|
|
11
13
|
ApiApiTrainingStudentupdatePath,
|
|
@@ -24,6 +26,14 @@ export class ApiSchemaTrainingStudent extends BeanBase {
|
|
|
24
26
|
return this.$sdk.createApiSchemas(ApiApiTrainingStudentcreatePath, 'post', options);
|
|
25
27
|
}
|
|
26
28
|
|
|
29
|
+
group(options?: IApiSchemaOptions) {
|
|
30
|
+
return this.$sdk.createApiSchemas(ApiApiTrainingStudentgroupPath, 'get', options);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
aggregate(options?: IApiSchemaOptions) {
|
|
34
|
+
return this.$sdk.createApiSchemas(ApiApiTrainingStudentaggregatePath, 'get', options);
|
|
35
|
+
}
|
|
36
|
+
|
|
27
37
|
view(options?: IApiSchemaOptions) {
|
|
28
38
|
return this.$sdk.createApiSchemas(ApiApiTrainingStudentviewPath, 'get', options);
|
|
29
39
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zova-module-a-zova",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.115",
|
|
4
4
|
"gitHead": "2c5c19284bab738e492856189acb6fad74b8a7b7",
|
|
5
5
|
"description": "zova",
|
|
6
6
|
"keywords": [
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"@cabloy/word-utils": "^2.1.14",
|
|
44
44
|
"defu": "^6.1.7",
|
|
45
45
|
"luxon": "^3.7.2",
|
|
46
|
-
"zova-jsx": "^1.1.
|
|
46
|
+
"zova-jsx": "^1.1.96"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@cabloy/cli": "^3.1.31",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zova-suite-a-zova",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.179",
|
|
4
4
|
"gitHead": "2c5c19284bab738e492856189acb6fad74b8a7b7",
|
|
5
5
|
"description": "zova",
|
|
6
6
|
"license": "MIT",
|
|
@@ -25,13 +25,13 @@
|
|
|
25
25
|
"zova-module-a-router": "^5.1.43",
|
|
26
26
|
"zova-module-a-routerstack": "^5.1.30",
|
|
27
27
|
"zova-module-a-routertabs": "^5.1.36",
|
|
28
|
-
"zova-module-a-ssr": "^5.1.
|
|
28
|
+
"zova-module-a-ssr": "^5.1.44",
|
|
29
29
|
"zova-module-a-ssrhmr": "^5.1.24",
|
|
30
|
-
"zova-module-a-ssrserver": "^5.1.
|
|
30
|
+
"zova-module-a-ssrserver": "^5.1.29",
|
|
31
31
|
"zova-module-a-style": "^5.1.36",
|
|
32
|
-
"zova-module-a-table": "^5.1.
|
|
32
|
+
"zova-module-a-table": "^5.1.47",
|
|
33
33
|
"zova-module-a-zod": "^5.1.39",
|
|
34
|
-
"zova-module-a-zova": "^5.1.
|
|
34
|
+
"zova-module-a-zova": "^5.1.115"
|
|
35
35
|
},
|
|
36
36
|
"title": "a-zova"
|
|
37
37
|
}
|