Skip to content

Documentation


Documentation / @kizami/db / getHelpOverrides

Function: getHelpOverrides()

getHelpOverrides(db, tenantId): Promise<Record<string, { bodyMd: string; helpKey: string; tenantId: string; updatedAt: number; updatedBy: string; }>>

Defined in: packages/db/src/queries/help-overrides.ts:16

指定テナントの全 help_overrides を helpKey → 行 の Record で返す(0件なら空オブジェクト)。

Parameters

db

Database | SQLiteTransaction<"async", ResultSet, schema, ExtractTablesWithRelations<schema>>

tenantId

string

Returns

Promise<Record<string, { bodyMd: string; helpKey: string; tenantId: string; updatedAt: number; updatedBy: string; }>>