cabloy 5.1.105 → 5.1.107
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 +18 -0
- package/cabloy-docs/backend/backend-resource-module-contract-chain.md +1 -0
- package/cabloy-docs/backend/controller-aop-guide.md +12 -0
- package/cabloy-docs/backend/controller-guide.md +45 -3
- package/cabloy-docs/backend/crud-workflow.md +14 -0
- package/cabloy-docs/backend/unit-testing.md +8 -2
- package/cabloy-docs/fullstack/openapi-to-sdk.md +1 -0
- package/cabloy-docs/fullstack/tutorial-2-first-crud.md +3 -0
- package/package.json +1 -1
- package/vona/packages-cli/cli/package.json +1 -1
- package/vona/packages-cli/cli-set-api/cli/templates/tools/crud/boilerplate/src/bean/ssrMenu.{{resourceName}}.ts_ +1 -0
- package/vona/packages-cli/cli-set-api/cli/templates/tools/crudBasic/boilerplate/src/controller/{{resourceName}}.ts_ +13 -4
- package/vona/packages-cli/cli-set-api/cli/templates/tools/crudBasic/boilerplate/test/{{resourceName}}.test.ts_ +22 -3
- package/vona/packages-cli/cli-set-api/cli/templates/tools/crudStart/boilerplate/src/controller/{{resourceName}}.ts_ +13 -4
- package/vona/packages-cli/cli-set-api/cli/templates/tools/crudStart/boilerplate/test/{{resourceName}}.test.ts_ +22 -3
- package/vona/packages-cli/cli-set-api/package.json +1 -1
- package/vona/packages-vona/vona/package.json +1 -1
- package/vona/patches/{zova-core@5.1.77.patch → zova-core@5.1.78.patch} +2 -2
- package/vona/pnpm-lock.yaml +37 -37
- package/vona/pnpm-workspace.yaml +1 -1
- package/vona/src/suite/a-home/modules/home-user/src/.metadata/index.ts +2 -2
- package/vona/src/suite/a-home/modules/home-user/src/bean/meta.version.ts +10 -8
- package/vona/src/suite/a-home/modules/home-user/src/config/config.ts +6 -0
- package/vona/src/suite/a-home/modules/home-user/src/config/locale/en-us.ts +2 -0
- package/vona/src/suite/a-home/modules/home-user/src/config/locale/zh-cn.ts +2 -0
- package/vona/src/suite/a-home/modules/home-user/src/config/roles.ts +24 -0
- package/vona/src/suite/a-home/modules/home-user/src/entity/role.ts +7 -0
- package/vona/src/suite/a-home/modules/home-user/test/role.test.ts +45 -0
- package/vona/src/suite/a-training/modules/training-record/src/controller/record.ts +13 -4
- package/vona/src/suite/a-training/modules/training-record/test/record.test.ts +25 -2
- package/vona/src/suite/a-training/modules/training-student/src/controller/student.ts +18 -6
- package/vona/src/suite/a-training/modules/training-student/test/student.test.ts +33 -5
- package/vona/src/suite-vendor/a-cabloy/modules/a-ssr/cli/ssrMenuAdmin/boilerplate/{{sceneName}}.{{beanName}}.ts_ +1 -0
- package/vona/src/suite-vendor/a-cabloy/modules/a-ssr/package.json +1 -1
- package/vona/src/suite-vendor/a-cabloy/modules/a-ssr/src/service/ssrHandler.ts +1 -1
- package/vona/src/suite-vendor/a-cabloy/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-user/src/types/role.ts +3 -0
- 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 +1 -1
- package/zova/packages-cli/cli-set-front/src/lib/bean/cli.openapi.generate.ts +4 -0
- package/zova/packages-zova/zova/package.json +2 -2
- package/zova/pnpm-lock.yaml +9 -9
- package/zova/src/suite/a-home/modules/home-api/mock/passport.fake.ts +50 -1
- package/zova/src/suite/a-home/modules/home-api/src/api/openapi/types.ts +15 -7
- package/zova/src/suite/a-home/modules/home-base/src/.metadata/index.ts +10 -0
- package/zova/src/suite/a-home/modules/home-base/src/page/errorAccessDenied/controller.tsx +1 -1
- package/zova/src/suite/a-training/modules/training-student/src/api/openapi/types.ts +26 -17
- package/zova/src/suite/cabloy-basic/modules/basic-file/src/api/openapi/types.ts +26 -17
- package/zova/src/suite/cabloy-basic/modules/basic-image/src/api/openapi/types.ts +26 -17
- 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
|
@@ -235,8 +235,25 @@ const __sdkSchemaPassportLogin = {
|
|
|
235
235
|
type: 'string',
|
|
236
236
|
title: '角色名',
|
|
237
237
|
},
|
|
238
|
+
title: {
|
|
239
|
+
type: 'string',
|
|
240
|
+
title: '角色标题',
|
|
241
|
+
},
|
|
242
|
+
locales: {
|
|
243
|
+
type: 'object',
|
|
244
|
+
additionalProperties: {
|
|
245
|
+
type: 'string',
|
|
246
|
+
},
|
|
247
|
+
title: '角色本地化文本',
|
|
248
|
+
},
|
|
249
|
+
siteIds: {
|
|
250
|
+
type: 'array',
|
|
251
|
+
items: {
|
|
252
|
+
type: 'string',
|
|
253
|
+
},
|
|
254
|
+
},
|
|
238
255
|
},
|
|
239
|
-
required: ['createdAt', 'updatedAt', 'id', 'name'],
|
|
256
|
+
required: ['createdAt', 'updatedAt', 'id', 'name', 'title', 'siteIds'],
|
|
240
257
|
title: '角色',
|
|
241
258
|
},
|
|
242
259
|
'a-jwt.dto.jwtToken': {
|
|
@@ -393,6 +410,22 @@ export default defineFakeRoute([
|
|
|
393
410
|
auth: {
|
|
394
411
|
id: 1,
|
|
395
412
|
},
|
|
413
|
+
roles: [
|
|
414
|
+
{
|
|
415
|
+
id: 1,
|
|
416
|
+
name: 'registeredUser',
|
|
417
|
+
title: 'Registered User',
|
|
418
|
+
locales: { 'zh-cn': '注册用户' },
|
|
419
|
+
siteIds: ['web'],
|
|
420
|
+
},
|
|
421
|
+
{
|
|
422
|
+
id: 2,
|
|
423
|
+
name: 'systemAdmin',
|
|
424
|
+
title: 'System Administrator',
|
|
425
|
+
locales: { 'zh-cn': '系统管理员' },
|
|
426
|
+
siteIds: ['web', 'admin'],
|
|
427
|
+
},
|
|
428
|
+
],
|
|
396
429
|
},
|
|
397
430
|
jwt: {
|
|
398
431
|
accessToken: `accessToken-${user.name}`,
|
|
@@ -423,6 +456,22 @@ export default defineFakeRoute([
|
|
|
423
456
|
auth: {
|
|
424
457
|
id: 1,
|
|
425
458
|
},
|
|
459
|
+
roles: [
|
|
460
|
+
{
|
|
461
|
+
id: 1,
|
|
462
|
+
name: 'registeredUser',
|
|
463
|
+
title: 'Registered User',
|
|
464
|
+
locales: { 'zh-cn': '注册用户' },
|
|
465
|
+
siteIds: ['web'],
|
|
466
|
+
},
|
|
467
|
+
{
|
|
468
|
+
id: 2,
|
|
469
|
+
name: 'systemAdmin',
|
|
470
|
+
title: 'System Administrator',
|
|
471
|
+
locales: { 'zh-cn': '系统管理员' },
|
|
472
|
+
siteIds: ['web', 'admin'],
|
|
473
|
+
},
|
|
474
|
+
],
|
|
426
475
|
},
|
|
427
476
|
};
|
|
428
477
|
},
|
|
@@ -1531,6 +1531,14 @@ export interface components {
|
|
|
1531
1531
|
id: number | string;
|
|
1532
1532
|
/** @description Role Name */
|
|
1533
1533
|
name: string;
|
|
1534
|
+
/** @description Role Title */
|
|
1535
|
+
title: string;
|
|
1536
|
+
/** @description Role Locales */
|
|
1537
|
+
locales?:
|
|
1538
|
+
| {
|
|
1539
|
+
[key: string]: string;
|
|
1540
|
+
}
|
|
1541
|
+
| undefined;
|
|
1534
1542
|
siteIds: string[];
|
|
1535
1543
|
};
|
|
1536
1544
|
'home-user.dto.passportJwt': {
|
|
@@ -3568,7 +3576,7 @@ export interface operations {
|
|
|
3568
3576
|
'application/json': {
|
|
3569
3577
|
code: string;
|
|
3570
3578
|
message: string;
|
|
3571
|
-
data
|
|
3579
|
+
data: undefined;
|
|
3572
3580
|
};
|
|
3573
3581
|
};
|
|
3574
3582
|
};
|
|
@@ -3598,7 +3606,7 @@ export interface operations {
|
|
|
3598
3606
|
'application/json': {
|
|
3599
3607
|
code: string;
|
|
3600
3608
|
message: string;
|
|
3601
|
-
data
|
|
3609
|
+
data: undefined;
|
|
3602
3610
|
};
|
|
3603
3611
|
};
|
|
3604
3612
|
};
|
|
@@ -3715,7 +3723,7 @@ export interface operations {
|
|
|
3715
3723
|
'application/json': {
|
|
3716
3724
|
code: string;
|
|
3717
3725
|
message: string;
|
|
3718
|
-
data
|
|
3726
|
+
data: undefined;
|
|
3719
3727
|
};
|
|
3720
3728
|
};
|
|
3721
3729
|
};
|
|
@@ -3745,7 +3753,7 @@ export interface operations {
|
|
|
3745
3753
|
'application/json': {
|
|
3746
3754
|
code: string;
|
|
3747
3755
|
message: string;
|
|
3748
|
-
data
|
|
3756
|
+
data: undefined;
|
|
3749
3757
|
};
|
|
3750
3758
|
};
|
|
3751
3759
|
};
|
|
@@ -3797,7 +3805,7 @@ export interface operations {
|
|
|
3797
3805
|
'application/json': {
|
|
3798
3806
|
code: string;
|
|
3799
3807
|
message: string;
|
|
3800
|
-
data
|
|
3808
|
+
data: undefined;
|
|
3801
3809
|
};
|
|
3802
3810
|
};
|
|
3803
3811
|
};
|
|
@@ -4408,7 +4416,7 @@ export interface operations {
|
|
|
4408
4416
|
'application/json': {
|
|
4409
4417
|
code: string;
|
|
4410
4418
|
message: string;
|
|
4411
|
-
data
|
|
4419
|
+
data: undefined;
|
|
4412
4420
|
};
|
|
4413
4421
|
};
|
|
4414
4422
|
};
|
|
@@ -4438,7 +4446,7 @@ export interface operations {
|
|
|
4438
4446
|
'application/json': {
|
|
4439
4447
|
code: string;
|
|
4440
4448
|
message: string;
|
|
4441
|
-
data
|
|
4449
|
+
data: undefined;
|
|
4442
4450
|
};
|
|
4443
4451
|
};
|
|
4444
4452
|
};
|
|
@@ -83,6 +83,7 @@ declare module 'zova' {
|
|
|
83
83
|
export * from '../component/itemLink/controller.jsx';
|
|
84
84
|
export * from '../component/page/controller.jsx';
|
|
85
85
|
export * from '../page/authCallback/controller.jsx';
|
|
86
|
+
export * from '../page/errorAccessDenied/controller.jsx';
|
|
86
87
|
export * from '../page/errorExpired/controller.jsx';
|
|
87
88
|
export * from '../page/errorNotFound/controller.jsx';
|
|
88
89
|
|
|
@@ -108,6 +109,11 @@ declare module 'zova-module-home-base' {
|
|
|
108
109
|
get scope(): ScopeModuleHomeBase;
|
|
109
110
|
}
|
|
110
111
|
|
|
112
|
+
export interface ControllerPageErrorAccessDenied {
|
|
113
|
+
/** @internal */
|
|
114
|
+
get scope(): ScopeModuleHomeBase;
|
|
115
|
+
}
|
|
116
|
+
|
|
111
117
|
export interface ControllerPageErrorExpired {
|
|
112
118
|
/** @internal */
|
|
113
119
|
get scope(): ScopeModuleHomeBase;
|
|
@@ -123,6 +129,7 @@ declare module 'zova-module-home-base' {
|
|
|
123
129
|
import { ControllerItemLink } from '../component/itemLink/controller.jsx';
|
|
124
130
|
import { ControllerPage } from '../component/page/controller.jsx';
|
|
125
131
|
import { ControllerPageAuthCallback } from '../page/authCallback/controller.jsx';
|
|
132
|
+
import { ControllerPageErrorAccessDenied } from '../page/errorAccessDenied/controller.jsx';
|
|
126
133
|
import { ControllerPageErrorExpired } from '../page/errorExpired/controller.jsx';
|
|
127
134
|
import { ControllerPageErrorNotFound } from '../page/errorNotFound/controller.jsx';
|
|
128
135
|
import 'zova';
|
|
@@ -131,6 +138,7 @@ declare module 'zova' {
|
|
|
131
138
|
'home-base.controller.itemLink': ControllerItemLink;
|
|
132
139
|
'home-base.controller.page': ControllerPage;
|
|
133
140
|
'home-base.controller.pageAuthCallback': ControllerPageAuthCallback;
|
|
141
|
+
'home-base.controller.pageErrorAccessDenied': ControllerPageErrorAccessDenied;
|
|
134
142
|
'home-base.controller.pageErrorExpired': ControllerPageErrorExpired;
|
|
135
143
|
'home-base.controller.pageErrorNotFound': ControllerPageErrorNotFound;
|
|
136
144
|
}
|
|
@@ -139,6 +147,7 @@ declare module 'zova' {
|
|
|
139
147
|
/** pages: begin */
|
|
140
148
|
export * from './page/authCallback.js';
|
|
141
149
|
import { NSControllerPageAuthCallback } from './page/authCallback.js';
|
|
150
|
+
export * from './page/errorAccessDenied.js';
|
|
142
151
|
export * from './page/errorExpired.js';
|
|
143
152
|
import { NSControllerPageErrorExpired } from './page/errorExpired.js';
|
|
144
153
|
export * from './page/errorNotFound.js';
|
|
@@ -148,6 +157,7 @@ import 'zova';
|
|
|
148
157
|
declare module 'zova-module-a-router' {
|
|
149
158
|
export interface IPagePathRecord {
|
|
150
159
|
'/home/base/authCallback': TypePagePathSchema<undefined,NSControllerPageAuthCallback.QueryInput>;
|
|
160
|
+
'/home/base/errorAccessDenied': TypePagePathSchema<undefined,undefined>;
|
|
151
161
|
'/home/base/errorExpired': TypePagePathSchema<undefined,NSControllerPageErrorExpired.QueryInput>;
|
|
152
162
|
'/home/base//:catchAll(.*)*': TypePagePathSchema<undefined,undefined>;
|
|
153
163
|
}
|
|
@@ -256,7 +256,7 @@ export interface paths {
|
|
|
256
256
|
patch?: never;
|
|
257
257
|
trace?: never;
|
|
258
258
|
};
|
|
259
|
-
'/api/home/user/passport/
|
|
259
|
+
'/api/home/user/passport/refreshAuthToken': {
|
|
260
260
|
parameters: {
|
|
261
261
|
query?: never;
|
|
262
262
|
header?: never;
|
|
@@ -265,14 +265,14 @@ export interface paths {
|
|
|
265
265
|
};
|
|
266
266
|
get?: never;
|
|
267
267
|
put?: never;
|
|
268
|
-
post: operations['
|
|
268
|
+
post: operations['HomeUserPassport_refreshAuthToken'];
|
|
269
269
|
delete?: never;
|
|
270
270
|
options?: never;
|
|
271
271
|
head?: never;
|
|
272
272
|
patch?: never;
|
|
273
273
|
trace?: never;
|
|
274
274
|
};
|
|
275
|
-
'/api/home/user/passport/
|
|
275
|
+
'/api/home/user/passport/createPassportJwtFromOauthCode': {
|
|
276
276
|
parameters: {
|
|
277
277
|
query?: never;
|
|
278
278
|
header?: never;
|
|
@@ -281,7 +281,7 @@ export interface paths {
|
|
|
281
281
|
};
|
|
282
282
|
get?: never;
|
|
283
283
|
put?: never;
|
|
284
|
-
post: operations['
|
|
284
|
+
post: operations['HomeUserPassport_createPassportJwtFromOauthCode'];
|
|
285
285
|
delete?: never;
|
|
286
286
|
options?: never;
|
|
287
287
|
head?: never;
|
|
@@ -1531,6 +1531,15 @@ export interface components {
|
|
|
1531
1531
|
id: number | string;
|
|
1532
1532
|
/** @description Role Name */
|
|
1533
1533
|
name: string;
|
|
1534
|
+
/** @description Role Title */
|
|
1535
|
+
title: string;
|
|
1536
|
+
/** @description Role Locales */
|
|
1537
|
+
locales?:
|
|
1538
|
+
| {
|
|
1539
|
+
[key: string]: string;
|
|
1540
|
+
}
|
|
1541
|
+
| undefined;
|
|
1542
|
+
siteIds: string[];
|
|
1534
1543
|
};
|
|
1535
1544
|
'home-user.dto.passportJwt': {
|
|
1536
1545
|
passport: components['schemas']['home-user.dto.passport'];
|
|
@@ -3373,7 +3382,7 @@ export interface operations {
|
|
|
3373
3382
|
};
|
|
3374
3383
|
authToken: true;
|
|
3375
3384
|
};
|
|
3376
|
-
|
|
3385
|
+
HomeUserPassport_refreshAuthToken: {
|
|
3377
3386
|
parameters: {
|
|
3378
3387
|
query?: never;
|
|
3379
3388
|
header?: never;
|
|
@@ -3383,7 +3392,7 @@ export interface operations {
|
|
|
3383
3392
|
requestBody: {
|
|
3384
3393
|
content: {
|
|
3385
3394
|
'application/json': {
|
|
3386
|
-
|
|
3395
|
+
refreshToken: string;
|
|
3387
3396
|
};
|
|
3388
3397
|
};
|
|
3389
3398
|
};
|
|
@@ -3396,13 +3405,13 @@ export interface operations {
|
|
|
3396
3405
|
'application/json': {
|
|
3397
3406
|
code: string;
|
|
3398
3407
|
message: string;
|
|
3399
|
-
data: components['schemas']['
|
|
3408
|
+
data: components['schemas']['a-jwt.dto.jwtToken'];
|
|
3400
3409
|
};
|
|
3401
3410
|
};
|
|
3402
3411
|
};
|
|
3403
3412
|
};
|
|
3404
3413
|
};
|
|
3405
|
-
|
|
3414
|
+
HomeUserPassport_createPassportJwtFromOauthCode: {
|
|
3406
3415
|
parameters: {
|
|
3407
3416
|
query?: never;
|
|
3408
3417
|
header?: never;
|
|
@@ -3412,7 +3421,7 @@ export interface operations {
|
|
|
3412
3421
|
requestBody: {
|
|
3413
3422
|
content: {
|
|
3414
3423
|
'application/json': {
|
|
3415
|
-
|
|
3424
|
+
code: string;
|
|
3416
3425
|
};
|
|
3417
3426
|
};
|
|
3418
3427
|
};
|
|
@@ -3425,7 +3434,7 @@ export interface operations {
|
|
|
3425
3434
|
'application/json': {
|
|
3426
3435
|
code: string;
|
|
3427
3436
|
message: string;
|
|
3428
|
-
data: components['schemas']['
|
|
3437
|
+
data: components['schemas']['home-user.dto.passportJwt'];
|
|
3429
3438
|
};
|
|
3430
3439
|
};
|
|
3431
3440
|
};
|
|
@@ -3567,7 +3576,7 @@ export interface operations {
|
|
|
3567
3576
|
'application/json': {
|
|
3568
3577
|
code: string;
|
|
3569
3578
|
message: string;
|
|
3570
|
-
data
|
|
3579
|
+
data: undefined;
|
|
3571
3580
|
};
|
|
3572
3581
|
};
|
|
3573
3582
|
};
|
|
@@ -3597,7 +3606,7 @@ export interface operations {
|
|
|
3597
3606
|
'application/json': {
|
|
3598
3607
|
code: string;
|
|
3599
3608
|
message: string;
|
|
3600
|
-
data
|
|
3609
|
+
data: undefined;
|
|
3601
3610
|
};
|
|
3602
3611
|
};
|
|
3603
3612
|
};
|
|
@@ -3714,7 +3723,7 @@ export interface operations {
|
|
|
3714
3723
|
'application/json': {
|
|
3715
3724
|
code: string;
|
|
3716
3725
|
message: string;
|
|
3717
|
-
data
|
|
3726
|
+
data: undefined;
|
|
3718
3727
|
};
|
|
3719
3728
|
};
|
|
3720
3729
|
};
|
|
@@ -3744,7 +3753,7 @@ export interface operations {
|
|
|
3744
3753
|
'application/json': {
|
|
3745
3754
|
code: string;
|
|
3746
3755
|
message: string;
|
|
3747
|
-
data
|
|
3756
|
+
data: undefined;
|
|
3748
3757
|
};
|
|
3749
3758
|
};
|
|
3750
3759
|
};
|
|
@@ -3796,7 +3805,7 @@ export interface operations {
|
|
|
3796
3805
|
'application/json': {
|
|
3797
3806
|
code: string;
|
|
3798
3807
|
message: string;
|
|
3799
|
-
data
|
|
3808
|
+
data: undefined;
|
|
3800
3809
|
};
|
|
3801
3810
|
};
|
|
3802
3811
|
};
|
|
@@ -4407,7 +4416,7 @@ export interface operations {
|
|
|
4407
4416
|
'application/json': {
|
|
4408
4417
|
code: string;
|
|
4409
4418
|
message: string;
|
|
4410
|
-
data
|
|
4419
|
+
data: undefined;
|
|
4411
4420
|
};
|
|
4412
4421
|
};
|
|
4413
4422
|
};
|
|
@@ -4437,7 +4446,7 @@ export interface operations {
|
|
|
4437
4446
|
'application/json': {
|
|
4438
4447
|
code: string;
|
|
4439
4448
|
message: string;
|
|
4440
|
-
data
|
|
4449
|
+
data: undefined;
|
|
4441
4450
|
};
|
|
4442
4451
|
};
|
|
4443
4452
|
};
|
|
@@ -256,7 +256,7 @@ export interface paths {
|
|
|
256
256
|
patch?: never;
|
|
257
257
|
trace?: never;
|
|
258
258
|
};
|
|
259
|
-
'/api/home/user/passport/
|
|
259
|
+
'/api/home/user/passport/refreshAuthToken': {
|
|
260
260
|
parameters: {
|
|
261
261
|
query?: never;
|
|
262
262
|
header?: never;
|
|
@@ -265,14 +265,14 @@ export interface paths {
|
|
|
265
265
|
};
|
|
266
266
|
get?: never;
|
|
267
267
|
put?: never;
|
|
268
|
-
post: operations['
|
|
268
|
+
post: operations['HomeUserPassport_refreshAuthToken'];
|
|
269
269
|
delete?: never;
|
|
270
270
|
options?: never;
|
|
271
271
|
head?: never;
|
|
272
272
|
patch?: never;
|
|
273
273
|
trace?: never;
|
|
274
274
|
};
|
|
275
|
-
'/api/home/user/passport/
|
|
275
|
+
'/api/home/user/passport/createPassportJwtFromOauthCode': {
|
|
276
276
|
parameters: {
|
|
277
277
|
query?: never;
|
|
278
278
|
header?: never;
|
|
@@ -281,7 +281,7 @@ export interface paths {
|
|
|
281
281
|
};
|
|
282
282
|
get?: never;
|
|
283
283
|
put?: never;
|
|
284
|
-
post: operations['
|
|
284
|
+
post: operations['HomeUserPassport_createPassportJwtFromOauthCode'];
|
|
285
285
|
delete?: never;
|
|
286
286
|
options?: never;
|
|
287
287
|
head?: never;
|
|
@@ -1531,6 +1531,15 @@ export interface components {
|
|
|
1531
1531
|
id: number | string;
|
|
1532
1532
|
/** @description Role Name */
|
|
1533
1533
|
name: string;
|
|
1534
|
+
/** @description Role Title */
|
|
1535
|
+
title: string;
|
|
1536
|
+
/** @description Role Locales */
|
|
1537
|
+
locales?:
|
|
1538
|
+
| {
|
|
1539
|
+
[key: string]: string;
|
|
1540
|
+
}
|
|
1541
|
+
| undefined;
|
|
1542
|
+
siteIds: string[];
|
|
1534
1543
|
};
|
|
1535
1544
|
'home-user.dto.passportJwt': {
|
|
1536
1545
|
passport: components['schemas']['home-user.dto.passport'];
|
|
@@ -3373,7 +3382,7 @@ export interface operations {
|
|
|
3373
3382
|
};
|
|
3374
3383
|
authToken: true;
|
|
3375
3384
|
};
|
|
3376
|
-
|
|
3385
|
+
HomeUserPassport_refreshAuthToken: {
|
|
3377
3386
|
parameters: {
|
|
3378
3387
|
query?: never;
|
|
3379
3388
|
header?: never;
|
|
@@ -3383,7 +3392,7 @@ export interface operations {
|
|
|
3383
3392
|
requestBody: {
|
|
3384
3393
|
content: {
|
|
3385
3394
|
'application/json': {
|
|
3386
|
-
|
|
3395
|
+
refreshToken: string;
|
|
3387
3396
|
};
|
|
3388
3397
|
};
|
|
3389
3398
|
};
|
|
@@ -3396,13 +3405,13 @@ export interface operations {
|
|
|
3396
3405
|
'application/json': {
|
|
3397
3406
|
code: string;
|
|
3398
3407
|
message: string;
|
|
3399
|
-
data: components['schemas']['
|
|
3408
|
+
data: components['schemas']['a-jwt.dto.jwtToken'];
|
|
3400
3409
|
};
|
|
3401
3410
|
};
|
|
3402
3411
|
};
|
|
3403
3412
|
};
|
|
3404
3413
|
};
|
|
3405
|
-
|
|
3414
|
+
HomeUserPassport_createPassportJwtFromOauthCode: {
|
|
3406
3415
|
parameters: {
|
|
3407
3416
|
query?: never;
|
|
3408
3417
|
header?: never;
|
|
@@ -3412,7 +3421,7 @@ export interface operations {
|
|
|
3412
3421
|
requestBody: {
|
|
3413
3422
|
content: {
|
|
3414
3423
|
'application/json': {
|
|
3415
|
-
|
|
3424
|
+
code: string;
|
|
3416
3425
|
};
|
|
3417
3426
|
};
|
|
3418
3427
|
};
|
|
@@ -3425,7 +3434,7 @@ export interface operations {
|
|
|
3425
3434
|
'application/json': {
|
|
3426
3435
|
code: string;
|
|
3427
3436
|
message: string;
|
|
3428
|
-
data: components['schemas']['
|
|
3437
|
+
data: components['schemas']['home-user.dto.passportJwt'];
|
|
3429
3438
|
};
|
|
3430
3439
|
};
|
|
3431
3440
|
};
|
|
@@ -3567,7 +3576,7 @@ export interface operations {
|
|
|
3567
3576
|
'application/json': {
|
|
3568
3577
|
code: string;
|
|
3569
3578
|
message: string;
|
|
3570
|
-
data
|
|
3579
|
+
data: undefined;
|
|
3571
3580
|
};
|
|
3572
3581
|
};
|
|
3573
3582
|
};
|
|
@@ -3597,7 +3606,7 @@ export interface operations {
|
|
|
3597
3606
|
'application/json': {
|
|
3598
3607
|
code: string;
|
|
3599
3608
|
message: string;
|
|
3600
|
-
data
|
|
3609
|
+
data: undefined;
|
|
3601
3610
|
};
|
|
3602
3611
|
};
|
|
3603
3612
|
};
|
|
@@ -3714,7 +3723,7 @@ export interface operations {
|
|
|
3714
3723
|
'application/json': {
|
|
3715
3724
|
code: string;
|
|
3716
3725
|
message: string;
|
|
3717
|
-
data
|
|
3726
|
+
data: undefined;
|
|
3718
3727
|
};
|
|
3719
3728
|
};
|
|
3720
3729
|
};
|
|
@@ -3744,7 +3753,7 @@ export interface operations {
|
|
|
3744
3753
|
'application/json': {
|
|
3745
3754
|
code: string;
|
|
3746
3755
|
message: string;
|
|
3747
|
-
data
|
|
3756
|
+
data: undefined;
|
|
3748
3757
|
};
|
|
3749
3758
|
};
|
|
3750
3759
|
};
|
|
@@ -3796,7 +3805,7 @@ export interface operations {
|
|
|
3796
3805
|
'application/json': {
|
|
3797
3806
|
code: string;
|
|
3798
3807
|
message: string;
|
|
3799
|
-
data
|
|
3808
|
+
data: undefined;
|
|
3800
3809
|
};
|
|
3801
3810
|
};
|
|
3802
3811
|
};
|
|
@@ -4407,7 +4416,7 @@ export interface operations {
|
|
|
4407
4416
|
'application/json': {
|
|
4408
4417
|
code: string;
|
|
4409
4418
|
message: string;
|
|
4410
|
-
data
|
|
4419
|
+
data: undefined;
|
|
4411
4420
|
};
|
|
4412
4421
|
};
|
|
4413
4422
|
};
|
|
@@ -4437,7 +4446,7 @@ export interface operations {
|
|
|
4437
4446
|
'application/json': {
|
|
4438
4447
|
code: string;
|
|
4439
4448
|
message: string;
|
|
4440
|
-
data
|
|
4449
|
+
data: undefined;
|
|
4441
4450
|
};
|
|
4442
4451
|
};
|
|
4443
4452
|
};
|
|
@@ -256,7 +256,7 @@ export interface paths {
|
|
|
256
256
|
patch?: never;
|
|
257
257
|
trace?: never;
|
|
258
258
|
};
|
|
259
|
-
'/api/home/user/passport/
|
|
259
|
+
'/api/home/user/passport/refreshAuthToken': {
|
|
260
260
|
parameters: {
|
|
261
261
|
query?: never;
|
|
262
262
|
header?: never;
|
|
@@ -265,14 +265,14 @@ export interface paths {
|
|
|
265
265
|
};
|
|
266
266
|
get?: never;
|
|
267
267
|
put?: never;
|
|
268
|
-
post: operations['
|
|
268
|
+
post: operations['HomeUserPassport_refreshAuthToken'];
|
|
269
269
|
delete?: never;
|
|
270
270
|
options?: never;
|
|
271
271
|
head?: never;
|
|
272
272
|
patch?: never;
|
|
273
273
|
trace?: never;
|
|
274
274
|
};
|
|
275
|
-
'/api/home/user/passport/
|
|
275
|
+
'/api/home/user/passport/createPassportJwtFromOauthCode': {
|
|
276
276
|
parameters: {
|
|
277
277
|
query?: never;
|
|
278
278
|
header?: never;
|
|
@@ -281,7 +281,7 @@ export interface paths {
|
|
|
281
281
|
};
|
|
282
282
|
get?: never;
|
|
283
283
|
put?: never;
|
|
284
|
-
post: operations['
|
|
284
|
+
post: operations['HomeUserPassport_createPassportJwtFromOauthCode'];
|
|
285
285
|
delete?: never;
|
|
286
286
|
options?: never;
|
|
287
287
|
head?: never;
|
|
@@ -1531,6 +1531,15 @@ export interface components {
|
|
|
1531
1531
|
id: number | string;
|
|
1532
1532
|
/** @description Role Name */
|
|
1533
1533
|
name: string;
|
|
1534
|
+
/** @description Role Title */
|
|
1535
|
+
title: string;
|
|
1536
|
+
/** @description Role Locales */
|
|
1537
|
+
locales?:
|
|
1538
|
+
| {
|
|
1539
|
+
[key: string]: string;
|
|
1540
|
+
}
|
|
1541
|
+
| undefined;
|
|
1542
|
+
siteIds: string[];
|
|
1534
1543
|
};
|
|
1535
1544
|
'home-user.dto.passportJwt': {
|
|
1536
1545
|
passport: components['schemas']['home-user.dto.passport'];
|
|
@@ -3373,7 +3382,7 @@ export interface operations {
|
|
|
3373
3382
|
};
|
|
3374
3383
|
authToken: true;
|
|
3375
3384
|
};
|
|
3376
|
-
|
|
3385
|
+
HomeUserPassport_refreshAuthToken: {
|
|
3377
3386
|
parameters: {
|
|
3378
3387
|
query?: never;
|
|
3379
3388
|
header?: never;
|
|
@@ -3383,7 +3392,7 @@ export interface operations {
|
|
|
3383
3392
|
requestBody: {
|
|
3384
3393
|
content: {
|
|
3385
3394
|
'application/json': {
|
|
3386
|
-
|
|
3395
|
+
refreshToken: string;
|
|
3387
3396
|
};
|
|
3388
3397
|
};
|
|
3389
3398
|
};
|
|
@@ -3396,13 +3405,13 @@ export interface operations {
|
|
|
3396
3405
|
'application/json': {
|
|
3397
3406
|
code: string;
|
|
3398
3407
|
message: string;
|
|
3399
|
-
data: components['schemas']['
|
|
3408
|
+
data: components['schemas']['a-jwt.dto.jwtToken'];
|
|
3400
3409
|
};
|
|
3401
3410
|
};
|
|
3402
3411
|
};
|
|
3403
3412
|
};
|
|
3404
3413
|
};
|
|
3405
|
-
|
|
3414
|
+
HomeUserPassport_createPassportJwtFromOauthCode: {
|
|
3406
3415
|
parameters: {
|
|
3407
3416
|
query?: never;
|
|
3408
3417
|
header?: never;
|
|
@@ -3412,7 +3421,7 @@ export interface operations {
|
|
|
3412
3421
|
requestBody: {
|
|
3413
3422
|
content: {
|
|
3414
3423
|
'application/json': {
|
|
3415
|
-
|
|
3424
|
+
code: string;
|
|
3416
3425
|
};
|
|
3417
3426
|
};
|
|
3418
3427
|
};
|
|
@@ -3425,7 +3434,7 @@ export interface operations {
|
|
|
3425
3434
|
'application/json': {
|
|
3426
3435
|
code: string;
|
|
3427
3436
|
message: string;
|
|
3428
|
-
data: components['schemas']['
|
|
3437
|
+
data: components['schemas']['home-user.dto.passportJwt'];
|
|
3429
3438
|
};
|
|
3430
3439
|
};
|
|
3431
3440
|
};
|
|
@@ -3567,7 +3576,7 @@ export interface operations {
|
|
|
3567
3576
|
'application/json': {
|
|
3568
3577
|
code: string;
|
|
3569
3578
|
message: string;
|
|
3570
|
-
data
|
|
3579
|
+
data: undefined;
|
|
3571
3580
|
};
|
|
3572
3581
|
};
|
|
3573
3582
|
};
|
|
@@ -3597,7 +3606,7 @@ export interface operations {
|
|
|
3597
3606
|
'application/json': {
|
|
3598
3607
|
code: string;
|
|
3599
3608
|
message: string;
|
|
3600
|
-
data
|
|
3609
|
+
data: undefined;
|
|
3601
3610
|
};
|
|
3602
3611
|
};
|
|
3603
3612
|
};
|
|
@@ -3714,7 +3723,7 @@ export interface operations {
|
|
|
3714
3723
|
'application/json': {
|
|
3715
3724
|
code: string;
|
|
3716
3725
|
message: string;
|
|
3717
|
-
data
|
|
3726
|
+
data: undefined;
|
|
3718
3727
|
};
|
|
3719
3728
|
};
|
|
3720
3729
|
};
|
|
@@ -3744,7 +3753,7 @@ export interface operations {
|
|
|
3744
3753
|
'application/json': {
|
|
3745
3754
|
code: string;
|
|
3746
3755
|
message: string;
|
|
3747
|
-
data
|
|
3756
|
+
data: undefined;
|
|
3748
3757
|
};
|
|
3749
3758
|
};
|
|
3750
3759
|
};
|
|
@@ -3796,7 +3805,7 @@ export interface operations {
|
|
|
3796
3805
|
'application/json': {
|
|
3797
3806
|
code: string;
|
|
3798
3807
|
message: string;
|
|
3799
|
-
data
|
|
3808
|
+
data: undefined;
|
|
3800
3809
|
};
|
|
3801
3810
|
};
|
|
3802
3811
|
};
|
|
@@ -4407,7 +4416,7 @@ export interface operations {
|
|
|
4407
4416
|
'application/json': {
|
|
4408
4417
|
code: string;
|
|
4409
4418
|
message: string;
|
|
4410
|
-
data
|
|
4419
|
+
data: undefined;
|
|
4411
4420
|
};
|
|
4412
4421
|
};
|
|
4413
4422
|
};
|
|
@@ -4437,7 +4446,7 @@ export interface operations {
|
|
|
4437
4446
|
'application/json': {
|
|
4438
4447
|
code: string;
|
|
4439
4448
|
message: string;
|
|
4440
|
-
data
|
|
4449
|
+
data: undefined;
|
|
4441
4450
|
};
|
|
4442
4451
|
};
|
|
4443
4452
|
};
|