@auth/remult-adapter
RemultAdapter()
RemultAdapter(args): {
adapter: Adapter;
}
Parameters
Parameter | Type | Description |
---|---|---|
args | Object | - |
args.customEntities ? | Object | - |
args.customEntities.Account ? | ClassType <Account > | - |
args.customEntities.Authenticator ? | ClassType <Authenticator > | - |
args.customEntities.Session ? | ClassType <Session > | - |
args.customEntities.User ? | ClassType <User > | - |
args.dataProvider | DataProvider | Promise <DataProvider > | () => Promise <undefined | DataProvider > | - |
args.ensureSchema ? | boolean | Will create tables and columns in supporting databases. default: true Description when set to true, it’ll create entities that do not exist, and add columns that are missing. |
Returns
{
adapter: Adapter;
}
adapter
adapter: Adapter;