Skip to content

Documentation / @super-line/core / withRowMeta

Function: withRowMeta()

withRowMeta(row, meta): unknown

Defined in: packages/core/src/collections.ts:57

Merge RowTimestamps onto a row under the reserved ROW_CREATED_AT/ROW_UPDATED_AT keys — the inspector-side projection for the Control Center. A no-op when meta is absent or the row isn't an object, so client-facing rows (which never carry meta) pass through unchanged.

Parameters

row

unknown

meta

RowTimestamps | undefined

Returns

unknown

Released under the MIT License.