import {windowDimensions} from '@shared/constants';

export const BODY_MAX_LENGTH = 10000;
export const SMALL_MULTIMEDIA_WIDTH = 100;
export const CONTENT_WIDTH = windowDimensions.width - 30;
export const FOOTER_PADDING_BOTTOM = 16;
export const ANIMATED_TIME = 500;
export const GIF_WIDTH = windowDimensions.width * 0.7;
export const USERS_AUDIENCE_DEFAULT_LIMIT = 20;
export const newPostQueryKeys = {
  segmentationGroups: ['segmentationGroups'],
  segmentationUsers: (segmentationItemIds: number[]) => [
    'segmentationUsers',
    ...segmentationItemIds,
  ],
  totalUsers: ['totalUsers'],
  segmentationUsersCount: (segmentationItemIds: number[]) => [
    'segmentationUsersCount',
    ...segmentationItemIds,
  ],
};
