# EmitModelsOptions interface · @imqueue/pg-prisma

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

Everything [emitModels()](https://imqueue.org/api/pg-prisma/latest/pg-prisma.emitmodels/) needs.

**Signature:**

```typescript
export interface EmitModelsOptions 
```

## Properties


| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [contract](https://imqueue.org/api/pg-prisma/latest/pg-prisma.emitmodelsoptions.contract/) |  | [EmitContract](https://imqueue.org/api/pg-prisma/latest/pg-prisma.emitcontract/) | The emitted contract, read from `contract.json`. |
| [enums?](https://imqueue.org/api/pg-prisma/latest/pg-prisma.emitmodelsoptions.enums/) |  | [EnumNames](https://imqueue.org/api/pg-prisma/latest/pg-prisma.enumnames/) | _(Optional)_ Names for enum members whose database label is not the name. |
| [imports?](https://imqueue.org/api/pg-prisma/latest/pg-prisma.emitmodelsoptions.imports/) |  | [ImportMap](https://imqueue.org/api/pg-prisma/latest/pg-prisma.importmap/) | _(Optional)_ Where the generated file imports its runtime from. |
| [namespace?](https://imqueue.org/api/pg-prisma/latest/pg-prisma.emitmodelsoptions.namespace/) |  | string | _(Optional)_ Namespace to emit. Defaults to the only one, or `public`. |
| [omit?](https://imqueue.org/api/pg-prisma/latest/pg-prisma.emitmodelsoptions.omit/) |  | readonly string\[\] | _(Optional)_ Fields kept off the generated surface, as `Model.field`. |

