@bmiddha/webhooks
#
Classes#
Interfaces#
Type aliases#
HookƬ Hook: object
#
Type declarationName | Type |
---|---|
key | string |
urls | string[] |
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 declarationName | Type |
---|---|
memoryDB? | MemoryDBType |
mongooseConnection? | Connection |
redisClient? | Redis |
Defined in: types/Options.ts:6
#
StatusResponseƬ StatusResponse: object
#
Type declarationName | Type |
---|---|
body | string |
headers | object |
key | string |
status | number |
url | string |
Defined in: types/StatusResponse.ts:1
#
TriggerOptionsƬ TriggerOptions: object
#
Type declarationName | Type |
---|---|
body | object |
callback? | (res : StatusResponse) => void |
headers? | object |
key | string |
Defined in: types/TriggerOptions.ts:2
#
Variables#
HookSchema• Const
HookSchema: Schema<HookDocument, Model<any, any, any>, undefined>
Defined in: db/mongo.ts:5