shcp-api-lib 1.0.2 → 1.0.5
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/dist/index.d.ts +8763 -2967
- package/dist/index.esm.js +5055 -942
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +5122 -959
- package/dist/index.js.map +1 -1
- package/dist/types/src/api/ai-api.d.ts +17 -0
- package/dist/types/src/api/ai-application-api.d.ts +17 -0
- package/dist/types/src/api/app-client-api.d.ts +2 -2
- package/dist/types/src/api/app-client-page-config-api.d.ts +19 -3
- package/dist/types/src/api/app-client-setting-api.d.ts +32 -2
- package/dist/types/src/api/common-file-api.d.ts +1 -0
- package/dist/types/src/api/common-right-api.d.ts +6 -1
- package/dist/types/src/api/consumer-api.d.ts +7 -2
- package/dist/types/src/api/disease-care-api.d.ts +91 -0
- package/dist/types/src/api/flow-follow-api.d.ts +22 -0
- package/dist/types/src/api/flow-manager-api.d.ts +40 -0
- package/dist/types/src/api/flow-model-api.d.ts +35 -0
- package/dist/types/src/api/flow-process-api.d.ts +27 -0
- package/dist/types/src/api/health-medication-api.d.ts +25 -0
- package/dist/types/src/api/health-metric-api.d.ts +10 -10
- package/dist/types/src/api/health-profile-api.d.ts +13 -2
- package/dist/types/src/api/health-study-api.d.ts +61 -0
- package/dist/types/src/api/index.d.ts +43 -2
- package/dist/types/src/api/job-info-api.d.ts +63 -0
- package/dist/types/src/api/job-server-api.d.ts +58 -0
- package/dist/types/src/api/km-article-api.d.ts +34 -11
- package/dist/types/src/api/km-article-apply-api.d.ts +9 -0
- package/dist/types/src/api/km-article-category-api.d.ts +39 -0
- package/dist/types/src/api/km-article-draft-api.d.ts +29 -0
- package/dist/types/src/api/km-article-tag-api.d.ts +29 -0
- package/dist/types/src/api/km-article-tag-category-api.d.ts +34 -0
- package/dist/types/src/api/km-form-api.d.ts +37 -7
- package/dist/types/src/api/km-form-category-api.d.ts +39 -0
- package/dist/types/src/api/km-form-content-draft-api.d.ts +14 -0
- package/dist/types/src/api/km-form-draft-api.d.ts +14 -0
- package/dist/types/src/api/km-form-item-api.d.ts +9 -0
- package/dist/types/src/api/km-form-tree-node-api.d.ts +29 -0
- package/dist/types/src/api/km-tag-api.d.ts +42 -0
- package/dist/types/src/api/km-tag-category-api.d.ts +47 -0
- package/dist/types/src/api/km-tag-value-dict-api.d.ts +32 -0
- package/dist/types/src/api/license-api.d.ts +50 -0
- package/dist/types/src/api/login-api.d.ts +6 -1
- package/dist/types/src/api/potential-customer-api.d.ts +14 -0
- package/dist/types/src/api/region-api.d.ts +70 -0
- package/dist/types/src/api/report-api.d.ts +9 -0
- package/dist/types/src/api/right-api.d.ts +39 -0
- package/dist/types/src/api/right-draft-api.d.ts +59 -0
- package/dist/types/src/api/right-draft-service-config-api.d.ts +28 -0
- package/dist/types/src/api/right-service-config-api.d.ts +26 -6
- package/dist/types/src/api/rule-api.d.ts +39 -0
- package/dist/types/src/api/system-ApiScopeController-api.d.ts +39 -0
- package/dist/types/src/api/system-DeptController-api.d.ts +27 -0
- package/dist/types/src/api/system-DictBizController-api.d.ts +33 -0
- package/dist/types/src/api/system-DictController-api.d.ts +33 -0
- package/dist/types/src/api/system-MenuController-api.d.ts +42 -0
- package/dist/types/src/api/system-PostController-api.d.ts +49 -0
- package/dist/types/src/api/system-RoleController-api.d.ts +48 -0
- package/dist/types/src/api/system-TenantController-api.d.ts +118 -0
- package/dist/types/src/api/system-TenantPackageController-api.d.ts +44 -0
- package/dist/types/src/api/system-TopMenuController-api.d.ts +44 -0
- package/dist/types/src/api/system-UserController-api.d.ts +116 -0
- package/dist/types/src/api/system-right-api.d.ts +3 -3
- package/dist/types/src/api/user-group-api.d.ts +13 -1
- package/dist/types/src/constants/qiniuUploader.d.ts +2 -14
- package/dist/types/src/constants/shcp-common.d.ts +114 -0
- package/dist/types/src/index.d.ts +4 -0
- package/dist/types/src/shcp-api-sdk.d.ts +17 -4
- package/dist/types/src/type/model/ai-model.d.ts +69 -0
- package/dist/types/src/type/model/app-client-page-config-model.d.ts +148 -0
- package/dist/types/src/type/model/app-client-setting-model.d.ts +55 -0
- package/dist/types/src/type/model/common-right-model.d.ts +129 -7
- package/dist/types/src/type/model/consumer-model.d.ts +34 -38
- package/dist/types/src/type/model/flow-follow-model.d.ts +14 -0
- package/dist/types/src/type/model/flow-manager-model.d.ts +16 -0
- package/dist/types/src/type/model/flow-model-model.d.ts +14 -0
- package/dist/types/src/type/model/flow-process-model.d.ts +13 -0
- package/dist/types/src/type/model/health-medication-model.d.ts +177 -0
- package/dist/types/src/type/model/health-metric-model.d.ts +8 -8
- package/dist/types/src/type/model/index.d.ts +28 -0
- package/dist/types/src/type/model/job-info-model.d.ts +24 -0
- package/dist/types/src/type/model/job-server-model.d.ts +20 -0
- package/dist/types/src/type/model/km-article-model.d.ts +579 -5
- package/dist/types/src/type/model/km-form-model.d.ts +739 -2
- package/dist/types/src/type/model/km-tag-model.d.ts +623 -0
- package/dist/types/src/type/model/license-model.d.ts +84 -0
- package/dist/types/src/type/model/login-model.d.ts +6 -0
- package/dist/types/src/type/model/potential-customer-model.d.ts +136 -0
- package/dist/types/src/type/model/region-model.d.ts +36 -0
- package/dist/types/src/type/model/report-model.d.ts +75 -0
- package/dist/types/src/type/model/right-draft-model.d.ts +243 -0
- package/dist/types/src/type/model/right-model.d.ts +88 -0
- package/dist/types/src/type/model/rule-model.d.ts +140 -0
- package/dist/types/src/type/model/system-ApiScopeController-model.d.ts +36 -0
- package/dist/types/src/type/model/system-DeptController-model.d.ts +26 -0
- package/dist/types/src/type/model/system-DictBizController-model.d.ts +25 -0
- package/dist/types/src/type/model/system-DictController-model.d.ts +25 -0
- package/dist/types/src/type/model/system-MenuController-model.d.ts +56 -0
- package/dist/types/src/type/model/system-PostController-model.d.ts +22 -0
- package/dist/types/src/type/model/system-RoleController-model.d.ts +35 -0
- package/dist/types/src/type/model/system-TenantController-model.d.ts +61 -0
- package/dist/types/src/type/model/system-TenantPackageController-model.d.ts +14 -0
- package/dist/types/src/type/model/system-TopMenuController-model.d.ts +27 -0
- package/dist/types/src/type/model/system-UserController-model.d.ts +51 -0
- package/package.json +13 -13
- package/dist/types/src/api/disease-care-right-api.d.ts +0 -22
- package/dist/types/src/api/health-study-right-api.d.ts +0 -23
@@ -1,4 +1,4 @@
|
|
1
|
-
import { PageRequest } from
|
1
|
+
import { PageRequest } from "./common-model";
|
2
2
|
/**
|
3
3
|
* 请求文章分类树请求入参
|
4
4
|
*/
|
@@ -23,7 +23,7 @@ export interface ArticleCategoryDTO {
|
|
23
23
|
/**
|
24
24
|
* 分类id
|
25
25
|
*/
|
26
|
-
id?: number;
|
26
|
+
id?: number | string;
|
27
27
|
/**
|
28
28
|
* 分类名称
|
29
29
|
*/
|
@@ -116,7 +116,7 @@ export interface ArticleQuery extends PageRequest {
|
|
116
116
|
/**
|
117
117
|
* 分类ID列表
|
118
118
|
*/
|
119
|
-
categoryIdList?: number[];
|
119
|
+
categoryIdList?: (number | string)[];
|
120
120
|
/**
|
121
121
|
* 是否草稿 0,否;1,是
|
122
122
|
*/
|
@@ -133,7 +133,7 @@ export interface ArticleDTO {
|
|
133
133
|
/**
|
134
134
|
* 文章id
|
135
135
|
*/
|
136
|
-
id?: number;
|
136
|
+
id?: number | string;
|
137
137
|
/**
|
138
138
|
* 租户id
|
139
139
|
*/
|
@@ -206,7 +206,7 @@ export interface ArticleTagDTO {
|
|
206
206
|
/**
|
207
207
|
* 标签id
|
208
208
|
*/
|
209
|
-
id?: number;
|
209
|
+
id?: number | string;
|
210
210
|
/**
|
211
211
|
* 标签名称
|
212
212
|
*/
|
@@ -273,3 +273,577 @@ export interface ArticleTagQuery extends PageRequest {
|
|
273
273
|
*/
|
274
274
|
articleType?: number;
|
275
275
|
}
|
276
|
+
/**
|
277
|
+
* 文章应用创建请求入参
|
278
|
+
*/
|
279
|
+
export interface ArticleApplyCreateRequest {
|
280
|
+
/**
|
281
|
+
* 文章id
|
282
|
+
*/
|
283
|
+
articleId: number | string;
|
284
|
+
/**
|
285
|
+
* 应用类型
|
286
|
+
*/
|
287
|
+
applyType?: number;
|
288
|
+
/**
|
289
|
+
* 应用id
|
290
|
+
*/
|
291
|
+
applyId: number;
|
292
|
+
/**
|
293
|
+
* 应用名称
|
294
|
+
*/
|
295
|
+
applyName: string;
|
296
|
+
}
|
297
|
+
/**
|
298
|
+
* 文章应用DTO
|
299
|
+
*/
|
300
|
+
export interface ArticleApplyDTO {
|
301
|
+
/**
|
302
|
+
* id
|
303
|
+
*/
|
304
|
+
id?: number;
|
305
|
+
/**
|
306
|
+
* 租户id
|
307
|
+
*/
|
308
|
+
tenantId?: string;
|
309
|
+
/**
|
310
|
+
* 文章id
|
311
|
+
*/
|
312
|
+
articleId?: number | string;
|
313
|
+
/**
|
314
|
+
* 应用类型
|
315
|
+
*/
|
316
|
+
applyType?: number;
|
317
|
+
/**
|
318
|
+
* 应用id
|
319
|
+
*/
|
320
|
+
applyId?: number;
|
321
|
+
/**
|
322
|
+
* 应用名称
|
323
|
+
*/
|
324
|
+
applyName?: string;
|
325
|
+
}
|
326
|
+
/**
|
327
|
+
* 文章标签删除请求
|
328
|
+
*/
|
329
|
+
export interface ArticleTagDeleteRequest {
|
330
|
+
/**
|
331
|
+
* id集合
|
332
|
+
*/
|
333
|
+
ids: number[];
|
334
|
+
/**
|
335
|
+
* 前端无需理会,租户id
|
336
|
+
*/
|
337
|
+
tenantId?: string;
|
338
|
+
}
|
339
|
+
/**
|
340
|
+
* 文章标签创建请求
|
341
|
+
*/
|
342
|
+
export interface ArticleTagCreateRequest {
|
343
|
+
/**
|
344
|
+
* 标签名称
|
345
|
+
*/
|
346
|
+
name?: string;
|
347
|
+
/**
|
348
|
+
* 租户id
|
349
|
+
*/
|
350
|
+
tenantId: string;
|
351
|
+
/**
|
352
|
+
* 标签备注
|
353
|
+
*/
|
354
|
+
remark?: string;
|
355
|
+
/**
|
356
|
+
* 标签分类id
|
357
|
+
*/
|
358
|
+
categoryIds?: number[];
|
359
|
+
}
|
360
|
+
/**
|
361
|
+
* 文章标签更新请求
|
362
|
+
*/
|
363
|
+
export interface ArticleTagUpdateRequest {
|
364
|
+
/**
|
365
|
+
* 标签id
|
366
|
+
*/
|
367
|
+
id: number | string;
|
368
|
+
/**
|
369
|
+
* 前端可以忽略该参数,租户id
|
370
|
+
*/
|
371
|
+
tenantId?: string;
|
372
|
+
/**
|
373
|
+
* 标签名称
|
374
|
+
*/
|
375
|
+
name?: string;
|
376
|
+
/**
|
377
|
+
* 分类id
|
378
|
+
*/
|
379
|
+
categoryIds?: number[];
|
380
|
+
}
|
381
|
+
/**
|
382
|
+
* 文章分类创建请求
|
383
|
+
*/
|
384
|
+
export interface ArticleCategoryCreateRequest {
|
385
|
+
/**
|
386
|
+
* 租户id
|
387
|
+
*/
|
388
|
+
tenantId: string;
|
389
|
+
/**
|
390
|
+
* 分类的类型
|
391
|
+
*/
|
392
|
+
type?: number;
|
393
|
+
/**
|
394
|
+
* 父分类id
|
395
|
+
*/
|
396
|
+
parentId: number | string;
|
397
|
+
/**
|
398
|
+
* 分类名称
|
399
|
+
*/
|
400
|
+
name?: string;
|
401
|
+
/**
|
402
|
+
* 分类备注
|
403
|
+
*/
|
404
|
+
remark?: string;
|
405
|
+
/**
|
406
|
+
* 排序
|
407
|
+
*/
|
408
|
+
sort?: number;
|
409
|
+
}
|
410
|
+
/**
|
411
|
+
* 文章分类删除请求
|
412
|
+
*/
|
413
|
+
export interface ArticleCategoryDeleteRequest {
|
414
|
+
/**
|
415
|
+
* id列表
|
416
|
+
*/
|
417
|
+
ids: (number | string)[];
|
418
|
+
/**
|
419
|
+
* 前端无需理会,租户id
|
420
|
+
*/
|
421
|
+
tenantId?: string;
|
422
|
+
/**
|
423
|
+
* 是否移动至待分类-true.是(默认值),false.否
|
424
|
+
*/
|
425
|
+
isMoveUnCategory?: boolean;
|
426
|
+
}
|
427
|
+
/**
|
428
|
+
* 文章分类重命名请求
|
429
|
+
*/
|
430
|
+
export interface ArticleCategoryRenameRequest {
|
431
|
+
/**
|
432
|
+
* id
|
433
|
+
*/
|
434
|
+
id: number | string;
|
435
|
+
/**
|
436
|
+
* 名称
|
437
|
+
*/
|
438
|
+
name: string;
|
439
|
+
/**
|
440
|
+
* 前端无需理会,租户id
|
441
|
+
*/
|
442
|
+
tenantId?: string;
|
443
|
+
}
|
444
|
+
/**
|
445
|
+
* 文章分类移动请求
|
446
|
+
*/
|
447
|
+
export interface ArticleCategoryMoveRequest {
|
448
|
+
/**
|
449
|
+
* 源分类id
|
450
|
+
*/
|
451
|
+
sourceCategoryId: number | string;
|
452
|
+
/**
|
453
|
+
* 目标分类id
|
454
|
+
*/
|
455
|
+
targetCategoryId: number | string;
|
456
|
+
/**
|
457
|
+
* 前端无需理会,租户id
|
458
|
+
*/
|
459
|
+
tenantId?: string;
|
460
|
+
}
|
461
|
+
/**
|
462
|
+
* 文章分类批量更新请求入参
|
463
|
+
*/
|
464
|
+
export interface ArticleCategoryBashUpdateRequest {
|
465
|
+
/**
|
466
|
+
* 文章分类
|
467
|
+
*/
|
468
|
+
articleCategoryDTOList: ArticleCategoryDTO[];
|
469
|
+
}
|
470
|
+
/**
|
471
|
+
* 文章草稿创建请求
|
472
|
+
*/
|
473
|
+
export interface ArticleDraftCreateRequest {
|
474
|
+
/**
|
475
|
+
* 文章id
|
476
|
+
*/
|
477
|
+
articleId?: number | string;
|
478
|
+
/**
|
479
|
+
* 租户id
|
480
|
+
*/
|
481
|
+
tenantId: string;
|
482
|
+
/**
|
483
|
+
* 标题
|
484
|
+
*/
|
485
|
+
title?: string;
|
486
|
+
/**
|
487
|
+
* 副标题
|
488
|
+
*/
|
489
|
+
subTitle?: string;
|
490
|
+
/**
|
491
|
+
* 摘要
|
492
|
+
*/
|
493
|
+
remark?: string;
|
494
|
+
/**
|
495
|
+
* 封面
|
496
|
+
*/
|
497
|
+
cover?: string;
|
498
|
+
/**
|
499
|
+
* 文章类型
|
500
|
+
*/
|
501
|
+
type?: number;
|
502
|
+
/**
|
503
|
+
* 文章内容
|
504
|
+
*/
|
505
|
+
content?: string;
|
506
|
+
}
|
507
|
+
/**
|
508
|
+
* 文章草稿DTO
|
509
|
+
*/
|
510
|
+
export interface ArticleDraftDTO {
|
511
|
+
/**
|
512
|
+
* 文章草稿id
|
513
|
+
*/
|
514
|
+
id?: number | string;
|
515
|
+
/**
|
516
|
+
* 文章标题
|
517
|
+
*/
|
518
|
+
title?: string;
|
519
|
+
/**
|
520
|
+
* 文章副标题
|
521
|
+
*/
|
522
|
+
subTitle?: string;
|
523
|
+
/**
|
524
|
+
* 文章内容
|
525
|
+
*/
|
526
|
+
content?: string;
|
527
|
+
/**
|
528
|
+
* 文章摘要
|
529
|
+
*/
|
530
|
+
remark?: string;
|
531
|
+
/**
|
532
|
+
* 文章封面图片URL
|
533
|
+
*/
|
534
|
+
cover?: string;
|
535
|
+
/**
|
536
|
+
* 文章状态
|
537
|
+
*/
|
538
|
+
status?: number;
|
539
|
+
/**
|
540
|
+
* 文章浏览量
|
541
|
+
*/
|
542
|
+
viewCount?: number;
|
543
|
+
/**
|
544
|
+
* 文章引用量
|
545
|
+
*/
|
546
|
+
referenceCount?: number;
|
547
|
+
/**
|
548
|
+
* 文章类型
|
549
|
+
*/
|
550
|
+
type?: number;
|
551
|
+
/**
|
552
|
+
* 创建人
|
553
|
+
*/
|
554
|
+
createUser: number | string;
|
555
|
+
/**
|
556
|
+
* 创建时间
|
557
|
+
*/
|
558
|
+
createTime?: string;
|
559
|
+
/**
|
560
|
+
* 文章标签
|
561
|
+
*/
|
562
|
+
tags?: ArticleTagDTO[];
|
563
|
+
/**
|
564
|
+
* 关联分类
|
565
|
+
*/
|
566
|
+
categoryList?: ArticleCategoryDTO[];
|
567
|
+
}
|
568
|
+
/**
|
569
|
+
* 文章草稿查询入参
|
570
|
+
*/
|
571
|
+
export interface ArticleDraftQuery {
|
572
|
+
/**
|
573
|
+
* 文章草稿id
|
574
|
+
*/
|
575
|
+
id?: number | string;
|
576
|
+
/**
|
577
|
+
* 文章草稿id集合
|
578
|
+
*/
|
579
|
+
idList?: (number | string)[];
|
580
|
+
/**
|
581
|
+
* 租户id
|
582
|
+
*/
|
583
|
+
tenantId?: string;
|
584
|
+
/**
|
585
|
+
* 文章id
|
586
|
+
*/
|
587
|
+
articleId?: number | string;
|
588
|
+
/**
|
589
|
+
* 文章id集合
|
590
|
+
*/
|
591
|
+
articleIdList?: (number | string)[];
|
592
|
+
/**
|
593
|
+
* 标题-模糊查询
|
594
|
+
*/
|
595
|
+
title?: string;
|
596
|
+
/**
|
597
|
+
* 标题-等值查询
|
598
|
+
*/
|
599
|
+
titleExact?: string;
|
600
|
+
}
|
601
|
+
/**
|
602
|
+
* 文章草稿提交请求
|
603
|
+
*/
|
604
|
+
export interface ArticleDraftSubmitRequest {
|
605
|
+
/**
|
606
|
+
* 草稿id列表
|
607
|
+
*/
|
608
|
+
articleDraftIdList: (number | string)[];
|
609
|
+
/**
|
610
|
+
* 前端可以忽略租户id
|
611
|
+
*/
|
612
|
+
tenantId?: string;
|
613
|
+
}
|
614
|
+
/**
|
615
|
+
* 文章草稿更新请求
|
616
|
+
*/
|
617
|
+
export interface ArticleDraftUpdateRequest {
|
618
|
+
/**
|
619
|
+
* 草稿id
|
620
|
+
*/
|
621
|
+
id: number | string;
|
622
|
+
/**
|
623
|
+
* 前端忽略,租户id
|
624
|
+
*/
|
625
|
+
tenantId?: string;
|
626
|
+
/**
|
627
|
+
* 文章id
|
628
|
+
*/
|
629
|
+
articleId?: number | string;
|
630
|
+
/**
|
631
|
+
* 文章标题
|
632
|
+
*/
|
633
|
+
title?: string;
|
634
|
+
/**
|
635
|
+
* 副标题
|
636
|
+
*/
|
637
|
+
subTitle?: string;
|
638
|
+
/**
|
639
|
+
* 作者ID
|
640
|
+
*/
|
641
|
+
authorId?: number | string;
|
642
|
+
/**
|
643
|
+
* 作者名称
|
644
|
+
*/
|
645
|
+
authorName?: string;
|
646
|
+
/**
|
647
|
+
* 摘要
|
648
|
+
*/
|
649
|
+
remark?: string;
|
650
|
+
/**
|
651
|
+
* 封面
|
652
|
+
*/
|
653
|
+
cover?: string;
|
654
|
+
/**
|
655
|
+
* 文章内容类型
|
656
|
+
*/
|
657
|
+
type?: number;
|
658
|
+
/**
|
659
|
+
* 文章内容
|
660
|
+
*/
|
661
|
+
content?: string;
|
662
|
+
/**
|
663
|
+
* 标签id集合
|
664
|
+
*/
|
665
|
+
articleTagIdList?: (number | string)[];
|
666
|
+
/**
|
667
|
+
* 修改人id
|
668
|
+
*/
|
669
|
+
userId?: number | string;
|
670
|
+
/**
|
671
|
+
* 分类id集合
|
672
|
+
*/
|
673
|
+
articleCategoryIdList?: (number | string)[];
|
674
|
+
}
|
675
|
+
/**
|
676
|
+
* 文章删除请求
|
677
|
+
*/
|
678
|
+
export interface ArticleDeleteRequest {
|
679
|
+
/**
|
680
|
+
* 文章id集合
|
681
|
+
*/
|
682
|
+
idList: (number | string)[];
|
683
|
+
/**
|
684
|
+
* 前端忽略此参数,租户id
|
685
|
+
*/
|
686
|
+
tenantId?: string;
|
687
|
+
}
|
688
|
+
/**
|
689
|
+
* 文章复制请求
|
690
|
+
*/
|
691
|
+
export interface ArticleCopyRequest {
|
692
|
+
/**
|
693
|
+
* 模版租户ID
|
694
|
+
*/
|
695
|
+
templateTenantId: string;
|
696
|
+
/**
|
697
|
+
* 新租户ID
|
698
|
+
*/
|
699
|
+
newTenantId: string;
|
700
|
+
/**
|
701
|
+
* 复制的文章ID
|
702
|
+
*/
|
703
|
+
articleIds?: (number | string)[];
|
704
|
+
}
|
705
|
+
/**
|
706
|
+
* 文章创建请求
|
707
|
+
*/
|
708
|
+
export interface ArticleCreateRequest {
|
709
|
+
/**
|
710
|
+
* 租户id
|
711
|
+
*/
|
712
|
+
tenantId: string;
|
713
|
+
/**
|
714
|
+
* 标题
|
715
|
+
*/
|
716
|
+
title: string;
|
717
|
+
/**
|
718
|
+
* 副标题
|
719
|
+
*/
|
720
|
+
subTitle?: string;
|
721
|
+
/**
|
722
|
+
* 作者id
|
723
|
+
*/
|
724
|
+
authorId?: number | string;
|
725
|
+
/**
|
726
|
+
* 作者名称
|
727
|
+
*/
|
728
|
+
authorName?: string;
|
729
|
+
/**
|
730
|
+
* 摘要
|
731
|
+
*/
|
732
|
+
remark?: string;
|
733
|
+
/**
|
734
|
+
* 封面
|
735
|
+
*/
|
736
|
+
cover?: string;
|
737
|
+
/**
|
738
|
+
* 文章类型
|
739
|
+
*/
|
740
|
+
type: number;
|
741
|
+
/**
|
742
|
+
* 文章可见性
|
743
|
+
*/
|
744
|
+
visibility?: string;
|
745
|
+
/**
|
746
|
+
* 文章内容
|
747
|
+
*/
|
748
|
+
content: string;
|
749
|
+
/**
|
750
|
+
* 分类名称
|
751
|
+
*/
|
752
|
+
categoryName?: string;
|
753
|
+
/**
|
754
|
+
* 分类id集合
|
755
|
+
*/
|
756
|
+
categoryIdList?: (number | string)[];
|
757
|
+
}
|
758
|
+
/**
|
759
|
+
* 文章复制响应
|
760
|
+
*/
|
761
|
+
export interface ArticleCopyResponse {
|
762
|
+
/**
|
763
|
+
* 文章映射id
|
764
|
+
*/
|
765
|
+
articleIdMapping?: Record<string, number | string>;
|
766
|
+
}
|
767
|
+
/**
|
768
|
+
* 文章归档请求
|
769
|
+
*/
|
770
|
+
export interface ArticleArchiveRequest {
|
771
|
+
/**
|
772
|
+
* 文章id集合
|
773
|
+
*/
|
774
|
+
articleIdList: (number | string)[];
|
775
|
+
/**
|
776
|
+
* 前端无需理会,租户id
|
777
|
+
*/
|
778
|
+
tenantId?: string;
|
779
|
+
}
|
780
|
+
/**
|
781
|
+
* 文章发布请求
|
782
|
+
*/
|
783
|
+
export interface ArticlePublishRequest {
|
784
|
+
/**
|
785
|
+
* 文章id集合
|
786
|
+
*/
|
787
|
+
articleIdList: (number | string)[];
|
788
|
+
/**
|
789
|
+
* 前端无需理会,租户id
|
790
|
+
*/
|
791
|
+
tenantId?: string;
|
792
|
+
}
|
793
|
+
/**
|
794
|
+
* 文章更新请求
|
795
|
+
*/
|
796
|
+
export interface ArticleUpdateRequest {
|
797
|
+
/**
|
798
|
+
* 文章id
|
799
|
+
*/
|
800
|
+
id?: number | string;
|
801
|
+
/**
|
802
|
+
* 租户id
|
803
|
+
*/
|
804
|
+
tenantId?: string;
|
805
|
+
/**
|
806
|
+
* 文章标题
|
807
|
+
*/
|
808
|
+
title?: string;
|
809
|
+
/**
|
810
|
+
* 文章副标题
|
811
|
+
*/
|
812
|
+
subTitle?: string;
|
813
|
+
/**
|
814
|
+
* 作者id
|
815
|
+
*/
|
816
|
+
authorId?: number | string;
|
817
|
+
/**
|
818
|
+
* 作者名称
|
819
|
+
*/
|
820
|
+
authorName?: string;
|
821
|
+
/**
|
822
|
+
* 文章摘要
|
823
|
+
*/
|
824
|
+
remark?: string;
|
825
|
+
/**
|
826
|
+
* 文章封面图片URL
|
827
|
+
*/
|
828
|
+
cover?: string;
|
829
|
+
/**
|
830
|
+
* 文章类型
|
831
|
+
*/
|
832
|
+
type?: number;
|
833
|
+
/**
|
834
|
+
* 文章可见性
|
835
|
+
*/
|
836
|
+
visibility?: string;
|
837
|
+
/**
|
838
|
+
* 文章内容
|
839
|
+
*/
|
840
|
+
content?: string;
|
841
|
+
/**
|
842
|
+
* 分类名称
|
843
|
+
*/
|
844
|
+
categoryName?: string;
|
845
|
+
/**
|
846
|
+
* 分类id集合
|
847
|
+
*/
|
848
|
+
categoryIdList?: (number | string)[];
|
849
|
+
}
|