@singi-labs/sifa-sdk 0.18.6 → 0.18.8
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/index.cjs +52 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +52 -4
- package/dist/index.js.map +1 -1
- package/dist/{network-map-DZjcO7tM.d.ts → network-map-BfjOE-C3.d.ts} +1 -1
- package/dist/{network-map-Ds3OR7eJ.d.cts → network-map-CKTFPnYE.d.cts} +1 -1
- package/dist/{org-h8nhEeAJ.d.ts → org-BoLWIj_W.d.ts} +55 -2
- package/dist/{org-DmtI6C4A.d.cts → org-CPEFdMmo.d.cts} +55 -2
- package/dist/query/fetchers/index.cjs +29 -1
- package/dist/query/fetchers/index.cjs.map +1 -1
- package/dist/query/fetchers/index.d.cts +3 -3
- package/dist/query/fetchers/index.d.ts +3 -3
- package/dist/query/fetchers/index.js +27 -2
- package/dist/query/fetchers/index.js.map +1 -1
- package/dist/query/hooks/index.cjs +61 -1
- package/dist/query/hooks/index.cjs.map +1 -1
- package/dist/query/hooks/index.d.cts +3 -3
- package/dist/query/hooks/index.d.ts +3 -3
- package/dist/query/hooks/index.js +59 -2
- package/dist/query/hooks/index.js.map +1 -1
- package/dist/query/index.cjs +62 -1
- package/dist/query/index.cjs.map +1 -1
- package/dist/query/index.d.cts +5 -5
- package/dist/query/index.d.ts +5 -5
- package/dist/query/index.js +57 -2
- package/dist/query/index.js.map +1 -1
- package/dist/{use-org-notification-emails-CkCQJhy8.d.cts → use-org-notification-emails-5oxcxXP9.d.cts} +15 -2
- package/dist/{use-org-notification-emails-Cz4cuTyg.d.ts → use-org-notification-emails-LVo7z1M9.d.ts} +15 -2
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as Profile, d as ProfilePosition, S as SkillRef, w as PresentationLinkView } from './index-CTzpbW81.js';
|
|
2
|
-
import { S as SifaApiConfig, A as ApiFetchOptions, C as CreateResult, W as WriteResult } from './org-
|
|
2
|
+
import { S as SifaApiConfig, A as ApiFetchOptions, C as CreateResult, W as WriteResult } from './org-BoLWIj_W.js';
|
|
3
3
|
import { n as ProfileView } from './types-zjv3qDWz.js';
|
|
4
4
|
import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-Bj_vVxkv.js';
|
|
5
5
|
import { j as EntitySearchResponse, E as EntitySearchResult, d as EntityMintDomainResponse, h as EntityResolveDomainResponse, m as EntitySelectRequest, o as EntitySelectResponse } from './feed-BMm9Pkew.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as Profile, d as ProfilePosition, S as SkillRef, w as PresentationLinkView } from './index-CTzpbW81.cjs';
|
|
2
|
-
import { S as SifaApiConfig, A as ApiFetchOptions, C as CreateResult, W as WriteResult } from './org-
|
|
2
|
+
import { S as SifaApiConfig, A as ApiFetchOptions, C as CreateResult, W as WriteResult } from './org-CPEFdMmo.cjs';
|
|
3
3
|
import { n as ProfileView } from './types-DAEkBwRB.cjs';
|
|
4
4
|
import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-C557t4hr.cjs';
|
|
5
5
|
import { j as EntitySearchResponse, E as EntitySearchResult, d as EntityMintDomainResponse, h as EntityResolveDomainResponse, m as EntitySelectRequest, o as EntitySelectResponse } from './feed-BMm9Pkew.cjs';
|
|
@@ -540,6 +540,52 @@ declare function bulkHideProfileItems(config: SifaApiConfig, input: BulkHideProf
|
|
|
540
540
|
/** Bulk-unhide profile items sharing the same `itemType` + `source`. */
|
|
541
541
|
declare function bulkUnhideProfileItems(config: SifaApiConfig, input: BulkHideProfileItemInput, options?: ApiFetchOptions): Promise<WriteResult>;
|
|
542
542
|
|
|
543
|
+
interface HideActivityItemInput {
|
|
544
|
+
/** AT-URI of the record, or the item URL for externally-sourced items. */
|
|
545
|
+
uri: string;
|
|
546
|
+
/** Collection NSID (or synthetic collection, e.g. `fediverse.post`). */
|
|
547
|
+
collection: string;
|
|
548
|
+
/**
|
|
549
|
+
* Registry app id the item belongs to. Optional, and used only to take the
|
|
550
|
+
* item out of the owner's OG-image activity spine, which is computed from
|
|
551
|
+
* per-(day, app) counts and never sees a URI.
|
|
552
|
+
*/
|
|
553
|
+
appId?: string;
|
|
554
|
+
/** UTC day the item was created (`YYYY-MM-DD`), for the same reason. */
|
|
555
|
+
activityDate?: string;
|
|
556
|
+
}
|
|
557
|
+
interface UnhideActivityItemInput {
|
|
558
|
+
uri: string;
|
|
559
|
+
}
|
|
560
|
+
/** One activity item the authenticated user has hidden from their profile. */
|
|
561
|
+
interface HiddenActivityItem {
|
|
562
|
+
uri: string;
|
|
563
|
+
collection: string;
|
|
564
|
+
appId: string | null;
|
|
565
|
+
activityDate: string | null;
|
|
566
|
+
hiddenAt: string;
|
|
567
|
+
}
|
|
568
|
+
interface FetchHiddenActivityItemsOptions extends ApiFetchOptions {
|
|
569
|
+
/**
|
|
570
|
+
* Pass the caller's `Cookie` header on Next.js RSC server-side calls.
|
|
571
|
+
* `credentials: 'include'` does NOT propagate browser cookies in RSC.
|
|
572
|
+
*/
|
|
573
|
+
cookieHeader?: string;
|
|
574
|
+
}
|
|
575
|
+
/**
|
|
576
|
+
* Hide one activity item from the authenticated user's profile. The record
|
|
577
|
+
* stays on their PDS and stays readable by every other app; only its
|
|
578
|
+
* appearance on sifa.id is suppressed.
|
|
579
|
+
*/
|
|
580
|
+
declare function hideActivityItem(config: SifaApiConfig, input: HideActivityItemInput, options?: ApiFetchOptions): Promise<WriteResult>;
|
|
581
|
+
/** Restore a previously-hidden activity item. */
|
|
582
|
+
declare function unhideActivityItem(config: SifaApiConfig, input: UnhideActivityItemInput, options?: ApiFetchOptions): Promise<WriteResult>;
|
|
583
|
+
/**
|
|
584
|
+
* Everything the authenticated user has hidden, newest hide first. Returns
|
|
585
|
+
* `[]` on any error so a settings page can still render.
|
|
586
|
+
*/
|
|
587
|
+
declare function fetchHiddenActivityItems(config: SifaApiConfig, options?: FetchHiddenActivityItemsOptions): Promise<HiddenActivityItem[]>;
|
|
588
|
+
|
|
543
589
|
/** Public, aggregate stats shown on the homepage and similar surfaces. */
|
|
544
590
|
interface StatsResponse {
|
|
545
591
|
profileCount: number;
|
|
@@ -1150,6 +1196,12 @@ interface ActivityItem {
|
|
|
1150
1196
|
* gate media. See {@link ActivityLabel}.
|
|
1151
1197
|
*/
|
|
1152
1198
|
labels?: ActivityLabel[];
|
|
1199
|
+
/**
|
|
1200
|
+
* The owner has hidden this item from their profile. Only ever set on the
|
|
1201
|
+
* owner's own view of their feed -- every other surface omits hidden items
|
|
1202
|
+
* rather than flagging them -- so a card can offer an unhide in place.
|
|
1203
|
+
*/
|
|
1204
|
+
hidden?: boolean;
|
|
1153
1205
|
}
|
|
1154
1206
|
interface ActivityTeaserResponse {
|
|
1155
1207
|
items: ActivityItem[];
|
|
@@ -1579,6 +1631,7 @@ declare const sifaQueryKeys: {
|
|
|
1579
1631
|
readonly heatmap: (handleOrDid: string, days: number) => readonly ["sifa", "activity", "heatmap", string, number];
|
|
1580
1632
|
readonly teaser: (handleOrDid: string) => readonly ["sifa", "activity", "teaser", string];
|
|
1581
1633
|
readonly feed: (handleOrDid: string, opts: Record<string, unknown>) => readonly ["sifa", "activity", "feed", string, Record<string, unknown>];
|
|
1634
|
+
readonly hiddenItems: () => readonly ["sifa", "activity", "hidden-items"];
|
|
1582
1635
|
};
|
|
1583
1636
|
readonly github: {
|
|
1584
1637
|
readonly all: () => readonly ["sifa", "github"];
|
|
@@ -1630,7 +1683,7 @@ declare const sifaQueryKeys: {
|
|
|
1630
1683
|
readonly wipePreview: () => readonly ["sifa", "destructive", "wipe-preview"];
|
|
1631
1684
|
};
|
|
1632
1685
|
};
|
|
1633
|
-
type SifaQueryKey = ReturnType<typeof sifaQueryKeys.all> | ReturnType<typeof sifaQueryKeys.profile.all> | ReturnType<typeof sifaQueryKeys.profile.byHandle> | ReturnType<typeof sifaQueryKeys.profile.atFundLink> | ReturnType<typeof sifaQueryKeys.profile.externalAccounts> | ReturnType<typeof sifaQueryKeys.position.all> | ReturnType<typeof sifaQueryKeys.position.byOwner> | ReturnType<typeof sifaQueryKeys.search.all> | ReturnType<typeof sifaQueryKeys.search.profiles> | ReturnType<typeof sifaQueryKeys.search.canonicalSkills> | ReturnType<typeof sifaQueryKeys.search.skills> | ReturnType<typeof sifaQueryKeys.search.filters> | ReturnType<typeof sifaQueryKeys.entity.all> | ReturnType<typeof sifaQueryKeys.entity.search> | ReturnType<typeof sifaQueryKeys.discovery.all> | ReturnType<typeof sifaQueryKeys.discovery.similar> | ReturnType<typeof sifaQueryKeys.discovery.suggestions> | ReturnType<typeof sifaQueryKeys.discovery.suggestionCount> | ReturnType<typeof sifaQueryKeys.discovery.featured> | ReturnType<typeof sifaQueryKeys.follow.all> | ReturnType<typeof sifaQueryKeys.follow.following> | ReturnType<typeof sifaQueryKeys.follow.followers> | ReturnType<typeof sifaQueryKeys.follow.followingOf> | ReturnType<typeof sifaQueryKeys.follow.feed> | ReturnType<typeof sifaQueryKeys.follow.mutuals> | ReturnType<typeof sifaQueryKeys.follow.blueskySuggestions> | ReturnType<typeof sifaQueryKeys.admin.all> | ReturnType<typeof sifaQueryKeys.admin.featureAllowlist> | ReturnType<typeof sifaQueryKeys.admin.reviewQueues> | ReturnType<typeof sifaQueryKeys.stats.all> | ReturnType<typeof sifaQueryKeys.stats.homepage> | ReturnType<typeof sifaQueryKeys.apps.all> | ReturnType<typeof sifaQueryKeys.apps.registry> | ReturnType<typeof sifaQueryKeys.apps.hidden> | ReturnType<typeof sifaQueryKeys.activity.all> | ReturnType<typeof sifaQueryKeys.activity.heatmap> | ReturnType<typeof sifaQueryKeys.activity.teaser> | ReturnType<typeof sifaQueryKeys.activity.feed> | ReturnType<typeof sifaQueryKeys.endorsement.all> | ReturnType<typeof sifaQueryKeys.endorsement.count> | ReturnType<typeof sifaQueryKeys.endorsement.pending> | ReturnType<typeof sifaQueryKeys.endorsement.reciprocity> | ReturnType<typeof sifaQueryKeys.endorsement.received> | ReturnType<typeof sifaQueryKeys.confirmation.all> | ReturnType<typeof sifaQueryKeys.confirmation.pending> | ReturnType<typeof sifaQueryKeys.confirmation.given> | ReturnType<typeof sifaQueryKeys.stream.all> | ReturnType<typeof sifaQueryKeys.stream.networkCount> | ReturnType<typeof sifaQueryKeys.reactions.all> | ReturnType<typeof sifaQueryKeys.reactions.status> | ReturnType<typeof sifaQueryKeys.reactions.accountCheck> | ReturnType<typeof sifaQueryKeys.roadmap.all> | ReturnType<typeof sifaQueryKeys.roadmap.votes> | ReturnType<typeof sifaQueryKeys.roadmap.myVotes> | ReturnType<typeof sifaQueryKeys.bskyPreferences.all> | ReturnType<typeof sifaQueryKeys.bskyPreferences.contentLabels> | ReturnType<typeof sifaQueryKeys.destructive.all> | ReturnType<typeof sifaQueryKeys.destructive.wipePreview> | ReturnType<typeof sifaQueryKeys.repoInventory.all> | ReturnType<typeof sifaQueryKeys.repoInventory.list>;
|
|
1686
|
+
type SifaQueryKey = ReturnType<typeof sifaQueryKeys.all> | ReturnType<typeof sifaQueryKeys.profile.all> | ReturnType<typeof sifaQueryKeys.profile.byHandle> | ReturnType<typeof sifaQueryKeys.profile.atFundLink> | ReturnType<typeof sifaQueryKeys.profile.externalAccounts> | ReturnType<typeof sifaQueryKeys.position.all> | ReturnType<typeof sifaQueryKeys.position.byOwner> | ReturnType<typeof sifaQueryKeys.search.all> | ReturnType<typeof sifaQueryKeys.search.profiles> | ReturnType<typeof sifaQueryKeys.search.canonicalSkills> | ReturnType<typeof sifaQueryKeys.search.skills> | ReturnType<typeof sifaQueryKeys.search.filters> | ReturnType<typeof sifaQueryKeys.entity.all> | ReturnType<typeof sifaQueryKeys.entity.search> | ReturnType<typeof sifaQueryKeys.discovery.all> | ReturnType<typeof sifaQueryKeys.discovery.similar> | ReturnType<typeof sifaQueryKeys.discovery.suggestions> | ReturnType<typeof sifaQueryKeys.discovery.suggestionCount> | ReturnType<typeof sifaQueryKeys.discovery.featured> | ReturnType<typeof sifaQueryKeys.follow.all> | ReturnType<typeof sifaQueryKeys.follow.following> | ReturnType<typeof sifaQueryKeys.follow.followers> | ReturnType<typeof sifaQueryKeys.follow.followingOf> | ReturnType<typeof sifaQueryKeys.follow.feed> | ReturnType<typeof sifaQueryKeys.follow.mutuals> | ReturnType<typeof sifaQueryKeys.follow.blueskySuggestions> | ReturnType<typeof sifaQueryKeys.admin.all> | ReturnType<typeof sifaQueryKeys.admin.featureAllowlist> | ReturnType<typeof sifaQueryKeys.admin.reviewQueues> | ReturnType<typeof sifaQueryKeys.stats.all> | ReturnType<typeof sifaQueryKeys.stats.homepage> | ReturnType<typeof sifaQueryKeys.apps.all> | ReturnType<typeof sifaQueryKeys.apps.registry> | ReturnType<typeof sifaQueryKeys.apps.hidden> | ReturnType<typeof sifaQueryKeys.activity.all> | ReturnType<typeof sifaQueryKeys.activity.heatmap> | ReturnType<typeof sifaQueryKeys.activity.teaser> | ReturnType<typeof sifaQueryKeys.activity.feed> | ReturnType<typeof sifaQueryKeys.activity.hiddenItems> | ReturnType<typeof sifaQueryKeys.endorsement.all> | ReturnType<typeof sifaQueryKeys.endorsement.count> | ReturnType<typeof sifaQueryKeys.endorsement.pending> | ReturnType<typeof sifaQueryKeys.endorsement.reciprocity> | ReturnType<typeof sifaQueryKeys.endorsement.received> | ReturnType<typeof sifaQueryKeys.confirmation.all> | ReturnType<typeof sifaQueryKeys.confirmation.pending> | ReturnType<typeof sifaQueryKeys.confirmation.given> | ReturnType<typeof sifaQueryKeys.stream.all> | ReturnType<typeof sifaQueryKeys.stream.networkCount> | ReturnType<typeof sifaQueryKeys.reactions.all> | ReturnType<typeof sifaQueryKeys.reactions.status> | ReturnType<typeof sifaQueryKeys.reactions.accountCheck> | ReturnType<typeof sifaQueryKeys.roadmap.all> | ReturnType<typeof sifaQueryKeys.roadmap.votes> | ReturnType<typeof sifaQueryKeys.roadmap.myVotes> | ReturnType<typeof sifaQueryKeys.bskyPreferences.all> | ReturnType<typeof sifaQueryKeys.bskyPreferences.contentLabels> | ReturnType<typeof sifaQueryKeys.destructive.all> | ReturnType<typeof sifaQueryKeys.destructive.wipePreview> | ReturnType<typeof sifaQueryKeys.repoInventory.all> | ReturnType<typeof sifaQueryKeys.repoInventory.list>;
|
|
1634
1687
|
|
|
1635
1688
|
/** How a single entity binding was resolved during a claim. */
|
|
1636
1689
|
interface OrgClaimBinding {
|
|
@@ -1717,4 +1770,4 @@ declare function addOrgNotificationEmail(config: SifaApiConfig, body: OrgNotific
|
|
|
1717
1770
|
*/
|
|
1718
1771
|
declare function removeOrgNotificationEmail(config: SifaApiConfig, body: OrgNotificationEmailRequestInput, options?: Omit<ApiFetchOptions, 'method' | 'body'>): Promise<WriteResult & Partial<OrgNotificationEmailRemoveResult>>;
|
|
1719
1772
|
|
|
1720
|
-
export { type
|
|
1773
|
+
export { type HiddenApp as $, type ApiFetchOptions as A, type BulkHideProfileItemInput as B, type CreateResult as C, type DeleteAccountResult as D, type EndorsementInput as E, type FeatureAllowlistResponse as F, type FetchHiddenAppsOptions as G, type FetchMyGithubPullRequestsOptions as H, type FetchMyRoadmapVotesOptions as I, type FetchReactionStatusOptions as J, type FetchSuggestionsOptions as K, type FilterOptions as L, type FollowListPage as M, type FollowProfile as N, type FollowProfilePageResponse as O, type FollowUserResult as P, type FollowingResponse as Q, type GetAdminReviewQueuesOptions as R, type SifaApiConfig as S, type GithubPullRequest as T, type GivenConfirmation as U, HIDDEN_ITEM_SOURCES as V, type WriteResult as W, HIDDEN_ITEM_TYPES as X, type HeatmapDay as Y, type HeatmapResponse as Z, type HiddenActivityItem as _, type ConfirmEndorsementInput as a, bulkUnhideProfileItems as a$, type HiddenItemSource as a0, type HiddenItemType as a1, type HideActivityItemInput as a2, type HideProfileItemInput as a3, type ListFeatureAllowlistOptions as a4, type MyGithubPullRequestsResponse as a5, type OrgClaimBinding as a6, type OrgClaimResult as a7, type OrgDomainChallengeResult as a8, type OrgDomainVerifyResult as a9, type RoadmapVoteResult as aA, type RoadmapVoter as aB, type RoadmapVotesResponse as aC, type SearchFilters as aD, type SearchResponse as aE, type SifaQueryKey as aF, type SimilarProfile as aG, type SkillSearchResult as aH, type StatsResponse as aI, type SubCategoryBulkResult as aJ, type SuggestionProfile as aK, type SuggestionsResponse as aL, type UnhideActivityItemInput as aM, type UpdateProfileOverrideInput as aN, type UpdateProfileSelfInput as aO, type UploadAvatarResult as aP, type UploadPronunciationAudioResult as aQ, type VerifyExternalAccountResult as aR, type WipePreview as aS, addFeatureAllowlist as aT, addOrgNotificationEmail as aU, apiFetch as aV, apiFetchOrNull as aW, apiWrite as aX, apiWriteCreate as aY, bulkHideProfileItems as aZ, bulkHideStandardPublications as a_, type OrgNotificationEmailAddResult as aa, type OrgNotificationEmailRemoveResult as ab, type OrgProfileEcho as ac, type OrgProfileUpdateResult as ad, type PdsWipeOutcome as ae, type PendingConfirmation as af, type PendingConfirmationsPage as ag, type ProfileIndustryInput as ah, type ProfileLocationAddress as ai, type ProfileLocationInput as aj, type ProfileSearchResult as ak, type ProfileSelfLocation as al, QUOTED_POSTS_BATCH_MAX as am, type QuotedPostAuthor as an, type QuotedPostImage as ao, type QuotedPostResult as ap, type QuotedPostView as aq, type ReactionError as ar, type ReactionResult as as, type ReactionStatus as at, type RefreshOrcidPublicationsResult as au, type RefreshPdsResult as av, type RepoDeleteInput as aw, type ResetProfileResult as ax, type ResolveQuotedPostsOptions as ay, type RoadmapVoteError as az, type ConfirmEndorsementResult as b, resetProfile as b$, bulkUnhideStandardPublications as b0, castRoadmapVote as b1, checkAppAccount as b2, confirmEndorsement as b3, createConfirmation as b4, createEndorsement as b5, createExternalAccount as b6, createProfileLocation as b7, createReaction as b8, createSkill as b9, fetchSearchFilters as bA, fetchSearchProfiles as bB, fetchSimilarProfiles as bC, fetchSkillSuggestions as bD, fetchStats as bE, fetchSuggestionCount as bF, fetchSuggestions as bG, fetchWipePreview as bH, followUser as bI, getAdminReviewQueues as bJ, getBlueskySuggestions as bK, getFollowers as bL, getFollowing as bM, getFollowingFeed as bN, getMutuals as bO, hideActivityItem as bP, hideOrcidPublication as bQ, hideProfileItem as bR, hideSifaPublication as bS, hideStandardPublication as bT, listFeatureAllowlist as bU, refreshOrcidPublications as bV, refreshPds as bW, removeFeatureAllowlist as bX, removeOrgNotificationEmail as bY, repoExportUrl as bZ, requestOrgDomainChallenge as b_, deleteAccount as ba, deleteAvatarOverride as bb, deleteExternalAccount as bc, deleteNamePronunciationAudio as bd, deleteProfileLocation as be, deleteReaction as bf, deleteRepoRecords as bg, deleteSkill as bh, dismissConfirmation as bi, fetchAccounts as bj, fetchActivityFeed as bk, fetchActivityTeaser as bl, fetchAppsRegistry as bm, fetchExternalAccounts as bn, fetchFeaturedProfile as bo, fetchFollowing as bp, fetchGivenConfirmations as bq, fetchHeatmapData as br, fetchHiddenActivityItems as bs, fetchHiddenApps as bt, fetchMyGithubPullRequests as bu, fetchMyRoadmapVotes as bv, fetchPendingConfirmations as bw, fetchReactionStatus as bx, fetchRepoInventory as by, fetchRoadmapVotes as bz, type AccountCheckResult as c, resolveQuotedPosts as c0, retractRoadmapVote as c1, revokeConfirmation as c2, searchSkills as c3, setExternalAccountPrimary as c4, submitOrgClaim as c5, switchAccount as c6, unfollowUser as c7, unhideActivityItem as c8, unhideOrcidPublication as c9, unhideProfileItem as ca, unhideSifaPublication as cb, unhideStandardPublication as cc, unsetExternalAccountPrimary as cd, updateExternalAccount as ce, updateOrgProfile as cf, updateProfileLocation as cg, updateProfileOverride as ch, updateProfileSelf as ci, updateSkill as cj, updateSkillSubCategories as ck, uploadAvatar as cl, uploadNamePronunciationAudio as cm, verifyExternalAccount as cn, verifyOrgDomain as co, type CompanySearchFilters as cp, type CompanySearchResponse as cq, type CompanySearchResult as cr, fetchSearchCompanies as cs, type AccountSummary as d, type ActivityFeedResponse as e, type ActivityItem as f, type ActivityItemLinkHealth as g, type ActivityTeaserResponse as h, type AdminReviewQueues as i, ApiError as j, type AppRegistryEntry as k, type CastRoadmapVoteResult as l, type CheckAppAccountOptions as m, type ConfirmationInput as n, type ConfirmationSubjectInput as o, type CreateExternalAccountResult as p, type ExternalAccountInput as q, type FeaturedProfile as r, sifaQueryKeys as s, type FetchAccountsOptions as t, type FetchActivityFeedOptions as u, type FetchActivityTeaserOptions as v, type FetchFollowListOptions as w, type FetchFollowProfilePageOptions as x, type FetchFollowingFeedOptions as y, type FetchHiddenActivityItemsOptions as z };
|
|
@@ -540,6 +540,52 @@ declare function bulkHideProfileItems(config: SifaApiConfig, input: BulkHideProf
|
|
|
540
540
|
/** Bulk-unhide profile items sharing the same `itemType` + `source`. */
|
|
541
541
|
declare function bulkUnhideProfileItems(config: SifaApiConfig, input: BulkHideProfileItemInput, options?: ApiFetchOptions): Promise<WriteResult>;
|
|
542
542
|
|
|
543
|
+
interface HideActivityItemInput {
|
|
544
|
+
/** AT-URI of the record, or the item URL for externally-sourced items. */
|
|
545
|
+
uri: string;
|
|
546
|
+
/** Collection NSID (or synthetic collection, e.g. `fediverse.post`). */
|
|
547
|
+
collection: string;
|
|
548
|
+
/**
|
|
549
|
+
* Registry app id the item belongs to. Optional, and used only to take the
|
|
550
|
+
* item out of the owner's OG-image activity spine, which is computed from
|
|
551
|
+
* per-(day, app) counts and never sees a URI.
|
|
552
|
+
*/
|
|
553
|
+
appId?: string;
|
|
554
|
+
/** UTC day the item was created (`YYYY-MM-DD`), for the same reason. */
|
|
555
|
+
activityDate?: string;
|
|
556
|
+
}
|
|
557
|
+
interface UnhideActivityItemInput {
|
|
558
|
+
uri: string;
|
|
559
|
+
}
|
|
560
|
+
/** One activity item the authenticated user has hidden from their profile. */
|
|
561
|
+
interface HiddenActivityItem {
|
|
562
|
+
uri: string;
|
|
563
|
+
collection: string;
|
|
564
|
+
appId: string | null;
|
|
565
|
+
activityDate: string | null;
|
|
566
|
+
hiddenAt: string;
|
|
567
|
+
}
|
|
568
|
+
interface FetchHiddenActivityItemsOptions extends ApiFetchOptions {
|
|
569
|
+
/**
|
|
570
|
+
* Pass the caller's `Cookie` header on Next.js RSC server-side calls.
|
|
571
|
+
* `credentials: 'include'` does NOT propagate browser cookies in RSC.
|
|
572
|
+
*/
|
|
573
|
+
cookieHeader?: string;
|
|
574
|
+
}
|
|
575
|
+
/**
|
|
576
|
+
* Hide one activity item from the authenticated user's profile. The record
|
|
577
|
+
* stays on their PDS and stays readable by every other app; only its
|
|
578
|
+
* appearance on sifa.id is suppressed.
|
|
579
|
+
*/
|
|
580
|
+
declare function hideActivityItem(config: SifaApiConfig, input: HideActivityItemInput, options?: ApiFetchOptions): Promise<WriteResult>;
|
|
581
|
+
/** Restore a previously-hidden activity item. */
|
|
582
|
+
declare function unhideActivityItem(config: SifaApiConfig, input: UnhideActivityItemInput, options?: ApiFetchOptions): Promise<WriteResult>;
|
|
583
|
+
/**
|
|
584
|
+
* Everything the authenticated user has hidden, newest hide first. Returns
|
|
585
|
+
* `[]` on any error so a settings page can still render.
|
|
586
|
+
*/
|
|
587
|
+
declare function fetchHiddenActivityItems(config: SifaApiConfig, options?: FetchHiddenActivityItemsOptions): Promise<HiddenActivityItem[]>;
|
|
588
|
+
|
|
543
589
|
/** Public, aggregate stats shown on the homepage and similar surfaces. */
|
|
544
590
|
interface StatsResponse {
|
|
545
591
|
profileCount: number;
|
|
@@ -1150,6 +1196,12 @@ interface ActivityItem {
|
|
|
1150
1196
|
* gate media. See {@link ActivityLabel}.
|
|
1151
1197
|
*/
|
|
1152
1198
|
labels?: ActivityLabel[];
|
|
1199
|
+
/**
|
|
1200
|
+
* The owner has hidden this item from their profile. Only ever set on the
|
|
1201
|
+
* owner's own view of their feed -- every other surface omits hidden items
|
|
1202
|
+
* rather than flagging them -- so a card can offer an unhide in place.
|
|
1203
|
+
*/
|
|
1204
|
+
hidden?: boolean;
|
|
1153
1205
|
}
|
|
1154
1206
|
interface ActivityTeaserResponse {
|
|
1155
1207
|
items: ActivityItem[];
|
|
@@ -1579,6 +1631,7 @@ declare const sifaQueryKeys: {
|
|
|
1579
1631
|
readonly heatmap: (handleOrDid: string, days: number) => readonly ["sifa", "activity", "heatmap", string, number];
|
|
1580
1632
|
readonly teaser: (handleOrDid: string) => readonly ["sifa", "activity", "teaser", string];
|
|
1581
1633
|
readonly feed: (handleOrDid: string, opts: Record<string, unknown>) => readonly ["sifa", "activity", "feed", string, Record<string, unknown>];
|
|
1634
|
+
readonly hiddenItems: () => readonly ["sifa", "activity", "hidden-items"];
|
|
1582
1635
|
};
|
|
1583
1636
|
readonly github: {
|
|
1584
1637
|
readonly all: () => readonly ["sifa", "github"];
|
|
@@ -1630,7 +1683,7 @@ declare const sifaQueryKeys: {
|
|
|
1630
1683
|
readonly wipePreview: () => readonly ["sifa", "destructive", "wipe-preview"];
|
|
1631
1684
|
};
|
|
1632
1685
|
};
|
|
1633
|
-
type SifaQueryKey = ReturnType<typeof sifaQueryKeys.all> | ReturnType<typeof sifaQueryKeys.profile.all> | ReturnType<typeof sifaQueryKeys.profile.byHandle> | ReturnType<typeof sifaQueryKeys.profile.atFundLink> | ReturnType<typeof sifaQueryKeys.profile.externalAccounts> | ReturnType<typeof sifaQueryKeys.position.all> | ReturnType<typeof sifaQueryKeys.position.byOwner> | ReturnType<typeof sifaQueryKeys.search.all> | ReturnType<typeof sifaQueryKeys.search.profiles> | ReturnType<typeof sifaQueryKeys.search.canonicalSkills> | ReturnType<typeof sifaQueryKeys.search.skills> | ReturnType<typeof sifaQueryKeys.search.filters> | ReturnType<typeof sifaQueryKeys.entity.all> | ReturnType<typeof sifaQueryKeys.entity.search> | ReturnType<typeof sifaQueryKeys.discovery.all> | ReturnType<typeof sifaQueryKeys.discovery.similar> | ReturnType<typeof sifaQueryKeys.discovery.suggestions> | ReturnType<typeof sifaQueryKeys.discovery.suggestionCount> | ReturnType<typeof sifaQueryKeys.discovery.featured> | ReturnType<typeof sifaQueryKeys.follow.all> | ReturnType<typeof sifaQueryKeys.follow.following> | ReturnType<typeof sifaQueryKeys.follow.followers> | ReturnType<typeof sifaQueryKeys.follow.followingOf> | ReturnType<typeof sifaQueryKeys.follow.feed> | ReturnType<typeof sifaQueryKeys.follow.mutuals> | ReturnType<typeof sifaQueryKeys.follow.blueskySuggestions> | ReturnType<typeof sifaQueryKeys.admin.all> | ReturnType<typeof sifaQueryKeys.admin.featureAllowlist> | ReturnType<typeof sifaQueryKeys.admin.reviewQueues> | ReturnType<typeof sifaQueryKeys.stats.all> | ReturnType<typeof sifaQueryKeys.stats.homepage> | ReturnType<typeof sifaQueryKeys.apps.all> | ReturnType<typeof sifaQueryKeys.apps.registry> | ReturnType<typeof sifaQueryKeys.apps.hidden> | ReturnType<typeof sifaQueryKeys.activity.all> | ReturnType<typeof sifaQueryKeys.activity.heatmap> | ReturnType<typeof sifaQueryKeys.activity.teaser> | ReturnType<typeof sifaQueryKeys.activity.feed> | ReturnType<typeof sifaQueryKeys.endorsement.all> | ReturnType<typeof sifaQueryKeys.endorsement.count> | ReturnType<typeof sifaQueryKeys.endorsement.pending> | ReturnType<typeof sifaQueryKeys.endorsement.reciprocity> | ReturnType<typeof sifaQueryKeys.endorsement.received> | ReturnType<typeof sifaQueryKeys.confirmation.all> | ReturnType<typeof sifaQueryKeys.confirmation.pending> | ReturnType<typeof sifaQueryKeys.confirmation.given> | ReturnType<typeof sifaQueryKeys.stream.all> | ReturnType<typeof sifaQueryKeys.stream.networkCount> | ReturnType<typeof sifaQueryKeys.reactions.all> | ReturnType<typeof sifaQueryKeys.reactions.status> | ReturnType<typeof sifaQueryKeys.reactions.accountCheck> | ReturnType<typeof sifaQueryKeys.roadmap.all> | ReturnType<typeof sifaQueryKeys.roadmap.votes> | ReturnType<typeof sifaQueryKeys.roadmap.myVotes> | ReturnType<typeof sifaQueryKeys.bskyPreferences.all> | ReturnType<typeof sifaQueryKeys.bskyPreferences.contentLabels> | ReturnType<typeof sifaQueryKeys.destructive.all> | ReturnType<typeof sifaQueryKeys.destructive.wipePreview> | ReturnType<typeof sifaQueryKeys.repoInventory.all> | ReturnType<typeof sifaQueryKeys.repoInventory.list>;
|
|
1686
|
+
type SifaQueryKey = ReturnType<typeof sifaQueryKeys.all> | ReturnType<typeof sifaQueryKeys.profile.all> | ReturnType<typeof sifaQueryKeys.profile.byHandle> | ReturnType<typeof sifaQueryKeys.profile.atFundLink> | ReturnType<typeof sifaQueryKeys.profile.externalAccounts> | ReturnType<typeof sifaQueryKeys.position.all> | ReturnType<typeof sifaQueryKeys.position.byOwner> | ReturnType<typeof sifaQueryKeys.search.all> | ReturnType<typeof sifaQueryKeys.search.profiles> | ReturnType<typeof sifaQueryKeys.search.canonicalSkills> | ReturnType<typeof sifaQueryKeys.search.skills> | ReturnType<typeof sifaQueryKeys.search.filters> | ReturnType<typeof sifaQueryKeys.entity.all> | ReturnType<typeof sifaQueryKeys.entity.search> | ReturnType<typeof sifaQueryKeys.discovery.all> | ReturnType<typeof sifaQueryKeys.discovery.similar> | ReturnType<typeof sifaQueryKeys.discovery.suggestions> | ReturnType<typeof sifaQueryKeys.discovery.suggestionCount> | ReturnType<typeof sifaQueryKeys.discovery.featured> | ReturnType<typeof sifaQueryKeys.follow.all> | ReturnType<typeof sifaQueryKeys.follow.following> | ReturnType<typeof sifaQueryKeys.follow.followers> | ReturnType<typeof sifaQueryKeys.follow.followingOf> | ReturnType<typeof sifaQueryKeys.follow.feed> | ReturnType<typeof sifaQueryKeys.follow.mutuals> | ReturnType<typeof sifaQueryKeys.follow.blueskySuggestions> | ReturnType<typeof sifaQueryKeys.admin.all> | ReturnType<typeof sifaQueryKeys.admin.featureAllowlist> | ReturnType<typeof sifaQueryKeys.admin.reviewQueues> | ReturnType<typeof sifaQueryKeys.stats.all> | ReturnType<typeof sifaQueryKeys.stats.homepage> | ReturnType<typeof sifaQueryKeys.apps.all> | ReturnType<typeof sifaQueryKeys.apps.registry> | ReturnType<typeof sifaQueryKeys.apps.hidden> | ReturnType<typeof sifaQueryKeys.activity.all> | ReturnType<typeof sifaQueryKeys.activity.heatmap> | ReturnType<typeof sifaQueryKeys.activity.teaser> | ReturnType<typeof sifaQueryKeys.activity.feed> | ReturnType<typeof sifaQueryKeys.activity.hiddenItems> | ReturnType<typeof sifaQueryKeys.endorsement.all> | ReturnType<typeof sifaQueryKeys.endorsement.count> | ReturnType<typeof sifaQueryKeys.endorsement.pending> | ReturnType<typeof sifaQueryKeys.endorsement.reciprocity> | ReturnType<typeof sifaQueryKeys.endorsement.received> | ReturnType<typeof sifaQueryKeys.confirmation.all> | ReturnType<typeof sifaQueryKeys.confirmation.pending> | ReturnType<typeof sifaQueryKeys.confirmation.given> | ReturnType<typeof sifaQueryKeys.stream.all> | ReturnType<typeof sifaQueryKeys.stream.networkCount> | ReturnType<typeof sifaQueryKeys.reactions.all> | ReturnType<typeof sifaQueryKeys.reactions.status> | ReturnType<typeof sifaQueryKeys.reactions.accountCheck> | ReturnType<typeof sifaQueryKeys.roadmap.all> | ReturnType<typeof sifaQueryKeys.roadmap.votes> | ReturnType<typeof sifaQueryKeys.roadmap.myVotes> | ReturnType<typeof sifaQueryKeys.bskyPreferences.all> | ReturnType<typeof sifaQueryKeys.bskyPreferences.contentLabels> | ReturnType<typeof sifaQueryKeys.destructive.all> | ReturnType<typeof sifaQueryKeys.destructive.wipePreview> | ReturnType<typeof sifaQueryKeys.repoInventory.all> | ReturnType<typeof sifaQueryKeys.repoInventory.list>;
|
|
1634
1687
|
|
|
1635
1688
|
/** How a single entity binding was resolved during a claim. */
|
|
1636
1689
|
interface OrgClaimBinding {
|
|
@@ -1717,4 +1770,4 @@ declare function addOrgNotificationEmail(config: SifaApiConfig, body: OrgNotific
|
|
|
1717
1770
|
*/
|
|
1718
1771
|
declare function removeOrgNotificationEmail(config: SifaApiConfig, body: OrgNotificationEmailRequestInput, options?: Omit<ApiFetchOptions, 'method' | 'body'>): Promise<WriteResult & Partial<OrgNotificationEmailRemoveResult>>;
|
|
1719
1772
|
|
|
1720
|
-
export { type
|
|
1773
|
+
export { type HiddenApp as $, type ApiFetchOptions as A, type BulkHideProfileItemInput as B, type CreateResult as C, type DeleteAccountResult as D, type EndorsementInput as E, type FeatureAllowlistResponse as F, type FetchHiddenAppsOptions as G, type FetchMyGithubPullRequestsOptions as H, type FetchMyRoadmapVotesOptions as I, type FetchReactionStatusOptions as J, type FetchSuggestionsOptions as K, type FilterOptions as L, type FollowListPage as M, type FollowProfile as N, type FollowProfilePageResponse as O, type FollowUserResult as P, type FollowingResponse as Q, type GetAdminReviewQueuesOptions as R, type SifaApiConfig as S, type GithubPullRequest as T, type GivenConfirmation as U, HIDDEN_ITEM_SOURCES as V, type WriteResult as W, HIDDEN_ITEM_TYPES as X, type HeatmapDay as Y, type HeatmapResponse as Z, type HiddenActivityItem as _, type ConfirmEndorsementInput as a, bulkUnhideProfileItems as a$, type HiddenItemSource as a0, type HiddenItemType as a1, type HideActivityItemInput as a2, type HideProfileItemInput as a3, type ListFeatureAllowlistOptions as a4, type MyGithubPullRequestsResponse as a5, type OrgClaimBinding as a6, type OrgClaimResult as a7, type OrgDomainChallengeResult as a8, type OrgDomainVerifyResult as a9, type RoadmapVoteResult as aA, type RoadmapVoter as aB, type RoadmapVotesResponse as aC, type SearchFilters as aD, type SearchResponse as aE, type SifaQueryKey as aF, type SimilarProfile as aG, type SkillSearchResult as aH, type StatsResponse as aI, type SubCategoryBulkResult as aJ, type SuggestionProfile as aK, type SuggestionsResponse as aL, type UnhideActivityItemInput as aM, type UpdateProfileOverrideInput as aN, type UpdateProfileSelfInput as aO, type UploadAvatarResult as aP, type UploadPronunciationAudioResult as aQ, type VerifyExternalAccountResult as aR, type WipePreview as aS, addFeatureAllowlist as aT, addOrgNotificationEmail as aU, apiFetch as aV, apiFetchOrNull as aW, apiWrite as aX, apiWriteCreate as aY, bulkHideProfileItems as aZ, bulkHideStandardPublications as a_, type OrgNotificationEmailAddResult as aa, type OrgNotificationEmailRemoveResult as ab, type OrgProfileEcho as ac, type OrgProfileUpdateResult as ad, type PdsWipeOutcome as ae, type PendingConfirmation as af, type PendingConfirmationsPage as ag, type ProfileIndustryInput as ah, type ProfileLocationAddress as ai, type ProfileLocationInput as aj, type ProfileSearchResult as ak, type ProfileSelfLocation as al, QUOTED_POSTS_BATCH_MAX as am, type QuotedPostAuthor as an, type QuotedPostImage as ao, type QuotedPostResult as ap, type QuotedPostView as aq, type ReactionError as ar, type ReactionResult as as, type ReactionStatus as at, type RefreshOrcidPublicationsResult as au, type RefreshPdsResult as av, type RepoDeleteInput as aw, type ResetProfileResult as ax, type ResolveQuotedPostsOptions as ay, type RoadmapVoteError as az, type ConfirmEndorsementResult as b, resetProfile as b$, bulkUnhideStandardPublications as b0, castRoadmapVote as b1, checkAppAccount as b2, confirmEndorsement as b3, createConfirmation as b4, createEndorsement as b5, createExternalAccount as b6, createProfileLocation as b7, createReaction as b8, createSkill as b9, fetchSearchFilters as bA, fetchSearchProfiles as bB, fetchSimilarProfiles as bC, fetchSkillSuggestions as bD, fetchStats as bE, fetchSuggestionCount as bF, fetchSuggestions as bG, fetchWipePreview as bH, followUser as bI, getAdminReviewQueues as bJ, getBlueskySuggestions as bK, getFollowers as bL, getFollowing as bM, getFollowingFeed as bN, getMutuals as bO, hideActivityItem as bP, hideOrcidPublication as bQ, hideProfileItem as bR, hideSifaPublication as bS, hideStandardPublication as bT, listFeatureAllowlist as bU, refreshOrcidPublications as bV, refreshPds as bW, removeFeatureAllowlist as bX, removeOrgNotificationEmail as bY, repoExportUrl as bZ, requestOrgDomainChallenge as b_, deleteAccount as ba, deleteAvatarOverride as bb, deleteExternalAccount as bc, deleteNamePronunciationAudio as bd, deleteProfileLocation as be, deleteReaction as bf, deleteRepoRecords as bg, deleteSkill as bh, dismissConfirmation as bi, fetchAccounts as bj, fetchActivityFeed as bk, fetchActivityTeaser as bl, fetchAppsRegistry as bm, fetchExternalAccounts as bn, fetchFeaturedProfile as bo, fetchFollowing as bp, fetchGivenConfirmations as bq, fetchHeatmapData as br, fetchHiddenActivityItems as bs, fetchHiddenApps as bt, fetchMyGithubPullRequests as bu, fetchMyRoadmapVotes as bv, fetchPendingConfirmations as bw, fetchReactionStatus as bx, fetchRepoInventory as by, fetchRoadmapVotes as bz, type AccountCheckResult as c, resolveQuotedPosts as c0, retractRoadmapVote as c1, revokeConfirmation as c2, searchSkills as c3, setExternalAccountPrimary as c4, submitOrgClaim as c5, switchAccount as c6, unfollowUser as c7, unhideActivityItem as c8, unhideOrcidPublication as c9, unhideProfileItem as ca, unhideSifaPublication as cb, unhideStandardPublication as cc, unsetExternalAccountPrimary as cd, updateExternalAccount as ce, updateOrgProfile as cf, updateProfileLocation as cg, updateProfileOverride as ch, updateProfileSelf as ci, updateSkill as cj, updateSkillSubCategories as ck, uploadAvatar as cl, uploadNamePronunciationAudio as cm, verifyExternalAccount as cn, verifyOrgDomain as co, type CompanySearchFilters as cp, type CompanySearchResponse as cq, type CompanySearchResult as cr, fetchSearchCompanies as cs, type AccountSummary as d, type ActivityFeedResponse as e, type ActivityItem as f, type ActivityItemLinkHealth as g, type ActivityTeaserResponse as h, type AdminReviewQueues as i, ApiError as j, type AppRegistryEntry as k, type CastRoadmapVoteResult as l, type CheckAppAccountOptions as m, type ConfirmationInput as n, type ConfirmationSubjectInput as o, type CreateExternalAccountResult as p, type ExternalAccountInput as q, type FeaturedProfile as r, sifaQueryKeys as s, type FetchAccountsOptions as t, type FetchActivityFeedOptions as u, type FetchActivityTeaserOptions as v, type FetchFollowListOptions as w, type FetchFollowProfilePageOptions as x, type FetchFollowingFeedOptions as y, type FetchHiddenActivityItemsOptions as z };
|
|
@@ -623,6 +623,28 @@ function bulkUnhideProfileItems(config, input, options = {}) {
|
|
|
623
623
|
return apiWrite(config, "/api/profile/items/bulk-hide", "DELETE", { ...options, body: input });
|
|
624
624
|
}
|
|
625
625
|
|
|
626
|
+
// src/query/fetchers/activity-items-hide.ts
|
|
627
|
+
function hideActivityItem(config, input, options = {}) {
|
|
628
|
+
return apiWrite(config, "/api/activity/items/hide", "POST", { ...options, body: input });
|
|
629
|
+
}
|
|
630
|
+
function unhideActivityItem(config, input, options = {}) {
|
|
631
|
+
return apiWrite(config, "/api/activity/items/hide", "DELETE", { ...options, body: input });
|
|
632
|
+
}
|
|
633
|
+
async function fetchHiddenActivityItems(config, options = {}) {
|
|
634
|
+
const headers = { ...options.headers ?? {} };
|
|
635
|
+
if (options.cookieHeader) headers.cookie = options.cookieHeader;
|
|
636
|
+
try {
|
|
637
|
+
const data = await apiFetch(
|
|
638
|
+
config,
|
|
639
|
+
"/api/activity/hidden-items",
|
|
640
|
+
{ credentials: "include", ...options, headers }
|
|
641
|
+
);
|
|
642
|
+
return data.items;
|
|
643
|
+
} catch {
|
|
644
|
+
return [];
|
|
645
|
+
}
|
|
646
|
+
}
|
|
647
|
+
|
|
626
648
|
// src/query/fetchers/stats.ts
|
|
627
649
|
async function fetchStats(config, options = {}) {
|
|
628
650
|
try {
|
|
@@ -1643,7 +1665,10 @@ var sifaQueryKeys = {
|
|
|
1643
1665
|
all: () => ["sifa", "activity"],
|
|
1644
1666
|
heatmap: (handleOrDid, days) => ["sifa", "activity", "heatmap", handleOrDid, days],
|
|
1645
1667
|
teaser: (handleOrDid) => ["sifa", "activity", "teaser", handleOrDid],
|
|
1646
|
-
feed: (handleOrDid, opts) => ["sifa", "activity", "feed", handleOrDid, opts]
|
|
1668
|
+
feed: (handleOrDid, opts) => ["sifa", "activity", "feed", handleOrDid, opts],
|
|
1669
|
+
// Session-scoped: the AppView reads the caller's own hides from their
|
|
1670
|
+
// cookie, so there is only ever one list per client.
|
|
1671
|
+
hiddenItems: () => ["sifa", "activity", "hidden-items"]
|
|
1647
1672
|
},
|
|
1648
1673
|
github: {
|
|
1649
1674
|
all: () => ["sifa", "github"],
|
|
@@ -1887,6 +1912,7 @@ exports.fetchFollowing = fetchFollowing;
|
|
|
1887
1912
|
exports.fetchGetProfileView = fetchGetProfileView;
|
|
1888
1913
|
exports.fetchGivenConfirmations = fetchGivenConfirmations;
|
|
1889
1914
|
exports.fetchHeatmapData = fetchHeatmapData;
|
|
1915
|
+
exports.fetchHiddenActivityItems = fetchHiddenActivityItems;
|
|
1890
1916
|
exports.fetchHiddenApps = fetchHiddenApps;
|
|
1891
1917
|
exports.fetchMyGithubPullRequests = fetchMyGithubPullRequests;
|
|
1892
1918
|
exports.fetchMyRoadmapVotes = fetchMyRoadmapVotes;
|
|
@@ -1919,6 +1945,7 @@ exports.getFollowers = getFollowers;
|
|
|
1919
1945
|
exports.getFollowing = getFollowing;
|
|
1920
1946
|
exports.getFollowingFeed = getFollowingFeed;
|
|
1921
1947
|
exports.getMutuals = getMutuals;
|
|
1948
|
+
exports.hideActivityItem = hideActivityItem;
|
|
1922
1949
|
exports.hideKeytraceClaim = hideKeytraceClaim;
|
|
1923
1950
|
exports.hideOrcidPublication = hideOrcidPublication;
|
|
1924
1951
|
exports.hideProfileItem = hideProfileItem;
|
|
@@ -1948,6 +1975,7 @@ exports.sifaQueryKeys = sifaQueryKeys;
|
|
|
1948
1975
|
exports.submitOrgClaim = submitOrgClaim;
|
|
1949
1976
|
exports.switchAccount = switchAccount;
|
|
1950
1977
|
exports.unfollowUser = unfollowUser;
|
|
1978
|
+
exports.unhideActivityItem = unhideActivityItem;
|
|
1951
1979
|
exports.unhideKeytraceClaim = unhideKeytraceClaim;
|
|
1952
1980
|
exports.unhideOrcidPublication = unhideOrcidPublication;
|
|
1953
1981
|
exports.unhideProfileItem = unhideProfileItem;
|