diff --git a/lib/client/types/form/favSub.ts b/lib/client/types/form/favSub.ts index 4ca3a35..12f0f0a 100644 --- a/lib/client/types/form/favSub.ts +++ b/lib/client/types/form/favSub.ts @@ -1,26 +1,26 @@ interface SubBody { - stories: number[]; - authors: number[]; - bands: number[]; + stories?: number[]; + authors?: number[]; + bands?: number[]; } interface FavBody { - stories: number[]; - authors: number[]; + stories?: number[]; + authors?: number[]; } interface HideBody { - authors: number[]; - bands: number[]; + authors?: number[]; + bands?: number[]; } export interface SubPayload { - push: SubBody; - pull: SubBody; + push?: SubBody; + pull?: SubBody; } export interface FavPayload { - push: FavBody; - pull: FavBody; + push?: FavBody; + pull?: FavBody; } export interface HidePayload { - push: HideBody; - pull: HideBody; + push?: HideBody; + pull?: HideBody; }