feat(webhook): add webhook endpoint and client push notifications, auto-refresh UI, and gitea id mapping fixes
This commit is contained in:
@@ -5,3 +5,4 @@ export * from './groups.ts';
|
||||
export * from './secrets.ts';
|
||||
export * from './pipelines.ts';
|
||||
export * from './logs.ts';
|
||||
export * from './webhook.ts';
|
||||
|
||||
18
ts_interfaces/requests/webhook.ts
Normal file
18
ts_interfaces/requests/webhook.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
import * as plugins from '../plugins.ts';
|
||||
import * as data from '../data/index.ts';
|
||||
|
||||
export interface IReq_WebhookNotification extends plugins.typedrequestInterfaces.implementsTR<
|
||||
plugins.typedrequestInterfaces.ITypedRequest,
|
||||
IReq_WebhookNotification
|
||||
> {
|
||||
method: 'webhookNotification';
|
||||
request: {
|
||||
connectionId: string;
|
||||
provider: string;
|
||||
event: string;
|
||||
timestamp: number;
|
||||
};
|
||||
response: {
|
||||
ok: boolean;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user