1 import { Either, Option } from "@sniptt/monads";
7 } from "lemmy-js-client";
10 * This contains serialized data, it needs to be deserialized before use.
12 export interface IsoData {
15 site_res: GetSiteResponse;
18 export interface ILemmyConfig {
25 lemmyConfig?: ILemmyConfig;
29 export interface InitialFetchRequest {
35 export interface CommentNode {
36 comment_view: CommentView | PersonMentionView;
37 children?: CommentNode[];
41 export interface PostFormParams {
45 nameOrId: Option<Either<string, number>>;
48 export enum CommentSortType {
55 export enum CommentViewType {
60 export enum DataType {
70 export enum PersonDetailsView {