# DerivedDataLayer interface · @imqueue/pg-prisma

Source: https://imqueue.org/api/pg-prisma/latest/pg-prisma.deriveddatalayer/
Published: 2026-08-28
Author: @imqueue maintainers (https://github.com/imqueue)
Package: @imqueue/pg-prisma 2.0.0 — generated reference, not hand-written

The config the middlewares consume, keyed by physical table.

**Signature:**

```typescript
export interface DerivedDataLayer 
```

## Properties


| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [audit](https://imqueue.org/api/pg-prisma/latest/pg-prisma.deriveddatalayer.audit/) |  | Record<string, string> | Tables whose writes are recorded, and the model name to record. |
| [dates](https://imqueue.org/api/pg-prisma/latest/pg-prisma.deriveddatalayer.dates/) |  | Set<string> | Columns stored under a timestamp codec, by column name. |
| [relations](https://imqueue.org/api/pg-prisma/latest/pg-prisma.deriveddatalayer.relations/) |  | [RelationMap](https://imqueue.org/api/pg-prisma/latest/pg-prisma.relationmap/) | Relations per MODEL, for the query translator. |
| [scope](https://imqueue.org/api/pg-prisma/latest/pg-prisma.deriveddatalayer.scope/) |  | [ScopeTables](https://imqueue.org/api/pg-prisma/latest/pg-prisma.scopetables/) | Scope columns per table per level. |
| [stamps](https://imqueue.org/api/pg-prisma/latest/pg-prisma.deriveddatalayer.stamps/) |  | [StampTables](https://imqueue.org/api/pg-prisma/latest/pg-prisma.stamptables/) | Soft-delete and authorship columns per table. |

