cabloy 5.1.227 → 5.1.228
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/CHANGELOG.md +16 -0
- package/CONTRIBUTING.md +1 -1
- package/package.json +2 -2
- package/repo-agent-governance/managed-assets.json +30 -30
- package/repo-agent-governance/policies/repository.md +1 -1
- package/repo-agent-governance/skills/cabloy-backend-scaffold/SKILL.md +3 -3
- package/repo-agent-governance/skills/cabloy-backend-scaffold/references/follow-up-checklist.md +2 -2
- package/repo-agent-governance/skills/cabloy-frontend-scaffold/SKILL.md +1 -0
- package/repo-agent-governance/skills/cabloy-master-detail/SKILL.md +2 -1
- package/repo-agent-governance/skills/cabloy-resource-field-update/SKILL.md +2 -0
- package/repo-agent-governance/skills/cabloy-resource-field-update/references/follow-up-checklist.md +11 -5
- package/repo-agent-governance/skills/cabloy-resource-field-update/references/verification-checklist.md +10 -14
- package/repo-agent-governance/skills/cabloy-spec-execution/evals/evals.json +4 -2
- package/repo-agent-governance/skills/cabloy-spec-execution/references/execution-protocol.md +1 -1
- package/repo-agent-governance/tests/evidence-paths.test.mjs +84 -13
- package/repo-agent-governance/tools/evidence-paths/sanitize.mjs +38 -8
- package/repo-docs/backend/migration-and-changes.md +21 -14
- package/repo-docs/backend/quickstart.md +1 -1
- package/repo-docs/backend/resource-field-update.md +3 -2
- package/repo-docs/backend/unit-testing.md +9 -3
- package/repo-docs/frontend/table-cell-cookbook.md +32 -0
- package/repo-docs/fullstack/quickstart.md +1 -1
- package/repo-docs/reference/repo-scripts.md +2 -2
- package/repo-e2e/specs/a-commerce.spec.ts +83 -9
- package/scripts/init.ts +14 -0
- package/vona/pnpm-lock.yaml +25 -82
- package/vona/src/suite/a-commerce/modules/commerce-trade/src/config/locale/en-us.ts +2 -0
- package/vona/src/suite/a-commerce/modules/commerce-trade/src/config/locale/zh-cn.ts +2 -0
- package/vona/src/suite/a-commerce/modules/commerce-trade/src/dto/orderShip.tsx +4 -2
- package/zova/package.original.json +1 -1
- package/zova/packages-cli/cli/package.json +5 -2
- package/zova/packages-cli/cli-set-front/package.json +5 -2
- package/zova/packages-cli/cli-set-front/src/lib/bean/cli.bin.buildRest.ts +5 -1
- package/zova/pnpm-lock.yaml +434 -276
- package/zova/src/suite/a-commerce/modules/commerce-trade/src/.metadata/index.ts +23 -23
- package/zova/src/suite/a-commerce/modules/commerce-trade/src/api/openapi/schemas.ts +28 -12
- package/zova/src/suite/a-commerce/modules/commerce-trade/src/api/openapi/types.ts +245 -85
- package/zova/src/suite/a-commerce/modules/commerce-trade/src/component/tableCellActionAdjustStock/controller.tsx +3 -2
- package/zova/src/suite/a-commerce/modules/commerce-trade/src/component/tableCellActionShip/controller.tsx +82 -34
- package/zova/src/suite/a-commerce/modules/commerce-trade/src/config/locale/en-us.ts +1 -0
- package/zova/src/suite/a-commerce/modules/commerce-trade/src/config/locale/zh-cn.ts +1 -0
|
@@ -68,10 +68,10 @@ declare module 'zova-module-commerce-trade' {
|
|
|
68
68
|
}
|
|
69
69
|
/** model: end */
|
|
70
70
|
/** model: begin */
|
|
71
|
-
import { ModelCart } from '../model/cart.js';
|
|
72
|
-
import { ModelOrder } from '../model/order.js';
|
|
73
|
-
import { ModelOrderMine } from '../model/orderMine.js';
|
|
74
|
-
import { ModelStockBalance } from '../model/stockBalance.js';
|
|
71
|
+
import type { ModelCart } from '../model/cart.js';
|
|
72
|
+
import type { ModelOrder } from '../model/order.js';
|
|
73
|
+
import type { ModelOrderMine } from '../model/orderMine.js';
|
|
74
|
+
import type { ModelStockBalance } from '../model/stockBalance.js';
|
|
75
75
|
import 'zova';
|
|
76
76
|
declare module 'zova' {
|
|
77
77
|
export interface IBeanRecordGeneral {
|
|
@@ -141,10 +141,10 @@ declare module 'zova-module-commerce-trade' {
|
|
|
141
141
|
}
|
|
142
142
|
/** api: end */
|
|
143
143
|
/** api: begin */
|
|
144
|
-
import { ApiCommerceTradeCart } from '../api/commerceTradeCart.js';
|
|
145
|
-
import { ApiCommerceTradeCheckout } from '../api/commerceTradeCheckout.js';
|
|
146
|
-
import { ApiCommerceTradeOrder } from '../api/commerceTradeOrder.js';
|
|
147
|
-
import { ApiCommerceTradeStockBalance } from '../api/commerceTradeStockBalance.js';
|
|
144
|
+
import type { ApiCommerceTradeCart } from '../api/commerceTradeCart.js';
|
|
145
|
+
import type { ApiCommerceTradeCheckout } from '../api/commerceTradeCheckout.js';
|
|
146
|
+
import type { ApiCommerceTradeOrder } from '../api/commerceTradeOrder.js';
|
|
147
|
+
import type { ApiCommerceTradeStockBalance } from '../api/commerceTradeStockBalance.js';
|
|
148
148
|
export interface IModuleApi {
|
|
149
149
|
'commerceTradeCart': ApiCommerceTradeCart;
|
|
150
150
|
'commerceTradeCheckout': ApiCommerceTradeCheckout;
|
|
@@ -226,10 +226,10 @@ declare module 'zova-module-commerce-trade' {
|
|
|
226
226
|
}
|
|
227
227
|
/** apiSchema: end */
|
|
228
228
|
/** apiSchema: begin */
|
|
229
|
-
import { ApiSchemaCommerceTradeCart } from '../apiSchema/commerceTradeCart.js';
|
|
230
|
-
import { ApiSchemaCommerceTradeCheckout } from '../apiSchema/commerceTradeCheckout.js';
|
|
231
|
-
import { ApiSchemaCommerceTradeOrder } from '../apiSchema/commerceTradeOrder.js';
|
|
232
|
-
import { ApiSchemaCommerceTradeStockBalance } from '../apiSchema/commerceTradeStockBalance.js';
|
|
229
|
+
import type { ApiSchemaCommerceTradeCart } from '../apiSchema/commerceTradeCart.js';
|
|
230
|
+
import type { ApiSchemaCommerceTradeCheckout } from '../apiSchema/commerceTradeCheckout.js';
|
|
231
|
+
import type { ApiSchemaCommerceTradeOrder } from '../apiSchema/commerceTradeOrder.js';
|
|
232
|
+
import type { ApiSchemaCommerceTradeStockBalance } from '../apiSchema/commerceTradeStockBalance.js';
|
|
233
233
|
export interface IModuleApiSchema {
|
|
234
234
|
'commerceTradeCart': ApiSchemaCommerceTradeCart;
|
|
235
235
|
'commerceTradeCheckout': ApiSchemaCommerceTradeCheckout;
|
|
@@ -308,14 +308,14 @@ declare module 'zova-module-commerce-trade' {
|
|
|
308
308
|
}
|
|
309
309
|
/** controller: end */
|
|
310
310
|
/** controller: begin */
|
|
311
|
-
import { ControllerTableCellActionAdjustStock } from '../component/tableCellActionAdjustStock/controller.jsx';
|
|
312
|
-
import { ControllerTableCellActionRefund } from '../component/tableCellActionRefund/controller.jsx';
|
|
313
|
-
import { ControllerTableCellActionShip } from '../component/tableCellActionShip/controller.jsx';
|
|
314
|
-
import { ControllerPageCart } from '../page/cart/controller.jsx';
|
|
315
|
-
import { ControllerPageCheckout } from '../page/checkout/controller.jsx';
|
|
316
|
-
import { ControllerPageOrder } from '../page/order/controller.jsx';
|
|
317
|
-
import { ControllerPageOrders } from '../page/orders/controller.jsx';
|
|
318
|
-
import { ControllerPagePayment } from '../page/payment/controller.jsx';
|
|
311
|
+
import type { ControllerTableCellActionAdjustStock } from '../component/tableCellActionAdjustStock/controller.jsx';
|
|
312
|
+
import type { ControllerTableCellActionRefund } from '../component/tableCellActionRefund/controller.jsx';
|
|
313
|
+
import type { ControllerTableCellActionShip } from '../component/tableCellActionShip/controller.jsx';
|
|
314
|
+
import type { ControllerPageCart } from '../page/cart/controller.jsx';
|
|
315
|
+
import type { ControllerPageCheckout } from '../page/checkout/controller.jsx';
|
|
316
|
+
import type { ControllerPageOrder } from '../page/order/controller.jsx';
|
|
317
|
+
import type { ControllerPageOrders } from '../page/orders/controller.jsx';
|
|
318
|
+
import type { ControllerPagePayment } from '../page/payment/controller.jsx';
|
|
319
319
|
import 'zova';
|
|
320
320
|
declare module 'zova' {
|
|
321
321
|
export interface IBeanRecordLocal {
|
|
@@ -483,9 +483,9 @@ declare module 'zova-module-commerce-trade' {
|
|
|
483
483
|
}
|
|
484
484
|
/** tableCell: end */
|
|
485
485
|
/** tableCell: begin */
|
|
486
|
-
import { TableCellActionAdjustStock } from '../bean/tableCell.actionAdjustStock.jsx';
|
|
487
|
-
import { TableCellActionRefund } from '../bean/tableCell.actionRefund.jsx';
|
|
488
|
-
import { TableCellActionShip } from '../bean/tableCell.actionShip.jsx';
|
|
486
|
+
import type { TableCellActionAdjustStock } from '../bean/tableCell.actionAdjustStock.jsx';
|
|
487
|
+
import type { TableCellActionRefund } from '../bean/tableCell.actionRefund.jsx';
|
|
488
|
+
import type { TableCellActionShip } from '../bean/tableCell.actionShip.jsx';
|
|
489
489
|
import 'zova';
|
|
490
490
|
declare module 'zova' {
|
|
491
491
|
export interface IBeanRecordGeneral {
|
|
@@ -366,10 +366,10 @@ export type ApiSchemaCommerceCatalogDtoProductPublicDetail_2d063d28bc7243bed02eb
|
|
|
366
366
|
components['schemas']['commerce-catalog.dto.productPublicDetail_2d063d28bc7243bed02ebd8bddf1212a93c6305b'];
|
|
367
367
|
export type ApiSchemaCommerceCatalogDtoProductPublicDetail_2d063d28bc7243bed02ebd8bddf1212a93c6305bPartial =
|
|
368
368
|
Partial<ApiSchemaCommerceCatalogDtoProductPublicDetail_2d063d28bc7243bed02ebd8bddf1212a93c6305b>;
|
|
369
|
-
export type
|
|
370
|
-
components['schemas']['commerce-catalog.dto.
|
|
371
|
-
export type
|
|
372
|
-
Partial<
|
|
369
|
+
export type ApiSchemaCommerceCatalogDtoProductView_2d063d28bc7243bed02ebd8bddf1212a93c6305b_a2f92cabb46b0630848b50414c0d4c60efb47a57 =
|
|
370
|
+
components['schemas']['commerce-catalog.dto.productView_2d063d28bc7243bed02ebd8bddf1212a93c6305b_a2f92cabb46b0630848b50414c0d4c60efb47a57'];
|
|
371
|
+
export type ApiSchemaCommerceCatalogDtoProductView_2d063d28bc7243bed02ebd8bddf1212a93c6305b_a2f92cabb46b0630848b50414c0d4c60efb47a57Partial =
|
|
372
|
+
Partial<ApiSchemaCommerceCatalogDtoProductView_2d063d28bc7243bed02ebd8bddf1212a93c6305b_a2f92cabb46b0630848b50414c0d4c60efb47a57>;
|
|
373
373
|
export type ApiSchemaCommerceCatalogDtoProductUpdate =
|
|
374
374
|
components['schemas']['commerce-catalog.dto.productUpdate'];
|
|
375
375
|
export type ApiSchemaCommerceCatalogDtoProductUpdatePartial =
|
|
@@ -435,10 +435,10 @@ export type ApiSchemaAImageDtoImageView = components['schemas']['a-image.dto.ima
|
|
|
435
435
|
export type ApiSchemaAImageDtoImageViewPartial = Partial<ApiSchemaAImageDtoImageView>;
|
|
436
436
|
export type ApiSchemaAFileDtoFileView = components['schemas']['a-file.dto.fileView'];
|
|
437
437
|
export type ApiSchemaAFileDtoFileViewPartial = Partial<ApiSchemaAFileDtoFileView>;
|
|
438
|
-
export type
|
|
439
|
-
components['schemas']['training-record.dto.
|
|
440
|
-
export type
|
|
441
|
-
Partial<
|
|
438
|
+
export type ApiSchemaTrainingRecordDtoRecordView_2d063d28bc7243bed02ebd8bddf1212a93c6305b_7d715789d9643740a04e8a6c0f6fb951884bc347 =
|
|
439
|
+
components['schemas']['training-record.dto.recordView_2d063d28bc7243bed02ebd8bddf1212a93c6305b_7d715789d9643740a04e8a6c0f6fb951884bc347'];
|
|
440
|
+
export type ApiSchemaTrainingRecordDtoRecordView_2d063d28bc7243bed02ebd8bddf1212a93c6305b_7d715789d9643740a04e8a6c0f6fb951884bc347Partial =
|
|
441
|
+
Partial<ApiSchemaTrainingRecordDtoRecordView_2d063d28bc7243bed02ebd8bddf1212a93c6305b_7d715789d9643740a04e8a6c0f6fb951884bc347>;
|
|
442
442
|
export type ApiSchemaTrainingRecordDtoRecordUpdate =
|
|
443
443
|
components['schemas']['training-record.dto.recordUpdate'];
|
|
444
444
|
export type ApiSchemaTrainingRecordDtoRecordUpdatePartial =
|
|
@@ -463,10 +463,10 @@ export type ApiSchemaAImageDtoImageView_a83c3e638bca4b30ec8675860cdc52d66f6a16d1
|
|
|
463
463
|
components['schemas']['a-image.dto.imageView_a83c3e638bca4b30ec8675860cdc52d66f6a16d1_2d063d28bc7243bed02ebd8bddf1212a93c6305b_efb37794d7c03c65122279f90d79919f009c34e5_1816ff740d81c738ec055c7038bbd93beb9405a7_537cd6552a384183a9457fb6a920bbae337277f6'];
|
|
464
464
|
export type ApiSchemaAImageDtoImageView_a83c3e638bca4b30ec8675860cdc52d66f6a16d1_2d063d28bc7243bed02ebd8bddf1212a93c6305b_efb37794d7c03c65122279f90d79919f009c34e5_1816ff740d81c738ec055c7038bbd93beb9405a7_537cd6552a384183a9457fb6a920bbae337277f6Partial =
|
|
465
465
|
Partial<ApiSchemaAImageDtoImageView_a83c3e638bca4b30ec8675860cdc52d66f6a16d1_2d063d28bc7243bed02ebd8bddf1212a93c6305b_efb37794d7c03c65122279f90d79919f009c34e5_1816ff740d81c738ec055c7038bbd93beb9405a7_537cd6552a384183a9457fb6a920bbae337277f6>;
|
|
466
|
-
export type
|
|
467
|
-
components['schemas']['training-student.dto.
|
|
468
|
-
export type
|
|
469
|
-
Partial<
|
|
466
|
+
export type ApiSchemaTrainingStudentDtoStudentView_2d063d28bc7243bed02ebd8bddf1212a93c6305b_4826fc678e47603ec467782ddb0d02463792cd60 =
|
|
467
|
+
components['schemas']['training-student.dto.studentView_2d063d28bc7243bed02ebd8bddf1212a93c6305b_4826fc678e47603ec467782ddb0d02463792cd60'];
|
|
468
|
+
export type ApiSchemaTrainingStudentDtoStudentView_2d063d28bc7243bed02ebd8bddf1212a93c6305b_4826fc678e47603ec467782ddb0d02463792cd60Partial =
|
|
469
|
+
Partial<ApiSchemaTrainingStudentDtoStudentView_2d063d28bc7243bed02ebd8bddf1212a93c6305b_4826fc678e47603ec467782ddb0d02463792cd60>;
|
|
470
470
|
export type ApiSchemaTrainingStudentDtoStudentUpdate =
|
|
471
471
|
components['schemas']['training-student.dto.studentUpdate'];
|
|
472
472
|
export type ApiSchemaTrainingStudentDtoStudentUpdatePartial =
|
|
@@ -475,6 +475,10 @@ export type ApiSchemaTrainingStudentDtoStudentSummary_2d063d28bc7243bed02ebd8bdd
|
|
|
475
475
|
components['schemas']['training-student.dto.studentSummary_2d063d28bc7243bed02ebd8bddf1212a93c6305b'];
|
|
476
476
|
export type ApiSchemaTrainingStudentDtoStudentSummary_2d063d28bc7243bed02ebd8bddf1212a93c6305bPartial =
|
|
477
477
|
Partial<ApiSchemaTrainingStudentDtoStudentSummary_2d063d28bc7243bed02ebd8bddf1212a93c6305b>;
|
|
478
|
+
export type ApiSchemaTrainingStudentDtoStudentDeleteBulk =
|
|
479
|
+
components['schemas']['training-student.dto.studentDeleteBulk'];
|
|
480
|
+
export type ApiSchemaTrainingStudentDtoStudentDeleteBulkPartial =
|
|
481
|
+
Partial<ApiSchemaTrainingStudentDtoStudentDeleteBulk>;
|
|
478
482
|
export type ApiSchemaBasicMetricsDtoMetricsSnapshot =
|
|
479
483
|
components['schemas']['basic-metrics.dto.metricsSnapshot'];
|
|
480
484
|
export type ApiSchemaBasicMetricsDtoMetricsSnapshotPartial =
|
|
@@ -487,6 +491,18 @@ export type ApiSchemaBasicMetricsDtoMetricsQueue =
|
|
|
487
491
|
components['schemas']['basic-metrics.dto.metricsQueue'];
|
|
488
492
|
export type ApiSchemaBasicMetricsDtoMetricsQueuePartial =
|
|
489
493
|
Partial<ApiSchemaBasicMetricsDtoMetricsQueue>;
|
|
494
|
+
export type ApiSchemaALayoutprofileDtoLayoutProfile_2d063d28bc7243bed02ebd8bddf1212a93c6305b =
|
|
495
|
+
components['schemas']['a-layoutprofile.dto.layoutProfile_2d063d28bc7243bed02ebd8bddf1212a93c6305b'];
|
|
496
|
+
export type ApiSchemaALayoutprofileDtoLayoutProfile_2d063d28bc7243bed02ebd8bddf1212a93c6305bPartial =
|
|
497
|
+
Partial<ApiSchemaALayoutprofileDtoLayoutProfile_2d063d28bc7243bed02ebd8bddf1212a93c6305b>;
|
|
498
|
+
export type ApiSchemaALayoutprofileDtoLayoutProfile =
|
|
499
|
+
components['schemas']['a-layoutprofile.dto.layoutProfile'];
|
|
500
|
+
export type ApiSchemaALayoutprofileDtoLayoutProfilePartial =
|
|
501
|
+
Partial<ApiSchemaALayoutprofileDtoLayoutProfile>;
|
|
502
|
+
export type ApiSchemaALayoutprofileDtoLayoutProfileSave =
|
|
503
|
+
components['schemas']['a-layoutprofile.dto.layoutProfileSave'];
|
|
504
|
+
export type ApiSchemaALayoutprofileDtoLayoutProfileSavePartial =
|
|
505
|
+
Partial<ApiSchemaALayoutprofileDtoLayoutProfileSave>;
|
|
490
506
|
export type ApiSchemaAFileDtoFileUploadPolicyResponse =
|
|
491
507
|
components['schemas']['a-file.dto.fileUploadPolicyResponse'];
|
|
492
508
|
export type ApiSchemaAFileDtoFileUploadPolicyResponsePartial =
|