@singi-labs/sifa-sdk 0.19.75 → 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 (52) 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 +9 -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 +3 -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/{network-map-DPt0o-vA.d.cts → network-map-DInAc_DB.d.cts} +3 -3
  16. package/dist/{network-map-73EK_ow8.d.ts → network-map-DvALufF9.d.ts} +3 -3
  17. package/dist/{profile-summary-CaPVQo_x.d.cts → profile-summary-BcbJrph1.d.cts} +1 -1
  18. package/dist/{profile-summary-8TYJWh1y.d.ts → profile-summary-PRDqxAQT.d.ts} +1 -1
  19. package/dist/query/fetchers/index.cjs +45 -0
  20. package/dist/query/fetchers/index.cjs.map +1 -1
  21. package/dist/query/fetchers/index.d.cts +6 -6
  22. package/dist/query/fetchers/index.d.ts +6 -6
  23. package/dist/query/fetchers/index.js +8 -0
  24. package/dist/query/fetchers/index.js.map +1 -1
  25. package/dist/query/fetchers/user-settings.js +48 -0
  26. package/dist/query/fetchers/user-settings.js.map +1 -0
  27. package/dist/query/hooks/index.cjs +65 -0
  28. package/dist/query/hooks/index.cjs.map +1 -1
  29. package/dist/query/hooks/index.d.cts +4 -4
  30. package/dist/query/hooks/index.d.ts +4 -4
  31. package/dist/query/hooks/index.js +3 -0
  32. package/dist/query/hooks/index.js.map +1 -1
  33. package/dist/query/hooks/use-user-settings.js +34 -0
  34. package/dist/query/hooks/use-user-settings.js.map +1 -0
  35. package/dist/query/index.cjs +66 -0
  36. package/dist/query/index.cjs.map +1 -1
  37. package/dist/query/index.d.cts +9 -9
  38. package/dist/query/index.d.ts +9 -9
  39. package/dist/query/index.js +11 -0
  40. package/dist/query/index.js.map +1 -1
  41. package/dist/query/keys.js +3 -0
  42. package/dist/query/keys.js.map +1 -1
  43. package/dist/resume/index.d.cts +1 -1
  44. package/dist/resume/index.d.ts +1 -1
  45. package/dist/types/index.js.map +1 -1
  46. package/dist/{types-Dl-uk0Ds.d.ts → types-CI24asgo.d.ts} +5 -1
  47. package/dist/{types-BY3qFPDf.d.cts → types-qw55KvoV.d.cts} +5 -1
  48. package/dist/{use-org-notification-emails-ObFoUWP3.d.ts → use-user-settings-B1rJmjQR.d.ts} +24 -4
  49. package/dist/{use-org-notification-emails-u0AQu9Ez.d.cts → use-user-settings-CYDXJNmI.d.cts} +24 -4
  50. package/dist/{org-aUopODEW.d.ts → user-settings-Qwi6wSnK.d.ts} +29 -4
  51. package/dist/{org-Bb1cRhJu.d.cts → user-settings-lenJHz19.d.cts} +29 -4
  52. package/package.json +1 -1
@@ -1,11 +1,11 @@
1
- import { a0 as SifaApiConfig, a1 as ApiFetchOptions, a2 as CreateResult, a3 as WriteResult } from '../../types-BY3qFPDf.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-BY3qFPDf.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-DPt0o-vA.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 FollowListPage, Q as FollowProfile, R as FollowProfilePageResponse, S as FollowUserResult, T as FollowingFeedApp, U as FollowingFeedBuild, V as FollowingFeedEmptyReason, W as FollowingFeedResponse, X as FollowingFeedVersion, Y as FollowingResponse, Z as GetAdminReviewQueuesOptions, _ as GithubPullRequest, $ as GivenConfirmation, a0 as HIDDEN_ITEM_SOURCES, a1 as HIDDEN_ITEM_TYPES, a2 as HeatmapDay, a3 as HeatmapResponse, a4 as HiddenActivityItem, a5 as HiddenApp, a6 as HiddenItemSource, a7 as HiddenItemType, a8 as HideActivityItemInput, a9 as HideProfileItemInput, aa as InboxCounts, ab as ListFeatureAllowlistOptions, ac as MyGithubPullRequestsResponse, ad as OrgClaimBinding, ae as OrgClaimResult, af as OrgDomainChallengeResult, ag as OrgDomainVerifyResult, ah as OrgNotificationEmailAddResult, ai as OrgNotificationEmailRemoveResult, aj as OrgProfileEcho, ak as OrgProfileUpdateResult, al as PROFILE_COMPLETENESS_SIGNALS, am as PdsWipeOutcome, an as PendingConfirmation, ao as PendingConfirmationsPage, ap as PrimarySection, aq as ProfileCompleteness, ar as ProfileCompletenessSignal, as as ProfileIndustryInput, at as ProfileLocationAddress, au as ProfileLocationInput, av as ProfileSelfLocation, aw as QUOTED_POSTS_BATCH_MAX, ax as QuotedPostAuthor, ay as QuotedPostImage, az as QuotedPostResult, aA as QuotedPostView, aB as ReactionError, aC as ReactionResult, aD as ReactionStatus, aE as RefreshOrcidPublicationsResult, aF as RefreshPdsResult, aG as RepoDeleteInput, aH as ResetProfileResult, aI as ResolveQuotedPostsOptions, aJ as RoadmapVoteError, aK as RoadmapVoteResult, aL as RoadmapVoter, aM as RoadmapVotesResponse, aN as SifaQueryKey, aO as SimilarProfile, aP as SiteActivityPresetResponse, aQ as StatsResponse, aS as SuggestionProfile, aT as SuggestionsResponse, aU as UnhideActivityItemInput, aV as UnlinkedPosition, aW as UnlinkedPositionsResult, aX as UpdateActivityPreferencesInput, aY as UpdateProfileOverrideInput, aZ as UpdateProfileSelfInput, a_ as UploadAvatarResult, a$ as UploadPronunciationAudioResult, b0 as VerifyExternalAccountResult, b1 as WipePreview, b2 as addFeatureAllowlist, b3 as addOrgNotificationEmail, b4 as bulkHideProfileItems, b5 as bulkHideStandardPublications, b6 as bulkUnhideProfileItems, b7 as bulkUnhideStandardPublications, b8 as castRoadmapVote, b9 as checkAppAccount, ba as confirmEndorsement, bb as createConfirmation, bc as createEndorsement, bd as createExternalAccount, be as createProfileLocation, bf as createReaction, bg as createSkill, bh as deleteAccount, bi as deleteAvatarOverride, bj as deleteExternalAccount, bk as deleteNamePronunciationAudio, bl as deleteProfileLocation, bm as deleteReaction, bn as deleteRepoRecords, bo as deleteSkill, bp as dismissConfirmation, bq as dismissUnlinkedPosition, br as fetchAccounts, bs as fetchActivityFeed, bt as fetchActivityPreferences, bu as fetchActivityTeaser, bv as fetchAppsRegistry, bw as fetchExternalAccounts, bx as fetchFeaturedProfile, by as fetchFollowing, bz as fetchFollowingFeed, bA as fetchFollowingFeedVersion, bB as fetchGivenConfirmations, bC as fetchHeatmapData, bD as fetchHiddenActivityItems, bE as fetchHiddenApps, bF as fetchInboxCounts, bG as fetchMyGithubPullRequests, bH as fetchMyRoadmapVotes, bI as fetchPendingConfirmations, bJ as fetchProfileCompleteness, bK as fetchReactionStatus, bL as fetchRepoInventory, bM as fetchRoadmapVotes, bN as fetchSimilarProfiles, bO as fetchSiteActivityPreset, bP as fetchStats, bQ as fetchSuggestionCount, bR as fetchSuggestions, bS as fetchUnlinkedPositions, bT as fetchViewerPositionConfirmations, bU as fetchWipePreview, bV as followUser, bW as getAdminReviewQueues, bX as getBlueskySuggestions, bY as getFollowers, bZ as getFollowing, b_ as getMutuals, b$ as hideActivityItem, c0 as hideOrcidPublication, c1 as hideProfileItem, c2 as hideSifaPublication, c3 as hideStandardPublication, c4 as isNewerFollowingFeed, c5 as listFeatureAllowlist, c6 as refreshOrcidPublications, c7 as refreshPds, c8 as removeFeatureAllowlist, c9 as removeOrgNotificationEmail, ca as repoExportUrl, cb as requestOrgDomainChallenge, cc as resetProfile, cd as resolveQuotedPosts, ce as retractRoadmapVote, cf as revokeConfirmation, cg as setExternalAccountPrimary, ch as setSectionPrimary, s as sifaQueryKeys, ci as submitOrgClaim, cj as switchAccount, ck as unfollowUser, cl as unhideActivityItem, cm as unhideOrcidPublication, cn as unhideProfileItem, co as unhideSifaPublication, cp as unhideStandardPublication, cq as unsetExternalAccountPrimary, cr as unsetSectionPrimary, cs as updateActivityPreferences, ct as updateExternalAccount, cu as updateOrgProfile, cv as updateProfileLocation, cw as updateProfileOverride, cx as updateProfileSelf, cy as updateSkill, cA as uploadAvatar, cB as uploadNamePronunciationAudio, cC as verifyExternalAccount, cD as verifyOrgDomain } from '../../org-Bb1cRhJu.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-CaPVQo_x.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 { a0 as SifaApiConfig, a1 as ApiFetchOptions, a2 as CreateResult, a3 as WriteResult } from '../../types-Dl-uk0Ds.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-Dl-uk0Ds.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-73EK_ow8.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 FollowListPage, Q as FollowProfile, R as FollowProfilePageResponse, S as FollowUserResult, T as FollowingFeedApp, U as FollowingFeedBuild, V as FollowingFeedEmptyReason, W as FollowingFeedResponse, X as FollowingFeedVersion, Y as FollowingResponse, Z as GetAdminReviewQueuesOptions, _ as GithubPullRequest, $ as GivenConfirmation, a0 as HIDDEN_ITEM_SOURCES, a1 as HIDDEN_ITEM_TYPES, a2 as HeatmapDay, a3 as HeatmapResponse, a4 as HiddenActivityItem, a5 as HiddenApp, a6 as HiddenItemSource, a7 as HiddenItemType, a8 as HideActivityItemInput, a9 as HideProfileItemInput, aa as InboxCounts, ab as ListFeatureAllowlistOptions, ac as MyGithubPullRequestsResponse, ad as OrgClaimBinding, ae as OrgClaimResult, af as OrgDomainChallengeResult, ag as OrgDomainVerifyResult, ah as OrgNotificationEmailAddResult, ai as OrgNotificationEmailRemoveResult, aj as OrgProfileEcho, ak as OrgProfileUpdateResult, al as PROFILE_COMPLETENESS_SIGNALS, am as PdsWipeOutcome, an as PendingConfirmation, ao as PendingConfirmationsPage, ap as PrimarySection, aq as ProfileCompleteness, ar as ProfileCompletenessSignal, as as ProfileIndustryInput, at as ProfileLocationAddress, au as ProfileLocationInput, av as ProfileSelfLocation, aw as QUOTED_POSTS_BATCH_MAX, ax as QuotedPostAuthor, ay as QuotedPostImage, az as QuotedPostResult, aA as QuotedPostView, aB as ReactionError, aC as ReactionResult, aD as ReactionStatus, aE as RefreshOrcidPublicationsResult, aF as RefreshPdsResult, aG as RepoDeleteInput, aH as ResetProfileResult, aI as ResolveQuotedPostsOptions, aJ as RoadmapVoteError, aK as RoadmapVoteResult, aL as RoadmapVoter, aM as RoadmapVotesResponse, aN as SifaQueryKey, aO as SimilarProfile, aP as SiteActivityPresetResponse, aQ as StatsResponse, aS as SuggestionProfile, aT as SuggestionsResponse, aU as UnhideActivityItemInput, aV as UnlinkedPosition, aW as UnlinkedPositionsResult, aX as UpdateActivityPreferencesInput, aY as UpdateProfileOverrideInput, aZ as UpdateProfileSelfInput, a_ as UploadAvatarResult, a$ as UploadPronunciationAudioResult, b0 as VerifyExternalAccountResult, b1 as WipePreview, b2 as addFeatureAllowlist, b3 as addOrgNotificationEmail, b4 as bulkHideProfileItems, b5 as bulkHideStandardPublications, b6 as bulkUnhideProfileItems, b7 as bulkUnhideStandardPublications, b8 as castRoadmapVote, b9 as checkAppAccount, ba as confirmEndorsement, bb as createConfirmation, bc as createEndorsement, bd as createExternalAccount, be as createProfileLocation, bf as createReaction, bg as createSkill, bh as deleteAccount, bi as deleteAvatarOverride, bj as deleteExternalAccount, bk as deleteNamePronunciationAudio, bl as deleteProfileLocation, bm as deleteReaction, bn as deleteRepoRecords, bo as deleteSkill, bp as dismissConfirmation, bq as dismissUnlinkedPosition, br as fetchAccounts, bs as fetchActivityFeed, bt as fetchActivityPreferences, bu as fetchActivityTeaser, bv as fetchAppsRegistry, bw as fetchExternalAccounts, bx as fetchFeaturedProfile, by as fetchFollowing, bz as fetchFollowingFeed, bA as fetchFollowingFeedVersion, bB as fetchGivenConfirmations, bC as fetchHeatmapData, bD as fetchHiddenActivityItems, bE as fetchHiddenApps, bF as fetchInboxCounts, bG as fetchMyGithubPullRequests, bH as fetchMyRoadmapVotes, bI as fetchPendingConfirmations, bJ as fetchProfileCompleteness, bK as fetchReactionStatus, bL as fetchRepoInventory, bM as fetchRoadmapVotes, bN as fetchSimilarProfiles, bO as fetchSiteActivityPreset, bP as fetchStats, bQ as fetchSuggestionCount, bR as fetchSuggestions, bS as fetchUnlinkedPositions, bT as fetchViewerPositionConfirmations, bU as fetchWipePreview, bV as followUser, bW as getAdminReviewQueues, bX as getBlueskySuggestions, bY as getFollowers, bZ as getFollowing, b_ as getMutuals, b$ as hideActivityItem, c0 as hideOrcidPublication, c1 as hideProfileItem, c2 as hideSifaPublication, c3 as hideStandardPublication, c4 as isNewerFollowingFeed, c5 as listFeatureAllowlist, c6 as refreshOrcidPublications, c7 as refreshPds, c8 as removeFeatureAllowlist, c9 as removeOrgNotificationEmail, ca as repoExportUrl, cb as requestOrgDomainChallenge, cc as resetProfile, cd as resolveQuotedPosts, ce as retractRoadmapVote, cf as revokeConfirmation, cg as setExternalAccountPrimary, ch as setSectionPrimary, s as sifaQueryKeys, ci as submitOrgClaim, cj as switchAccount, ck as unfollowUser, cl as unhideActivityItem, cm as unhideOrcidPublication, cn as unhideProfileItem, co as unhideSifaPublication, cp as unhideStandardPublication, cq as unsetExternalAccountPrimary, cr as unsetSectionPrimary, cs as updateActivityPreferences, ct as updateExternalAccount, cu as updateOrgProfile, cv as updateProfileLocation, cw as updateProfileOverride, cx as updateProfileSelf, cy as updateSkill, cA as uploadAvatar, cB as uploadNamePronunciationAudio, cC as verifyExternalAccount, cD as verifyOrgDomain } from '../../org-aUopODEW.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-8TYJWh1y.js';
8
+ import '../../profile-summary-PRDqxAQT.js';
9
9
  import '../../follow-profile-ceqefXAw.js';
10
10
  import '../../org-settings-BShvhyFp.js';
11
11
 
@@ -211,6 +211,11 @@ import {
211
211
  removeOrgNotificationEmail
212
212
  } from "./org.js";
213
213
  import { fetchProfileSummary } from "./profile-summary.js";
214
+ import {
215
+ fetchUserSettings,
216
+ updateUserSettings,
217
+ UserSettingsSchema
218
+ } from "./user-settings.js";
214
219
  import { sifaQueryKeys } from "../keys.js";
215
220
  import { createInvestment, updateInvestment, deleteInvestment } from "./investments.js";
216
221
  export {
@@ -221,6 +226,7 @@ export {
221
226
  QUOTED_POSTS_BATCH_MAX,
222
227
  RpgItemStatusSchema,
223
228
  RpgStatusResponseSchema,
229
+ UserSettingsSchema,
224
230
  addFeatureAllowlist,
225
231
  addOrgNotificationEmail,
226
232
  apiFetch,
@@ -306,6 +312,7 @@ export {
306
312
  fetchSuggestions,
307
313
  fetchTalks,
308
314
  fetchUnlinkedPositions,
315
+ fetchUserSettings,
309
316
  fetchViewerPositionConfirmations,
310
317
  fetchWipePreview,
311
318
  followUser,
@@ -368,6 +375,7 @@ export {
368
375
  updateProfileSelf,
369
376
  updateRecord,
370
377
  updateSkill,
378
+ updateUserSettings,
371
379
  uploadAvatar,
372
380
  uploadNamePronunciationAudio,
373
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 {\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 { sifaQueryKeys, type SifaQueryKey } from '../keys.js';\nexport { createInvestment, updateInvestment, deleteInvestment } from './investments.js';\n"],"mappings":"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","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":[]}
@@ -314,6 +314,9 @@ var sifaQueryKeys = {
314
314
  all: () => ["sifa", "bsky-preferences"],
315
315
  contentLabels: () => ["sifa", "bsky-preferences", "content-labels"]
316
316
  },
317
+ userSettings: {
318
+ all: () => ["sifa", "user-settings"]
319
+ },
317
320
  repoInventory: {
318
321
  all: () => ["sifa", "repo-inventory"],
319
322
  list: () => ["sifa", "repo-inventory", "list"]
@@ -3926,6 +3929,66 @@ function useDeleteInvestment(ownerDid, options) {
3926
3929
  }
3927
3930
  });
3928
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
+ }
3929
3992
 
3930
3993
  exports.SifaProvider = SifaProvider;
3931
3994
  exports.sifaQueryKeys = sifaQueryKeys;
@@ -4064,8 +4127,10 @@ exports.useUpdateProfileSelf = useUpdateProfileSelf;
4064
4127
  exports.useUpdateRecord = useUpdateRecord;
4065
4128
  exports.useUpdateSkill = useUpdateSkill;
4066
4129
  exports.useUpdateSkillSubCategories = useUpdateSkillSubCategories;
4130
+ exports.useUpdateUserSettings = useUpdateUserSettings;
4067
4131
  exports.useUploadAvatar = useUploadAvatar;
4068
4132
  exports.useUploadNamePronunciationAudio = useUploadNamePronunciationAudio;
4133
+ exports.useUserSettings = useUserSettings;
4069
4134
  exports.useVerificationLog = useVerificationLog;
4070
4135
  exports.useVerifyExternalAccount = useVerifyExternalAccount;
4071
4136
  exports.useWipePreview = useWipePreview;