update types

This commit is contained in:
JesmoDev
2024-05-02 09:14:09 +02:00
parent 48b17a6631
commit 2e9374d6e2

View File

@@ -2,11 +2,16 @@ import type { UmbWebhookEntityType } from './entity.js';
export interface UmbWebhookDetailModel {
entityType: UmbWebhookEntityType;
headers: { [key: string]: string };
headers: Record<string, string>;
unique: string;
name: string;
enabled: boolean;
url: string;
events: string[] | null;
types: string[] | null;
events: Array<WebhookEventModel>;
contentTypes: Array<string>;
}
export interface WebhookEventModel {
eventName: string;
eventType: string;
alias: string;
}