@singi-labs/sifa-sdk 0.19.74 → 0.19.76

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.
Files changed (63) hide show
  1. package/dist/format/index.js +2 -0
  2. package/dist/format/index.js.map +1 -1
  3. package/dist/format/openalex.js +10 -0
  4. package/dist/format/openalex.js.map +1 -0
  5. package/dist/{index-BFdNI6jA.d.ts → index-DAiJZvPg.d.ts} +8 -0
  6. package/dist/{index-BzkaABDb.d.cts → index-k6tBrbEU.d.cts} +8 -0
  7. package/dist/index.cjs +71 -1
  8. package/dist/index.cjs.map +1 -1
  9. package/dist/index.d.cts +14 -6
  10. package/dist/index.d.ts +14 -6
  11. package/dist/index.js +27 -1
  12. package/dist/index.js.map +1 -1
  13. package/dist/jsonld/index.d.cts +1 -1
  14. package/dist/jsonld/index.d.ts +1 -1
  15. package/dist/logic/index.js +26 -0
  16. package/dist/logic/index.js.map +1 -1
  17. package/dist/logic/site-activity-preset.js +68 -0
  18. package/dist/logic/site-activity-preset.js.map +1 -0
  19. package/dist/{network-map-BRBzAHrT.d.cts → network-map-DInAc_DB.d.cts} +3 -3
  20. package/dist/{network-map-DIUQSB0r.d.ts → network-map-DvALufF9.d.ts} +3 -3
  21. package/dist/{profile-summary-X4MGExfS.d.cts → profile-summary-BcbJrph1.d.cts} +1 -1
  22. package/dist/{profile-summary-6GySSJvO.d.ts → profile-summary-PRDqxAQT.d.ts} +1 -1
  23. package/dist/query/fetchers/activity-preferences.js +43 -0
  24. package/dist/query/fetchers/activity-preferences.js.map +1 -0
  25. package/dist/query/fetchers/activity.js +3 -0
  26. package/dist/query/fetchers/activity.js.map +1 -1
  27. package/dist/query/fetchers/index.cjs +88 -1
  28. package/dist/query/fetchers/index.cjs.map +1 -1
  29. package/dist/query/fetchers/index.d.cts +6 -6
  30. package/dist/query/fetchers/index.d.ts +6 -6
  31. package/dist/query/fetchers/index.js +16 -0
  32. package/dist/query/fetchers/index.js.map +1 -1
  33. package/dist/query/fetchers/user-settings.js +48 -0
  34. package/dist/query/fetchers/user-settings.js.map +1 -0
  35. package/dist/query/hooks/index.cjs +141 -1
  36. package/dist/query/hooks/index.cjs.map +1 -1
  37. package/dist/query/hooks/index.d.cts +4 -4
  38. package/dist/query/hooks/index.d.ts +4 -4
  39. package/dist/query/hooks/index.js +11 -0
  40. package/dist/query/hooks/index.js.map +1 -1
  41. package/dist/query/hooks/use-activity-preferences.js +53 -0
  42. package/dist/query/hooks/use-activity-preferences.js.map +1 -0
  43. package/dist/query/hooks/use-activity.js.map +1 -1
  44. package/dist/query/hooks/use-user-settings.js +34 -0
  45. package/dist/query/hooks/use-user-settings.js.map +1 -0
  46. package/dist/query/index.cjs +143 -1
  47. package/dist/query/index.cjs.map +1 -1
  48. package/dist/query/index.d.cts +9 -9
  49. package/dist/query/index.d.ts +9 -9
  50. package/dist/query/index.js +27 -0
  51. package/dist/query/index.js.map +1 -1
  52. package/dist/query/keys.js +7 -1
  53. package/dist/query/keys.js.map +1 -1
  54. package/dist/resume/index.d.cts +1 -1
  55. package/dist/resume/index.d.ts +1 -1
  56. package/dist/types/index.js.map +1 -1
  57. package/dist/{types-DxMMqOJo.d.ts → types-CI24asgo.d.ts} +72 -2
  58. package/dist/{types-DXep6553.d.cts → types-qw55KvoV.d.cts} +72 -2
  59. package/dist/{use-org-notification-emails-CfDfHwBl.d.ts → use-user-settings-B1rJmjQR.d.ts} +32 -5
  60. package/dist/{use-org-notification-emails-5V3ZAlRd.d.cts → use-user-settings-CYDXJNmI.d.cts} +32 -5
  61. package/dist/{org-Spq8yU-B.d.ts → user-settings-Qwi6wSnK.d.ts} +89 -4
  62. package/dist/{org-A9Tz-Uv9.d.cts → user-settings-lenJHz19.d.cts} +89 -4
  63. package/package.json +1 -1
@@ -1,11 +1,11 @@
1
- import { K as SifaApiConfig, M as ApiFetchOptions, N as CreateResult, W as WriteResult } from '../../types-DXep6553.cjs';
2
- export { O as ApiError, a5 as CompanySearchFilters, a6 as CompanySearchResponse, a7 as CompanySearchResult, Q as FilterOptions, T as ProfileSearchResult, U as ProfileSearchSuggestion, S as SearchFilters, X as SearchResponse, Y as SkillSearchResult, Z as apiFetch, _ as apiFetchOrNull, $ as apiWrite, a0 as apiWriteCreate, a8 as fetchSearchCompanies, a1 as fetchSearchFilters, a2 as fetchSearchProfiles, a3 as fetchSkillSuggestions, a4 as searchSkills } from '../../types-DXep6553.cjs';
3
- export { D as DismissEndorsementInput, F as FetchNetworkStreamCountOptions, b as FetchPendingEndorsementsOptions, c as FetchRpgStatusOptions, N as NetworkMapEdge, d as NetworkMapGenerationJob, e as NetworkMapGraphData, f as NetworkMapNode, g as NetworkMapPendingJob, h as NetworkMapResponse, i as PendingEndorsement, P as PendingEndorsementsPage, j as ReceivedEndorsement, R as ReceivedEndorsementsPage, a as ReciprocityCandidate, k as ReciprocitySkill, l as RpgItemStatus, m as RpgItemStatusSchema, n as RpgStatusResponse, o as RpgStatusResponseSchema, S as SpeakerCard, p as SpeakerDirectoryFilters, q as SpeakerGroup, r as SpeakersResponse, T as TalkEvent, s as TalkRow, t as TalkSpeaker, u as TalksResponse, v as checkNetworkMapJobStatus, w as createEducation, x as createPosition, y as createRecord, z as deleteEducation, A as deletePosition, B as deleteRecord, C as dismissEndorsement, E as fetchAtFundLink, G as fetchEndorsementCount, H as fetchEntitySearch, I as fetchGetProfileView, J as fetchNetworkMap, K as fetchNetworkStreamCount, L as fetchPendingEndorsements, M as fetchProfile, O as fetchProfileSummary, Q as fetchReceivedEndorsements, U as fetchReciprocityCandidate, V as fetchRpgStatus, W as fetchSpeakers, X as fetchTalks, Y as hideKeytraceClaim, Z as importSearchEntities, _ as initiateNetworkMapGeneration, $ as isNetworkMapResponse, a0 as linkSkillToPosition, a3 as revealMarqueDomain, a4 as selectEntity, a5 as setPositionPrimary, a6 as unhideKeytraceClaim, a7 as unlinkSkillFromPosition, a8 as unrevealMarqueDomain, a9 as unsetPositionPrimary, aa as updateEducation, ab as updatePosition, ac as updateRecord } from '../../network-map-BRBzAHrT.cjs';
4
- export { A as AccountCheckResult, b as AccountSummary, c as ActivityFeedResponse, d as ActivityItem, e as ActivityItemLinkHealth, f as ActivityTeaserResponse, g as AdminReviewQueues, h as AppRegistryEntry, B as BulkHideProfileItemInput, i as CastRoadmapVoteResult, j as CheckAppAccountOptions, C as ConfirmEndorsementInput, k as ConfirmationInput, l as ConfirmationSubjectInput, m as CreateExternalAccountResult, D as DeleteAccountResult, n as DismissUnlinkedPositionInput, E as EndorsementInput, o as ExternalAccountInput, F as FeatureAllowlistResponse, p as FeaturedProfile, q as FetchAccountsOptions, r as FetchActivityFeedOptions, t as FetchActivityTeaserOptions, u as FetchConfirmationsOptions, v as FetchFollowListOptions, w as FetchFollowProfilePageOptions, x as FetchFollowingFeedOptions, y as FetchHiddenActivityItemsOptions, z as FetchHiddenAppsOptions, G as FetchInboxCountsOptions, H as FetchMyGithubPullRequestsOptions, I as FetchMyRoadmapVotesOptions, J as FetchProfileCompletenessOptions, K as FetchReactionStatusOptions, L as FetchSuggestionsOptions, M as FetchUnlinkedPositionsOptions, N as FollowListPage, O as FollowProfile, P as FollowProfilePageResponse, Q as FollowUserResult, R as FollowingFeedApp, S as FollowingFeedBuild, T as FollowingFeedEmptyReason, U as FollowingFeedResponse, V as FollowingFeedVersion, W as FollowingResponse, X as GetAdminReviewQueuesOptions, Y as GithubPullRequest, Z as GivenConfirmation, _ as HIDDEN_ITEM_SOURCES, $ as HIDDEN_ITEM_TYPES, a0 as HeatmapDay, a1 as HeatmapResponse, a2 as HiddenActivityItem, a3 as HiddenApp, a4 as HiddenItemSource, a5 as HiddenItemType, a6 as HideActivityItemInput, a7 as HideProfileItemInput, a8 as InboxCounts, a9 as ListFeatureAllowlistOptions, aa as MyGithubPullRequestsResponse, ab as OrgClaimBinding, ac as OrgClaimResult, ad as OrgDomainChallengeResult, ae as OrgDomainVerifyResult, af as OrgNotificationEmailAddResult, ag as OrgNotificationEmailRemoveResult, ah as OrgProfileEcho, ai as OrgProfileUpdateResult, aj as PROFILE_COMPLETENESS_SIGNALS, ak as PdsWipeOutcome, al as PendingConfirmation, am as PendingConfirmationsPage, an as PrimarySection, ao as ProfileCompleteness, ap as ProfileCompletenessSignal, aq as ProfileIndustryInput, ar as ProfileLocationAddress, as as ProfileLocationInput, at as ProfileSelfLocation, au as QUOTED_POSTS_BATCH_MAX, av as QuotedPostAuthor, aw as QuotedPostImage, ax as QuotedPostResult, ay as QuotedPostView, az as ReactionError, aA as ReactionResult, aB as ReactionStatus, aC as RefreshOrcidPublicationsResult, aD as RefreshPdsResult, aE as RepoDeleteInput, aF as ResetProfileResult, aG as ResolveQuotedPostsOptions, aH as RoadmapVoteError, aI as RoadmapVoteResult, aJ as RoadmapVoter, aK as RoadmapVotesResponse, aL as SifaQueryKey, aM as SimilarProfile, aN as StatsResponse, aP as SuggestionProfile, aQ as SuggestionsResponse, aR as UnhideActivityItemInput, aS as UnlinkedPosition, aT as UnlinkedPositionsResult, aU as UpdateProfileOverrideInput, aV as UpdateProfileSelfInput, aW as UploadAvatarResult, aX as UploadPronunciationAudioResult, aY as VerifyExternalAccountResult, aZ as WipePreview, a_ as addFeatureAllowlist, a$ as addOrgNotificationEmail, b0 as bulkHideProfileItems, b1 as bulkHideStandardPublications, b2 as bulkUnhideProfileItems, b3 as bulkUnhideStandardPublications, b4 as castRoadmapVote, b5 as checkAppAccount, b6 as confirmEndorsement, b7 as createConfirmation, b8 as createEndorsement, b9 as createExternalAccount, ba as createProfileLocation, bb as createReaction, bc as createSkill, bd as deleteAccount, be as deleteAvatarOverride, bf as deleteExternalAccount, bg as deleteNamePronunciationAudio, bh as deleteProfileLocation, bi as deleteReaction, bj as deleteRepoRecords, bk as deleteSkill, bl as dismissConfirmation, bm as dismissUnlinkedPosition, bn as fetchAccounts, bo as fetchActivityFeed, bp as fetchActivityTeaser, bq as fetchAppsRegistry, br as fetchExternalAccounts, bs as fetchFeaturedProfile, bt as fetchFollowing, bu as fetchFollowingFeed, bv as fetchFollowingFeedVersion, bw as fetchGivenConfirmations, bx as fetchHeatmapData, by as fetchHiddenActivityItems, bz as fetchHiddenApps, bA as fetchInboxCounts, bB as fetchMyGithubPullRequests, bC as fetchMyRoadmapVotes, bD as fetchPendingConfirmations, bE as fetchProfileCompleteness, bF as fetchReactionStatus, bG as fetchRepoInventory, bH as fetchRoadmapVotes, bI as fetchSimilarProfiles, bJ as fetchStats, bK as fetchSuggestionCount, bL as fetchSuggestions, bM as fetchUnlinkedPositions, bN as fetchViewerPositionConfirmations, bO as fetchWipePreview, bP as followUser, bQ as getAdminReviewQueues, bR as getBlueskySuggestions, bS as getFollowers, bT as getFollowing, bU as getMutuals, bV as hideActivityItem, bW as hideOrcidPublication, bX as hideProfileItem, bY as hideSifaPublication, bZ as hideStandardPublication, b_ as isNewerFollowingFeed, b$ as listFeatureAllowlist, c0 as refreshOrcidPublications, c1 as refreshPds, c2 as removeFeatureAllowlist, c3 as removeOrgNotificationEmail, c4 as repoExportUrl, c5 as requestOrgDomainChallenge, c6 as resetProfile, c7 as resolveQuotedPosts, c8 as retractRoadmapVote, c9 as revokeConfirmation, ca as setExternalAccountPrimary, cb as setSectionPrimary, s as sifaQueryKeys, cc as submitOrgClaim, cd as switchAccount, ce as unfollowUser, cf as unhideActivityItem, cg as unhideOrcidPublication, ch as unhideProfileItem, ci as unhideSifaPublication, cj as unhideStandardPublication, ck as unsetExternalAccountPrimary, cl as unsetSectionPrimary, cm as updateExternalAccount, cn as updateOrgProfile, co as updateProfileLocation, cp as updateProfileOverride, cq as updateProfileSelf, cr as updateSkill, ct as uploadAvatar, cu as uploadNamePronunciationAudio, cv as verifyExternalAccount, cw as verifyOrgDomain } from '../../org-A9Tz-Uv9.cjs';
5
- import '../../index-BzkaABDb.cjs';
1
+ import { a0 as SifaApiConfig, a1 as ApiFetchOptions, a2 as CreateResult, a3 as WriteResult } from '../../types-qw55KvoV.cjs';
2
+ export { a4 as ApiError, ai as CompanySearchFilters, aj as CompanySearchResponse, ak as CompanySearchResult, a5 as FilterOptions, a6 as ProfileSearchResult, a7 as ProfileSearchSuggestion, S as SearchFilters, a8 as SearchResponse, a9 as SkillSearchResult, aa as apiFetch, ab as apiFetchOrNull, ac as apiWrite, ad as apiWriteCreate, al as fetchSearchCompanies, ae as fetchSearchFilters, af as fetchSearchProfiles, ag as fetchSkillSuggestions, ah as searchSkills } from '../../types-qw55KvoV.cjs';
3
+ export { D as DismissEndorsementInput, F as FetchNetworkStreamCountOptions, b as FetchPendingEndorsementsOptions, c as FetchRpgStatusOptions, N as NetworkMapEdge, d as NetworkMapGenerationJob, e as NetworkMapGraphData, f as NetworkMapNode, g as NetworkMapPendingJob, h as NetworkMapResponse, i as PendingEndorsement, P as PendingEndorsementsPage, j as ReceivedEndorsement, R as ReceivedEndorsementsPage, a as ReciprocityCandidate, k as ReciprocitySkill, l as RpgItemStatus, m as RpgItemStatusSchema, n as RpgStatusResponse, o as RpgStatusResponseSchema, S as SpeakerCard, p as SpeakerDirectoryFilters, q as SpeakerGroup, r as SpeakersResponse, T as TalkEvent, s as TalkRow, t as TalkSpeaker, u as TalksResponse, v as checkNetworkMapJobStatus, w as createEducation, x as createPosition, y as createRecord, z as deleteEducation, A as deletePosition, B as deleteRecord, C as dismissEndorsement, E as fetchAtFundLink, G as fetchEndorsementCount, H as fetchEntitySearch, I as fetchGetProfileView, J as fetchNetworkMap, K as fetchNetworkStreamCount, L as fetchPendingEndorsements, M as fetchProfile, O as fetchProfileSummary, Q as fetchReceivedEndorsements, U as fetchReciprocityCandidate, V as fetchRpgStatus, W as fetchSpeakers, X as fetchTalks, Y as hideKeytraceClaim, Z as importSearchEntities, _ as initiateNetworkMapGeneration, $ as isNetworkMapResponse, a0 as linkSkillToPosition, a3 as revealMarqueDomain, a4 as selectEntity, a5 as setPositionPrimary, a6 as unhideKeytraceClaim, a7 as unlinkSkillFromPosition, a8 as unrevealMarqueDomain, a9 as unsetPositionPrimary, aa as updateEducation, ab as updatePosition, ac as updateRecord } from '../../network-map-DInAc_DB.cjs';
4
+ export { A as AccountCheckResult, b as AccountSummary, c as ActivityFeedResponse, d as ActivityItem, e as ActivityItemLinkHealth, f as ActivityPreferences, g as ActivityTeaserResponse, h as AdminReviewQueues, i as AppRegistryEntry, B as BulkHideProfileItemInput, j as CastRoadmapVoteResult, k as CheckAppAccountOptions, C as ConfirmEndorsementInput, l as ConfirmationInput, m as ConfirmationSubjectInput, n as CreateExternalAccountResult, D as DeleteAccountResult, o as DismissUnlinkedPositionInput, E as EndorsementInput, p as ExternalAccountInput, F as FeatureAllowlistResponse, q as FeaturedProfile, r as FetchAccountsOptions, t as FetchActivityFeedOptions, u as FetchActivityPreferencesOptions, v as FetchActivityTeaserOptions, w as FetchConfirmationsOptions, x as FetchFollowListOptions, y as FetchFollowProfilePageOptions, z as FetchFollowingFeedOptions, G as FetchHiddenActivityItemsOptions, H as FetchHiddenAppsOptions, I as FetchInboxCountsOptions, J as FetchMyGithubPullRequestsOptions, K as FetchMyRoadmapVotesOptions, L as FetchProfileCompletenessOptions, M as FetchReactionStatusOptions, N as FetchSuggestionsOptions, O as FetchUnlinkedPositionsOptions, P as FetchUserSettingsOptions, Q as FollowListPage, R as FollowProfile, S as FollowProfilePageResponse, T as FollowUserResult, U as FollowingFeedApp, V as FollowingFeedBuild, W as FollowingFeedEmptyReason, X as FollowingFeedResponse, Y as FollowingFeedVersion, Z as FollowingResponse, _ as GetAdminReviewQueuesOptions, $ as GithubPullRequest, a0 as GivenConfirmation, a1 as HIDDEN_ITEM_SOURCES, a2 as HIDDEN_ITEM_TYPES, a3 as HeatmapDay, a4 as HeatmapResponse, a5 as HiddenActivityItem, a6 as HiddenApp, a7 as HiddenItemSource, a8 as HiddenItemType, a9 as HideActivityItemInput, aa as HideProfileItemInput, ab as InboxCounts, ac as ListFeatureAllowlistOptions, ad as MyGithubPullRequestsResponse, ae as OrgClaimBinding, af as OrgClaimResult, ag as OrgDomainChallengeResult, ah as OrgDomainVerifyResult, ai as OrgNotificationEmailAddResult, aj as OrgNotificationEmailRemoveResult, ak as OrgProfileEcho, al as OrgProfileUpdateResult, am as PROFILE_COMPLETENESS_SIGNALS, an as PdsWipeOutcome, ao as PendingConfirmation, ap as PendingConfirmationsPage, aq as PrimarySection, ar as ProfileCompleteness, as as ProfileCompletenessSignal, at as ProfileIndustryInput, au as ProfileLocationAddress, av as ProfileLocationInput, aw as ProfileSelfLocation, ax as QUOTED_POSTS_BATCH_MAX, ay as QuotedPostAuthor, az as QuotedPostImage, aA as QuotedPostResult, aB as QuotedPostView, aC as ReactionError, aD as ReactionResult, aE as ReactionStatus, aF as RefreshOrcidPublicationsResult, aG as RefreshPdsResult, aH as RepoDeleteInput, aI as ResetProfileResult, aJ as ResolveQuotedPostsOptions, aK as RoadmapVoteError, aL as RoadmapVoteResult, aM as RoadmapVoter, aN as RoadmapVotesResponse, aO as SifaQueryKey, aP as SimilarProfile, aQ as SiteActivityPresetResponse, aR as StatsResponse, aT as SuggestionProfile, aU as SuggestionsResponse, aV as UnhideActivityItemInput, aW as UnlinkedPosition, aX as UnlinkedPositionsResult, aY as UpdateActivityPreferencesInput, aZ as UpdateProfileOverrideInput, a_ as UpdateProfileSelfInput, a$ as UploadAvatarResult, b0 as UploadPronunciationAudioResult, b1 as UserSettings, b2 as UserSettingsPatch, b3 as UserSettingsSchema, b4 as VerifyExternalAccountResult, b5 as WipePreview, b6 as addFeatureAllowlist, b7 as addOrgNotificationEmail, b8 as bulkHideProfileItems, b9 as bulkHideStandardPublications, ba as bulkUnhideProfileItems, bb as bulkUnhideStandardPublications, bc as castRoadmapVote, bd as checkAppAccount, be as confirmEndorsement, bf as createConfirmation, bg as createEndorsement, bh as createExternalAccount, bi as createProfileLocation, bj as createReaction, bk as createSkill, bl as deleteAccount, bm as deleteAvatarOverride, bn as deleteExternalAccount, bo as deleteNamePronunciationAudio, bp as deleteProfileLocation, bq as deleteReaction, br as deleteRepoRecords, bs as deleteSkill, bt as dismissConfirmation, bu as dismissUnlinkedPosition, bv as fetchAccounts, bw as fetchActivityFeed, bx as fetchActivityPreferences, by as fetchActivityTeaser, bz as fetchAppsRegistry, bA as fetchExternalAccounts, bB as fetchFeaturedProfile, bC as fetchFollowing, bD as fetchFollowingFeed, bE as fetchFollowingFeedVersion, bF as fetchGivenConfirmations, bG as fetchHeatmapData, bH as fetchHiddenActivityItems, bI as fetchHiddenApps, bJ as fetchInboxCounts, bK as fetchMyGithubPullRequests, bL as fetchMyRoadmapVotes, bM as fetchPendingConfirmations, bN as fetchProfileCompleteness, bO as fetchReactionStatus, bP as fetchRepoInventory, bQ as fetchRoadmapVotes, bR as fetchSimilarProfiles, bS as fetchSiteActivityPreset, bT as fetchStats, bU as fetchSuggestionCount, bV as fetchSuggestions, bW as fetchUnlinkedPositions, bX as fetchUserSettings, bY as fetchViewerPositionConfirmations, bZ as fetchWipePreview, b_ as followUser, b$ as getAdminReviewQueues, c0 as getBlueskySuggestions, c1 as getFollowers, c2 as getFollowing, c3 as getMutuals, c4 as hideActivityItem, c5 as hideOrcidPublication, c6 as hideProfileItem, c7 as hideSifaPublication, c8 as hideStandardPublication, c9 as isNewerFollowingFeed, ca as listFeatureAllowlist, cb as refreshOrcidPublications, cc as refreshPds, cd as removeFeatureAllowlist, ce as removeOrgNotificationEmail, cf as repoExportUrl, cg as requestOrgDomainChallenge, ch as resetProfile, ci as resolveQuotedPosts, cj as retractRoadmapVote, ck as revokeConfirmation, cl as setExternalAccountPrimary, cm as setSectionPrimary, s as sifaQueryKeys, cn as submitOrgClaim, co as switchAccount, cp as unfollowUser, cq as unhideActivityItem, cr as unhideOrcidPublication, cs as unhideProfileItem, ct as unhideSifaPublication, cu as unhideStandardPublication, cv as unsetExternalAccountPrimary, cw as unsetSectionPrimary, cx as updateActivityPreferences, cy as updateExternalAccount, cz as updateOrgProfile, cA as updateProfileLocation, cB as updateProfileOverride, cC as updateProfileSelf, cD as updateSkill, cF as updateUserSettings, cG as uploadAvatar, cH as uploadNamePronunciationAudio, cI as verifyExternalAccount, cJ as verifyOrgDomain } from '../../user-settings-lenJHz19.cjs';
5
+ import '../../index-k6tBrbEU.cjs';
6
6
  import '../../verification-providers-7il3kPQS.cjs';
7
7
  import 'zod';
8
- import '../../profile-summary-X4MGExfS.cjs';
8
+ import '../../profile-summary-BcbJrph1.cjs';
9
9
  import '../../follow-profile-CQ3DTTak.cjs';
10
10
  import '../../org-settings-C73Sin5E.cjs';
11
11
 
@@ -1,11 +1,11 @@
1
- import { K as SifaApiConfig, M as ApiFetchOptions, N as CreateResult, W as WriteResult } from '../../types-DxMMqOJo.js';
2
- export { O as ApiError, a5 as CompanySearchFilters, a6 as CompanySearchResponse, a7 as CompanySearchResult, Q as FilterOptions, T as ProfileSearchResult, U as ProfileSearchSuggestion, S as SearchFilters, X as SearchResponse, Y as SkillSearchResult, Z as apiFetch, _ as apiFetchOrNull, $ as apiWrite, a0 as apiWriteCreate, a8 as fetchSearchCompanies, a1 as fetchSearchFilters, a2 as fetchSearchProfiles, a3 as fetchSkillSuggestions, a4 as searchSkills } from '../../types-DxMMqOJo.js';
3
- export { D as DismissEndorsementInput, F as FetchNetworkStreamCountOptions, b as FetchPendingEndorsementsOptions, c as FetchRpgStatusOptions, N as NetworkMapEdge, d as NetworkMapGenerationJob, e as NetworkMapGraphData, f as NetworkMapNode, g as NetworkMapPendingJob, h as NetworkMapResponse, i as PendingEndorsement, P as PendingEndorsementsPage, j as ReceivedEndorsement, R as ReceivedEndorsementsPage, a as ReciprocityCandidate, k as ReciprocitySkill, l as RpgItemStatus, m as RpgItemStatusSchema, n as RpgStatusResponse, o as RpgStatusResponseSchema, S as SpeakerCard, p as SpeakerDirectoryFilters, q as SpeakerGroup, r as SpeakersResponse, T as TalkEvent, s as TalkRow, t as TalkSpeaker, u as TalksResponse, v as checkNetworkMapJobStatus, w as createEducation, x as createPosition, y as createRecord, z as deleteEducation, A as deletePosition, B as deleteRecord, C as dismissEndorsement, E as fetchAtFundLink, G as fetchEndorsementCount, H as fetchEntitySearch, I as fetchGetProfileView, J as fetchNetworkMap, K as fetchNetworkStreamCount, L as fetchPendingEndorsements, M as fetchProfile, O as fetchProfileSummary, Q as fetchReceivedEndorsements, U as fetchReciprocityCandidate, V as fetchRpgStatus, W as fetchSpeakers, X as fetchTalks, Y as hideKeytraceClaim, Z as importSearchEntities, _ as initiateNetworkMapGeneration, $ as isNetworkMapResponse, a0 as linkSkillToPosition, a3 as revealMarqueDomain, a4 as selectEntity, a5 as setPositionPrimary, a6 as unhideKeytraceClaim, a7 as unlinkSkillFromPosition, a8 as unrevealMarqueDomain, a9 as unsetPositionPrimary, aa as updateEducation, ab as updatePosition, ac as updateRecord } from '../../network-map-DIUQSB0r.js';
4
- export { A as AccountCheckResult, b as AccountSummary, c as ActivityFeedResponse, d as ActivityItem, e as ActivityItemLinkHealth, f as ActivityTeaserResponse, g as AdminReviewQueues, h as AppRegistryEntry, B as BulkHideProfileItemInput, i as CastRoadmapVoteResult, j as CheckAppAccountOptions, C as ConfirmEndorsementInput, k as ConfirmationInput, l as ConfirmationSubjectInput, m as CreateExternalAccountResult, D as DeleteAccountResult, n as DismissUnlinkedPositionInput, E as EndorsementInput, o as ExternalAccountInput, F as FeatureAllowlistResponse, p as FeaturedProfile, q as FetchAccountsOptions, r as FetchActivityFeedOptions, t as FetchActivityTeaserOptions, u as FetchConfirmationsOptions, v as FetchFollowListOptions, w as FetchFollowProfilePageOptions, x as FetchFollowingFeedOptions, y as FetchHiddenActivityItemsOptions, z as FetchHiddenAppsOptions, G as FetchInboxCountsOptions, H as FetchMyGithubPullRequestsOptions, I as FetchMyRoadmapVotesOptions, J as FetchProfileCompletenessOptions, K as FetchReactionStatusOptions, L as FetchSuggestionsOptions, M as FetchUnlinkedPositionsOptions, N as FollowListPage, O as FollowProfile, P as FollowProfilePageResponse, Q as FollowUserResult, R as FollowingFeedApp, S as FollowingFeedBuild, T as FollowingFeedEmptyReason, U as FollowingFeedResponse, V as FollowingFeedVersion, W as FollowingResponse, X as GetAdminReviewQueuesOptions, Y as GithubPullRequest, Z as GivenConfirmation, _ as HIDDEN_ITEM_SOURCES, $ as HIDDEN_ITEM_TYPES, a0 as HeatmapDay, a1 as HeatmapResponse, a2 as HiddenActivityItem, a3 as HiddenApp, a4 as HiddenItemSource, a5 as HiddenItemType, a6 as HideActivityItemInput, a7 as HideProfileItemInput, a8 as InboxCounts, a9 as ListFeatureAllowlistOptions, aa as MyGithubPullRequestsResponse, ab as OrgClaimBinding, ac as OrgClaimResult, ad as OrgDomainChallengeResult, ae as OrgDomainVerifyResult, af as OrgNotificationEmailAddResult, ag as OrgNotificationEmailRemoveResult, ah as OrgProfileEcho, ai as OrgProfileUpdateResult, aj as PROFILE_COMPLETENESS_SIGNALS, ak as PdsWipeOutcome, al as PendingConfirmation, am as PendingConfirmationsPage, an as PrimarySection, ao as ProfileCompleteness, ap as ProfileCompletenessSignal, aq as ProfileIndustryInput, ar as ProfileLocationAddress, as as ProfileLocationInput, at as ProfileSelfLocation, au as QUOTED_POSTS_BATCH_MAX, av as QuotedPostAuthor, aw as QuotedPostImage, ax as QuotedPostResult, ay as QuotedPostView, az as ReactionError, aA as ReactionResult, aB as ReactionStatus, aC as RefreshOrcidPublicationsResult, aD as RefreshPdsResult, aE as RepoDeleteInput, aF as ResetProfileResult, aG as ResolveQuotedPostsOptions, aH as RoadmapVoteError, aI as RoadmapVoteResult, aJ as RoadmapVoter, aK as RoadmapVotesResponse, aL as SifaQueryKey, aM as SimilarProfile, aN as StatsResponse, aP as SuggestionProfile, aQ as SuggestionsResponse, aR as UnhideActivityItemInput, aS as UnlinkedPosition, aT as UnlinkedPositionsResult, aU as UpdateProfileOverrideInput, aV as UpdateProfileSelfInput, aW as UploadAvatarResult, aX as UploadPronunciationAudioResult, aY as VerifyExternalAccountResult, aZ as WipePreview, a_ as addFeatureAllowlist, a$ as addOrgNotificationEmail, b0 as bulkHideProfileItems, b1 as bulkHideStandardPublications, b2 as bulkUnhideProfileItems, b3 as bulkUnhideStandardPublications, b4 as castRoadmapVote, b5 as checkAppAccount, b6 as confirmEndorsement, b7 as createConfirmation, b8 as createEndorsement, b9 as createExternalAccount, ba as createProfileLocation, bb as createReaction, bc as createSkill, bd as deleteAccount, be as deleteAvatarOverride, bf as deleteExternalAccount, bg as deleteNamePronunciationAudio, bh as deleteProfileLocation, bi as deleteReaction, bj as deleteRepoRecords, bk as deleteSkill, bl as dismissConfirmation, bm as dismissUnlinkedPosition, bn as fetchAccounts, bo as fetchActivityFeed, bp as fetchActivityTeaser, bq as fetchAppsRegistry, br as fetchExternalAccounts, bs as fetchFeaturedProfile, bt as fetchFollowing, bu as fetchFollowingFeed, bv as fetchFollowingFeedVersion, bw as fetchGivenConfirmations, bx as fetchHeatmapData, by as fetchHiddenActivityItems, bz as fetchHiddenApps, bA as fetchInboxCounts, bB as fetchMyGithubPullRequests, bC as fetchMyRoadmapVotes, bD as fetchPendingConfirmations, bE as fetchProfileCompleteness, bF as fetchReactionStatus, bG as fetchRepoInventory, bH as fetchRoadmapVotes, bI as fetchSimilarProfiles, bJ as fetchStats, bK as fetchSuggestionCount, bL as fetchSuggestions, bM as fetchUnlinkedPositions, bN as fetchViewerPositionConfirmations, bO as fetchWipePreview, bP as followUser, bQ as getAdminReviewQueues, bR as getBlueskySuggestions, bS as getFollowers, bT as getFollowing, bU as getMutuals, bV as hideActivityItem, bW as hideOrcidPublication, bX as hideProfileItem, bY as hideSifaPublication, bZ as hideStandardPublication, b_ as isNewerFollowingFeed, b$ as listFeatureAllowlist, c0 as refreshOrcidPublications, c1 as refreshPds, c2 as removeFeatureAllowlist, c3 as removeOrgNotificationEmail, c4 as repoExportUrl, c5 as requestOrgDomainChallenge, c6 as resetProfile, c7 as resolveQuotedPosts, c8 as retractRoadmapVote, c9 as revokeConfirmation, ca as setExternalAccountPrimary, cb as setSectionPrimary, s as sifaQueryKeys, cc as submitOrgClaim, cd as switchAccount, ce as unfollowUser, cf as unhideActivityItem, cg as unhideOrcidPublication, ch as unhideProfileItem, ci as unhideSifaPublication, cj as unhideStandardPublication, ck as unsetExternalAccountPrimary, cl as unsetSectionPrimary, cm as updateExternalAccount, cn as updateOrgProfile, co as updateProfileLocation, cp as updateProfileOverride, cq as updateProfileSelf, cr as updateSkill, ct as uploadAvatar, cu as uploadNamePronunciationAudio, cv as verifyExternalAccount, cw as verifyOrgDomain } from '../../org-Spq8yU-B.js';
5
- import '../../index-BFdNI6jA.js';
1
+ import { a0 as SifaApiConfig, a1 as ApiFetchOptions, a2 as CreateResult, a3 as WriteResult } from '../../types-CI24asgo.js';
2
+ export { a4 as ApiError, ai as CompanySearchFilters, aj as CompanySearchResponse, ak as CompanySearchResult, a5 as FilterOptions, a6 as ProfileSearchResult, a7 as ProfileSearchSuggestion, S as SearchFilters, a8 as SearchResponse, a9 as SkillSearchResult, aa as apiFetch, ab as apiFetchOrNull, ac as apiWrite, ad as apiWriteCreate, al as fetchSearchCompanies, ae as fetchSearchFilters, af as fetchSearchProfiles, ag as fetchSkillSuggestions, ah as searchSkills } from '../../types-CI24asgo.js';
3
+ export { D as DismissEndorsementInput, F as FetchNetworkStreamCountOptions, b as FetchPendingEndorsementsOptions, c as FetchRpgStatusOptions, N as NetworkMapEdge, d as NetworkMapGenerationJob, e as NetworkMapGraphData, f as NetworkMapNode, g as NetworkMapPendingJob, h as NetworkMapResponse, i as PendingEndorsement, P as PendingEndorsementsPage, j as ReceivedEndorsement, R as ReceivedEndorsementsPage, a as ReciprocityCandidate, k as ReciprocitySkill, l as RpgItemStatus, m as RpgItemStatusSchema, n as RpgStatusResponse, o as RpgStatusResponseSchema, S as SpeakerCard, p as SpeakerDirectoryFilters, q as SpeakerGroup, r as SpeakersResponse, T as TalkEvent, s as TalkRow, t as TalkSpeaker, u as TalksResponse, v as checkNetworkMapJobStatus, w as createEducation, x as createPosition, y as createRecord, z as deleteEducation, A as deletePosition, B as deleteRecord, C as dismissEndorsement, E as fetchAtFundLink, G as fetchEndorsementCount, H as fetchEntitySearch, I as fetchGetProfileView, J as fetchNetworkMap, K as fetchNetworkStreamCount, L as fetchPendingEndorsements, M as fetchProfile, O as fetchProfileSummary, Q as fetchReceivedEndorsements, U as fetchReciprocityCandidate, V as fetchRpgStatus, W as fetchSpeakers, X as fetchTalks, Y as hideKeytraceClaim, Z as importSearchEntities, _ as initiateNetworkMapGeneration, $ as isNetworkMapResponse, a0 as linkSkillToPosition, a3 as revealMarqueDomain, a4 as selectEntity, a5 as setPositionPrimary, a6 as unhideKeytraceClaim, a7 as unlinkSkillFromPosition, a8 as unrevealMarqueDomain, a9 as unsetPositionPrimary, aa as updateEducation, ab as updatePosition, ac as updateRecord } from '../../network-map-DvALufF9.js';
4
+ export { A as AccountCheckResult, b as AccountSummary, c as ActivityFeedResponse, d as ActivityItem, e as ActivityItemLinkHealth, f as ActivityPreferences, g as ActivityTeaserResponse, h as AdminReviewQueues, i as AppRegistryEntry, B as BulkHideProfileItemInput, j as CastRoadmapVoteResult, k as CheckAppAccountOptions, C as ConfirmEndorsementInput, l as ConfirmationInput, m as ConfirmationSubjectInput, n as CreateExternalAccountResult, D as DeleteAccountResult, o as DismissUnlinkedPositionInput, E as EndorsementInput, p as ExternalAccountInput, F as FeatureAllowlistResponse, q as FeaturedProfile, r as FetchAccountsOptions, t as FetchActivityFeedOptions, u as FetchActivityPreferencesOptions, v as FetchActivityTeaserOptions, w as FetchConfirmationsOptions, x as FetchFollowListOptions, y as FetchFollowProfilePageOptions, z as FetchFollowingFeedOptions, G as FetchHiddenActivityItemsOptions, H as FetchHiddenAppsOptions, I as FetchInboxCountsOptions, J as FetchMyGithubPullRequestsOptions, K as FetchMyRoadmapVotesOptions, L as FetchProfileCompletenessOptions, M as FetchReactionStatusOptions, N as FetchSuggestionsOptions, O as FetchUnlinkedPositionsOptions, P as FetchUserSettingsOptions, Q as FollowListPage, R as FollowProfile, S as FollowProfilePageResponse, T as FollowUserResult, U as FollowingFeedApp, V as FollowingFeedBuild, W as FollowingFeedEmptyReason, X as FollowingFeedResponse, Y as FollowingFeedVersion, Z as FollowingResponse, _ as GetAdminReviewQueuesOptions, $ as GithubPullRequest, a0 as GivenConfirmation, a1 as HIDDEN_ITEM_SOURCES, a2 as HIDDEN_ITEM_TYPES, a3 as HeatmapDay, a4 as HeatmapResponse, a5 as HiddenActivityItem, a6 as HiddenApp, a7 as HiddenItemSource, a8 as HiddenItemType, a9 as HideActivityItemInput, aa as HideProfileItemInput, ab as InboxCounts, ac as ListFeatureAllowlistOptions, ad as MyGithubPullRequestsResponse, ae as OrgClaimBinding, af as OrgClaimResult, ag as OrgDomainChallengeResult, ah as OrgDomainVerifyResult, ai as OrgNotificationEmailAddResult, aj as OrgNotificationEmailRemoveResult, ak as OrgProfileEcho, al as OrgProfileUpdateResult, am as PROFILE_COMPLETENESS_SIGNALS, an as PdsWipeOutcome, ao as PendingConfirmation, ap as PendingConfirmationsPage, aq as PrimarySection, ar as ProfileCompleteness, as as ProfileCompletenessSignal, at as ProfileIndustryInput, au as ProfileLocationAddress, av as ProfileLocationInput, aw as ProfileSelfLocation, ax as QUOTED_POSTS_BATCH_MAX, ay as QuotedPostAuthor, az as QuotedPostImage, aA as QuotedPostResult, aB as QuotedPostView, aC as ReactionError, aD as ReactionResult, aE as ReactionStatus, aF as RefreshOrcidPublicationsResult, aG as RefreshPdsResult, aH as RepoDeleteInput, aI as ResetProfileResult, aJ as ResolveQuotedPostsOptions, aK as RoadmapVoteError, aL as RoadmapVoteResult, aM as RoadmapVoter, aN as RoadmapVotesResponse, aO as SifaQueryKey, aP as SimilarProfile, aQ as SiteActivityPresetResponse, aR as StatsResponse, aT as SuggestionProfile, aU as SuggestionsResponse, aV as UnhideActivityItemInput, aW as UnlinkedPosition, aX as UnlinkedPositionsResult, aY as UpdateActivityPreferencesInput, aZ as UpdateProfileOverrideInput, a_ as UpdateProfileSelfInput, a$ as UploadAvatarResult, b0 as UploadPronunciationAudioResult, b1 as UserSettings, b2 as UserSettingsPatch, b3 as UserSettingsSchema, b4 as VerifyExternalAccountResult, b5 as WipePreview, b6 as addFeatureAllowlist, b7 as addOrgNotificationEmail, b8 as bulkHideProfileItems, b9 as bulkHideStandardPublications, ba as bulkUnhideProfileItems, bb as bulkUnhideStandardPublications, bc as castRoadmapVote, bd as checkAppAccount, be as confirmEndorsement, bf as createConfirmation, bg as createEndorsement, bh as createExternalAccount, bi as createProfileLocation, bj as createReaction, bk as createSkill, bl as deleteAccount, bm as deleteAvatarOverride, bn as deleteExternalAccount, bo as deleteNamePronunciationAudio, bp as deleteProfileLocation, bq as deleteReaction, br as deleteRepoRecords, bs as deleteSkill, bt as dismissConfirmation, bu as dismissUnlinkedPosition, bv as fetchAccounts, bw as fetchActivityFeed, bx as fetchActivityPreferences, by as fetchActivityTeaser, bz as fetchAppsRegistry, bA as fetchExternalAccounts, bB as fetchFeaturedProfile, bC as fetchFollowing, bD as fetchFollowingFeed, bE as fetchFollowingFeedVersion, bF as fetchGivenConfirmations, bG as fetchHeatmapData, bH as fetchHiddenActivityItems, bI as fetchHiddenApps, bJ as fetchInboxCounts, bK as fetchMyGithubPullRequests, bL as fetchMyRoadmapVotes, bM as fetchPendingConfirmations, bN as fetchProfileCompleteness, bO as fetchReactionStatus, bP as fetchRepoInventory, bQ as fetchRoadmapVotes, bR as fetchSimilarProfiles, bS as fetchSiteActivityPreset, bT as fetchStats, bU as fetchSuggestionCount, bV as fetchSuggestions, bW as fetchUnlinkedPositions, bX as fetchUserSettings, bY as fetchViewerPositionConfirmations, bZ as fetchWipePreview, b_ as followUser, b$ as getAdminReviewQueues, c0 as getBlueskySuggestions, c1 as getFollowers, c2 as getFollowing, c3 as getMutuals, c4 as hideActivityItem, c5 as hideOrcidPublication, c6 as hideProfileItem, c7 as hideSifaPublication, c8 as hideStandardPublication, c9 as isNewerFollowingFeed, ca as listFeatureAllowlist, cb as refreshOrcidPublications, cc as refreshPds, cd as removeFeatureAllowlist, ce as removeOrgNotificationEmail, cf as repoExportUrl, cg as requestOrgDomainChallenge, ch as resetProfile, ci as resolveQuotedPosts, cj as retractRoadmapVote, ck as revokeConfirmation, cl as setExternalAccountPrimary, cm as setSectionPrimary, s as sifaQueryKeys, cn as submitOrgClaim, co as switchAccount, cp as unfollowUser, cq as unhideActivityItem, cr as unhideOrcidPublication, cs as unhideProfileItem, ct as unhideSifaPublication, cu as unhideStandardPublication, cv as unsetExternalAccountPrimary, cw as unsetSectionPrimary, cx as updateActivityPreferences, cy as updateExternalAccount, cz as updateOrgProfile, cA as updateProfileLocation, cB as updateProfileOverride, cC as updateProfileSelf, cD as updateSkill, cF as updateUserSettings, cG as uploadAvatar, cH as uploadNamePronunciationAudio, cI as verifyExternalAccount, cJ as verifyOrgDomain } from '../../user-settings-Qwi6wSnK.js';
5
+ import '../../index-DAiJZvPg.js';
6
6
  import '../../verification-providers-7il3kPQS.js';
7
7
  import 'zod';
8
- import '../../profile-summary-6GySSJvO.js';
8
+ import '../../profile-summary-PRDqxAQT.js';
9
9
  import '../../follow-profile-ceqefXAw.js';
10
10
  import '../../org-settings-BShvhyFp.js';
11
11
 
@@ -101,6 +101,11 @@ import {
101
101
  hideActivityItem,
102
102
  unhideActivityItem
103
103
  } from "./activity-items-hide.js";
104
+ import {
105
+ fetchActivityPreferences,
106
+ fetchSiteActivityPreset,
107
+ updateActivityPreferences
108
+ } from "./activity-preferences.js";
104
109
  import { fetchStats } from "./stats.js";
105
110
  import {
106
111
  fetchAppsRegistry,
@@ -206,6 +211,11 @@ import {
206
211
  removeOrgNotificationEmail
207
212
  } from "./org.js";
208
213
  import { fetchProfileSummary } from "./profile-summary.js";
214
+ import {
215
+ fetchUserSettings,
216
+ updateUserSettings,
217
+ UserSettingsSchema
218
+ } from "./user-settings.js";
209
219
  import { sifaQueryKeys } from "../keys.js";
210
220
  import { createInvestment, updateInvestment, deleteInvestment } from "./investments.js";
211
221
  export {
@@ -216,6 +226,7 @@ export {
216
226
  QUOTED_POSTS_BATCH_MAX,
217
227
  RpgItemStatusSchema,
218
228
  RpgStatusResponseSchema,
229
+ UserSettingsSchema,
219
230
  addFeatureAllowlist,
220
231
  addOrgNotificationEmail,
221
232
  apiFetch,
@@ -257,6 +268,7 @@ export {
257
268
  dismissUnlinkedPosition,
258
269
  fetchAccounts,
259
270
  fetchActivityFeed,
271
+ fetchActivityPreferences,
260
272
  fetchActivityTeaser,
261
273
  fetchAppsRegistry,
262
274
  fetchAtFundLink,
@@ -292,6 +304,7 @@ export {
292
304
  fetchSearchFilters,
293
305
  fetchSearchProfiles,
294
306
  fetchSimilarProfiles,
307
+ fetchSiteActivityPreset,
295
308
  fetchSkillSuggestions,
296
309
  fetchSpeakers,
297
310
  fetchStats,
@@ -299,6 +312,7 @@ export {
299
312
  fetchSuggestions,
300
313
  fetchTalks,
301
314
  fetchUnlinkedPositions,
315
+ fetchUserSettings,
302
316
  fetchViewerPositionConfirmations,
303
317
  fetchWipePreview,
304
318
  followUser,
@@ -350,6 +364,7 @@ export {
350
364
  unsetExternalAccountPrimary,
351
365
  unsetPositionPrimary,
352
366
  unsetSectionPrimary,
367
+ updateActivityPreferences,
353
368
  updateEducation,
354
369
  updateExternalAccount,
355
370
  updateInvestment,
@@ -360,6 +375,7 @@ export {
360
375
  updateProfileSelf,
361
376
  updateRecord,
362
377
  updateSkill,
378
+ updateUserSettings,
363
379
  uploadAvatar,
364
380
  uploadNamePronunciationAudio,
365
381
  verifyExternalAccount,
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/query/fetchers/index.ts"],"sourcesContent":["/**\n * Fetcher-only barrel for `@singi-labs/sifa-sdk/query/fetchers`.\n *\n * Pure, no React imports. Safe to import from Next.js React Server\n * Components, edge runtimes, and any other context where React hooks\n * are unavailable. Client components should import from\n * `@singi-labs/sifa-sdk/query` to get hooks + Provider too.\n *\n * Keep in sync with `../index.ts`: every fetcher exported there should\n * also be exported here. Hooks and the Provider live only in the\n * `/query` barrel.\n */\n\nexport {\n ApiError,\n apiFetch,\n apiFetchOrNull,\n apiWrite,\n apiWriteCreate,\n type ApiFetchOptions,\n type CreateResult,\n type SifaApiConfig,\n type WriteResult,\n} from '../client.js';\n\nexport { fetchAtFundLink, fetchProfile } from './profile.js';\nexport { fetchGetProfileView } from './get-profile-view.js';\nexport {\n deleteAvatarOverride,\n deleteNamePronunciationAudio,\n refreshPds,\n updateProfileOverride,\n updateProfileSelf,\n uploadAvatar,\n uploadNamePronunciationAudio,\n type ProfileIndustryInput,\n type ProfileSelfLocation,\n type RefreshPdsResult,\n type UpdateProfileOverrideInput,\n type UpdateProfileSelfInput,\n type UploadAvatarResult,\n type UploadPronunciationAudioResult,\n} from './profile-mutations.js';\nexport {\n createPosition,\n deletePosition,\n linkSkillToPosition,\n setPositionPrimary,\n unlinkSkillFromPosition,\n unsetPositionPrimary,\n updatePosition,\n} from './positions.js';\nexport { createEducation, deleteEducation, updateEducation } from './education.js';\nexport { setSectionPrimary, unsetSectionPrimary, type PrimarySection } from './section-primary.js';\nexport { createSkill, deleteSkill, updateSkill } from './skills.js';\nexport { createRecord, deleteRecord, updateRecord } from './records.js';\nexport {\n createProfileLocation,\n deleteProfileLocation,\n updateProfileLocation,\n type ProfileLocationAddress,\n type ProfileLocationInput,\n} from './profile-locations.js';\nexport {\n createExternalAccount,\n deleteExternalAccount,\n fetchExternalAccounts,\n setExternalAccountPrimary,\n unsetExternalAccountPrimary,\n updateExternalAccount,\n verifyExternalAccount,\n type CreateExternalAccountResult,\n type ExternalAccountInput,\n type VerifyExternalAccountResult,\n} from './external-accounts.js';\nexport {\n createEndorsement,\n confirmEndorsement,\n type EndorsementInput,\n type ConfirmEndorsementInput,\n} from './endorsements.js';\nexport {\n fetchReceivedEndorsements,\n type ReceivedEndorsement,\n type ReceivedEndorsementsPage,\n} from './received-endorsements.js';\nexport {\n fetchReciprocityCandidate,\n type ReciprocityCandidate,\n type ReciprocitySkill,\n} from './reciprocity.js';\nexport {\n fetchPendingEndorsements,\n dismissEndorsement,\n type PendingEndorsement,\n type PendingEndorsementsPage,\n type DismissEndorsementInput,\n type FetchPendingEndorsementsOptions,\n} from './endorsement-inbox.js';\nexport {\n fetchPendingConfirmations,\n fetchGivenConfirmations,\n fetchViewerPositionConfirmations,\n createConfirmation,\n dismissConfirmation,\n revokeConfirmation,\n type PendingConfirmation,\n type PendingConfirmationsPage,\n type GivenConfirmation,\n type ConfirmationInput,\n type ConfirmationSubjectInput,\n type FetchConfirmationsOptions,\n} from './confirmations.js';\nexport { fetchInboxCounts, type InboxCounts, type FetchInboxCountsOptions } from './inbox.js';\nexport {\n fetchUnlinkedPositions,\n dismissUnlinkedPosition,\n type UnlinkedPosition,\n type UnlinkedPositionsResult,\n type FetchUnlinkedPositionsOptions,\n type DismissUnlinkedPositionInput,\n} from './unlinked-positions.js';\nexport {\n fetchProfileCompleteness,\n PROFILE_COMPLETENESS_SIGNALS,\n type ProfileCompleteness,\n type ProfileCompletenessSignal,\n type FetchProfileCompletenessOptions,\n} from './profile-completeness.js';\nexport { hideKeytraceClaim, unhideKeytraceClaim } from './keytrace-claims.js';\nexport { revealMarqueDomain, unrevealMarqueDomain } from './marque-domains.js';\nexport {\n bulkHideStandardPublications,\n bulkUnhideStandardPublications,\n hideOrcidPublication,\n hideSifaPublication,\n hideStandardPublication,\n refreshOrcidPublications,\n unhideOrcidPublication,\n unhideSifaPublication,\n unhideStandardPublication,\n type RefreshOrcidPublicationsResult,\n} from './publications.js';\nexport {\n bulkHideProfileItems,\n bulkUnhideProfileItems,\n hideProfileItem,\n unhideProfileItem,\n HIDDEN_ITEM_SOURCES,\n HIDDEN_ITEM_TYPES,\n type BulkHideProfileItemInput,\n type HiddenItemSource,\n type HiddenItemType,\n type HideProfileItemInput,\n} from './profile-items-hide.js';\nexport {\n fetchHiddenActivityItems,\n hideActivityItem,\n unhideActivityItem,\n type FetchHiddenActivityItemsOptions,\n type HiddenActivityItem,\n type HideActivityItemInput,\n type UnhideActivityItemInput,\n} from './activity-items-hide.js';\nexport { fetchStats, type StatsResponse } from './stats.js';\nexport {\n fetchAppsRegistry,\n fetchHiddenApps,\n type AppRegistryEntry,\n type FetchHiddenAppsOptions,\n type HiddenApp,\n} from './apps.js';\nexport {\n fetchAccounts,\n switchAccount,\n type AccountSummary,\n type FetchAccountsOptions,\n} from './accounts.js';\nexport {\n fetchSearchCompanies,\n fetchSearchFilters,\n fetchSearchProfiles,\n fetchSkillSuggestions,\n searchSkills,\n type CompanySearchFilters,\n type CompanySearchResponse,\n type CompanySearchResult,\n type FilterOptions,\n type ProfileSearchResult,\n type ProfileSearchSuggestion,\n type SearchFilters,\n type SearchResponse,\n type SkillSearchResult,\n} from './search.js';\nexport {\n fetchSpeakers,\n fetchTalks,\n type SpeakerCard,\n type SpeakerGroup,\n type SpeakerDirectoryFilters,\n type SpeakersResponse,\n type TalkEvent,\n type TalkRow,\n type TalkSpeaker,\n type TalksResponse,\n} from './speakers.js';\nexport {\n fetchFeaturedProfile,\n fetchSimilarProfiles,\n fetchSuggestionCount,\n fetchSuggestions,\n type FeaturedProfile,\n type FetchSuggestionsOptions,\n type SimilarProfile,\n type SuggestionProfile,\n type SuggestionsResponse,\n} from './discovery.js';\nexport {\n fetchFollowing,\n followUser,\n getFollowers,\n getFollowing,\n fetchFollowingFeed,\n fetchFollowingFeedVersion,\n isNewerFollowingFeed,\n type FollowingFeedVersion,\n type FollowingFeedBuild,\n unfollowUser,\n type FetchFollowListOptions,\n type FetchFollowingFeedOptions,\n type FollowingFeedApp,\n type FollowingFeedEmptyReason,\n type FollowingFeedResponse,\n type FollowListPage,\n type FollowProfile,\n type FollowUserResult,\n type FollowingResponse,\n} from './follow.js';\nexport {\n getBlueskySuggestions,\n getMutuals,\n type FetchFollowProfilePageOptions,\n type FollowProfilePageResponse,\n} from './follow-extras.js';\nexport {\n addFeatureAllowlist,\n listFeatureAllowlist,\n removeFeatureAllowlist,\n type FeatureAllowlistResponse,\n type ListFeatureAllowlistOptions,\n} from './admin-feature-allowlists.js';\nexport {\n getAdminReviewQueues,\n type AdminReviewQueues,\n type GetAdminReviewQueuesOptions,\n} from './admin-review-queues.js';\nexport {\n fetchActivityFeed,\n fetchActivityTeaser,\n fetchHeatmapData,\n type ActivityFeedResponse,\n type ActivityItem,\n type ActivityItemLinkHealth,\n type ActivityTeaserResponse,\n type FetchActivityFeedOptions,\n type FetchActivityTeaserOptions,\n type HeatmapDay,\n type HeatmapResponse,\n} from './activity.js';\nexport {\n fetchMyGithubPullRequests,\n type GithubPullRequest,\n type MyGithubPullRequestsResponse,\n type FetchMyGithubPullRequestsOptions,\n} from './github-prs.js';\nexport {\n fetchRpgStatus,\n RpgItemStatusSchema,\n RpgStatusResponseSchema,\n type RpgItemStatus,\n type RpgStatusResponse,\n type FetchRpgStatusOptions,\n} from './rpg.js';\nexport { fetchEndorsementCount } from './endorsement.js';\nexport { fetchNetworkStreamCount, type FetchNetworkStreamCountOptions } from './stream.js';\nexport {\n checkAppAccount,\n createReaction,\n deleteReaction,\n fetchReactionStatus,\n type AccountCheckResult,\n type CheckAppAccountOptions,\n type FetchReactionStatusOptions,\n type ReactionError,\n type ReactionResult,\n type ReactionStatus,\n} from './reactions.js';\nexport {\n QUOTED_POSTS_BATCH_MAX,\n resolveQuotedPosts,\n type QuotedPostAuthor,\n type QuotedPostImage,\n type QuotedPostResult,\n type QuotedPostView,\n type ResolveQuotedPostsOptions,\n} from './quoted-posts.js';\nexport {\n castRoadmapVote,\n fetchMyRoadmapVotes,\n fetchRoadmapVotes,\n retractRoadmapVote,\n type CastRoadmapVoteResult,\n type FetchMyRoadmapVotesOptions,\n type RoadmapVoteError,\n type RoadmapVoteResult,\n type RoadmapVoter,\n type RoadmapVotesResponse,\n} from './roadmap.js';\nexport {\n deleteAccount,\n fetchWipePreview,\n resetProfile,\n type DeleteAccountResult,\n type ResetProfileResult,\n type PdsWipeOutcome,\n type WipePreview,\n} from './destructive.js';\nexport {\n deleteRepoRecords,\n fetchRepoInventory,\n repoExportUrl,\n type RepoDeleteInput,\n} from './repo-inventory.js';\nexport {\n checkNetworkMapJobStatus,\n fetchNetworkMap,\n initiateNetworkMapGeneration,\n isNetworkMapResponse,\n type NetworkMapEdge,\n type NetworkMapGenerationJob,\n type NetworkMapGraphData,\n type NetworkMapNode,\n type NetworkMapPendingJob,\n type NetworkMapResponse,\n} from './network-map.js';\n\nexport { fetchEntitySearch, selectEntity, importSearchEntities } from './entities.js';\n\nexport {\n submitOrgClaim,\n updateOrgProfile,\n requestOrgDomainChallenge,\n verifyOrgDomain,\n addOrgNotificationEmail,\n removeOrgNotificationEmail,\n type OrgClaimBinding,\n type OrgProfileEcho,\n type OrgClaimResult,\n type OrgProfileUpdateResult,\n type OrgDomainChallengeResult,\n type OrgDomainVerifyResult,\n type OrgNotificationEmailAddResult,\n type OrgNotificationEmailRemoveResult,\n} from './org.js';\n\nexport { fetchProfileSummary } from './profile-summary.js';\n\nexport { sifaQueryKeys, type SifaQueryKey } from '../keys.js';\nexport { createInvestment, updateInvestment, deleteInvestment } from './investments.js';\n"],"mappings":";AAaA;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAKK;AAEP,SAAS,iBAAiB,oBAAoB;AAC9C,SAAS,2BAA2B;AACpC;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAQK;AACP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AACP,SAAS,iBAAiB,iBAAiB,uBAAuB;AAClE,SAAS,mBAAmB,2BAAgD;AAC5E,SAAS,aAAa,aAAa,mBAAmB;AACtD,SAAS,cAAc,cAAc,oBAAoB;AACzD;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,OAGK;AACP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAIK;AACP;AAAA,EACE;AAAA,EACA;AAAA,OAGK;AACP;AAAA,EACE;AAAA,OAGK;AACP;AAAA,EACE;AAAA,OAGK;AACP;AAAA,EACE;AAAA,EACA;AAAA,OAKK;AACP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAOK;AACP,SAAS,wBAAwE;AACjF;AAAA,EACE;AAAA,EACA;AAAA,OAKK;AACP;AAAA,EACE;AAAA,EACA;AAAA,OAIK;AACP,SAAS,mBAAmB,2BAA2B;AACvD,SAAS,oBAAoB,4BAA4B;AACzD;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAEK;AACP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAKK;AACP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,OAKK;AACP,SAAS,kBAAsC;AAC/C;AAAA,EACE;AAAA,EACA;AAAA,OAIK;AACP;AAAA,EACE;AAAA,EACA;AAAA,OAGK;AACP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAUK;AACP;AAAA,EACE;AAAA,EACA;AAAA,OASK;AACP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAMK;AACP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EAGA;AAAA,OAUK;AACP;AAAA,EACE;AAAA,EACA;AAAA,OAGK;AACP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,OAGK;AACP;AAAA,EACE;AAAA,OAGK;AACP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,OASK;AACP;AAAA,EACE;AAAA,OAIK;AACP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,OAIK;AACP,SAAS,6BAA6B;AACtC,SAAS,+BAAoE;AAC7E;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAOK;AACP;AAAA,EACE;AAAA,EACA;AAAA,OAMK;AACP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAOK;AACP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,OAKK;AACP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,OAEK;AACP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAOK;AAEP,SAAS,mBAAmB,cAAc,4BAA4B;AAEtE;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OASK;AAEP,SAAS,2BAA2B;AAEpC,SAAS,qBAAwC;AACjD,SAAS,kBAAkB,kBAAkB,wBAAwB;","names":[]}
1
+ {"version":3,"sources":["../../../src/query/fetchers/index.ts"],"sourcesContent":["/**\n * Fetcher-only barrel for `@singi-labs/sifa-sdk/query/fetchers`.\n *\n * Pure, no React imports. Safe to import from Next.js React Server\n * Components, edge runtimes, and any other context where React hooks\n * are unavailable. Client components should import from\n * `@singi-labs/sifa-sdk/query` to get hooks + Provider too.\n *\n * Keep in sync with `../index.ts`: every fetcher exported there should\n * also be exported here. Hooks and the Provider live only in the\n * `/query` barrel.\n */\n\nexport {\n ApiError,\n apiFetch,\n apiFetchOrNull,\n apiWrite,\n apiWriteCreate,\n type ApiFetchOptions,\n type CreateResult,\n type SifaApiConfig,\n type WriteResult,\n} from '../client.js';\n\nexport { fetchAtFundLink, fetchProfile } from './profile.js';\nexport { fetchGetProfileView } from './get-profile-view.js';\nexport {\n deleteAvatarOverride,\n deleteNamePronunciationAudio,\n refreshPds,\n updateProfileOverride,\n updateProfileSelf,\n uploadAvatar,\n uploadNamePronunciationAudio,\n type ProfileIndustryInput,\n type ProfileSelfLocation,\n type RefreshPdsResult,\n type UpdateProfileOverrideInput,\n type UpdateProfileSelfInput,\n type UploadAvatarResult,\n type UploadPronunciationAudioResult,\n} from './profile-mutations.js';\nexport {\n createPosition,\n deletePosition,\n linkSkillToPosition,\n setPositionPrimary,\n unlinkSkillFromPosition,\n unsetPositionPrimary,\n updatePosition,\n} from './positions.js';\nexport { createEducation, deleteEducation, updateEducation } from './education.js';\nexport { setSectionPrimary, unsetSectionPrimary, type PrimarySection } from './section-primary.js';\nexport { createSkill, deleteSkill, updateSkill } from './skills.js';\nexport { createRecord, deleteRecord, updateRecord } from './records.js';\nexport {\n createProfileLocation,\n deleteProfileLocation,\n updateProfileLocation,\n type ProfileLocationAddress,\n type ProfileLocationInput,\n} from './profile-locations.js';\nexport {\n createExternalAccount,\n deleteExternalAccount,\n fetchExternalAccounts,\n setExternalAccountPrimary,\n unsetExternalAccountPrimary,\n updateExternalAccount,\n verifyExternalAccount,\n type CreateExternalAccountResult,\n type ExternalAccountInput,\n type VerifyExternalAccountResult,\n} from './external-accounts.js';\nexport {\n createEndorsement,\n confirmEndorsement,\n type EndorsementInput,\n type ConfirmEndorsementInput,\n} from './endorsements.js';\nexport {\n fetchReceivedEndorsements,\n type ReceivedEndorsement,\n type ReceivedEndorsementsPage,\n} from './received-endorsements.js';\nexport {\n fetchReciprocityCandidate,\n type ReciprocityCandidate,\n type ReciprocitySkill,\n} from './reciprocity.js';\nexport {\n fetchPendingEndorsements,\n dismissEndorsement,\n type PendingEndorsement,\n type PendingEndorsementsPage,\n type DismissEndorsementInput,\n type FetchPendingEndorsementsOptions,\n} from './endorsement-inbox.js';\nexport {\n fetchPendingConfirmations,\n fetchGivenConfirmations,\n fetchViewerPositionConfirmations,\n createConfirmation,\n dismissConfirmation,\n revokeConfirmation,\n type PendingConfirmation,\n type PendingConfirmationsPage,\n type GivenConfirmation,\n type ConfirmationInput,\n type ConfirmationSubjectInput,\n type FetchConfirmationsOptions,\n} from './confirmations.js';\nexport { fetchInboxCounts, type InboxCounts, type FetchInboxCountsOptions } from './inbox.js';\nexport {\n fetchUnlinkedPositions,\n dismissUnlinkedPosition,\n type UnlinkedPosition,\n type UnlinkedPositionsResult,\n type FetchUnlinkedPositionsOptions,\n type DismissUnlinkedPositionInput,\n} from './unlinked-positions.js';\nexport {\n fetchProfileCompleteness,\n PROFILE_COMPLETENESS_SIGNALS,\n type ProfileCompleteness,\n type ProfileCompletenessSignal,\n type FetchProfileCompletenessOptions,\n} from './profile-completeness.js';\nexport { hideKeytraceClaim, unhideKeytraceClaim } from './keytrace-claims.js';\nexport { revealMarqueDomain, unrevealMarqueDomain } from './marque-domains.js';\nexport {\n bulkHideStandardPublications,\n bulkUnhideStandardPublications,\n hideOrcidPublication,\n hideSifaPublication,\n hideStandardPublication,\n refreshOrcidPublications,\n unhideOrcidPublication,\n unhideSifaPublication,\n unhideStandardPublication,\n type RefreshOrcidPublicationsResult,\n} from './publications.js';\nexport {\n bulkHideProfileItems,\n bulkUnhideProfileItems,\n hideProfileItem,\n unhideProfileItem,\n HIDDEN_ITEM_SOURCES,\n HIDDEN_ITEM_TYPES,\n type BulkHideProfileItemInput,\n type HiddenItemSource,\n type HiddenItemType,\n type HideProfileItemInput,\n} from './profile-items-hide.js';\nexport {\n fetchHiddenActivityItems,\n hideActivityItem,\n unhideActivityItem,\n type FetchHiddenActivityItemsOptions,\n type HiddenActivityItem,\n type HideActivityItemInput,\n type UnhideActivityItemInput,\n} from './activity-items-hide.js';\nexport {\n fetchActivityPreferences,\n fetchSiteActivityPreset,\n updateActivityPreferences,\n type ActivityPreferences,\n type FetchActivityPreferencesOptions,\n type SiteActivityPresetResponse,\n type UpdateActivityPreferencesInput,\n} from './activity-preferences.js';\nexport { fetchStats, type StatsResponse } from './stats.js';\nexport {\n fetchAppsRegistry,\n fetchHiddenApps,\n type AppRegistryEntry,\n type FetchHiddenAppsOptions,\n type HiddenApp,\n} from './apps.js';\nexport {\n fetchAccounts,\n switchAccount,\n type AccountSummary,\n type FetchAccountsOptions,\n} from './accounts.js';\nexport {\n fetchSearchCompanies,\n fetchSearchFilters,\n fetchSearchProfiles,\n fetchSkillSuggestions,\n searchSkills,\n type CompanySearchFilters,\n type CompanySearchResponse,\n type CompanySearchResult,\n type FilterOptions,\n type ProfileSearchResult,\n type ProfileSearchSuggestion,\n type SearchFilters,\n type SearchResponse,\n type SkillSearchResult,\n} from './search.js';\nexport {\n fetchSpeakers,\n fetchTalks,\n type SpeakerCard,\n type SpeakerGroup,\n type SpeakerDirectoryFilters,\n type SpeakersResponse,\n type TalkEvent,\n type TalkRow,\n type TalkSpeaker,\n type TalksResponse,\n} from './speakers.js';\nexport {\n fetchFeaturedProfile,\n fetchSimilarProfiles,\n fetchSuggestionCount,\n fetchSuggestions,\n type FeaturedProfile,\n type FetchSuggestionsOptions,\n type SimilarProfile,\n type SuggestionProfile,\n type SuggestionsResponse,\n} from './discovery.js';\nexport {\n fetchFollowing,\n followUser,\n getFollowers,\n getFollowing,\n fetchFollowingFeed,\n fetchFollowingFeedVersion,\n isNewerFollowingFeed,\n type FollowingFeedVersion,\n type FollowingFeedBuild,\n unfollowUser,\n type FetchFollowListOptions,\n type FetchFollowingFeedOptions,\n type FollowingFeedApp,\n type FollowingFeedEmptyReason,\n type FollowingFeedResponse,\n type FollowListPage,\n type FollowProfile,\n type FollowUserResult,\n type FollowingResponse,\n} from './follow.js';\nexport {\n getBlueskySuggestions,\n getMutuals,\n type FetchFollowProfilePageOptions,\n type FollowProfilePageResponse,\n} from './follow-extras.js';\nexport {\n addFeatureAllowlist,\n listFeatureAllowlist,\n removeFeatureAllowlist,\n type FeatureAllowlistResponse,\n type ListFeatureAllowlistOptions,\n} from './admin-feature-allowlists.js';\nexport {\n getAdminReviewQueues,\n type AdminReviewQueues,\n type GetAdminReviewQueuesOptions,\n} from './admin-review-queues.js';\nexport {\n fetchActivityFeed,\n fetchActivityTeaser,\n fetchHeatmapData,\n type ActivityFeedResponse,\n type ActivityItem,\n type ActivityItemLinkHealth,\n type ActivityTeaserResponse,\n type FetchActivityFeedOptions,\n type FetchActivityTeaserOptions,\n type HeatmapDay,\n type HeatmapResponse,\n} from './activity.js';\nexport {\n fetchMyGithubPullRequests,\n type GithubPullRequest,\n type MyGithubPullRequestsResponse,\n type FetchMyGithubPullRequestsOptions,\n} from './github-prs.js';\nexport {\n fetchRpgStatus,\n RpgItemStatusSchema,\n RpgStatusResponseSchema,\n type RpgItemStatus,\n type RpgStatusResponse,\n type FetchRpgStatusOptions,\n} from './rpg.js';\nexport { fetchEndorsementCount } from './endorsement.js';\nexport { fetchNetworkStreamCount, type FetchNetworkStreamCountOptions } from './stream.js';\nexport {\n checkAppAccount,\n createReaction,\n deleteReaction,\n fetchReactionStatus,\n type AccountCheckResult,\n type CheckAppAccountOptions,\n type FetchReactionStatusOptions,\n type ReactionError,\n type ReactionResult,\n type ReactionStatus,\n} from './reactions.js';\nexport {\n QUOTED_POSTS_BATCH_MAX,\n resolveQuotedPosts,\n type QuotedPostAuthor,\n type QuotedPostImage,\n type QuotedPostResult,\n type QuotedPostView,\n type ResolveQuotedPostsOptions,\n} from './quoted-posts.js';\nexport {\n castRoadmapVote,\n fetchMyRoadmapVotes,\n fetchRoadmapVotes,\n retractRoadmapVote,\n type CastRoadmapVoteResult,\n type FetchMyRoadmapVotesOptions,\n type RoadmapVoteError,\n type RoadmapVoteResult,\n type RoadmapVoter,\n type RoadmapVotesResponse,\n} from './roadmap.js';\nexport {\n deleteAccount,\n fetchWipePreview,\n resetProfile,\n type DeleteAccountResult,\n type ResetProfileResult,\n type PdsWipeOutcome,\n type WipePreview,\n} from './destructive.js';\nexport {\n deleteRepoRecords,\n fetchRepoInventory,\n repoExportUrl,\n type RepoDeleteInput,\n} from './repo-inventory.js';\nexport {\n checkNetworkMapJobStatus,\n fetchNetworkMap,\n initiateNetworkMapGeneration,\n isNetworkMapResponse,\n type NetworkMapEdge,\n type NetworkMapGenerationJob,\n type NetworkMapGraphData,\n type NetworkMapNode,\n type NetworkMapPendingJob,\n type NetworkMapResponse,\n} from './network-map.js';\n\nexport { fetchEntitySearch, selectEntity, importSearchEntities } from './entities.js';\n\nexport {\n submitOrgClaim,\n updateOrgProfile,\n requestOrgDomainChallenge,\n verifyOrgDomain,\n addOrgNotificationEmail,\n removeOrgNotificationEmail,\n type OrgClaimBinding,\n type OrgProfileEcho,\n type OrgClaimResult,\n type OrgProfileUpdateResult,\n type OrgDomainChallengeResult,\n type OrgDomainVerifyResult,\n type OrgNotificationEmailAddResult,\n type OrgNotificationEmailRemoveResult,\n} from './org.js';\n\nexport { fetchProfileSummary } from './profile-summary.js';\n\nexport {\n fetchUserSettings,\n updateUserSettings,\n UserSettingsSchema,\n type FetchUserSettingsOptions,\n type UserSettings,\n type UserSettingsPatch,\n} from './user-settings.js';\n\nexport { sifaQueryKeys, type SifaQueryKey } from '../keys.js';\nexport { createInvestment, updateInvestment, deleteInvestment } from './investments.js';\n"],"mappings":"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","names":[]}
@@ -0,0 +1,48 @@
1
+ // src/query/fetchers/user-settings.ts
2
+ import { z } from "zod";
3
+ import { apiFetch } from "../client.js";
4
+ var UserSettingsSchema = z.object({
5
+ respectBskyBlocks: z.boolean(),
6
+ autoLinkCompanies: z.boolean(),
7
+ /**
8
+ * Show per-publication citation counts from OpenAlex on the profile.
9
+ * Off by default; an API that predates the setting reads as off.
10
+ */
11
+ showCitationCounts: z.boolean().default(false)
12
+ });
13
+ async function fetchUserSettings(config, options = {}) {
14
+ const { cookieHeader, ...rest } = options;
15
+ const headers = { ...rest.headers ?? {} };
16
+ if (cookieHeader) headers.cookie = cookieHeader;
17
+ try {
18
+ const data = await apiFetch(config, "/api/settings", {
19
+ cache: "no-store",
20
+ credentials: "include",
21
+ ...rest,
22
+ headers
23
+ });
24
+ const parsed = UserSettingsSchema.safeParse(data);
25
+ return parsed.success ? parsed.data : null;
26
+ } catch {
27
+ return null;
28
+ }
29
+ }
30
+ async function updateUserSettings(config, patch) {
31
+ try {
32
+ const data = await apiFetch(config, "/api/settings", {
33
+ method: "PATCH",
34
+ credentials: "include",
35
+ body: patch
36
+ });
37
+ const parsed = UserSettingsSchema.safeParse(data);
38
+ return parsed.success ? parsed.data : null;
39
+ } catch {
40
+ return null;
41
+ }
42
+ }
43
+ export {
44
+ UserSettingsSchema,
45
+ fetchUserSettings,
46
+ updateUserSettings
47
+ };
48
+ //# sourceMappingURL=user-settings.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/query/fetchers/user-settings.ts"],"sourcesContent":["import { z } from 'zod';\n\nimport { apiFetch, type ApiFetchOptions, type SifaApiConfig } from '../client.js';\n\n/**\n * The signed-in user's account preferences (`/api/settings`). Kept on the\n * AppView, not in a PDS record: they change how Sifa treats the account, not\n * what the account says about itself.\n */\nexport const UserSettingsSchema = z.object({\n respectBskyBlocks: z.boolean(),\n autoLinkCompanies: z.boolean(),\n /**\n * Show per-publication citation counts from OpenAlex on the profile.\n * Off by default; an API that predates the setting reads as off.\n */\n showCitationCounts: z.boolean().default(false),\n});\n\nexport type UserSettings = z.infer<typeof UserSettingsSchema>;\n\n/** Body accepted by {@link updateUserSettings}: only the preferences to change. */\nexport type UserSettingsPatch = Partial<UserSettings>;\n\nexport interface FetchUserSettingsOptions extends ApiFetchOptions {\n /** Session cookie to forward when reading from a server context. */\n cookieHeader?: string;\n}\n\n/** The caller's settings, or `null` when signed out or the read fails. */\nexport async function fetchUserSettings(\n config: SifaApiConfig,\n options: FetchUserSettingsOptions = {},\n): Promise<UserSettings | null> {\n const { cookieHeader, ...rest } = options;\n const headers: Record<string, string> = { ...(rest.headers ?? {}) };\n if (cookieHeader) headers.cookie = cookieHeader;\n try {\n const data = await apiFetch<unknown>(config, '/api/settings', {\n cache: 'no-store',\n credentials: 'include',\n ...rest,\n headers,\n });\n const parsed = UserSettingsSchema.safeParse(data);\n return parsed.success ? parsed.data : null;\n } catch {\n return null;\n }\n}\n\n/** Save the given preferences. Returns the stored settings, or `null` on failure. */\nexport async function updateUserSettings(\n config: SifaApiConfig,\n patch: UserSettingsPatch,\n): Promise<UserSettings | null> {\n try {\n const data = await apiFetch<unknown>(config, '/api/settings', {\n method: 'PATCH',\n credentials: 'include',\n body: patch,\n });\n const parsed = UserSettingsSchema.safeParse(data);\n return parsed.success ? parsed.data : null;\n } catch {\n return null;\n }\n}\n"],"mappings":";AAAA,SAAS,SAAS;AAElB,SAAS,gBAA0D;AAO5D,IAAM,qBAAqB,EAAE,OAAO;AAAA,EACzC,mBAAmB,EAAE,QAAQ;AAAA,EAC7B,mBAAmB,EAAE,QAAQ;AAAA;AAAA;AAAA;AAAA;AAAA,EAK7B,oBAAoB,EAAE,QAAQ,EAAE,QAAQ,KAAK;AAC/C,CAAC;AAaD,eAAsB,kBACpB,QACA,UAAoC,CAAC,GACP;AAC9B,QAAM,EAAE,cAAc,GAAG,KAAK,IAAI;AAClC,QAAM,UAAkC,EAAE,GAAI,KAAK,WAAW,CAAC,EAAG;AAClE,MAAI,aAAc,SAAQ,SAAS;AACnC,MAAI;AACF,UAAM,OAAO,MAAM,SAAkB,QAAQ,iBAAiB;AAAA,MAC5D,OAAO;AAAA,MACP,aAAa;AAAA,MACb,GAAG;AAAA,MACH;AAAA,IACF,CAAC;AACD,UAAM,SAAS,mBAAmB,UAAU,IAAI;AAChD,WAAO,OAAO,UAAU,OAAO,OAAO;AAAA,EACxC,QAAQ;AACN,WAAO;AAAA,EACT;AACF;AAGA,eAAsB,mBACpB,QACA,OAC8B;AAC9B,MAAI;AACF,UAAM,OAAO,MAAM,SAAkB,QAAQ,iBAAiB;AAAA,MAC5D,QAAQ;AAAA,MACR,aAAa;AAAA,MACb,MAAM;AAAA,IACR,CAAC;AACD,UAAM,SAAS,mBAAmB,UAAU,IAAI;AAChD,WAAO,OAAO,UAAU,OAAO,OAAO;AAAA,EACxC,QAAQ;AACN,WAAO;AAAA,EACT;AACF;","names":[]}
@@ -255,7 +255,10 @@ var sifaQueryKeys = {
255
255
  feed: (handleOrDid, opts) => ["sifa", "activity", "feed", handleOrDid, opts],
256
256
  // Session-scoped: the AppView reads the caller's own hides from their
257
257
  // cookie, so there is only ever one list per client.
258
- hiddenItems: () => ["sifa", "activity", "hidden-items"]
258
+ hiddenItems: () => ["sifa", "activity", "hidden-items"],
259
+ // Session-scoped, like hiddenItems: the caller's own preferences.
260
+ preferences: () => ["sifa", "activity", "preferences"],
261
+ sitePreset: (handleOrDid) => ["sifa", "activity", "site-preset", handleOrDid]
259
262
  },
260
263
  github: {
261
264
  all: () => ["sifa", "github"],
@@ -311,6 +314,9 @@ var sifaQueryKeys = {
311
314
  all: () => ["sifa", "bsky-preferences"],
312
315
  contentLabels: () => ["sifa", "bsky-preferences", "content-labels"]
313
316
  },
317
+ userSettings: {
318
+ all: () => ["sifa", "user-settings"]
319
+ },
314
320
  repoInventory: {
315
321
  all: () => ["sifa", "repo-inventory"],
316
322
  list: () => ["sifa", "repo-inventory", "list"]
@@ -2133,6 +2139,72 @@ var useUnhideActivityItem = makeHideHook(
2133
2139
  (config, input) => unhideActivityItem(config, input)
2134
2140
  );
2135
2141
 
2142
+ // src/query/fetchers/activity-preferences.ts
2143
+ async function fetchActivityPreferences(config, options = {}) {
2144
+ const headers = { ...options.headers ?? {} };
2145
+ if (options.cookieHeader) headers.cookie = options.cookieHeader;
2146
+ try {
2147
+ return await apiFetch(config, "/api/activity-preferences", {
2148
+ credentials: "include",
2149
+ cache: "no-store",
2150
+ ...options,
2151
+ headers
2152
+ });
2153
+ } catch {
2154
+ return null;
2155
+ }
2156
+ }
2157
+ function updateActivityPreferences(config, input, options = {}) {
2158
+ return apiWrite(config, "/api/activity-preferences", "PUT", {
2159
+ ...options,
2160
+ body: input
2161
+ });
2162
+ }
2163
+ async function fetchSiteActivityPreset(config, handleOrDid, options = {}) {
2164
+ try {
2165
+ return await apiFetch(
2166
+ config,
2167
+ `/api/activity-preferences/site-preset/${encodeIdentifier(handleOrDid)}`,
2168
+ options
2169
+ );
2170
+ } catch {
2171
+ return null;
2172
+ }
2173
+ }
2174
+
2175
+ // src/query/hooks/use-activity-preferences.ts
2176
+ function useActivityPreferences(options) {
2177
+ const config = useSifaConfig();
2178
+ return reactQuery.useQuery({
2179
+ queryKey: sifaQueryKeys.activity.preferences(),
2180
+ queryFn: () => fetchActivityPreferences(config),
2181
+ ...options
2182
+ });
2183
+ }
2184
+ function useSiteActivityPreset(handleOrDid, options) {
2185
+ const config = useSifaConfig();
2186
+ return reactQuery.useQuery({
2187
+ queryKey: sifaQueryKeys.activity.sitePreset(handleOrDid ?? ""),
2188
+ queryFn: () => fetchSiteActivityPreset(config, handleOrDid ?? ""),
2189
+ enabled: Boolean(handleOrDid) && (options?.enabled ?? true),
2190
+ ...options
2191
+ });
2192
+ }
2193
+ function useUpdateActivityPreferences(options) {
2194
+ const config = useSifaConfig();
2195
+ const queryClient = reactQuery.useQueryClient();
2196
+ return reactQuery.useMutation({
2197
+ ...options,
2198
+ mutationFn: (input) => updateActivityPreferences(config, input),
2199
+ onSuccess: async (result, variables, onMutateResult, context) => {
2200
+ if (result.success) {
2201
+ await queryClient.invalidateQueries({ queryKey: sifaQueryKeys.activity.all() });
2202
+ }
2203
+ await options?.onSuccess?.(result, variables, onMutateResult, context);
2204
+ }
2205
+ });
2206
+ }
2207
+
2136
2208
  // src/query/fetchers/stats.ts
2137
2209
  async function fetchStats(config, options = {}) {
2138
2210
  try {
@@ -2904,6 +2976,9 @@ async function fetchActivityTeaser(config, handleOrDid, options = {}) {
2904
2976
  async function fetchActivityFeed(config, handleOrDid, options = {}) {
2905
2977
  const params = new URLSearchParams();
2906
2978
  if (options.category) params.set("category", options.category);
2979
+ if (options.categories?.length) params.set("categories", options.categories.join(","));
2980
+ if (options.tags?.length) params.set("tags", options.tags.join(","));
2981
+ if (options.preset) params.set("preset", options.preset);
2907
2982
  if (options.limit) params.set("limit", String(options.limit));
2908
2983
  if (options.cursor) params.set("cursor", options.cursor);
2909
2984
  const qs = params.toString();
@@ -3854,11 +3929,72 @@ function useDeleteInvestment(ownerDid, options) {
3854
3929
  }
3855
3930
  });
3856
3931
  }
3932
+ var UserSettingsSchema = zod.z.object({
3933
+ respectBskyBlocks: zod.z.boolean(),
3934
+ autoLinkCompanies: zod.z.boolean(),
3935
+ /**
3936
+ * Show per-publication citation counts from OpenAlex on the profile.
3937
+ * Off by default; an API that predates the setting reads as off.
3938
+ */
3939
+ showCitationCounts: zod.z.boolean().default(false)
3940
+ });
3941
+ async function fetchUserSettings(config, options = {}) {
3942
+ const { cookieHeader, ...rest } = options;
3943
+ const headers = { ...rest.headers ?? {} };
3944
+ if (cookieHeader) headers.cookie = cookieHeader;
3945
+ try {
3946
+ const data = await apiFetch(config, "/api/settings", {
3947
+ cache: "no-store",
3948
+ credentials: "include",
3949
+ ...rest,
3950
+ headers
3951
+ });
3952
+ const parsed = UserSettingsSchema.safeParse(data);
3953
+ return parsed.success ? parsed.data : null;
3954
+ } catch {
3955
+ return null;
3956
+ }
3957
+ }
3958
+ async function updateUserSettings(config, patch) {
3959
+ try {
3960
+ const data = await apiFetch(config, "/api/settings", {
3961
+ method: "PATCH",
3962
+ credentials: "include",
3963
+ body: patch
3964
+ });
3965
+ const parsed = UserSettingsSchema.safeParse(data);
3966
+ return parsed.success ? parsed.data : null;
3967
+ } catch {
3968
+ return null;
3969
+ }
3970
+ }
3971
+
3972
+ // src/query/hooks/use-user-settings.ts
3973
+ function useUserSettings(options) {
3974
+ const config = useSifaConfig();
3975
+ return reactQuery.useQuery({
3976
+ queryKey: sifaQueryKeys.userSettings.all(),
3977
+ queryFn: () => fetchUserSettings(config),
3978
+ staleTime: 5 * 6e4,
3979
+ ...options
3980
+ });
3981
+ }
3982
+ function useUpdateUserSettings() {
3983
+ const config = useSifaConfig();
3984
+ const queryClient = reactQuery.useQueryClient();
3985
+ return reactQuery.useMutation({
3986
+ mutationFn: (patch) => updateUserSettings(config, patch),
3987
+ onSuccess: (settings) => {
3988
+ if (settings) queryClient.setQueryData(sifaQueryKeys.userSettings.all(), settings);
3989
+ }
3990
+ });
3991
+ }
3857
3992
 
3858
3993
  exports.SifaProvider = SifaProvider;
3859
3994
  exports.sifaQueryKeys = sifaQueryKeys;
3860
3995
  exports.useAccounts = useAccounts;
3861
3996
  exports.useActivityFeed = useActivityFeed;
3997
+ exports.useActivityPreferences = useActivityPreferences;
3862
3998
  exports.useActivityTeaser = useActivityTeaser;
3863
3999
  exports.useAddFeatureAllowlist = useAddFeatureAllowlist;
3864
4000
  exports.useAddOrgNotificationEmail = useAddOrgNotificationEmail;
@@ -3961,6 +4097,7 @@ exports.useSetPositionPrimary = useSetPositionPrimary;
3961
4097
  exports.useSetSectionPrimary = useSetSectionPrimary;
3962
4098
  exports.useSifaConfig = useSifaConfig;
3963
4099
  exports.useSimilarProfiles = useSimilarProfiles;
4100
+ exports.useSiteActivityPreset = useSiteActivityPreset;
3964
4101
  exports.useSkillSuggestions = useSkillSuggestions;
3965
4102
  exports.useStats = useStats;
3966
4103
  exports.useSuggestionCount = useSuggestionCount;
@@ -3978,6 +4115,7 @@ exports.useUnrevealMarqueDomain = useUnrevealMarqueDomain;
3978
4115
  exports.useUnsetExternalAccountPrimary = useUnsetExternalAccountPrimary;
3979
4116
  exports.useUnsetPositionPrimary = useUnsetPositionPrimary;
3980
4117
  exports.useUnsetSectionPrimary = useUnsetSectionPrimary;
4118
+ exports.useUpdateActivityPreferences = useUpdateActivityPreferences;
3981
4119
  exports.useUpdateEducation = useUpdateEducation;
3982
4120
  exports.useUpdateExternalAccount = useUpdateExternalAccount;
3983
4121
  exports.useUpdateInvestment = useUpdateInvestment;
@@ -3989,8 +4127,10 @@ exports.useUpdateProfileSelf = useUpdateProfileSelf;
3989
4127
  exports.useUpdateRecord = useUpdateRecord;
3990
4128
  exports.useUpdateSkill = useUpdateSkill;
3991
4129
  exports.useUpdateSkillSubCategories = useUpdateSkillSubCategories;
4130
+ exports.useUpdateUserSettings = useUpdateUserSettings;
3992
4131
  exports.useUploadAvatar = useUploadAvatar;
3993
4132
  exports.useUploadNamePronunciationAudio = useUploadNamePronunciationAudio;
4133
+ exports.useUserSettings = useUserSettings;
3994
4134
  exports.useVerificationLog = useVerificationLog;
3995
4135
  exports.useVerifyExternalAccount = useVerifyExternalAccount;
3996
4136
  exports.useWipePreview = useWipePreview;