@amityco/ts-sdk-react-native
Version:
Amity Social Cloud Typescript SDK
121 lines • 3.81 kB
TypeScript
export declare const baseCommunity: Amity.Community;
export declare const community11: Amity.Community;
export declare const community21: Amity.Community;
export declare const communityUser11: Amity.RawMembership<'community'>;
export declare const convertedCommunityUser1: Amity.Membership<"community">;
export declare const communityUser12: Amity.RawMembership<'community'>;
export declare const convertedCommunityUser2: Amity.Membership<"community">;
export declare const communityUser13: Amity.RawMembership<'community'>;
export declare const convertedCommunityUser3: Amity.Membership<"community">;
export declare const communityUser21: Amity.RawMembership<'community'>;
export declare const withRoleCommunityUser: Amity.Membership<"community">;
export declare const communityUser22: Amity.RawMembership<'community'>;
export declare const bannedCommunityUser: Amity.Membership<"community">;
export declare const emptyCommunityPayload: {
communities: never[];
communityUsers: never[];
categories: never[];
feeds: never[];
users: never[];
files: never[];
};
export declare const communityPayload: Amity.CommunityPayload;
export declare const communityUserQueryResponse: {
data: {
paging: {
previous?: string | undefined;
next?: string | undefined;
};
communities: Amity.Community[];
communityUsers: Amity.RawMembership<"community">[];
users: Amity.User[];
files: never[];
categories: never[];
feeds: never[];
};
};
export declare const communityUserQueryResponsePage2: {
data: {
paging: {
previous?: string | undefined;
next?: string | undefined;
};
communities: Amity.Community[];
communityUsers: Amity.RawMembership<"community">[];
users: Amity.User[];
files: never[];
categories: never[];
feeds: never[];
};
};
export declare const communityUserModel: {
user: Amity.User;
isBanned: boolean;
isMuted: boolean;
muteTimeout: string;
lastActivity: string;
userId: string;
userInternalId: string;
userPublicId: string;
communityId: string;
communityMembership: Amity.GroupMembership;
createdAt: string;
updatedAt?: string | undefined;
roles: string[];
permissions: Amity.Permission[];
}[];
export declare const communityRaw1: {
path: string;
isOfficial: boolean;
isPublic: boolean;
onlyAdminCanPost: boolean;
postsCount: number;
membersCount: number;
moderatorMemberCount: number;
updatedAt: string;
createdAt: string;
isDeleted: boolean;
needApprovalOnPostCreation: boolean;
displayName: string;
tags: string[];
metadata: {};
hasFlaggedComment: boolean;
hasFlaggedPost: boolean;
communityId: string;
channelId: string;
userId: string;
isJoined: boolean;
avatarFileId: string;
categoryIds: string[];
};
export declare const communityRaw2: {
path: string;
isOfficial: boolean;
isPublic: boolean;
onlyAdminCanPost: boolean;
postsCount: number;
membersCount: number;
moderatorMemberCount: number;
updatedAt: string;
createdAt: string;
isDeleted: boolean;
needApprovalOnPostCreation: boolean;
displayName: string;
tags: never[];
metadata: {};
hasFlaggedComment: boolean;
hasFlaggedPost: boolean;
communityId: string;
channelId: string;
userId: string;
isJoined: boolean;
avatarFileId: string;
categoryIds: never[];
};
export declare const communityQueryResponse: {
data: Amity.CommunityPayload & Amity.Pagination;
};
export declare const communityQueryResponsePage2: {
data: Amity.CommunityPayload & Amity.Pagination;
};
//# sourceMappingURL=community.d.ts.map