mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-31 01:01:30 +08:00
### What problem does this PR solve? Feat: Remove HMAC from the webhook #10427 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -291,3 +291,10 @@ export interface GlobalVariableType {
|
||||
description: string;
|
||||
type: string;
|
||||
}
|
||||
|
||||
export interface IWebhookTrace {
|
||||
webhook_id: null;
|
||||
events: any[];
|
||||
next_since_ts: number;
|
||||
finished: boolean;
|
||||
}
|
||||
|
||||
@ -2,3 +2,8 @@ export interface IDebugSingleRequestBody {
|
||||
component_id: string;
|
||||
params: Record<string, any>;
|
||||
}
|
||||
|
||||
export interface IAgentWebhookTraceRequest {
|
||||
since_ts: number; // From the first request for return
|
||||
webhook_id: string; // Each external request generates a unique webhook ID.
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user