Skip to main content

@bmiddha/webhooks

Classes#

Interfaces#

Type aliases#

Hook#

Ƭ Hook: object

Type declaration#

NameType
keystring
urlsstring[]

Defined in: types/Hook.ts:1


HookDocument#

Ƭ HookDocument: Hook & Document & { _id: string }

Defined in: db/mongo.ts:10


MemoryDBType#

Ƭ MemoryDBType: Record<string, string[]>

Defined in: types/Options.ts:4


Options#

Ƭ Options: object

Type declaration#

NameType
memoryDB?MemoryDBType
mongooseConnection?Connection
redisClient?Redis

Defined in: types/Options.ts:6


StatusResponse#

Ƭ StatusResponse: object

Type declaration#

NameType
bodystring
headersobject
keystring
statusnumber
urlstring

Defined in: types/StatusResponse.ts:1


TriggerOptions#

Ƭ TriggerOptions: object

Type declaration#

NameType
bodyobject
callback?(res: StatusResponse) => void
headers?object
keystring

Defined in: types/TriggerOptions.ts:2

Variables#

HookSchema#

• Const HookSchema: Schema<HookDocument, Model<any, any, any>, undefined>

Defined in: db/mongo.ts:5