web / lib/seed/seed.config / CollectionConfig
Interface: CollectionConfig
Properties
count?
optional
count:number
| (env
) =>number
Number of items to create, or function returning count based on environment
dependencies?
optional
dependencies:string
[]
Collections that must be seeded before this one
customGenerator?
optional
customGenerator:string
Custom generator to use for realistic data patterns
disabled?
optional
disabled:boolean
Whether this collection is disabled
options?
optional
options:Record
<string
,unknown
>
Collection-specific options