@medipha/feed 0.1.0 → 0.1.1
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.
- package/dist/app/runtime/feed-runtime-context.d.ts +1 -1
- package/dist/app/runtime/feed-session.d.ts +1 -1
- package/dist/core/content.d.ts +19 -0
- package/dist/core/errors.d.ts +8 -0
- package/dist/core/feed-api.d.ts +134 -0
- package/dist/core/formatting.d.ts +55 -0
- package/dist/core/http.d.ts +18 -0
- package/dist/core/index.d.ts +16 -0
- package/dist/core/media-limits.d.ts +7 -0
- package/dist/core/mention.d.ts +10 -0
- package/dist/core/query-string.d.ts +3 -0
- package/dist/core/types.d.ts +208 -0
- package/dist/features/comments/comment-composer.d.ts +1 -1
- package/dist/features/comments/comment-item.d.ts +1 -1
- package/dist/features/comments/comment-thread.d.ts +1 -1
- package/dist/features/comments/mention-box.d.ts +1 -1
- package/dist/features/comments/mention-filter.d.ts +1 -1
- package/dist/features/comments/mention-input.d.ts +1 -1
- package/dist/features/comments/mention-options.d.ts +1 -1
- package/dist/features/comments/post-comments-modal.d.ts +1 -1
- package/dist/features/comments/use-mention-search.d.ts +1 -1
- package/dist/features/composer/category-select.d.ts +1 -1
- package/dist/features/composer/composer-form.d.ts +1 -1
- package/dist/features/composer/create-post-button.d.ts +1 -1
- package/dist/features/composer/create-post-modal.d.ts +1 -1
- package/dist/features/composer/format-text.d.ts +1 -1
- package/dist/features/composer/format-toolbar.d.ts +1 -1
- package/dist/features/composer/media-picker.d.ts +1 -1
- package/dist/features/composer/post-preview-modal.d.ts +1 -1
- package/dist/features/feed/left-rail.d.ts +1 -1
- package/dist/features/feed/sidebar/category-nav.d.ts +1 -1
- package/dist/features/feed/sidebar/discussion-channels.d.ts +1 -1
- package/dist/features/feed/widgets/post-detail-modal.d.ts +1 -1
- package/dist/features/feed/widgets/trending-hashtags-widget.d.ts +1 -1
- package/dist/features/manage/posts/post-summary-cell.d.ts +1 -1
- package/dist/features/manage/posts/review-drawer.d.ts +1 -1
- package/dist/features/manage/reports/overview-cards.d.ts +1 -1
- package/dist/features/manage/reports/top-posts-table.d.ts +1 -1
- package/dist/features/manage/reports/top-users-table.d.ts +1 -1
- package/dist/features/manage/reports/trend-chart.d.ts +1 -1
- package/dist/features/post/card/post-actions-menu.d.ts +1 -1
- package/dist/features/post/card/post-card.d.ts +1 -1
- package/dist/features/post/card/post-delete-button.d.ts +1 -1
- package/dist/features/post/card/post-header.d.ts +1 -1
- package/dist/features/post/card/post-status-tag.d.ts +1 -1
- package/dist/features/post/card/post-status.d.ts +1 -1
- package/dist/features/post/content/document-preview-url.d.ts +1 -1
- package/dist/features/post/content/mention-card.d.ts +1 -1
- package/dist/features/post/content/post-documents.d.ts +1 -1
- package/dist/features/post/content/post-images.d.ts +1 -1
- package/dist/features/post/content/post-videos.d.ts +1 -1
- package/dist/features/post/content/rich-content.d.ts +1 -1
- package/dist/features/post/content/use-link-preview.d.ts +1 -1
- package/dist/features/post/interactions/post-engagement-stats.d.ts +1 -1
- package/dist/features/post/interactions/post-reaction-bar.d.ts +1 -1
- package/dist/features/post/interactions/reaction-button.d.ts +1 -1
- package/dist/features/post/interactions/reaction-picker.d.ts +1 -1
- package/dist/features/post/interactions/share-button.d.ts +1 -1
- package/dist/features/post/list/post-list.d.ts +1 -1
- package/dist/index.cjs +21 -18
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2761 -2325
- package/dist/shared/components/user-avatar.d.ts +1 -1
- package/dist/shared/hooks/use-cursor-list.d.ts +1 -1
- package/dist/shared/hooks/use-optimistic-reaction.d.ts +1 -1
- package/dist/shared/utils/date-range.d.ts +1 -1
- package/dist/shared/utils/reactions.d.ts +1 -1
- package/package.json +5 -9
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ReportFilterParams } from '
|
|
1
|
+
import { ReportFilterParams } from '../../../core';
|
|
2
2
|
/**
|
|
3
3
|
* Tab content of the reports page. `range` is the page filter (dates + department); the tab can
|
|
4
4
|
* narrow the dates and search the text without touching the rest of the page.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ReportFilterParams } from '
|
|
1
|
+
import { ReportFilterParams } from '../../../core';
|
|
2
2
|
/** Tab content: the most active people, or one chosen employee's numbers. */
|
|
3
3
|
export declare function TopUsersTable({ range }: {
|
|
4
4
|
range: ReportFilterParams;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import { FeedPost } from '
|
|
2
|
+
import { FeedPost } from '../../../core';
|
|
3
3
|
export interface PostCardProps {
|
|
4
4
|
post: FeedPost;
|
|
5
5
|
/** modal: the full post inside the comments modal, comments open with the composer at the bottom. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FeedMedia } from '
|
|
1
|
+
import { FeedMedia } from '../../../core';
|
|
2
2
|
/**
|
|
3
3
|
* The page that shows the file: PDFs open in the browser's own viewer, Office files in Microsoft's
|
|
4
4
|
* online viewer (it fetches the file itself, so the file URL must be reachable from the internet).
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FeedApi, LinkPreview } from '
|
|
1
|
+
import { FeedApi, LinkPreview } from '../../../core';
|
|
2
2
|
export declare function useLinkPreview(api: FeedApi, url: string): import('../../../shared/hooks/use-async-data').AsyncData<LinkPreview | null>;
|
|
3
3
|
export declare function hostnameOf(url: string): string;
|
|
4
4
|
/** Google Maps links (long and short forms): shown neither as a card nor as text. */
|