@accounts/redis

@accounts/redisGlobals

Index

Classes

Interfaces

Object literals

Object literals

Const defaultOptions

defaultOptions: object

Defined in redis.ts:6

sessionCollectionName

sessionCollectionName: string = "sessions"

Defined in redis.ts:8

userCollectionName

userCollectionName: string = "users"

Defined in redis.ts:7

dateProvider

dateProvider(date?: Date): number

Defined in redis.ts:14

Parameters:

NameType
date?Date

Returns: number

idProvider

idProvider(): string

Defined in redis.ts:13

Returns: string

timestamps: object

Defined in redis.ts:9

  • createdAt: string = "createdAt"

  • updatedAt: string = "updatedAt"