|
|
@ -7,8 +7,8 @@ import { |
|
|
|
populateSamplePayload, |
|
|
|
populateSamplePayload, |
|
|
|
populateSamplePayloadV2, |
|
|
|
populateSamplePayloadV2, |
|
|
|
} from '../meta/helpers/populateSamplePayload'; |
|
|
|
} from '../meta/helpers/populateSamplePayload'; |
|
|
|
|
|
|
|
import type { HookType } from 'nocodb-sdk'; |
|
|
|
import type { HookReqType, HookTestReqType } from 'nocodb-sdk'; |
|
|
|
import type { HookReqType, HookTestReqType } from 'nocodb-sdk'; |
|
|
|
import { HookType } from 'nocodb-sdk'; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function validateHookPayload( |
|
|
|
function validateHookPayload( |
|
|
|
notificationJsonOrObject: string | Record<string, any> |
|
|
|
notificationJsonOrObject: string | Record<string, any> |
|
|
|