UNPKG
@kanadi/core
Version:
latest (0.1.3)
0.1.3
0.1.1
0.1.0
Multi-Layer CAPTCHA Framework with customizable validators and challenge bundles
@kanadi/core
/
src
/
database
/
psql.config.ts
11 lines
(9 loc)
•
217 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
import
type { DatabaseConfig, PSQLDatabaseOptions } from
"./types"
;
export
class
PSQLDatabaseConfig
{
static
forRoot
(options: PSQLDatabaseOptions)
: DatabaseConfig {
return
{ type:
"psql"
, options, }; } }