@likeminds.community/feed-js
Version:
LikeMinds Javascript SDK for chat APIs
50 lines (49 loc) • 1.13 kB
TypeScript
export interface Community {
id: number;
name: string;
purpose: string;
imageUrl: string;
membersCount: number;
type: number;
subType: number;
isPaid: boolean;
autoApproval: boolean;
gracePeriod: number;
isDiscoverable: boolean;
referralEnabled: boolean;
updatedAt: number;
feeMembership: number;
feeEvent: number;
feePaymentPages: number;
branding: CommunityBranding;
isWhitelabel: boolean;
hideDmTab: boolean;
isFreemiumCommunity: boolean;
communitySettingRights: CommunitySettingRights[];
communitySettings: CommunitySettings[];
}
interface CommunitySettings {
enabled: boolean;
enabledBy: number;
settingSubTitle: string;
settingTitle: string;
settingType: string;
}
interface CommunitySettingRights {
id: number;
title: string;
state: number;
isSelected: boolean;
isLocked: boolean;
}
interface CommunityBranding {
basic: {
primaryColour: string;
};
advanced: {
headerColour: string;
buttonsIconsColour: string;
textLinksColour: string;
};
}
export {};