Repository navigation
Expand file tree
/
Copy pathmodels.ts
More file actions
2289 lines (2180 loc) · 43.7 KB
/
Copy pathmodels.ts
File metadata and controls
2289 lines (2180 loc) · 43.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
import PlainObject from 'mdui.jq/es/interfaces/PlainObject';
export interface Answer {
/**
* 回答ID
*/
answer_id: number;
/**
* 提问ID
*/
question_id: number;
/**
* 用户ID
*/
user_id: number;
/**
* markdown 格式的内容
*/
content_markdown: string;
/**
* html 格式的内容
*/
content_rendered: string;
/**
* 评论数量
*/
comment_count: number;
/**
* 投票数(赞成票 - 反对票,可能为负数)
*/
vote_count: number;
/**
* 赞成票总数
*/
vote_up_count: number;
/**
* 反对票总数
*/
vote_down_count: number;
/**
* 创建时间
*/
create_time: number;
/**
* 更新时间
*/
update_time: number;
/**
* 🔐删除时间
*/
delete_time?: number;
relationships?: AnswerRelationship;
}
export interface AnswerInRelationship {
/**
* 回答ID
*/
answer_id: number;
/**
* 提问ID
*/
question_id: number;
/**
* 内容摘要
*/
content_summary: string;
/**
* 发布时间
*/
create_time: number;
/**
* 更新时间
*/
update_time: number;
}
export interface AnswerRelationship {
user?: UserInRelationship;
question?: QuestionInRelationship;
/**
* 当前登录用户的投票类型(up、down),未投过票则为空字符串
*/
voting?: AnswerRelationshipVotingEnum;
}
/**
* Enum for the voting property.
*/
export type AnswerRelationshipVotingEnum = 'up' | 'down' | '';
export interface AnswerRequestBody {
/**
* Markdown 格式的正文
*/
content_markdown?: string;
/**
* HTML 格式的正文
*/
content_rendered?: string;
}
export interface AnswerResponse {
/**
* 无任务错误时,状态码为 0
*/
code: number;
data: Answer;
}
export interface AnswersResponse {
/**
* 无任务错误时,状态码为 0
*/
code: number;
data: Array<Answer>;
pagination: Pagination;
}
export interface Article {
/**
* 文章ID
*/
article_id: number;
/**
* 用户ID
*/
user_id: number;
/**
* 文章标题
*/
title: string;
/**
* Markdown 格式的文章内容
*/
content_markdown: string;
/**
* HTML 格式的文章内容
*/
content_rendered: string;
/**
* 评论数量
*/
comment_count: number;
/**
* 关注者数量
*/
follower_count: number;
/**
* 投票数(赞成票 - 反对票,可能为负数)
*/
vote_count: number;
/**
* 赞成票总数
*/
vote_up_count: number;
/**
* 反对票总数
*/
vote_down_count: number;
/**
* 创建时间
*/
create_time: number;
/**
* 更新时间(用户可以更新自己的文章)
*/
update_time: number;
/**
* 🔐删除时间
*/
delete_time?: number;
relationships?: ArticleRelationship;
}
export interface ArticleCreateRequestBody {
/**
* 标题
*/
title: string;
/**
* 话题ID
*/
topic_ids: Array<number>;
/**
* Markdown 格式的正文
*/
content_markdown?: string;
/**
* HTML 格式的正文
*/
content_rendered?: string;
}
export interface ArticleInRelationship {
/**
* 文章ID
*/
article_id: number;
/**
* 文章标题
*/
title: string;
/**
* 发布时间
*/
create_time: number;
/**
* 更新时间
*/
update_time: number;
}
export interface ArticleRelationship {
user?: UserInRelationship;
topics?: Array<TopicInRelationship>;
/**
* 当前登录用户是否已关注该文章
*/
is_following?: boolean;
/**
* 当前登录用户的投票类型(up、down),未投过票则为空字符串
*/
voting?: ArticleRelationshipVotingEnum;
}
/**
* Enum for the voting property.
*/
export type ArticleRelationshipVotingEnum = 'up' | 'down' | '';
export interface ArticleResponse {
/**
* 无任务错误时,状态码为 0
*/
code: number;
data: Article;
}
export interface ArticleUpdateRequestBody {
/**
* 标题
*/
title?: string;
/**
* 话题ID
*/
topic_ids?: Array<number>;
/**
* Markdown 格式的正文
*/
content_markdown?: string;
/**
* HTML 格式的正文
*/
content_rendered?: string;
}
export interface ArticlesResponse {
/**
* 无任务错误时,状态码为 0
*/
code: number;
data: Array<Article>;
pagination: Pagination;
}
export interface Captcha {
/**
* 图形验证码token
*/
captcha_token: string;
/**
* base64格式的图形验证码图片
*/
captcha_image: string;
}
export interface CaptchaResponse {
/**
* 无任务错误时,状态码为 0
*/
code: number;
data: Captcha;
}
export interface Comment {
/**
* 评论ID
*/
comment_id: number;
/**
* 评论目标的ID
*/
commentable_id: number;
/**
* 评论目标类型
*/
commentable_type: CommentCommentableTypeEnum;
/**
* 用户ID
*/
user_id: number;
/**
* 评论内容
*/
content: string;
/**
* 投票数(赞成票 - 反对票,可能为负数)
*/
vote_count: number;
/**
* 赞成票总数
*/
vote_up_count: number;
/**
* 反对票总数
*/
vote_down_count: number;
/**
* 发表时间
*/
create_time: number;
/**
* 修改时间
*/
update_time: number;
/**
* 🔐删除时间
*/
delete_time?: number;
relationships?: CommentRelationship;
}
/**
* Enum for the commentable_type property.
*/
export type CommentCommentableTypeEnum =
| 'article'
| 'question'
| 'answer'
| 'comment';
export interface CommentInRelationship {
/**
* 评论ID
*/
comment_id: number;
/**
* 内容摘要
*/
content_summary: string;
/**
* 发布时间
*/
create_time: number;
/**
* 更新时间
*/
update_time: number;
}
export interface CommentRelationship {
user?: UserInRelationship;
/**
* 当前登录用户的投票类型(up、down),未投过票则为空字符串
*/
voting?: CommentRelationshipVotingEnum;
}
/**
* Enum for the voting property.
*/
export type CommentRelationshipVotingEnum = 'up' | 'down' | '';
export interface CommentRequestBody {
/**
* 评论内容
*/
content: string;
}
export interface CommentResponse {
/**
* 无任务错误时,状态码为 0
*/
code: number;
data: Comment;
}
export interface CommentsResponse {
/**
* 无任务错误时,状态码为 0
*/
code: number;
data: Array<Comment>;
pagination: Pagination;
}
export interface Email {
/**
* 邮箱地址
*/
email: Array<string>;
/**
* 邮件标题
*/
subject: string;
/**
* 邮件内容
*/
content: string;
}
export interface EmailResponse {
/**
* 无任务错误时,状态码为 0
*/
code: number;
data: Email;
}
export interface EmptyResponse {
/**
* 无任务错误时,状态码为 0
*/
code: number;
data: PlainObject;
}
export interface ErrorResponse {
/**
* 错误代码
*/
code: number;
/**
* 错误描述
*/
message: string;
/**
* 额外的错误描述
*/
extra_message?: string;
/**
* 图形验证码token。若返回了该参数,表示下次调用该接口需要输入图形验证码
*/
captcha_token?: string;
/**
* 图形验证码的base64格式图片
*/
captcha_image?: string;
/**
* 错误字段。键名为字段名,键值为错误信息
*/
errors?: { [key: string]: string };
}
/**
* 关注者数量
*/
export interface FollowerCount {
/**
* 关注者数量
*/
follower_count: number;
}
export interface FollowerCountResponse {
/**
* 无任务错误时,状态码为 0
*/
code: number;
data: FollowerCount;
}
export interface Image {
/**
* 图片的 key
*/
key: string;
/**
* 图片原始文件名
*/
filename: string;
/**
* 原始图片宽度
*/
width: number;
/**
* 原始图片高度
*/
height: number;
/**
* 图片上传时间
*/
create_time: number;
/**
* 图片关联对象类型
*/
item_type: ImageItemTypeEnum;
/**
* 图片关联对象ID
*/
item_id: number;
/**
* 图片上传者ID
*/
user_id: number;
urls: ImageUrls;
relationships?: ImageRelationship;
}
/**
* Enum for the item_type property.
*/
export type ImageItemTypeEnum = 'question' | 'answer' | 'article';
export interface ImageRelationship {
user?: UserInRelationship;
question?: QuestionInRelationship;
article?: ArticleInRelationship;
answer?: AnswerInRelationship;
}
export interface ImageResponse {
/**
* 无任务错误时,状态码为 0
*/
code: number;
data: Image;
}
export interface ImageUpdateRequestBody {
/**
* 图片文件名
*/
filename: string;
}
export interface ImageUploadRequestBody {
/**
* 图片
*/
image: any;
}
export interface ImageUrls {
/**
* 原图地址
*/
original: string;
/**
* 宽度固定,高度自适应的图片地址
*/
release: string;
/**
* 固定宽高的缩略图地址
*/
thumb: string;
}
export interface ImagesResponse {
/**
* 无任务错误时,状态码为 0
*/
code: number;
data: Array<Image>;
pagination: Pagination;
}
export interface Notification {
/**
* 通知ID
*/
notification_id: number;
/**
* 通知接收者ID
*/
receiver_id: number;
/**
* 通知发送者ID
*/
sender_id: number;
/**
* 通知类型
*/
type: NotificationTypeEnum;
/**
* 相关文章ID
*/
article_id: number;
/**
* 相关提问ID
*/
question_id: number;
/**
* 相关回答ID
*/
answer_id: number;
/**
* 相关评论ID
*/
comment_id: number;
/**
* 相关回复ID
*/
reply_id: number;
/**
* 被删除的内容的备份
*/
content_deleted: string;
/**
* 通知发送时间
*/
create_time: number;
/**
* 通知阅读时间
*/
read_time: number;
relationships?: NotificationRelationship;
}
/**
* Enum for the type property.
*/
export type NotificationTypeEnum =
| 'question_answered'
| 'question_commented'
| 'question_deleted'
| 'article_commented'
| 'article_deleted'
| 'answer_commented'
| 'answer_deleted'
| 'comment_replied'
| 'comment_deleted';
/**
* 未读通知数量
*/
export interface NotificationCount {
/**
* 未读通知数量
*/
notification_count: number;
}
export interface NotificationCountResponse {
/**
* 无任务错误时,状态码为 0
*/
code: number;
data: NotificationCount;
}
export interface NotificationRelationship {
receiver?: UserInRelationship;
sender?: UserInRelationship;
article?: ArticleInRelationship;
question?: QuestionInRelationship;
answer?: AnswerInRelationship;
comment?: CommentInRelationship;
reply?: CommentInRelationship;
}
export interface NotificationResponse {
/**
* 无任务错误时,状态码为 0
*/
code: number;
data: Notification;
}
export interface NotificationsResponse {
/**
* 无任务错误时,状态码为 0
*/
code: number;
data: Array<Notification>;
pagination: Pagination;
}
export interface Option {
/**
* 回答作者是否可删除回答。 为 `false` 时,不允许删除; 为 `true` 时,在满足 `answer_can_delete_before` 和 `answer_can_delete_only_no_comment` 的条件时可删除。
*/
answer_can_delete: boolean;
/**
* 在发表后多少秒内,允许作者删除回答(为 `0` 时表示不做限制)。仅在 `answer_can_delete` 为 `true` 时该参数才有效。
*/
answer_can_delete_before: number;
/**
* 是否仅在没有评论时,允许作者删除回答。仅在 `answer_can_delete` 为 `true` 时该参数才有效。
*/
answer_can_delete_only_no_comment: boolean;
/**
* 回答作者是否可编辑回答。 为 `false` 时,不允许编辑; 为 `true` 时,在满足 `answer_can_edit_before` 和 `answer_can_edit_only_no_comment` 的条件时可编辑。
*/
answer_can_edit: boolean;
/**
* 在发表后的多少秒内,允许作者编辑回答(为 `0` 时表示不做限制)。仅在 `answer_can_edit` 为 `true` 时该参数才有效。
*/
answer_can_edit_before: number;
/**
* 是否仅在没有评论时,允许作者编辑回答。仅在 `answer_can_edit` 为 `true` 时该参数才有效。
*/
answer_can_edit_only_no_comment: boolean;
/**
* 文章作者是否可删除文章。 为 `false` 时,不允许删除; 为 `true` 时,在满足 `article_can_delete_before` 和 `article_can_delete_only_no_comment` 的条件时可删除。
*/
article_can_delete: boolean;
/**
* 在发表后多少秒内,允许作者删除文章(为 `0` 时表示不做限制)。仅在 `article_can_delete` 为 `true` 时该参数才有效。
*/
article_can_delete_before: number;
/**
* 仅在没有评论时,允许作者删除文章。仅在 `article_can_delete` 为 `true` 时该参数才有效。
*/
article_can_delete_only_no_comment: boolean;
/**
* 文章作者是否可编辑文章。 为 `false` 时,不允许编辑; 为 `true` 时,在满足 `article_can_edit_before` 和 `article_can_edit_only_no_comment` 的条件时可编辑。
*/
article_can_edit: boolean;
/**
* 在发表后的多少秒内,允许作者编辑文章(为 `0` 时表示不做限制)。仅在 `article_can_edit` 为 `true` 时该参数才有效。
*/
article_can_edit_before: number;
/**
* 仅在没有评论时,允许作者编辑文章。仅在 `article_can_edit` 为 `true` 时该参数才有效。
*/
article_can_edit_only_no_comment: boolean;
/**
* 🔐Memcached 服务器地址
*/
cache_memcached_host?: string;
/**
* 🔐Memcached 密码
*/
cache_memcached_password?: string;
/**
* 🔐Memcached 端口号
*/
cache_memcached_port?: number;
/**
* 🔐Memcached 用户名
*/
cache_memcached_username?: string;
/**
* 🔐缓存键名前缀(只能包含字符 -+.A-Za-z0-9)
*/
cache_prefix?: string;
/**
* 🔐Redis 服务器地址
*/
cache_redis_host?: string;
/**
* 🔐Redis 密码
*/
cache_redis_password?: string;
/**
* 🔐Redis 端口号
*/
cache_redis_port?: number;
/**
* 🔐Redis 用户名
*/
cache_redis_username?: string;
/**
* 🔐缓存类型
*/
cache_type?: OptionCacheTypeEnum;
/**
* 评论作者是否可删除评论。 为 `false` 时,不允许删除; 为 `true` 时,在满足 `comment_can_delete_before` 的条件时可删除。
*/
comment_can_delete: boolean;
/**
* 在发表后多少秒内,允许作者删除评论(为 `0` 时表示不做限制)。仅在 `comment_can_delete` 为 `true` 时该参数才有效。
*/
comment_can_delete_before: number;
/**
* 评论作者是否可编辑评论。 为 `false` 时,不允许编辑; 为 `true` 时,在满足 `comment_can_edit_before` 的条件时可编辑。
*/
comment_can_edit: boolean;
/**
* 在发表后的多少秒内,允许作者编辑评论(为 `0` 时表示不做限制)。仅在 `comment_can_edit` 为 `true` 时该参数才有效。
*/
comment_can_edit_before: number;
/**
* 系统语言
*/
language: OptionLanguageEnum;
/**
* 提问作者是否可删除提问。 为 `false` 时,不允许删除; 为 `true` 时,在满足 `question_can_delete_before`、`question_can_delete_only_no_answer` 和 `question_can_delete_only_no_comment` 的条件时可删除。
*/
question_can_delete: boolean;
/**
* 在发表后多少秒内,允许作者删除提问(为 `0` 时表示不做限制)。仅在 `question_can_delete` 为 `true` 时该参数才有效。
*/
question_can_delete_before: number;
/**
* 仅在没有回答时,允许作者删除提问。仅在 `question_can_delete` 为 `true` 时该参数才有效。
*/
question_can_delete_only_no_answer: boolean;
/**
* 仅在没有评论时,允许作者删除提问。仅在 `question_can_delete` 为 `true` 时该参数才有效。
*/
question_can_delete_only_no_comment: boolean;
/**
* 提问作者是否可编辑提问。 为 `false` 时,不允许编辑; 为 `true` 时,在满足 `question_can_edit_before`、`question_can_edit_only_no_answer` 和 `question_can_edit_only_no_comment` 的条件时可编辑。
*/
question_can_edit: boolean;
/**
* 在发表后的多少秒内,允许作者编辑提问(为 `0` 时表示不做限制)。仅在 `question_can_edit` 为 `true` 时该参数才有效。
*/
question_can_edit_before: number;
/**
* 仅在没有回答时,允许作者编辑提问。仅在 `question_can_edit` 为 `true` 时该参数才有效。
*/
question_can_edit_only_no_answer: boolean;
/**
* 仅在没有评论时,允许作者编辑提问。仅在 `question_can_edit` 为 `true` 时该参数才有效。
*/
question_can_edit_only_no_comment: boolean;
/**
* 第三方搜索的名称
*/
search_third: OptionSearchThirdEnum;
/**
* 搜索引擎类型
*/
search_type: OptionSearchTypeEnum;
/**
* 站点简介
*/
site_description: string;
/**
* 站点公安备案号
*/
site_gongan_beian: string;
/**
* 站点 ICP 备案号
*/
site_icp_beian: string;
/**
* 站点关键词
*/
site_keywords: string;
/**
* 站点名称
*/
site_name: string;
/**
* 🔐静态资源 URL 地址
*/
site_static_url?: string;
/**
* 🔐SMTP 服务器地址
*/
smtp_host?: string;
/**
* 🔐SMTP 密码
*/
smtp_password?: string;
/**
* 🔐SMTP 端口
*/
smtp_port?: number;
/**
* 🔐SMTP 回信地址
*/
smtp_reply_to?: string;
/**
* 🔐SMTP 加密方式
*/
smtp_secure?: OptionSmtpSecureEnum;
/**
* 🔐SMTP 账户
*/
smtp_username?: string;
/**
* 🔐阿里云 AccessKey ID
*/
storage_aliyun_access_id?: string;
/**
* 🔐阿里云 Access Key Secret
*/
storage_aliyun_access_secret?: string;
/**
* 🔐阿里云 OSS 的 Bucket 名称
*/
storage_aliyun_bucket?: string;
/**
* 🔐阿里云 OSS 的存储子目录
*/
storage_aliyun_dir?: string;
/**
* 🔐阿里云 OSS 的 EndPoint
*/
storage_aliyun_endpoint?: string;
/**
* 🔐FTP 服务器地址
*/
storage_ftp_host?: string;
/**
* 🔐是否使用被动传输模式。true(被动模式);false(主动模式)
*/
storage_ftp_passive?: boolean;
/**
* 🔐FTP 密码
*/
storage_ftp_password?: string;
/**
* 🔐FTP 端口号
*/
storage_ftp_port?: number;
/**
* 🔐FTP 存储目录
*/
storage_ftp_dir?: string;
/**
* 🔐FTP 是否启用 SSL。true(启用);false(不启用)
*/
storage_ftp_ssl?: boolean;
/**
* 🔐FTP 用户名
*/
storage_ftp_username?: string;
/**
* 🔐本地文件存储目录
*/
storage_local_dir?: string;
/**
* 🔐七牛云 AccessKey
*/
storage_qiniu_access_id?: string;
/**
* 🔐七牛云 SecretKey
*/
storage_qiniu_access_secret?: string;
/**
* 🔐七牛云 Bucket
*/
storage_qiniu_bucket?: string;
/**
* 🔐七牛云的存储子目录
*/
storage_qiniu_dir?: string;
/**
* 🔐FTP 存储区域。z0(华东);z1(华北);z2(华南);na0(北美);as0(东南亚)
*/
storage_qiniu_zone?: OptionStorageQiniuZoneEnum;
/**
* 🔐SFTP 服务器地址
*/
storage_sftp_host?: string;
/**
* 🔐SFTP 密码
*/
storage_sftp_password?: string;
/**
* 🔐SFTP 端口号
*/
storage_sftp_port?: number;
/**
* 🔐SFTP 存储目录
*/
storage_sftp_dir?: string;
/**
* 🔐SFTP 用户名
*/
storage_sftp_username?: string;
/**
* 🔐存储类型
*/
storage_type?: OptionStorageTypeEnum;
/**
* 🔐又拍云 Bucket
*/
storage_upyun_bucket?: string;
/**
* 🔐又拍云的存储子目录
*/
storage_upyun_dir?: string;
/**
* 🔐又拍云操作员账号
*/
storage_upyun_operator?: string;
/**
* 🔐又拍云操作员密码
*/
storage_upyun_password?: string;
/**
* 🔐本地文件访问链接
*/
storage_url?: string;
/**
* 🔐主题名称
*/
theme?: string;
}