@singi-labs/sifa-sdk 0.20.2 → 0.21.0

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 (39) hide show
  1. package/dist/index.cjs +1 -92
  2. package/dist/index.cjs.map +1 -1
  3. package/dist/index.d.cts +3 -16
  4. package/dist/index.d.ts +3 -16
  5. package/dist/index.js +2 -7
  6. package/dist/index.js.map +1 -1
  7. package/dist/query/fetchers/index.cjs +33 -75
  8. package/dist/query/fetchers/index.cjs.map +1 -1
  9. package/dist/query/fetchers/index.d.cts +1 -1
  10. package/dist/query/fetchers/index.d.ts +1 -1
  11. package/dist/query/fetchers/index.js +1 -9
  12. package/dist/query/fetchers/index.js.map +1 -1
  13. package/dist/query/fetchers/roadmap.js +34 -71
  14. package/dist/query/fetchers/roadmap.js.map +1 -1
  15. package/dist/query/hooks/index.cjs +24 -135
  16. package/dist/query/hooks/index.cjs.map +1 -1
  17. package/dist/query/hooks/index.d.cts +2 -2
  18. package/dist/query/hooks/index.d.ts +2 -2
  19. package/dist/query/hooks/index.js +1 -11
  20. package/dist/query/hooks/index.js.map +1 -1
  21. package/dist/query/hooks/use-roadmap-mutations.js +5 -63
  22. package/dist/query/hooks/use-roadmap-mutations.js.map +1 -1
  23. package/dist/query/index.cjs +35 -150
  24. package/dist/query/index.cjs.map +1 -1
  25. package/dist/query/index.d.cts +3 -3
  26. package/dist/query/index.d.ts +3 -3
  27. package/dist/query/index.js +2 -17
  28. package/dist/query/index.js.map +1 -1
  29. package/dist/query/keys.js +0 -5
  30. package/dist/query/keys.js.map +1 -1
  31. package/dist/roadmap/index.js +0 -91
  32. package/dist/roadmap/index.js.map +1 -1
  33. package/dist/{use-user-settings-Cq_AHkkM.d.cts → use-user-settings-Bn6g8bgr.d.cts} +7 -22
  34. package/dist/{use-user-settings-DoNP3tNl.d.ts → use-user-settings-DQ6Dyby7.d.ts} +7 -22
  35. package/dist/{user-settings-CBtacio1.d.ts → user-settings-BdNrDa9O.d.ts} +16 -50
  36. package/dist/{user-settings-DDP76dZH.d.cts → user-settings-C8JUD4DM.d.cts} +16 -50
  37. package/package.json +1 -1
  38. package/dist/query/hooks/use-roadmap.js +0 -31
  39. package/dist/query/hooks/use-roadmap.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/roadmap/index.ts"],"sourcesContent":["/**\n * Canonical metadata for the votable Sifa roadmap items: a one-line description\n * and the sifa-workspace issue(s) tracking each item. Single source of truth\n * shared by the sifa-web /roadmap page (labels come from i18n; description and\n * issue links come from here) and the sifa-api operator script that writes the\n * matching userinput.app discussion bodies, so the two surfaces cannot drift.\n *\n * Keys match VOTABLE_KEYS in sifa-api and the roadmap item keys in sifa-web.\n * Descriptions are product voice.\n */\n\n/** Repository whose issues track roadmap items. */\nexport const ROADMAP_ISSUES_REPO = 'singi-labs/sifa-workspace';\n\nexport interface RoadmapItemMeta {\n /** One-line description of the item, in product voice. */\n description: string;\n /** sifa-workspace issue numbers tracking this item (may be empty). */\n issues: number[];\n}\n\nexport const ROADMAP_ITEM_META: Record<string, RoadmapItemMeta> = {\n endorsementsAttestations: {\n description:\n 'Let colleagues vouch for your skills and experience, recorded as attestations you carry with you.',\n issues: [3, 166],\n },\n notifications: {\n description:\n 'Get told when someone endorses you, links an organization, or acts on your profile.',\n issues: [158],\n },\n verifiedConnections: {\n description: 'Confirm real working relationships, not just follows.',\n issues: [],\n },\n profileAnalytics: {\n description: 'See who views your profile and how people find you.',\n issues: [],\n },\n jobProfiles: {\n description: 'Structured work history that stays with your identity across the network.',\n issues: [102],\n },\n eventRsvp: {\n description: \"Show the talks and events you're attending or speaking at.\",\n issues: [214],\n },\n companyPages: {\n description: 'Claimable organization pages that link the people who work there.',\n issues: [73],\n },\n advancedSearch: {\n description: 'Search across categories, with filters and forgiving name matching.',\n issues: [5],\n },\n multiAccountLinking: {\n description: 'Tie several atproto accounts to one professional identity.',\n issues: [8],\n },\n mobileApps: {\n description: 'Native iOS and Android apps.',\n issues: [114],\n },\n atmosphereStream: {\n description: 'One feed that gathers your activity from across the atproto network.',\n issues: [7, 12],\n },\n localizationMultiLanguage: {\n description: 'The interface in your own language.',\n issues: [218],\n },\n rssFediverseIngestion: {\n description: 'Fediverse posts are in your stream. RSS feeds are next.',\n issues: [111, 153],\n },\n githubFeedIngestion: {\n description:\n 'GitHub activity is in your track record. GitLab and org-owned repositories are next.',\n issues: [391, 392],\n },\n compensationInformation: {\n description: 'Add optional pay and compensation context to your roles.',\n issues: [81],\n },\n embedCustomization: {\n description: 'Choose which fields show in your embeddable profile card.',\n issues: [117],\n },\n academicLexicon: {\n description: 'Schema and features built for researchers and academics.',\n issues: [119, 148],\n },\n journalismLexicon: {\n description: 'Schema and features built for journalists.',\n issues: [121],\n },\n skillEvidenceGithub: {\n description: 'Back up skill claims with the languages in your GitHub repositories.',\n issues: [107],\n },\n latexCvExport: {\n description: 'Export your profile as a LaTeX CV.',\n issues: [113],\n },\n jsonResumeImportExport: {\n description: 'Move your profile in and out using the JSON Resume standard.',\n issues: [151],\n },\n linkedClaimsResearch: {\n description: 'Exploring the LinkedClaims spec for portable, verifiable endorsements.',\n issues: [155],\n },\n};\n\n/** The GitHub issue URL for a sifa-workspace issue number. */\nexport function roadmapIssueUrl(issue: number): string {\n return `https://github.com/${ROADMAP_ISSUES_REPO}/issues/${issue}`;\n}\n"],"mappings":";AAYO,IAAM,sBAAsB;AAS5B,IAAM,oBAAqD;AAAA,EAChE,0BAA0B;AAAA,IACxB,aACE;AAAA,IACF,QAAQ,CAAC,GAAG,GAAG;AAAA,EACjB;AAAA,EACA,eAAe;AAAA,IACb,aACE;AAAA,IACF,QAAQ,CAAC,GAAG;AAAA,EACd;AAAA,EACA,qBAAqB;AAAA,IACnB,aAAa;AAAA,IACb,QAAQ,CAAC;AAAA,EACX;AAAA,EACA,kBAAkB;AAAA,IAChB,aAAa;AAAA,IACb,QAAQ,CAAC;AAAA,EACX;AAAA,EACA,aAAa;AAAA,IACX,aAAa;AAAA,IACb,QAAQ,CAAC,GAAG;AAAA,EACd;AAAA,EACA,WAAW;AAAA,IACT,aAAa;AAAA,IACb,QAAQ,CAAC,GAAG;AAAA,EACd;AAAA,EACA,cAAc;AAAA,IACZ,aAAa;AAAA,IACb,QAAQ,CAAC,EAAE;AAAA,EACb;AAAA,EACA,gBAAgB;AAAA,IACd,aAAa;AAAA,IACb,QAAQ,CAAC,CAAC;AAAA,EACZ;AAAA,EACA,qBAAqB;AAAA,IACnB,aAAa;AAAA,IACb,QAAQ,CAAC,CAAC;AAAA,EACZ;AAAA,EACA,YAAY;AAAA,IACV,aAAa;AAAA,IACb,QAAQ,CAAC,GAAG;AAAA,EACd;AAAA,EACA,kBAAkB;AAAA,IAChB,aAAa;AAAA,IACb,QAAQ,CAAC,GAAG,EAAE;AAAA,EAChB;AAAA,EACA,2BAA2B;AAAA,IACzB,aAAa;AAAA,IACb,QAAQ,CAAC,GAAG;AAAA,EACd;AAAA,EACA,uBAAuB;AAAA,IACrB,aAAa;AAAA,IACb,QAAQ,CAAC,KAAK,GAAG;AAAA,EACnB;AAAA,EACA,qBAAqB;AAAA,IACnB,aACE;AAAA,IACF,QAAQ,CAAC,KAAK,GAAG;AAAA,EACnB;AAAA,EACA,yBAAyB;AAAA,IACvB,aAAa;AAAA,IACb,QAAQ,CAAC,EAAE;AAAA,EACb;AAAA,EACA,oBAAoB;AAAA,IAClB,aAAa;AAAA,IACb,QAAQ,CAAC,GAAG;AAAA,EACd;AAAA,EACA,iBAAiB;AAAA,IACf,aAAa;AAAA,IACb,QAAQ,CAAC,KAAK,GAAG;AAAA,EACnB;AAAA,EACA,mBAAmB;AAAA,IACjB,aAAa;AAAA,IACb,QAAQ,CAAC,GAAG;AAAA,EACd;AAAA,EACA,qBAAqB;AAAA,IACnB,aAAa;AAAA,IACb,QAAQ,CAAC,GAAG;AAAA,EACd;AAAA,EACA,eAAe;AAAA,IACb,aAAa;AAAA,IACb,QAAQ,CAAC,GAAG;AAAA,EACd;AAAA,EACA,wBAAwB;AAAA,IACtB,aAAa;AAAA,IACb,QAAQ,CAAC,GAAG;AAAA,EACd;AAAA,EACA,sBAAsB;AAAA,IACpB,aAAa;AAAA,IACb,QAAQ,CAAC,GAAG;AAAA,EACd;AACF;AAGO,SAAS,gBAAgB,OAAuB;AACrD,SAAO,sBAAsB,mBAAmB,WAAW,KAAK;AAClE;","names":[]}
1
+ {"version":3,"sources":["../../src/roadmap/index.ts"],"sourcesContent":["/**\n * Where Sifa roadmap items are tracked. The items themselves live on Sifa's\n * userinput.app board; see `fetchRoadmap` and `splitRoadmapBody`.\n */\n\n/** Repository whose issues track roadmap items. */\nexport const ROADMAP_ISSUES_REPO = 'singi-labs/sifa-workspace';\n\n/** The GitHub issue URL for a sifa-workspace issue number. */\nexport function roadmapIssueUrl(issue: number): string {\n return `https://github.com/${ROADMAP_ISSUES_REPO}/issues/${issue}`;\n}\n"],"mappings":";AAMO,IAAM,sBAAsB;AAG5B,SAAS,gBAAgB,OAAuB;AACrD,SAAO,sBAAsB,mBAAmB,WAAW,KAAK;AAClE;","names":[]}
@@ -4,7 +4,7 @@ import { a1 as SifaApiConfig, a0 as ApiFetchOptions, a2 as WriteResult, o as Pro
4
4
  import * as _tanstack_react_query from '@tanstack/react-query';
5
5
  import { UseQueryOptions, UseMutationOptions, UseInfiniteQueryOptions, InfiniteData } from '@tanstack/react-query';
6
6
  import { c as Profile, d as ProfilePosition, Y as SkillRef, p as ExternalAccount, Z as SkillSuggestion, s as OrgFloorVerdict } from './index-BQAKeEoj.cjs';
7
- import { s as sifaQueryKeys, aK as RefreshPdsResult, bb as UpdateProfileOverrideInput, bc as UpdateProfileSelfInput, bd as UploadAvatarResult, be as UploadPronunciationAudioResult, au as PrimarySection, b4 as SubCategoryBulkResult, az as ProfileLocationInput, q as ExternalAccountInput, n as CreateExternalAccountResult, bi as VerifyExternalAccountResult, E as EndorsementInput, l as ConfirmationInput, m as ConfirmationSubjectInput, a4 as GivenConfirmation, at as PendingConfirmationsPage, af as InboxCounts, p as DismissUnlinkedPositionInput, b9 as UnlinkedPositionsResult, o as DismissCompletenessSignalInput, av as ProfileCompleteness, aW as RpgClaimableResponse, a_ as RpgStatusResponse, aJ as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, ae as HideProfileItemInput, a9 as HiddenActivityItem, ad as HideActivityItemInput, b7 as UnhideActivityItemInput, f as ActivityPreferences, b2 as SiteActivityPresetResponse, ba as UpdateActivityPreferencesInput, b3 as StatsResponse, i as AppRegistryEntry, aa as HiddenApp, b as AccountSummary, r as FeaturedProfile, b1 as SimilarProfile, R as FetchSuggestionsOptions, b6 as SuggestionsResponse, X as FollowUserResult, y as FetchFollowListOptions, U as FollowListPage, a1 as FollowingResponse, G as FetchFollowingFeedOptions, $ as FollowingFeedResponse, a0 as FollowingFeedVersion, z as FetchFollowProfilePageOptions, W as FollowProfilePageResponse, F as FeatureAllowlistResponse, h as AdminReviewQueues, u as FetchActivityFeedOptions, c as ActivityFeedResponse, g as ActivityTeaserResponse, a8 as HeatmapResponse, ah as MyGithubPullRequestsResponse, A as AccountCheckResult, aI as ReactionStatus, aH as ReactionResult, aG as ReactionError, aV as RoadmapVotesResponse, j as CastRoadmapVoteResult, aR as RoadmapItemRef, D as DeleteAccountResult, aM as ResetProfileResult, bj as WipePreview, aL as RepoDeleteInput, aj as OrgClaimResult, ap as OrgProfileUpdateResult, ak as OrgDomainChallengeResult, al as OrgDomainVerifyResult, am as OrgNotificationEmailAddResult, an as OrgNotificationEmailRemoveResult, bf as UserSettings } from './user-settings-DDP76dZH.cjs';
7
+ import { s as sifaQueryKeys, aJ as RefreshPdsResult, b9 as UpdateProfileOverrideInput, ba as UpdateProfileSelfInput, bb as UploadAvatarResult, bc as UploadPronunciationAudioResult, at as PrimarySection, b2 as SubCategoryBulkResult, ay as ProfileLocationInput, q as ExternalAccountInput, n as CreateExternalAccountResult, bg as VerifyExternalAccountResult, E as EndorsementInput, l as ConfirmationInput, m as ConfirmationSubjectInput, a3 as GivenConfirmation, as as PendingConfirmationsPage, ae as InboxCounts, p as DismissUnlinkedPositionInput, b7 as UnlinkedPositionsResult, o as DismissCompletenessSignalInput, au as ProfileCompleteness, aU as RpgClaimableResponse, aY as RpgStatusResponse, aI as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, ad as HideProfileItemInput, a8 as HiddenActivityItem, ac as HideActivityItemInput, b5 as UnhideActivityItemInput, f as ActivityPreferences, b0 as SiteActivityPresetResponse, b8 as UpdateActivityPreferencesInput, b1 as StatsResponse, i as AppRegistryEntry, a9 as HiddenApp, b as AccountSummary, r as FeaturedProfile, a$ as SimilarProfile, Q as FetchSuggestionsOptions, b4 as SuggestionsResponse, W as FollowUserResult, y as FetchFollowListOptions, T as FollowListPage, a0 as FollowingResponse, G as FetchFollowingFeedOptions, _ as FollowingFeedResponse, $ as FollowingFeedVersion, z as FetchFollowProfilePageOptions, V as FollowProfilePageResponse, F as FeatureAllowlistResponse, h as AdminReviewQueues, u as FetchActivityFeedOptions, c as ActivityFeedResponse, g as ActivityTeaserResponse, a7 as HeatmapResponse, ag as MyGithubPullRequestsResponse, A as AccountCheckResult, aH as ReactionStatus, aG as ReactionResult, aF as ReactionError, j as CastRoadmapVoteResult, aQ as RoadmapItemRef, D as DeleteAccountResult, aL as ResetProfileResult, bh as WipePreview, aK as RepoDeleteInput, ai as OrgClaimResult, ao as OrgProfileUpdateResult, aj as OrgDomainChallengeResult, ak as OrgDomainVerifyResult, al as OrgNotificationEmailAddResult, am as OrgNotificationEmailRemoveResult, bd as UserSettings } from './user-settings-C8JUD4DM.cjs';
8
8
  import { z } from 'zod';
9
9
  import { i as EntitySearchResponse, E as EntitySearchResult, c as EntityMintDomainResponse, g as EntityResolveDomainResponse, n as EntitySelectResponse, l as EntitySelectRequest, r as FeatureFlag } from './follow-profile-CgLLLQtJ.cjs';
10
10
  import { O as OrgClaimRequestInput, a as OrgProfileUpdateRequestInput, b as OrgDomainChallengeRequestInput, c as OrgDomainVerifyRequestInput, d as OrgNotificationEmailRequestInput } from './org-settings-C73Sin5E.cjs';
@@ -1045,29 +1045,14 @@ interface DeleteReactionVariables {
1045
1045
  /** React hook for deleting a reaction. */
1046
1046
  declare function useDeleteReaction(options?: Omit<UseMutationOptions<WriteResult, Error, DeleteReactionVariables>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, DeleteReactionVariables, unknown>;
1047
1047
 
1048
- /** Public roadmap vote tallies. Returns `{}` data on error. */
1049
- declare function useRoadmapVotes(options?: Omit<UseQueryOptions<RoadmapVotesResponse, Error, RoadmapVotesResponse, ReturnType<typeof sifaQueryKeys.roadmap.votes>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<RoadmapVotesResponse, Error>;
1050
- /** Roadmap items the authenticated viewer has voted on. Returns `[]` data on error. */
1051
- declare function useMyRoadmapVotes(options?: Omit<UseQueryOptions<string[], Error, string[], ReturnType<typeof sifaQueryKeys.roadmap.myVotes>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<string[], Error>;
1052
-
1053
- /**
1054
- * React hook for casting a roadmap vote. Variable: the item key.
1055
- *
1056
- * Returns the discriminated-union result so callers can detect
1057
- * `scope_insufficient` and trigger an OAuth scope-upgrade flow
1058
- * (see {@link castRoadmapVote}).
1059
- */
1060
- declare function useCastRoadmapVote(options?: Omit<UseMutationOptions<CastRoadmapVoteResult, Error, string>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<CastRoadmapVoteResult, Error, string, unknown>;
1061
- /** React hook for retracting a previously-cast roadmap vote. */
1062
- declare function useRetractRoadmapVote(options?: Omit<UseMutationOptions<WriteResult, Error, string>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, string, unknown>;
1063
1048
  /**
1064
1049
  * React hook for voting on a roadmap board item. Variable: the item's
1065
- * `{ did, rkey }`. Returns the same discriminated-union result as
1066
- * {@link useCastRoadmapVote}.
1050
+ * `{ did, rkey }`. Returns the discriminated-union result so callers can
1051
+ * detect `scope_insufficient` and trigger an OAuth scope-upgrade flow.
1067
1052
  *
1068
- * Board data from `fetchRoadmap` is usually server-rendered, so the
1069
- * invalidation here does not refresh it: keep optimistic local state or call
1070
- * `router.refresh()`. Voting twice is safe; the API answers 200.
1053
+ * Board data from `fetchRoadmap` is not held in the query cache, so nothing is
1054
+ * invalidated here: keep optimistic local state or call `router.refresh()`.
1055
+ * Voting twice is safe; the API answers 200.
1071
1056
  */
1072
1057
  declare function useCastRoadmapItemVote(options?: Omit<UseMutationOptions<CastRoadmapVoteResult, Error, RoadmapItemRef>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<CastRoadmapVoteResult, Error, RoadmapItemRef, unknown>;
1073
1058
  /** React hook for retracting a vote on a roadmap board item. */
@@ -1267,4 +1252,4 @@ declare function useUpdateUserSettings(): _tanstack_react_query.UseMutationResul
1267
1252
  showCitationCounts: boolean;
1268
1253
  }>, unknown>;
1269
1254
 
1270
- export { revokeOrgAttestation as $, type AddFeatureAllowlistVariables as A, type UseMyGithubPullRequestsParams as B, type CreateOrgAttestationInput as C, type DeleteReactionVariables as D, type VerificationEventKind as E, type FetchOrgAttestationOptions as F, type VerificationLog as G, type VerificationLogEntry as H, VerificationLogEntrySchema as I, VerificationLogSchema as J, addProfileEmail as K, createOrgAttestation as L, fetchAttestationRequests as M, fetchOrgAttestations as N, type OrgAttestation as O, type PositionSkillLinkVariables as P, fetchProfileEmails as Q, type RemoveFeatureAllowlistVariables as R, SifaProvider as S, fetchVerificationLog as T, type UnfollowVariables as U, VERIFICATION_EVENT_KINDS as V, offboardOrgAttestation as W, rejectAttestationRequest as X, removeProfileEmail as Y, requestEmploymentConfirmation as Z, resendProfileEmailVerification as _, type AttestationRequest as a, useHideKeytraceClaim as a$, useAccounts as a0, useActivityFeed as a1, useActivityPreferences as a2, useActivityTeaser as a3, useAddFeatureAllowlist as a4, useAddOrgNotificationEmail as a5, useAddProfileEmail as a6, useAdminReviewQueues as a7, useAppAccountCheck as a8, useAppsRegistry as a9, useDeleteNamePronunciationAudio as aA, useDeletePosition as aB, useDeleteProfileLocation as aC, useDeleteReaction as aD, useDeleteRecord as aE, useDeleteRepoRecords as aF, useDeleteSkill as aG, useDismissCompletenessSignal as aH, useDismissConfirmation as aI, useDismissUnlinkedPosition as aJ, useEndorsementCount as aK, useEntitySearch as aL, useExternalAccounts as aM, useFeatureAllowlist as aN, useFeaturedProfile as aO, useFollow as aP, useFollowers as aQ, useFollowing as aR, useFollowingFeed as aS, useFollowingFeedVersion as aT, useFollowingList as aU, useGetProfileView as aV, useGivenConfirmations as aW, useHeatmapData as aX, useHiddenActivityItems as aY, useHiddenApps as aZ, useHideActivityItem as a_, useAtFundLink as aa, useAttestationRequests as ab, useBlueskySuggestions as ac, useBulkHideProfileItems as ad, useBulkHideStandardPublications as ae, useBulkUnhideProfileItems as af, useBulkUnhideStandardPublications as ag, useCanonicalSkillSearch as ah, useCastRoadmapItemVote as ai, useCastRoadmapVote as aj, useClearCompletenessDismissals as ak, useCreateConfirmation as al, useCreateEducation as am, useCreateEndorsement as an, useCreateExternalAccount as ao, useCreateOrgAttestation as ap, useCreatePosition as aq, useCreateProfileLocation as ar, useCreateReaction as as, useCreateRecord as at, useCreateSkill as au, useDebouncedValue as av, useDeleteAccount as aw, useDeleteAvatarOverride as ax, useDeleteEducation as ay, useDeleteExternalAccount as az, AttestationRequestSchema as b, useUnlinkedPositions as b$, useHideOrcidPublication as b0, useHideProfileItem as b1, useHideSifaPublication as b2, useHideStandardPublication as b3, useImportSearchEntities as b4, useInboxCounts as b5, useLinkSkillToPosition as b6, useMintEntityDomain as b7, useMutuals as b8, useMyGithubPullRequests as b9, useRevealMarqueDomain as bA, useRevokeConfirmation as bB, useRevokeOrgAttestation as bC, useRoadmapVotes as bD, useRpgClaimable as bE, useRpgStatus as bF, useSearchFilters as bG, useSearchProfiles as bH, useSelectEntity as bI, useSetExternalAccountPrimary as bJ, useSetPositionPrimary as bK, useSetSectionPrimary as bL, useSifaConfig as bM, useSimilarProfiles as bN, useSiteActivityPreset as bO, useSkillSuggestions as bP, useStats as bQ, useSuggestionCount as bR, useSuggestions as bS, useUnfollow as bT, useUnhideActivityItem as bU, useUnhideKeytraceClaim as bV, useUnhideOrcidPublication as bW, useUnhideProfileItem as bX, useUnhideSifaPublication as bY, useUnhideStandardPublication as bZ, useUnlinkSkillFromPosition as b_, useMyRoadmapVotes as ba, useNetworkStreamCount as bb, useOffboardOrgAttestation as bc, useOrgAttestations as bd, useOrgClaim as be, useOrgDomainChallenge as bf, useOrgDomainVerify as bg, useOrgProfile as bh, usePendingConfirmations as bi, useProfile as bj, useProfileCompleteness as bk, useProfileEmails as bl, useReactionStatus as bm, useRefreshOrcidPublications as bn, useRefreshPds as bo, useRejectAttestationRequest as bp, useRemoveFeatureAllowlist as bq, useRemoveOrgNotificationEmail as br, useRemoveProfileEmail as bs, useRepoInventory as bt, useRequestEmploymentConfirmation as bu, useResendProfileEmailVerification as bv, useResetProfile as bw, useResolveEntityDomain as bx, useRetractRoadmapItemVote as by, useRetractRoadmapVote as bz, type AttestationStatus as c, useUnrevealMarqueDomain as c0, useUnsetExternalAccountPrimary as c1, useUnsetPositionPrimary as c2, useUnsetSectionPrimary as c3, useUpdateActivityPreferences as c4, useUpdateEducation as c5, useUpdateExternalAccount as c6, useUpdateOrgProfile as c7, useUpdatePosition as c8, useUpdateProfileLocation as c9, useUpdateProfileOverride as ca, useUpdateProfileSelf as cb, useUpdateRecord as cc, useUpdateSkill as cd, useUpdateSkillSubCategories as ce, useUpdateUserSettings as cf, useUploadAvatar as cg, useUploadNamePronunciationAudio as ch, useUserSettings as ci, useVerificationLog as cj, useVerifyExternalAccount as ck, useWipePreview as cl, useSearchCompanies as cm, type CreateOrgAttestationResult as d, type CreateReactionVariables as e, type CreateRecordVariables as f, type DeleteRecordVariables as g, type FetchProfileEmailsOptions as h, type FetchVerificationLogOptions as i, type FollowVariables as j, OrgAttestationSchema as k, type ProfileEmail as l, ProfileEmailSchema as m, type ProfileEmailSendStatus as n, type ProfileEmails as o, type RequestEmploymentConfirmationInput as p, type RequestEmploymentConfirmationResult as q, type SifaProviderProps as r, type UpdateEducationVariables as s, type UpdateExternalAccountVariables as t, type UpdatePositionVariables as u, type UpdateProfileLocationVariables as v, type UpdateRecordVariables as w, type UpdateSkillSubCategoriesVariables as x, type UpdateSkillVariables as y, type UseEntitySearchOptions as z };
1255
+ export { revokeOrgAttestation as $, type AddFeatureAllowlistVariables as A, type UseMyGithubPullRequestsParams as B, type CreateOrgAttestationInput as C, type DeleteReactionVariables as D, type VerificationEventKind as E, type FetchOrgAttestationOptions as F, type VerificationLog as G, type VerificationLogEntry as H, VerificationLogEntrySchema as I, VerificationLogSchema as J, addProfileEmail as K, createOrgAttestation as L, fetchAttestationRequests as M, fetchOrgAttestations as N, type OrgAttestation as O, type PositionSkillLinkVariables as P, fetchProfileEmails as Q, type RemoveFeatureAllowlistVariables as R, SifaProvider as S, fetchVerificationLog as T, type UnfollowVariables as U, VERIFICATION_EVENT_KINDS as V, offboardOrgAttestation as W, rejectAttestationRequest as X, removeProfileEmail as Y, requestEmploymentConfirmation as Z, resendProfileEmailVerification as _, type AttestationRequest as a, useHideOrcidPublication as a$, useAccounts as a0, useActivityFeed as a1, useActivityPreferences as a2, useActivityTeaser as a3, useAddFeatureAllowlist as a4, useAddOrgNotificationEmail as a5, useAddProfileEmail as a6, useAdminReviewQueues as a7, useAppAccountCheck as a8, useAppsRegistry as a9, useDeletePosition as aA, useDeleteProfileLocation as aB, useDeleteReaction as aC, useDeleteRecord as aD, useDeleteRepoRecords as aE, useDeleteSkill as aF, useDismissCompletenessSignal as aG, useDismissConfirmation as aH, useDismissUnlinkedPosition as aI, useEndorsementCount as aJ, useEntitySearch as aK, useExternalAccounts as aL, useFeatureAllowlist as aM, useFeaturedProfile as aN, useFollow as aO, useFollowers as aP, useFollowing as aQ, useFollowingFeed as aR, useFollowingFeedVersion as aS, useFollowingList as aT, useGetProfileView as aU, useGivenConfirmations as aV, useHeatmapData as aW, useHiddenActivityItems as aX, useHiddenApps as aY, useHideActivityItem as aZ, useHideKeytraceClaim as a_, useAtFundLink as aa, useAttestationRequests as ab, useBlueskySuggestions as ac, useBulkHideProfileItems as ad, useBulkHideStandardPublications as ae, useBulkUnhideProfileItems as af, useBulkUnhideStandardPublications as ag, useCanonicalSkillSearch as ah, useCastRoadmapItemVote as ai, useClearCompletenessDismissals as aj, useCreateConfirmation as ak, useCreateEducation as al, useCreateEndorsement as am, useCreateExternalAccount as an, useCreateOrgAttestation as ao, useCreatePosition as ap, useCreateProfileLocation as aq, useCreateReaction as ar, useCreateRecord as as, useCreateSkill as at, useDebouncedValue as au, useDeleteAccount as av, useDeleteAvatarOverride as aw, useDeleteEducation as ax, useDeleteExternalAccount as ay, useDeleteNamePronunciationAudio as az, AttestationRequestSchema as b, useUnsetSectionPrimary as b$, useHideProfileItem as b0, useHideSifaPublication as b1, useHideStandardPublication as b2, useImportSearchEntities as b3, useInboxCounts as b4, useLinkSkillToPosition as b5, useMintEntityDomain as b6, useMutuals as b7, useMyGithubPullRequests as b8, useNetworkStreamCount as b9, useRpgClaimable as bA, useRpgStatus as bB, useSearchFilters as bC, useSearchProfiles as bD, useSelectEntity as bE, useSetExternalAccountPrimary as bF, useSetPositionPrimary as bG, useSetSectionPrimary as bH, useSifaConfig as bI, useSimilarProfiles as bJ, useSiteActivityPreset as bK, useSkillSuggestions as bL, useStats as bM, useSuggestionCount as bN, useSuggestions as bO, useUnfollow as bP, useUnhideActivityItem as bQ, useUnhideKeytraceClaim as bR, useUnhideOrcidPublication as bS, useUnhideProfileItem as bT, useUnhideSifaPublication as bU, useUnhideStandardPublication as bV, useUnlinkSkillFromPosition as bW, useUnlinkedPositions as bX, useUnrevealMarqueDomain as bY, useUnsetExternalAccountPrimary as bZ, useUnsetPositionPrimary as b_, useOffboardOrgAttestation as ba, useOrgAttestations as bb, useOrgClaim as bc, useOrgDomainChallenge as bd, useOrgDomainVerify as be, useOrgProfile as bf, usePendingConfirmations as bg, useProfile as bh, useProfileCompleteness as bi, useProfileEmails as bj, useReactionStatus as bk, useRefreshOrcidPublications as bl, useRefreshPds as bm, useRejectAttestationRequest as bn, useRemoveFeatureAllowlist as bo, useRemoveOrgNotificationEmail as bp, useRemoveProfileEmail as bq, useRepoInventory as br, useRequestEmploymentConfirmation as bs, useResendProfileEmailVerification as bt, useResetProfile as bu, useResolveEntityDomain as bv, useRetractRoadmapItemVote as bw, useRevealMarqueDomain as bx, useRevokeConfirmation as by, useRevokeOrgAttestation as bz, type AttestationStatus as c, useUpdateActivityPreferences as c0, useUpdateEducation as c1, useUpdateExternalAccount as c2, useUpdateOrgProfile as c3, useUpdatePosition as c4, useUpdateProfileLocation as c5, useUpdateProfileOverride as c6, useUpdateProfileSelf as c7, useUpdateRecord as c8, useUpdateSkill as c9, useUpdateSkillSubCategories as ca, useUpdateUserSettings as cb, useUploadAvatar as cc, useUploadNamePronunciationAudio as cd, useUserSettings as ce, useVerificationLog as cf, useVerifyExternalAccount as cg, useWipePreview as ch, useSearchCompanies as ci, type CreateOrgAttestationResult as d, type CreateReactionVariables as e, type CreateRecordVariables as f, type DeleteRecordVariables as g, type FetchProfileEmailsOptions as h, type FetchVerificationLogOptions as i, type FollowVariables as j, OrgAttestationSchema as k, type ProfileEmail as l, ProfileEmailSchema as m, type ProfileEmailSendStatus as n, type ProfileEmails as o, type RequestEmploymentConfirmationInput as p, type RequestEmploymentConfirmationResult as q, type SifaProviderProps as r, type UpdateEducationVariables as s, type UpdateExternalAccountVariables as t, type UpdatePositionVariables as u, type UpdateProfileLocationVariables as v, type UpdateRecordVariables as w, type UpdateSkillSubCategoriesVariables as x, type UpdateSkillVariables as y, type UseEntitySearchOptions as z };
@@ -4,7 +4,7 @@ import { a1 as SifaApiConfig, a0 as ApiFetchOptions, a2 as WriteResult, o as Pro
4
4
  import * as _tanstack_react_query from '@tanstack/react-query';
5
5
  import { UseQueryOptions, UseMutationOptions, UseInfiniteQueryOptions, InfiniteData } from '@tanstack/react-query';
6
6
  import { c as Profile, d as ProfilePosition, Y as SkillRef, p as ExternalAccount, Z as SkillSuggestion, s as OrgFloorVerdict } from './index-DDh2RLvx.js';
7
- import { s as sifaQueryKeys, aK as RefreshPdsResult, bb as UpdateProfileOverrideInput, bc as UpdateProfileSelfInput, bd as UploadAvatarResult, be as UploadPronunciationAudioResult, au as PrimarySection, b4 as SubCategoryBulkResult, az as ProfileLocationInput, q as ExternalAccountInput, n as CreateExternalAccountResult, bi as VerifyExternalAccountResult, E as EndorsementInput, l as ConfirmationInput, m as ConfirmationSubjectInput, a4 as GivenConfirmation, at as PendingConfirmationsPage, af as InboxCounts, p as DismissUnlinkedPositionInput, b9 as UnlinkedPositionsResult, o as DismissCompletenessSignalInput, av as ProfileCompleteness, aW as RpgClaimableResponse, a_ as RpgStatusResponse, aJ as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, ae as HideProfileItemInput, a9 as HiddenActivityItem, ad as HideActivityItemInput, b7 as UnhideActivityItemInput, f as ActivityPreferences, b2 as SiteActivityPresetResponse, ba as UpdateActivityPreferencesInput, b3 as StatsResponse, i as AppRegistryEntry, aa as HiddenApp, b as AccountSummary, r as FeaturedProfile, b1 as SimilarProfile, R as FetchSuggestionsOptions, b6 as SuggestionsResponse, X as FollowUserResult, y as FetchFollowListOptions, U as FollowListPage, a1 as FollowingResponse, G as FetchFollowingFeedOptions, $ as FollowingFeedResponse, a0 as FollowingFeedVersion, z as FetchFollowProfilePageOptions, W as FollowProfilePageResponse, F as FeatureAllowlistResponse, h as AdminReviewQueues, u as FetchActivityFeedOptions, c as ActivityFeedResponse, g as ActivityTeaserResponse, a8 as HeatmapResponse, ah as MyGithubPullRequestsResponse, A as AccountCheckResult, aI as ReactionStatus, aH as ReactionResult, aG as ReactionError, aV as RoadmapVotesResponse, j as CastRoadmapVoteResult, aR as RoadmapItemRef, D as DeleteAccountResult, aM as ResetProfileResult, bj as WipePreview, aL as RepoDeleteInput, aj as OrgClaimResult, ap as OrgProfileUpdateResult, ak as OrgDomainChallengeResult, al as OrgDomainVerifyResult, am as OrgNotificationEmailAddResult, an as OrgNotificationEmailRemoveResult, bf as UserSettings } from './user-settings-CBtacio1.js';
7
+ import { s as sifaQueryKeys, aJ as RefreshPdsResult, b9 as UpdateProfileOverrideInput, ba as UpdateProfileSelfInput, bb as UploadAvatarResult, bc as UploadPronunciationAudioResult, at as PrimarySection, b2 as SubCategoryBulkResult, ay as ProfileLocationInput, q as ExternalAccountInput, n as CreateExternalAccountResult, bg as VerifyExternalAccountResult, E as EndorsementInput, l as ConfirmationInput, m as ConfirmationSubjectInput, a3 as GivenConfirmation, as as PendingConfirmationsPage, ae as InboxCounts, p as DismissUnlinkedPositionInput, b7 as UnlinkedPositionsResult, o as DismissCompletenessSignalInput, au as ProfileCompleteness, aU as RpgClaimableResponse, aY as RpgStatusResponse, aI as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, ad as HideProfileItemInput, a8 as HiddenActivityItem, ac as HideActivityItemInput, b5 as UnhideActivityItemInput, f as ActivityPreferences, b0 as SiteActivityPresetResponse, b8 as UpdateActivityPreferencesInput, b1 as StatsResponse, i as AppRegistryEntry, a9 as HiddenApp, b as AccountSummary, r as FeaturedProfile, a$ as SimilarProfile, Q as FetchSuggestionsOptions, b4 as SuggestionsResponse, W as FollowUserResult, y as FetchFollowListOptions, T as FollowListPage, a0 as FollowingResponse, G as FetchFollowingFeedOptions, _ as FollowingFeedResponse, $ as FollowingFeedVersion, z as FetchFollowProfilePageOptions, V as FollowProfilePageResponse, F as FeatureAllowlistResponse, h as AdminReviewQueues, u as FetchActivityFeedOptions, c as ActivityFeedResponse, g as ActivityTeaserResponse, a7 as HeatmapResponse, ag as MyGithubPullRequestsResponse, A as AccountCheckResult, aH as ReactionStatus, aG as ReactionResult, aF as ReactionError, j as CastRoadmapVoteResult, aQ as RoadmapItemRef, D as DeleteAccountResult, aL as ResetProfileResult, bh as WipePreview, aK as RepoDeleteInput, ai as OrgClaimResult, ao as OrgProfileUpdateResult, aj as OrgDomainChallengeResult, ak as OrgDomainVerifyResult, al as OrgNotificationEmailAddResult, am as OrgNotificationEmailRemoveResult, bd as UserSettings } from './user-settings-BdNrDa9O.js';
8
8
  import { z } from 'zod';
9
9
  import { i as EntitySearchResponse, E as EntitySearchResult, c as EntityMintDomainResponse, g as EntityResolveDomainResponse, n as EntitySelectResponse, l as EntitySelectRequest, r as FeatureFlag } from './follow-profile-CVcA2w1v.js';
10
10
  import { O as OrgClaimRequestInput, h as OrgProfileUpdateRequestInput, b as OrgDomainChallengeRequestInput, d as OrgDomainVerifyRequestInput, f as OrgNotificationEmailRequestInput } from './org-settings-BShvhyFp.js';
@@ -1045,29 +1045,14 @@ interface DeleteReactionVariables {
1045
1045
  /** React hook for deleting a reaction. */
1046
1046
  declare function useDeleteReaction(options?: Omit<UseMutationOptions<WriteResult, Error, DeleteReactionVariables>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, DeleteReactionVariables, unknown>;
1047
1047
 
1048
- /** Public roadmap vote tallies. Returns `{}` data on error. */
1049
- declare function useRoadmapVotes(options?: Omit<UseQueryOptions<RoadmapVotesResponse, Error, RoadmapVotesResponse, ReturnType<typeof sifaQueryKeys.roadmap.votes>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<RoadmapVotesResponse, Error>;
1050
- /** Roadmap items the authenticated viewer has voted on. Returns `[]` data on error. */
1051
- declare function useMyRoadmapVotes(options?: Omit<UseQueryOptions<string[], Error, string[], ReturnType<typeof sifaQueryKeys.roadmap.myVotes>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<string[], Error>;
1052
-
1053
- /**
1054
- * React hook for casting a roadmap vote. Variable: the item key.
1055
- *
1056
- * Returns the discriminated-union result so callers can detect
1057
- * `scope_insufficient` and trigger an OAuth scope-upgrade flow
1058
- * (see {@link castRoadmapVote}).
1059
- */
1060
- declare function useCastRoadmapVote(options?: Omit<UseMutationOptions<CastRoadmapVoteResult, Error, string>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<CastRoadmapVoteResult, Error, string, unknown>;
1061
- /** React hook for retracting a previously-cast roadmap vote. */
1062
- declare function useRetractRoadmapVote(options?: Omit<UseMutationOptions<WriteResult, Error, string>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, string, unknown>;
1063
1048
  /**
1064
1049
  * React hook for voting on a roadmap board item. Variable: the item's
1065
- * `{ did, rkey }`. Returns the same discriminated-union result as
1066
- * {@link useCastRoadmapVote}.
1050
+ * `{ did, rkey }`. Returns the discriminated-union result so callers can
1051
+ * detect `scope_insufficient` and trigger an OAuth scope-upgrade flow.
1067
1052
  *
1068
- * Board data from `fetchRoadmap` is usually server-rendered, so the
1069
- * invalidation here does not refresh it: keep optimistic local state or call
1070
- * `router.refresh()`. Voting twice is safe; the API answers 200.
1053
+ * Board data from `fetchRoadmap` is not held in the query cache, so nothing is
1054
+ * invalidated here: keep optimistic local state or call `router.refresh()`.
1055
+ * Voting twice is safe; the API answers 200.
1071
1056
  */
1072
1057
  declare function useCastRoadmapItemVote(options?: Omit<UseMutationOptions<CastRoadmapVoteResult, Error, RoadmapItemRef>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<CastRoadmapVoteResult, Error, RoadmapItemRef, unknown>;
1073
1058
  /** React hook for retracting a vote on a roadmap board item. */
@@ -1267,4 +1252,4 @@ declare function useUpdateUserSettings(): _tanstack_react_query.UseMutationResul
1267
1252
  showCitationCounts: boolean;
1268
1253
  }>, unknown>;
1269
1254
 
1270
- export { revokeOrgAttestation as $, type AddFeatureAllowlistVariables as A, type UseMyGithubPullRequestsParams as B, type CreateOrgAttestationInput as C, type DeleteReactionVariables as D, type VerificationEventKind as E, type FetchOrgAttestationOptions as F, type VerificationLog as G, type VerificationLogEntry as H, VerificationLogEntrySchema as I, VerificationLogSchema as J, addProfileEmail as K, createOrgAttestation as L, fetchAttestationRequests as M, fetchOrgAttestations as N, type OrgAttestation as O, type PositionSkillLinkVariables as P, fetchProfileEmails as Q, type RemoveFeatureAllowlistVariables as R, SifaProvider as S, fetchVerificationLog as T, type UnfollowVariables as U, VERIFICATION_EVENT_KINDS as V, offboardOrgAttestation as W, rejectAttestationRequest as X, removeProfileEmail as Y, requestEmploymentConfirmation as Z, resendProfileEmailVerification as _, type AttestationRequest as a, useHideKeytraceClaim as a$, useAccounts as a0, useActivityFeed as a1, useActivityPreferences as a2, useActivityTeaser as a3, useAddFeatureAllowlist as a4, useAddOrgNotificationEmail as a5, useAddProfileEmail as a6, useAdminReviewQueues as a7, useAppAccountCheck as a8, useAppsRegistry as a9, useDeleteNamePronunciationAudio as aA, useDeletePosition as aB, useDeleteProfileLocation as aC, useDeleteReaction as aD, useDeleteRecord as aE, useDeleteRepoRecords as aF, useDeleteSkill as aG, useDismissCompletenessSignal as aH, useDismissConfirmation as aI, useDismissUnlinkedPosition as aJ, useEndorsementCount as aK, useEntitySearch as aL, useExternalAccounts as aM, useFeatureAllowlist as aN, useFeaturedProfile as aO, useFollow as aP, useFollowers as aQ, useFollowing as aR, useFollowingFeed as aS, useFollowingFeedVersion as aT, useFollowingList as aU, useGetProfileView as aV, useGivenConfirmations as aW, useHeatmapData as aX, useHiddenActivityItems as aY, useHiddenApps as aZ, useHideActivityItem as a_, useAtFundLink as aa, useAttestationRequests as ab, useBlueskySuggestions as ac, useBulkHideProfileItems as ad, useBulkHideStandardPublications as ae, useBulkUnhideProfileItems as af, useBulkUnhideStandardPublications as ag, useCanonicalSkillSearch as ah, useCastRoadmapItemVote as ai, useCastRoadmapVote as aj, useClearCompletenessDismissals as ak, useCreateConfirmation as al, useCreateEducation as am, useCreateEndorsement as an, useCreateExternalAccount as ao, useCreateOrgAttestation as ap, useCreatePosition as aq, useCreateProfileLocation as ar, useCreateReaction as as, useCreateRecord as at, useCreateSkill as au, useDebouncedValue as av, useDeleteAccount as aw, useDeleteAvatarOverride as ax, useDeleteEducation as ay, useDeleteExternalAccount as az, AttestationRequestSchema as b, useUnlinkedPositions as b$, useHideOrcidPublication as b0, useHideProfileItem as b1, useHideSifaPublication as b2, useHideStandardPublication as b3, useImportSearchEntities as b4, useInboxCounts as b5, useLinkSkillToPosition as b6, useMintEntityDomain as b7, useMutuals as b8, useMyGithubPullRequests as b9, useRevealMarqueDomain as bA, useRevokeConfirmation as bB, useRevokeOrgAttestation as bC, useRoadmapVotes as bD, useRpgClaimable as bE, useRpgStatus as bF, useSearchFilters as bG, useSearchProfiles as bH, useSelectEntity as bI, useSetExternalAccountPrimary as bJ, useSetPositionPrimary as bK, useSetSectionPrimary as bL, useSifaConfig as bM, useSimilarProfiles as bN, useSiteActivityPreset as bO, useSkillSuggestions as bP, useStats as bQ, useSuggestionCount as bR, useSuggestions as bS, useUnfollow as bT, useUnhideActivityItem as bU, useUnhideKeytraceClaim as bV, useUnhideOrcidPublication as bW, useUnhideProfileItem as bX, useUnhideSifaPublication as bY, useUnhideStandardPublication as bZ, useUnlinkSkillFromPosition as b_, useMyRoadmapVotes as ba, useNetworkStreamCount as bb, useOffboardOrgAttestation as bc, useOrgAttestations as bd, useOrgClaim as be, useOrgDomainChallenge as bf, useOrgDomainVerify as bg, useOrgProfile as bh, usePendingConfirmations as bi, useProfile as bj, useProfileCompleteness as bk, useProfileEmails as bl, useReactionStatus as bm, useRefreshOrcidPublications as bn, useRefreshPds as bo, useRejectAttestationRequest as bp, useRemoveFeatureAllowlist as bq, useRemoveOrgNotificationEmail as br, useRemoveProfileEmail as bs, useRepoInventory as bt, useRequestEmploymentConfirmation as bu, useResendProfileEmailVerification as bv, useResetProfile as bw, useResolveEntityDomain as bx, useRetractRoadmapItemVote as by, useRetractRoadmapVote as bz, type AttestationStatus as c, useUnrevealMarqueDomain as c0, useUnsetExternalAccountPrimary as c1, useUnsetPositionPrimary as c2, useUnsetSectionPrimary as c3, useUpdateActivityPreferences as c4, useUpdateEducation as c5, useUpdateExternalAccount as c6, useUpdateOrgProfile as c7, useUpdatePosition as c8, useUpdateProfileLocation as c9, useUpdateProfileOverride as ca, useUpdateProfileSelf as cb, useUpdateRecord as cc, useUpdateSkill as cd, useUpdateSkillSubCategories as ce, useUpdateUserSettings as cf, useUploadAvatar as cg, useUploadNamePronunciationAudio as ch, useUserSettings as ci, useVerificationLog as cj, useVerifyExternalAccount as ck, useWipePreview as cl, useSearchCompanies as cm, type CreateOrgAttestationResult as d, type CreateReactionVariables as e, type CreateRecordVariables as f, type DeleteRecordVariables as g, type FetchProfileEmailsOptions as h, type FetchVerificationLogOptions as i, type FollowVariables as j, OrgAttestationSchema as k, type ProfileEmail as l, ProfileEmailSchema as m, type ProfileEmailSendStatus as n, type ProfileEmails as o, type RequestEmploymentConfirmationInput as p, type RequestEmploymentConfirmationResult as q, type SifaProviderProps as r, type UpdateEducationVariables as s, type UpdateExternalAccountVariables as t, type UpdatePositionVariables as u, type UpdateProfileLocationVariables as v, type UpdateRecordVariables as w, type UpdateSkillSubCategoriesVariables as x, type UpdateSkillVariables as y, type UseEntitySearchOptions as z };
1255
+ export { revokeOrgAttestation as $, type AddFeatureAllowlistVariables as A, type UseMyGithubPullRequestsParams as B, type CreateOrgAttestationInput as C, type DeleteReactionVariables as D, type VerificationEventKind as E, type FetchOrgAttestationOptions as F, type VerificationLog as G, type VerificationLogEntry as H, VerificationLogEntrySchema as I, VerificationLogSchema as J, addProfileEmail as K, createOrgAttestation as L, fetchAttestationRequests as M, fetchOrgAttestations as N, type OrgAttestation as O, type PositionSkillLinkVariables as P, fetchProfileEmails as Q, type RemoveFeatureAllowlistVariables as R, SifaProvider as S, fetchVerificationLog as T, type UnfollowVariables as U, VERIFICATION_EVENT_KINDS as V, offboardOrgAttestation as W, rejectAttestationRequest as X, removeProfileEmail as Y, requestEmploymentConfirmation as Z, resendProfileEmailVerification as _, type AttestationRequest as a, useHideOrcidPublication as a$, useAccounts as a0, useActivityFeed as a1, useActivityPreferences as a2, useActivityTeaser as a3, useAddFeatureAllowlist as a4, useAddOrgNotificationEmail as a5, useAddProfileEmail as a6, useAdminReviewQueues as a7, useAppAccountCheck as a8, useAppsRegistry as a9, useDeletePosition as aA, useDeleteProfileLocation as aB, useDeleteReaction as aC, useDeleteRecord as aD, useDeleteRepoRecords as aE, useDeleteSkill as aF, useDismissCompletenessSignal as aG, useDismissConfirmation as aH, useDismissUnlinkedPosition as aI, useEndorsementCount as aJ, useEntitySearch as aK, useExternalAccounts as aL, useFeatureAllowlist as aM, useFeaturedProfile as aN, useFollow as aO, useFollowers as aP, useFollowing as aQ, useFollowingFeed as aR, useFollowingFeedVersion as aS, useFollowingList as aT, useGetProfileView as aU, useGivenConfirmations as aV, useHeatmapData as aW, useHiddenActivityItems as aX, useHiddenApps as aY, useHideActivityItem as aZ, useHideKeytraceClaim as a_, useAtFundLink as aa, useAttestationRequests as ab, useBlueskySuggestions as ac, useBulkHideProfileItems as ad, useBulkHideStandardPublications as ae, useBulkUnhideProfileItems as af, useBulkUnhideStandardPublications as ag, useCanonicalSkillSearch as ah, useCastRoadmapItemVote as ai, useClearCompletenessDismissals as aj, useCreateConfirmation as ak, useCreateEducation as al, useCreateEndorsement as am, useCreateExternalAccount as an, useCreateOrgAttestation as ao, useCreatePosition as ap, useCreateProfileLocation as aq, useCreateReaction as ar, useCreateRecord as as, useCreateSkill as at, useDebouncedValue as au, useDeleteAccount as av, useDeleteAvatarOverride as aw, useDeleteEducation as ax, useDeleteExternalAccount as ay, useDeleteNamePronunciationAudio as az, AttestationRequestSchema as b, useUnsetSectionPrimary as b$, useHideProfileItem as b0, useHideSifaPublication as b1, useHideStandardPublication as b2, useImportSearchEntities as b3, useInboxCounts as b4, useLinkSkillToPosition as b5, useMintEntityDomain as b6, useMutuals as b7, useMyGithubPullRequests as b8, useNetworkStreamCount as b9, useRpgClaimable as bA, useRpgStatus as bB, useSearchFilters as bC, useSearchProfiles as bD, useSelectEntity as bE, useSetExternalAccountPrimary as bF, useSetPositionPrimary as bG, useSetSectionPrimary as bH, useSifaConfig as bI, useSimilarProfiles as bJ, useSiteActivityPreset as bK, useSkillSuggestions as bL, useStats as bM, useSuggestionCount as bN, useSuggestions as bO, useUnfollow as bP, useUnhideActivityItem as bQ, useUnhideKeytraceClaim as bR, useUnhideOrcidPublication as bS, useUnhideProfileItem as bT, useUnhideSifaPublication as bU, useUnhideStandardPublication as bV, useUnlinkSkillFromPosition as bW, useUnlinkedPositions as bX, useUnrevealMarqueDomain as bY, useUnsetExternalAccountPrimary as bZ, useUnsetPositionPrimary as b_, useOffboardOrgAttestation as ba, useOrgAttestations as bb, useOrgClaim as bc, useOrgDomainChallenge as bd, useOrgDomainVerify as be, useOrgProfile as bf, usePendingConfirmations as bg, useProfile as bh, useProfileCompleteness as bi, useProfileEmails as bj, useReactionStatus as bk, useRefreshOrcidPublications as bl, useRefreshPds as bm, useRejectAttestationRequest as bn, useRemoveFeatureAllowlist as bo, useRemoveOrgNotificationEmail as bp, useRemoveProfileEmail as bq, useRepoInventory as br, useRequestEmploymentConfirmation as bs, useResendProfileEmailVerification as bt, useResetProfile as bu, useResolveEntityDomain as bv, useRetractRoadmapItemVote as bw, useRevealMarqueDomain as bx, useRevokeConfirmation as by, useRevokeOrgAttestation as bz, type AttestationStatus as c, useUpdateActivityPreferences as c0, useUpdateEducation as c1, useUpdateExternalAccount as c2, useUpdateOrgProfile as c3, useUpdatePosition as c4, useUpdateProfileLocation as c5, useUpdateProfileOverride as c6, useUpdateProfileSelf as c7, useUpdateRecord as c8, useUpdateSkill as c9, useUpdateSkillSubCategories as ca, useUpdateUserSettings as cb, useUploadAvatar as cc, useUploadNamePronunciationAudio as cd, useUserSettings as ce, useVerificationLog as cf, useVerifyExternalAccount as cg, useWipePreview as ch, useSearchCompanies as ci, type CreateOrgAttestationResult as d, type CreateReactionVariables as e, type CreateRecordVariables as f, type DeleteRecordVariables as g, type FetchProfileEmailsOptions as h, type FetchVerificationLogOptions as i, type FollowVariables as j, OrgAttestationSchema as k, type ProfileEmail as l, ProfileEmailSchema as m, type ProfileEmailSendStatus as n, type ProfileEmails as o, type RequestEmploymentConfirmationInput as p, type RequestEmploymentConfirmationResult as q, type SifaProviderProps as r, type UpdateEducationVariables as s, type UpdateExternalAccountVariables as t, type UpdatePositionVariables as u, type UpdateProfileLocationVariables as v, type UpdateRecordVariables as w, type UpdateSkillSubCategoriesVariables as x, type UpdateSkillVariables as y, type UseEntitySearchOptions as z };
@@ -1518,34 +1518,12 @@ interface RoadmapVoter {
1518
1518
  did: string;
1519
1519
  avatarUrl?: string;
1520
1520
  }
1521
- /** Map of item key -> vote tally and voter list. */
1522
- type RoadmapVotesResponse = Record<string, {
1523
- count: number;
1524
- voters: RoadmapVoter[];
1525
- }>;
1526
- /**
1527
- * Public roadmap vote tallies, keyed by item. Returns `{}` on any error.
1528
- */
1529
- declare function fetchRoadmapVotes(config: SifaApiConfig, options?: ApiFetchOptions): Promise<RoadmapVotesResponse>;
1530
- interface FetchMyRoadmapVotesOptions extends ApiFetchOptions {
1531
- /**
1532
- * Pass the caller's `Cookie` header on Next.js RSC server-side calls.
1533
- * Required for authenticated server fetches because `credentials: 'include'`
1534
- * does not propagate browser cookies in RSC.
1535
- */
1536
- cookieHeader?: string;
1537
- }
1538
- /**
1539
- * Roadmap items the authenticated user has voted on. Returns `[]` on any
1540
- * error or when the response payload is shaped unexpectedly.
1541
- */
1542
- declare function fetchMyRoadmapVotes(config: SifaApiConfig, options?: FetchMyRoadmapVotesOptions): Promise<string[]>;
1543
- /** Result of a successful {@link castRoadmapVote} -- the created upvote record. */
1521
+ /** Result of a successful roadmap vote -- the created upvote record. */
1544
1522
  interface RoadmapVoteResult {
1545
1523
  uri: string;
1546
1524
  rkey: string;
1547
1525
  }
1548
- /** Structured error returned by {@link castRoadmapVote} on failure. */
1526
+ /** Structured error returned by {@link castRoadmapItemVote} on failure. */
1549
1527
  interface RoadmapVoteError {
1550
1528
  type: 'scope_insufficient' | 'error';
1551
1529
  /**
@@ -1556,8 +1534,8 @@ interface RoadmapVoteError {
1556
1534
  requiredScope?: string;
1557
1535
  }
1558
1536
  /**
1559
- * Discriminated-union result of {@link castRoadmapVote}. Exported so the
1560
- * `useCastRoadmapVote` hook and SDK consumers can type mutation handlers
1537
+ * Discriminated-union result of {@link castRoadmapItemVote}. Exported so the
1538
+ * `useCastRoadmapItemVote` hook and SDK consumers can type mutation handlers
1561
1539
  * against a single source of truth.
1562
1540
  */
1563
1541
  type CastRoadmapVoteResult = {
@@ -1567,21 +1545,6 @@ type CastRoadmapVoteResult = {
1567
1545
  ok: false;
1568
1546
  error: RoadmapVoteError;
1569
1547
  };
1570
- /**
1571
- * Cast a vote on a roadmap item by its key.
1572
- *
1573
- * Writes an `app.userinput.upvote` record into the viewer's PDS (server-side,
1574
- * via their OAuth session). Returns a discriminated-union result rather than
1575
- * the generic {@link WriteResult} because a first-time voter's PDS grant may
1576
- * not yet include the `app.userinput.upvote` collection: the AppView responds
1577
- * 403 `ScopeInsufficient`, which the caller handles by triggering an OAuth
1578
- * scope upgrade rather than showing an error. Mirrors {@link createReaction}.
1579
- *
1580
- * Never throws.
1581
- */
1582
- declare function castRoadmapVote(config: SifaApiConfig, key: string, options?: ApiFetchOptions): Promise<CastRoadmapVoteResult>;
1583
- /** Retract a previously-cast roadmap vote. */
1584
- declare function retractRoadmapVote(config: SifaApiConfig, key: string, options?: ApiFetchOptions): Promise<WriteResult>;
1585
1548
  /** Roadmap group of a board item (sifa-api `GET /api/roadmap`). */
1586
1549
  type RoadmapBoardStatus = 'done' | 'in-progress' | 'planned' | 'later' | 'under-review';
1587
1550
  type RoadmapBoardSize = 'small' | 'medium' | 'epic';
@@ -1627,8 +1590,16 @@ interface FetchRoadmapOptions extends ApiFetchOptions {
1627
1590
  */
1628
1591
  declare function fetchRoadmap(config: SifaApiConfig, options?: FetchRoadmapOptions): Promise<RoadmapBoardItem[] | null>;
1629
1592
  /**
1630
- * Vote on a roadmap board item. Same result shape and scope handling as
1631
- * {@link castRoadmapVote}. Never throws.
1593
+ * Vote on a roadmap board item, identified by its `{ did, rkey }`.
1594
+ *
1595
+ * Writes an `app.userinput.upvote` record into the viewer's PDS (server-side,
1596
+ * via their OAuth session). Returns a discriminated-union result rather than
1597
+ * the generic {@link WriteResult} because a first-time voter's PDS grant may
1598
+ * not yet include the `app.userinput.upvote` collection: the AppView responds
1599
+ * 403 `ScopeInsufficient`, which the caller handles by triggering an OAuth
1600
+ * scope upgrade rather than showing an error. Mirrors {@link createReaction}.
1601
+ *
1602
+ * Never throws.
1632
1603
  */
1633
1604
  declare function castRoadmapItemVote(config: SifaApiConfig, item: RoadmapItemRef, options?: ApiFetchOptions): Promise<CastRoadmapVoteResult>;
1634
1605
  /** Retract a vote on a roadmap board item. */
@@ -1901,11 +1872,6 @@ declare const sifaQueryKeys: {
1901
1872
  readonly status: (uris: string[]) => readonly ["sifa", "reactions", "status", string[]];
1902
1873
  readonly accountCheck: (appId: string) => readonly ["sifa", "reactions", "account-check", string];
1903
1874
  };
1904
- readonly roadmap: {
1905
- readonly all: () => readonly ["sifa", "roadmap"];
1906
- readonly votes: () => readonly ["sifa", "roadmap", "votes"];
1907
- readonly myVotes: () => readonly ["sifa", "roadmap", "my-votes"];
1908
- };
1909
1875
  readonly bskyPreferences: {
1910
1876
  readonly all: () => readonly ["sifa", "bsky-preferences"];
1911
1877
  readonly contentLabels: () => readonly ["sifa", "bsky-preferences", "content-labels"];
@@ -1922,7 +1888,7 @@ declare const sifaQueryKeys: {
1922
1888
  readonly wipePreview: () => readonly ["sifa", "destructive", "wipe-preview"];
1923
1889
  };
1924
1890
  };
1925
- type SifaQueryKey = ReturnType<typeof sifaQueryKeys.all> | ReturnType<typeof sifaQueryKeys.profile.all> | ReturnType<typeof sifaQueryKeys.profile.byHandle> | ReturnType<typeof sifaQueryKeys.profile.atFundLink> | ReturnType<typeof sifaQueryKeys.profile.externalAccounts> | ReturnType<typeof sifaQueryKeys.profile.completeness> | ReturnType<typeof sifaQueryKeys.position.all> | ReturnType<typeof sifaQueryKeys.position.byOwner> | ReturnType<typeof sifaQueryKeys.position.unlinked> | ReturnType<typeof sifaQueryKeys.inbox.all> | ReturnType<typeof sifaQueryKeys.inbox.counts> | ReturnType<typeof sifaQueryKeys.rpg.all> | ReturnType<typeof sifaQueryKeys.rpg.claimable> | ReturnType<typeof sifaQueryKeys.rpg.status> | ReturnType<typeof sifaQueryKeys.search.all> | ReturnType<typeof sifaQueryKeys.search.profiles> | ReturnType<typeof sifaQueryKeys.search.canonicalSkills> | ReturnType<typeof sifaQueryKeys.search.skills> | ReturnType<typeof sifaQueryKeys.search.filters> | ReturnType<typeof sifaQueryKeys.entity.all> | ReturnType<typeof sifaQueryKeys.entity.search> | ReturnType<typeof sifaQueryKeys.discovery.all> | ReturnType<typeof sifaQueryKeys.discovery.similar> | ReturnType<typeof sifaQueryKeys.discovery.suggestions> | ReturnType<typeof sifaQueryKeys.discovery.suggestionCount> | ReturnType<typeof sifaQueryKeys.discovery.featured> | ReturnType<typeof sifaQueryKeys.follow.all> | ReturnType<typeof sifaQueryKeys.follow.following> | ReturnType<typeof sifaQueryKeys.follow.followers> | ReturnType<typeof sifaQueryKeys.follow.followingOf> | ReturnType<typeof sifaQueryKeys.follow.feed> | ReturnType<typeof sifaQueryKeys.follow.mutuals> | ReturnType<typeof sifaQueryKeys.follow.blueskySuggestions> | ReturnType<typeof sifaQueryKeys.admin.all> | ReturnType<typeof sifaQueryKeys.admin.featureAllowlist> | ReturnType<typeof sifaQueryKeys.admin.reviewQueues> | ReturnType<typeof sifaQueryKeys.stats.all> | ReturnType<typeof sifaQueryKeys.stats.homepage> | ReturnType<typeof sifaQueryKeys.apps.all> | ReturnType<typeof sifaQueryKeys.apps.registry> | ReturnType<typeof sifaQueryKeys.apps.hidden> | ReturnType<typeof sifaQueryKeys.activity.all> | ReturnType<typeof sifaQueryKeys.activity.heatmap> | ReturnType<typeof sifaQueryKeys.activity.teaser> | ReturnType<typeof sifaQueryKeys.activity.feed> | ReturnType<typeof sifaQueryKeys.activity.hiddenItems> | ReturnType<typeof sifaQueryKeys.activity.preferences> | ReturnType<typeof sifaQueryKeys.activity.sitePreset> | ReturnType<typeof sifaQueryKeys.endorsement.all> | ReturnType<typeof sifaQueryKeys.endorsement.count> | ReturnType<typeof sifaQueryKeys.endorsement.pending> | ReturnType<typeof sifaQueryKeys.endorsement.reciprocity> | ReturnType<typeof sifaQueryKeys.endorsement.received> | ReturnType<typeof sifaQueryKeys.confirmation.all> | ReturnType<typeof sifaQueryKeys.confirmation.pending> | ReturnType<typeof sifaQueryKeys.confirmation.given> | ReturnType<typeof sifaQueryKeys.stream.all> | ReturnType<typeof sifaQueryKeys.stream.networkCount> | ReturnType<typeof sifaQueryKeys.reactions.all> | ReturnType<typeof sifaQueryKeys.reactions.status> | ReturnType<typeof sifaQueryKeys.reactions.accountCheck> | ReturnType<typeof sifaQueryKeys.roadmap.all> | ReturnType<typeof sifaQueryKeys.roadmap.votes> | ReturnType<typeof sifaQueryKeys.roadmap.myVotes> | ReturnType<typeof sifaQueryKeys.bskyPreferences.all> | ReturnType<typeof sifaQueryKeys.bskyPreferences.contentLabels> | ReturnType<typeof sifaQueryKeys.userSettings.all> | ReturnType<typeof sifaQueryKeys.destructive.all> | ReturnType<typeof sifaQueryKeys.destructive.wipePreview> | ReturnType<typeof sifaQueryKeys.repoInventory.all> | ReturnType<typeof sifaQueryKeys.repoInventory.list>;
1891
+ type SifaQueryKey = ReturnType<typeof sifaQueryKeys.all> | ReturnType<typeof sifaQueryKeys.profile.all> | ReturnType<typeof sifaQueryKeys.profile.byHandle> | ReturnType<typeof sifaQueryKeys.profile.atFundLink> | ReturnType<typeof sifaQueryKeys.profile.externalAccounts> | ReturnType<typeof sifaQueryKeys.profile.completeness> | ReturnType<typeof sifaQueryKeys.position.all> | ReturnType<typeof sifaQueryKeys.position.byOwner> | ReturnType<typeof sifaQueryKeys.position.unlinked> | ReturnType<typeof sifaQueryKeys.inbox.all> | ReturnType<typeof sifaQueryKeys.inbox.counts> | ReturnType<typeof sifaQueryKeys.rpg.all> | ReturnType<typeof sifaQueryKeys.rpg.claimable> | ReturnType<typeof sifaQueryKeys.rpg.status> | ReturnType<typeof sifaQueryKeys.search.all> | ReturnType<typeof sifaQueryKeys.search.profiles> | ReturnType<typeof sifaQueryKeys.search.canonicalSkills> | ReturnType<typeof sifaQueryKeys.search.skills> | ReturnType<typeof sifaQueryKeys.search.filters> | ReturnType<typeof sifaQueryKeys.entity.all> | ReturnType<typeof sifaQueryKeys.entity.search> | ReturnType<typeof sifaQueryKeys.discovery.all> | ReturnType<typeof sifaQueryKeys.discovery.similar> | ReturnType<typeof sifaQueryKeys.discovery.suggestions> | ReturnType<typeof sifaQueryKeys.discovery.suggestionCount> | ReturnType<typeof sifaQueryKeys.discovery.featured> | ReturnType<typeof sifaQueryKeys.follow.all> | ReturnType<typeof sifaQueryKeys.follow.following> | ReturnType<typeof sifaQueryKeys.follow.followers> | ReturnType<typeof sifaQueryKeys.follow.followingOf> | ReturnType<typeof sifaQueryKeys.follow.feed> | ReturnType<typeof sifaQueryKeys.follow.mutuals> | ReturnType<typeof sifaQueryKeys.follow.blueskySuggestions> | ReturnType<typeof sifaQueryKeys.admin.all> | ReturnType<typeof sifaQueryKeys.admin.featureAllowlist> | ReturnType<typeof sifaQueryKeys.admin.reviewQueues> | ReturnType<typeof sifaQueryKeys.stats.all> | ReturnType<typeof sifaQueryKeys.stats.homepage> | ReturnType<typeof sifaQueryKeys.apps.all> | ReturnType<typeof sifaQueryKeys.apps.registry> | ReturnType<typeof sifaQueryKeys.apps.hidden> | ReturnType<typeof sifaQueryKeys.activity.all> | ReturnType<typeof sifaQueryKeys.activity.heatmap> | ReturnType<typeof sifaQueryKeys.activity.teaser> | ReturnType<typeof sifaQueryKeys.activity.feed> | ReturnType<typeof sifaQueryKeys.activity.hiddenItems> | ReturnType<typeof sifaQueryKeys.activity.preferences> | ReturnType<typeof sifaQueryKeys.activity.sitePreset> | ReturnType<typeof sifaQueryKeys.endorsement.all> | ReturnType<typeof sifaQueryKeys.endorsement.count> | ReturnType<typeof sifaQueryKeys.endorsement.pending> | ReturnType<typeof sifaQueryKeys.endorsement.reciprocity> | ReturnType<typeof sifaQueryKeys.endorsement.received> | ReturnType<typeof sifaQueryKeys.confirmation.all> | ReturnType<typeof sifaQueryKeys.confirmation.pending> | ReturnType<typeof sifaQueryKeys.confirmation.given> | ReturnType<typeof sifaQueryKeys.stream.all> | ReturnType<typeof sifaQueryKeys.stream.networkCount> | ReturnType<typeof sifaQueryKeys.reactions.all> | ReturnType<typeof sifaQueryKeys.reactions.status> | ReturnType<typeof sifaQueryKeys.reactions.accountCheck> | ReturnType<typeof sifaQueryKeys.bskyPreferences.all> | ReturnType<typeof sifaQueryKeys.bskyPreferences.contentLabels> | ReturnType<typeof sifaQueryKeys.userSettings.all> | ReturnType<typeof sifaQueryKeys.destructive.all> | ReturnType<typeof sifaQueryKeys.destructive.wipePreview> | ReturnType<typeof sifaQueryKeys.repoInventory.all> | ReturnType<typeof sifaQueryKeys.repoInventory.list>;
1926
1892
 
1927
1893
  /** How a single entity binding was resolved during a claim. */
1928
1894
  interface OrgClaimBinding {
@@ -2037,4 +2003,4 @@ declare function fetchUserSettings(config: SifaApiConfig, options?: FetchUserSet
2037
2003
  /** Save the given preferences. Returns the stored settings, or `null` on failure. */
2038
2004
  declare function updateUserSettings(config: SifaApiConfig, patch: UserSettingsPatch): Promise<UserSettings | null>;
2039
2005
 
2040
- export { type FollowingFeedResponse as $, type AccountCheckResult as A, type BulkHideProfileItemInput as B, type ConfirmEndorsementInput as C, type DeleteAccountResult as D, type EndorsementInput as E, type FeatureAllowlistResponse as F, type FetchFollowingFeedOptions as G, type FetchHiddenActivityItemsOptions as H, type FetchHiddenAppsOptions as I, type FetchInboxCountsOptions as J, type FetchMyGithubPullRequestsOptions as K, type FetchMyRoadmapVotesOptions as L, type FetchProfileCompletenessOptions as M, type FetchReactionStatusOptions as N, type FetchRoadmapOptions as O, type FetchRpgClaimableOptions as P, type FetchRpgStatusOptions as Q, type FetchSuggestionsOptions as R, type FetchUnlinkedPositionsOptions as S, type FetchUserSettingsOptions as T, type FollowListPage as U, type FollowProfile as V, type FollowProfilePageResponse as W, type FollowUserResult as X, type FollowingFeedApp as Y, type FollowingFeedBuild as Z, type FollowingFeedEmptyReason as _, type ConfirmEndorsementResult as a, RpgStatusResponseSchema as a$, type FollowingFeedVersion as a0, type FollowingResponse as a1, type GetAdminReviewQueuesOptions as a2, type GithubPullRequest as a3, type GivenConfirmation as a4, HIDDEN_ITEM_SOURCES as a5, HIDDEN_ITEM_TYPES as a6, type HeatmapDay as a7, type HeatmapResponse as a8, type HiddenActivityItem as a9, type ProfileSelfLocation as aA, QUOTED_POSTS_BATCH_MAX as aB, type QuotedPostAuthor as aC, type QuotedPostImage as aD, type QuotedPostResult as aE, type QuotedPostView as aF, type ReactionError as aG, type ReactionResult as aH, type ReactionStatus as aI, type RefreshOrcidPublicationsResult as aJ, type RefreshPdsResult as aK, type RepoDeleteInput as aL, type ResetProfileResult as aM, type ResolveQuotedPostsOptions as aN, type RoadmapBoardItem as aO, type RoadmapBoardSize as aP, type RoadmapBoardStatus as aQ, type RoadmapItemRef as aR, type RoadmapVoteError as aS, type RoadmapVoteResult as aT, type RoadmapVoter as aU, type RoadmapVotesResponse as aV, type RpgClaimableResponse as aW, RpgClaimableResponseSchema as aX, type RpgItemStatus as aY, RpgItemStatusSchema as aZ, type RpgStatusResponse as a_, type HiddenApp as aa, type HiddenItemSource as ab, type HiddenItemType as ac, type HideActivityItemInput as ad, type HideProfileItemInput as ae, type InboxCounts as af, type ListFeatureAllowlistOptions as ag, type MyGithubPullRequestsResponse as ah, type OrgClaimBinding as ai, type OrgClaimResult as aj, type OrgDomainChallengeResult as ak, type OrgDomainVerifyResult as al, type OrgNotificationEmailAddResult as am, type OrgNotificationEmailRemoveResult as an, type OrgProfileEcho as ao, type OrgProfileUpdateResult as ap, PROFILE_COMPLETENESS_SIGNALS as aq, type PdsWipeOutcome as ar, type PendingConfirmation as as, type PendingConfirmationsPage as at, type PrimarySection as au, type ProfileCompleteness as av, type ProfileCompletenessSignal as aw, type ProfileIndustryInput as ax, type ProfileLocationAddress as ay, type ProfileLocationInput as az, type AccountSummary as b, fetchMyGithubPullRequests as b$, type SifaQueryKey as b0, type SimilarProfile as b1, type SiteActivityPresetResponse as b2, type StatsResponse as b3, type SubCategoryBulkResult as b4, type SuggestionProfile as b5, type SuggestionsResponse as b6, type UnhideActivityItemInput as b7, type UnlinkedPosition as b8, type UnlinkedPositionsResult as b9, createSkill as bA, deleteAccount as bB, deleteAvatarOverride as bC, deleteExternalAccount as bD, deleteNamePronunciationAudio as bE, deleteProfileLocation as bF, deleteReaction as bG, deleteRepoRecords as bH, deleteSkill as bI, dismissCompletenessSignal as bJ, dismissConfirmation as bK, dismissUnlinkedPosition as bL, fetchAccounts as bM, fetchActivityFeed as bN, fetchActivityPreferences as bO, fetchActivityTeaser as bP, fetchAppsRegistry as bQ, fetchExternalAccounts as bR, fetchFeaturedProfile as bS, fetchFollowing as bT, fetchFollowingFeed as bU, fetchFollowingFeedVersion as bV, fetchGivenConfirmations as bW, fetchHeatmapData as bX, fetchHiddenActivityItems as bY, fetchHiddenApps as bZ, fetchInboxCounts as b_, type UpdateActivityPreferencesInput as ba, type UpdateProfileOverrideInput as bb, type UpdateProfileSelfInput as bc, type UploadAvatarResult as bd, type UploadPronunciationAudioResult as be, type UserSettings as bf, type UserSettingsPatch as bg, UserSettingsSchema as bh, type VerifyExternalAccountResult as bi, type WipePreview as bj, addFeatureAllowlist as bk, addOrgNotificationEmail as bl, bulkHideProfileItems as bm, bulkHideStandardPublications as bn, bulkUnhideProfileItems as bo, bulkUnhideStandardPublications as bp, castRoadmapItemVote as bq, castRoadmapVote as br, checkAppAccount as bs, clearCompletenessDismissals as bt, confirmEndorsement as bu, createConfirmation as bv, createEndorsement as bw, createExternalAccount as bx, createProfileLocation as by, createReaction as bz, type ActivityFeedResponse as c, uploadAvatar as c$, fetchMyRoadmapVotes as c0, fetchPendingConfirmations as c1, fetchProfileCompleteness as c2, fetchReactionStatus as c3, fetchRepoInventory as c4, fetchRoadmap as c5, fetchRoadmapVotes as c6, fetchRpgClaimable as c7, fetchRpgStatus as c8, fetchSimilarProfiles as c9, requestOrgDomainChallenge as cA, resetProfile as cB, resolveQuotedPosts as cC, retractRoadmapItemVote as cD, retractRoadmapVote as cE, revokeConfirmation as cF, setExternalAccountPrimary as cG, setSectionPrimary as cH, submitOrgClaim as cI, switchAccount as cJ, unfollowUser as cK, unhideActivityItem as cL, unhideOrcidPublication as cM, unhideProfileItem as cN, unhideSifaPublication as cO, unhideStandardPublication as cP, unsetExternalAccountPrimary as cQ, unsetSectionPrimary as cR, updateActivityPreferences as cS, updateExternalAccount as cT, updateOrgProfile as cU, updateProfileLocation as cV, updateProfileOverride as cW, updateProfileSelf as cX, updateSkill as cY, updateSkillSubCategories as cZ, updateUserSettings as c_, fetchSiteActivityPreset as ca, fetchStats as cb, fetchSuggestionCount as cc, fetchSuggestions as cd, fetchUnlinkedPositions as ce, fetchUserSettings as cf, fetchViewerPositionConfirmations as cg, fetchWipePreview as ch, followUser as ci, getAdminReviewQueues as cj, getBlueskySuggestions as ck, getFollowers as cl, getFollowing as cm, getMutuals as cn, hideActivityItem as co, hideOrcidPublication as cp, hideProfileItem as cq, hideSifaPublication as cr, hideStandardPublication as cs, isNewerFollowingFeed as ct, listFeatureAllowlist as cu, refreshOrcidPublications as cv, refreshPds as cw, removeFeatureAllowlist as cx, removeOrgNotificationEmail as cy, repoExportUrl as cz, type ActivityItem as d, uploadNamePronunciationAudio as d0, verifyExternalAccount as d1, verifyOrgDomain as d2, type ActivityItemLinkHealth as e, type ActivityPreferences as f, type ActivityTeaserResponse as g, type AdminReviewQueues as h, type AppRegistryEntry as i, type CastRoadmapVoteResult as j, type CheckAppAccountOptions as k, type ConfirmationInput as l, type ConfirmationSubjectInput as m, type CreateExternalAccountResult as n, type DismissCompletenessSignalInput as o, type DismissUnlinkedPositionInput as p, type ExternalAccountInput as q, type FeaturedProfile as r, sifaQueryKeys as s, type FetchAccountsOptions as t, type FetchActivityFeedOptions as u, type FetchActivityPreferencesOptions as v, type FetchActivityTeaserOptions as w, type FetchConfirmationsOptions as x, type FetchFollowListOptions as y, type FetchFollowProfilePageOptions as z };
2006
+ export { type FollowingFeedVersion as $, type AccountCheckResult as A, type BulkHideProfileItemInput as B, type ConfirmEndorsementInput as C, type DeleteAccountResult as D, type EndorsementInput as E, type FeatureAllowlistResponse as F, type FetchFollowingFeedOptions as G, type FetchHiddenActivityItemsOptions as H, type FetchHiddenAppsOptions as I, type FetchInboxCountsOptions as J, type FetchMyGithubPullRequestsOptions as K, type FetchProfileCompletenessOptions as L, type FetchReactionStatusOptions as M, type FetchRoadmapOptions as N, type FetchRpgClaimableOptions as O, type FetchRpgStatusOptions as P, type FetchSuggestionsOptions as Q, type FetchUnlinkedPositionsOptions as R, type FetchUserSettingsOptions as S, type FollowListPage as T, type FollowProfile as U, type FollowProfilePageResponse as V, type FollowUserResult as W, type FollowingFeedApp as X, type FollowingFeedBuild as Y, type FollowingFeedEmptyReason as Z, type FollowingFeedResponse as _, type ConfirmEndorsementResult as a, type SimilarProfile as a$, type FollowingResponse as a0, type GetAdminReviewQueuesOptions as a1, type GithubPullRequest as a2, type GivenConfirmation as a3, HIDDEN_ITEM_SOURCES as a4, HIDDEN_ITEM_TYPES as a5, type HeatmapDay as a6, type HeatmapResponse as a7, type HiddenActivityItem as a8, type HiddenApp as a9, QUOTED_POSTS_BATCH_MAX as aA, type QuotedPostAuthor as aB, type QuotedPostImage as aC, type QuotedPostResult as aD, type QuotedPostView as aE, type ReactionError as aF, type ReactionResult as aG, type ReactionStatus as aH, type RefreshOrcidPublicationsResult as aI, type RefreshPdsResult as aJ, type RepoDeleteInput as aK, type ResetProfileResult as aL, type ResolveQuotedPostsOptions as aM, type RoadmapBoardItem as aN, type RoadmapBoardSize as aO, type RoadmapBoardStatus as aP, type RoadmapItemRef as aQ, type RoadmapVoteError as aR, type RoadmapVoteResult as aS, type RoadmapVoter as aT, type RpgClaimableResponse as aU, RpgClaimableResponseSchema as aV, type RpgItemStatus as aW, RpgItemStatusSchema as aX, type RpgStatusResponse as aY, RpgStatusResponseSchema as aZ, type SifaQueryKey as a_, type HiddenItemSource as aa, type HiddenItemType as ab, type HideActivityItemInput as ac, type HideProfileItemInput as ad, type InboxCounts as ae, type ListFeatureAllowlistOptions as af, type MyGithubPullRequestsResponse as ag, type OrgClaimBinding as ah, type OrgClaimResult as ai, type OrgDomainChallengeResult as aj, type OrgDomainVerifyResult as ak, type OrgNotificationEmailAddResult as al, type OrgNotificationEmailRemoveResult as am, type OrgProfileEcho as an, type OrgProfileUpdateResult as ao, PROFILE_COMPLETENESS_SIGNALS as ap, type PdsWipeOutcome as aq, type PendingConfirmation as ar, type PendingConfirmationsPage as as, type PrimarySection as at, type ProfileCompleteness as au, type ProfileCompletenessSignal as av, type ProfileIndustryInput as aw, type ProfileLocationAddress as ax, type ProfileLocationInput as ay, type ProfileSelfLocation as az, type AccountSummary as b, fetchReactionStatus as b$, type SiteActivityPresetResponse as b0, type StatsResponse as b1, type SubCategoryBulkResult as b2, type SuggestionProfile as b3, type SuggestionsResponse as b4, type UnhideActivityItemInput as b5, type UnlinkedPosition as b6, type UnlinkedPositionsResult as b7, type UpdateActivityPreferencesInput as b8, type UpdateProfileOverrideInput as b9, deleteExternalAccount as bA, deleteNamePronunciationAudio as bB, deleteProfileLocation as bC, deleteReaction as bD, deleteRepoRecords as bE, deleteSkill as bF, dismissCompletenessSignal as bG, dismissConfirmation as bH, dismissUnlinkedPosition as bI, fetchAccounts as bJ, fetchActivityFeed as bK, fetchActivityPreferences as bL, fetchActivityTeaser as bM, fetchAppsRegistry as bN, fetchExternalAccounts as bO, fetchFeaturedProfile as bP, fetchFollowing as bQ, fetchFollowingFeed as bR, fetchFollowingFeedVersion as bS, fetchGivenConfirmations as bT, fetchHeatmapData as bU, fetchHiddenActivityItems as bV, fetchHiddenApps as bW, fetchInboxCounts as bX, fetchMyGithubPullRequests as bY, fetchPendingConfirmations as bZ, fetchProfileCompleteness as b_, type UpdateProfileSelfInput as ba, type UploadAvatarResult as bb, type UploadPronunciationAudioResult as bc, type UserSettings as bd, type UserSettingsPatch as be, UserSettingsSchema as bf, type VerifyExternalAccountResult as bg, type WipePreview as bh, addFeatureAllowlist as bi, addOrgNotificationEmail as bj, bulkHideProfileItems as bk, bulkHideStandardPublications as bl, bulkUnhideProfileItems as bm, bulkUnhideStandardPublications as bn, castRoadmapItemVote as bo, checkAppAccount as bp, clearCompletenessDismissals as bq, confirmEndorsement as br, createConfirmation as bs, createEndorsement as bt, createExternalAccount as bu, createProfileLocation as bv, createReaction as bw, createSkill as bx, deleteAccount as by, deleteAvatarOverride as bz, type ActivityFeedResponse as c, fetchRepoInventory as c0, fetchRoadmap as c1, fetchRpgClaimable as c2, fetchRpgStatus as c3, fetchSimilarProfiles as c4, fetchSiteActivityPreset as c5, fetchStats as c6, fetchSuggestionCount as c7, fetchSuggestions as c8, fetchUnlinkedPositions as c9, setExternalAccountPrimary as cA, setSectionPrimary as cB, submitOrgClaim as cC, switchAccount as cD, unfollowUser as cE, unhideActivityItem as cF, unhideOrcidPublication as cG, unhideProfileItem as cH, unhideSifaPublication as cI, unhideStandardPublication as cJ, unsetExternalAccountPrimary as cK, unsetSectionPrimary as cL, updateActivityPreferences as cM, updateExternalAccount as cN, updateOrgProfile as cO, updateProfileLocation as cP, updateProfileOverride as cQ, updateProfileSelf as cR, updateSkill as cS, updateSkillSubCategories as cT, updateUserSettings as cU, uploadAvatar as cV, uploadNamePronunciationAudio as cW, verifyExternalAccount as cX, verifyOrgDomain as cY, fetchUserSettings as ca, fetchViewerPositionConfirmations as cb, fetchWipePreview as cc, followUser as cd, getAdminReviewQueues as ce, getBlueskySuggestions as cf, getFollowers as cg, getFollowing as ch, getMutuals as ci, hideActivityItem as cj, hideOrcidPublication as ck, hideProfileItem as cl, hideSifaPublication as cm, hideStandardPublication as cn, isNewerFollowingFeed as co, listFeatureAllowlist as cp, refreshOrcidPublications as cq, refreshPds as cr, removeFeatureAllowlist as cs, removeOrgNotificationEmail as ct, repoExportUrl as cu, requestOrgDomainChallenge as cv, resetProfile as cw, resolveQuotedPosts as cx, retractRoadmapItemVote as cy, revokeConfirmation as cz, type ActivityItem as d, type ActivityItemLinkHealth as e, type ActivityPreferences as f, type ActivityTeaserResponse as g, type AdminReviewQueues as h, type AppRegistryEntry as i, type CastRoadmapVoteResult as j, type CheckAppAccountOptions as k, type ConfirmationInput as l, type ConfirmationSubjectInput as m, type CreateExternalAccountResult as n, type DismissCompletenessSignalInput as o, type DismissUnlinkedPositionInput as p, type ExternalAccountInput as q, type FeaturedProfile as r, sifaQueryKeys as s, type FetchAccountsOptions as t, type FetchActivityFeedOptions as u, type FetchActivityPreferencesOptions as v, type FetchActivityTeaserOptions as w, type FetchConfirmationsOptions as x, type FetchFollowListOptions as y, type FetchFollowProfilePageOptions as z };
@@ -1518,34 +1518,12 @@ interface RoadmapVoter {
1518
1518
  did: string;
1519
1519
  avatarUrl?: string;
1520
1520
  }
1521
- /** Map of item key -> vote tally and voter list. */
1522
- type RoadmapVotesResponse = Record<string, {
1523
- count: number;
1524
- voters: RoadmapVoter[];
1525
- }>;
1526
- /**
1527
- * Public roadmap vote tallies, keyed by item. Returns `{}` on any error.
1528
- */
1529
- declare function fetchRoadmapVotes(config: SifaApiConfig, options?: ApiFetchOptions): Promise<RoadmapVotesResponse>;
1530
- interface FetchMyRoadmapVotesOptions extends ApiFetchOptions {
1531
- /**
1532
- * Pass the caller's `Cookie` header on Next.js RSC server-side calls.
1533
- * Required for authenticated server fetches because `credentials: 'include'`
1534
- * does not propagate browser cookies in RSC.
1535
- */
1536
- cookieHeader?: string;
1537
- }
1538
- /**
1539
- * Roadmap items the authenticated user has voted on. Returns `[]` on any
1540
- * error or when the response payload is shaped unexpectedly.
1541
- */
1542
- declare function fetchMyRoadmapVotes(config: SifaApiConfig, options?: FetchMyRoadmapVotesOptions): Promise<string[]>;
1543
- /** Result of a successful {@link castRoadmapVote} -- the created upvote record. */
1521
+ /** Result of a successful roadmap vote -- the created upvote record. */
1544
1522
  interface RoadmapVoteResult {
1545
1523
  uri: string;
1546
1524
  rkey: string;
1547
1525
  }
1548
- /** Structured error returned by {@link castRoadmapVote} on failure. */
1526
+ /** Structured error returned by {@link castRoadmapItemVote} on failure. */
1549
1527
  interface RoadmapVoteError {
1550
1528
  type: 'scope_insufficient' | 'error';
1551
1529
  /**
@@ -1556,8 +1534,8 @@ interface RoadmapVoteError {
1556
1534
  requiredScope?: string;
1557
1535
  }
1558
1536
  /**
1559
- * Discriminated-union result of {@link castRoadmapVote}. Exported so the
1560
- * `useCastRoadmapVote` hook and SDK consumers can type mutation handlers
1537
+ * Discriminated-union result of {@link castRoadmapItemVote}. Exported so the
1538
+ * `useCastRoadmapItemVote` hook and SDK consumers can type mutation handlers
1561
1539
  * against a single source of truth.
1562
1540
  */
1563
1541
  type CastRoadmapVoteResult = {
@@ -1567,21 +1545,6 @@ type CastRoadmapVoteResult = {
1567
1545
  ok: false;
1568
1546
  error: RoadmapVoteError;
1569
1547
  };
1570
- /**
1571
- * Cast a vote on a roadmap item by its key.
1572
- *
1573
- * Writes an `app.userinput.upvote` record into the viewer's PDS (server-side,
1574
- * via their OAuth session). Returns a discriminated-union result rather than
1575
- * the generic {@link WriteResult} because a first-time voter's PDS grant may
1576
- * not yet include the `app.userinput.upvote` collection: the AppView responds
1577
- * 403 `ScopeInsufficient`, which the caller handles by triggering an OAuth
1578
- * scope upgrade rather than showing an error. Mirrors {@link createReaction}.
1579
- *
1580
- * Never throws.
1581
- */
1582
- declare function castRoadmapVote(config: SifaApiConfig, key: string, options?: ApiFetchOptions): Promise<CastRoadmapVoteResult>;
1583
- /** Retract a previously-cast roadmap vote. */
1584
- declare function retractRoadmapVote(config: SifaApiConfig, key: string, options?: ApiFetchOptions): Promise<WriteResult>;
1585
1548
  /** Roadmap group of a board item (sifa-api `GET /api/roadmap`). */
1586
1549
  type RoadmapBoardStatus = 'done' | 'in-progress' | 'planned' | 'later' | 'under-review';
1587
1550
  type RoadmapBoardSize = 'small' | 'medium' | 'epic';
@@ -1627,8 +1590,16 @@ interface FetchRoadmapOptions extends ApiFetchOptions {
1627
1590
  */
1628
1591
  declare function fetchRoadmap(config: SifaApiConfig, options?: FetchRoadmapOptions): Promise<RoadmapBoardItem[] | null>;
1629
1592
  /**
1630
- * Vote on a roadmap board item. Same result shape and scope handling as
1631
- * {@link castRoadmapVote}. Never throws.
1593
+ * Vote on a roadmap board item, identified by its `{ did, rkey }`.
1594
+ *
1595
+ * Writes an `app.userinput.upvote` record into the viewer's PDS (server-side,
1596
+ * via their OAuth session). Returns a discriminated-union result rather than
1597
+ * the generic {@link WriteResult} because a first-time voter's PDS grant may
1598
+ * not yet include the `app.userinput.upvote` collection: the AppView responds
1599
+ * 403 `ScopeInsufficient`, which the caller handles by triggering an OAuth
1600
+ * scope upgrade rather than showing an error. Mirrors {@link createReaction}.
1601
+ *
1602
+ * Never throws.
1632
1603
  */
1633
1604
  declare function castRoadmapItemVote(config: SifaApiConfig, item: RoadmapItemRef, options?: ApiFetchOptions): Promise<CastRoadmapVoteResult>;
1634
1605
  /** Retract a vote on a roadmap board item. */
@@ -1901,11 +1872,6 @@ declare const sifaQueryKeys: {
1901
1872
  readonly status: (uris: string[]) => readonly ["sifa", "reactions", "status", string[]];
1902
1873
  readonly accountCheck: (appId: string) => readonly ["sifa", "reactions", "account-check", string];
1903
1874
  };
1904
- readonly roadmap: {
1905
- readonly all: () => readonly ["sifa", "roadmap"];
1906
- readonly votes: () => readonly ["sifa", "roadmap", "votes"];
1907
- readonly myVotes: () => readonly ["sifa", "roadmap", "my-votes"];
1908
- };
1909
1875
  readonly bskyPreferences: {
1910
1876
  readonly all: () => readonly ["sifa", "bsky-preferences"];
1911
1877
  readonly contentLabels: () => readonly ["sifa", "bsky-preferences", "content-labels"];
@@ -1922,7 +1888,7 @@ declare const sifaQueryKeys: {
1922
1888
  readonly wipePreview: () => readonly ["sifa", "destructive", "wipe-preview"];
1923
1889
  };
1924
1890
  };
1925
- type SifaQueryKey = ReturnType<typeof sifaQueryKeys.all> | ReturnType<typeof sifaQueryKeys.profile.all> | ReturnType<typeof sifaQueryKeys.profile.byHandle> | ReturnType<typeof sifaQueryKeys.profile.atFundLink> | ReturnType<typeof sifaQueryKeys.profile.externalAccounts> | ReturnType<typeof sifaQueryKeys.profile.completeness> | ReturnType<typeof sifaQueryKeys.position.all> | ReturnType<typeof sifaQueryKeys.position.byOwner> | ReturnType<typeof sifaQueryKeys.position.unlinked> | ReturnType<typeof sifaQueryKeys.inbox.all> | ReturnType<typeof sifaQueryKeys.inbox.counts> | ReturnType<typeof sifaQueryKeys.rpg.all> | ReturnType<typeof sifaQueryKeys.rpg.claimable> | ReturnType<typeof sifaQueryKeys.rpg.status> | ReturnType<typeof sifaQueryKeys.search.all> | ReturnType<typeof sifaQueryKeys.search.profiles> | ReturnType<typeof sifaQueryKeys.search.canonicalSkills> | ReturnType<typeof sifaQueryKeys.search.skills> | ReturnType<typeof sifaQueryKeys.search.filters> | ReturnType<typeof sifaQueryKeys.entity.all> | ReturnType<typeof sifaQueryKeys.entity.search> | ReturnType<typeof sifaQueryKeys.discovery.all> | ReturnType<typeof sifaQueryKeys.discovery.similar> | ReturnType<typeof sifaQueryKeys.discovery.suggestions> | ReturnType<typeof sifaQueryKeys.discovery.suggestionCount> | ReturnType<typeof sifaQueryKeys.discovery.featured> | ReturnType<typeof sifaQueryKeys.follow.all> | ReturnType<typeof sifaQueryKeys.follow.following> | ReturnType<typeof sifaQueryKeys.follow.followers> | ReturnType<typeof sifaQueryKeys.follow.followingOf> | ReturnType<typeof sifaQueryKeys.follow.feed> | ReturnType<typeof sifaQueryKeys.follow.mutuals> | ReturnType<typeof sifaQueryKeys.follow.blueskySuggestions> | ReturnType<typeof sifaQueryKeys.admin.all> | ReturnType<typeof sifaQueryKeys.admin.featureAllowlist> | ReturnType<typeof sifaQueryKeys.admin.reviewQueues> | ReturnType<typeof sifaQueryKeys.stats.all> | ReturnType<typeof sifaQueryKeys.stats.homepage> | ReturnType<typeof sifaQueryKeys.apps.all> | ReturnType<typeof sifaQueryKeys.apps.registry> | ReturnType<typeof sifaQueryKeys.apps.hidden> | ReturnType<typeof sifaQueryKeys.activity.all> | ReturnType<typeof sifaQueryKeys.activity.heatmap> | ReturnType<typeof sifaQueryKeys.activity.teaser> | ReturnType<typeof sifaQueryKeys.activity.feed> | ReturnType<typeof sifaQueryKeys.activity.hiddenItems> | ReturnType<typeof sifaQueryKeys.activity.preferences> | ReturnType<typeof sifaQueryKeys.activity.sitePreset> | ReturnType<typeof sifaQueryKeys.endorsement.all> | ReturnType<typeof sifaQueryKeys.endorsement.count> | ReturnType<typeof sifaQueryKeys.endorsement.pending> | ReturnType<typeof sifaQueryKeys.endorsement.reciprocity> | ReturnType<typeof sifaQueryKeys.endorsement.received> | ReturnType<typeof sifaQueryKeys.confirmation.all> | ReturnType<typeof sifaQueryKeys.confirmation.pending> | ReturnType<typeof sifaQueryKeys.confirmation.given> | ReturnType<typeof sifaQueryKeys.stream.all> | ReturnType<typeof sifaQueryKeys.stream.networkCount> | ReturnType<typeof sifaQueryKeys.reactions.all> | ReturnType<typeof sifaQueryKeys.reactions.status> | ReturnType<typeof sifaQueryKeys.reactions.accountCheck> | ReturnType<typeof sifaQueryKeys.roadmap.all> | ReturnType<typeof sifaQueryKeys.roadmap.votes> | ReturnType<typeof sifaQueryKeys.roadmap.myVotes> | ReturnType<typeof sifaQueryKeys.bskyPreferences.all> | ReturnType<typeof sifaQueryKeys.bskyPreferences.contentLabels> | ReturnType<typeof sifaQueryKeys.userSettings.all> | ReturnType<typeof sifaQueryKeys.destructive.all> | ReturnType<typeof sifaQueryKeys.destructive.wipePreview> | ReturnType<typeof sifaQueryKeys.repoInventory.all> | ReturnType<typeof sifaQueryKeys.repoInventory.list>;
1891
+ type SifaQueryKey = ReturnType<typeof sifaQueryKeys.all> | ReturnType<typeof sifaQueryKeys.profile.all> | ReturnType<typeof sifaQueryKeys.profile.byHandle> | ReturnType<typeof sifaQueryKeys.profile.atFundLink> | ReturnType<typeof sifaQueryKeys.profile.externalAccounts> | ReturnType<typeof sifaQueryKeys.profile.completeness> | ReturnType<typeof sifaQueryKeys.position.all> | ReturnType<typeof sifaQueryKeys.position.byOwner> | ReturnType<typeof sifaQueryKeys.position.unlinked> | ReturnType<typeof sifaQueryKeys.inbox.all> | ReturnType<typeof sifaQueryKeys.inbox.counts> | ReturnType<typeof sifaQueryKeys.rpg.all> | ReturnType<typeof sifaQueryKeys.rpg.claimable> | ReturnType<typeof sifaQueryKeys.rpg.status> | ReturnType<typeof sifaQueryKeys.search.all> | ReturnType<typeof sifaQueryKeys.search.profiles> | ReturnType<typeof sifaQueryKeys.search.canonicalSkills> | ReturnType<typeof sifaQueryKeys.search.skills> | ReturnType<typeof sifaQueryKeys.search.filters> | ReturnType<typeof sifaQueryKeys.entity.all> | ReturnType<typeof sifaQueryKeys.entity.search> | ReturnType<typeof sifaQueryKeys.discovery.all> | ReturnType<typeof sifaQueryKeys.discovery.similar> | ReturnType<typeof sifaQueryKeys.discovery.suggestions> | ReturnType<typeof sifaQueryKeys.discovery.suggestionCount> | ReturnType<typeof sifaQueryKeys.discovery.featured> | ReturnType<typeof sifaQueryKeys.follow.all> | ReturnType<typeof sifaQueryKeys.follow.following> | ReturnType<typeof sifaQueryKeys.follow.followers> | ReturnType<typeof sifaQueryKeys.follow.followingOf> | ReturnType<typeof sifaQueryKeys.follow.feed> | ReturnType<typeof sifaQueryKeys.follow.mutuals> | ReturnType<typeof sifaQueryKeys.follow.blueskySuggestions> | ReturnType<typeof sifaQueryKeys.admin.all> | ReturnType<typeof sifaQueryKeys.admin.featureAllowlist> | ReturnType<typeof sifaQueryKeys.admin.reviewQueues> | ReturnType<typeof sifaQueryKeys.stats.all> | ReturnType<typeof sifaQueryKeys.stats.homepage> | ReturnType<typeof sifaQueryKeys.apps.all> | ReturnType<typeof sifaQueryKeys.apps.registry> | ReturnType<typeof sifaQueryKeys.apps.hidden> | ReturnType<typeof sifaQueryKeys.activity.all> | ReturnType<typeof sifaQueryKeys.activity.heatmap> | ReturnType<typeof sifaQueryKeys.activity.teaser> | ReturnType<typeof sifaQueryKeys.activity.feed> | ReturnType<typeof sifaQueryKeys.activity.hiddenItems> | ReturnType<typeof sifaQueryKeys.activity.preferences> | ReturnType<typeof sifaQueryKeys.activity.sitePreset> | ReturnType<typeof sifaQueryKeys.endorsement.all> | ReturnType<typeof sifaQueryKeys.endorsement.count> | ReturnType<typeof sifaQueryKeys.endorsement.pending> | ReturnType<typeof sifaQueryKeys.endorsement.reciprocity> | ReturnType<typeof sifaQueryKeys.endorsement.received> | ReturnType<typeof sifaQueryKeys.confirmation.all> | ReturnType<typeof sifaQueryKeys.confirmation.pending> | ReturnType<typeof sifaQueryKeys.confirmation.given> | ReturnType<typeof sifaQueryKeys.stream.all> | ReturnType<typeof sifaQueryKeys.stream.networkCount> | ReturnType<typeof sifaQueryKeys.reactions.all> | ReturnType<typeof sifaQueryKeys.reactions.status> | ReturnType<typeof sifaQueryKeys.reactions.accountCheck> | ReturnType<typeof sifaQueryKeys.bskyPreferences.all> | ReturnType<typeof sifaQueryKeys.bskyPreferences.contentLabels> | ReturnType<typeof sifaQueryKeys.userSettings.all> | ReturnType<typeof sifaQueryKeys.destructive.all> | ReturnType<typeof sifaQueryKeys.destructive.wipePreview> | ReturnType<typeof sifaQueryKeys.repoInventory.all> | ReturnType<typeof sifaQueryKeys.repoInventory.list>;
1926
1892
 
1927
1893
  /** How a single entity binding was resolved during a claim. */
1928
1894
  interface OrgClaimBinding {
@@ -2037,4 +2003,4 @@ declare function fetchUserSettings(config: SifaApiConfig, options?: FetchUserSet
2037
2003
  /** Save the given preferences. Returns the stored settings, or `null` on failure. */
2038
2004
  declare function updateUserSettings(config: SifaApiConfig, patch: UserSettingsPatch): Promise<UserSettings | null>;
2039
2005
 
2040
- export { type FollowingFeedResponse as $, type AccountCheckResult as A, type BulkHideProfileItemInput as B, type ConfirmEndorsementInput as C, type DeleteAccountResult as D, type EndorsementInput as E, type FeatureAllowlistResponse as F, type FetchFollowingFeedOptions as G, type FetchHiddenActivityItemsOptions as H, type FetchHiddenAppsOptions as I, type FetchInboxCountsOptions as J, type FetchMyGithubPullRequestsOptions as K, type FetchMyRoadmapVotesOptions as L, type FetchProfileCompletenessOptions as M, type FetchReactionStatusOptions as N, type FetchRoadmapOptions as O, type FetchRpgClaimableOptions as P, type FetchRpgStatusOptions as Q, type FetchSuggestionsOptions as R, type FetchUnlinkedPositionsOptions as S, type FetchUserSettingsOptions as T, type FollowListPage as U, type FollowProfile as V, type FollowProfilePageResponse as W, type FollowUserResult as X, type FollowingFeedApp as Y, type FollowingFeedBuild as Z, type FollowingFeedEmptyReason as _, type ConfirmEndorsementResult as a, RpgStatusResponseSchema as a$, type FollowingFeedVersion as a0, type FollowingResponse as a1, type GetAdminReviewQueuesOptions as a2, type GithubPullRequest as a3, type GivenConfirmation as a4, HIDDEN_ITEM_SOURCES as a5, HIDDEN_ITEM_TYPES as a6, type HeatmapDay as a7, type HeatmapResponse as a8, type HiddenActivityItem as a9, type ProfileSelfLocation as aA, QUOTED_POSTS_BATCH_MAX as aB, type QuotedPostAuthor as aC, type QuotedPostImage as aD, type QuotedPostResult as aE, type QuotedPostView as aF, type ReactionError as aG, type ReactionResult as aH, type ReactionStatus as aI, type RefreshOrcidPublicationsResult as aJ, type RefreshPdsResult as aK, type RepoDeleteInput as aL, type ResetProfileResult as aM, type ResolveQuotedPostsOptions as aN, type RoadmapBoardItem as aO, type RoadmapBoardSize as aP, type RoadmapBoardStatus as aQ, type RoadmapItemRef as aR, type RoadmapVoteError as aS, type RoadmapVoteResult as aT, type RoadmapVoter as aU, type RoadmapVotesResponse as aV, type RpgClaimableResponse as aW, RpgClaimableResponseSchema as aX, type RpgItemStatus as aY, RpgItemStatusSchema as aZ, type RpgStatusResponse as a_, type HiddenApp as aa, type HiddenItemSource as ab, type HiddenItemType as ac, type HideActivityItemInput as ad, type HideProfileItemInput as ae, type InboxCounts as af, type ListFeatureAllowlistOptions as ag, type MyGithubPullRequestsResponse as ah, type OrgClaimBinding as ai, type OrgClaimResult as aj, type OrgDomainChallengeResult as ak, type OrgDomainVerifyResult as al, type OrgNotificationEmailAddResult as am, type OrgNotificationEmailRemoveResult as an, type OrgProfileEcho as ao, type OrgProfileUpdateResult as ap, PROFILE_COMPLETENESS_SIGNALS as aq, type PdsWipeOutcome as ar, type PendingConfirmation as as, type PendingConfirmationsPage as at, type PrimarySection as au, type ProfileCompleteness as av, type ProfileCompletenessSignal as aw, type ProfileIndustryInput as ax, type ProfileLocationAddress as ay, type ProfileLocationInput as az, type AccountSummary as b, fetchMyGithubPullRequests as b$, type SifaQueryKey as b0, type SimilarProfile as b1, type SiteActivityPresetResponse as b2, type StatsResponse as b3, type SubCategoryBulkResult as b4, type SuggestionProfile as b5, type SuggestionsResponse as b6, type UnhideActivityItemInput as b7, type UnlinkedPosition as b8, type UnlinkedPositionsResult as b9, createSkill as bA, deleteAccount as bB, deleteAvatarOverride as bC, deleteExternalAccount as bD, deleteNamePronunciationAudio as bE, deleteProfileLocation as bF, deleteReaction as bG, deleteRepoRecords as bH, deleteSkill as bI, dismissCompletenessSignal as bJ, dismissConfirmation as bK, dismissUnlinkedPosition as bL, fetchAccounts as bM, fetchActivityFeed as bN, fetchActivityPreferences as bO, fetchActivityTeaser as bP, fetchAppsRegistry as bQ, fetchExternalAccounts as bR, fetchFeaturedProfile as bS, fetchFollowing as bT, fetchFollowingFeed as bU, fetchFollowingFeedVersion as bV, fetchGivenConfirmations as bW, fetchHeatmapData as bX, fetchHiddenActivityItems as bY, fetchHiddenApps as bZ, fetchInboxCounts as b_, type UpdateActivityPreferencesInput as ba, type UpdateProfileOverrideInput as bb, type UpdateProfileSelfInput as bc, type UploadAvatarResult as bd, type UploadPronunciationAudioResult as be, type UserSettings as bf, type UserSettingsPatch as bg, UserSettingsSchema as bh, type VerifyExternalAccountResult as bi, type WipePreview as bj, addFeatureAllowlist as bk, addOrgNotificationEmail as bl, bulkHideProfileItems as bm, bulkHideStandardPublications as bn, bulkUnhideProfileItems as bo, bulkUnhideStandardPublications as bp, castRoadmapItemVote as bq, castRoadmapVote as br, checkAppAccount as bs, clearCompletenessDismissals as bt, confirmEndorsement as bu, createConfirmation as bv, createEndorsement as bw, createExternalAccount as bx, createProfileLocation as by, createReaction as bz, type ActivityFeedResponse as c, uploadAvatar as c$, fetchMyRoadmapVotes as c0, fetchPendingConfirmations as c1, fetchProfileCompleteness as c2, fetchReactionStatus as c3, fetchRepoInventory as c4, fetchRoadmap as c5, fetchRoadmapVotes as c6, fetchRpgClaimable as c7, fetchRpgStatus as c8, fetchSimilarProfiles as c9, requestOrgDomainChallenge as cA, resetProfile as cB, resolveQuotedPosts as cC, retractRoadmapItemVote as cD, retractRoadmapVote as cE, revokeConfirmation as cF, setExternalAccountPrimary as cG, setSectionPrimary as cH, submitOrgClaim as cI, switchAccount as cJ, unfollowUser as cK, unhideActivityItem as cL, unhideOrcidPublication as cM, unhideProfileItem as cN, unhideSifaPublication as cO, unhideStandardPublication as cP, unsetExternalAccountPrimary as cQ, unsetSectionPrimary as cR, updateActivityPreferences as cS, updateExternalAccount as cT, updateOrgProfile as cU, updateProfileLocation as cV, updateProfileOverride as cW, updateProfileSelf as cX, updateSkill as cY, updateSkillSubCategories as cZ, updateUserSettings as c_, fetchSiteActivityPreset as ca, fetchStats as cb, fetchSuggestionCount as cc, fetchSuggestions as cd, fetchUnlinkedPositions as ce, fetchUserSettings as cf, fetchViewerPositionConfirmations as cg, fetchWipePreview as ch, followUser as ci, getAdminReviewQueues as cj, getBlueskySuggestions as ck, getFollowers as cl, getFollowing as cm, getMutuals as cn, hideActivityItem as co, hideOrcidPublication as cp, hideProfileItem as cq, hideSifaPublication as cr, hideStandardPublication as cs, isNewerFollowingFeed as ct, listFeatureAllowlist as cu, refreshOrcidPublications as cv, refreshPds as cw, removeFeatureAllowlist as cx, removeOrgNotificationEmail as cy, repoExportUrl as cz, type ActivityItem as d, uploadNamePronunciationAudio as d0, verifyExternalAccount as d1, verifyOrgDomain as d2, type ActivityItemLinkHealth as e, type ActivityPreferences as f, type ActivityTeaserResponse as g, type AdminReviewQueues as h, type AppRegistryEntry as i, type CastRoadmapVoteResult as j, type CheckAppAccountOptions as k, type ConfirmationInput as l, type ConfirmationSubjectInput as m, type CreateExternalAccountResult as n, type DismissCompletenessSignalInput as o, type DismissUnlinkedPositionInput as p, type ExternalAccountInput as q, type FeaturedProfile as r, sifaQueryKeys as s, type FetchAccountsOptions as t, type FetchActivityFeedOptions as u, type FetchActivityPreferencesOptions as v, type FetchActivityTeaserOptions as w, type FetchConfirmationsOptions as x, type FetchFollowListOptions as y, type FetchFollowProfilePageOptions as z };
2006
+ export { type FollowingFeedVersion as $, type AccountCheckResult as A, type BulkHideProfileItemInput as B, type ConfirmEndorsementInput as C, type DeleteAccountResult as D, type EndorsementInput as E, type FeatureAllowlistResponse as F, type FetchFollowingFeedOptions as G, type FetchHiddenActivityItemsOptions as H, type FetchHiddenAppsOptions as I, type FetchInboxCountsOptions as J, type FetchMyGithubPullRequestsOptions as K, type FetchProfileCompletenessOptions as L, type FetchReactionStatusOptions as M, type FetchRoadmapOptions as N, type FetchRpgClaimableOptions as O, type FetchRpgStatusOptions as P, type FetchSuggestionsOptions as Q, type FetchUnlinkedPositionsOptions as R, type FetchUserSettingsOptions as S, type FollowListPage as T, type FollowProfile as U, type FollowProfilePageResponse as V, type FollowUserResult as W, type FollowingFeedApp as X, type FollowingFeedBuild as Y, type FollowingFeedEmptyReason as Z, type FollowingFeedResponse as _, type ConfirmEndorsementResult as a, type SimilarProfile as a$, type FollowingResponse as a0, type GetAdminReviewQueuesOptions as a1, type GithubPullRequest as a2, type GivenConfirmation as a3, HIDDEN_ITEM_SOURCES as a4, HIDDEN_ITEM_TYPES as a5, type HeatmapDay as a6, type HeatmapResponse as a7, type HiddenActivityItem as a8, type HiddenApp as a9, QUOTED_POSTS_BATCH_MAX as aA, type QuotedPostAuthor as aB, type QuotedPostImage as aC, type QuotedPostResult as aD, type QuotedPostView as aE, type ReactionError as aF, type ReactionResult as aG, type ReactionStatus as aH, type RefreshOrcidPublicationsResult as aI, type RefreshPdsResult as aJ, type RepoDeleteInput as aK, type ResetProfileResult as aL, type ResolveQuotedPostsOptions as aM, type RoadmapBoardItem as aN, type RoadmapBoardSize as aO, type RoadmapBoardStatus as aP, type RoadmapItemRef as aQ, type RoadmapVoteError as aR, type RoadmapVoteResult as aS, type RoadmapVoter as aT, type RpgClaimableResponse as aU, RpgClaimableResponseSchema as aV, type RpgItemStatus as aW, RpgItemStatusSchema as aX, type RpgStatusResponse as aY, RpgStatusResponseSchema as aZ, type SifaQueryKey as a_, type HiddenItemSource as aa, type HiddenItemType as ab, type HideActivityItemInput as ac, type HideProfileItemInput as ad, type InboxCounts as ae, type ListFeatureAllowlistOptions as af, type MyGithubPullRequestsResponse as ag, type OrgClaimBinding as ah, type OrgClaimResult as ai, type OrgDomainChallengeResult as aj, type OrgDomainVerifyResult as ak, type OrgNotificationEmailAddResult as al, type OrgNotificationEmailRemoveResult as am, type OrgProfileEcho as an, type OrgProfileUpdateResult as ao, PROFILE_COMPLETENESS_SIGNALS as ap, type PdsWipeOutcome as aq, type PendingConfirmation as ar, type PendingConfirmationsPage as as, type PrimarySection as at, type ProfileCompleteness as au, type ProfileCompletenessSignal as av, type ProfileIndustryInput as aw, type ProfileLocationAddress as ax, type ProfileLocationInput as ay, type ProfileSelfLocation as az, type AccountSummary as b, fetchReactionStatus as b$, type SiteActivityPresetResponse as b0, type StatsResponse as b1, type SubCategoryBulkResult as b2, type SuggestionProfile as b3, type SuggestionsResponse as b4, type UnhideActivityItemInput as b5, type UnlinkedPosition as b6, type UnlinkedPositionsResult as b7, type UpdateActivityPreferencesInput as b8, type UpdateProfileOverrideInput as b9, deleteExternalAccount as bA, deleteNamePronunciationAudio as bB, deleteProfileLocation as bC, deleteReaction as bD, deleteRepoRecords as bE, deleteSkill as bF, dismissCompletenessSignal as bG, dismissConfirmation as bH, dismissUnlinkedPosition as bI, fetchAccounts as bJ, fetchActivityFeed as bK, fetchActivityPreferences as bL, fetchActivityTeaser as bM, fetchAppsRegistry as bN, fetchExternalAccounts as bO, fetchFeaturedProfile as bP, fetchFollowing as bQ, fetchFollowingFeed as bR, fetchFollowingFeedVersion as bS, fetchGivenConfirmations as bT, fetchHeatmapData as bU, fetchHiddenActivityItems as bV, fetchHiddenApps as bW, fetchInboxCounts as bX, fetchMyGithubPullRequests as bY, fetchPendingConfirmations as bZ, fetchProfileCompleteness as b_, type UpdateProfileSelfInput as ba, type UploadAvatarResult as bb, type UploadPronunciationAudioResult as bc, type UserSettings as bd, type UserSettingsPatch as be, UserSettingsSchema as bf, type VerifyExternalAccountResult as bg, type WipePreview as bh, addFeatureAllowlist as bi, addOrgNotificationEmail as bj, bulkHideProfileItems as bk, bulkHideStandardPublications as bl, bulkUnhideProfileItems as bm, bulkUnhideStandardPublications as bn, castRoadmapItemVote as bo, checkAppAccount as bp, clearCompletenessDismissals as bq, confirmEndorsement as br, createConfirmation as bs, createEndorsement as bt, createExternalAccount as bu, createProfileLocation as bv, createReaction as bw, createSkill as bx, deleteAccount as by, deleteAvatarOverride as bz, type ActivityFeedResponse as c, fetchRepoInventory as c0, fetchRoadmap as c1, fetchRpgClaimable as c2, fetchRpgStatus as c3, fetchSimilarProfiles as c4, fetchSiteActivityPreset as c5, fetchStats as c6, fetchSuggestionCount as c7, fetchSuggestions as c8, fetchUnlinkedPositions as c9, setExternalAccountPrimary as cA, setSectionPrimary as cB, submitOrgClaim as cC, switchAccount as cD, unfollowUser as cE, unhideActivityItem as cF, unhideOrcidPublication as cG, unhideProfileItem as cH, unhideSifaPublication as cI, unhideStandardPublication as cJ, unsetExternalAccountPrimary as cK, unsetSectionPrimary as cL, updateActivityPreferences as cM, updateExternalAccount as cN, updateOrgProfile as cO, updateProfileLocation as cP, updateProfileOverride as cQ, updateProfileSelf as cR, updateSkill as cS, updateSkillSubCategories as cT, updateUserSettings as cU, uploadAvatar as cV, uploadNamePronunciationAudio as cW, verifyExternalAccount as cX, verifyOrgDomain as cY, fetchUserSettings as ca, fetchViewerPositionConfirmations as cb, fetchWipePreview as cc, followUser as cd, getAdminReviewQueues as ce, getBlueskySuggestions as cf, getFollowers as cg, getFollowing as ch, getMutuals as ci, hideActivityItem as cj, hideOrcidPublication as ck, hideProfileItem as cl, hideSifaPublication as cm, hideStandardPublication as cn, isNewerFollowingFeed as co, listFeatureAllowlist as cp, refreshOrcidPublications as cq, refreshPds as cr, removeFeatureAllowlist as cs, removeOrgNotificationEmail as ct, repoExportUrl as cu, requestOrgDomainChallenge as cv, resetProfile as cw, resolveQuotedPosts as cx, retractRoadmapItemVote as cy, revokeConfirmation as cz, type ActivityItem as d, type ActivityItemLinkHealth as e, type ActivityPreferences as f, type ActivityTeaserResponse as g, type AdminReviewQueues as h, type AppRegistryEntry as i, type CastRoadmapVoteResult as j, type CheckAppAccountOptions as k, type ConfirmationInput as l, type ConfirmationSubjectInput as m, type CreateExternalAccountResult as n, type DismissCompletenessSignalInput as o, type DismissUnlinkedPositionInput as p, type ExternalAccountInput as q, type FeaturedProfile as r, sifaQueryKeys as s, type FetchAccountsOptions as t, type FetchActivityFeedOptions as u, type FetchActivityPreferencesOptions as v, type FetchActivityTeaserOptions as w, type FetchConfirmationsOptions as x, type FetchFollowListOptions as y, type FetchFollowProfilePageOptions as z };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@singi-labs/sifa-sdk",
3
- "version": "0.20.2",
3
+ "version": "0.21.0",
4
4
  "description": "Sifa SDK — public client library for the Sifa AppView on AT Protocol. Shared by sifa-web and sifa-app.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -1,31 +0,0 @@
1
- "use client";
2
-
3
- // src/query/hooks/use-roadmap.ts
4
- import { useQuery } from "@tanstack/react-query";
5
- import { useSifaConfig } from "../config.js";
6
- import {
7
- fetchMyRoadmapVotes,
8
- fetchRoadmapVotes
9
- } from "../fetchers/roadmap.js";
10
- import { sifaQueryKeys } from "../keys.js";
11
- function useRoadmapVotes(options) {
12
- const config = useSifaConfig();
13
- return useQuery({
14
- queryKey: sifaQueryKeys.roadmap.votes(),
15
- queryFn: () => fetchRoadmapVotes(config),
16
- ...options
17
- });
18
- }
19
- function useMyRoadmapVotes(options) {
20
- const config = useSifaConfig();
21
- return useQuery({
22
- queryKey: sifaQueryKeys.roadmap.myVotes(),
23
- queryFn: () => fetchMyRoadmapVotes(config),
24
- ...options
25
- });
26
- }
27
- export {
28
- useMyRoadmapVotes,
29
- useRoadmapVotes
30
- };
31
- //# sourceMappingURL=use-roadmap.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../src/query/hooks/use-roadmap.ts"],"sourcesContent":["'use client';\n\nimport { useQuery, type UseQueryOptions } from '@tanstack/react-query';\n\nimport { useSifaConfig } from '../config.js';\nimport {\n fetchMyRoadmapVotes,\n fetchRoadmapVotes,\n type RoadmapVotesResponse,\n} from '../fetchers/roadmap.js';\nimport { sifaQueryKeys } from '../keys.js';\n\n/** Public roadmap vote tallies. Returns `{}` data on error. */\nexport function useRoadmapVotes(\n options?: Omit<\n UseQueryOptions<\n RoadmapVotesResponse,\n Error,\n RoadmapVotesResponse,\n ReturnType<typeof sifaQueryKeys.roadmap.votes>\n >,\n 'queryKey' | 'queryFn'\n >,\n) {\n const config = useSifaConfig();\n return useQuery({\n queryKey: sifaQueryKeys.roadmap.votes(),\n queryFn: () => fetchRoadmapVotes(config),\n ...options,\n });\n}\n\n/** Roadmap items the authenticated viewer has voted on. Returns `[]` data on error. */\nexport function useMyRoadmapVotes(\n options?: Omit<\n UseQueryOptions<string[], Error, string[], ReturnType<typeof sifaQueryKeys.roadmap.myVotes>>,\n 'queryKey' | 'queryFn'\n >,\n) {\n const config = useSifaConfig();\n return useQuery({\n queryKey: sifaQueryKeys.roadmap.myVotes(),\n queryFn: () => fetchMyRoadmapVotes(config),\n ...options,\n });\n}\n"],"mappings":";;;AAEA,SAAS,gBAAsC;AAE/C,SAAS,qBAAqB;AAC9B;AAAA,EACE;AAAA,EACA;AAAA,OAEK;AACP,SAAS,qBAAqB;AAGvB,SAAS,gBACd,SASA;AACA,QAAM,SAAS,cAAc;AAC7B,SAAO,SAAS;AAAA,IACd,UAAU,cAAc,QAAQ,MAAM;AAAA,IACtC,SAAS,MAAM,kBAAkB,MAAM;AAAA,IACvC,GAAG;AAAA,EACL,CAAC;AACH;AAGO,SAAS,kBACd,SAIA;AACA,QAAM,SAAS,cAAc;AAC7B,SAAO,SAAS;AAAA,IACd,UAAU,cAAc,QAAQ,QAAQ;AAAA,IACxC,SAAS,MAAM,oBAAoB,MAAM;AAAA,IACzC,GAAG;AAAA,EACL,CAAC;AACH;","names":[]}