zksu
/
API
forked from yoone/API
1
0
Fork 0

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

This commit is contained in:
zhuotianyuan 2026-01-06 19:00:02 +08:00 committed by longbot
parent 924f9723fb
commit 324008472c
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;