Skip to main content
zerotal

Documentation


Documentation / @zerotal/admin / index / HistoryOptions

Interface: HistoryOptions

Defined in: admin/src/history.ts:48

Properties

type

type: string

Defined in: admin/src/history.ts:50

Model name the audit rows are filed under — defaults to the resource's model.


id

id: unknown

Defined in: admin/src/history.ts:51


limit?

optional limit?: number

Defined in: admin/src/history.ts:53

How many entries to show. Defaults to 25 — a record page is not an archive.


resolveActor?

optional resolveActor?: (id) => string | Promise<string | null> | null

Defined in: admin/src/history.ts:55

Turn an actor id into a name. Defaults to #<id>.

Parameters

id

number

Returns

string | Promise<string | null> | null