open-nfse / ConsultaOptions
Interface: ConsultaOptions
Defined in: src/parametros-municipais/fetch.ts:24
Opções comuns aos consultores — cache override per-call + TTL override.
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
cache? | readonly | ParametrosCache | Cache específica para esta chamada. Sobrescreve a do cliente. Útil para testes e cenários com cache compartilhada entre processos. | src/parametros-municipais/fetch.ts:33 |
ttlMs? | readonly | number | Override do TTL para esta chamada específica. | src/parametros-municipais/fetch.ts:28 |
useCache? | readonly | boolean | Passe false para forçar miss (bater direto no ADN). Default true. | src/parametros-municipais/fetch.ts:26 |