Skip to content

Commit 453beb0

Browse files
committed
type: WebhookEventVideoFailed -> WebhookEventVideoError
1 parent 5bdc4fe commit 453beb0

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

libs/interfaces/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import {
2121
WebhookEvent,
2222
WebhookEventVideoAccepted,
2323
WebhookEventVideoReady,
24-
WebhookEventVideoFailed,
24+
WebhookEventVideoError,
2525
} from "./webhookEvent";
2626

2727
type FinalUrlOptions = ImageKitOptions & UrlOptions; // actual options used to construct url
@@ -65,6 +65,6 @@ export type {
6565
WebhookEvent,
6666
WebhookEventVideoAccepted,
6767
WebhookEventVideoReady,
68-
WebhookEventVideoFailed,
68+
WebhookEventVideoError,
6969
};
7070
export type { IKCallback } from "./IKCallback";

libs/interfaces/webhookEvent.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ export interface WebhookEventVideoReady extends WebhookEventVideoBase {
6060
};
6161
}
6262

63-
export interface WebhookEventVideoFailed extends WebhookEventVideoBase {
64-
type: "video.transformation.failed";
63+
export interface WebhookEventVideoError extends WebhookEventVideoBase {
64+
type: "video.transformation.error";
6565
data: {
6666
asset: Asset;
6767
transformation: {
@@ -77,4 +77,4 @@ export interface WebhookEventVideoFailed extends WebhookEventVideoBase {
7777
export type WebhookEvent =
7878
| WebhookEventVideoAccepted
7979
| WebhookEventVideoReady
80-
| WebhookEventVideoFailed;
80+
| WebhookEventVideoError;

0 commit comments

Comments
 (0)