# IMQORMOptions.modelsPath property · @imqueue/pg-sequelize

Source: https://imqueue.org/api/pg-sequelize/latest/pg-sequelize.imqormoptions.modelspath/
Published: 2026-08-01
Author: @imqueue maintainers (https://github.com/imqueue)
Package: @imqueue/pg-sequelize 4.2.0 — generated reference, not hand-written

Directory holding the COMPILED model files.

**Signature:**

```typescript
modelsPath: string;
```

## Remarks

Walked recursively for `.js` files, so point it at build output rather than at `.ts` sources. Each file must export a symbol named exactly after the file — `Lead.js` must export `Lead` — because that is how the loader picks the model out of the module. A mismatch hands Sequelize `undefined` instead of a model.

