# EmitAllOptions interface · @imqueue/pg-prisma

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

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

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [contract](https://imqueue.org/api/pg-prisma/latest/pg-prisma.emitalloptions.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.emitalloptions.enums/) |  | [EnumNames](https://imqueue.org/api/pg-prisma/latest/pg-prisma.enumnames/) | _(Optional)_ Names for enum members whose database label is not the name. |
| [fields?](https://imqueue.org/api/pg-prisma/latest/pg-prisma.emitalloptions.fields/) |  | [DeriveFields](https://imqueue.org/api/pg-prisma/latest/pg-prisma.derivefields/) | _(Optional)_ Stamp field names, where a service overrides the defaults. |
| [imports?](https://imqueue.org/api/pg-prisma/latest/pg-prisma.emitalloptions.imports/) |  | [ImportMap](https://imqueue.org/api/pg-prisma/latest/pg-prisma.importmap/) | _(Optional)_ Where the generated files import their runtime from. |
| [namespace?](https://imqueue.org/api/pg-prisma/latest/pg-prisma.emitalloptions.namespace/) |  | string | _(Optional)_ Namespace to emit. Defaults to the only one, or `public`. |
| [omit?](https://imqueue.org/api/pg-prisma/latest/pg-prisma.emitalloptions.omit/) |  | readonly string\[\] | _(Optional)_ Fields kept off the generated surface, as `Model.field`. |
| [outDir](https://imqueue.org/api/pg-prisma/latest/pg-prisma.emitalloptions.outdir/) |  | string \| URL | Directory the files are written to. |
| [validation?](https://imqueue.org/api/pg-prisma/latest/pg-prisma.emitalloptions.validation/) |  | [ValidationRules](https://imqueue.org/api/pg-prisma/latest/pg-prisma.validationrules/) | _(Optional)_ Validation rules per model per field, as Zod suffixes. |

