Skip to content

Scheduling infrastructure for absolutely everyone.

fix: object or null instead of json for extends event-types

Agusti Fernandez Pardodf16126a49cc
diff --git a/lib/types.ts b/lib/types.ts
index 574e164e29b..13670a0408f 100644
--- a/lib/types.ts
+++ b/lib/types.ts
@@ -125,9 +125,9 @@ export type EventTypeCustomInputsResponse = BaseResponse & {
event_type_custom_inputs?: Partial<EventTypeCustomInput>[];
};
export interface EventTypeMeta extends Omit<EventType, "locations" | "metadata" | "recurringEvent"> {
- locations?: JSON;
- metadata?: JSON;
- recurringEvent: JSON;
+ locations: object | null;
+ metadata: object | null;
+ recurringEvent: object | null;
}
// EventType
export type EventTypeResponse = BaseResponse & {