@singi-labs/sifa-sdk 0.20.1 → 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.
- package/dist/index.cjs +53 -92
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +13 -16
- package/dist/index.d.ts +13 -16
- package/dist/index.js +5 -6
- package/dist/index.js.map +1 -1
- package/dist/query/fetchers/index.cjs +40 -32
- package/dist/query/fetchers/index.cjs.map +1 -1
- package/dist/query/fetchers/index.d.cts +1 -1
- package/dist/query/fetchers/index.d.ts +1 -1
- package/dist/query/fetchers/index.js +6 -8
- package/dist/query/fetchers/index.js.map +1 -1
- package/dist/query/fetchers/roadmap.js +41 -25
- package/dist/query/fetchers/roadmap.js.map +1 -1
- package/dist/query/hooks/index.cjs +31 -81
- package/dist/query/hooks/index.cjs.map +1 -1
- package/dist/query/hooks/index.d.cts +2 -2
- package/dist/query/hooks/index.d.ts +2 -2
- package/dist/query/hooks/index.js +3 -6
- package/dist/query/hooks/index.js.map +1 -1
- package/dist/query/hooks/use-roadmap-mutations.js +9 -31
- package/dist/query/hooks/use-roadmap-mutations.js.map +1 -1
- package/dist/query/index.cjs +46 -77
- package/dist/query/index.cjs.map +1 -1
- package/dist/query/index.d.cts +3 -3
- package/dist/query/index.d.ts +3 -3
- package/dist/query/index.js +12 -14
- package/dist/query/index.js.map +1 -1
- package/dist/query/keys.js +0 -5
- package/dist/query/keys.js.map +1 -1
- package/dist/roadmap/board-body.js +55 -0
- package/dist/roadmap/board-body.js.map +1 -0
- package/dist/roadmap/index.js +0 -91
- package/dist/roadmap/index.js.map +1 -1
- package/dist/{use-user-settings-YIv1C3qN.d.cts → use-user-settings-Bn6g8bgr.d.cts} +11 -14
- package/dist/{use-user-settings-CrS3ZXoW.d.ts → use-user-settings-DQ6Dyby7.d.ts} +11 -14
- package/dist/{user-settings-Bvafly0r.d.ts → user-settings-BdNrDa9O.d.ts} +54 -37
- package/dist/{user-settings-DWq91Gj-.d.cts → user-settings-C8JUD4DM.d.cts} +54 -37
- package/package.json +1 -1
- package/dist/query/hooks/use-roadmap.js +0 -31
- package/dist/query/hooks/use-roadmap.js.map +0 -1
package/dist/roadmap/index.js
CHANGED
|
@@ -1,101 +1,10 @@
|
|
|
1
1
|
// src/roadmap/index.ts
|
|
2
2
|
var ROADMAP_ISSUES_REPO = "singi-labs/sifa-workspace";
|
|
3
|
-
var ROADMAP_ITEM_META = {
|
|
4
|
-
endorsementsAttestations: {
|
|
5
|
-
description: "Let colleagues vouch for your skills and experience, recorded as attestations you carry with you.",
|
|
6
|
-
issues: [3, 166]
|
|
7
|
-
},
|
|
8
|
-
notifications: {
|
|
9
|
-
description: "Get told when someone endorses you, links an organization, or acts on your profile.",
|
|
10
|
-
issues: [158]
|
|
11
|
-
},
|
|
12
|
-
verifiedConnections: {
|
|
13
|
-
description: "Confirm real working relationships, not just follows.",
|
|
14
|
-
issues: []
|
|
15
|
-
},
|
|
16
|
-
profileAnalytics: {
|
|
17
|
-
description: "See who views your profile and how people find you.",
|
|
18
|
-
issues: []
|
|
19
|
-
},
|
|
20
|
-
jobProfiles: {
|
|
21
|
-
description: "Structured work history that stays with your identity across the network.",
|
|
22
|
-
issues: [102]
|
|
23
|
-
},
|
|
24
|
-
eventRsvp: {
|
|
25
|
-
description: "Show the talks and events you're attending or speaking at.",
|
|
26
|
-
issues: [214]
|
|
27
|
-
},
|
|
28
|
-
companyPages: {
|
|
29
|
-
description: "Claimable organization pages that link the people who work there.",
|
|
30
|
-
issues: [73]
|
|
31
|
-
},
|
|
32
|
-
advancedSearch: {
|
|
33
|
-
description: "Search across categories, with filters and forgiving name matching.",
|
|
34
|
-
issues: [5]
|
|
35
|
-
},
|
|
36
|
-
multiAccountLinking: {
|
|
37
|
-
description: "Tie several atproto accounts to one professional identity.",
|
|
38
|
-
issues: [8]
|
|
39
|
-
},
|
|
40
|
-
mobileApps: {
|
|
41
|
-
description: "Native iOS and Android apps.",
|
|
42
|
-
issues: [114]
|
|
43
|
-
},
|
|
44
|
-
atmosphereStream: {
|
|
45
|
-
description: "One feed that gathers your activity from across the atproto network.",
|
|
46
|
-
issues: [7, 12]
|
|
47
|
-
},
|
|
48
|
-
localizationMultiLanguage: {
|
|
49
|
-
description: "The interface in your own language.",
|
|
50
|
-
issues: [218]
|
|
51
|
-
},
|
|
52
|
-
rssFediverseIngestion: {
|
|
53
|
-
description: "Fediverse posts are in your stream. RSS feeds are next.",
|
|
54
|
-
issues: [111, 153]
|
|
55
|
-
},
|
|
56
|
-
githubFeedIngestion: {
|
|
57
|
-
description: "GitHub activity is in your track record. GitLab and org-owned repositories are next.",
|
|
58
|
-
issues: [391, 392]
|
|
59
|
-
},
|
|
60
|
-
compensationInformation: {
|
|
61
|
-
description: "Add optional pay and compensation context to your roles.",
|
|
62
|
-
issues: [81]
|
|
63
|
-
},
|
|
64
|
-
embedCustomization: {
|
|
65
|
-
description: "Choose which fields show in your embeddable profile card.",
|
|
66
|
-
issues: [117]
|
|
67
|
-
},
|
|
68
|
-
academicLexicon: {
|
|
69
|
-
description: "Schema and features built for researchers and academics.",
|
|
70
|
-
issues: [119, 148]
|
|
71
|
-
},
|
|
72
|
-
journalismLexicon: {
|
|
73
|
-
description: "Schema and features built for journalists.",
|
|
74
|
-
issues: [121]
|
|
75
|
-
},
|
|
76
|
-
skillEvidenceGithub: {
|
|
77
|
-
description: "Back up skill claims with the languages in your GitHub repositories.",
|
|
78
|
-
issues: [107]
|
|
79
|
-
},
|
|
80
|
-
latexCvExport: {
|
|
81
|
-
description: "Export your profile as a LaTeX CV.",
|
|
82
|
-
issues: [113]
|
|
83
|
-
},
|
|
84
|
-
jsonResumeImportExport: {
|
|
85
|
-
description: "Move your profile in and out using the JSON Resume standard.",
|
|
86
|
-
issues: [151]
|
|
87
|
-
},
|
|
88
|
-
linkedClaimsResearch: {
|
|
89
|
-
description: "Exploring the LinkedClaims spec for portable, verifiable endorsements.",
|
|
90
|
-
issues: [155]
|
|
91
|
-
}
|
|
92
|
-
};
|
|
93
3
|
function roadmapIssueUrl(issue) {
|
|
94
4
|
return `https://github.com/${ROADMAP_ISSUES_REPO}/issues/${issue}`;
|
|
95
5
|
}
|
|
96
6
|
export {
|
|
97
7
|
ROADMAP_ISSUES_REPO,
|
|
98
|
-
ROADMAP_ITEM_META,
|
|
99
8
|
roadmapIssueUrl
|
|
100
9
|
};
|
|
101
10
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/roadmap/index.ts"],"sourcesContent":["/**\n *
|
|
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, aJ as RefreshPdsResult,
|
|
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,21 +1045,18 @@ 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
1048
|
/**
|
|
1054
|
-
* React hook for
|
|
1049
|
+
* React hook for voting on a roadmap board item. Variable: the item's
|
|
1050
|
+
* `{ did, rkey }`. Returns the discriminated-union result so callers can
|
|
1051
|
+
* detect `scope_insufficient` and trigger an OAuth scope-upgrade flow.
|
|
1055
1052
|
*
|
|
1056
|
-
*
|
|
1057
|
-
*
|
|
1058
|
-
*
|
|
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.
|
|
1059
1056
|
*/
|
|
1060
|
-
declare function
|
|
1061
|
-
/** React hook for retracting a
|
|
1062
|
-
declare function
|
|
1057
|
+
declare function useCastRoadmapItemVote(options?: Omit<UseMutationOptions<CastRoadmapVoteResult, Error, RoadmapItemRef>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<CastRoadmapVoteResult, Error, RoadmapItemRef, unknown>;
|
|
1058
|
+
/** React hook for retracting a vote on a roadmap board item. */
|
|
1059
|
+
declare function useRetractRoadmapItemVote(options?: Omit<UseMutationOptions<WriteResult, Error, RoadmapItemRef>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, RoadmapItemRef, unknown>;
|
|
1063
1060
|
|
|
1064
1061
|
/**
|
|
1065
1062
|
* Read which id.sifa.* collections the current grant cannot delete, so a
|
|
@@ -1255,4 +1252,4 @@ declare function useUpdateUserSettings(): _tanstack_react_query.UseMutationResul
|
|
|
1255
1252
|
showCitationCounts: boolean;
|
|
1256
1253
|
}>, unknown>;
|
|
1257
1254
|
|
|
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,
|
|
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, aJ as RefreshPdsResult,
|
|
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,21 +1045,18 @@ 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
1048
|
/**
|
|
1054
|
-
* React hook for
|
|
1049
|
+
* React hook for voting on a roadmap board item. Variable: the item's
|
|
1050
|
+
* `{ did, rkey }`. Returns the discriminated-union result so callers can
|
|
1051
|
+
* detect `scope_insufficient` and trigger an OAuth scope-upgrade flow.
|
|
1055
1052
|
*
|
|
1056
|
-
*
|
|
1057
|
-
*
|
|
1058
|
-
*
|
|
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.
|
|
1059
1056
|
*/
|
|
1060
|
-
declare function
|
|
1061
|
-
/** React hook for retracting a
|
|
1062
|
-
declare function
|
|
1057
|
+
declare function useCastRoadmapItemVote(options?: Omit<UseMutationOptions<CastRoadmapVoteResult, Error, RoadmapItemRef>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<CastRoadmapVoteResult, Error, RoadmapItemRef, unknown>;
|
|
1058
|
+
/** React hook for retracting a vote on a roadmap board item. */
|
|
1059
|
+
declare function useRetractRoadmapItemVote(options?: Omit<UseMutationOptions<WriteResult, Error, RoadmapItemRef>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, RoadmapItemRef, unknown>;
|
|
1063
1060
|
|
|
1064
1061
|
/**
|
|
1065
1062
|
* Read which id.sifa.* collections the current grant cannot delete, so a
|
|
@@ -1255,4 +1252,4 @@ declare function useUpdateUserSettings(): _tanstack_react_query.UseMutationResul
|
|
|
1255
1252
|
showCitationCounts: boolean;
|
|
1256
1253
|
}>, unknown>;
|
|
1257
1254
|
|
|
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,
|
|
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
|
-
/**
|
|
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
|
|
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
|
|
1560
|
-
* `
|
|
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,8 +1545,52 @@ type CastRoadmapVoteResult = {
|
|
|
1567
1545
|
ok: false;
|
|
1568
1546
|
error: RoadmapVoteError;
|
|
1569
1547
|
};
|
|
1548
|
+
/** Roadmap group of a board item (sifa-api `GET /api/roadmap`). */
|
|
1549
|
+
type RoadmapBoardStatus = 'done' | 'in-progress' | 'planned' | 'later' | 'under-review';
|
|
1550
|
+
type RoadmapBoardSize = 'small' | 'medium' | 'epic';
|
|
1551
|
+
/** One item on the roadmap, read from Sifa's userinput.app board. */
|
|
1552
|
+
interface RoadmapBoardItem {
|
|
1553
|
+
/** The `app.userinput.discussion` record URI. */
|
|
1554
|
+
uri: string;
|
|
1555
|
+
/** Author of the discussion (sifa.id or anyone who posted an idea). */
|
|
1556
|
+
did: string;
|
|
1557
|
+
rkey: string;
|
|
1558
|
+
title: string;
|
|
1559
|
+
/** Free text from the record. Render as plain text. */
|
|
1560
|
+
body: string | null;
|
|
1561
|
+
/** Tags without the size tag. */
|
|
1562
|
+
tags: string[];
|
|
1563
|
+
size: RoadmapBoardSize | null;
|
|
1564
|
+
status: RoadmapBoardStatus;
|
|
1565
|
+
votable: boolean;
|
|
1566
|
+
votes: {
|
|
1567
|
+
count: number;
|
|
1568
|
+
voters: RoadmapVoter[];
|
|
1569
|
+
};
|
|
1570
|
+
createdAt: string;
|
|
1571
|
+
/** Whether the signed-in viewer voted. False without a session. */
|
|
1572
|
+
viewerVoted: boolean;
|
|
1573
|
+
}
|
|
1574
|
+
/** Identifies a board item for voting. */
|
|
1575
|
+
interface RoadmapItemRef {
|
|
1576
|
+
did: string;
|
|
1577
|
+
rkey: string;
|
|
1578
|
+
}
|
|
1579
|
+
interface FetchRoadmapOptions extends ApiFetchOptions {
|
|
1580
|
+
/**
|
|
1581
|
+
* Pass the caller's `Cookie` header on Next.js RSC server-side calls so
|
|
1582
|
+
* `viewerVoted` reflects the viewer.
|
|
1583
|
+
*/
|
|
1584
|
+
cookieHeader?: string;
|
|
1585
|
+
}
|
|
1570
1586
|
/**
|
|
1571
|
-
*
|
|
1587
|
+
* The roadmap as built from Sifa's userinput.app board, grouped and ordered
|
|
1588
|
+
* by the API. Returns `null` on any error, so callers can tell an outage from
|
|
1589
|
+
* an empty roadmap.
|
|
1590
|
+
*/
|
|
1591
|
+
declare function fetchRoadmap(config: SifaApiConfig, options?: FetchRoadmapOptions): Promise<RoadmapBoardItem[] | null>;
|
|
1592
|
+
/**
|
|
1593
|
+
* Vote on a roadmap board item, identified by its `{ did, rkey }`.
|
|
1572
1594
|
*
|
|
1573
1595
|
* Writes an `app.userinput.upvote` record into the viewer's PDS (server-side,
|
|
1574
1596
|
* via their OAuth session). Returns a discriminated-union result rather than
|
|
@@ -1579,9 +1601,9 @@ type CastRoadmapVoteResult = {
|
|
|
1579
1601
|
*
|
|
1580
1602
|
* Never throws.
|
|
1581
1603
|
*/
|
|
1582
|
-
declare function
|
|
1583
|
-
/** Retract a
|
|
1584
|
-
declare function
|
|
1604
|
+
declare function castRoadmapItemVote(config: SifaApiConfig, item: RoadmapItemRef, options?: ApiFetchOptions): Promise<CastRoadmapVoteResult>;
|
|
1605
|
+
/** Retract a vote on a roadmap board item. */
|
|
1606
|
+
declare function retractRoadmapItemVote(config: SifaApiConfig, item: RoadmapItemRef, options?: ApiFetchOptions): Promise<WriteResult>;
|
|
1585
1607
|
|
|
1586
1608
|
/**
|
|
1587
1609
|
* What the server managed to remove from the user's PDS.
|
|
@@ -1850,11 +1872,6 @@ declare const sifaQueryKeys: {
|
|
|
1850
1872
|
readonly status: (uris: string[]) => readonly ["sifa", "reactions", "status", string[]];
|
|
1851
1873
|
readonly accountCheck: (appId: string) => readonly ["sifa", "reactions", "account-check", string];
|
|
1852
1874
|
};
|
|
1853
|
-
readonly roadmap: {
|
|
1854
|
-
readonly all: () => readonly ["sifa", "roadmap"];
|
|
1855
|
-
readonly votes: () => readonly ["sifa", "roadmap", "votes"];
|
|
1856
|
-
readonly myVotes: () => readonly ["sifa", "roadmap", "my-votes"];
|
|
1857
|
-
};
|
|
1858
1875
|
readonly bskyPreferences: {
|
|
1859
1876
|
readonly all: () => readonly ["sifa", "bsky-preferences"];
|
|
1860
1877
|
readonly contentLabels: () => readonly ["sifa", "bsky-preferences", "content-labels"];
|
|
@@ -1871,7 +1888,7 @@ declare const sifaQueryKeys: {
|
|
|
1871
1888
|
readonly wipePreview: () => readonly ["sifa", "destructive", "wipe-preview"];
|
|
1872
1889
|
};
|
|
1873
1890
|
};
|
|
1874
|
-
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.
|
|
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>;
|
|
1875
1892
|
|
|
1876
1893
|
/** How a single entity binding was resolved during a claim. */
|
|
1877
1894
|
interface OrgClaimBinding {
|
|
@@ -1986,4 +2003,4 @@ declare function fetchUserSettings(config: SifaApiConfig, options?: FetchUserSet
|
|
|
1986
2003
|
/** Save the given preferences. Returns the stored settings, or `null` on failure. */
|
|
1987
2004
|
declare function updateUserSettings(config: SifaApiConfig, patch: UserSettingsPatch): Promise<UserSettings | null>;
|
|
1988
2005
|
|
|
1989
|
-
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
|
|
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 };
|