diff --git a/lib/client/types/form/favSub.ts b/lib/client/types/form/favSub.ts new file mode 100644 index 0000000..4ca3a35 --- /dev/null +++ b/lib/client/types/form/favSub.ts @@ -0,0 +1,26 @@ +interface SubBody { + stories: number[]; + authors: number[]; + bands: number[]; +} +interface FavBody { + stories: number[]; + authors: number[]; +} +interface HideBody { + authors: number[]; + bands: number[]; +} +export interface SubPayload { + push: SubBody; + pull: SubBody; +} +export interface FavPayload { + push: FavBody; + pull: FavBody; +} + +export interface HidePayload { + push: HideBody; + pull: HideBody; +} diff --git a/lib/client/types/form/myStuff.ts b/lib/client/types/form/myStuff.ts new file mode 100644 index 0000000..60b0296 --- /dev/null +++ b/lib/client/types/form/myStuff.ts @@ -0,0 +1,21 @@ +export interface MyStuff { + email?: string; + password?: string; + newPassword?: string; + username?: string; + disclaimer?: string; + hidden?: boolean; + nightMode?: boolean; + reviewReply?: boolean; +} + +export interface Profile { + occupation?: string; + location?: string; + website?: string; + blog?: string; + bio?: string; + showEmail?: boolean; + signature?: string; + avatar?: string; +} diff --git a/lib/client/types/FormStory.ts b/lib/client/types/form/story.ts similarity index 100% rename from lib/client/types/FormStory.ts rename to lib/client/types/form/story.ts