export {}; export declare const enum FeedDataTypeEnum { Text = "text", Video = "video", Image = "image", File = "file", Audio = "audio", LiveStream = "liveStream", Clip = "clip", Poll = "poll", Room = "room" } export declare const enum FeedSortByEnum { LastCreated = "lastCreated", FirstCreated = "firstCreated", LastUpdated = "lastUpdated", FirstUpdated = "firstUpdated" } export declare const enum FeedSourceEnum { Community = "community", User = "user" } export declare const enum FeedTypeEnum { Reviewing = "reviewing", Published = "published", Declined = "declined" } declare global { namespace Amity { type FeedDataType = FeedDataTypeEnum; type FeedSortBy = FeedSortByEnum; type FeedSource = FeedSourceEnum; type Feed = { feedId: string; feedType: 'reviewing' | 'published'; targetType: Extract; targetId: string; postCount: number; } & Amity.Timestamps; type QueryGlobalFeed = { dataTypes?: ('video' | 'image' | 'audio' | 'file' | 'poll' | 'liveStream' | 'clip' | 'room')[]; queryToken?: string; includeMixedStructure?: boolean; }; type CustomRankingGlobalFeedLiveCollection = Amity.LiveCollectionParams>; type CustomRankingGlobalFeedLiveCollectionCache = Amity.LiveCollectionCache; type GlobalFeedLiveCollection = Amity.LiveCollectionParams>; type GlobalFeedLiveCollectionCache = Amity.LiveCollectionCache; type QueryUserFeed = { userId: string; includeDeleted?: boolean; sortBy?: Amity.FeedSortBy; dataTypes?: Amity.FeedDataType[]; matchingOnlyParentPost?: boolean; feedSources?: Amity.FeedSource[]; includeMixedStructure?: boolean; }; type UserFeedLiveCollection = Amity.LiveCollectionParams; type UserFeedLiveCollectionCache = Amity.LiveCollectionCache; type FeedType = `${FeedTypeEnum}`; type QueryCommunityFeed = { communityId: string; sortBy?: Amity.FeedSortBy; includeDeleted?: boolean; feedType?: Amity.FeedType; tags?: Amity.Taggable['tags']; includeMixedStructure?: boolean; }; type CommunityFeedLiveCollection = Amity.LiveCollectionParams; type CommunityFeedLiveCollectionCache = Amity.LiveCollectionCache; } } //# sourceMappingURL=feed.d.ts.map