@@ -133,7 +133,7 @@ export interface ProfileUpdateModel {
133
133
userName ?: string | null ;
134
134
/**
135
135
* 描述
136
- * @maxLength 55
136
+ * @maxLength 128
137
137
*/
138
138
bio ?: string | null ;
139
139
/**
@@ -143,12 +143,12 @@ export interface ProfileUpdateModel {
143
143
phone ?: string | null ;
144
144
/**
145
145
* 真实姓名
146
- * @maxLength 7
146
+ * @maxLength 128
147
147
*/
148
148
realName ?: string | null ;
149
149
/**
150
150
* 学工号
151
- * @maxLength 24
151
+ * @maxLength 64
152
152
*/
153
153
stdNumber ?: string | null ;
154
154
}
@@ -367,12 +367,12 @@ export interface UserCreateModel {
367
367
email : string ;
368
368
/**
369
369
* 真实姓名
370
- * @maxLength 7
370
+ * @maxLength 128
371
371
*/
372
372
realName ?: string | null ;
373
373
/**
374
374
* 学号
375
- * @maxLength 24
375
+ * @maxLength 64
376
376
*/
377
377
stdNumber ?: string | null ;
378
378
/**
@@ -443,12 +443,12 @@ export interface TeamUserInfoModel {
443
443
export interface AdminTeamModel {
444
444
/**
445
445
* 队伍名称
446
- * @maxLength 15
446
+ * @maxLength 20
447
447
*/
448
448
name ?: string | null ;
449
449
/**
450
450
* 队伍签名
451
- * @maxLength 31
451
+ * @maxLength 72
452
452
*/
453
453
bio ?: string | null ;
454
454
/** 是否锁定 */
@@ -470,7 +470,7 @@ export interface AdminUserInfoModel {
470
470
email ?: string | null ;
471
471
/**
472
472
* 签名
473
- * @maxLength 50
473
+ * @maxLength 128
474
474
*/
475
475
bio ?: string | null ;
476
476
/**
@@ -480,12 +480,12 @@ export interface AdminUserInfoModel {
480
480
phone ?: string | null ;
481
481
/**
482
482
* 真实姓名
483
- * @maxLength 7
483
+ * @maxLength 128
484
484
*/
485
485
realName ?: string | null ;
486
486
/**
487
487
* 学工号
488
- * @maxLength 24
488
+ * @maxLength 64
489
489
*/
490
490
stdNumber ?: string | null ;
491
491
/** 用户是否通过邮箱验证(可登录) */
@@ -671,7 +671,7 @@ export interface ProblemDetails {
671
671
/** 文章对象(Edit) */
672
672
export interface PostEditModel {
673
673
/**
674
- * 通知标题
674
+ * 文章标题
675
675
* @minLength 1
676
676
* @maxLength 50
677
677
*/
@@ -681,7 +681,7 @@ export interface PostEditModel {
681
681
/** 文章内容 */
682
682
content ?: string ;
683
683
/** 文章标签 */
684
- tags ?: string [ ] ;
684
+ tags ?: string [ ] | null ;
685
685
/** 是否置顶 */
686
686
isPinned ?: boolean ;
687
687
}
@@ -873,7 +873,10 @@ export interface ChallengeEditDetailModel {
873
873
type : ChallengeType ;
874
874
/** 题目提示 */
875
875
hints ?: string [ ] ;
876
- /** Flag 模版,用于根据 Token 和题目、比赛信息生成 Flag */
876
+ /**
877
+ * Flag 模版,用于根据 Token 和题目、比赛信息生成 Flag
878
+ * @maxLength 120
879
+ */
877
880
flagTemplate ?: string | null ;
878
881
/** 是否启用题目 */
879
882
isEnabled : boolean ;
@@ -1121,7 +1124,7 @@ export interface FlagCreateModel {
1121
1124
/**
1122
1125
* Flag文本
1123
1126
* @minLength 1
1124
- * @maxLength 125
1127
+ * @maxLength 127
1125
1128
*/
1126
1129
flag : string ;
1127
1130
/** 附件类型 */
@@ -1659,7 +1662,7 @@ export interface FlagSubmitModel {
1659
1662
* flag 内容
1660
1663
* fix: 防止前端的意外提交 (number/float/null) 可能被错误转换
1661
1664
* @minLength 1
1662
- * @maxLength 126
1665
+ * @maxLength 127
1663
1666
*/
1664
1667
flag : string ;
1665
1668
}
@@ -1755,12 +1758,12 @@ export enum CaptchaProvider {
1755
1758
export interface TeamUpdateModel {
1756
1759
/**
1757
1760
* 队伍名称
1758
- * @maxLength 15
1761
+ * @maxLength 20
1759
1762
*/
1760
1763
name ?: string | null ;
1761
1764
/**
1762
1765
* 队伍签名
1763
- * @maxLength 31
1766
+ * @maxLength 72
1764
1767
*/
1765
1768
bio ?: string | null ;
1766
1769
}
0 commit comments