@accounts/redis

@accounts/redisGlobals

Index

Classes

Interfaces

Object literals

Object literals

Const defaultOptions

defaultOptions: object

Defined in redis.ts:7

sessionCollectionName

sessionCollectionName: string = "sessions"

Defined in redis.ts:9

userCollectionName

userCollectionName: string = "users"

Defined in redis.ts:8

dateProvider

dateProvider(date?: Date): number

Defined in redis.ts:15

Parameters:

NameType
date?Date

Returns: number

idProvider

idProvider(): string

Defined in redis.ts:14

Returns: string

timestamps: object

Defined in redis.ts:10

  • createdAt: string = "createdAt"

  • updatedAt: string = "updatedAt"