interface ArrayToDirectoryHandlerOptions
extends ObjectToDirectoryHandlerOptions
Options that apply specifically to the array to directory builder method:
HandlerBuilder.arrayToDirectory
.
Note that the keyProperty
option is mandatory.
optional
keyProperty: string
The key of the property in array items that the handler will use to determine what to call each item as it is stored within a directory. If omitted, the handler will use the item's index as its name in the directory.