Interface: DB
#
Implemented by#
Methods#
addâ–¸ add(key
: string, url
: string): Promise<boolean>
#
ParametersName | Type |
---|---|
key | string |
url | string |
Returns: Promise<boolean>
Defined in: db/db.ts:8
#
deleteKeyâ–¸ deleteKey(key
: string): Promise<boolean>
#
ParametersName | Type |
---|---|
key | string |
Returns: Promise<boolean>
Defined in: db/db.ts:6
#
deleteUrlâ–¸ deleteUrl(key
: string, url
: string): Promise<boolean>
#
ParametersName | Type |
---|---|
key | string |
url | string |
Returns: Promise<boolean>
Defined in: db/db.ts:7
#
getâ–¸ get(key
: string): Promise<Hook>
#
ParametersName | Type |
---|---|
key | string |
Returns: Promise<Hook>
Defined in: db/db.ts:4
#
getDBâ–¸ getDB(): Promise<Hook[]>
Returns: Promise<Hook[]>
Defined in: db/db.ts:5