forked from yoone/API
1
0
Fork 0

refactor(entity): 将可选字段明确标记为可选类型

This commit is contained in:
zhuotianyuan 2026-01-06 19:00:02 +08:00
parent 4af69aeb6f
commit f2b1036286
1 changed files with 2 additions and 2 deletions

View File

@ -11,10 +11,10 @@ export class Site {
apiUrl: string;
@Column({ name: 'website_url', length: 255, nullable: true })
websiteUrl: string;
websiteUrl?: string;
@Column({ name: 'webhook_url', length: 255, nullable: true })
webhookUrl: string;
webhookUrl?: string;
@Column({ length: 255, nullable: true })
consumerKey?: string;