Appearance
Documentation / @kizami/db / getNotificationSettings
Function: getNotificationSettings()
getNotificationSettings(
db,tenantId):Promise<{smtpEnabled:boolean;smtpFrom:string|null;smtpHost:string|null;smtpPassword:string|null;smtpPort:number|null;smtpUser:string|null;tenantId:string;updatedAt:number;updatedBy:string;webhookEnabled:boolean;webhookUrl:string|null; } |null>
Defined in: packages/db/src/queries/notification-settings.ts:16
指定テナントの通知設定を返す(未設定なら null)。
Parameters
db
tenantId
string
Returns
Promise<{ smtpEnabled: boolean; smtpFrom: string | null; smtpHost: string | null; smtpPassword: string | null; smtpPort: number | null; smtpUser: string | null; tenantId: string; updatedAt: number; updatedBy: string; webhookEnabled: boolean; webhookUrl: string | null; } | null>