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

pull/9078/head
Agusti Fernandez Pardo 2022-05-18 21:50:34 +02:00
parent 27053e7c80
commit df16126a49
1 changed files with 3 additions and 3 deletions

View File

@ -125,9 +125,9 @@ export type EventTypeCustomInputsResponse = BaseResponse & {
event_type_custom_inputs?: Partial<EventTypeCustomInput>[]; event_type_custom_inputs?: Partial<EventTypeCustomInput>[];
}; };
export interface EventTypeMeta extends Omit<EventType, "locations" | "metadata" | "recurringEvent"> { export interface EventTypeMeta extends Omit<EventType, "locations" | "metadata" | "recurringEvent"> {
locations?: JSON; locations: object | null;
metadata?: JSON; metadata: object | null;
recurringEvent: JSON; recurringEvent: object | null;
} }
// EventType // EventType
export type EventTypeResponse = BaseResponse & { export type EventTypeResponse = BaseResponse & {