cabloy 5.1.139 → 5.1.141
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 +17 -0
- package/cabloy-docs/fullstack/framework-performance.md +3 -3
- package/e2e/specs/a-commerce/commerce.spec.ts +3 -3
- package/e2e/specs/cabloy-basic/basic.spec.ts +6 -8
- package/package.json +1 -1
- package/vona/pnpm-lock.yaml +286 -540
- package/vona/pnpm-workspace.yaml +1 -1
- package/zova/packages-zova/zova/package.json +2 -2
- package/zova/pnpm-lock.yaml +51 -51
- package/zova/src/suite/a-commerce/modules/commerce-catalog/src/api/openapi/schemas.ts +0 -11
- package/zova/src/suite/a-commerce/modules/commerce-catalog/src/api/openapi/types.ts +23 -170
- package/zova/src/suite/a-commerce/modules/commerce-member/src/api/openapi/schemas.ts +0 -11
- package/zova/src/suite/a-commerce/modules/commerce-member/src/api/openapi/types.ts +23 -170
- package/zova/src/suite/a-commerce/modules/commerce-promotion/src/api/openapi/schemas.ts +0 -11
- package/zova/src/suite/a-commerce/modules/commerce-promotion/src/api/openapi/types.ts +23 -170
- package/zova/src/suite/a-commerce/modules/commerce-siteadmin/src/api/openapi/schemas.ts +0 -11
- package/zova/src/suite/a-commerce/modules/commerce-siteadmin/src/api/openapi/types.ts +23 -170
- package/zova/src/suite/a-commerce/modules/commerce-trade/src/api/openapi/schemas.ts +0 -11
- package/zova/src/suite/a-commerce/modules/commerce-trade/src/api/openapi/types.ts +23 -170
- package/zova/src/suite/a-home/modules/home-api/src/api/openapi/schemas.ts +0 -11
- package/zova/src/suite/a-home/modules/home-api/src/api/openapi/types.ts +23 -170
- package/zova/src/suite/a-training/modules/training-student/src/api/openapi/schemas.ts +0 -11
- package/zova/src/suite/a-training/modules/training-student/src/api/openapi/types.ts +23 -170
- package/zova/src/suite/cabloy-basic/modules/basic-file/src/api/openapi/schemas.ts +0 -11
- package/zova/src/suite/cabloy-basic/modules/basic-file/src/api/openapi/types.ts +23 -170
- package/zova/src/suite/cabloy-basic/modules/basic-image/src/api/openapi/schemas.ts +0 -11
- package/zova/src/suite/cabloy-basic/modules/basic-image/src/api/openapi/types.ts +23 -170
- package/zova/src/suite-vendor/a-pay/modules/a-pay/package.json +1 -1
- package/zova/src/suite-vendor/a-pay/modules/a-pay/src/api/openapi/schemas.ts +0 -11
- package/zova/src/suite-vendor/a-pay/modules/a-pay/src/api/openapi/types.ts +23 -170
- package/zova/src/suite-vendor/a-pay/modules/pay-mock/package.json +1 -1
- package/zova/src/suite-vendor/a-pay/modules/pay-mock/src/api/openapi/schemas.ts +0 -11
- package/zova/src/suite-vendor/a-pay/modules/pay-mock/src/api/openapi/types.ts +23 -170
- package/zova/src/suite-vendor/a-pay/package.json +3 -3
- package/zova/src/suite-vendor/a-zova/modules/a-ssrserver/package.json +1 -1
- package/zova/src/suite-vendor/a-zova/modules/a-ssrserver/src/service/ssrHandler.ts +1 -1
- package/zova/src/suite-vendor/a-zova/package.json +2 -2
- package/vona/src/suite-vendor/a-paypal/modules/a-paypal/package.json +0 -56
- package/vona/src/suite-vendor/a-paypal/modules/a-paypal/src/.metadata/index.ts +0 -404
- package/vona/src/suite-vendor/a-paypal/modules/a-paypal/src/.metadata/locales.ts +0 -18
- package/vona/src/suite-vendor/a-paypal/modules/a-paypal/src/.metadata/this.ts +0 -2
- package/vona/src/suite-vendor/a-paypal/modules/a-paypal/src/bean/bean.paypal.ts +0 -99
- package/vona/src/suite-vendor/a-paypal/modules/a-paypal/src/bean/event.paypalCancelOrder.ts +0 -15
- package/vona/src/suite-vendor/a-paypal/modules/a-paypal/src/bean/event.paypalCaptureOrder.ts +0 -22
- package/vona/src/suite-vendor/a-paypal/modules/a-paypal/src/bean/meta.version.ts +0 -24
- package/vona/src/suite-vendor/a-paypal/modules/a-paypal/src/config/config.ts +0 -14
- package/vona/src/suite-vendor/a-paypal/modules/a-paypal/src/config/errors.ts +0 -3
- package/vona/src/suite-vendor/a-paypal/modules/a-paypal/src/config/locale/en-us.ts +0 -3
- package/vona/src/suite-vendor/a-paypal/modules/a-paypal/src/config/locale/zh-cn.ts +0 -3
- package/vona/src/suite-vendor/a-paypal/modules/a-paypal/src/controller/paypal.ts +0 -39
- package/vona/src/suite-vendor/a-paypal/modules/a-paypal/src/dto/paypalOrderRecordOptions.tsx +0 -31
- package/vona/src/suite-vendor/a-paypal/modules/a-paypal/src/dto/paypalOrderRecordPayload.tsx +0 -18
- package/vona/src/suite-vendor/a-paypal/modules/a-paypal/src/entity/paypalRecord.tsx +0 -30
- package/vona/src/suite-vendor/a-paypal/modules/a-paypal/src/index.ts +0 -3
- package/vona/src/suite-vendor/a-paypal/modules/a-paypal/src/model/paypalRecord.ts +0 -10
- package/vona/src/suite-vendor/a-paypal/modules/a-paypal/src/service/paypal.ts +0 -83
- package/vona/src/suite-vendor/a-paypal/modules/a-paypal/src/types/index.ts +0 -1
- package/vona/src/suite-vendor/a-paypal/modules/a-paypal/src/types/paypal.ts +0 -18
- package/vona/src/suite-vendor/a-paypal/modules/a-paypal/tsconfig.build.json +0 -11
- package/vona/src/suite-vendor/a-paypal/modules/a-paypal/tsconfig.json +0 -7
- package/vona/src/suite-vendor/a-paypal/package.json +0 -13
- package/vona/src/suite-vendor/a-paypal/tsconfig.base.json +0 -4
- package/vona/src/suite-vendor/a-paypal/tsconfig.json +0 -10
- /package/vona/patches/{zova-core@5.1.85.patch → zova-core@5.1.86.patch} +0 -0
|
@@ -535,17 +535,6 @@ export type ApiSchemaPayMockDtoMockRefundComplete =
|
|
|
535
535
|
components['schemas']['pay-mock.dto.mockRefundComplete'];
|
|
536
536
|
export type ApiSchemaPayMockDtoMockRefundCompletePartial =
|
|
537
537
|
Partial<ApiSchemaPayMockDtoMockRefundComplete>;
|
|
538
|
-
export type ApiSchemaAPaypalEntityPaypalRecord =
|
|
539
|
-
components['schemas']['a-paypal.entity.paypalRecord'];
|
|
540
|
-
export type ApiSchemaAPaypalEntityPaypalRecordPartial = Partial<ApiSchemaAPaypalEntityPaypalRecord>;
|
|
541
|
-
export type ApiSchemaAPaypalDtoPaypalOrderRecordPayload =
|
|
542
|
-
components['schemas']['a-paypal.dto.paypalOrderRecordPayload'];
|
|
543
|
-
export type ApiSchemaAPaypalDtoPaypalOrderRecordPayloadPartial =
|
|
544
|
-
Partial<ApiSchemaAPaypalDtoPaypalOrderRecordPayload>;
|
|
545
|
-
export type ApiSchemaAPaypalDtoPaypalOrderRecordOptions =
|
|
546
|
-
components['schemas']['a-paypal.dto.paypalOrderRecordOptions'];
|
|
547
|
-
export type ApiSchemaAPaypalDtoPaypalOrderRecordOptionsPartial =
|
|
548
|
-
Partial<ApiSchemaAPaypalDtoPaypalOrderRecordOptions>;
|
|
549
538
|
export type ApiSchemaTestCaptchaDtoSignin = components['schemas']['test-captcha.dto.signin'];
|
|
550
539
|
export type ApiSchemaTestCaptchaDtoSigninPartial = Partial<ApiSchemaTestCaptchaDtoSignin>;
|
|
551
540
|
export type ApiSchemaTestRestDtoProductCreate =
|
|
@@ -1504,54 +1504,6 @@ export interface paths {
|
|
|
1504
1504
|
patch?: never;
|
|
1505
1505
|
trace?: never;
|
|
1506
1506
|
};
|
|
1507
|
-
'/api/paypal/getRecord/{recordId}': {
|
|
1508
|
-
parameters: {
|
|
1509
|
-
query?: never;
|
|
1510
|
-
header?: never;
|
|
1511
|
-
path?: never;
|
|
1512
|
-
cookie?: never;
|
|
1513
|
-
};
|
|
1514
|
-
get: operations['Paypal_getRecord'];
|
|
1515
|
-
put?: never;
|
|
1516
|
-
post?: never;
|
|
1517
|
-
delete?: never;
|
|
1518
|
-
options?: never;
|
|
1519
|
-
head?: never;
|
|
1520
|
-
patch?: never;
|
|
1521
|
-
trace?: never;
|
|
1522
|
-
};
|
|
1523
|
-
'/api/paypal/captureOrder/{recordId}': {
|
|
1524
|
-
parameters: {
|
|
1525
|
-
query?: never;
|
|
1526
|
-
header?: never;
|
|
1527
|
-
path?: never;
|
|
1528
|
-
cookie?: never;
|
|
1529
|
-
};
|
|
1530
|
-
get?: never;
|
|
1531
|
-
put?: never;
|
|
1532
|
-
post: operations['Paypal_captureOrder'];
|
|
1533
|
-
delete?: never;
|
|
1534
|
-
options?: never;
|
|
1535
|
-
head?: never;
|
|
1536
|
-
patch?: never;
|
|
1537
|
-
trace?: never;
|
|
1538
|
-
};
|
|
1539
|
-
'/api/paypal/cancelOrder/{recordId}': {
|
|
1540
|
-
parameters: {
|
|
1541
|
-
query?: never;
|
|
1542
|
-
header?: never;
|
|
1543
|
-
path?: never;
|
|
1544
|
-
cookie?: never;
|
|
1545
|
-
};
|
|
1546
|
-
get?: never;
|
|
1547
|
-
put?: never;
|
|
1548
|
-
post: operations['Paypal_cancelOrder'];
|
|
1549
|
-
delete?: never;
|
|
1550
|
-
options?: never;
|
|
1551
|
-
head?: never;
|
|
1552
|
-
patch?: never;
|
|
1553
|
-
trace?: never;
|
|
1554
|
-
};
|
|
1555
1507
|
'/api/test/auth/passport/isAuthenticated': {
|
|
1556
1508
|
parameters: {
|
|
1557
1509
|
query?: never;
|
|
@@ -3954,7 +3906,29 @@ export interface components {
|
|
|
3954
3906
|
'a-permission.dto.permissions': {
|
|
3955
3907
|
roleIds?: (number | string)[] | undefined;
|
|
3956
3908
|
roleNames?: string[] | undefined;
|
|
3957
|
-
actions?:
|
|
3909
|
+
actions?:
|
|
3910
|
+
| {
|
|
3911
|
+
[key: string]:
|
|
3912
|
+
| boolean
|
|
3913
|
+
| {
|
|
3914
|
+
key: string;
|
|
3915
|
+
allowed: boolean;
|
|
3916
|
+
matcher:
|
|
3917
|
+
| {
|
|
3918
|
+
/** @enum {string} */
|
|
3919
|
+
mode: 'all';
|
|
3920
|
+
}
|
|
3921
|
+
| {
|
|
3922
|
+
/** @enum {string} */
|
|
3923
|
+
mode: 'any';
|
|
3924
|
+
rules: {
|
|
3925
|
+
field: string;
|
|
3926
|
+
values: string[];
|
|
3927
|
+
}[];
|
|
3928
|
+
};
|
|
3929
|
+
};
|
|
3930
|
+
}
|
|
3931
|
+
| undefined;
|
|
3958
3932
|
};
|
|
3959
3933
|
'home-base.dto.siteCatalogSelectRes': {
|
|
3960
3934
|
list: components['schemas']['home-base.dto.siteCatalogSelectResItem'][];
|
|
@@ -4771,49 +4745,6 @@ export interface components {
|
|
|
4771
4745
|
/** @enum {string} */
|
|
4772
4746
|
outcome: 'succeeded' | 'failed' | 'cancelled';
|
|
4773
4747
|
};
|
|
4774
|
-
'a-paypal.entity.paypalRecord': {
|
|
4775
|
-
/**
|
|
4776
|
-
* Format: date-time
|
|
4777
|
-
* @description Created At
|
|
4778
|
-
*/
|
|
4779
|
-
createdAt: Date;
|
|
4780
|
-
/**
|
|
4781
|
-
* Format: date-time
|
|
4782
|
-
* @description Updated At
|
|
4783
|
-
*/
|
|
4784
|
-
updatedAt: Date;
|
|
4785
|
-
/**
|
|
4786
|
-
* @description Deleted
|
|
4787
|
-
* @default false
|
|
4788
|
-
*/
|
|
4789
|
-
deleted?: boolean;
|
|
4790
|
-
/**
|
|
4791
|
-
* @description Instance ID
|
|
4792
|
-
* @default 0
|
|
4793
|
-
*/
|
|
4794
|
-
iid?: number;
|
|
4795
|
-
/** @description ID */
|
|
4796
|
-
id: number | string;
|
|
4797
|
-
userId: number | string;
|
|
4798
|
-
/** @default 0 */
|
|
4799
|
-
status?: number;
|
|
4800
|
-
prepayId: string;
|
|
4801
|
-
payload: components['schemas']['a-paypal.dto.paypalOrderRecordPayload'];
|
|
4802
|
-
options: components['schemas']['a-paypal.dto.paypalOrderRecordOptions'];
|
|
4803
|
-
};
|
|
4804
|
-
'a-paypal.dto.paypalOrderRecordPayload': {
|
|
4805
|
-
remark: string;
|
|
4806
|
-
total: string;
|
|
4807
|
-
currencyCode: string;
|
|
4808
|
-
};
|
|
4809
|
-
'a-paypal.dto.paypalOrderRecordOptions': {
|
|
4810
|
-
brandName: string;
|
|
4811
|
-
returnUrl: string;
|
|
4812
|
-
cancelUrl: string;
|
|
4813
|
-
returnTo: string;
|
|
4814
|
-
scene: string;
|
|
4815
|
-
orderId: number | string;
|
|
4816
|
-
};
|
|
4817
4748
|
'test-captcha.dto.signin': {
|
|
4818
4749
|
username: string;
|
|
4819
4750
|
password: string;
|
|
@@ -8544,84 +8475,6 @@ export interface operations {
|
|
|
8544
8475
|
};
|
|
8545
8476
|
authToken: true;
|
|
8546
8477
|
};
|
|
8547
|
-
Paypal_getRecord: {
|
|
8548
|
-
parameters: {
|
|
8549
|
-
query?: never;
|
|
8550
|
-
header?: never;
|
|
8551
|
-
path: {
|
|
8552
|
-
recordId: number | string;
|
|
8553
|
-
};
|
|
8554
|
-
cookie?: never;
|
|
8555
|
-
};
|
|
8556
|
-
requestBody?: never;
|
|
8557
|
-
responses: {
|
|
8558
|
-
200: {
|
|
8559
|
-
headers: {
|
|
8560
|
-
[name: string]: unknown;
|
|
8561
|
-
};
|
|
8562
|
-
content: {
|
|
8563
|
-
'application/json': {
|
|
8564
|
-
code: string;
|
|
8565
|
-
message: string;
|
|
8566
|
-
data: components['schemas']['a-paypal.entity.paypalRecord'];
|
|
8567
|
-
};
|
|
8568
|
-
};
|
|
8569
|
-
};
|
|
8570
|
-
};
|
|
8571
|
-
authToken: true;
|
|
8572
|
-
};
|
|
8573
|
-
Paypal_captureOrder: {
|
|
8574
|
-
parameters: {
|
|
8575
|
-
query?: never;
|
|
8576
|
-
header?: never;
|
|
8577
|
-
path: {
|
|
8578
|
-
recordId: number | string;
|
|
8579
|
-
};
|
|
8580
|
-
cookie?: never;
|
|
8581
|
-
};
|
|
8582
|
-
requestBody?: never;
|
|
8583
|
-
responses: {
|
|
8584
|
-
200: {
|
|
8585
|
-
headers: {
|
|
8586
|
-
[name: string]: unknown;
|
|
8587
|
-
};
|
|
8588
|
-
content: {
|
|
8589
|
-
'application/json': {
|
|
8590
|
-
code: string;
|
|
8591
|
-
message: string;
|
|
8592
|
-
data?: unknown;
|
|
8593
|
-
};
|
|
8594
|
-
};
|
|
8595
|
-
};
|
|
8596
|
-
};
|
|
8597
|
-
authToken: true;
|
|
8598
|
-
};
|
|
8599
|
-
Paypal_cancelOrder: {
|
|
8600
|
-
parameters: {
|
|
8601
|
-
query?: never;
|
|
8602
|
-
header?: never;
|
|
8603
|
-
path: {
|
|
8604
|
-
recordId: number | string;
|
|
8605
|
-
};
|
|
8606
|
-
cookie?: never;
|
|
8607
|
-
};
|
|
8608
|
-
requestBody?: never;
|
|
8609
|
-
responses: {
|
|
8610
|
-
200: {
|
|
8611
|
-
headers: {
|
|
8612
|
-
[name: string]: unknown;
|
|
8613
|
-
};
|
|
8614
|
-
content: {
|
|
8615
|
-
'application/json': {
|
|
8616
|
-
code: string;
|
|
8617
|
-
message: string;
|
|
8618
|
-
data?: unknown;
|
|
8619
|
-
};
|
|
8620
|
-
};
|
|
8621
|
-
};
|
|
8622
|
-
};
|
|
8623
|
-
authToken: true;
|
|
8624
|
-
};
|
|
8625
8478
|
TestAuthPassport_isAuthenticated: {
|
|
8626
8479
|
parameters: {
|
|
8627
8480
|
query?: never;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zova-suite-a-pay",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.5",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": "",
|
|
6
6
|
"files": [],
|
|
7
7
|
"type": "module",
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"zova-module-a-pay": "^5.0.
|
|
10
|
-
"zova-module-pay-mock": "^5.0.
|
|
9
|
+
"zova-module-a-pay": "^5.0.6",
|
|
10
|
+
"zova-module-pay-mock": "^5.0.4",
|
|
11
11
|
"zova-module-pay-paypal": "^5.0.2",
|
|
12
12
|
"zova-module-pay-stripe": "^5.0.2"
|
|
13
13
|
},
|
|
@@ -294,7 +294,7 @@ export class ServiceSsrHandler extends BeanBase {
|
|
|
294
294
|
typeof responseCacheExpires === 'string'
|
|
295
295
|
? ms(responseCacheExpires) / 1000
|
|
296
296
|
: responseCacheExpires;
|
|
297
|
-
if (expires === 0) {
|
|
297
|
+
if (expires === 0 || this.sys.env.META_MODE === 'development') {
|
|
298
298
|
res.setHeader('cache-control', 'no-cache, no-store, must-revalidate');
|
|
299
299
|
} else {
|
|
300
300
|
res.setHeader('cache-control', `public, max-age=${expires}`);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zova-suite-a-zova",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.150",
|
|
4
4
|
"gitHead": "2c5c19284bab738e492856189acb6fad74b8a7b7",
|
|
5
5
|
"description": "zova",
|
|
6
6
|
"license": "MIT",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"zova-module-a-routertabs": "^5.1.34",
|
|
29
29
|
"zova-module-a-ssr": "^5.1.37",
|
|
30
30
|
"zova-module-a-ssrhmr": "^5.1.23",
|
|
31
|
-
"zova-module-a-ssrserver": "^5.1.
|
|
31
|
+
"zova-module-a-ssrserver": "^5.1.26",
|
|
32
32
|
"zova-module-a-style": "^5.1.35",
|
|
33
33
|
"zova-module-a-table": "^5.1.38",
|
|
34
34
|
"zova-module-a-zod": "^5.1.37",
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "vona-module-a-paypal",
|
|
3
|
-
"version": "5.1.15",
|
|
4
|
-
"gitHead": "a79189b882c17af5911573896a781bbb0046d37d",
|
|
5
|
-
"description": "",
|
|
6
|
-
"keywords": [
|
|
7
|
-
"Vona Module"
|
|
8
|
-
],
|
|
9
|
-
"author": "",
|
|
10
|
-
"files": [
|
|
11
|
-
"assets",
|
|
12
|
-
"dist",
|
|
13
|
-
"src"
|
|
14
|
-
],
|
|
15
|
-
"type": "module",
|
|
16
|
-
"exports": {
|
|
17
|
-
".": {
|
|
18
|
-
"types": [
|
|
19
|
-
"./src/index.ts",
|
|
20
|
-
"./dist/index.d.ts"
|
|
21
|
-
],
|
|
22
|
-
"import": "./src/index.ts",
|
|
23
|
-
"default": "./dist/index.js"
|
|
24
|
-
},
|
|
25
|
-
"./package.json": "./package.json"
|
|
26
|
-
},
|
|
27
|
-
"scripts": {
|
|
28
|
-
"clean": "rimraf dist tsconfig.build.tsbuildinfo",
|
|
29
|
-
"tsc:publish": "npm run clean && node ../../../../../packages-cli/cli/src/bin/vona.ts :bin:buildModule --sourcemap && tsc -p tsconfig.build.json",
|
|
30
|
-
"prepublishOnly": "npm run tsc:publish",
|
|
31
|
-
"prepack": "clean-package",
|
|
32
|
-
"postpack": "clean-package restore"
|
|
33
|
-
},
|
|
34
|
-
"dependencies": {
|
|
35
|
-
"@cabloy/paypal-server-sdk": "^2.2.0"
|
|
36
|
-
},
|
|
37
|
-
"devDependencies": {
|
|
38
|
-
"clean-package": "^2.2.0",
|
|
39
|
-
"rimraf": "^6.1.3"
|
|
40
|
-
},
|
|
41
|
-
"clean-package": {
|
|
42
|
-
"indent": 2,
|
|
43
|
-
"remove": [
|
|
44
|
-
"clean-package",
|
|
45
|
-
"devDependencies",
|
|
46
|
-
"exports.\\..import"
|
|
47
|
-
]
|
|
48
|
-
},
|
|
49
|
-
"title": "a-paypal",
|
|
50
|
-
"vonaModule": {
|
|
51
|
-
"dependencies": {
|
|
52
|
-
"a-vona": "5.0.0"
|
|
53
|
-
},
|
|
54
|
-
"fileVersion": 1
|
|
55
|
-
}
|
|
56
|
-
}
|