@singi-labs/sifa-sdk 0.19.97 → 0.19.99
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-BEAuoL6l.d.ts → index-5T1grOo4.d.ts} +14 -1
- package/dist/{index-DU0pYHch.d.cts → index-CL8l5aB-.d.cts} +14 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/jsonld/index.d.cts +1 -1
- package/dist/jsonld/index.d.ts +1 -1
- package/dist/{network-map-D39CQj9J.d.cts → network-map-CkmtsHDY.d.cts} +3 -3
- package/dist/{network-map-Bx5ohCEV.d.ts → network-map-v2LJbj0p.d.ts} +3 -3
- package/dist/{profile-summary-DPNTzeDv.d.ts → profile-summary-BpDqAdtX.d.ts} +1 -1
- package/dist/{profile-summary-D56VII1x.d.cts → profile-summary-yoljNqGz.d.cts} +1 -1
- package/dist/query/fetchers/email-verification.js +64 -0
- package/dist/query/fetchers/email-verification.js.map +1 -0
- package/dist/query/fetchers/index.cjs +5 -0
- package/dist/query/fetchers/index.cjs.map +1 -1
- package/dist/query/fetchers/index.d.cts +6 -6
- package/dist/query/fetchers/index.d.ts +6 -6
- package/dist/query/fetchers/profile-emails.js +66 -0
- package/dist/query/fetchers/profile-emails.js.map +1 -0
- package/dist/query/hooks/index.cjs +111 -0
- package/dist/query/hooks/index.cjs.map +1 -1
- package/dist/query/hooks/index.d.cts +4 -4
- package/dist/query/hooks/index.d.ts +4 -4
- package/dist/query/hooks/index.js +10 -0
- package/dist/query/hooks/index.js.map +1 -1
- package/dist/query/hooks/use-profile-emails.js +73 -0
- package/dist/query/hooks/use-profile-emails.js.map +1 -0
- package/dist/query/index.cjs +168 -0
- package/dist/query/index.cjs.map +1 -1
- package/dist/query/index.d.cts +55 -11
- package/dist/query/index.d.ts +55 -11
- package/dist/query/index.js +34 -0
- package/dist/query/index.js.map +1 -1
- package/dist/query/keys.js +5 -0
- package/dist/query/keys.js.map +1 -1
- package/dist/resume/index.d.cts +1 -1
- package/dist/resume/index.d.ts +1 -1
- package/dist/testing/index.d.cts +1 -1
- package/dist/testing/index.d.ts +1 -1
- package/dist/types/index.js.map +1 -1
- package/dist/{types-BqxbmLY6.d.ts → types-B9nkqX3O.d.ts} +2 -2
- package/dist/{types-Dd7UMXIz.d.cts → types-C6ghq8Fv.d.cts} +2 -2
- package/dist/{use-user-settings-GNjzBIGz.d.ts → use-user-settings-BNhxzw2f.d.ts} +91 -4
- package/dist/{use-user-settings-CNbF2SR5.d.cts → use-user-settings-Bah9kEqH.d.cts} +91 -4
- package/dist/{user-settings-D77MWX_w.d.ts → user-settings-C_8R5XSQ.d.ts} +7 -2
- package/dist/{user-settings-DWNbF59w.d.cts → user-settings-CdXeV4lU.d.cts} +7 -2
- package/package.json +1 -1
package/dist/query/index.d.cts
CHANGED
|
@@ -1,19 +1,63 @@
|
|
|
1
|
-
import { a0 as
|
|
2
|
-
export { a4 as ApiError, a5 as FilterOptions, a6 as ProfileSearchResult, a7 as ProfileSearchSuggestion, S as SearchFilters, a8 as SearchResponse, a9 as SkillSearchResult, aa as apiFetch, ab as apiFetchOrNull, ac as apiWrite, ad as apiWriteCreate, ae as fetchSearchFilters, af as fetchSearchProfiles, ag as fetchSkillSuggestions, ah as searchSkills } from '../types-
|
|
3
|
-
export { A as AddFeatureAllowlistVariables, a as AttestationRequest, b as AttestationRequestSchema, c as AttestationStatus, C as CreateOrgAttestationInput, d as CreateOrgAttestationResult, e as CreateReactionVariables, f as CreateRecordVariables, D as DeleteReactionVariables, g as DeleteRecordVariables, F as FetchOrgAttestationOptions, h as
|
|
4
|
-
import { R as ReceivedEndorsementsPage, a as ReciprocityCandidate, D as DismissEndorsementInput, P as PendingEndorsementsPage } from '../network-map-
|
|
5
|
-
export { F as FetchNetworkStreamCountOptions, b as FetchPendingEndorsementsOptions, N as NetworkMapEdge, c as NetworkMapGenerationJob, d as NetworkMapGraphData, e as NetworkMapNode, f as NetworkMapPendingJob, g as NetworkMapResponse, h as PendingEndorsement, i as ReceivedEndorsement, j as ReciprocitySkill, S as SpeakerCard, k as SpeakerDirectoryFilters, l as SpeakerGroup, m as SpeakersResponse, T as TalkEvent, n as TalkRow, o as TalkSpeaker, p as TalksResponse, q as checkNetworkMapJobStatus, r as createEducation, s as createPosition, t as createRecord, u as deleteEducation, v as deletePosition, w as deleteRecord, x as dismissEndorsement, y as fetchAtFundLink, z as fetchEndorsementCount, A as fetchEntitySearch, B as fetchGetProfileView, C as fetchNetworkMap, E as fetchNetworkStreamCount, G as fetchPendingEndorsements, H as fetchProfile, I as fetchProfileSummary, J as fetchReceivedEndorsements, K as fetchReciprocityCandidate, L as fetchSpeakers, M as fetchTalks, O as hideKeytraceClaim, Q as importSearchEntities, U as initiateNetworkMapGeneration, V as isNetworkMapResponse, W as linkSkillToPosition, X as mintEntityDomain, Y as resolveEntityDomain, Z as revealMarqueDomain, _ as selectEntity, $ as setPositionPrimary, a0 as unhideKeytraceClaim, a1 as unlinkSkillFromPosition, a2 as unrevealMarqueDomain, a3 as unsetPositionPrimary, a4 as updateEducation, a5 as updatePosition, a6 as updateRecord } from '../network-map-
|
|
6
|
-
import { s as sifaQueryKeys, C as ConfirmEndorsementInput, a as ConfirmEndorsementResult } from '../user-settings-
|
|
7
|
-
export { A as AccountCheckResult, b as AccountSummary, c as ActivityFeedResponse, d as ActivityItem, e as ActivityItemLinkHealth, f as ActivityPreferences, g as ActivityTeaserResponse, h as AdminReviewQueues, i as AppRegistryEntry, B as BulkHideProfileItemInput, j as CastRoadmapVoteResult, k as CheckAppAccountOptions, l as ConfirmationInput, m as ConfirmationSubjectInput, n as CreateExternalAccountResult, D as DeleteAccountResult, o as DismissCompletenessSignalInput, p as DismissUnlinkedPositionInput, E as EndorsementInput, q as ExternalAccountInput, F as FeatureAllowlistResponse, r as FeaturedProfile, t as FetchAccountsOptions, u as FetchActivityFeedOptions, v as FetchActivityPreferencesOptions, w as FetchActivityTeaserOptions, x as FetchConfirmationsOptions, y as FetchFollowListOptions, z as FetchFollowProfilePageOptions, G as FetchFollowingFeedOptions, H as FetchHiddenActivityItemsOptions, I as FetchHiddenAppsOptions, J as FetchInboxCountsOptions, K as FetchMyGithubPullRequestsOptions, L as FetchMyRoadmapVotesOptions, M as FetchProfileCompletenessOptions, N as FetchReactionStatusOptions, O as FetchRpgClaimableOptions, P as FetchRpgStatusOptions, Q as FetchSuggestionsOptions, R as FetchUnlinkedPositionsOptions, S as FetchUserSettingsOptions, T as FollowListPage, U as FollowProfile, V as FollowProfilePageResponse, W as FollowUserResult, X as FollowingFeedApp, Y as FollowingFeedBuild, Z as FollowingFeedEmptyReason, _ as FollowingFeedResponse, $ as FollowingFeedVersion, a0 as FollowingResponse, a1 as GetAdminReviewQueuesOptions, a2 as GithubPullRequest, a3 as GivenConfirmation, a4 as HIDDEN_ITEM_SOURCES, a5 as HIDDEN_ITEM_TYPES, a6 as HeatmapDay, a7 as HeatmapResponse, a8 as HiddenActivityItem, a9 as HiddenApp, aa as HiddenItemSource, ab as HiddenItemType, ac as HideActivityItemInput, ad as HideProfileItemInput, ae as InboxCounts, af as ListFeatureAllowlistOptions, ag as MyGithubPullRequestsResponse, ah as OrgClaimBinding, ai as OrgClaimResult, aj as OrgDomainChallengeResult, ak as OrgDomainVerifyResult, al as OrgNotificationEmailAddResult, am as OrgNotificationEmailRemoveResult, an as OrgProfileEcho, ao as OrgProfileUpdateResult, ap as PROFILE_COMPLETENESS_SIGNALS, aq as PdsWipeOutcome, ar as PendingConfirmation, as as PendingConfirmationsPage, at as PrimarySection, au as ProfileCompleteness, av as ProfileCompletenessSignal, aw as ProfileIndustryInput, ax as ProfileLocationAddress, ay as ProfileLocationInput, az as ProfileSelfLocation, aA as QUOTED_POSTS_BATCH_MAX, aB as QuotedPostAuthor, aC as QuotedPostImage, aD as QuotedPostResult, aE as QuotedPostView, aF as ReactionError, aG as ReactionResult, aH as ReactionStatus, aI as RefreshOrcidPublicationsResult, aJ as RefreshPdsResult, aK as RepoDeleteInput, aL as ResetProfileResult, aM as ResolveQuotedPostsOptions, aN as RoadmapVoteError, aO as RoadmapVoteResult, aP as RoadmapVoter, aQ as RoadmapVotesResponse, aR as RpgClaimableResponse, aS as RpgClaimableResponseSchema, aT as RpgItemStatus, aU as RpgItemStatusSchema, aV as RpgStatusResponse, aW as RpgStatusResponseSchema, aX as SifaQueryKey, aY as SimilarProfile, aZ as SiteActivityPresetResponse, a_ as StatsResponse, a$ as SubCategoryBulkResult, b0 as SuggestionProfile, b1 as SuggestionsResponse, b2 as UnhideActivityItemInput, b3 as UnlinkedPosition, b4 as UnlinkedPositionsResult, b5 as UpdateActivityPreferencesInput, b6 as UpdateProfileOverrideInput, b7 as UpdateProfileSelfInput, b8 as UploadAvatarResult, b9 as UploadPronunciationAudioResult, ba as UserSettings, bb as UserSettingsPatch, bc as UserSettingsSchema, bd as VerifyExternalAccountResult, be as WipePreview, bf as addFeatureAllowlist, bg as addOrgNotificationEmail, bh as bulkHideProfileItems, bi as bulkHideStandardPublications, bj as bulkUnhideProfileItems, bk as bulkUnhideStandardPublications, bl as castRoadmapVote, bm as checkAppAccount, bn as clearCompletenessDismissals, bo as confirmEndorsement, bp as createConfirmation, bq as createEndorsement, br as createExternalAccount, bs as createProfileLocation, bt as createReaction, bu as createSkill, bv as deleteAccount, bw as deleteAvatarOverride, bx as deleteExternalAccount, by as deleteNamePronunciationAudio, bz as deleteProfileLocation, bA as deleteReaction, bB as deleteRepoRecords, bC as deleteSkill, bD as dismissCompletenessSignal, bE as dismissConfirmation, bF as dismissUnlinkedPosition, bG as fetchAccounts, bH as fetchActivityFeed, bI as fetchActivityPreferences, bJ as fetchActivityTeaser, bK as fetchAppsRegistry, bL as fetchExternalAccounts, bM as fetchFeaturedProfile, bN as fetchFollowing, bO as fetchFollowingFeed, bP as fetchFollowingFeedVersion, bQ as fetchGivenConfirmations, bR as fetchHeatmapData, bS as fetchHiddenActivityItems, bT as fetchHiddenApps, bU as fetchInboxCounts, bV as fetchMyGithubPullRequests, bW as fetchMyRoadmapVotes, bX as fetchPendingConfirmations, bY as fetchProfileCompleteness, bZ as fetchReactionStatus, b_ as fetchRepoInventory, b$ as fetchRoadmapVotes, c0 as fetchRpgClaimable, c1 as fetchRpgStatus, c2 as fetchSimilarProfiles, c3 as fetchSiteActivityPreset, c4 as fetchStats, c5 as fetchSuggestionCount, c6 as fetchSuggestions, c7 as fetchUnlinkedPositions, c8 as fetchUserSettings, c9 as fetchViewerPositionConfirmations, ca as fetchWipePreview, cb as followUser, cc as getAdminReviewQueues, cd as getBlueskySuggestions, ce as getFollowers, cf as getFollowing, cg as getMutuals, ch as hideActivityItem, ci as hideOrcidPublication, cj as hideProfileItem, ck as hideSifaPublication, cl as hideStandardPublication, cm as isNewerFollowingFeed, cn as listFeatureAllowlist, co as refreshOrcidPublications, cp as refreshPds, cq as removeFeatureAllowlist, cr as removeOrgNotificationEmail, cs as repoExportUrl, ct as requestOrgDomainChallenge, cu as resetProfile, cv as resolveQuotedPosts, cw as retractRoadmapVote, cx as revokeConfirmation, cy as setExternalAccountPrimary, cz as setSectionPrimary, cA as submitOrgClaim, cB as switchAccount, cC as unfollowUser, cD as unhideActivityItem, cE as unhideOrcidPublication, cF as unhideProfileItem, cG as unhideSifaPublication, cH as unhideStandardPublication, cI as unsetExternalAccountPrimary, cJ as unsetSectionPrimary, cK as updateActivityPreferences, cL as updateExternalAccount, cM as updateOrgProfile, cN as updateProfileLocation, cO as updateProfileOverride, cP as updateProfileSelf, cQ as updateSkill, cR as updateSkillSubCategories, cS as updateUserSettings, cT as uploadAvatar, cU as uploadNamePronunciationAudio, cV as verifyExternalAccount, cW as verifyOrgDomain } from '../user-settings-
|
|
8
|
-
import {
|
|
1
|
+
import { a0 as ApiFetchOptions, a1 as SifaApiConfig, a2 as WriteResult, a3 as CreateResult, c as AdultContentLabel } from '../types-C6ghq8Fv.cjs';
|
|
2
|
+
export { a4 as ApiError, a5 as FilterOptions, a6 as ProfileSearchResult, a7 as ProfileSearchSuggestion, S as SearchFilters, a8 as SearchResponse, a9 as SkillSearchResult, aa as apiFetch, ab as apiFetchOrNull, ac as apiWrite, ad as apiWriteCreate, ae as fetchSearchFilters, af as fetchSearchProfiles, ag as fetchSkillSuggestions, ah as searchSkills } from '../types-C6ghq8Fv.cjs';
|
|
3
|
+
export { A as AddFeatureAllowlistVariables, a as AttestationRequest, b as AttestationRequestSchema, c as AttestationStatus, C as CreateOrgAttestationInput, d as CreateOrgAttestationResult, e as CreateReactionVariables, f as CreateRecordVariables, D as DeleteReactionVariables, g as DeleteRecordVariables, F as FetchOrgAttestationOptions, h as FetchProfileEmailsOptions, i as FetchVerificationLogOptions, j as FollowVariables, O as OrgAttestation, k as OrgAttestationSchema, P as PositionSkillLinkVariables, l as ProfileEmail, m as ProfileEmailSchema, n as ProfileEmailSendStatus, o as ProfileEmails, R as RemoveFeatureAllowlistVariables, p as RequestEmploymentConfirmationInput, q as RequestEmploymentConfirmationResult, S as SifaProvider, r as SifaProviderProps, U as UnfollowVariables, s as UpdateEducationVariables, t as UpdateExternalAccountVariables, u as UpdatePositionVariables, v as UpdateProfileLocationVariables, w as UpdateRecordVariables, x as UpdateSkillSubCategoriesVariables, y as UpdateSkillVariables, z as UseEntitySearchOptions, B as UseMyGithubPullRequestsParams, V as VERIFICATION_EVENT_KINDS, E as VerificationEventKind, G as VerificationLog, H as VerificationLogEntry, I as VerificationLogEntrySchema, J as VerificationLogSchema, K as addProfileEmail, L as createOrgAttestation, M as fetchAttestationRequests, N as fetchOrgAttestations, Q as fetchProfileEmails, T as fetchVerificationLog, W as offboardOrgAttestation, X as rejectAttestationRequest, Y as removeProfileEmail, Z as requestEmploymentConfirmation, _ as resendProfileEmailVerification, $ as revokeOrgAttestation, a0 as useAccounts, a1 as useActivityFeed, a2 as useActivityPreferences, a3 as useActivityTeaser, a4 as useAddFeatureAllowlist, a5 as useAddOrgNotificationEmail, a6 as useAddProfileEmail, a7 as useAdminReviewQueues, a8 as useAppAccountCheck, a9 as useAppsRegistry, aa as useAtFundLink, ab as useAttestationRequests, ac as useBlueskySuggestions, ad as useBulkHideProfileItems, ae as useBulkHideStandardPublications, af as useBulkUnhideProfileItems, ag as useBulkUnhideStandardPublications, ah as useCanonicalSkillSearch, ai as useCastRoadmapVote, aj as useClearCompletenessDismissals, ak as useCreateConfirmation, al as useCreateEducation, am as useCreateEndorsement, an as useCreateExternalAccount, ao as useCreateOrgAttestation, ap as useCreatePosition, aq as useCreateProfileLocation, ar as useCreateReaction, as as useCreateRecord, at as useCreateSkill, au as useDebouncedValue, av as useDeleteAccount, aw as useDeleteAvatarOverride, ax as useDeleteEducation, ay as useDeleteExternalAccount, az as useDeleteNamePronunciationAudio, aA as useDeletePosition, aB as useDeleteProfileLocation, aC as useDeleteReaction, aD as useDeleteRecord, aE as useDeleteRepoRecords, aF as useDeleteSkill, aG as useDismissCompletenessSignal, aH as useDismissConfirmation, aI as useDismissUnlinkedPosition, aJ as useEndorsementCount, aK as useEntitySearch, aL as useExternalAccounts, aM as useFeatureAllowlist, aN as useFeaturedProfile, aO as useFollow, aP as useFollowers, aQ as useFollowing, aR as useFollowingFeed, aS as useFollowingFeedVersion, aT as useFollowingList, aU as useGetProfileView, aV as useGivenConfirmations, aW as useHeatmapData, aX as useHiddenActivityItems, aY as useHiddenApps, aZ as useHideActivityItem, a_ as useHideKeytraceClaim, a$ as useHideOrcidPublication, b0 as useHideProfileItem, b1 as useHideSifaPublication, b2 as useHideStandardPublication, b3 as useImportSearchEntities, b4 as useInboxCounts, b5 as useLinkSkillToPosition, b6 as useMintEntityDomain, b7 as useMutuals, b8 as useMyGithubPullRequests, b9 as useMyRoadmapVotes, ba as useNetworkStreamCount, bb as useOffboardOrgAttestation, bc as useOrgAttestations, bd as useOrgClaim, be as useOrgDomainChallenge, bf as useOrgDomainVerify, bg as useOrgProfile, bh as usePendingConfirmations, bi as useProfile, bj as useProfileCompleteness, bk as useProfileEmails, bl as useReactionStatus, bm as useRefreshOrcidPublications, bn as useRefreshPds, bo as useRejectAttestationRequest, bp as useRemoveFeatureAllowlist, bq as useRemoveOrgNotificationEmail, br as useRemoveProfileEmail, bs as useRepoInventory, bt as useRequestEmploymentConfirmation, bu as useResendProfileEmailVerification, bv as useResetProfile, bw as useResolveEntityDomain, bx as useRetractRoadmapVote, by as useRevealMarqueDomain, bz as useRevokeConfirmation, bA as useRevokeOrgAttestation, bB as useRoadmapVotes, bC as useRpgClaimable, bD as useRpgStatus, bE as useSearchFilters, bF as useSearchProfiles, bG as useSelectEntity, bH as useSetExternalAccountPrimary, bI as useSetPositionPrimary, bJ as useSetSectionPrimary, bK as useSifaConfig, bL as useSimilarProfiles, bM as useSiteActivityPreset, bN as useSkillSuggestions, bO as useStats, bP as useSuggestionCount, bQ as useSuggestions, bR as useUnfollow, bS as useUnhideActivityItem, bT as useUnhideKeytraceClaim, bU as useUnhideOrcidPublication, bV as useUnhideProfileItem, bW as useUnhideSifaPublication, bX as useUnhideStandardPublication, bY as useUnlinkSkillFromPosition, bZ as useUnlinkedPositions, b_ as useUnrevealMarqueDomain, b$ as useUnsetExternalAccountPrimary, c0 as useUnsetPositionPrimary, c1 as useUnsetSectionPrimary, c2 as useUpdateActivityPreferences, c3 as useUpdateEducation, c4 as useUpdateExternalAccount, c5 as useUpdateOrgProfile, c6 as useUpdatePosition, c7 as useUpdateProfileLocation, c8 as useUpdateProfileOverride, c9 as useUpdateProfileSelf, ca as useUpdateRecord, cb as useUpdateSkill, cc as useUpdateSkillSubCategories, cd as useUpdateUserSettings, ce as useUploadAvatar, cf as useUploadNamePronunciationAudio, cg as useUserSettings, ch as useVerificationLog, ci as useVerifyExternalAccount, cj as useWipePreview } from '../use-user-settings-Bah9kEqH.cjs';
|
|
4
|
+
import { R as ReceivedEndorsementsPage, a as ReciprocityCandidate, D as DismissEndorsementInput, P as PendingEndorsementsPage } from '../network-map-CkmtsHDY.cjs';
|
|
5
|
+
export { F as FetchNetworkStreamCountOptions, b as FetchPendingEndorsementsOptions, N as NetworkMapEdge, c as NetworkMapGenerationJob, d as NetworkMapGraphData, e as NetworkMapNode, f as NetworkMapPendingJob, g as NetworkMapResponse, h as PendingEndorsement, i as ReceivedEndorsement, j as ReciprocitySkill, S as SpeakerCard, k as SpeakerDirectoryFilters, l as SpeakerGroup, m as SpeakersResponse, T as TalkEvent, n as TalkRow, o as TalkSpeaker, p as TalksResponse, q as checkNetworkMapJobStatus, r as createEducation, s as createPosition, t as createRecord, u as deleteEducation, v as deletePosition, w as deleteRecord, x as dismissEndorsement, y as fetchAtFundLink, z as fetchEndorsementCount, A as fetchEntitySearch, B as fetchGetProfileView, C as fetchNetworkMap, E as fetchNetworkStreamCount, G as fetchPendingEndorsements, H as fetchProfile, I as fetchProfileSummary, J as fetchReceivedEndorsements, K as fetchReciprocityCandidate, L as fetchSpeakers, M as fetchTalks, O as hideKeytraceClaim, Q as importSearchEntities, U as initiateNetworkMapGeneration, V as isNetworkMapResponse, W as linkSkillToPosition, X as mintEntityDomain, Y as resolveEntityDomain, Z as revealMarqueDomain, _ as selectEntity, $ as setPositionPrimary, a0 as unhideKeytraceClaim, a1 as unlinkSkillFromPosition, a2 as unrevealMarqueDomain, a3 as unsetPositionPrimary, a4 as updateEducation, a5 as updatePosition, a6 as updateRecord } from '../network-map-CkmtsHDY.cjs';
|
|
6
|
+
import { s as sifaQueryKeys, C as ConfirmEndorsementInput, a as ConfirmEndorsementResult } from '../user-settings-CdXeV4lU.cjs';
|
|
7
|
+
export { A as AccountCheckResult, b as AccountSummary, c as ActivityFeedResponse, d as ActivityItem, e as ActivityItemLinkHealth, f as ActivityPreferences, g as ActivityTeaserResponse, h as AdminReviewQueues, i as AppRegistryEntry, B as BulkHideProfileItemInput, j as CastRoadmapVoteResult, k as CheckAppAccountOptions, l as ConfirmationInput, m as ConfirmationSubjectInput, n as CreateExternalAccountResult, D as DeleteAccountResult, o as DismissCompletenessSignalInput, p as DismissUnlinkedPositionInput, E as EndorsementInput, q as ExternalAccountInput, F as FeatureAllowlistResponse, r as FeaturedProfile, t as FetchAccountsOptions, u as FetchActivityFeedOptions, v as FetchActivityPreferencesOptions, w as FetchActivityTeaserOptions, x as FetchConfirmationsOptions, y as FetchFollowListOptions, z as FetchFollowProfilePageOptions, G as FetchFollowingFeedOptions, H as FetchHiddenActivityItemsOptions, I as FetchHiddenAppsOptions, J as FetchInboxCountsOptions, K as FetchMyGithubPullRequestsOptions, L as FetchMyRoadmapVotesOptions, M as FetchProfileCompletenessOptions, N as FetchReactionStatusOptions, O as FetchRpgClaimableOptions, P as FetchRpgStatusOptions, Q as FetchSuggestionsOptions, R as FetchUnlinkedPositionsOptions, S as FetchUserSettingsOptions, T as FollowListPage, U as FollowProfile, V as FollowProfilePageResponse, W as FollowUserResult, X as FollowingFeedApp, Y as FollowingFeedBuild, Z as FollowingFeedEmptyReason, _ as FollowingFeedResponse, $ as FollowingFeedVersion, a0 as FollowingResponse, a1 as GetAdminReviewQueuesOptions, a2 as GithubPullRequest, a3 as GivenConfirmation, a4 as HIDDEN_ITEM_SOURCES, a5 as HIDDEN_ITEM_TYPES, a6 as HeatmapDay, a7 as HeatmapResponse, a8 as HiddenActivityItem, a9 as HiddenApp, aa as HiddenItemSource, ab as HiddenItemType, ac as HideActivityItemInput, ad as HideProfileItemInput, ae as InboxCounts, af as ListFeatureAllowlistOptions, ag as MyGithubPullRequestsResponse, ah as OrgClaimBinding, ai as OrgClaimResult, aj as OrgDomainChallengeResult, ak as OrgDomainVerifyResult, al as OrgNotificationEmailAddResult, am as OrgNotificationEmailRemoveResult, an as OrgProfileEcho, ao as OrgProfileUpdateResult, ap as PROFILE_COMPLETENESS_SIGNALS, aq as PdsWipeOutcome, ar as PendingConfirmation, as as PendingConfirmationsPage, at as PrimarySection, au as ProfileCompleteness, av as ProfileCompletenessSignal, aw as ProfileIndustryInput, ax as ProfileLocationAddress, ay as ProfileLocationInput, az as ProfileSelfLocation, aA as QUOTED_POSTS_BATCH_MAX, aB as QuotedPostAuthor, aC as QuotedPostImage, aD as QuotedPostResult, aE as QuotedPostView, aF as ReactionError, aG as ReactionResult, aH as ReactionStatus, aI as RefreshOrcidPublicationsResult, aJ as RefreshPdsResult, aK as RepoDeleteInput, aL as ResetProfileResult, aM as ResolveQuotedPostsOptions, aN as RoadmapVoteError, aO as RoadmapVoteResult, aP as RoadmapVoter, aQ as RoadmapVotesResponse, aR as RpgClaimableResponse, aS as RpgClaimableResponseSchema, aT as RpgItemStatus, aU as RpgItemStatusSchema, aV as RpgStatusResponse, aW as RpgStatusResponseSchema, aX as SifaQueryKey, aY as SimilarProfile, aZ as SiteActivityPresetResponse, a_ as StatsResponse, a$ as SubCategoryBulkResult, b0 as SuggestionProfile, b1 as SuggestionsResponse, b2 as UnhideActivityItemInput, b3 as UnlinkedPosition, b4 as UnlinkedPositionsResult, b5 as UpdateActivityPreferencesInput, b6 as UpdateProfileOverrideInput, b7 as UpdateProfileSelfInput, b8 as UploadAvatarResult, b9 as UploadPronunciationAudioResult, ba as UserSettings, bb as UserSettingsPatch, bc as UserSettingsSchema, bd as VerifyExternalAccountResult, be as WipePreview, bf as addFeatureAllowlist, bg as addOrgNotificationEmail, bh as bulkHideProfileItems, bi as bulkHideStandardPublications, bj as bulkUnhideProfileItems, bk as bulkUnhideStandardPublications, bl as castRoadmapVote, bm as checkAppAccount, bn as clearCompletenessDismissals, bo as confirmEndorsement, bp as createConfirmation, bq as createEndorsement, br as createExternalAccount, bs as createProfileLocation, bt as createReaction, bu as createSkill, bv as deleteAccount, bw as deleteAvatarOverride, bx as deleteExternalAccount, by as deleteNamePronunciationAudio, bz as deleteProfileLocation, bA as deleteReaction, bB as deleteRepoRecords, bC as deleteSkill, bD as dismissCompletenessSignal, bE as dismissConfirmation, bF as dismissUnlinkedPosition, bG as fetchAccounts, bH as fetchActivityFeed, bI as fetchActivityPreferences, bJ as fetchActivityTeaser, bK as fetchAppsRegistry, bL as fetchExternalAccounts, bM as fetchFeaturedProfile, bN as fetchFollowing, bO as fetchFollowingFeed, bP as fetchFollowingFeedVersion, bQ as fetchGivenConfirmations, bR as fetchHeatmapData, bS as fetchHiddenActivityItems, bT as fetchHiddenApps, bU as fetchInboxCounts, bV as fetchMyGithubPullRequests, bW as fetchMyRoadmapVotes, bX as fetchPendingConfirmations, bY as fetchProfileCompleteness, bZ as fetchReactionStatus, b_ as fetchRepoInventory, b$ as fetchRoadmapVotes, c0 as fetchRpgClaimable, c1 as fetchRpgStatus, c2 as fetchSimilarProfiles, c3 as fetchSiteActivityPreset, c4 as fetchStats, c5 as fetchSuggestionCount, c6 as fetchSuggestions, c7 as fetchUnlinkedPositions, c8 as fetchUserSettings, c9 as fetchViewerPositionConfirmations, ca as fetchWipePreview, cb as followUser, cc as getAdminReviewQueues, cd as getBlueskySuggestions, ce as getFollowers, cf as getFollowing, cg as getMutuals, ch as hideActivityItem, ci as hideOrcidPublication, cj as hideProfileItem, ck as hideSifaPublication, cl as hideStandardPublication, cm as isNewerFollowingFeed, cn as listFeatureAllowlist, co as refreshOrcidPublications, cp as refreshPds, cq as removeFeatureAllowlist, cr as removeOrgNotificationEmail, cs as repoExportUrl, ct as requestOrgDomainChallenge, cu as resetProfile, cv as resolveQuotedPosts, cw as retractRoadmapVote, cx as revokeConfirmation, cy as setExternalAccountPrimary, cz as setSectionPrimary, cA as submitOrgClaim, cB as switchAccount, cC as unfollowUser, cD as unhideActivityItem, cE as unhideOrcidPublication, cF as unhideProfileItem, cG as unhideSifaPublication, cH as unhideStandardPublication, cI as unsetExternalAccountPrimary, cJ as unsetSectionPrimary, cK as updateActivityPreferences, cL as updateExternalAccount, cM as updateOrgProfile, cN as updateProfileLocation, cO as updateProfileOverride, cP as updateProfileSelf, cQ as updateSkill, cR as updateSkillSubCategories, cS as updateUserSettings, cT as uploadAvatar, cU as uploadNamePronunciationAudio, cV as verifyExternalAccount, cW as verifyOrgDomain } from '../user-settings-CdXeV4lU.cjs';
|
|
8
|
+
import { z } from 'zod';
|
|
9
|
+
import { C as CoSpeaker, m as ActorCard } from '../index-CL8l5aB-.cjs';
|
|
9
10
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
10
11
|
import { UseQueryOptions, UseMutationOptions } from '@tanstack/react-query';
|
|
11
12
|
import '../verification-providers-DeyGqaoC.cjs';
|
|
12
|
-
import 'zod';
|
|
13
13
|
import 'react';
|
|
14
14
|
import '../follow-profile-CgLLLQtJ.cjs';
|
|
15
15
|
import '../org-settings-C73Sin5E.cjs';
|
|
16
|
-
import '../profile-summary-
|
|
16
|
+
import '../profile-summary-yoljNqGz.cjs';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Email verification of employment (sifa-workspace#162): link one of your
|
|
20
|
+
* verified addresses to a position. The badge appears only when the domain
|
|
21
|
+
* is recognized for the employing organization; otherwise the link is
|
|
22
|
+
* neutral and the reason says why.
|
|
23
|
+
*/
|
|
24
|
+
type EmailBadgeRefusal = 'unrecognized_domain' | 'role_account' | 'affiliation_subdomain' | 'unlinked_position' | 'lapsed';
|
|
25
|
+
declare const EmailVerificationLinkSchema: z.ZodObject<{
|
|
26
|
+
positionRkey: z.ZodString;
|
|
27
|
+
emailId: z.ZodNumber;
|
|
28
|
+
email: z.ZodString;
|
|
29
|
+
emailDomain: z.ZodString;
|
|
30
|
+
badge: z.ZodBoolean;
|
|
31
|
+
badgeRefused: z.ZodNullable<z.ZodString>;
|
|
32
|
+
lastVerifiedAt: z.ZodString;
|
|
33
|
+
nextReverifyAt: z.ZodNullable<z.ZodString>;
|
|
34
|
+
reverifyDeadlineAt: z.ZodNullable<z.ZodString>;
|
|
35
|
+
}, z.core.$loose>;
|
|
36
|
+
type EmailVerificationLink = z.infer<typeof EmailVerificationLinkSchema>;
|
|
37
|
+
interface FetchEmailVerificationLinksOptions extends ApiFetchOptions {
|
|
38
|
+
cookieHeader?: string;
|
|
39
|
+
}
|
|
40
|
+
/** The signed-in account's position-to-address links. Empty on failure. */
|
|
41
|
+
declare function fetchEmailVerificationLinks(config: SifaApiConfig, options?: FetchEmailVerificationLinksOptions): Promise<{
|
|
42
|
+
links: EmailVerificationLink[];
|
|
43
|
+
}>;
|
|
44
|
+
type LinkEmailResult = {
|
|
45
|
+
ok: true;
|
|
46
|
+
badge: true;
|
|
47
|
+
} | {
|
|
48
|
+
ok: true;
|
|
49
|
+
badge: false;
|
|
50
|
+
badgeRefused: EmailBadgeRefusal;
|
|
51
|
+
};
|
|
52
|
+
declare function linkEmailToPosition(config: SifaApiConfig, input: {
|
|
53
|
+
positionRkey: string;
|
|
54
|
+
emailId: number;
|
|
55
|
+
}, options?: ApiFetchOptions): Promise<WriteResult<LinkEmailResult>>;
|
|
56
|
+
declare function unlinkEmailFromPosition(config: SifaApiConfig, positionRkey: string, options?: ApiFetchOptions): Promise<WriteResult>;
|
|
57
|
+
/** Send a re-verification link now; also how a lapsed badge comes back. */
|
|
58
|
+
declare function requestEmailReverification(config: SifaApiConfig, positionRkey: string, options?: ApiFetchOptions): Promise<WriteResult<{
|
|
59
|
+
sendStatus: string;
|
|
60
|
+
}>>;
|
|
17
61
|
|
|
18
62
|
/**
|
|
19
63
|
* Resolve any atproto handle (or DID) to a profile card, for the co-speaker
|
|
@@ -162,4 +206,4 @@ declare function useUpdateBskyContentLabelPrefs(): _tanstack_react_query.UseMuta
|
|
|
162
206
|
needsScope?: "bsky-preferences";
|
|
163
207
|
}, Error, UpdateBskyContentLabelPrefsBody, unknown>;
|
|
164
208
|
|
|
165
|
-
export { ApiFetchOptions, type BskyContentLabelPrefs, type BskyContentLabelPrefsResponse, type BskyContentLabelVisibility, type BskyPrefsScopeError, ConfirmEndorsementInput, CreateResult, DismissEndorsementInput, PendingEndorsementsPage, ReceivedEndorsementsPage, ReciprocityCandidate, SifaApiConfig, type UpdateBskyContentLabelPrefsBody, WriteResult, effectiveContentVisibility, fetchBskyContentLabelPrefs, fetchResolveActor, fetchTypeaheadActors, shouldGateAdultMedia, sifaQueryKeys, updateBskyContentLabelPrefs, useBskyContentLabelPrefs, useConfirmEndorsement, useDismissEndorsement, usePendingEndorsements, useReceivedEndorsements, useReciprocityCandidate, useUpdateBskyContentLabelPrefs };
|
|
209
|
+
export { ApiFetchOptions, type BskyContentLabelPrefs, type BskyContentLabelPrefsResponse, type BskyContentLabelVisibility, type BskyPrefsScopeError, ConfirmEndorsementInput, CreateResult, DismissEndorsementInput, type EmailBadgeRefusal, type EmailVerificationLink, EmailVerificationLinkSchema, type FetchEmailVerificationLinksOptions, type LinkEmailResult, PendingEndorsementsPage, ReceivedEndorsementsPage, ReciprocityCandidate, SifaApiConfig, type UpdateBskyContentLabelPrefsBody, WriteResult, effectiveContentVisibility, fetchBskyContentLabelPrefs, fetchEmailVerificationLinks, fetchResolveActor, fetchTypeaheadActors, linkEmailToPosition, requestEmailReverification, shouldGateAdultMedia, sifaQueryKeys, unlinkEmailFromPosition, updateBskyContentLabelPrefs, useBskyContentLabelPrefs, useConfirmEndorsement, useDismissEndorsement, usePendingEndorsements, useReceivedEndorsements, useReciprocityCandidate, useUpdateBskyContentLabelPrefs };
|
package/dist/query/index.d.ts
CHANGED
|
@@ -1,19 +1,63 @@
|
|
|
1
|
-
import { a0 as
|
|
2
|
-
export { a4 as ApiError, a5 as FilterOptions, a6 as ProfileSearchResult, a7 as ProfileSearchSuggestion, S as SearchFilters, a8 as SearchResponse, a9 as SkillSearchResult, aa as apiFetch, ab as apiFetchOrNull, ac as apiWrite, ad as apiWriteCreate, ae as fetchSearchFilters, af as fetchSearchProfiles, ag as fetchSkillSuggestions, ah as searchSkills } from '../types-
|
|
3
|
-
export { A as AddFeatureAllowlistVariables, a as AttestationRequest, b as AttestationRequestSchema, c as AttestationStatus, C as CreateOrgAttestationInput, d as CreateOrgAttestationResult, e as CreateReactionVariables, f as CreateRecordVariables, D as DeleteReactionVariables, g as DeleteRecordVariables, F as FetchOrgAttestationOptions, h as
|
|
4
|
-
import { R as ReceivedEndorsementsPage, a as ReciprocityCandidate, D as DismissEndorsementInput, P as PendingEndorsementsPage } from '../network-map-
|
|
5
|
-
export { F as FetchNetworkStreamCountOptions, b as FetchPendingEndorsementsOptions, N as NetworkMapEdge, c as NetworkMapGenerationJob, d as NetworkMapGraphData, e as NetworkMapNode, f as NetworkMapPendingJob, g as NetworkMapResponse, h as PendingEndorsement, i as ReceivedEndorsement, j as ReciprocitySkill, S as SpeakerCard, k as SpeakerDirectoryFilters, l as SpeakerGroup, m as SpeakersResponse, T as TalkEvent, n as TalkRow, o as TalkSpeaker, p as TalksResponse, q as checkNetworkMapJobStatus, r as createEducation, s as createPosition, t as createRecord, u as deleteEducation, v as deletePosition, w as deleteRecord, x as dismissEndorsement, y as fetchAtFundLink, z as fetchEndorsementCount, A as fetchEntitySearch, B as fetchGetProfileView, C as fetchNetworkMap, E as fetchNetworkStreamCount, G as fetchPendingEndorsements, H as fetchProfile, I as fetchProfileSummary, J as fetchReceivedEndorsements, K as fetchReciprocityCandidate, L as fetchSpeakers, M as fetchTalks, O as hideKeytraceClaim, Q as importSearchEntities, U as initiateNetworkMapGeneration, V as isNetworkMapResponse, W as linkSkillToPosition, X as mintEntityDomain, Y as resolveEntityDomain, Z as revealMarqueDomain, _ as selectEntity, $ as setPositionPrimary, a0 as unhideKeytraceClaim, a1 as unlinkSkillFromPosition, a2 as unrevealMarqueDomain, a3 as unsetPositionPrimary, a4 as updateEducation, a5 as updatePosition, a6 as updateRecord } from '../network-map-
|
|
6
|
-
import { s as sifaQueryKeys, C as ConfirmEndorsementInput, a as ConfirmEndorsementResult } from '../user-settings-
|
|
7
|
-
export { A as AccountCheckResult, b as AccountSummary, c as ActivityFeedResponse, d as ActivityItem, e as ActivityItemLinkHealth, f as ActivityPreferences, g as ActivityTeaserResponse, h as AdminReviewQueues, i as AppRegistryEntry, B as BulkHideProfileItemInput, j as CastRoadmapVoteResult, k as CheckAppAccountOptions, l as ConfirmationInput, m as ConfirmationSubjectInput, n as CreateExternalAccountResult, D as DeleteAccountResult, o as DismissCompletenessSignalInput, p as DismissUnlinkedPositionInput, E as EndorsementInput, q as ExternalAccountInput, F as FeatureAllowlistResponse, r as FeaturedProfile, t as FetchAccountsOptions, u as FetchActivityFeedOptions, v as FetchActivityPreferencesOptions, w as FetchActivityTeaserOptions, x as FetchConfirmationsOptions, y as FetchFollowListOptions, z as FetchFollowProfilePageOptions, G as FetchFollowingFeedOptions, H as FetchHiddenActivityItemsOptions, I as FetchHiddenAppsOptions, J as FetchInboxCountsOptions, K as FetchMyGithubPullRequestsOptions, L as FetchMyRoadmapVotesOptions, M as FetchProfileCompletenessOptions, N as FetchReactionStatusOptions, O as FetchRpgClaimableOptions, P as FetchRpgStatusOptions, Q as FetchSuggestionsOptions, R as FetchUnlinkedPositionsOptions, S as FetchUserSettingsOptions, T as FollowListPage, U as FollowProfile, V as FollowProfilePageResponse, W as FollowUserResult, X as FollowingFeedApp, Y as FollowingFeedBuild, Z as FollowingFeedEmptyReason, _ as FollowingFeedResponse, $ as FollowingFeedVersion, a0 as FollowingResponse, a1 as GetAdminReviewQueuesOptions, a2 as GithubPullRequest, a3 as GivenConfirmation, a4 as HIDDEN_ITEM_SOURCES, a5 as HIDDEN_ITEM_TYPES, a6 as HeatmapDay, a7 as HeatmapResponse, a8 as HiddenActivityItem, a9 as HiddenApp, aa as HiddenItemSource, ab as HiddenItemType, ac as HideActivityItemInput, ad as HideProfileItemInput, ae as InboxCounts, af as ListFeatureAllowlistOptions, ag as MyGithubPullRequestsResponse, ah as OrgClaimBinding, ai as OrgClaimResult, aj as OrgDomainChallengeResult, ak as OrgDomainVerifyResult, al as OrgNotificationEmailAddResult, am as OrgNotificationEmailRemoveResult, an as OrgProfileEcho, ao as OrgProfileUpdateResult, ap as PROFILE_COMPLETENESS_SIGNALS, aq as PdsWipeOutcome, ar as PendingConfirmation, as as PendingConfirmationsPage, at as PrimarySection, au as ProfileCompleteness, av as ProfileCompletenessSignal, aw as ProfileIndustryInput, ax as ProfileLocationAddress, ay as ProfileLocationInput, az as ProfileSelfLocation, aA as QUOTED_POSTS_BATCH_MAX, aB as QuotedPostAuthor, aC as QuotedPostImage, aD as QuotedPostResult, aE as QuotedPostView, aF as ReactionError, aG as ReactionResult, aH as ReactionStatus, aI as RefreshOrcidPublicationsResult, aJ as RefreshPdsResult, aK as RepoDeleteInput, aL as ResetProfileResult, aM as ResolveQuotedPostsOptions, aN as RoadmapVoteError, aO as RoadmapVoteResult, aP as RoadmapVoter, aQ as RoadmapVotesResponse, aR as RpgClaimableResponse, aS as RpgClaimableResponseSchema, aT as RpgItemStatus, aU as RpgItemStatusSchema, aV as RpgStatusResponse, aW as RpgStatusResponseSchema, aX as SifaQueryKey, aY as SimilarProfile, aZ as SiteActivityPresetResponse, a_ as StatsResponse, a$ as SubCategoryBulkResult, b0 as SuggestionProfile, b1 as SuggestionsResponse, b2 as UnhideActivityItemInput, b3 as UnlinkedPosition, b4 as UnlinkedPositionsResult, b5 as UpdateActivityPreferencesInput, b6 as UpdateProfileOverrideInput, b7 as UpdateProfileSelfInput, b8 as UploadAvatarResult, b9 as UploadPronunciationAudioResult, ba as UserSettings, bb as UserSettingsPatch, bc as UserSettingsSchema, bd as VerifyExternalAccountResult, be as WipePreview, bf as addFeatureAllowlist, bg as addOrgNotificationEmail, bh as bulkHideProfileItems, bi as bulkHideStandardPublications, bj as bulkUnhideProfileItems, bk as bulkUnhideStandardPublications, bl as castRoadmapVote, bm as checkAppAccount, bn as clearCompletenessDismissals, bo as confirmEndorsement, bp as createConfirmation, bq as createEndorsement, br as createExternalAccount, bs as createProfileLocation, bt as createReaction, bu as createSkill, bv as deleteAccount, bw as deleteAvatarOverride, bx as deleteExternalAccount, by as deleteNamePronunciationAudio, bz as deleteProfileLocation, bA as deleteReaction, bB as deleteRepoRecords, bC as deleteSkill, bD as dismissCompletenessSignal, bE as dismissConfirmation, bF as dismissUnlinkedPosition, bG as fetchAccounts, bH as fetchActivityFeed, bI as fetchActivityPreferences, bJ as fetchActivityTeaser, bK as fetchAppsRegistry, bL as fetchExternalAccounts, bM as fetchFeaturedProfile, bN as fetchFollowing, bO as fetchFollowingFeed, bP as fetchFollowingFeedVersion, bQ as fetchGivenConfirmations, bR as fetchHeatmapData, bS as fetchHiddenActivityItems, bT as fetchHiddenApps, bU as fetchInboxCounts, bV as fetchMyGithubPullRequests, bW as fetchMyRoadmapVotes, bX as fetchPendingConfirmations, bY as fetchProfileCompleteness, bZ as fetchReactionStatus, b_ as fetchRepoInventory, b$ as fetchRoadmapVotes, c0 as fetchRpgClaimable, c1 as fetchRpgStatus, c2 as fetchSimilarProfiles, c3 as fetchSiteActivityPreset, c4 as fetchStats, c5 as fetchSuggestionCount, c6 as fetchSuggestions, c7 as fetchUnlinkedPositions, c8 as fetchUserSettings, c9 as fetchViewerPositionConfirmations, ca as fetchWipePreview, cb as followUser, cc as getAdminReviewQueues, cd as getBlueskySuggestions, ce as getFollowers, cf as getFollowing, cg as getMutuals, ch as hideActivityItem, ci as hideOrcidPublication, cj as hideProfileItem, ck as hideSifaPublication, cl as hideStandardPublication, cm as isNewerFollowingFeed, cn as listFeatureAllowlist, co as refreshOrcidPublications, cp as refreshPds, cq as removeFeatureAllowlist, cr as removeOrgNotificationEmail, cs as repoExportUrl, ct as requestOrgDomainChallenge, cu as resetProfile, cv as resolveQuotedPosts, cw as retractRoadmapVote, cx as revokeConfirmation, cy as setExternalAccountPrimary, cz as setSectionPrimary, cA as submitOrgClaim, cB as switchAccount, cC as unfollowUser, cD as unhideActivityItem, cE as unhideOrcidPublication, cF as unhideProfileItem, cG as unhideSifaPublication, cH as unhideStandardPublication, cI as unsetExternalAccountPrimary, cJ as unsetSectionPrimary, cK as updateActivityPreferences, cL as updateExternalAccount, cM as updateOrgProfile, cN as updateProfileLocation, cO as updateProfileOverride, cP as updateProfileSelf, cQ as updateSkill, cR as updateSkillSubCategories, cS as updateUserSettings, cT as uploadAvatar, cU as uploadNamePronunciationAudio, cV as verifyExternalAccount, cW as verifyOrgDomain } from '../user-settings-
|
|
8
|
-
import {
|
|
1
|
+
import { a0 as ApiFetchOptions, a1 as SifaApiConfig, a2 as WriteResult, a3 as CreateResult, c as AdultContentLabel } from '../types-B9nkqX3O.js';
|
|
2
|
+
export { a4 as ApiError, a5 as FilterOptions, a6 as ProfileSearchResult, a7 as ProfileSearchSuggestion, S as SearchFilters, a8 as SearchResponse, a9 as SkillSearchResult, aa as apiFetch, ab as apiFetchOrNull, ac as apiWrite, ad as apiWriteCreate, ae as fetchSearchFilters, af as fetchSearchProfiles, ag as fetchSkillSuggestions, ah as searchSkills } from '../types-B9nkqX3O.js';
|
|
3
|
+
export { A as AddFeatureAllowlistVariables, a as AttestationRequest, b as AttestationRequestSchema, c as AttestationStatus, C as CreateOrgAttestationInput, d as CreateOrgAttestationResult, e as CreateReactionVariables, f as CreateRecordVariables, D as DeleteReactionVariables, g as DeleteRecordVariables, F as FetchOrgAttestationOptions, h as FetchProfileEmailsOptions, i as FetchVerificationLogOptions, j as FollowVariables, O as OrgAttestation, k as OrgAttestationSchema, P as PositionSkillLinkVariables, l as ProfileEmail, m as ProfileEmailSchema, n as ProfileEmailSendStatus, o as ProfileEmails, R as RemoveFeatureAllowlistVariables, p as RequestEmploymentConfirmationInput, q as RequestEmploymentConfirmationResult, S as SifaProvider, r as SifaProviderProps, U as UnfollowVariables, s as UpdateEducationVariables, t as UpdateExternalAccountVariables, u as UpdatePositionVariables, v as UpdateProfileLocationVariables, w as UpdateRecordVariables, x as UpdateSkillSubCategoriesVariables, y as UpdateSkillVariables, z as UseEntitySearchOptions, B as UseMyGithubPullRequestsParams, V as VERIFICATION_EVENT_KINDS, E as VerificationEventKind, G as VerificationLog, H as VerificationLogEntry, I as VerificationLogEntrySchema, J as VerificationLogSchema, K as addProfileEmail, L as createOrgAttestation, M as fetchAttestationRequests, N as fetchOrgAttestations, Q as fetchProfileEmails, T as fetchVerificationLog, W as offboardOrgAttestation, X as rejectAttestationRequest, Y as removeProfileEmail, Z as requestEmploymentConfirmation, _ as resendProfileEmailVerification, $ as revokeOrgAttestation, a0 as useAccounts, a1 as useActivityFeed, a2 as useActivityPreferences, a3 as useActivityTeaser, a4 as useAddFeatureAllowlist, a5 as useAddOrgNotificationEmail, a6 as useAddProfileEmail, a7 as useAdminReviewQueues, a8 as useAppAccountCheck, a9 as useAppsRegistry, aa as useAtFundLink, ab as useAttestationRequests, ac as useBlueskySuggestions, ad as useBulkHideProfileItems, ae as useBulkHideStandardPublications, af as useBulkUnhideProfileItems, ag as useBulkUnhideStandardPublications, ah as useCanonicalSkillSearch, ai as useCastRoadmapVote, aj as useClearCompletenessDismissals, ak as useCreateConfirmation, al as useCreateEducation, am as useCreateEndorsement, an as useCreateExternalAccount, ao as useCreateOrgAttestation, ap as useCreatePosition, aq as useCreateProfileLocation, ar as useCreateReaction, as as useCreateRecord, at as useCreateSkill, au as useDebouncedValue, av as useDeleteAccount, aw as useDeleteAvatarOverride, ax as useDeleteEducation, ay as useDeleteExternalAccount, az as useDeleteNamePronunciationAudio, aA as useDeletePosition, aB as useDeleteProfileLocation, aC as useDeleteReaction, aD as useDeleteRecord, aE as useDeleteRepoRecords, aF as useDeleteSkill, aG as useDismissCompletenessSignal, aH as useDismissConfirmation, aI as useDismissUnlinkedPosition, aJ as useEndorsementCount, aK as useEntitySearch, aL as useExternalAccounts, aM as useFeatureAllowlist, aN as useFeaturedProfile, aO as useFollow, aP as useFollowers, aQ as useFollowing, aR as useFollowingFeed, aS as useFollowingFeedVersion, aT as useFollowingList, aU as useGetProfileView, aV as useGivenConfirmations, aW as useHeatmapData, aX as useHiddenActivityItems, aY as useHiddenApps, aZ as useHideActivityItem, a_ as useHideKeytraceClaim, a$ as useHideOrcidPublication, b0 as useHideProfileItem, b1 as useHideSifaPublication, b2 as useHideStandardPublication, b3 as useImportSearchEntities, b4 as useInboxCounts, b5 as useLinkSkillToPosition, b6 as useMintEntityDomain, b7 as useMutuals, b8 as useMyGithubPullRequests, b9 as useMyRoadmapVotes, ba as useNetworkStreamCount, bb as useOffboardOrgAttestation, bc as useOrgAttestations, bd as useOrgClaim, be as useOrgDomainChallenge, bf as useOrgDomainVerify, bg as useOrgProfile, bh as usePendingConfirmations, bi as useProfile, bj as useProfileCompleteness, bk as useProfileEmails, bl as useReactionStatus, bm as useRefreshOrcidPublications, bn as useRefreshPds, bo as useRejectAttestationRequest, bp as useRemoveFeatureAllowlist, bq as useRemoveOrgNotificationEmail, br as useRemoveProfileEmail, bs as useRepoInventory, bt as useRequestEmploymentConfirmation, bu as useResendProfileEmailVerification, bv as useResetProfile, bw as useResolveEntityDomain, bx as useRetractRoadmapVote, by as useRevealMarqueDomain, bz as useRevokeConfirmation, bA as useRevokeOrgAttestation, bB as useRoadmapVotes, bC as useRpgClaimable, bD as useRpgStatus, bE as useSearchFilters, bF as useSearchProfiles, bG as useSelectEntity, bH as useSetExternalAccountPrimary, bI as useSetPositionPrimary, bJ as useSetSectionPrimary, bK as useSifaConfig, bL as useSimilarProfiles, bM as useSiteActivityPreset, bN as useSkillSuggestions, bO as useStats, bP as useSuggestionCount, bQ as useSuggestions, bR as useUnfollow, bS as useUnhideActivityItem, bT as useUnhideKeytraceClaim, bU as useUnhideOrcidPublication, bV as useUnhideProfileItem, bW as useUnhideSifaPublication, bX as useUnhideStandardPublication, bY as useUnlinkSkillFromPosition, bZ as useUnlinkedPositions, b_ as useUnrevealMarqueDomain, b$ as useUnsetExternalAccountPrimary, c0 as useUnsetPositionPrimary, c1 as useUnsetSectionPrimary, c2 as useUpdateActivityPreferences, c3 as useUpdateEducation, c4 as useUpdateExternalAccount, c5 as useUpdateOrgProfile, c6 as useUpdatePosition, c7 as useUpdateProfileLocation, c8 as useUpdateProfileOverride, c9 as useUpdateProfileSelf, ca as useUpdateRecord, cb as useUpdateSkill, cc as useUpdateSkillSubCategories, cd as useUpdateUserSettings, ce as useUploadAvatar, cf as useUploadNamePronunciationAudio, cg as useUserSettings, ch as useVerificationLog, ci as useVerifyExternalAccount, cj as useWipePreview } from '../use-user-settings-BNhxzw2f.js';
|
|
4
|
+
import { R as ReceivedEndorsementsPage, a as ReciprocityCandidate, D as DismissEndorsementInput, P as PendingEndorsementsPage } from '../network-map-v2LJbj0p.js';
|
|
5
|
+
export { F as FetchNetworkStreamCountOptions, b as FetchPendingEndorsementsOptions, N as NetworkMapEdge, c as NetworkMapGenerationJob, d as NetworkMapGraphData, e as NetworkMapNode, f as NetworkMapPendingJob, g as NetworkMapResponse, h as PendingEndorsement, i as ReceivedEndorsement, j as ReciprocitySkill, S as SpeakerCard, k as SpeakerDirectoryFilters, l as SpeakerGroup, m as SpeakersResponse, T as TalkEvent, n as TalkRow, o as TalkSpeaker, p as TalksResponse, q as checkNetworkMapJobStatus, r as createEducation, s as createPosition, t as createRecord, u as deleteEducation, v as deletePosition, w as deleteRecord, x as dismissEndorsement, y as fetchAtFundLink, z as fetchEndorsementCount, A as fetchEntitySearch, B as fetchGetProfileView, C as fetchNetworkMap, E as fetchNetworkStreamCount, G as fetchPendingEndorsements, H as fetchProfile, I as fetchProfileSummary, J as fetchReceivedEndorsements, K as fetchReciprocityCandidate, L as fetchSpeakers, M as fetchTalks, O as hideKeytraceClaim, Q as importSearchEntities, U as initiateNetworkMapGeneration, V as isNetworkMapResponse, W as linkSkillToPosition, X as mintEntityDomain, Y as resolveEntityDomain, Z as revealMarqueDomain, _ as selectEntity, $ as setPositionPrimary, a0 as unhideKeytraceClaim, a1 as unlinkSkillFromPosition, a2 as unrevealMarqueDomain, a3 as unsetPositionPrimary, a4 as updateEducation, a5 as updatePosition, a6 as updateRecord } from '../network-map-v2LJbj0p.js';
|
|
6
|
+
import { s as sifaQueryKeys, C as ConfirmEndorsementInput, a as ConfirmEndorsementResult } from '../user-settings-C_8R5XSQ.js';
|
|
7
|
+
export { A as AccountCheckResult, b as AccountSummary, c as ActivityFeedResponse, d as ActivityItem, e as ActivityItemLinkHealth, f as ActivityPreferences, g as ActivityTeaserResponse, h as AdminReviewQueues, i as AppRegistryEntry, B as BulkHideProfileItemInput, j as CastRoadmapVoteResult, k as CheckAppAccountOptions, l as ConfirmationInput, m as ConfirmationSubjectInput, n as CreateExternalAccountResult, D as DeleteAccountResult, o as DismissCompletenessSignalInput, p as DismissUnlinkedPositionInput, E as EndorsementInput, q as ExternalAccountInput, F as FeatureAllowlistResponse, r as FeaturedProfile, t as FetchAccountsOptions, u as FetchActivityFeedOptions, v as FetchActivityPreferencesOptions, w as FetchActivityTeaserOptions, x as FetchConfirmationsOptions, y as FetchFollowListOptions, z as FetchFollowProfilePageOptions, G as FetchFollowingFeedOptions, H as FetchHiddenActivityItemsOptions, I as FetchHiddenAppsOptions, J as FetchInboxCountsOptions, K as FetchMyGithubPullRequestsOptions, L as FetchMyRoadmapVotesOptions, M as FetchProfileCompletenessOptions, N as FetchReactionStatusOptions, O as FetchRpgClaimableOptions, P as FetchRpgStatusOptions, Q as FetchSuggestionsOptions, R as FetchUnlinkedPositionsOptions, S as FetchUserSettingsOptions, T as FollowListPage, U as FollowProfile, V as FollowProfilePageResponse, W as FollowUserResult, X as FollowingFeedApp, Y as FollowingFeedBuild, Z as FollowingFeedEmptyReason, _ as FollowingFeedResponse, $ as FollowingFeedVersion, a0 as FollowingResponse, a1 as GetAdminReviewQueuesOptions, a2 as GithubPullRequest, a3 as GivenConfirmation, a4 as HIDDEN_ITEM_SOURCES, a5 as HIDDEN_ITEM_TYPES, a6 as HeatmapDay, a7 as HeatmapResponse, a8 as HiddenActivityItem, a9 as HiddenApp, aa as HiddenItemSource, ab as HiddenItemType, ac as HideActivityItemInput, ad as HideProfileItemInput, ae as InboxCounts, af as ListFeatureAllowlistOptions, ag as MyGithubPullRequestsResponse, ah as OrgClaimBinding, ai as OrgClaimResult, aj as OrgDomainChallengeResult, ak as OrgDomainVerifyResult, al as OrgNotificationEmailAddResult, am as OrgNotificationEmailRemoveResult, an as OrgProfileEcho, ao as OrgProfileUpdateResult, ap as PROFILE_COMPLETENESS_SIGNALS, aq as PdsWipeOutcome, ar as PendingConfirmation, as as PendingConfirmationsPage, at as PrimarySection, au as ProfileCompleteness, av as ProfileCompletenessSignal, aw as ProfileIndustryInput, ax as ProfileLocationAddress, ay as ProfileLocationInput, az as ProfileSelfLocation, aA as QUOTED_POSTS_BATCH_MAX, aB as QuotedPostAuthor, aC as QuotedPostImage, aD as QuotedPostResult, aE as QuotedPostView, aF as ReactionError, aG as ReactionResult, aH as ReactionStatus, aI as RefreshOrcidPublicationsResult, aJ as RefreshPdsResult, aK as RepoDeleteInput, aL as ResetProfileResult, aM as ResolveQuotedPostsOptions, aN as RoadmapVoteError, aO as RoadmapVoteResult, aP as RoadmapVoter, aQ as RoadmapVotesResponse, aR as RpgClaimableResponse, aS as RpgClaimableResponseSchema, aT as RpgItemStatus, aU as RpgItemStatusSchema, aV as RpgStatusResponse, aW as RpgStatusResponseSchema, aX as SifaQueryKey, aY as SimilarProfile, aZ as SiteActivityPresetResponse, a_ as StatsResponse, a$ as SubCategoryBulkResult, b0 as SuggestionProfile, b1 as SuggestionsResponse, b2 as UnhideActivityItemInput, b3 as UnlinkedPosition, b4 as UnlinkedPositionsResult, b5 as UpdateActivityPreferencesInput, b6 as UpdateProfileOverrideInput, b7 as UpdateProfileSelfInput, b8 as UploadAvatarResult, b9 as UploadPronunciationAudioResult, ba as UserSettings, bb as UserSettingsPatch, bc as UserSettingsSchema, bd as VerifyExternalAccountResult, be as WipePreview, bf as addFeatureAllowlist, bg as addOrgNotificationEmail, bh as bulkHideProfileItems, bi as bulkHideStandardPublications, bj as bulkUnhideProfileItems, bk as bulkUnhideStandardPublications, bl as castRoadmapVote, bm as checkAppAccount, bn as clearCompletenessDismissals, bo as confirmEndorsement, bp as createConfirmation, bq as createEndorsement, br as createExternalAccount, bs as createProfileLocation, bt as createReaction, bu as createSkill, bv as deleteAccount, bw as deleteAvatarOverride, bx as deleteExternalAccount, by as deleteNamePronunciationAudio, bz as deleteProfileLocation, bA as deleteReaction, bB as deleteRepoRecords, bC as deleteSkill, bD as dismissCompletenessSignal, bE as dismissConfirmation, bF as dismissUnlinkedPosition, bG as fetchAccounts, bH as fetchActivityFeed, bI as fetchActivityPreferences, bJ as fetchActivityTeaser, bK as fetchAppsRegistry, bL as fetchExternalAccounts, bM as fetchFeaturedProfile, bN as fetchFollowing, bO as fetchFollowingFeed, bP as fetchFollowingFeedVersion, bQ as fetchGivenConfirmations, bR as fetchHeatmapData, bS as fetchHiddenActivityItems, bT as fetchHiddenApps, bU as fetchInboxCounts, bV as fetchMyGithubPullRequests, bW as fetchMyRoadmapVotes, bX as fetchPendingConfirmations, bY as fetchProfileCompleteness, bZ as fetchReactionStatus, b_ as fetchRepoInventory, b$ as fetchRoadmapVotes, c0 as fetchRpgClaimable, c1 as fetchRpgStatus, c2 as fetchSimilarProfiles, c3 as fetchSiteActivityPreset, c4 as fetchStats, c5 as fetchSuggestionCount, c6 as fetchSuggestions, c7 as fetchUnlinkedPositions, c8 as fetchUserSettings, c9 as fetchViewerPositionConfirmations, ca as fetchWipePreview, cb as followUser, cc as getAdminReviewQueues, cd as getBlueskySuggestions, ce as getFollowers, cf as getFollowing, cg as getMutuals, ch as hideActivityItem, ci as hideOrcidPublication, cj as hideProfileItem, ck as hideSifaPublication, cl as hideStandardPublication, cm as isNewerFollowingFeed, cn as listFeatureAllowlist, co as refreshOrcidPublications, cp as refreshPds, cq as removeFeatureAllowlist, cr as removeOrgNotificationEmail, cs as repoExportUrl, ct as requestOrgDomainChallenge, cu as resetProfile, cv as resolveQuotedPosts, cw as retractRoadmapVote, cx as revokeConfirmation, cy as setExternalAccountPrimary, cz as setSectionPrimary, cA as submitOrgClaim, cB as switchAccount, cC as unfollowUser, cD as unhideActivityItem, cE as unhideOrcidPublication, cF as unhideProfileItem, cG as unhideSifaPublication, cH as unhideStandardPublication, cI as unsetExternalAccountPrimary, cJ as unsetSectionPrimary, cK as updateActivityPreferences, cL as updateExternalAccount, cM as updateOrgProfile, cN as updateProfileLocation, cO as updateProfileOverride, cP as updateProfileSelf, cQ as updateSkill, cR as updateSkillSubCategories, cS as updateUserSettings, cT as uploadAvatar, cU as uploadNamePronunciationAudio, cV as verifyExternalAccount, cW as verifyOrgDomain } from '../user-settings-C_8R5XSQ.js';
|
|
8
|
+
import { z } from 'zod';
|
|
9
|
+
import { C as CoSpeaker, m as ActorCard } from '../index-5T1grOo4.js';
|
|
9
10
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
10
11
|
import { UseQueryOptions, UseMutationOptions } from '@tanstack/react-query';
|
|
11
12
|
import '../verification-providers-DeyGqaoC.js';
|
|
12
|
-
import 'zod';
|
|
13
13
|
import 'react';
|
|
14
14
|
import '../follow-profile-CVcA2w1v.js';
|
|
15
15
|
import '../org-settings-BShvhyFp.js';
|
|
16
|
-
import '../profile-summary-
|
|
16
|
+
import '../profile-summary-BpDqAdtX.js';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Email verification of employment (sifa-workspace#162): link one of your
|
|
20
|
+
* verified addresses to a position. The badge appears only when the domain
|
|
21
|
+
* is recognized for the employing organization; otherwise the link is
|
|
22
|
+
* neutral and the reason says why.
|
|
23
|
+
*/
|
|
24
|
+
type EmailBadgeRefusal = 'unrecognized_domain' | 'role_account' | 'affiliation_subdomain' | 'unlinked_position' | 'lapsed';
|
|
25
|
+
declare const EmailVerificationLinkSchema: z.ZodObject<{
|
|
26
|
+
positionRkey: z.ZodString;
|
|
27
|
+
emailId: z.ZodNumber;
|
|
28
|
+
email: z.ZodString;
|
|
29
|
+
emailDomain: z.ZodString;
|
|
30
|
+
badge: z.ZodBoolean;
|
|
31
|
+
badgeRefused: z.ZodNullable<z.ZodString>;
|
|
32
|
+
lastVerifiedAt: z.ZodString;
|
|
33
|
+
nextReverifyAt: z.ZodNullable<z.ZodString>;
|
|
34
|
+
reverifyDeadlineAt: z.ZodNullable<z.ZodString>;
|
|
35
|
+
}, z.core.$loose>;
|
|
36
|
+
type EmailVerificationLink = z.infer<typeof EmailVerificationLinkSchema>;
|
|
37
|
+
interface FetchEmailVerificationLinksOptions extends ApiFetchOptions {
|
|
38
|
+
cookieHeader?: string;
|
|
39
|
+
}
|
|
40
|
+
/** The signed-in account's position-to-address links. Empty on failure. */
|
|
41
|
+
declare function fetchEmailVerificationLinks(config: SifaApiConfig, options?: FetchEmailVerificationLinksOptions): Promise<{
|
|
42
|
+
links: EmailVerificationLink[];
|
|
43
|
+
}>;
|
|
44
|
+
type LinkEmailResult = {
|
|
45
|
+
ok: true;
|
|
46
|
+
badge: true;
|
|
47
|
+
} | {
|
|
48
|
+
ok: true;
|
|
49
|
+
badge: false;
|
|
50
|
+
badgeRefused: EmailBadgeRefusal;
|
|
51
|
+
};
|
|
52
|
+
declare function linkEmailToPosition(config: SifaApiConfig, input: {
|
|
53
|
+
positionRkey: string;
|
|
54
|
+
emailId: number;
|
|
55
|
+
}, options?: ApiFetchOptions): Promise<WriteResult<LinkEmailResult>>;
|
|
56
|
+
declare function unlinkEmailFromPosition(config: SifaApiConfig, positionRkey: string, options?: ApiFetchOptions): Promise<WriteResult>;
|
|
57
|
+
/** Send a re-verification link now; also how a lapsed badge comes back. */
|
|
58
|
+
declare function requestEmailReverification(config: SifaApiConfig, positionRkey: string, options?: ApiFetchOptions): Promise<WriteResult<{
|
|
59
|
+
sendStatus: string;
|
|
60
|
+
}>>;
|
|
17
61
|
|
|
18
62
|
/**
|
|
19
63
|
* Resolve any atproto handle (or DID) to a profile card, for the co-speaker
|
|
@@ -162,4 +206,4 @@ declare function useUpdateBskyContentLabelPrefs(): _tanstack_react_query.UseMuta
|
|
|
162
206
|
needsScope?: "bsky-preferences";
|
|
163
207
|
}, Error, UpdateBskyContentLabelPrefsBody, unknown>;
|
|
164
208
|
|
|
165
|
-
export { ApiFetchOptions, type BskyContentLabelPrefs, type BskyContentLabelPrefsResponse, type BskyContentLabelVisibility, type BskyPrefsScopeError, ConfirmEndorsementInput, CreateResult, DismissEndorsementInput, PendingEndorsementsPage, ReceivedEndorsementsPage, ReciprocityCandidate, SifaApiConfig, type UpdateBskyContentLabelPrefsBody, WriteResult, effectiveContentVisibility, fetchBskyContentLabelPrefs, fetchResolveActor, fetchTypeaheadActors, shouldGateAdultMedia, sifaQueryKeys, updateBskyContentLabelPrefs, useBskyContentLabelPrefs, useConfirmEndorsement, useDismissEndorsement, usePendingEndorsements, useReceivedEndorsements, useReciprocityCandidate, useUpdateBskyContentLabelPrefs };
|
|
209
|
+
export { ApiFetchOptions, type BskyContentLabelPrefs, type BskyContentLabelPrefsResponse, type BskyContentLabelVisibility, type BskyPrefsScopeError, ConfirmEndorsementInput, CreateResult, DismissEndorsementInput, type EmailBadgeRefusal, type EmailVerificationLink, EmailVerificationLinkSchema, type FetchEmailVerificationLinksOptions, type LinkEmailResult, PendingEndorsementsPage, ReceivedEndorsementsPage, ReciprocityCandidate, SifaApiConfig, type UpdateBskyContentLabelPrefsBody, WriteResult, effectiveContentVisibility, fetchBskyContentLabelPrefs, fetchEmailVerificationLinks, fetchResolveActor, fetchTypeaheadActors, linkEmailToPosition, requestEmailReverification, shouldGateAdultMedia, sifaQueryKeys, unlinkEmailFromPosition, updateBskyContentLabelPrefs, useBskyContentLabelPrefs, useConfirmEndorsement, useDismissEndorsement, usePendingEndorsements, useReceivedEndorsements, useReciprocityCandidate, useUpdateBskyContentLabelPrefs };
|
package/dist/query/index.js
CHANGED
|
@@ -82,6 +82,20 @@ import {
|
|
|
82
82
|
VerificationLogEntrySchema,
|
|
83
83
|
VerificationLogSchema
|
|
84
84
|
} from "./fetchers/verification.js";
|
|
85
|
+
import {
|
|
86
|
+
fetchProfileEmails,
|
|
87
|
+
addProfileEmail,
|
|
88
|
+
resendProfileEmailVerification,
|
|
89
|
+
removeProfileEmail,
|
|
90
|
+
ProfileEmailSchema
|
|
91
|
+
} from "./fetchers/profile-emails.js";
|
|
92
|
+
import {
|
|
93
|
+
fetchEmailVerificationLinks,
|
|
94
|
+
linkEmailToPosition,
|
|
95
|
+
unlinkEmailFromPosition,
|
|
96
|
+
requestEmailReverification,
|
|
97
|
+
EmailVerificationLinkSchema
|
|
98
|
+
} from "./fetchers/email-verification.js";
|
|
85
99
|
import {
|
|
86
100
|
createOrgAttestation,
|
|
87
101
|
offboardOrgAttestation,
|
|
@@ -312,6 +326,12 @@ import {
|
|
|
312
326
|
} from "./hooks/use-confirmations.js";
|
|
313
327
|
import { useInboxCounts } from "./hooks/use-inbox.js";
|
|
314
328
|
import { useVerificationLog } from "./hooks/use-verification.js";
|
|
329
|
+
import {
|
|
330
|
+
useProfileEmails,
|
|
331
|
+
useAddProfileEmail,
|
|
332
|
+
useResendProfileEmailVerification,
|
|
333
|
+
useRemoveProfileEmail
|
|
334
|
+
} from "./hooks/use-profile-emails.js";
|
|
315
335
|
import {
|
|
316
336
|
useOrgAttestations,
|
|
317
337
|
useAttestationRequests,
|
|
@@ -451,10 +471,12 @@ import { sifaQueryKeys } from "./keys.js";
|
|
|
451
471
|
export {
|
|
452
472
|
ApiError,
|
|
453
473
|
AttestationRequestSchema,
|
|
474
|
+
EmailVerificationLinkSchema,
|
|
454
475
|
HIDDEN_ITEM_SOURCES,
|
|
455
476
|
HIDDEN_ITEM_TYPES,
|
|
456
477
|
OrgAttestationSchema,
|
|
457
478
|
PROFILE_COMPLETENESS_SIGNALS,
|
|
479
|
+
ProfileEmailSchema,
|
|
458
480
|
QUOTED_POSTS_BATCH_MAX,
|
|
459
481
|
RpgClaimableResponseSchema,
|
|
460
482
|
RpgItemStatusSchema,
|
|
@@ -466,6 +488,7 @@ export {
|
|
|
466
488
|
VerificationLogSchema,
|
|
467
489
|
addFeatureAllowlist,
|
|
468
490
|
addOrgNotificationEmail,
|
|
491
|
+
addProfileEmail,
|
|
469
492
|
apiFetch,
|
|
470
493
|
apiFetchOrNull,
|
|
471
494
|
apiWrite,
|
|
@@ -513,6 +536,7 @@ export {
|
|
|
513
536
|
fetchAtFundLink,
|
|
514
537
|
fetchAttestationRequests,
|
|
515
538
|
fetchBskyContentLabelPrefs,
|
|
539
|
+
fetchEmailVerificationLinks,
|
|
516
540
|
fetchEndorsementCount,
|
|
517
541
|
fetchEntitySearch,
|
|
518
542
|
fetchExternalAccounts,
|
|
@@ -535,6 +559,7 @@ export {
|
|
|
535
559
|
fetchPendingEndorsements,
|
|
536
560
|
fetchProfile,
|
|
537
561
|
fetchProfileCompleteness,
|
|
562
|
+
fetchProfileEmails,
|
|
538
563
|
fetchProfileSummary,
|
|
539
564
|
fetchReactionStatus,
|
|
540
565
|
fetchReceivedEndorsements,
|
|
@@ -576,6 +601,7 @@ export {
|
|
|
576
601
|
initiateNetworkMapGeneration,
|
|
577
602
|
isNetworkMapResponse,
|
|
578
603
|
isNewerFollowingFeed,
|
|
604
|
+
linkEmailToPosition,
|
|
579
605
|
linkSkillToPosition,
|
|
580
606
|
listFeatureAllowlist,
|
|
581
607
|
mintEntityDomain,
|
|
@@ -585,9 +611,12 @@ export {
|
|
|
585
611
|
rejectAttestationRequest,
|
|
586
612
|
removeFeatureAllowlist,
|
|
587
613
|
removeOrgNotificationEmail,
|
|
614
|
+
removeProfileEmail,
|
|
588
615
|
repoExportUrl,
|
|
616
|
+
requestEmailReverification,
|
|
589
617
|
requestEmploymentConfirmation,
|
|
590
618
|
requestOrgDomainChallenge,
|
|
619
|
+
resendProfileEmailVerification,
|
|
591
620
|
resetProfile,
|
|
592
621
|
resolveEntityDomain,
|
|
593
622
|
resolveQuotedPosts,
|
|
@@ -611,6 +640,7 @@ export {
|
|
|
611
640
|
unhideProfileItem,
|
|
612
641
|
unhideSifaPublication,
|
|
613
642
|
unhideStandardPublication,
|
|
643
|
+
unlinkEmailFromPosition,
|
|
614
644
|
unlinkSkillFromPosition,
|
|
615
645
|
unrevealMarqueDomain,
|
|
616
646
|
unsetExternalAccountPrimary,
|
|
@@ -637,6 +667,7 @@ export {
|
|
|
637
667
|
useActivityTeaser,
|
|
638
668
|
useAddFeatureAllowlist,
|
|
639
669
|
useAddOrgNotificationEmail,
|
|
670
|
+
useAddProfileEmail,
|
|
640
671
|
useAdminReviewQueues,
|
|
641
672
|
useAppAccountCheck,
|
|
642
673
|
useAppsRegistry,
|
|
@@ -718,6 +749,7 @@ export {
|
|
|
718
749
|
usePendingEndorsements,
|
|
719
750
|
useProfile,
|
|
720
751
|
useProfileCompleteness,
|
|
752
|
+
useProfileEmails,
|
|
721
753
|
useReactionStatus,
|
|
722
754
|
useReceivedEndorsements,
|
|
723
755
|
useReciprocityCandidate,
|
|
@@ -726,8 +758,10 @@ export {
|
|
|
726
758
|
useRejectAttestationRequest,
|
|
727
759
|
useRemoveFeatureAllowlist,
|
|
728
760
|
useRemoveOrgNotificationEmail,
|
|
761
|
+
useRemoveProfileEmail,
|
|
729
762
|
useRepoInventory,
|
|
730
763
|
useRequestEmploymentConfirmation,
|
|
764
|
+
useResendProfileEmailVerification,
|
|
731
765
|
useResetProfile,
|
|
732
766
|
useResolveEntityDomain,
|
|
733
767
|
useRetractRoadmapVote,
|
package/dist/query/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/query/index.ts"],"sourcesContent":["export {\n ApiError,\n apiFetch,\n apiFetchOrNull,\n apiWrite,\n apiWriteCreate,\n type ApiFetchOptions,\n type CreateResult,\n type SifaApiConfig,\n type WriteResult,\n} from './client.js';\nexport { SifaProvider, useSifaConfig, type SifaProviderProps } from './config.js';\n\nexport { fetchAtFundLink, fetchProfile } from './fetchers/profile.js';\nexport { fetchGetProfileView } from './fetchers/get-profile-view.js';\nexport { fetchProfileSummary } from './fetchers/profile-summary.js';\nexport {\n deleteAvatarOverride,\n deleteNamePronunciationAudio,\n refreshPds,\n updateProfileOverride,\n updateProfileSelf,\n uploadAvatar,\n uploadNamePronunciationAudio,\n type ProfileIndustryInput,\n type ProfileSelfLocation,\n type RefreshPdsResult,\n type UpdateProfileOverrideInput,\n type UpdateProfileSelfInput,\n type UploadAvatarResult,\n type UploadPronunciationAudioResult,\n} from './fetchers/profile-mutations.js';\nexport {\n createPosition,\n deletePosition,\n linkSkillToPosition,\n setPositionPrimary,\n unlinkSkillFromPosition,\n unsetPositionPrimary,\n updatePosition,\n} from './fetchers/positions.js';\nexport { createEducation, deleteEducation, updateEducation } from './fetchers/education.js';\nexport {\n setSectionPrimary,\n unsetSectionPrimary,\n type PrimarySection,\n} from './fetchers/section-primary.js';\nexport {\n createSkill,\n deleteSkill,\n updateSkill,\n updateSkillSubCategories,\n type SubCategoryBulkResult,\n} from './fetchers/skills.js';\nexport { createRecord, deleteRecord, updateRecord } from './fetchers/records.js';\nexport {\n createProfileLocation,\n deleteProfileLocation,\n updateProfileLocation,\n type ProfileLocationAddress,\n type ProfileLocationInput,\n} from './fetchers/profile-locations.js';\nexport {\n createExternalAccount,\n deleteExternalAccount,\n fetchExternalAccounts,\n setExternalAccountPrimary,\n unsetExternalAccountPrimary,\n updateExternalAccount,\n verifyExternalAccount,\n type CreateExternalAccountResult,\n type ExternalAccountInput,\n type VerifyExternalAccountResult,\n} from './fetchers/external-accounts.js';\nexport {\n createEndorsement,\n confirmEndorsement,\n type EndorsementInput,\n type ConfirmEndorsementInput,\n} from './fetchers/endorsements.js';\nexport {\n fetchReceivedEndorsements,\n type ReceivedEndorsement,\n type ReceivedEndorsementsPage,\n} from './fetchers/received-endorsements.js';\nexport {\n fetchReciprocityCandidate,\n type ReciprocityCandidate,\n type ReciprocitySkill,\n} from './fetchers/reciprocity.js';\nexport {\n fetchPendingEndorsements,\n dismissEndorsement,\n type PendingEndorsement,\n type PendingEndorsementsPage,\n type DismissEndorsementInput,\n type FetchPendingEndorsementsOptions,\n} from './fetchers/endorsement-inbox.js';\nexport {\n fetchPendingConfirmations,\n fetchGivenConfirmations,\n fetchViewerPositionConfirmations,\n createConfirmation,\n dismissConfirmation,\n revokeConfirmation,\n type PendingConfirmation,\n type PendingConfirmationsPage,\n type GivenConfirmation,\n type ConfirmationInput,\n type ConfirmationSubjectInput,\n type FetchConfirmationsOptions,\n} from './fetchers/confirmations.js';\nexport {\n fetchVerificationLog,\n VERIFICATION_EVENT_KINDS,\n VerificationLogEntrySchema,\n VerificationLogSchema,\n type FetchVerificationLogOptions,\n type VerificationEventKind,\n type VerificationLog,\n type VerificationLogEntry,\n} from './fetchers/verification.js';\nexport {\n createOrgAttestation,\n offboardOrgAttestation,\n revokeOrgAttestation,\n fetchOrgAttestations,\n fetchAttestationRequests,\n rejectAttestationRequest,\n requestEmploymentConfirmation,\n OrgAttestationSchema,\n AttestationRequestSchema,\n type AttestationStatus,\n type AttestationRequest,\n type CreateOrgAttestationInput,\n type CreateOrgAttestationResult,\n type FetchOrgAttestationOptions,\n type OrgAttestation,\n type RequestEmploymentConfirmationInput,\n type RequestEmploymentConfirmationResult,\n} from './fetchers/org-attestations.js';\nexport {\n fetchInboxCounts,\n type InboxCounts,\n type FetchInboxCountsOptions,\n} from './fetchers/inbox.js';\nexport {\n fetchUnlinkedPositions,\n dismissUnlinkedPosition,\n type UnlinkedPosition,\n type UnlinkedPositionsResult,\n type FetchUnlinkedPositionsOptions,\n type DismissUnlinkedPositionInput,\n} from './fetchers/unlinked-positions.js';\nexport {\n fetchProfileCompleteness,\n dismissCompletenessSignal,\n clearCompletenessDismissals,\n PROFILE_COMPLETENESS_SIGNALS,\n type ProfileCompleteness,\n type ProfileCompletenessSignal,\n type FetchProfileCompletenessOptions,\n type DismissCompletenessSignalInput,\n} from './fetchers/profile-completeness.js';\nexport { fetchResolveActor, fetchTypeaheadActors } from './fetchers/actor.js';\nexport { hideKeytraceClaim, unhideKeytraceClaim } from './fetchers/keytrace-claims.js';\nexport { revealMarqueDomain, unrevealMarqueDomain } from './fetchers/marque-domains.js';\nexport {\n bulkHideStandardPublications,\n bulkUnhideStandardPublications,\n hideOrcidPublication,\n hideSifaPublication,\n hideStandardPublication,\n refreshOrcidPublications,\n unhideOrcidPublication,\n unhideSifaPublication,\n unhideStandardPublication,\n type RefreshOrcidPublicationsResult,\n} from './fetchers/publications.js';\nexport {\n bulkHideProfileItems,\n bulkUnhideProfileItems,\n hideProfileItem,\n unhideProfileItem,\n HIDDEN_ITEM_SOURCES,\n HIDDEN_ITEM_TYPES,\n type BulkHideProfileItemInput,\n type HiddenItemSource,\n type HiddenItemType,\n type HideProfileItemInput,\n} from './fetchers/profile-items-hide.js';\nexport {\n fetchHiddenActivityItems,\n hideActivityItem,\n unhideActivityItem,\n type FetchHiddenActivityItemsOptions,\n type HiddenActivityItem,\n type HideActivityItemInput,\n type UnhideActivityItemInput,\n} from './fetchers/activity-items-hide.js';\nexport {\n fetchActivityPreferences,\n fetchSiteActivityPreset,\n updateActivityPreferences,\n type ActivityPreferences,\n type FetchActivityPreferencesOptions,\n type SiteActivityPresetResponse,\n type UpdateActivityPreferencesInput,\n} from './fetchers/activity-preferences.js';\nexport { fetchStats, type StatsResponse } from './fetchers/stats.js';\nexport {\n fetchAppsRegistry,\n fetchHiddenApps,\n type AppRegistryEntry,\n type FetchHiddenAppsOptions,\n type HiddenApp,\n} from './fetchers/apps.js';\nexport {\n fetchAccounts,\n switchAccount,\n type AccountSummary,\n type FetchAccountsOptions,\n} from './fetchers/accounts.js';\nexport {\n fetchSearchFilters,\n fetchSearchProfiles,\n fetchSkillSuggestions,\n searchSkills,\n type FilterOptions,\n type ProfileSearchResult,\n type ProfileSearchSuggestion,\n type SearchFilters,\n type SearchResponse,\n type SkillSearchResult,\n} from './fetchers/search.js';\nexport {\n fetchSpeakers,\n fetchTalks,\n type SpeakerCard,\n type SpeakerGroup,\n type SpeakerDirectoryFilters,\n type SpeakersResponse,\n type TalkEvent,\n type TalkRow,\n type TalkSpeaker,\n type TalksResponse,\n} from './fetchers/speakers.js';\nexport {\n fetchEntitySearch,\n selectEntity,\n importSearchEntities,\n resolveEntityDomain,\n mintEntityDomain,\n} from './fetchers/entities.js';\nexport {\n fetchFeaturedProfile,\n fetchSimilarProfiles,\n fetchSuggestionCount,\n fetchSuggestions,\n type FeaturedProfile,\n type FetchSuggestionsOptions,\n type SimilarProfile,\n type SuggestionProfile,\n type SuggestionsResponse,\n} from './fetchers/discovery.js';\nexport {\n fetchFollowing,\n followUser,\n getFollowers,\n getFollowing,\n fetchFollowingFeed,\n fetchFollowingFeedVersion,\n isNewerFollowingFeed,\n type FollowingFeedVersion,\n type FollowingFeedBuild,\n unfollowUser,\n type FetchFollowListOptions,\n type FetchFollowingFeedOptions,\n type FollowingFeedApp,\n type FollowingFeedEmptyReason,\n type FollowingFeedResponse,\n type FollowListPage,\n type FollowProfile,\n type FollowUserResult,\n type FollowingResponse,\n} from './fetchers/follow.js';\nexport {\n getBlueskySuggestions,\n getMutuals,\n type FetchFollowProfilePageOptions,\n type FollowProfilePageResponse,\n} from './fetchers/follow-extras.js';\nexport {\n addFeatureAllowlist,\n listFeatureAllowlist,\n removeFeatureAllowlist,\n type FeatureAllowlistResponse,\n type ListFeatureAllowlistOptions,\n} from './fetchers/admin-feature-allowlists.js';\nexport {\n getAdminReviewQueues,\n type AdminReviewQueues,\n type GetAdminReviewQueuesOptions,\n} from './fetchers/admin-review-queues.js';\nexport {\n fetchActivityFeed,\n fetchActivityTeaser,\n fetchHeatmapData,\n type ActivityFeedResponse,\n type ActivityItem,\n type ActivityItemLinkHealth,\n type ActivityTeaserResponse,\n type FetchActivityFeedOptions,\n type FetchActivityTeaserOptions,\n type HeatmapDay,\n type HeatmapResponse,\n} from './fetchers/activity.js';\nexport {\n fetchMyGithubPullRequests,\n type GithubPullRequest,\n type MyGithubPullRequestsResponse,\n type FetchMyGithubPullRequestsOptions,\n} from './fetchers/github-prs.js';\nexport {\n fetchRpgStatus,\n fetchRpgClaimable,\n RpgItemStatusSchema,\n RpgStatusResponseSchema,\n RpgClaimableResponseSchema,\n type RpgItemStatus,\n type RpgStatusResponse,\n type FetchRpgStatusOptions,\n type RpgClaimableResponse,\n type FetchRpgClaimableOptions,\n} from './fetchers/rpg.js';\nexport { fetchEndorsementCount } from './fetchers/endorsement.js';\nexport { fetchNetworkStreamCount, type FetchNetworkStreamCountOptions } from './fetchers/stream.js';\nexport {\n checkAppAccount,\n createReaction,\n deleteReaction,\n fetchReactionStatus,\n type AccountCheckResult,\n type CheckAppAccountOptions,\n type FetchReactionStatusOptions,\n type ReactionError,\n type ReactionResult,\n type ReactionStatus,\n} from './fetchers/reactions.js';\nexport {\n QUOTED_POSTS_BATCH_MAX,\n resolveQuotedPosts,\n type QuotedPostAuthor,\n type QuotedPostImage,\n type QuotedPostResult,\n type QuotedPostView,\n type ResolveQuotedPostsOptions,\n} from './fetchers/quoted-posts.js';\nexport {\n castRoadmapVote,\n fetchMyRoadmapVotes,\n fetchRoadmapVotes,\n retractRoadmapVote,\n type CastRoadmapVoteResult,\n type FetchMyRoadmapVotesOptions,\n type RoadmapVoteError,\n type RoadmapVoteResult,\n type RoadmapVoter,\n type RoadmapVotesResponse,\n} from './fetchers/roadmap.js';\nexport {\n deleteAccount,\n fetchWipePreview,\n resetProfile,\n type DeleteAccountResult,\n type ResetProfileResult,\n type PdsWipeOutcome,\n type WipePreview,\n} from './fetchers/destructive.js';\nexport {\n deleteRepoRecords,\n fetchRepoInventory,\n repoExportUrl,\n type RepoDeleteInput,\n} from './fetchers/repo-inventory.js';\nexport {\n checkNetworkMapJobStatus,\n fetchNetworkMap,\n initiateNetworkMapGeneration,\n isNetworkMapResponse,\n type NetworkMapEdge,\n type NetworkMapGenerationJob,\n type NetworkMapGraphData,\n type NetworkMapNode,\n type NetworkMapPendingJob,\n type NetworkMapResponse,\n} from './fetchers/network-map.js';\n\nexport { useAtFundLink, useProfile } from './hooks/use-profile.js';\nexport { useGetProfileView } from './hooks/use-get-profile-view.js';\nexport {\n useDeleteAvatarOverride,\n useDeleteNamePronunciationAudio,\n useRefreshPds,\n useUpdateProfileOverride,\n useUpdateProfileSelf,\n useUploadAvatar,\n useUploadNamePronunciationAudio,\n} from './hooks/use-profile-mutations.js';\nexport { useCreatePosition } from './hooks/use-create-position.js';\nexport {\n useDeletePosition,\n useLinkSkillToPosition,\n useSetPositionPrimary,\n useUnlinkSkillFromPosition,\n useUnsetPositionPrimary,\n useUpdatePosition,\n type PositionSkillLinkVariables,\n type UpdatePositionVariables,\n} from './hooks/use-position-mutations.js';\nexport {\n useCreateEducation,\n useDeleteEducation,\n useUpdateEducation,\n type UpdateEducationVariables,\n} from './hooks/use-education-mutations.js';\nexport {\n useSetSectionPrimary,\n useUnsetSectionPrimary,\n} from './hooks/use-section-primary-mutations.js';\nexport {\n useCreateSkill,\n useDeleteSkill,\n useUpdateSkill,\n useUpdateSkillSubCategories,\n type UpdateSkillVariables,\n type UpdateSkillSubCategoriesVariables,\n} from './hooks/use-skill-mutations.js';\nexport {\n useCreateRecord,\n useDeleteRecord,\n useUpdateRecord,\n type CreateRecordVariables,\n type DeleteRecordVariables,\n type UpdateRecordVariables,\n} from './hooks/use-record-mutations.js';\nexport {\n useCreateProfileLocation,\n useDeleteProfileLocation,\n useUpdateProfileLocation,\n type UpdateProfileLocationVariables,\n} from './hooks/use-location-mutations.js';\nexport {\n useCreateExternalAccount,\n useDeleteExternalAccount,\n useExternalAccounts,\n useSetExternalAccountPrimary,\n useUnsetExternalAccountPrimary,\n useUpdateExternalAccount,\n useVerifyExternalAccount,\n type UpdateExternalAccountVariables,\n} from './hooks/use-external-accounts.js';\nexport { useCreateEndorsement } from './hooks/use-endorsement-mutations.js';\nexport { useReceivedEndorsements } from './hooks/use-received-endorsements.js';\nexport { useReciprocityCandidate } from './hooks/use-reciprocity.js';\nexport {\n usePendingEndorsements,\n useConfirmEndorsement,\n useDismissEndorsement,\n} from './hooks/use-endorsement-inbox.js';\nexport {\n usePendingConfirmations,\n useGivenConfirmations,\n useCreateConfirmation,\n useDismissConfirmation,\n useRevokeConfirmation,\n} from './hooks/use-confirmations.js';\nexport { useInboxCounts } from './hooks/use-inbox.js';\nexport { useVerificationLog } from './hooks/use-verification.js';\nexport {\n useOrgAttestations,\n useAttestationRequests,\n useCreateOrgAttestation,\n useOffboardOrgAttestation,\n useRevokeOrgAttestation,\n useRejectAttestationRequest,\n useRequestEmploymentConfirmation,\n} from './hooks/use-org-attestations.js';\nexport {\n useUnlinkedPositions,\n useDismissUnlinkedPosition,\n} from './hooks/use-unlinked-positions.js';\nexport {\n useProfileCompleteness,\n useDismissCompletenessSignal,\n useClearCompletenessDismissals,\n} from './hooks/use-profile-completeness.js';\nexport { useRpgClaimable } from './hooks/use-rpg-claimable.js';\nexport { useRpgStatus } from './hooks/use-rpg-status.js';\nexport { useHideKeytraceClaim, useUnhideKeytraceClaim } from './hooks/use-keytrace-claims.js';\nexport { useRevealMarqueDomain, useUnrevealMarqueDomain } from './hooks/use-marque-domains.js';\nexport {\n useBulkHideStandardPublications,\n useBulkUnhideStandardPublications,\n useHideOrcidPublication,\n useHideSifaPublication,\n useHideStandardPublication,\n useRefreshOrcidPublications,\n useUnhideOrcidPublication,\n useUnhideSifaPublication,\n useUnhideStandardPublication,\n} from './hooks/use-publication-mutations.js';\nexport {\n useBulkHideProfileItems,\n useBulkUnhideProfileItems,\n useHideProfileItem,\n useUnhideProfileItem,\n} from './hooks/use-profile-items-hide.js';\nexport {\n useHiddenActivityItems,\n useHideActivityItem,\n useUnhideActivityItem,\n} from './hooks/use-activity-items-hide.js';\nexport {\n useActivityPreferences,\n useSiteActivityPreset,\n useUpdateActivityPreferences,\n} from './hooks/use-activity-preferences.js';\nexport { useStats } from './hooks/use-stats.js';\nexport { useAppsRegistry, useHiddenApps } from './hooks/use-apps.js';\nexport { useAccounts } from './hooks/use-accounts.js';\nexport {\n useCanonicalSkillSearch,\n useSearchFilters,\n useSearchProfiles,\n useSkillSuggestions,\n} from './hooks/use-search.js';\nexport {\n useEntitySearch,\n useSelectEntity,\n useImportSearchEntities,\n useResolveEntityDomain,\n useMintEntityDomain,\n useDebouncedValue,\n type UseEntitySearchOptions,\n} from './hooks/use-entity-search.js';\nexport {\n useFeaturedProfile,\n useSimilarProfiles,\n useSuggestionCount,\n useSuggestions,\n} from './hooks/use-discovery.js';\nexport {\n useFollow,\n useFollowers,\n useFollowing,\n useFollowingFeed,\n useFollowingFeedVersion,\n useFollowingList,\n useUnfollow,\n type FollowVariables,\n type UnfollowVariables,\n} from './hooks/use-follow.js';\nexport { useBlueskySuggestions, useMutuals } from './hooks/use-follow-extras.js';\nexport {\n useAddFeatureAllowlist,\n useFeatureAllowlist,\n useRemoveFeatureAllowlist,\n type AddFeatureAllowlistVariables,\n type RemoveFeatureAllowlistVariables,\n} from './hooks/use-feature-allowlist.js';\nexport { useAdminReviewQueues } from './hooks/use-admin-review-queues.js';\nexport { useActivityFeed, useActivityTeaser, useHeatmapData } from './hooks/use-activity.js';\nexport {\n useMyGithubPullRequests,\n type UseMyGithubPullRequestsParams,\n} from './hooks/use-github-prs.js';\nexport { useEndorsementCount } from './hooks/use-endorsement.js';\nexport { useNetworkStreamCount } from './hooks/use-stream.js';\nexport { useAppAccountCheck, useReactionStatus } from './hooks/use-reactions.js';\nexport {\n useCreateReaction,\n useDeleteReaction,\n type CreateReactionVariables,\n type DeleteReactionVariables,\n} from './hooks/use-reaction-mutations.js';\nexport { useMyRoadmapVotes, useRoadmapVotes } from './hooks/use-roadmap.js';\nexport { useCastRoadmapVote, useRetractRoadmapVote } from './hooks/use-roadmap-mutations.js';\nexport { useDeleteAccount, useResetProfile, useWipePreview } from './hooks/use-destructive.js';\nexport { useDeleteRepoRecords, useRepoInventory } from './hooks/use-repo-inventory.js';\nexport {\n fetchBskyContentLabelPrefs,\n updateBskyContentLabelPrefs,\n effectiveContentVisibility,\n shouldGateAdultMedia,\n type BskyContentLabelPrefs,\n type BskyContentLabelPrefsResponse,\n type BskyContentLabelVisibility,\n type BskyPrefsScopeError,\n type UpdateBskyContentLabelPrefsBody,\n} from './fetchers/bsky-preferences.js';\nexport {\n useBskyContentLabelPrefs,\n useUpdateBskyContentLabelPrefs,\n} from './hooks/use-bsky-content-prefs.js';\n\nexport {\n submitOrgClaim,\n updateOrgProfile,\n requestOrgDomainChallenge,\n verifyOrgDomain,\n addOrgNotificationEmail,\n removeOrgNotificationEmail,\n type OrgClaimBinding,\n type OrgProfileEcho,\n type OrgClaimResult,\n type OrgProfileUpdateResult,\n type OrgDomainChallengeResult,\n type OrgDomainVerifyResult,\n type OrgNotificationEmailAddResult,\n type OrgNotificationEmailRemoveResult,\n} from './fetchers/org.js';\nexport { useOrgProfile } from './hooks/use-org-profile.js';\nexport { useOrgClaim } from './hooks/use-org-claim.js';\nexport { useUpdateOrgProfile } from './hooks/use-org-profile-settings.js';\nexport { useOrgDomainChallenge, useOrgDomainVerify } from './hooks/use-org-domains.js';\nexport {\n useAddOrgNotificationEmail,\n useRemoveOrgNotificationEmail,\n} from './hooks/use-org-notification-emails.js';\n\nexport {\n fetchUserSettings,\n updateUserSettings,\n UserSettingsSchema,\n type FetchUserSettingsOptions,\n type UserSettings,\n type UserSettingsPatch,\n} from './fetchers/user-settings.js';\nexport { useUpdateUserSettings, useUserSettings } from './hooks/use-user-settings.js';\n\nexport { sifaQueryKeys, type SifaQueryKey } from './keys.js';\n"],"mappings":";AAAA;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAKK;AACP,SAAS,cAAc,qBAA6C;AAEpE,SAAS,iBAAiB,oBAAoB;AAC9C,SAAS,2BAA2B;AACpC,SAAS,2BAA2B;AACpC;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAQK;AACP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AACP,SAAS,iBAAiB,iBAAiB,uBAAuB;AAClE;AAAA,EACE;AAAA,EACA;AAAA,OAEK;AACP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAEK;AACP,SAAS,cAAc,cAAc,oBAAoB;AACzD;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,OAGK;AACP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAIK;AACP;AAAA,EACE;AAAA,EACA;AAAA,OAGK;AACP;AAAA,EACE;A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4BAA4B;AACrC,SAAS,iBAAiB,mBAAmB,sBAAsB;AACnE;AAAA,EACE;AAAA,OAEK;AACP,SAAS,2BAA2B;AACpC,SAAS,6BAA6B;AACtC,SAAS,oBAAoB,yBAAyB;AACtD;AAAA,EACE;AAAA,EACA;AAAA,OAGK;AACP,SAAS,mBAAmB,uBAAuB;AACnD,SAAS,oBAAoB,6BAA6B;AAC1D,SAAS,kBAAkB,iBAAiB,sBAAsB;AAClE,SAAS,sBAAsB,wBAAwB;AACvD;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAMK;AACP;AAAA,EACE;AAAA,EACA;AAAA,OACK;AAEP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OASK;AACP,SAAS,qBAAqB;AAC9B,SAAS,mBAAmB;AAC5B,SAAS,2BAA2B;AACpC,SAAS,uBAAuB,0BAA0B;AAC1D;AAAA,EACE;AAAA,EACA;AAAA,OACK;AAEP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,OAIK;AACP,SAAS,uBAAuB,uBAAuB;AAEvD,SAAS,qBAAwC;","names":[]}
|
|
1
|
+
{"version":3,"sources":["../../src/query/index.ts"],"sourcesContent":["export {\n ApiError,\n apiFetch,\n apiFetchOrNull,\n apiWrite,\n apiWriteCreate,\n type ApiFetchOptions,\n type CreateResult,\n type SifaApiConfig,\n type WriteResult,\n} from './client.js';\nexport { SifaProvider, useSifaConfig, type SifaProviderProps } from './config.js';\n\nexport { fetchAtFundLink, fetchProfile } from './fetchers/profile.js';\nexport { fetchGetProfileView } from './fetchers/get-profile-view.js';\nexport { fetchProfileSummary } from './fetchers/profile-summary.js';\nexport {\n deleteAvatarOverride,\n deleteNamePronunciationAudio,\n refreshPds,\n updateProfileOverride,\n updateProfileSelf,\n uploadAvatar,\n uploadNamePronunciationAudio,\n type ProfileIndustryInput,\n type ProfileSelfLocation,\n type RefreshPdsResult,\n type UpdateProfileOverrideInput,\n type UpdateProfileSelfInput,\n type UploadAvatarResult,\n type UploadPronunciationAudioResult,\n} from './fetchers/profile-mutations.js';\nexport {\n createPosition,\n deletePosition,\n linkSkillToPosition,\n setPositionPrimary,\n unlinkSkillFromPosition,\n unsetPositionPrimary,\n updatePosition,\n} from './fetchers/positions.js';\nexport { createEducation, deleteEducation, updateEducation } from './fetchers/education.js';\nexport {\n setSectionPrimary,\n unsetSectionPrimary,\n type PrimarySection,\n} from './fetchers/section-primary.js';\nexport {\n createSkill,\n deleteSkill,\n updateSkill,\n updateSkillSubCategories,\n type SubCategoryBulkResult,\n} from './fetchers/skills.js';\nexport { createRecord, deleteRecord, updateRecord } from './fetchers/records.js';\nexport {\n createProfileLocation,\n deleteProfileLocation,\n updateProfileLocation,\n type ProfileLocationAddress,\n type ProfileLocationInput,\n} from './fetchers/profile-locations.js';\nexport {\n createExternalAccount,\n deleteExternalAccount,\n fetchExternalAccounts,\n setExternalAccountPrimary,\n unsetExternalAccountPrimary,\n updateExternalAccount,\n verifyExternalAccount,\n type CreateExternalAccountResult,\n type ExternalAccountInput,\n type VerifyExternalAccountResult,\n} from './fetchers/external-accounts.js';\nexport {\n createEndorsement,\n confirmEndorsement,\n type EndorsementInput,\n type ConfirmEndorsementInput,\n} from './fetchers/endorsements.js';\nexport {\n fetchReceivedEndorsements,\n type ReceivedEndorsement,\n type ReceivedEndorsementsPage,\n} from './fetchers/received-endorsements.js';\nexport {\n fetchReciprocityCandidate,\n type ReciprocityCandidate,\n type ReciprocitySkill,\n} from './fetchers/reciprocity.js';\nexport {\n fetchPendingEndorsements,\n dismissEndorsement,\n type PendingEndorsement,\n type PendingEndorsementsPage,\n type DismissEndorsementInput,\n type FetchPendingEndorsementsOptions,\n} from './fetchers/endorsement-inbox.js';\nexport {\n fetchPendingConfirmations,\n fetchGivenConfirmations,\n fetchViewerPositionConfirmations,\n createConfirmation,\n dismissConfirmation,\n revokeConfirmation,\n type PendingConfirmation,\n type PendingConfirmationsPage,\n type GivenConfirmation,\n type ConfirmationInput,\n type ConfirmationSubjectInput,\n type FetchConfirmationsOptions,\n} from './fetchers/confirmations.js';\nexport {\n fetchVerificationLog,\n VERIFICATION_EVENT_KINDS,\n VerificationLogEntrySchema,\n VerificationLogSchema,\n type FetchVerificationLogOptions,\n type VerificationEventKind,\n type VerificationLog,\n type VerificationLogEntry,\n} from './fetchers/verification.js';\nexport {\n fetchProfileEmails,\n addProfileEmail,\n resendProfileEmailVerification,\n removeProfileEmail,\n ProfileEmailSchema,\n type FetchProfileEmailsOptions,\n type ProfileEmail,\n type ProfileEmails,\n type ProfileEmailSendStatus,\n} from './fetchers/profile-emails.js';\nexport {\n fetchEmailVerificationLinks,\n linkEmailToPosition,\n unlinkEmailFromPosition,\n requestEmailReverification,\n EmailVerificationLinkSchema,\n type EmailBadgeRefusal,\n type EmailVerificationLink,\n type FetchEmailVerificationLinksOptions,\n type LinkEmailResult,\n} from './fetchers/email-verification.js';\nexport {\n createOrgAttestation,\n offboardOrgAttestation,\n revokeOrgAttestation,\n fetchOrgAttestations,\n fetchAttestationRequests,\n rejectAttestationRequest,\n requestEmploymentConfirmation,\n OrgAttestationSchema,\n AttestationRequestSchema,\n type AttestationStatus,\n type AttestationRequest,\n type CreateOrgAttestationInput,\n type CreateOrgAttestationResult,\n type FetchOrgAttestationOptions,\n type OrgAttestation,\n type RequestEmploymentConfirmationInput,\n type RequestEmploymentConfirmationResult,\n} from './fetchers/org-attestations.js';\nexport {\n fetchInboxCounts,\n type InboxCounts,\n type FetchInboxCountsOptions,\n} from './fetchers/inbox.js';\nexport {\n fetchUnlinkedPositions,\n dismissUnlinkedPosition,\n type UnlinkedPosition,\n type UnlinkedPositionsResult,\n type FetchUnlinkedPositionsOptions,\n type DismissUnlinkedPositionInput,\n} from './fetchers/unlinked-positions.js';\nexport {\n fetchProfileCompleteness,\n dismissCompletenessSignal,\n clearCompletenessDismissals,\n PROFILE_COMPLETENESS_SIGNALS,\n type ProfileCompleteness,\n type ProfileCompletenessSignal,\n type FetchProfileCompletenessOptions,\n type DismissCompletenessSignalInput,\n} from './fetchers/profile-completeness.js';\nexport { fetchResolveActor, fetchTypeaheadActors } from './fetchers/actor.js';\nexport { hideKeytraceClaim, unhideKeytraceClaim } from './fetchers/keytrace-claims.js';\nexport { revealMarqueDomain, unrevealMarqueDomain } from './fetchers/marque-domains.js';\nexport {\n bulkHideStandardPublications,\n bulkUnhideStandardPublications,\n hideOrcidPublication,\n hideSifaPublication,\n hideStandardPublication,\n refreshOrcidPublications,\n unhideOrcidPublication,\n unhideSifaPublication,\n unhideStandardPublication,\n type RefreshOrcidPublicationsResult,\n} from './fetchers/publications.js';\nexport {\n bulkHideProfileItems,\n bulkUnhideProfileItems,\n hideProfileItem,\n unhideProfileItem,\n HIDDEN_ITEM_SOURCES,\n HIDDEN_ITEM_TYPES,\n type BulkHideProfileItemInput,\n type HiddenItemSource,\n type HiddenItemType,\n type HideProfileItemInput,\n} from './fetchers/profile-items-hide.js';\nexport {\n fetchHiddenActivityItems,\n hideActivityItem,\n unhideActivityItem,\n type FetchHiddenActivityItemsOptions,\n type HiddenActivityItem,\n type HideActivityItemInput,\n type UnhideActivityItemInput,\n} from './fetchers/activity-items-hide.js';\nexport {\n fetchActivityPreferences,\n fetchSiteActivityPreset,\n updateActivityPreferences,\n type ActivityPreferences,\n type FetchActivityPreferencesOptions,\n type SiteActivityPresetResponse,\n type UpdateActivityPreferencesInput,\n} from './fetchers/activity-preferences.js';\nexport { fetchStats, type StatsResponse } from './fetchers/stats.js';\nexport {\n fetchAppsRegistry,\n fetchHiddenApps,\n type AppRegistryEntry,\n type FetchHiddenAppsOptions,\n type HiddenApp,\n} from './fetchers/apps.js';\nexport {\n fetchAccounts,\n switchAccount,\n type AccountSummary,\n type FetchAccountsOptions,\n} from './fetchers/accounts.js';\nexport {\n fetchSearchFilters,\n fetchSearchProfiles,\n fetchSkillSuggestions,\n searchSkills,\n type FilterOptions,\n type ProfileSearchResult,\n type ProfileSearchSuggestion,\n type SearchFilters,\n type SearchResponse,\n type SkillSearchResult,\n} from './fetchers/search.js';\nexport {\n fetchSpeakers,\n fetchTalks,\n type SpeakerCard,\n type SpeakerGroup,\n type SpeakerDirectoryFilters,\n type SpeakersResponse,\n type TalkEvent,\n type TalkRow,\n type TalkSpeaker,\n type TalksResponse,\n} from './fetchers/speakers.js';\nexport {\n fetchEntitySearch,\n selectEntity,\n importSearchEntities,\n resolveEntityDomain,\n mintEntityDomain,\n} from './fetchers/entities.js';\nexport {\n fetchFeaturedProfile,\n fetchSimilarProfiles,\n fetchSuggestionCount,\n fetchSuggestions,\n type FeaturedProfile,\n type FetchSuggestionsOptions,\n type SimilarProfile,\n type SuggestionProfile,\n type SuggestionsResponse,\n} from './fetchers/discovery.js';\nexport {\n fetchFollowing,\n followUser,\n getFollowers,\n getFollowing,\n fetchFollowingFeed,\n fetchFollowingFeedVersion,\n isNewerFollowingFeed,\n type FollowingFeedVersion,\n type FollowingFeedBuild,\n unfollowUser,\n type FetchFollowListOptions,\n type FetchFollowingFeedOptions,\n type FollowingFeedApp,\n type FollowingFeedEmptyReason,\n type FollowingFeedResponse,\n type FollowListPage,\n type FollowProfile,\n type FollowUserResult,\n type FollowingResponse,\n} from './fetchers/follow.js';\nexport {\n getBlueskySuggestions,\n getMutuals,\n type FetchFollowProfilePageOptions,\n type FollowProfilePageResponse,\n} from './fetchers/follow-extras.js';\nexport {\n addFeatureAllowlist,\n listFeatureAllowlist,\n removeFeatureAllowlist,\n type FeatureAllowlistResponse,\n type ListFeatureAllowlistOptions,\n} from './fetchers/admin-feature-allowlists.js';\nexport {\n getAdminReviewQueues,\n type AdminReviewQueues,\n type GetAdminReviewQueuesOptions,\n} from './fetchers/admin-review-queues.js';\nexport {\n fetchActivityFeed,\n fetchActivityTeaser,\n fetchHeatmapData,\n type ActivityFeedResponse,\n type ActivityItem,\n type ActivityItemLinkHealth,\n type ActivityTeaserResponse,\n type FetchActivityFeedOptions,\n type FetchActivityTeaserOptions,\n type HeatmapDay,\n type HeatmapResponse,\n} from './fetchers/activity.js';\nexport {\n fetchMyGithubPullRequests,\n type GithubPullRequest,\n type MyGithubPullRequestsResponse,\n type FetchMyGithubPullRequestsOptions,\n} from './fetchers/github-prs.js';\nexport {\n fetchRpgStatus,\n fetchRpgClaimable,\n RpgItemStatusSchema,\n RpgStatusResponseSchema,\n RpgClaimableResponseSchema,\n type RpgItemStatus,\n type RpgStatusResponse,\n type FetchRpgStatusOptions,\n type RpgClaimableResponse,\n type FetchRpgClaimableOptions,\n} from './fetchers/rpg.js';\nexport { fetchEndorsementCount } from './fetchers/endorsement.js';\nexport { fetchNetworkStreamCount, type FetchNetworkStreamCountOptions } from './fetchers/stream.js';\nexport {\n checkAppAccount,\n createReaction,\n deleteReaction,\n fetchReactionStatus,\n type AccountCheckResult,\n type CheckAppAccountOptions,\n type FetchReactionStatusOptions,\n type ReactionError,\n type ReactionResult,\n type ReactionStatus,\n} from './fetchers/reactions.js';\nexport {\n QUOTED_POSTS_BATCH_MAX,\n resolveQuotedPosts,\n type QuotedPostAuthor,\n type QuotedPostImage,\n type QuotedPostResult,\n type QuotedPostView,\n type ResolveQuotedPostsOptions,\n} from './fetchers/quoted-posts.js';\nexport {\n castRoadmapVote,\n fetchMyRoadmapVotes,\n fetchRoadmapVotes,\n retractRoadmapVote,\n type CastRoadmapVoteResult,\n type FetchMyRoadmapVotesOptions,\n type RoadmapVoteError,\n type RoadmapVoteResult,\n type RoadmapVoter,\n type RoadmapVotesResponse,\n} from './fetchers/roadmap.js';\nexport {\n deleteAccount,\n fetchWipePreview,\n resetProfile,\n type DeleteAccountResult,\n type ResetProfileResult,\n type PdsWipeOutcome,\n type WipePreview,\n} from './fetchers/destructive.js';\nexport {\n deleteRepoRecords,\n fetchRepoInventory,\n repoExportUrl,\n type RepoDeleteInput,\n} from './fetchers/repo-inventory.js';\nexport {\n checkNetworkMapJobStatus,\n fetchNetworkMap,\n initiateNetworkMapGeneration,\n isNetworkMapResponse,\n type NetworkMapEdge,\n type NetworkMapGenerationJob,\n type NetworkMapGraphData,\n type NetworkMapNode,\n type NetworkMapPendingJob,\n type NetworkMapResponse,\n} from './fetchers/network-map.js';\n\nexport { useAtFundLink, useProfile } from './hooks/use-profile.js';\nexport { useGetProfileView } from './hooks/use-get-profile-view.js';\nexport {\n useDeleteAvatarOverride,\n useDeleteNamePronunciationAudio,\n useRefreshPds,\n useUpdateProfileOverride,\n useUpdateProfileSelf,\n useUploadAvatar,\n useUploadNamePronunciationAudio,\n} from './hooks/use-profile-mutations.js';\nexport { useCreatePosition } from './hooks/use-create-position.js';\nexport {\n useDeletePosition,\n useLinkSkillToPosition,\n useSetPositionPrimary,\n useUnlinkSkillFromPosition,\n useUnsetPositionPrimary,\n useUpdatePosition,\n type PositionSkillLinkVariables,\n type UpdatePositionVariables,\n} from './hooks/use-position-mutations.js';\nexport {\n useCreateEducation,\n useDeleteEducation,\n useUpdateEducation,\n type UpdateEducationVariables,\n} from './hooks/use-education-mutations.js';\nexport {\n useSetSectionPrimary,\n useUnsetSectionPrimary,\n} from './hooks/use-section-primary-mutations.js';\nexport {\n useCreateSkill,\n useDeleteSkill,\n useUpdateSkill,\n useUpdateSkillSubCategories,\n type UpdateSkillVariables,\n type UpdateSkillSubCategoriesVariables,\n} from './hooks/use-skill-mutations.js';\nexport {\n useCreateRecord,\n useDeleteRecord,\n useUpdateRecord,\n type CreateRecordVariables,\n type DeleteRecordVariables,\n type UpdateRecordVariables,\n} from './hooks/use-record-mutations.js';\nexport {\n useCreateProfileLocation,\n useDeleteProfileLocation,\n useUpdateProfileLocation,\n type UpdateProfileLocationVariables,\n} from './hooks/use-location-mutations.js';\nexport {\n useCreateExternalAccount,\n useDeleteExternalAccount,\n useExternalAccounts,\n useSetExternalAccountPrimary,\n useUnsetExternalAccountPrimary,\n useUpdateExternalAccount,\n useVerifyExternalAccount,\n type UpdateExternalAccountVariables,\n} from './hooks/use-external-accounts.js';\nexport { useCreateEndorsement } from './hooks/use-endorsement-mutations.js';\nexport { useReceivedEndorsements } from './hooks/use-received-endorsements.js';\nexport { useReciprocityCandidate } from './hooks/use-reciprocity.js';\nexport {\n usePendingEndorsements,\n useConfirmEndorsement,\n useDismissEndorsement,\n} from './hooks/use-endorsement-inbox.js';\nexport {\n usePendingConfirmations,\n useGivenConfirmations,\n useCreateConfirmation,\n useDismissConfirmation,\n useRevokeConfirmation,\n} from './hooks/use-confirmations.js';\nexport { useInboxCounts } from './hooks/use-inbox.js';\nexport { useVerificationLog } from './hooks/use-verification.js';\nexport {\n useProfileEmails,\n useAddProfileEmail,\n useResendProfileEmailVerification,\n useRemoveProfileEmail,\n} from './hooks/use-profile-emails.js';\nexport {\n useOrgAttestations,\n useAttestationRequests,\n useCreateOrgAttestation,\n useOffboardOrgAttestation,\n useRevokeOrgAttestation,\n useRejectAttestationRequest,\n useRequestEmploymentConfirmation,\n} from './hooks/use-org-attestations.js';\nexport {\n useUnlinkedPositions,\n useDismissUnlinkedPosition,\n} from './hooks/use-unlinked-positions.js';\nexport {\n useProfileCompleteness,\n useDismissCompletenessSignal,\n useClearCompletenessDismissals,\n} from './hooks/use-profile-completeness.js';\nexport { useRpgClaimable } from './hooks/use-rpg-claimable.js';\nexport { useRpgStatus } from './hooks/use-rpg-status.js';\nexport { useHideKeytraceClaim, useUnhideKeytraceClaim } from './hooks/use-keytrace-claims.js';\nexport { useRevealMarqueDomain, useUnrevealMarqueDomain } from './hooks/use-marque-domains.js';\nexport {\n useBulkHideStandardPublications,\n useBulkUnhideStandardPublications,\n useHideOrcidPublication,\n useHideSifaPublication,\n useHideStandardPublication,\n useRefreshOrcidPublications,\n useUnhideOrcidPublication,\n useUnhideSifaPublication,\n useUnhideStandardPublication,\n} from './hooks/use-publication-mutations.js';\nexport {\n useBulkHideProfileItems,\n useBulkUnhideProfileItems,\n useHideProfileItem,\n useUnhideProfileItem,\n} from './hooks/use-profile-items-hide.js';\nexport {\n useHiddenActivityItems,\n useHideActivityItem,\n useUnhideActivityItem,\n} from './hooks/use-activity-items-hide.js';\nexport {\n useActivityPreferences,\n useSiteActivityPreset,\n useUpdateActivityPreferences,\n} from './hooks/use-activity-preferences.js';\nexport { useStats } from './hooks/use-stats.js';\nexport { useAppsRegistry, useHiddenApps } from './hooks/use-apps.js';\nexport { useAccounts } from './hooks/use-accounts.js';\nexport {\n useCanonicalSkillSearch,\n useSearchFilters,\n useSearchProfiles,\n useSkillSuggestions,\n} from './hooks/use-search.js';\nexport {\n useEntitySearch,\n useSelectEntity,\n useImportSearchEntities,\n useResolveEntityDomain,\n useMintEntityDomain,\n useDebouncedValue,\n type UseEntitySearchOptions,\n} from './hooks/use-entity-search.js';\nexport {\n useFeaturedProfile,\n useSimilarProfiles,\n useSuggestionCount,\n useSuggestions,\n} from './hooks/use-discovery.js';\nexport {\n useFollow,\n useFollowers,\n useFollowing,\n useFollowingFeed,\n useFollowingFeedVersion,\n useFollowingList,\n useUnfollow,\n type FollowVariables,\n type UnfollowVariables,\n} from './hooks/use-follow.js';\nexport { useBlueskySuggestions, useMutuals } from './hooks/use-follow-extras.js';\nexport {\n useAddFeatureAllowlist,\n useFeatureAllowlist,\n useRemoveFeatureAllowlist,\n type AddFeatureAllowlistVariables,\n type RemoveFeatureAllowlistVariables,\n} from './hooks/use-feature-allowlist.js';\nexport { useAdminReviewQueues } from './hooks/use-admin-review-queues.js';\nexport { useActivityFeed, useActivityTeaser, useHeatmapData } from './hooks/use-activity.js';\nexport {\n useMyGithubPullRequests,\n type UseMyGithubPullRequestsParams,\n} from './hooks/use-github-prs.js';\nexport { useEndorsementCount } from './hooks/use-endorsement.js';\nexport { useNetworkStreamCount } from './hooks/use-stream.js';\nexport { useAppAccountCheck, useReactionStatus } from './hooks/use-reactions.js';\nexport {\n useCreateReaction,\n useDeleteReaction,\n type CreateReactionVariables,\n type DeleteReactionVariables,\n} from './hooks/use-reaction-mutations.js';\nexport { useMyRoadmapVotes, useRoadmapVotes } from './hooks/use-roadmap.js';\nexport { useCastRoadmapVote, useRetractRoadmapVote } from './hooks/use-roadmap-mutations.js';\nexport { useDeleteAccount, useResetProfile, useWipePreview } from './hooks/use-destructive.js';\nexport { useDeleteRepoRecords, useRepoInventory } from './hooks/use-repo-inventory.js';\nexport {\n fetchBskyContentLabelPrefs,\n updateBskyContentLabelPrefs,\n effectiveContentVisibility,\n shouldGateAdultMedia,\n type BskyContentLabelPrefs,\n type BskyContentLabelPrefsResponse,\n type BskyContentLabelVisibility,\n type BskyPrefsScopeError,\n type UpdateBskyContentLabelPrefsBody,\n} from './fetchers/bsky-preferences.js';\nexport {\n useBskyContentLabelPrefs,\n useUpdateBskyContentLabelPrefs,\n} from './hooks/use-bsky-content-prefs.js';\n\nexport {\n submitOrgClaim,\n updateOrgProfile,\n requestOrgDomainChallenge,\n verifyOrgDomain,\n addOrgNotificationEmail,\n removeOrgNotificationEmail,\n type OrgClaimBinding,\n type OrgProfileEcho,\n type OrgClaimResult,\n type OrgProfileUpdateResult,\n type OrgDomainChallengeResult,\n type OrgDomainVerifyResult,\n type OrgNotificationEmailAddResult,\n type OrgNotificationEmailRemoveResult,\n} from './fetchers/org.js';\nexport { useOrgProfile } from './hooks/use-org-profile.js';\nexport { useOrgClaim } from './hooks/use-org-claim.js';\nexport { useUpdateOrgProfile } from './hooks/use-org-profile-settings.js';\nexport { useOrgDomainChallenge, useOrgDomainVerify } from './hooks/use-org-domains.js';\nexport {\n useAddOrgNotificationEmail,\n useRemoveOrgNotificationEmail,\n} from './hooks/use-org-notification-emails.js';\n\nexport {\n fetchUserSettings,\n updateUserSettings,\n UserSettingsSchema,\n type FetchUserSettingsOptions,\n type UserSettings,\n type UserSettingsPatch,\n} from './fetchers/user-settings.js';\nexport { useUpdateUserSettings, useUserSettings } from './hooks/use-user-settings.js';\n\nexport { sifaQueryKeys, type SifaQueryKey } from './keys.js';\n"],"mappings":";AAAA;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAKK;AACP,SAAS,cAAc,qBAA6C;AAEpE,S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,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OASK;AACP,SAAS,qBAAqB;AAC9B,SAAS,mBAAmB;AAC5B,SAAS,2BAA2B;AACpC,SAAS,uBAAuB,0BAA0B;AAC1D;AAAA,EACE;AAAA,EACA;AAAA,OACK;AAEP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,OAIK;AACP,SAAS,uBAAuB,uBAAuB;AAEvD,SAAS,qBAAwC;","names":[]}
|
package/dist/query/keys.js
CHANGED
|
@@ -123,6 +123,11 @@ var sifaQueryKeys = {
|
|
|
123
123
|
/** Pending confirmation requests addressed to the signed-in organization. */
|
|
124
124
|
attestationRequests: () => ["sifa", "org", "attestation-requests"]
|
|
125
125
|
},
|
|
126
|
+
profileEmails: {
|
|
127
|
+
all: () => ["sifa", "profile-emails"],
|
|
128
|
+
/** The signed-in account's email addresses (#158). */
|
|
129
|
+
list: () => ["sifa", "profile-emails", "list"]
|
|
130
|
+
},
|
|
126
131
|
verification: {
|
|
127
132
|
all: () => ["sifa", "verification"],
|
|
128
133
|
/** The append-only verification log of one position. */
|