@singi-labs/sifa-sdk 0.19.76 → 0.19.78

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 (41) hide show
  1. package/dist/index.cjs +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/{network-map-DvALufF9.d.ts → network-map-D8JcKu28.d.ts} +1 -50
  4. package/dist/{network-map-DInAc_DB.d.cts → network-map-Db_EPUDX.d.cts} +1 -50
  5. package/dist/query/fetchers/index.cjs +28 -0
  6. package/dist/query/fetchers/index.cjs.map +1 -1
  7. package/dist/query/fetchers/index.d.cts +2 -2
  8. package/dist/query/fetchers/index.d.ts +2 -2
  9. package/dist/query/fetchers/index.js +5 -1
  10. package/dist/query/fetchers/index.js.map +1 -1
  11. package/dist/query/fetchers/rpg.js +22 -0
  12. package/dist/query/fetchers/rpg.js.map +1 -1
  13. package/dist/query/hooks/index.cjs +59 -0
  14. package/dist/query/hooks/index.cjs.map +1 -1
  15. package/dist/query/hooks/index.d.cts +2 -2
  16. package/dist/query/hooks/index.d.ts +2 -2
  17. package/dist/query/hooks/index.js +2 -0
  18. package/dist/query/hooks/index.js.map +1 -1
  19. package/dist/query/hooks/use-rpg-claimable.js +19 -0
  20. package/dist/query/hooks/use-rpg-claimable.js.map +1 -0
  21. package/dist/query/index.cjs +37 -0
  22. package/dist/query/index.cjs.map +1 -1
  23. package/dist/query/index.d.cts +5 -5
  24. package/dist/query/index.d.ts +5 -5
  25. package/dist/query/index.js +7 -1
  26. package/dist/query/index.js.map +1 -1
  27. package/dist/query/keys.js +6 -0
  28. package/dist/query/keys.js.map +1 -1
  29. package/dist/resume/funder-cv.js +343 -0
  30. package/dist/resume/funder-cv.js.map +1 -0
  31. package/dist/resume/index.cjs +365 -0
  32. package/dist/resume/index.cjs.map +1 -1
  33. package/dist/resume/index.d.cts +236 -3
  34. package/dist/resume/index.d.ts +236 -3
  35. package/dist/resume/index.js +20 -0
  36. package/dist/resume/index.js.map +1 -1
  37. package/dist/{use-user-settings-CYDXJNmI.d.cts → use-user-settings-DWj8BC5K.d.cts} +11 -2
  38. package/dist/{use-user-settings-B1rJmjQR.d.ts → use-user-settings-fWHkdX3c.d.ts} +11 -2
  39. package/dist/{user-settings-Qwi6wSnK.d.ts → user-settings-nov4rgwR.d.ts} +74 -2
  40. package/dist/{user-settings-lenJHz19.d.cts → user-settings-qkxxTwFP.d.cts} +74 -2
  41. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  import { a0 as SifaApiConfig, a1 as ApiFetchOptions, a2 as CreateResult, a3 as WriteResult } from '../../types-qw55KvoV.cjs';
2
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';
3
+ export { D as DismissEndorsementInput, F as FetchNetworkStreamCountOptions, b as FetchPendingEndorsementsOptions, N as NetworkMapEdge, c as NetworkMapGenerationJob, d as NetworkMapGraphData, e as NetworkMapNode, f as NetworkMapPendingJob, g as NetworkMapResponse, h as PendingEndorsement, P as PendingEndorsementsPage, i as ReceivedEndorsement, R as ReceivedEndorsementsPage, a as ReciprocityCandidate, j as ReciprocitySkill, S as SpeakerCard, k as SpeakerDirectoryFilters, l as SpeakerGroup, m as SpeakersResponse, T as TalkEvent, n as TalkRow, o as TalkSpeaker, p as TalksResponse, q as checkNetworkMapJobStatus, r as createEducation, s as createPosition, t as createRecord, u as deleteEducation, v as deletePosition, w as deleteRecord, x as dismissEndorsement, y as fetchAtFundLink, z as fetchEndorsementCount, A as fetchEntitySearch, B as fetchGetProfileView, C as fetchNetworkMap, E as fetchNetworkStreamCount, G as fetchPendingEndorsements, H as fetchProfile, I as fetchProfileSummary, J as fetchReceivedEndorsements, K as fetchReciprocityCandidate, L as fetchSpeakers, M as fetchTalks, O as hideKeytraceClaim, Q as importSearchEntities, U as initiateNetworkMapGeneration, V as isNetworkMapResponse, W as linkSkillToPosition, Z as revealMarqueDomain, _ as selectEntity, $ as setPositionPrimary, a0 as unhideKeytraceClaim, a1 as unlinkSkillFromPosition, a2 as unrevealMarqueDomain, a3 as unsetPositionPrimary, a4 as updateEducation, a5 as updatePosition, a6 as updateRecord } from '../../network-map-Db_EPUDX.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 FetchRpgClaimableOptions, O as FetchRpgStatusOptions, P as FetchSuggestionsOptions, Q as FetchUnlinkedPositionsOptions, R as FetchUserSettingsOptions, S as FollowListPage, T as FollowProfile, U as FollowProfilePageResponse, V as FollowUserResult, W as FollowingFeedApp, X as FollowingFeedBuild, Y as FollowingFeedEmptyReason, Z as FollowingFeedResponse, _ as FollowingFeedVersion, $ as FollowingResponse, a0 as GetAdminReviewQueuesOptions, a1 as GithubPullRequest, a2 as GivenConfirmation, a3 as HIDDEN_ITEM_SOURCES, a4 as HIDDEN_ITEM_TYPES, a5 as HeatmapDay, a6 as HeatmapResponse, a7 as HiddenActivityItem, a8 as HiddenApp, a9 as HiddenItemSource, aa as HiddenItemType, ab as HideActivityItemInput, ac as HideProfileItemInput, ad as InboxCounts, ae as ListFeatureAllowlistOptions, af as MyGithubPullRequestsResponse, ag as OrgClaimBinding, ah as OrgClaimResult, ai as OrgDomainChallengeResult, aj as OrgDomainVerifyResult, ak as OrgNotificationEmailAddResult, al as OrgNotificationEmailRemoveResult, am as OrgProfileEcho, an as OrgProfileUpdateResult, ao as PROFILE_COMPLETENESS_SIGNALS, ap as PdsWipeOutcome, aq as PendingConfirmation, ar as PendingConfirmationsPage, as as PrimarySection, at as ProfileCompleteness, au as ProfileCompletenessSignal, av as ProfileIndustryInput, aw as ProfileLocationAddress, ax as ProfileLocationInput, ay as ProfileSelfLocation, az as QUOTED_POSTS_BATCH_MAX, aA as QuotedPostAuthor, aB as QuotedPostImage, aC as QuotedPostResult, aD as QuotedPostView, aE as ReactionError, aF as ReactionResult, aG as ReactionStatus, aH as RefreshOrcidPublicationsResult, aI as RefreshPdsResult, aJ as RepoDeleteInput, aK as ResetProfileResult, aL as ResolveQuotedPostsOptions, aM as RoadmapVoteError, aN as RoadmapVoteResult, aO as RoadmapVoter, aP as RoadmapVotesResponse, aQ as RpgClaimableResponse, aR as RpgClaimableResponseSchema, aS as RpgItemStatus, aT as RpgItemStatusSchema, aU as RpgStatusResponse, aV as RpgStatusResponseSchema, aW as SifaQueryKey, aX as SimilarProfile, aY as SiteActivityPresetResponse, aZ as StatsResponse, a$ as SuggestionProfile, b0 as SuggestionsResponse, b1 as UnhideActivityItemInput, b2 as UnlinkedPosition, b3 as UnlinkedPositionsResult, b4 as UpdateActivityPreferencesInput, b5 as UpdateProfileOverrideInput, b6 as UpdateProfileSelfInput, b7 as UploadAvatarResult, b8 as UploadPronunciationAudioResult, b9 as UserSettings, ba as UserSettingsPatch, bb as UserSettingsSchema, bc as VerifyExternalAccountResult, bd as WipePreview, be as addFeatureAllowlist, bf as addOrgNotificationEmail, bg as bulkHideProfileItems, bh as bulkHideStandardPublications, bi as bulkUnhideProfileItems, bj as bulkUnhideStandardPublications, bk as castRoadmapVote, bl as checkAppAccount, bm as confirmEndorsement, bn as createConfirmation, bo as createEndorsement, bp as createExternalAccount, bq as createProfileLocation, br as createReaction, bs as createSkill, bt as deleteAccount, bu as deleteAvatarOverride, bv as deleteExternalAccount, bw as deleteNamePronunciationAudio, bx as deleteProfileLocation, by as deleteReaction, bz as deleteRepoRecords, bA as deleteSkill, bB as dismissConfirmation, bC as dismissUnlinkedPosition, bD as fetchAccounts, bE as fetchActivityFeed, bF as fetchActivityPreferences, bG as fetchActivityTeaser, bH as fetchAppsRegistry, bI as fetchExternalAccounts, bJ as fetchFeaturedProfile, bK as fetchFollowing, bL as fetchFollowingFeed, bM as fetchFollowingFeedVersion, bN as fetchGivenConfirmations, bO as fetchHeatmapData, bP as fetchHiddenActivityItems, bQ as fetchHiddenApps, bR as fetchInboxCounts, bS as fetchMyGithubPullRequests, bT as fetchMyRoadmapVotes, bU as fetchPendingConfirmations, bV as fetchProfileCompleteness, bW as fetchReactionStatus, bX as fetchRepoInventory, bY as fetchRoadmapVotes, bZ as fetchRpgClaimable, b_ as fetchRpgStatus, b$ as fetchSimilarProfiles, c0 as fetchSiteActivityPreset, c1 as fetchStats, c2 as fetchSuggestionCount, c3 as fetchSuggestions, c4 as fetchUnlinkedPositions, c5 as fetchUserSettings, c6 as fetchViewerPositionConfirmations, c7 as fetchWipePreview, c8 as followUser, c9 as getAdminReviewQueues, ca as getBlueskySuggestions, cb as getFollowers, cc as getFollowing, cd as getMutuals, ce as hideActivityItem, cf as hideOrcidPublication, cg as hideProfileItem, ch as hideSifaPublication, ci as hideStandardPublication, cj as isNewerFollowingFeed, ck as listFeatureAllowlist, cl as refreshOrcidPublications, cm as refreshPds, cn as removeFeatureAllowlist, co as removeOrgNotificationEmail, cp as repoExportUrl, cq as requestOrgDomainChallenge, cr as resetProfile, cs as resolveQuotedPosts, ct as retractRoadmapVote, cu as revokeConfirmation, cv as setExternalAccountPrimary, cw as setSectionPrimary, s as sifaQueryKeys, cx as submitOrgClaim, cy as switchAccount, cz as unfollowUser, cA as unhideActivityItem, cB as unhideOrcidPublication, cC as unhideProfileItem, cD as unhideSifaPublication, cE as unhideStandardPublication, cF as unsetExternalAccountPrimary, cG as unsetSectionPrimary, cH as updateActivityPreferences, cI as updateExternalAccount, cJ as updateOrgProfile, cK as updateProfileLocation, cL as updateProfileOverride, cM as updateProfileSelf, cN as updateSkill, cP as updateUserSettings, cQ as uploadAvatar, cR as uploadNamePronunciationAudio, cS as verifyExternalAccount, cT as verifyOrgDomain } from '../../user-settings-qkxxTwFP.cjs';
5
5
  import '../../index-k6tBrbEU.cjs';
6
6
  import '../../verification-providers-7il3kPQS.cjs';
7
7
  import 'zod';
@@ -1,7 +1,7 @@
1
1
  import { a0 as SifaApiConfig, a1 as ApiFetchOptions, a2 as CreateResult, a3 as WriteResult } from '../../types-CI24asgo.js';
2
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';
3
+ export { D as DismissEndorsementInput, F as FetchNetworkStreamCountOptions, b as FetchPendingEndorsementsOptions, N as NetworkMapEdge, c as NetworkMapGenerationJob, d as NetworkMapGraphData, e as NetworkMapNode, f as NetworkMapPendingJob, g as NetworkMapResponse, h as PendingEndorsement, P as PendingEndorsementsPage, i as ReceivedEndorsement, R as ReceivedEndorsementsPage, a as ReciprocityCandidate, j as ReciprocitySkill, S as SpeakerCard, k as SpeakerDirectoryFilters, l as SpeakerGroup, m as SpeakersResponse, T as TalkEvent, n as TalkRow, o as TalkSpeaker, p as TalksResponse, q as checkNetworkMapJobStatus, r as createEducation, s as createPosition, t as createRecord, u as deleteEducation, v as deletePosition, w as deleteRecord, x as dismissEndorsement, y as fetchAtFundLink, z as fetchEndorsementCount, A as fetchEntitySearch, B as fetchGetProfileView, C as fetchNetworkMap, E as fetchNetworkStreamCount, G as fetchPendingEndorsements, H as fetchProfile, I as fetchProfileSummary, J as fetchReceivedEndorsements, K as fetchReciprocityCandidate, L as fetchSpeakers, M as fetchTalks, O as hideKeytraceClaim, Q as importSearchEntities, U as initiateNetworkMapGeneration, V as isNetworkMapResponse, W as linkSkillToPosition, Z as revealMarqueDomain, _ as selectEntity, $ as setPositionPrimary, a0 as unhideKeytraceClaim, a1 as unlinkSkillFromPosition, a2 as unrevealMarqueDomain, a3 as unsetPositionPrimary, a4 as updateEducation, a5 as updatePosition, a6 as updateRecord } from '../../network-map-D8JcKu28.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 FetchRpgClaimableOptions, O as FetchRpgStatusOptions, P as FetchSuggestionsOptions, Q as FetchUnlinkedPositionsOptions, R as FetchUserSettingsOptions, S as FollowListPage, T as FollowProfile, U as FollowProfilePageResponse, V as FollowUserResult, W as FollowingFeedApp, X as FollowingFeedBuild, Y as FollowingFeedEmptyReason, Z as FollowingFeedResponse, _ as FollowingFeedVersion, $ as FollowingResponse, a0 as GetAdminReviewQueuesOptions, a1 as GithubPullRequest, a2 as GivenConfirmation, a3 as HIDDEN_ITEM_SOURCES, a4 as HIDDEN_ITEM_TYPES, a5 as HeatmapDay, a6 as HeatmapResponse, a7 as HiddenActivityItem, a8 as HiddenApp, a9 as HiddenItemSource, aa as HiddenItemType, ab as HideActivityItemInput, ac as HideProfileItemInput, ad as InboxCounts, ae as ListFeatureAllowlistOptions, af as MyGithubPullRequestsResponse, ag as OrgClaimBinding, ah as OrgClaimResult, ai as OrgDomainChallengeResult, aj as OrgDomainVerifyResult, ak as OrgNotificationEmailAddResult, al as OrgNotificationEmailRemoveResult, am as OrgProfileEcho, an as OrgProfileUpdateResult, ao as PROFILE_COMPLETENESS_SIGNALS, ap as PdsWipeOutcome, aq as PendingConfirmation, ar as PendingConfirmationsPage, as as PrimarySection, at as ProfileCompleteness, au as ProfileCompletenessSignal, av as ProfileIndustryInput, aw as ProfileLocationAddress, ax as ProfileLocationInput, ay as ProfileSelfLocation, az as QUOTED_POSTS_BATCH_MAX, aA as QuotedPostAuthor, aB as QuotedPostImage, aC as QuotedPostResult, aD as QuotedPostView, aE as ReactionError, aF as ReactionResult, aG as ReactionStatus, aH as RefreshOrcidPublicationsResult, aI as RefreshPdsResult, aJ as RepoDeleteInput, aK as ResetProfileResult, aL as ResolveQuotedPostsOptions, aM as RoadmapVoteError, aN as RoadmapVoteResult, aO as RoadmapVoter, aP as RoadmapVotesResponse, aQ as RpgClaimableResponse, aR as RpgClaimableResponseSchema, aS as RpgItemStatus, aT as RpgItemStatusSchema, aU as RpgStatusResponse, aV as RpgStatusResponseSchema, aW as SifaQueryKey, aX as SimilarProfile, aY as SiteActivityPresetResponse, aZ as StatsResponse, a$ as SuggestionProfile, b0 as SuggestionsResponse, b1 as UnhideActivityItemInput, b2 as UnlinkedPosition, b3 as UnlinkedPositionsResult, b4 as UpdateActivityPreferencesInput, b5 as UpdateProfileOverrideInput, b6 as UpdateProfileSelfInput, b7 as UploadAvatarResult, b8 as UploadPronunciationAudioResult, b9 as UserSettings, ba as UserSettingsPatch, bb as UserSettingsSchema, bc as VerifyExternalAccountResult, bd as WipePreview, be as addFeatureAllowlist, bf as addOrgNotificationEmail, bg as bulkHideProfileItems, bh as bulkHideStandardPublications, bi as bulkUnhideProfileItems, bj as bulkUnhideStandardPublications, bk as castRoadmapVote, bl as checkAppAccount, bm as confirmEndorsement, bn as createConfirmation, bo as createEndorsement, bp as createExternalAccount, bq as createProfileLocation, br as createReaction, bs as createSkill, bt as deleteAccount, bu as deleteAvatarOverride, bv as deleteExternalAccount, bw as deleteNamePronunciationAudio, bx as deleteProfileLocation, by as deleteReaction, bz as deleteRepoRecords, bA as deleteSkill, bB as dismissConfirmation, bC as dismissUnlinkedPosition, bD as fetchAccounts, bE as fetchActivityFeed, bF as fetchActivityPreferences, bG as fetchActivityTeaser, bH as fetchAppsRegistry, bI as fetchExternalAccounts, bJ as fetchFeaturedProfile, bK as fetchFollowing, bL as fetchFollowingFeed, bM as fetchFollowingFeedVersion, bN as fetchGivenConfirmations, bO as fetchHeatmapData, bP as fetchHiddenActivityItems, bQ as fetchHiddenApps, bR as fetchInboxCounts, bS as fetchMyGithubPullRequests, bT as fetchMyRoadmapVotes, bU as fetchPendingConfirmations, bV as fetchProfileCompleteness, bW as fetchReactionStatus, bX as fetchRepoInventory, bY as fetchRoadmapVotes, bZ as fetchRpgClaimable, b_ as fetchRpgStatus, b$ as fetchSimilarProfiles, c0 as fetchSiteActivityPreset, c1 as fetchStats, c2 as fetchSuggestionCount, c3 as fetchSuggestions, c4 as fetchUnlinkedPositions, c5 as fetchUserSettings, c6 as fetchViewerPositionConfirmations, c7 as fetchWipePreview, c8 as followUser, c9 as getAdminReviewQueues, ca as getBlueskySuggestions, cb as getFollowers, cc as getFollowing, cd as getMutuals, ce as hideActivityItem, cf as hideOrcidPublication, cg as hideProfileItem, ch as hideSifaPublication, ci as hideStandardPublication, cj as isNewerFollowingFeed, ck as listFeatureAllowlist, cl as refreshOrcidPublications, cm as refreshPds, cn as removeFeatureAllowlist, co as removeOrgNotificationEmail, cp as repoExportUrl, cq as requestOrgDomainChallenge, cr as resetProfile, cs as resolveQuotedPosts, ct as retractRoadmapVote, cu as revokeConfirmation, cv as setExternalAccountPrimary, cw as setSectionPrimary, s as sifaQueryKeys, cx as submitOrgClaim, cy as switchAccount, cz as unfollowUser, cA as unhideActivityItem, cB as unhideOrcidPublication, cC as unhideProfileItem, cD as unhideSifaPublication, cE as unhideStandardPublication, cF as unsetExternalAccountPrimary, cG as unsetSectionPrimary, cH as updateActivityPreferences, cI as updateExternalAccount, cJ as updateOrgProfile, cK as updateProfileLocation, cL as updateProfileOverride, cM as updateProfileSelf, cN as updateSkill, cP as updateUserSettings, cQ as uploadAvatar, cR as uploadNamePronunciationAudio, cS as verifyExternalAccount, cT as verifyOrgDomain } from '../../user-settings-nov4rgwR.js';
5
5
  import '../../index-DAiJZvPg.js';
6
6
  import '../../verification-providers-7il3kPQS.js';
7
7
  import 'zod';
@@ -164,8 +164,10 @@ import {
164
164
  } from "./github-prs.js";
165
165
  import {
166
166
  fetchRpgStatus,
167
+ fetchRpgClaimable,
167
168
  RpgItemStatusSchema,
168
- RpgStatusResponseSchema
169
+ RpgStatusResponseSchema,
170
+ RpgClaimableResponseSchema
169
171
  } from "./rpg.js";
170
172
  import { fetchEndorsementCount } from "./endorsement.js";
171
173
  import { fetchNetworkStreamCount } from "./stream.js";
@@ -224,6 +226,7 @@ export {
224
226
  HIDDEN_ITEM_TYPES,
225
227
  PROFILE_COMPLETENESS_SIGNALS,
226
228
  QUOTED_POSTS_BATCH_MAX,
229
+ RpgClaimableResponseSchema,
227
230
  RpgItemStatusSchema,
228
231
  RpgStatusResponseSchema,
229
232
  UserSettingsSchema,
@@ -299,6 +302,7 @@ export {
299
302
  fetchReciprocityCandidate,
300
303
  fetchRepoInventory,
301
304
  fetchRoadmapVotes,
305
+ fetchRpgClaimable,
302
306
  fetchRpgStatus,
303
307
  fetchSearchCompanies,
304
308
  fetchSearchFilters,
@@ -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 {\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":";AAaA;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAKK;AAE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ACP;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;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,OAIK;AAEP,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 fetchRpgClaimable,\n RpgItemStatusSchema,\n RpgStatusResponseSchema,\n RpgClaimableResponseSchema,\n type RpgItemStatus,\n type RpgStatusResponse,\n type FetchRpgStatusOptions,\n type RpgClaimableResponse,\n type FetchRpgClaimableOptions,\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":";AAaA;AAAA,EACE;AAAA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B;","names":[]}
@@ -35,9 +35,31 @@ async function fetchRpgStatus(config, options = {}) {
35
35
  });
36
36
  return RpgStatusResponseSchema.parse(data);
37
37
  }
38
+ var RpgClaimableResponseSchema = z.object({
39
+ count: z.number().int().nonnegative()
40
+ });
41
+ async function fetchRpgClaimable(config, options = {}) {
42
+ const { cookieHeader, ...fetchOptions } = options;
43
+ const headers = { ...options.headers ?? {} };
44
+ if (cookieHeader) headers.cookie = cookieHeader;
45
+ try {
46
+ const data = await apiFetch(config, "/api/rpg/claimable", {
47
+ credentials: "include",
48
+ cache: "no-store",
49
+ timeoutMs: 5e3,
50
+ ...fetchOptions,
51
+ headers
52
+ });
53
+ return RpgClaimableResponseSchema.parse(data);
54
+ } catch {
55
+ return { count: 0 };
56
+ }
57
+ }
38
58
  export {
59
+ RpgClaimableResponseSchema,
39
60
  RpgItemStatusSchema,
40
61
  RpgStatusResponseSchema,
62
+ fetchRpgClaimable,
41
63
  fetchRpgStatus
42
64
  };
43
65
  //# sourceMappingURL=rpg.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/query/fetchers/rpg.ts"],"sourcesContent":["import { z } from 'zod';\n\nimport { apiFetch, type ApiFetchOptions, type SifaApiConfig } from '../client.js';\n\n/** One rpg.actor item and the viewer's progress on it, as served by `GET /api/rpg/status`. */\nexport const RpgItemStatusSchema = z.object({\n id: z.string(),\n title: z.string(),\n description: z.string(),\n category: z.string(),\n earned: z.boolean(),\n state: z.enum(['locked', 'earned', 'given', 'claimed']),\n /**\n * True when the viewer's rpg.actor character wears this (claimed) item.\n * Defaults to false for an older API that does not send it.\n */\n worn: z.boolean().default(false),\n iconUrl: z.string().url().nullable(),\n});\nexport type RpgItemStatus = z.infer<typeof RpgItemStatusSchema>;\n\nexport const RpgStatusResponseSchema = z.object({\n hasCharacter: z.boolean(),\n /** True when the user granted the `repo:equipment.rpg.item` OAuth scope. */\n canWriteItems: z.boolean(),\n /** True when collecting (Sifa writing the gift) is switched on for this user. */\n canCollect: z.boolean().default(false),\n items: z.array(RpgItemStatusSchema),\n});\nexport type RpgStatusResponse = z.infer<typeof RpgStatusResponseSchema>;\n\nexport interface FetchRpgStatusOptions extends ApiFetchOptions {\n /** Forwarded as the `cookie` header for server-side (SSR) calls. */\n cookieHeader?: string;\n}\n\n/**\n * Fetch the authenticated viewer's rpg.actor item status. Auth-scoped: relies\n * on the session cookie (`credentials: 'include'`).\n */\nexport async function fetchRpgStatus(\n config: SifaApiConfig,\n options: FetchRpgStatusOptions = {},\n): Promise<RpgStatusResponse> {\n const { cookieHeader, ...fetchOptions } = options;\n\n const headers: Record<string, string> = { ...(options.headers ?? {}) };\n if (cookieHeader) headers.cookie = cookieHeader;\n\n const data = await apiFetch<unknown>(config, '/api/rpg/status', {\n credentials: 'include',\n cache: 'no-store',\n ...fetchOptions,\n headers,\n });\n\n return RpgStatusResponseSchema.parse(data);\n}\n"],"mappings":";AAAA,SAAS,SAAS;AAElB,SAAS,gBAA0D;AAG5D,IAAM,sBAAsB,EAAE,OAAO;AAAA,EAC1C,IAAI,EAAE,OAAO;AAAA,EACb,OAAO,EAAE,OAAO;AAAA,EAChB,aAAa,EAAE,OAAO;AAAA,EACtB,UAAU,EAAE,OAAO;AAAA,EACnB,QAAQ,EAAE,QAAQ;AAAA,EAClB,OAAO,EAAE,KAAK,CAAC,UAAU,UAAU,SAAS,SAAS,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA,EAKtD,MAAM,EAAE,QAAQ,EAAE,QAAQ,KAAK;AAAA,EAC/B,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS;AACrC,CAAC;AAGM,IAAM,0BAA0B,EAAE,OAAO;AAAA,EAC9C,cAAc,EAAE,QAAQ;AAAA;AAAA,EAExB,eAAe,EAAE,QAAQ;AAAA;AAAA,EAEzB,YAAY,EAAE,QAAQ,EAAE,QAAQ,KAAK;AAAA,EACrC,OAAO,EAAE,MAAM,mBAAmB;AACpC,CAAC;AAYD,eAAsB,eACpB,QACA,UAAiC,CAAC,GACN;AAC5B,QAAM,EAAE,cAAc,GAAG,aAAa,IAAI;AAE1C,QAAM,UAAkC,EAAE,GAAI,QAAQ,WAAW,CAAC,EAAG;AACrE,MAAI,aAAc,SAAQ,SAAS;AAEnC,QAAM,OAAO,MAAM,SAAkB,QAAQ,mBAAmB;AAAA,IAC9D,aAAa;AAAA,IACb,OAAO;AAAA,IACP,GAAG;AAAA,IACH;AAAA,EACF,CAAC;AAED,SAAO,wBAAwB,MAAM,IAAI;AAC3C;","names":[]}
1
+ {"version":3,"sources":["../../../src/query/fetchers/rpg.ts"],"sourcesContent":["import { z } from 'zod';\n\nimport { apiFetch, type ApiFetchOptions, type SifaApiConfig } from '../client.js';\n\n/** One rpg.actor item and the viewer's progress on it, as served by `GET /api/rpg/status`. */\nexport const RpgItemStatusSchema = z.object({\n id: z.string(),\n title: z.string(),\n description: z.string(),\n category: z.string(),\n earned: z.boolean(),\n state: z.enum(['locked', 'earned', 'given', 'claimed']),\n /**\n * True when the viewer's rpg.actor character wears this (claimed) item.\n * Defaults to false for an older API that does not send it.\n */\n worn: z.boolean().default(false),\n iconUrl: z.string().url().nullable(),\n});\nexport type RpgItemStatus = z.infer<typeof RpgItemStatusSchema>;\n\nexport const RpgStatusResponseSchema = z.object({\n hasCharacter: z.boolean(),\n /** True when the user granted the `repo:equipment.rpg.item` OAuth scope. */\n canWriteItems: z.boolean(),\n /** True when collecting (Sifa writing the gift) is switched on for this user. */\n canCollect: z.boolean().default(false),\n items: z.array(RpgItemStatusSchema),\n});\nexport type RpgStatusResponse = z.infer<typeof RpgStatusResponseSchema>;\n\nexport interface FetchRpgStatusOptions extends ApiFetchOptions {\n /** Forwarded as the `cookie` header for server-side (SSR) calls. */\n cookieHeader?: string;\n}\n\n/**\n * Fetch the authenticated viewer's rpg.actor item status. Auth-scoped: relies\n * on the session cookie (`credentials: 'include'`).\n */\nexport async function fetchRpgStatus(\n config: SifaApiConfig,\n options: FetchRpgStatusOptions = {},\n): Promise<RpgStatusResponse> {\n const { cookieHeader, ...fetchOptions } = options;\n\n const headers: Record<string, string> = { ...(options.headers ?? {}) };\n if (cookieHeader) headers.cookie = cookieHeader;\n\n const data = await apiFetch<unknown>(config, '/api/rpg/status', {\n credentials: 'include',\n cache: 'no-store',\n ...fetchOptions,\n headers,\n });\n\n return RpgStatusResponseSchema.parse(data);\n}\n\n/**\n * How many rpg.actor items the signed-in user can claim right now, for the\n * Inbox and the bell (`GET /api/rpg/claimable`). The AppView returns 0 unless\n * the user has a character, collecting is open to them, and at least one item\n * is earned or given but not yet claimed.\n */\nexport const RpgClaimableResponseSchema = z.object({\n count: z.number().int().nonnegative(),\n});\nexport type RpgClaimableResponse = z.infer<typeof RpgClaimableResponseSchema>;\n\nexport interface FetchRpgClaimableOptions extends ApiFetchOptions {\n /** Forwarded as the `cookie` header for server-side (SSR) calls. */\n cookieHeader?: string;\n}\n\n/**\n * Fetch the viewer's claimable rpg.actor item count. Auth-scoped: relies on the\n * session cookie. Degrades to `{ count: 0 }` on any failure, so a broken call\n * means \"nothing to claim\" rather than a phantom Inbox item.\n */\nexport async function fetchRpgClaimable(\n config: SifaApiConfig,\n options: FetchRpgClaimableOptions = {},\n): Promise<RpgClaimableResponse> {\n const { cookieHeader, ...fetchOptions } = options;\n\n const headers: Record<string, string> = { ...(options.headers ?? {}) };\n if (cookieHeader) headers.cookie = cookieHeader;\n\n try {\n const data = await apiFetch<unknown>(config, '/api/rpg/claimable', {\n credentials: 'include',\n cache: 'no-store',\n timeoutMs: 5000,\n ...fetchOptions,\n headers,\n });\n return RpgClaimableResponseSchema.parse(data);\n } catch {\n return { count: 0 };\n }\n}\n"],"mappings":";AAAA,SAAS,SAAS;AAElB,SAAS,gBAA0D;AAG5D,IAAM,sBAAsB,EAAE,OAAO;AAAA,EAC1C,IAAI,EAAE,OAAO;AAAA,EACb,OAAO,EAAE,OAAO;AAAA,EAChB,aAAa,EAAE,OAAO;AAAA,EACtB,UAAU,EAAE,OAAO;AAAA,EACnB,QA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M,IAAI;AAAA,EAC9C,QAAQ;AACN,WAAO,EAAE,OAAO,EAAE;AAAA,EACpB;AACF;","names":[]}
@@ -199,6 +199,12 @@ var sifaQueryKeys = {
199
199
  all: () => ["sifa", "inbox"],
200
200
  counts: () => ["sifa", "inbox", "counts"]
201
201
  },
202
+ // Session-scoped: how many rpg.actor items the signed-in user can claim, for
203
+ // the Inbox item and the bell dropdown.
204
+ rpg: {
205
+ all: () => ["sifa", "rpg"],
206
+ claimable: () => ["sifa", "rpg", "claimable"]
207
+ },
202
208
  search: {
203
209
  all: () => ["sifa", "search"],
204
210
  profiles: (filters) => ["sifa", "search", "profiles", filters],
@@ -1805,6 +1811,58 @@ function useProfileCompleteness(options) {
1805
1811
  ...options
1806
1812
  });
1807
1813
  }
1814
+ var RpgItemStatusSchema = zod.z.object({
1815
+ id: zod.z.string(),
1816
+ title: zod.z.string(),
1817
+ description: zod.z.string(),
1818
+ category: zod.z.string(),
1819
+ earned: zod.z.boolean(),
1820
+ state: zod.z.enum(["locked", "earned", "given", "claimed"]),
1821
+ /**
1822
+ * True when the viewer's rpg.actor character wears this (claimed) item.
1823
+ * Defaults to false for an older API that does not send it.
1824
+ */
1825
+ worn: zod.z.boolean().default(false),
1826
+ iconUrl: zod.z.string().url().nullable()
1827
+ });
1828
+ zod.z.object({
1829
+ hasCharacter: zod.z.boolean(),
1830
+ /** True when the user granted the `repo:equipment.rpg.item` OAuth scope. */
1831
+ canWriteItems: zod.z.boolean(),
1832
+ /** True when collecting (Sifa writing the gift) is switched on for this user. */
1833
+ canCollect: zod.z.boolean().default(false),
1834
+ items: zod.z.array(RpgItemStatusSchema)
1835
+ });
1836
+ var RpgClaimableResponseSchema = zod.z.object({
1837
+ count: zod.z.number().int().nonnegative()
1838
+ });
1839
+ async function fetchRpgClaimable(config, options = {}) {
1840
+ const { cookieHeader, ...fetchOptions } = options;
1841
+ const headers = { ...options.headers ?? {} };
1842
+ if (cookieHeader) headers.cookie = cookieHeader;
1843
+ try {
1844
+ const data = await apiFetch(config, "/api/rpg/claimable", {
1845
+ credentials: "include",
1846
+ cache: "no-store",
1847
+ timeoutMs: 5e3,
1848
+ ...fetchOptions,
1849
+ headers
1850
+ });
1851
+ return RpgClaimableResponseSchema.parse(data);
1852
+ } catch {
1853
+ return { count: 0 };
1854
+ }
1855
+ }
1856
+
1857
+ // src/query/hooks/use-rpg-claimable.ts
1858
+ function useRpgClaimable(options) {
1859
+ const config = useSifaConfig();
1860
+ return reactQuery.useQuery({
1861
+ queryKey: sifaQueryKeys.rpg.claimable(),
1862
+ queryFn: () => fetchRpgClaimable(config),
1863
+ ...options
1864
+ });
1865
+ }
1808
1866
 
1809
1867
  // src/query/fetchers/keytrace-claims.ts
1810
1868
  function hideKeytraceClaim(config, rkey, options = {}) {
@@ -4088,6 +4146,7 @@ exports.useRevealMarqueDomain = useRevealMarqueDomain;
4088
4146
  exports.useRevokeConfirmation = useRevokeConfirmation;
4089
4147
  exports.useRevokeOrgAttestation = useRevokeOrgAttestation;
4090
4148
  exports.useRoadmapVotes = useRoadmapVotes;
4149
+ exports.useRpgClaimable = useRpgClaimable;
4091
4150
  exports.useSearchCompanies = useSearchCompanies;
4092
4151
  exports.useSearchFilters = useSearchFilters;
4093
4152
  exports.useSearchProfiles = useSearchProfiles;