@apolitical/component-library 8.3.24 → 8.3.25-ac.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,3 +3,4 @@ export * from './feeds';
3
3
  export * from './discussion.helpers';
4
4
  export * from './sections';
5
5
  export * from './shared/interfaces';
6
+ export { getActivityPollOptions, constructActivityContent } from './shared/helpers';
@@ -1,7 +1,8 @@
1
1
  import type { IUserContext } from '../../../context';
2
- import type { IActivity, IReaction } from '..';
2
+ import type { IActivity, ICategory, IReaction } from '..';
3
3
  import { ActivityType } from '../../../discussion/shared';
4
4
  import { ResultsVisibility } from '../../../polls';
5
+ import { IPostContent } from '../../components';
5
6
  interface IPrepareActivityArgs {
6
7
  title?: string;
7
8
  content?: string;
@@ -74,4 +75,5 @@ export declare function incrementActivityLikes({ activity, reaction, }: IIncreme
74
75
  export declare function decrementActivityLikes({ activity, user }: IDecrementActivityLikesArgs): void;
75
76
  export declare function incrementActivityPins({ activity, reaction, }: IIncrementActivityLikesArgs): void;
76
77
  export declare function decrementActivityPins({ activity }: IDecrementActivityLikesArgs): void;
78
+ export declare const constructActivityContent: (activity: IActivity, categories?: ICategory[]) => IPostContent;
77
79
  export {};