@singi-labs/sifa-sdk 0.20.0 → 0.20.2

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 (45) hide show
  1. package/dist/badge/index.cjs.map +1 -1
  2. package/dist/index.cjs +53 -1
  3. package/dist/index.cjs.map +1 -1
  4. package/dist/index.d.cts +14 -4
  5. package/dist/index.d.ts +14 -4
  6. package/dist/index.js +5 -1
  7. package/dist/index.js.map +1 -1
  8. package/dist/{network-map-CrkLq2Gz.d.ts → network-map-2OKh3wSB.d.ts} +2 -2
  9. package/dist/{network-map-BwM-Wvxt.d.cts → network-map-DJonNOl0.d.cts} +2 -2
  10. package/dist/{profile-summary-TkVxvll4.d.cts → profile-summary-BCOKt3qS.d.cts} +1 -1
  11. package/dist/{profile-summary-CwJymH9d.d.ts → profile-summary-DF8-evvA.d.ts} +1 -1
  12. package/dist/query/client.js +2 -1
  13. package/dist/query/client.js.map +1 -1
  14. package/dist/query/fetchers/index.cjs +57 -6
  15. package/dist/query/fetchers/index.cjs.map +1 -1
  16. package/dist/query/fetchers/index.d.cts +5 -5
  17. package/dist/query/fetchers/index.d.ts +5 -5
  18. package/dist/query/fetchers/index.js +6 -0
  19. package/dist/query/fetchers/index.js.map +1 -1
  20. package/dist/query/fetchers/org.js.map +1 -1
  21. package/dist/query/fetchers/roadmap.js +56 -3
  22. package/dist/query/fetchers/roadmap.js.map +1 -1
  23. package/dist/query/hooks/index.cjs +68 -6
  24. package/dist/query/hooks/index.cjs.map +1 -1
  25. package/dist/query/hooks/index.d.cts +3 -3
  26. package/dist/query/hooks/index.d.ts +3 -3
  27. package/dist/query/hooks/index.js +8 -1
  28. package/dist/query/hooks/index.js.map +1 -1
  29. package/dist/query/hooks/use-roadmap-mutations.js +36 -0
  30. package/dist/query/hooks/use-roadmap-mutations.js.map +1 -1
  31. package/dist/query/index.cjs +91 -6
  32. package/dist/query/index.cjs.map +1 -1
  33. package/dist/query/index.d.cts +8 -8
  34. package/dist/query/index.d.ts +8 -8
  35. package/dist/query/index.js +14 -1
  36. package/dist/query/index.js.map +1 -1
  37. package/dist/roadmap/board-body.js +55 -0
  38. package/dist/roadmap/board-body.js.map +1 -0
  39. package/dist/{types-CQA_vO39.d.ts → types-CkomzDlY.d.ts} +11 -2
  40. package/dist/{types-DMTHqi2m.d.cts → types-JydVIhN5.d.cts} +11 -2
  41. package/dist/{use-user-settings-BmuAd8D4.d.cts → use-user-settings-Cq_AHkkM.d.cts} +15 -3
  42. package/dist/{use-user-settings-1zgi6qwl.d.ts → use-user-settings-DoNP3tNl.d.ts} +15 -3
  43. package/dist/{user-settings-Btvrox4G.d.ts → user-settings-CBtacio1.d.ts} +55 -3
  44. package/dist/{user-settings-D4vdBf0A.d.cts → user-settings-DDP76dZH.d.cts} +55 -3
  45. package/package.json +1 -1
@@ -1,10 +1,10 @@
1
1
  import * as react from 'react';
2
2
  import { ReactNode } from 'react';
3
- import { a1 as SifaApiConfig, a0 as ApiFetchOptions, a2 as WriteResult, o as ProfileView, a3 as CreateResult, a5 as FilterOptions, S as SearchFilters, a8 as SearchResponse, a9 as SkillSearchResult, ai as CompanySearchFilters, aj as CompanySearchResponse, u as RepoDeleteResult, x as RepoInventory } from './types-DMTHqi2m.cjs';
3
+ import { a1 as SifaApiConfig, a0 as ApiFetchOptions, a2 as WriteResult, o as ProfileView, a3 as CreateResult, a5 as FilterOptions, S as SearchFilters, a8 as SearchResponse, a9 as SkillSearchResult, ai as CompanySearchFilters, aj as CompanySearchResponse, u as RepoDeleteResult, x as RepoInventory } from './types-JydVIhN5.cjs';
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, aJ as RefreshPdsResult, b6 as UpdateProfileOverrideInput, b7 as UpdateProfileSelfInput, b8 as UploadAvatarResult, b9 as UploadPronunciationAudioResult, at as PrimarySection, a$ as SubCategoryBulkResult, ay as ProfileLocationInput, q as ExternalAccountInput, n as CreateExternalAccountResult, bd as VerifyExternalAccountResult, E as EndorsementInput, l as ConfirmationInput, m as ConfirmationSubjectInput, a3 as GivenConfirmation, as as PendingConfirmationsPage, ae as InboxCounts, p as DismissUnlinkedPositionInput, b4 as UnlinkedPositionsResult, o as DismissCompletenessSignalInput, au as ProfileCompleteness, aR as RpgClaimableResponse, aV as RpgStatusResponse, aI as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, ad as HideProfileItemInput, a8 as HiddenActivityItem, ac as HideActivityItemInput, b2 as UnhideActivityItemInput, f as ActivityPreferences, aZ as SiteActivityPresetResponse, b5 as UpdateActivityPreferencesInput, a_ as StatsResponse, i as AppRegistryEntry, a9 as HiddenApp, b as AccountSummary, r as FeaturedProfile, aY as SimilarProfile, Q as FetchSuggestionsOptions, b1 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, aQ as RoadmapVotesResponse, j as CastRoadmapVoteResult, D as DeleteAccountResult, aL as ResetProfileResult, be as WipePreview, aK as RepoDeleteInput, ai as OrgClaimResult, ao as OrgProfileUpdateResult, aj as OrgDomainChallengeResult, ak as OrgDomainVerifyResult, al as OrgNotificationEmailAddResult, am as OrgNotificationEmailRemoveResult, ba as UserSettings } from './user-settings-D4vdBf0A.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';
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';
@@ -1060,6 +1060,18 @@ declare function useMyRoadmapVotes(options?: Omit<UseQueryOptions<string[], Erro
1060
1060
  declare function useCastRoadmapVote(options?: Omit<UseMutationOptions<CastRoadmapVoteResult, Error, string>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<CastRoadmapVoteResult, Error, string, unknown>;
1061
1061
  /** React hook for retracting a previously-cast roadmap vote. */
1062
1062
  declare function useRetractRoadmapVote(options?: Omit<UseMutationOptions<WriteResult, Error, string>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, string, unknown>;
1063
+ /**
1064
+ * 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}.
1067
+ *
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.
1071
+ */
1072
+ declare function useCastRoadmapItemVote(options?: Omit<UseMutationOptions<CastRoadmapVoteResult, Error, RoadmapItemRef>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<CastRoadmapVoteResult, Error, RoadmapItemRef, unknown>;
1073
+ /** React hook for retracting a vote on a roadmap board item. */
1074
+ declare function useRetractRoadmapItemVote(options?: Omit<UseMutationOptions<WriteResult, Error, RoadmapItemRef>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, RoadmapItemRef, unknown>;
1063
1075
 
1064
1076
  /**
1065
1077
  * Read which id.sifa.* collections the current grant cannot delete, so a
@@ -1255,4 +1267,4 @@ declare function useUpdateUserSettings(): _tanstack_react_query.UseMutationResul
1255
1267
  showCitationCounts: boolean;
1256
1268
  }>, unknown>;
1257
1269
 
1258
- 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, useCastRoadmapVote 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, useUnsetExternalAccountPrimary 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, useMyRoadmapVotes as b9, useRevokeOrgAttestation as bA, useRoadmapVotes as bB, useRpgClaimable as bC, useRpgStatus as bD, useSearchFilters as bE, useSearchProfiles as bF, useSelectEntity as bG, useSetExternalAccountPrimary as bH, useSetPositionPrimary as bI, useSetSectionPrimary as bJ, useSifaConfig as bK, useSimilarProfiles as bL, useSiteActivityPreset as bM, useSkillSuggestions as bN, useStats as bO, useSuggestionCount as bP, useSuggestions as bQ, useUnfollow as bR, useUnhideActivityItem as bS, useUnhideKeytraceClaim as bT, useUnhideOrcidPublication as bU, useUnhideProfileItem as bV, useUnhideSifaPublication as bW, useUnhideStandardPublication as bX, useUnlinkSkillFromPosition as bY, useUnlinkedPositions as bZ, useUnrevealMarqueDomain as b_, useNetworkStreamCount as ba, useOffboardOrgAttestation as bb, useOrgAttestations as bc, useOrgClaim as bd, useOrgDomainChallenge as be, useOrgDomainVerify as bf, useOrgProfile as bg, usePendingConfirmations as bh, useProfile as bi, useProfileCompleteness as bj, useProfileEmails as bk, useReactionStatus as bl, useRefreshOrcidPublications as bm, useRefreshPds as bn, useRejectAttestationRequest as bo, useRemoveFeatureAllowlist as bp, useRemoveOrgNotificationEmail as bq, useRemoveProfileEmail as br, useRepoInventory as bs, useRequestEmploymentConfirmation as bt, useResendProfileEmailVerification as bu, useResetProfile as bv, useResolveEntityDomain as bw, useRetractRoadmapVote as bx, useRevealMarqueDomain as by, useRevokeConfirmation as bz, type AttestationStatus as c, useUnsetPositionPrimary as c0, useUnsetSectionPrimary as c1, useUpdateActivityPreferences as c2, useUpdateEducation as c3, useUpdateExternalAccount as c4, useUpdateOrgProfile as c5, useUpdatePosition as c6, useUpdateProfileLocation as c7, useUpdateProfileOverride as c8, useUpdateProfileSelf as c9, useUpdateRecord as ca, useUpdateSkill as cb, useUpdateSkillSubCategories as cc, useUpdateUserSettings as cd, useUploadAvatar as ce, useUploadNamePronunciationAudio as cf, useUserSettings as cg, useVerificationLog as ch, useVerifyExternalAccount as ci, useWipePreview as cj, useSearchCompanies as ck, 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 };
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 };
@@ -1,10 +1,10 @@
1
1
  import * as react from 'react';
2
2
  import { ReactNode } from 'react';
3
- import { a1 as SifaApiConfig, a0 as ApiFetchOptions, a2 as WriteResult, o as ProfileView, a3 as CreateResult, a5 as FilterOptions, S as SearchFilters, a8 as SearchResponse, a9 as SkillSearchResult, ai as CompanySearchFilters, aj as CompanySearchResponse, u as RepoDeleteResult, x as RepoInventory } from './types-CQA_vO39.js';
3
+ import { a1 as SifaApiConfig, a0 as ApiFetchOptions, a2 as WriteResult, o as ProfileView, a3 as CreateResult, a5 as FilterOptions, S as SearchFilters, a8 as SearchResponse, a9 as SkillSearchResult, ai as CompanySearchFilters, aj as CompanySearchResponse, u as RepoDeleteResult, x as RepoInventory } from './types-CkomzDlY.js';
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, aJ as RefreshPdsResult, b6 as UpdateProfileOverrideInput, b7 as UpdateProfileSelfInput, b8 as UploadAvatarResult, b9 as UploadPronunciationAudioResult, at as PrimarySection, a$ as SubCategoryBulkResult, ay as ProfileLocationInput, q as ExternalAccountInput, n as CreateExternalAccountResult, bd as VerifyExternalAccountResult, E as EndorsementInput, l as ConfirmationInput, m as ConfirmationSubjectInput, a3 as GivenConfirmation, as as PendingConfirmationsPage, ae as InboxCounts, p as DismissUnlinkedPositionInput, b4 as UnlinkedPositionsResult, o as DismissCompletenessSignalInput, au as ProfileCompleteness, aR as RpgClaimableResponse, aV as RpgStatusResponse, aI as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, ad as HideProfileItemInput, a8 as HiddenActivityItem, ac as HideActivityItemInput, b2 as UnhideActivityItemInput, f as ActivityPreferences, aZ as SiteActivityPresetResponse, b5 as UpdateActivityPreferencesInput, a_ as StatsResponse, i as AppRegistryEntry, a9 as HiddenApp, b as AccountSummary, r as FeaturedProfile, aY as SimilarProfile, Q as FetchSuggestionsOptions, b1 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, aQ as RoadmapVotesResponse, j as CastRoadmapVoteResult, D as DeleteAccountResult, aL as ResetProfileResult, be as WipePreview, aK as RepoDeleteInput, ai as OrgClaimResult, ao as OrgProfileUpdateResult, aj as OrgDomainChallengeResult, ak as OrgDomainVerifyResult, al as OrgNotificationEmailAddResult, am as OrgNotificationEmailRemoveResult, ba as UserSettings } from './user-settings-Btvrox4G.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';
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';
@@ -1060,6 +1060,18 @@ declare function useMyRoadmapVotes(options?: Omit<UseQueryOptions<string[], Erro
1060
1060
  declare function useCastRoadmapVote(options?: Omit<UseMutationOptions<CastRoadmapVoteResult, Error, string>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<CastRoadmapVoteResult, Error, string, unknown>;
1061
1061
  /** React hook for retracting a previously-cast roadmap vote. */
1062
1062
  declare function useRetractRoadmapVote(options?: Omit<UseMutationOptions<WriteResult, Error, string>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, string, unknown>;
1063
+ /**
1064
+ * 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}.
1067
+ *
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.
1071
+ */
1072
+ declare function useCastRoadmapItemVote(options?: Omit<UseMutationOptions<CastRoadmapVoteResult, Error, RoadmapItemRef>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<CastRoadmapVoteResult, Error, RoadmapItemRef, unknown>;
1073
+ /** React hook for retracting a vote on a roadmap board item. */
1074
+ declare function useRetractRoadmapItemVote(options?: Omit<UseMutationOptions<WriteResult, Error, RoadmapItemRef>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, RoadmapItemRef, unknown>;
1063
1075
 
1064
1076
  /**
1065
1077
  * Read which id.sifa.* collections the current grant cannot delete, so a
@@ -1255,4 +1267,4 @@ declare function useUpdateUserSettings(): _tanstack_react_query.UseMutationResul
1255
1267
  showCitationCounts: boolean;
1256
1268
  }>, unknown>;
1257
1269
 
1258
- 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, useCastRoadmapVote 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, useUnsetExternalAccountPrimary 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, useMyRoadmapVotes as b9, useRevokeOrgAttestation as bA, useRoadmapVotes as bB, useRpgClaimable as bC, useRpgStatus as bD, useSearchFilters as bE, useSearchProfiles as bF, useSelectEntity as bG, useSetExternalAccountPrimary as bH, useSetPositionPrimary as bI, useSetSectionPrimary as bJ, useSifaConfig as bK, useSimilarProfiles as bL, useSiteActivityPreset as bM, useSkillSuggestions as bN, useStats as bO, useSuggestionCount as bP, useSuggestions as bQ, useUnfollow as bR, useUnhideActivityItem as bS, useUnhideKeytraceClaim as bT, useUnhideOrcidPublication as bU, useUnhideProfileItem as bV, useUnhideSifaPublication as bW, useUnhideStandardPublication as bX, useUnlinkSkillFromPosition as bY, useUnlinkedPositions as bZ, useUnrevealMarqueDomain as b_, useNetworkStreamCount as ba, useOffboardOrgAttestation as bb, useOrgAttestations as bc, useOrgClaim as bd, useOrgDomainChallenge as be, useOrgDomainVerify as bf, useOrgProfile as bg, usePendingConfirmations as bh, useProfile as bi, useProfileCompleteness as bj, useProfileEmails as bk, useReactionStatus as bl, useRefreshOrcidPublications as bm, useRefreshPds as bn, useRejectAttestationRequest as bo, useRemoveFeatureAllowlist as bp, useRemoveOrgNotificationEmail as bq, useRemoveProfileEmail as br, useRepoInventory as bs, useRequestEmploymentConfirmation as bt, useResendProfileEmailVerification as bu, useResetProfile as bv, useResolveEntityDomain as bw, useRetractRoadmapVote as bx, useRevealMarqueDomain as by, useRevokeConfirmation as bz, type AttestationStatus as c, useUnsetPositionPrimary as c0, useUnsetSectionPrimary as c1, useUpdateActivityPreferences as c2, useUpdateEducation as c3, useUpdateExternalAccount as c4, useUpdateOrgProfile as c5, useUpdatePosition as c6, useUpdateProfileLocation as c7, useUpdateProfileOverride as c8, useUpdateProfileSelf as c9, useUpdateRecord as ca, useUpdateSkill as cb, useUpdateSkillSubCategories as cc, useUpdateUserSettings as cd, useUploadAvatar as ce, useUploadNamePronunciationAudio as cf, useUserSettings as cg, useVerificationLog as ch, useVerifyExternalAccount as ci, useWipePreview as cj, useSearchCompanies as ck, 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 };
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 };
@@ -1,4 +1,4 @@
1
- import { a2 as WriteResult, a1 as SifaApiConfig, a0 as ApiFetchOptions, a3 as CreateResult, K as SiteActivityPreset, b as ActivityLabel, u as RepoDeleteResult, x as RepoInventory } from './types-CQA_vO39.js';
1
+ import { a2 as WriteResult, a1 as SifaApiConfig, a0 as ApiFetchOptions, a3 as CreateResult, K as SiteActivityPreset, b as ActivityLabel, u as RepoDeleteResult, x as RepoInventory } from './types-CkomzDlY.js';
2
2
  import { p as ExternalAccount, B as PositionViewerConfirmation } from './index-DDh2RLvx.js';
3
3
  import { a as AccountVerification } from './verification-providers-DeyGqaoC.js';
4
4
  import { s as FollowProfileItem, p as FeatureAllowlistEntry, r as FeatureFlag } from './follow-profile-CVcA2w1v.js';
@@ -1582,6 +1582,57 @@ type CastRoadmapVoteResult = {
1582
1582
  declare function castRoadmapVote(config: SifaApiConfig, key: string, options?: ApiFetchOptions): Promise<CastRoadmapVoteResult>;
1583
1583
  /** Retract a previously-cast roadmap vote. */
1584
1584
  declare function retractRoadmapVote(config: SifaApiConfig, key: string, options?: ApiFetchOptions): Promise<WriteResult>;
1585
+ /** Roadmap group of a board item (sifa-api `GET /api/roadmap`). */
1586
+ type RoadmapBoardStatus = 'done' | 'in-progress' | 'planned' | 'later' | 'under-review';
1587
+ type RoadmapBoardSize = 'small' | 'medium' | 'epic';
1588
+ /** One item on the roadmap, read from Sifa's userinput.app board. */
1589
+ interface RoadmapBoardItem {
1590
+ /** The `app.userinput.discussion` record URI. */
1591
+ uri: string;
1592
+ /** Author of the discussion (sifa.id or anyone who posted an idea). */
1593
+ did: string;
1594
+ rkey: string;
1595
+ title: string;
1596
+ /** Free text from the record. Render as plain text. */
1597
+ body: string | null;
1598
+ /** Tags without the size tag. */
1599
+ tags: string[];
1600
+ size: RoadmapBoardSize | null;
1601
+ status: RoadmapBoardStatus;
1602
+ votable: boolean;
1603
+ votes: {
1604
+ count: number;
1605
+ voters: RoadmapVoter[];
1606
+ };
1607
+ createdAt: string;
1608
+ /** Whether the signed-in viewer voted. False without a session. */
1609
+ viewerVoted: boolean;
1610
+ }
1611
+ /** Identifies a board item for voting. */
1612
+ interface RoadmapItemRef {
1613
+ did: string;
1614
+ rkey: string;
1615
+ }
1616
+ interface FetchRoadmapOptions extends ApiFetchOptions {
1617
+ /**
1618
+ * Pass the caller's `Cookie` header on Next.js RSC server-side calls so
1619
+ * `viewerVoted` reflects the viewer.
1620
+ */
1621
+ cookieHeader?: string;
1622
+ }
1623
+ /**
1624
+ * The roadmap as built from Sifa's userinput.app board, grouped and ordered
1625
+ * by the API. Returns `null` on any error, so callers can tell an outage from
1626
+ * an empty roadmap.
1627
+ */
1628
+ declare function fetchRoadmap(config: SifaApiConfig, options?: FetchRoadmapOptions): Promise<RoadmapBoardItem[] | null>;
1629
+ /**
1630
+ * Vote on a roadmap board item. Same result shape and scope handling as
1631
+ * {@link castRoadmapVote}. Never throws.
1632
+ */
1633
+ declare function castRoadmapItemVote(config: SifaApiConfig, item: RoadmapItemRef, options?: ApiFetchOptions): Promise<CastRoadmapVoteResult>;
1634
+ /** Retract a vote on a roadmap board item. */
1635
+ declare function retractRoadmapItemVote(config: SifaApiConfig, item: RoadmapItemRef, options?: ApiFetchOptions): Promise<WriteResult>;
1585
1636
 
1586
1637
  /**
1587
1638
  * What the server managed to remove from the user's PDS.
@@ -1930,7 +1981,8 @@ interface OrgNotificationEmailRemoveResult {
1930
1981
  * Finalize an org profile claim (`POST /api/org/claim`). Auth-gated (org-claim
1931
1982
  * JIT scope) and floor-checked server-side. Never throws -- returns the
1932
1983
  * structured {@link OrgClaimResult} folded into a {@link WriteResult} on success,
1933
- * or `{ success: false, error, pdsHost? }` on failure.
1984
+ * or `{ success: false, error, pdsHost?, code? }` on failure. A claim refused for
1985
+ * a handle without a custom domain carries `code: 'CustomDomainRequired'`.
1934
1986
  */
1935
1987
  declare function submitOrgClaim(config: SifaApiConfig, body: OrgClaimRequestInput, options?: Omit<ApiFetchOptions, 'method' | 'body'>): Promise<WriteResult<Partial<OrgClaimResult>>>;
1936
1988
  /**
@@ -1985,4 +2037,4 @@ declare function fetchUserSettings(config: SifaApiConfig, options?: FetchUserSet
1985
2037
  /** Save the given preferences. Returns the stored settings, or `null` on failure. */
1986
2038
  declare function updateUserSettings(config: SifaApiConfig, patch: UserSettingsPatch): Promise<UserSettings | null>;
1987
2039
 
1988
- 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 FetchMyRoadmapVotesOptions as L, type FetchProfileCompletenessOptions as M, type FetchReactionStatusOptions 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 SubCategoryBulkResult 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 RoadmapVoteError as aN, type RoadmapVoteResult as aO, type RoadmapVoter as aP, type RoadmapVotesResponse as aQ, type RpgClaimableResponse as aR, RpgClaimableResponseSchema as aS, type RpgItemStatus as aT, RpgItemStatusSchema as aU, type RpgStatusResponse as aV, RpgStatusResponseSchema as aW, type SifaQueryKey as aX, type SimilarProfile as aY, type SiteActivityPresetResponse as aZ, type StatsResponse 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, fetchRoadmapVotes as b$, type SuggestionProfile as b0, type SuggestionsResponse as b1, type UnhideActivityItemInput as b2, type UnlinkedPosition as b3, type UnlinkedPositionsResult as b4, type UpdateActivityPreferencesInput as b5, type UpdateProfileOverrideInput as b6, type UpdateProfileSelfInput as b7, type UploadAvatarResult as b8, type UploadPronunciationAudioResult as b9, deleteReaction as bA, deleteRepoRecords as bB, deleteSkill as bC, dismissCompletenessSignal as bD, dismissConfirmation as bE, dismissUnlinkedPosition as bF, fetchAccounts as bG, fetchActivityFeed as bH, fetchActivityPreferences as bI, fetchActivityTeaser as bJ, fetchAppsRegistry as bK, fetchExternalAccounts as bL, fetchFeaturedProfile as bM, fetchFollowing as bN, fetchFollowingFeed as bO, fetchFollowingFeedVersion as bP, fetchGivenConfirmations as bQ, fetchHeatmapData as bR, fetchHiddenActivityItems as bS, fetchHiddenApps as bT, fetchInboxCounts as bU, fetchMyGithubPullRequests as bV, fetchMyRoadmapVotes as bW, fetchPendingConfirmations as bX, fetchProfileCompleteness as bY, fetchReactionStatus as bZ, fetchRepoInventory as b_, type UserSettings as ba, type UserSettingsPatch as bb, UserSettingsSchema as bc, type VerifyExternalAccountResult as bd, type WipePreview as be, addFeatureAllowlist as bf, addOrgNotificationEmail as bg, bulkHideProfileItems as bh, bulkHideStandardPublications as bi, bulkUnhideProfileItems as bj, bulkUnhideStandardPublications as bk, castRoadmapVote as bl, checkAppAccount as bm, clearCompletenessDismissals as bn, confirmEndorsement as bo, createConfirmation as bp, createEndorsement as bq, createExternalAccount as br, createProfileLocation as bs, createReaction as bt, createSkill as bu, deleteAccount as bv, deleteAvatarOverride as bw, deleteExternalAccount as bx, deleteNamePronunciationAudio as by, deleteProfileLocation as bz, type ActivityFeedResponse as c, fetchRpgClaimable as c0, fetchRpgStatus as c1, fetchSimilarProfiles as c2, fetchSiteActivityPreset as c3, fetchStats as c4, fetchSuggestionCount as c5, fetchSuggestions as c6, fetchUnlinkedPositions as c7, fetchUserSettings as c8, fetchViewerPositionConfirmations as c9, submitOrgClaim as cA, switchAccount as cB, unfollowUser as cC, unhideActivityItem as cD, unhideOrcidPublication as cE, unhideProfileItem as cF, unhideSifaPublication as cG, unhideStandardPublication as cH, unsetExternalAccountPrimary as cI, unsetSectionPrimary as cJ, updateActivityPreferences as cK, updateExternalAccount as cL, updateOrgProfile as cM, updateProfileLocation as cN, updateProfileOverride as cO, updateProfileSelf as cP, updateSkill as cQ, updateSkillSubCategories as cR, updateUserSettings as cS, uploadAvatar as cT, uploadNamePronunciationAudio as cU, verifyExternalAccount as cV, verifyOrgDomain as cW, fetchWipePreview as ca, followUser as cb, getAdminReviewQueues as cc, getBlueskySuggestions as cd, getFollowers as ce, getFollowing as cf, getMutuals as cg, hideActivityItem as ch, hideOrcidPublication as ci, hideProfileItem as cj, hideSifaPublication as ck, hideStandardPublication as cl, isNewerFollowingFeed as cm, listFeatureAllowlist as cn, refreshOrcidPublications as co, refreshPds as cp, removeFeatureAllowlist as cq, removeOrgNotificationEmail as cr, repoExportUrl as cs, requestOrgDomainChallenge as ct, resetProfile as cu, resolveQuotedPosts as cv, retractRoadmapVote as cw, revokeConfirmation as cx, setExternalAccountPrimary as cy, setSectionPrimary 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 };
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 };
@@ -1,4 +1,4 @@
1
- import { a2 as WriteResult, a1 as SifaApiConfig, a0 as ApiFetchOptions, a3 as CreateResult, K as SiteActivityPreset, b as ActivityLabel, u as RepoDeleteResult, x as RepoInventory } from './types-DMTHqi2m.cjs';
1
+ import { a2 as WriteResult, a1 as SifaApiConfig, a0 as ApiFetchOptions, a3 as CreateResult, K as SiteActivityPreset, b as ActivityLabel, u as RepoDeleteResult, x as RepoInventory } from './types-JydVIhN5.cjs';
2
2
  import { p as ExternalAccount, B as PositionViewerConfirmation } from './index-BQAKeEoj.cjs';
3
3
  import { a as AccountVerification } from './verification-providers-DeyGqaoC.cjs';
4
4
  import { s as FollowProfileItem, p as FeatureAllowlistEntry, r as FeatureFlag } from './follow-profile-CgLLLQtJ.cjs';
@@ -1582,6 +1582,57 @@ type CastRoadmapVoteResult = {
1582
1582
  declare function castRoadmapVote(config: SifaApiConfig, key: string, options?: ApiFetchOptions): Promise<CastRoadmapVoteResult>;
1583
1583
  /** Retract a previously-cast roadmap vote. */
1584
1584
  declare function retractRoadmapVote(config: SifaApiConfig, key: string, options?: ApiFetchOptions): Promise<WriteResult>;
1585
+ /** Roadmap group of a board item (sifa-api `GET /api/roadmap`). */
1586
+ type RoadmapBoardStatus = 'done' | 'in-progress' | 'planned' | 'later' | 'under-review';
1587
+ type RoadmapBoardSize = 'small' | 'medium' | 'epic';
1588
+ /** One item on the roadmap, read from Sifa's userinput.app board. */
1589
+ interface RoadmapBoardItem {
1590
+ /** The `app.userinput.discussion` record URI. */
1591
+ uri: string;
1592
+ /** Author of the discussion (sifa.id or anyone who posted an idea). */
1593
+ did: string;
1594
+ rkey: string;
1595
+ title: string;
1596
+ /** Free text from the record. Render as plain text. */
1597
+ body: string | null;
1598
+ /** Tags without the size tag. */
1599
+ tags: string[];
1600
+ size: RoadmapBoardSize | null;
1601
+ status: RoadmapBoardStatus;
1602
+ votable: boolean;
1603
+ votes: {
1604
+ count: number;
1605
+ voters: RoadmapVoter[];
1606
+ };
1607
+ createdAt: string;
1608
+ /** Whether the signed-in viewer voted. False without a session. */
1609
+ viewerVoted: boolean;
1610
+ }
1611
+ /** Identifies a board item for voting. */
1612
+ interface RoadmapItemRef {
1613
+ did: string;
1614
+ rkey: string;
1615
+ }
1616
+ interface FetchRoadmapOptions extends ApiFetchOptions {
1617
+ /**
1618
+ * Pass the caller's `Cookie` header on Next.js RSC server-side calls so
1619
+ * `viewerVoted` reflects the viewer.
1620
+ */
1621
+ cookieHeader?: string;
1622
+ }
1623
+ /**
1624
+ * The roadmap as built from Sifa's userinput.app board, grouped and ordered
1625
+ * by the API. Returns `null` on any error, so callers can tell an outage from
1626
+ * an empty roadmap.
1627
+ */
1628
+ declare function fetchRoadmap(config: SifaApiConfig, options?: FetchRoadmapOptions): Promise<RoadmapBoardItem[] | null>;
1629
+ /**
1630
+ * Vote on a roadmap board item. Same result shape and scope handling as
1631
+ * {@link castRoadmapVote}. Never throws.
1632
+ */
1633
+ declare function castRoadmapItemVote(config: SifaApiConfig, item: RoadmapItemRef, options?: ApiFetchOptions): Promise<CastRoadmapVoteResult>;
1634
+ /** Retract a vote on a roadmap board item. */
1635
+ declare function retractRoadmapItemVote(config: SifaApiConfig, item: RoadmapItemRef, options?: ApiFetchOptions): Promise<WriteResult>;
1585
1636
 
1586
1637
  /**
1587
1638
  * What the server managed to remove from the user's PDS.
@@ -1930,7 +1981,8 @@ interface OrgNotificationEmailRemoveResult {
1930
1981
  * Finalize an org profile claim (`POST /api/org/claim`). Auth-gated (org-claim
1931
1982
  * JIT scope) and floor-checked server-side. Never throws -- returns the
1932
1983
  * structured {@link OrgClaimResult} folded into a {@link WriteResult} on success,
1933
- * or `{ success: false, error, pdsHost? }` on failure.
1984
+ * or `{ success: false, error, pdsHost?, code? }` on failure. A claim refused for
1985
+ * a handle without a custom domain carries `code: 'CustomDomainRequired'`.
1934
1986
  */
1935
1987
  declare function submitOrgClaim(config: SifaApiConfig, body: OrgClaimRequestInput, options?: Omit<ApiFetchOptions, 'method' | 'body'>): Promise<WriteResult<Partial<OrgClaimResult>>>;
1936
1988
  /**
@@ -1985,4 +2037,4 @@ declare function fetchUserSettings(config: SifaApiConfig, options?: FetchUserSet
1985
2037
  /** Save the given preferences. Returns the stored settings, or `null` on failure. */
1986
2038
  declare function updateUserSettings(config: SifaApiConfig, patch: UserSettingsPatch): Promise<UserSettings | null>;
1987
2039
 
1988
- 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 FetchMyRoadmapVotesOptions as L, type FetchProfileCompletenessOptions as M, type FetchReactionStatusOptions 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 SubCategoryBulkResult 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 RoadmapVoteError as aN, type RoadmapVoteResult as aO, type RoadmapVoter as aP, type RoadmapVotesResponse as aQ, type RpgClaimableResponse as aR, RpgClaimableResponseSchema as aS, type RpgItemStatus as aT, RpgItemStatusSchema as aU, type RpgStatusResponse as aV, RpgStatusResponseSchema as aW, type SifaQueryKey as aX, type SimilarProfile as aY, type SiteActivityPresetResponse as aZ, type StatsResponse 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, fetchRoadmapVotes as b$, type SuggestionProfile as b0, type SuggestionsResponse as b1, type UnhideActivityItemInput as b2, type UnlinkedPosition as b3, type UnlinkedPositionsResult as b4, type UpdateActivityPreferencesInput as b5, type UpdateProfileOverrideInput as b6, type UpdateProfileSelfInput as b7, type UploadAvatarResult as b8, type UploadPronunciationAudioResult as b9, deleteReaction as bA, deleteRepoRecords as bB, deleteSkill as bC, dismissCompletenessSignal as bD, dismissConfirmation as bE, dismissUnlinkedPosition as bF, fetchAccounts as bG, fetchActivityFeed as bH, fetchActivityPreferences as bI, fetchActivityTeaser as bJ, fetchAppsRegistry as bK, fetchExternalAccounts as bL, fetchFeaturedProfile as bM, fetchFollowing as bN, fetchFollowingFeed as bO, fetchFollowingFeedVersion as bP, fetchGivenConfirmations as bQ, fetchHeatmapData as bR, fetchHiddenActivityItems as bS, fetchHiddenApps as bT, fetchInboxCounts as bU, fetchMyGithubPullRequests as bV, fetchMyRoadmapVotes as bW, fetchPendingConfirmations as bX, fetchProfileCompleteness as bY, fetchReactionStatus as bZ, fetchRepoInventory as b_, type UserSettings as ba, type UserSettingsPatch as bb, UserSettingsSchema as bc, type VerifyExternalAccountResult as bd, type WipePreview as be, addFeatureAllowlist as bf, addOrgNotificationEmail as bg, bulkHideProfileItems as bh, bulkHideStandardPublications as bi, bulkUnhideProfileItems as bj, bulkUnhideStandardPublications as bk, castRoadmapVote as bl, checkAppAccount as bm, clearCompletenessDismissals as bn, confirmEndorsement as bo, createConfirmation as bp, createEndorsement as bq, createExternalAccount as br, createProfileLocation as bs, createReaction as bt, createSkill as bu, deleteAccount as bv, deleteAvatarOverride as bw, deleteExternalAccount as bx, deleteNamePronunciationAudio as by, deleteProfileLocation as bz, type ActivityFeedResponse as c, fetchRpgClaimable as c0, fetchRpgStatus as c1, fetchSimilarProfiles as c2, fetchSiteActivityPreset as c3, fetchStats as c4, fetchSuggestionCount as c5, fetchSuggestions as c6, fetchUnlinkedPositions as c7, fetchUserSettings as c8, fetchViewerPositionConfirmations as c9, submitOrgClaim as cA, switchAccount as cB, unfollowUser as cC, unhideActivityItem as cD, unhideOrcidPublication as cE, unhideProfileItem as cF, unhideSifaPublication as cG, unhideStandardPublication as cH, unsetExternalAccountPrimary as cI, unsetSectionPrimary as cJ, updateActivityPreferences as cK, updateExternalAccount as cL, updateOrgProfile as cM, updateProfileLocation as cN, updateProfileOverride as cO, updateProfileSelf as cP, updateSkill as cQ, updateSkillSubCategories as cR, updateUserSettings as cS, uploadAvatar as cT, uploadNamePronunciationAudio as cU, verifyExternalAccount as cV, verifyOrgDomain as cW, fetchWipePreview as ca, followUser as cb, getAdminReviewQueues as cc, getBlueskySuggestions as cd, getFollowers as ce, getFollowing as cf, getMutuals as cg, hideActivityItem as ch, hideOrcidPublication as ci, hideProfileItem as cj, hideSifaPublication as ck, hideStandardPublication as cl, isNewerFollowingFeed as cm, listFeatureAllowlist as cn, refreshOrcidPublications as co, refreshPds as cp, removeFeatureAllowlist as cq, removeOrgNotificationEmail as cr, repoExportUrl as cs, requestOrgDomainChallenge as ct, resetProfile as cu, resolveQuotedPosts as cv, retractRoadmapVote as cw, revokeConfirmation as cx, setExternalAccountPrimary as cy, setSectionPrimary 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 };
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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@singi-labs/sifa-sdk",
3
- "version": "0.20.0",
3
+ "version": "0.20.2",
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",