API/Driver
Driver
src/types/driver.type.tstype
The set of supported driver identifiers, as a union of string literals derived from DriverEnum.
Accepting this instead of the enum lets consumers pass a plain string —
{ driver: 'strapi' } — which is the natural idiom outside TypeScript-only
codebases, while DriverEnum.STRAPI keeps working unchanged.
Definition
Section titled “Definition”type Driver = template literal