Skip to content

Documentation


Documentation / @kizami/db / getPresetById

Function: getPresetById()

getPresetById(db, params): Promise<{ createdAt: number; description: string | null; grants: string; id: string; isSystem: boolean; name: string; tenantId: string; } | null>

Defined in: packages/db/src/queries/permissions.ts:73

Parameters

db

Database

params

id

string

tenantId

string

Returns

Promise<{ createdAt: number; description: string | null; grants: string; id: string; isSystem: boolean; name: string; tenantId: string; } | null>