From c30b0cbf0af33c4c9ef2fd1468b852e450685f34 Mon Sep 17 00:00:00 2001 From: arc-alex Date: Sun, 19 Nov 2023 21:28:29 +0100 Subject: [PATCH] fix httpPlaceholder --- apps/client/src/common/models/Http.ts | 35 +++++++++------------------ 1 file changed, 11 insertions(+), 24 deletions(-) diff --git a/apps/client/src/common/models/Http.ts b/apps/client/src/common/models/Http.ts index 7c94e470e..262b5b96a 100644 --- a/apps/client/src/common/models/Http.ts +++ b/apps/client/src/common/models/Http.ts @@ -1,26 +1,13 @@ -export const httpPlaceholder = { - onLoad: { - url: '', - enabled: false, - }, - onStart: { - url: '', - enabled: false, - }, - onUpdate: { - url: '', - enabled: false, - }, - onPause: { - url: '', - enabled: false, - }, - onStop: { - url: '', - enabled: false, - }, - onFinish: { - url: '', - enabled: false, +import { HTTPSettings } from 'ontime-types'; + +export const httpPlaceholder: HTTPSettings = { + enabledOut: false, + subscriptions: { + onLoad: [], + onStart: [], + onUpdate: [], + onPause: [], + onStop: [], + onFinish: [], }, };