@singi-labs/sifa-sdk 0.19.67 → 0.19.68
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/{org--5MN6Ev4.d.ts → org-BmKMu2h9.d.ts} +5 -0
- package/dist/{org-B_0EMNuF.d.cts → org-DZZNwznR.d.cts} +5 -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 +1 -1
- package/dist/query/fetchers/index.d.ts +1 -1
- package/dist/query/fetchers/verification.js +49 -0
- package/dist/query/fetchers/verification.js.map +1 -0
- package/dist/query/hooks/index.cjs +44 -0
- package/dist/query/hooks/index.cjs.map +1 -1
- package/dist/query/hooks/index.d.cts +2 -2
- package/dist/query/hooks/index.d.ts +2 -2
- package/dist/query/hooks/index.js +2 -0
- package/dist/query/hooks/index.js.map +1 -1
- package/dist/query/hooks/use-verification.js +19 -0
- package/dist/query/hooks/use-verification.js.map +1 -0
- package/dist/query/index.cjs +57 -0
- package/dist/query/index.cjs.map +1 -1
- package/dist/query/index.d.cts +3 -3
- package/dist/query/index.d.ts +3 -3
- package/dist/query/index.js +12 -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/{use-org-notification-emails-DZ0oVtiX.d.ts → use-org-notification-emails-BKXLY0Nx.d.ts} +79 -3
- package/dist/{use-org-notification-emails-B4INNGOe.d.cts → use-org-notification-emails-jVBPNbUy.d.cts} +79 -3
- package/package.json +1 -1
package/dist/query/index.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { K as SifaApiConfig, M as ApiFetchOptions, N as CreateResult, W as WriteResult, c as AdultContentLabel } from '../types-BV-qBo9i.cjs';
|
|
2
2
|
export { O as ApiError, Q as FilterOptions, T as ProfileSearchResult, U as ProfileSearchSuggestion, S as SearchFilters, X as SearchResponse, Y as SkillSearchResult, Z as apiFetch, _ as apiFetchOrNull, $ as apiWrite, a0 as apiWriteCreate, a1 as fetchSearchFilters, a2 as fetchSearchProfiles, a3 as fetchSkillSuggestions, a4 as searchSkills } from '../types-BV-qBo9i.cjs';
|
|
3
|
-
export { A as AddFeatureAllowlistVariables, C as CreateReactionVariables, a as CreateRecordVariables, D as DeleteReactionVariables, b as DeleteRecordVariables, F as FollowVariables, P as PositionSkillLinkVariables, R as RemoveFeatureAllowlistVariables, S as SifaProvider,
|
|
3
|
+
export { A as AddFeatureAllowlistVariables, C as CreateReactionVariables, a as CreateRecordVariables, D as DeleteReactionVariables, b as DeleteRecordVariables, F as FetchVerificationLogOptions, c as FollowVariables, P as PositionSkillLinkVariables, R as RemoveFeatureAllowlistVariables, S as SifaProvider, d as SifaProviderProps, U as UnfollowVariables, e as UpdateEducationVariables, f as UpdateExternalAccountVariables, g as UpdatePositionVariables, h as UpdateProfileLocationVariables, i as UpdateRecordVariables, j as UpdateSkillSubCategoriesVariables, k as UpdateSkillVariables, l as UseEntitySearchOptions, m as UseMyGithubPullRequestsParams, V as VERIFICATION_EVENT_KINDS, n as VerificationEventKind, o as VerificationLog, p as VerificationLogEntry, q as VerificationLogEntrySchema, r as VerificationLogSchema, s as fetchVerificationLog, u as useAccounts, t as useActivityFeed, v as useActivityTeaser, w as useAddFeatureAllowlist, x as useAddOrgNotificationEmail, y as useAdminReviewQueues, z as useAppAccountCheck, B as useAppsRegistry, E as useAtFundLink, G as useBlueskySuggestions, H as useBulkHideProfileItems, I as useBulkHideStandardPublications, J as useBulkUnhideProfileItems, K as useBulkUnhideStandardPublications, L as useCanonicalSkillSearch, M as useCastRoadmapVote, N as useCreateConfirmation, O as useCreateEducation, Q as useCreateEndorsement, T as useCreateExternalAccount, W as useCreatePosition, X as useCreateProfileLocation, Y as useCreateReaction, Z as useCreateRecord, _ as useCreateSkill, $ as useDebouncedValue, a0 as useDeleteAccount, a1 as useDeleteAvatarOverride, a2 as useDeleteEducation, a3 as useDeleteExternalAccount, a4 as useDeleteNamePronunciationAudio, a5 as useDeletePosition, a6 as useDeleteProfileLocation, a7 as useDeleteReaction, a8 as useDeleteRecord, a9 as useDeleteRepoRecords, aa as useDeleteSkill, ab as useDismissConfirmation, ac as useDismissUnlinkedPosition, ad as useEndorsementCount, ae as useEntitySearch, af as useExternalAccounts, ag as useFeatureAllowlist, ah as useFeaturedProfile, ai as useFollow, aj as useFollowers, ak as useFollowing, al as useFollowingFeed, am as useFollowingFeedVersion, an as useFollowingList, ao as useGetProfileView, ap as useGivenConfirmations, aq as useHeatmapData, ar as useHiddenActivityItems, as as useHiddenApps, at as useHideActivityItem, au as useHideKeytraceClaim, av as useHideOrcidPublication, aw as useHideProfileItem, ax as useHideSifaPublication, ay as useHideStandardPublication, az as useImportSearchEntities, aA as useInboxCounts, aB as useLinkSkillToPosition, aC as useMintEntityDomain, aD as useMutuals, aE as useMyGithubPullRequests, aF as useMyRoadmapVotes, aG as useNetworkStreamCount, aH as useOrgClaim, aI as useOrgDomainChallenge, aJ as useOrgDomainVerify, aK as useOrgProfile, aL as usePendingConfirmations, aM as useProfile, aN as useProfileCompleteness, aO as useReactionStatus, aP as useRefreshOrcidPublications, aQ as useRefreshPds, aR as useRemoveFeatureAllowlist, aS as useRemoveOrgNotificationEmail, aT as useRepoInventory, aU as useResetProfile, aV as useResolveEntityDomain, aW as useRetractRoadmapVote, aX as useRevealMarqueDomain, aY as useRevokeConfirmation, aZ as useRoadmapVotes, a_ as useSearchFilters, a$ as useSearchProfiles, b0 as useSelectEntity, b1 as useSetExternalAccountPrimary, b2 as useSetPositionPrimary, b3 as useSetSectionPrimary, b4 as useSifaConfig, b5 as useSimilarProfiles, b6 as useSkillSuggestions, b7 as useStats, b8 as useSuggestionCount, b9 as useSuggestions, ba as useUnfollow, bb as useUnhideActivityItem, bc as useUnhideKeytraceClaim, bd as useUnhideOrcidPublication, be as useUnhideProfileItem, bf as useUnhideSifaPublication, bg as useUnhideStandardPublication, bh as useUnlinkSkillFromPosition, bi as useUnlinkedPositions, bj as useUnrevealMarqueDomain, bk as useUnsetExternalAccountPrimary, bl as useUnsetPositionPrimary, bm as useUnsetSectionPrimary, bn as useUpdateEducation, bo as useUpdateExternalAccount, bp as useUpdateOrgProfile, bq as useUpdatePosition, br as useUpdateProfileLocation, bs as useUpdateProfileOverride, bt as useUpdateProfileSelf, bu as useUpdateRecord, bv as useUpdateSkill, bw as useUpdateSkillSubCategories, bx as useUploadAvatar, by as useUploadNamePronunciationAudio, bz as useVerificationLog, bA as useVerifyExternalAccount, bB as useWipePreview } from '../use-org-notification-emails-jVBPNbUy.cjs';
|
|
4
4
|
import { R as ReceivedEndorsementsPage, a as ReciprocityCandidate, D as DismissEndorsementInput, P as PendingEndorsementsPage } from '../network-map-CU7oqvKW.cjs';
|
|
5
5
|
export { F as FetchNetworkStreamCountOptions, b as FetchPendingEndorsementsOptions, c as FetchRpgStatusOptions, N as NetworkMapEdge, d as NetworkMapGenerationJob, e as NetworkMapGraphData, f as NetworkMapNode, g as NetworkMapPendingJob, h as NetworkMapResponse, i as PendingEndorsement, j as ReceivedEndorsement, k as ReciprocitySkill, l as RpgItemStatus, m as RpgItemStatusSchema, n as RpgStatusResponse, o as RpgStatusResponseSchema, S as SpeakerCard, p as SpeakerDirectoryFilters, q as SpeakerGroup, r as SpeakersResponse, T as TalkEvent, s as TalkRow, t as TalkSpeaker, u as TalksResponse, v as checkNetworkMapJobStatus, w as createEducation, x as createPosition, y as createRecord, z as deleteEducation, A as deletePosition, B as deleteRecord, C as dismissEndorsement, E as fetchAtFundLink, G as fetchEndorsementCount, H as fetchEntitySearch, I as fetchGetProfileView, J as fetchNetworkMap, K as fetchNetworkStreamCount, L as fetchPendingEndorsements, M as fetchProfile, O as fetchProfileSummary, Q as fetchReceivedEndorsements, U as fetchReciprocityCandidate, V as fetchRpgStatus, W as fetchSpeakers, X as fetchTalks, Y as hideKeytraceClaim, Z as importSearchEntities, _ as initiateNetworkMapGeneration, $ as isNetworkMapResponse, a0 as linkSkillToPosition, a1 as mintEntityDomain, a2 as resolveEntityDomain, a3 as revealMarqueDomain, a4 as selectEntity, a5 as setPositionPrimary, a6 as unhideKeytraceClaim, a7 as unlinkSkillFromPosition, a8 as unrevealMarqueDomain, a9 as unsetPositionPrimary, aa as updateEducation, ab as updatePosition, ac as updateRecord } from '../network-map-CU7oqvKW.cjs';
|
|
6
|
-
import { s as sifaQueryKeys, C as ConfirmEndorsementInput, a as ConfirmEndorsementResult } from '../org-
|
|
7
|
-
export { A as AccountCheckResult, b as AccountSummary, c as ActivityFeedResponse, d as ActivityItem, e as ActivityItemLinkHealth, f as ActivityTeaserResponse, g as AdminReviewQueues, h as AppRegistryEntry, B as BulkHideProfileItemInput, i as CastRoadmapVoteResult, j as CheckAppAccountOptions, k as ConfirmationInput, l as ConfirmationSubjectInput, m as CreateExternalAccountResult, D as DeleteAccountResult, n as DismissUnlinkedPositionInput, E as EndorsementInput, o as ExternalAccountInput, F as FeatureAllowlistResponse, p as FeaturedProfile, q as FetchAccountsOptions, r as FetchActivityFeedOptions, t as FetchActivityTeaserOptions, u as FetchConfirmationsOptions, v as FetchFollowListOptions, w as FetchFollowProfilePageOptions, x as FetchFollowingFeedOptions, y as FetchHiddenActivityItemsOptions, z as FetchHiddenAppsOptions, G as FetchInboxCountsOptions, H as FetchMyGithubPullRequestsOptions, I as FetchMyRoadmapVotesOptions, J as FetchProfileCompletenessOptions, K as FetchReactionStatusOptions, L as FetchSuggestionsOptions, M as FetchUnlinkedPositionsOptions, N as FollowListPage, O as FollowProfile, P as FollowProfilePageResponse, Q as FollowUserResult, R as FollowingFeedApp, S as FollowingFeedBuild, T as FollowingFeedEmptyReason, U as FollowingFeedResponse, V as FollowingFeedVersion, W as FollowingResponse, X as GetAdminReviewQueuesOptions, Y as GithubPullRequest, Z as GivenConfirmation, _ as HIDDEN_ITEM_SOURCES, $ as HIDDEN_ITEM_TYPES, a0 as HeatmapDay, a1 as HeatmapResponse, a2 as HiddenActivityItem, a3 as HiddenApp, a4 as HiddenItemSource, a5 as HiddenItemType, a6 as HideActivityItemInput, a7 as HideProfileItemInput, a8 as InboxCounts, a9 as ListFeatureAllowlistOptions, aa as MyGithubPullRequestsResponse, ab as OrgClaimBinding, ac as OrgClaimResult, ad as OrgDomainChallengeResult, ae as OrgDomainVerifyResult, af as OrgNotificationEmailAddResult, ag as OrgNotificationEmailRemoveResult, ah as OrgProfileEcho, ai as OrgProfileUpdateResult, aj as PROFILE_COMPLETENESS_SIGNALS, ak as PdsWipeOutcome, al as PendingConfirmation, am as PendingConfirmationsPage, an as PrimarySection, ao as ProfileCompleteness, ap as ProfileCompletenessSignal, aq as ProfileIndustryInput, ar as ProfileLocationAddress, as as ProfileLocationInput, at as ProfileSelfLocation, au as QUOTED_POSTS_BATCH_MAX, av as QuotedPostAuthor, aw as QuotedPostImage, ax as QuotedPostResult, ay as QuotedPostView, az as ReactionError, aA as ReactionResult, aB as ReactionStatus, aC as RefreshOrcidPublicationsResult, aD as RefreshPdsResult, aE as RepoDeleteInput, aF as ResetProfileResult, aG as ResolveQuotedPostsOptions, aH as RoadmapVoteError, aI as RoadmapVoteResult, aJ as RoadmapVoter, aK as RoadmapVotesResponse, aL as SifaQueryKey, aM as SimilarProfile, aN as StatsResponse, aO as SubCategoryBulkResult, aP as SuggestionProfile, aQ as SuggestionsResponse, aR as UnhideActivityItemInput, aS as UnlinkedPosition, aT as UnlinkedPositionsResult, aU as UpdateProfileOverrideInput, aV as UpdateProfileSelfInput, aW as UploadAvatarResult, aX as UploadPronunciationAudioResult, aY as VerifyExternalAccountResult, aZ as WipePreview, a_ as addFeatureAllowlist, a$ as addOrgNotificationEmail, b0 as bulkHideProfileItems, b1 as bulkHideStandardPublications, b2 as bulkUnhideProfileItems, b3 as bulkUnhideStandardPublications, b4 as castRoadmapVote, b5 as checkAppAccount, b6 as confirmEndorsement, b7 as createConfirmation, b8 as createEndorsement, b9 as createExternalAccount, ba as createProfileLocation, bb as createReaction, bc as createSkill, bd as deleteAccount, be as deleteAvatarOverride, bf as deleteExternalAccount, bg as deleteNamePronunciationAudio, bh as deleteProfileLocation, bi as deleteReaction, bj as deleteRepoRecords, bk as deleteSkill, bl as dismissConfirmation, bm as dismissUnlinkedPosition, bn as fetchAccounts, bo as fetchActivityFeed, bp as fetchActivityTeaser, bq as fetchAppsRegistry, br as fetchExternalAccounts, bs as fetchFeaturedProfile, bt as fetchFollowing, bu as fetchFollowingFeed, bv as fetchFollowingFeedVersion, bw as fetchGivenConfirmations, bx as fetchHeatmapData, by as fetchHiddenActivityItems, bz as fetchHiddenApps, bA as fetchInboxCounts, bB as fetchMyGithubPullRequests, bC as fetchMyRoadmapVotes, bD as fetchPendingConfirmations, bE as fetchProfileCompleteness, bF as fetchReactionStatus, bG as fetchRepoInventory, bH as fetchRoadmapVotes, bI as fetchSimilarProfiles, bJ as fetchStats, bK as fetchSuggestionCount, bL as fetchSuggestions, bM as fetchUnlinkedPositions, bN as fetchViewerPositionConfirmations, bO as fetchWipePreview, bP as followUser, bQ as getAdminReviewQueues, bR as getBlueskySuggestions, bS as getFollowers, bT as getFollowing, bU as getMutuals, bV as hideActivityItem, bW as hideOrcidPublication, bX as hideProfileItem, bY as hideSifaPublication, bZ as hideStandardPublication, b_ as isNewerFollowingFeed, b$ as listFeatureAllowlist, c0 as refreshOrcidPublications, c1 as refreshPds, c2 as removeFeatureAllowlist, c3 as removeOrgNotificationEmail, c4 as repoExportUrl, c5 as requestOrgDomainChallenge, c6 as resetProfile, c7 as resolveQuotedPosts, c8 as retractRoadmapVote, c9 as revokeConfirmation, ca as setExternalAccountPrimary, cb as setSectionPrimary, cc as submitOrgClaim, cd as switchAccount, ce as unfollowUser, cf as unhideActivityItem, cg as unhideOrcidPublication, ch as unhideProfileItem, ci as unhideSifaPublication, cj as unhideStandardPublication, ck as unsetExternalAccountPrimary, cl as unsetSectionPrimary, cm as updateExternalAccount, cn as updateOrgProfile, co as updateProfileLocation, cp as updateProfileOverride, cq as updateProfileSelf, cr as updateSkill, cs as updateSkillSubCategories, ct as uploadAvatar, cu as uploadNamePronunciationAudio, cv as verifyExternalAccount, cw as verifyOrgDomain } from '../org-
|
|
6
|
+
import { s as sifaQueryKeys, C as ConfirmEndorsementInput, a as ConfirmEndorsementResult } from '../org-DZZNwznR.cjs';
|
|
7
|
+
export { A as AccountCheckResult, b as AccountSummary, c as ActivityFeedResponse, d as ActivityItem, e as ActivityItemLinkHealth, f as ActivityTeaserResponse, g as AdminReviewQueues, h as AppRegistryEntry, B as BulkHideProfileItemInput, i as CastRoadmapVoteResult, j as CheckAppAccountOptions, k as ConfirmationInput, l as ConfirmationSubjectInput, m as CreateExternalAccountResult, D as DeleteAccountResult, n as DismissUnlinkedPositionInput, E as EndorsementInput, o as ExternalAccountInput, F as FeatureAllowlistResponse, p as FeaturedProfile, q as FetchAccountsOptions, r as FetchActivityFeedOptions, t as FetchActivityTeaserOptions, u as FetchConfirmationsOptions, v as FetchFollowListOptions, w as FetchFollowProfilePageOptions, x as FetchFollowingFeedOptions, y as FetchHiddenActivityItemsOptions, z as FetchHiddenAppsOptions, G as FetchInboxCountsOptions, H as FetchMyGithubPullRequestsOptions, I as FetchMyRoadmapVotesOptions, J as FetchProfileCompletenessOptions, K as FetchReactionStatusOptions, L as FetchSuggestionsOptions, M as FetchUnlinkedPositionsOptions, N as FollowListPage, O as FollowProfile, P as FollowProfilePageResponse, Q as FollowUserResult, R as FollowingFeedApp, S as FollowingFeedBuild, T as FollowingFeedEmptyReason, U as FollowingFeedResponse, V as FollowingFeedVersion, W as FollowingResponse, X as GetAdminReviewQueuesOptions, Y as GithubPullRequest, Z as GivenConfirmation, _ as HIDDEN_ITEM_SOURCES, $ as HIDDEN_ITEM_TYPES, a0 as HeatmapDay, a1 as HeatmapResponse, a2 as HiddenActivityItem, a3 as HiddenApp, a4 as HiddenItemSource, a5 as HiddenItemType, a6 as HideActivityItemInput, a7 as HideProfileItemInput, a8 as InboxCounts, a9 as ListFeatureAllowlistOptions, aa as MyGithubPullRequestsResponse, ab as OrgClaimBinding, ac as OrgClaimResult, ad as OrgDomainChallengeResult, ae as OrgDomainVerifyResult, af as OrgNotificationEmailAddResult, ag as OrgNotificationEmailRemoveResult, ah as OrgProfileEcho, ai as OrgProfileUpdateResult, aj as PROFILE_COMPLETENESS_SIGNALS, ak as PdsWipeOutcome, al as PendingConfirmation, am as PendingConfirmationsPage, an as PrimarySection, ao as ProfileCompleteness, ap as ProfileCompletenessSignal, aq as ProfileIndustryInput, ar as ProfileLocationAddress, as as ProfileLocationInput, at as ProfileSelfLocation, au as QUOTED_POSTS_BATCH_MAX, av as QuotedPostAuthor, aw as QuotedPostImage, ax as QuotedPostResult, ay as QuotedPostView, az as ReactionError, aA as ReactionResult, aB as ReactionStatus, aC as RefreshOrcidPublicationsResult, aD as RefreshPdsResult, aE as RepoDeleteInput, aF as ResetProfileResult, aG as ResolveQuotedPostsOptions, aH as RoadmapVoteError, aI as RoadmapVoteResult, aJ as RoadmapVoter, aK as RoadmapVotesResponse, aL as SifaQueryKey, aM as SimilarProfile, aN as StatsResponse, aO as SubCategoryBulkResult, aP as SuggestionProfile, aQ as SuggestionsResponse, aR as UnhideActivityItemInput, aS as UnlinkedPosition, aT as UnlinkedPositionsResult, aU as UpdateProfileOverrideInput, aV as UpdateProfileSelfInput, aW as UploadAvatarResult, aX as UploadPronunciationAudioResult, aY as VerifyExternalAccountResult, aZ as WipePreview, a_ as addFeatureAllowlist, a$ as addOrgNotificationEmail, b0 as bulkHideProfileItems, b1 as bulkHideStandardPublications, b2 as bulkUnhideProfileItems, b3 as bulkUnhideStandardPublications, b4 as castRoadmapVote, b5 as checkAppAccount, b6 as confirmEndorsement, b7 as createConfirmation, b8 as createEndorsement, b9 as createExternalAccount, ba as createProfileLocation, bb as createReaction, bc as createSkill, bd as deleteAccount, be as deleteAvatarOverride, bf as deleteExternalAccount, bg as deleteNamePronunciationAudio, bh as deleteProfileLocation, bi as deleteReaction, bj as deleteRepoRecords, bk as deleteSkill, bl as dismissConfirmation, bm as dismissUnlinkedPosition, bn as fetchAccounts, bo as fetchActivityFeed, bp as fetchActivityTeaser, bq as fetchAppsRegistry, br as fetchExternalAccounts, bs as fetchFeaturedProfile, bt as fetchFollowing, bu as fetchFollowingFeed, bv as fetchFollowingFeedVersion, bw as fetchGivenConfirmations, bx as fetchHeatmapData, by as fetchHiddenActivityItems, bz as fetchHiddenApps, bA as fetchInboxCounts, bB as fetchMyGithubPullRequests, bC as fetchMyRoadmapVotes, bD as fetchPendingConfirmations, bE as fetchProfileCompleteness, bF as fetchReactionStatus, bG as fetchRepoInventory, bH as fetchRoadmapVotes, bI as fetchSimilarProfiles, bJ as fetchStats, bK as fetchSuggestionCount, bL as fetchSuggestions, bM as fetchUnlinkedPositions, bN as fetchViewerPositionConfirmations, bO as fetchWipePreview, bP as followUser, bQ as getAdminReviewQueues, bR as getBlueskySuggestions, bS as getFollowers, bT as getFollowing, bU as getMutuals, bV as hideActivityItem, bW as hideOrcidPublication, bX as hideProfileItem, bY as hideSifaPublication, bZ as hideStandardPublication, b_ as isNewerFollowingFeed, b$ as listFeatureAllowlist, c0 as refreshOrcidPublications, c1 as refreshPds, c2 as removeFeatureAllowlist, c3 as removeOrgNotificationEmail, c4 as repoExportUrl, c5 as requestOrgDomainChallenge, c6 as resetProfile, c7 as resolveQuotedPosts, c8 as retractRoadmapVote, c9 as revokeConfirmation, ca as setExternalAccountPrimary, cb as setSectionPrimary, cc as submitOrgClaim, cd as switchAccount, ce as unfollowUser, cf as unhideActivityItem, cg as unhideOrcidPublication, ch as unhideProfileItem, ci as unhideSifaPublication, cj as unhideStandardPublication, ck as unsetExternalAccountPrimary, cl as unsetSectionPrimary, cm as updateExternalAccount, cn as updateOrgProfile, co as updateProfileLocation, cp as updateProfileOverride, cq as updateProfileSelf, cr as updateSkill, cs as updateSkillSubCategories, ct as uploadAvatar, cu as uploadNamePronunciationAudio, cv as verifyExternalAccount, cw as verifyOrgDomain } from '../org-DZZNwznR.cjs';
|
|
8
8
|
import { C as CoSpeaker, m as ActorCard } from '../index-syVBnrbI.cjs';
|
|
9
9
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
10
10
|
import { UseQueryOptions, UseMutationOptions } from '@tanstack/react-query';
|
package/dist/query/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { K as SifaApiConfig, M as ApiFetchOptions, N as CreateResult, W as WriteResult, c as AdultContentLabel } from '../types-Jb4KKbn9.js';
|
|
2
2
|
export { O as ApiError, Q as FilterOptions, T as ProfileSearchResult, U as ProfileSearchSuggestion, S as SearchFilters, X as SearchResponse, Y as SkillSearchResult, Z as apiFetch, _ as apiFetchOrNull, $ as apiWrite, a0 as apiWriteCreate, a1 as fetchSearchFilters, a2 as fetchSearchProfiles, a3 as fetchSkillSuggestions, a4 as searchSkills } from '../types-Jb4KKbn9.js';
|
|
3
|
-
export { A as AddFeatureAllowlistVariables, C as CreateReactionVariables, a as CreateRecordVariables, D as DeleteReactionVariables, b as DeleteRecordVariables, F as FollowVariables, P as PositionSkillLinkVariables, R as RemoveFeatureAllowlistVariables, S as SifaProvider,
|
|
3
|
+
export { A as AddFeatureAllowlistVariables, C as CreateReactionVariables, a as CreateRecordVariables, D as DeleteReactionVariables, b as DeleteRecordVariables, F as FetchVerificationLogOptions, c as FollowVariables, P as PositionSkillLinkVariables, R as RemoveFeatureAllowlistVariables, S as SifaProvider, d as SifaProviderProps, U as UnfollowVariables, e as UpdateEducationVariables, f as UpdateExternalAccountVariables, g as UpdatePositionVariables, h as UpdateProfileLocationVariables, i as UpdateRecordVariables, j as UpdateSkillSubCategoriesVariables, k as UpdateSkillVariables, l as UseEntitySearchOptions, m as UseMyGithubPullRequestsParams, V as VERIFICATION_EVENT_KINDS, n as VerificationEventKind, o as VerificationLog, p as VerificationLogEntry, q as VerificationLogEntrySchema, r as VerificationLogSchema, s as fetchVerificationLog, u as useAccounts, t as useActivityFeed, v as useActivityTeaser, w as useAddFeatureAllowlist, x as useAddOrgNotificationEmail, y as useAdminReviewQueues, z as useAppAccountCheck, B as useAppsRegistry, E as useAtFundLink, G as useBlueskySuggestions, H as useBulkHideProfileItems, I as useBulkHideStandardPublications, J as useBulkUnhideProfileItems, K as useBulkUnhideStandardPublications, L as useCanonicalSkillSearch, M as useCastRoadmapVote, N as useCreateConfirmation, O as useCreateEducation, Q as useCreateEndorsement, T as useCreateExternalAccount, W as useCreatePosition, X as useCreateProfileLocation, Y as useCreateReaction, Z as useCreateRecord, _ as useCreateSkill, $ as useDebouncedValue, a0 as useDeleteAccount, a1 as useDeleteAvatarOverride, a2 as useDeleteEducation, a3 as useDeleteExternalAccount, a4 as useDeleteNamePronunciationAudio, a5 as useDeletePosition, a6 as useDeleteProfileLocation, a7 as useDeleteReaction, a8 as useDeleteRecord, a9 as useDeleteRepoRecords, aa as useDeleteSkill, ab as useDismissConfirmation, ac as useDismissUnlinkedPosition, ad as useEndorsementCount, ae as useEntitySearch, af as useExternalAccounts, ag as useFeatureAllowlist, ah as useFeaturedProfile, ai as useFollow, aj as useFollowers, ak as useFollowing, al as useFollowingFeed, am as useFollowingFeedVersion, an as useFollowingList, ao as useGetProfileView, ap as useGivenConfirmations, aq as useHeatmapData, ar as useHiddenActivityItems, as as useHiddenApps, at as useHideActivityItem, au as useHideKeytraceClaim, av as useHideOrcidPublication, aw as useHideProfileItem, ax as useHideSifaPublication, ay as useHideStandardPublication, az as useImportSearchEntities, aA as useInboxCounts, aB as useLinkSkillToPosition, aC as useMintEntityDomain, aD as useMutuals, aE as useMyGithubPullRequests, aF as useMyRoadmapVotes, aG as useNetworkStreamCount, aH as useOrgClaim, aI as useOrgDomainChallenge, aJ as useOrgDomainVerify, aK as useOrgProfile, aL as usePendingConfirmations, aM as useProfile, aN as useProfileCompleteness, aO as useReactionStatus, aP as useRefreshOrcidPublications, aQ as useRefreshPds, aR as useRemoveFeatureAllowlist, aS as useRemoveOrgNotificationEmail, aT as useRepoInventory, aU as useResetProfile, aV as useResolveEntityDomain, aW as useRetractRoadmapVote, aX as useRevealMarqueDomain, aY as useRevokeConfirmation, aZ as useRoadmapVotes, a_ as useSearchFilters, a$ as useSearchProfiles, b0 as useSelectEntity, b1 as useSetExternalAccountPrimary, b2 as useSetPositionPrimary, b3 as useSetSectionPrimary, b4 as useSifaConfig, b5 as useSimilarProfiles, b6 as useSkillSuggestions, b7 as useStats, b8 as useSuggestionCount, b9 as useSuggestions, ba as useUnfollow, bb as useUnhideActivityItem, bc as useUnhideKeytraceClaim, bd as useUnhideOrcidPublication, be as useUnhideProfileItem, bf as useUnhideSifaPublication, bg as useUnhideStandardPublication, bh as useUnlinkSkillFromPosition, bi as useUnlinkedPositions, bj as useUnrevealMarqueDomain, bk as useUnsetExternalAccountPrimary, bl as useUnsetPositionPrimary, bm as useUnsetSectionPrimary, bn as useUpdateEducation, bo as useUpdateExternalAccount, bp as useUpdateOrgProfile, bq as useUpdatePosition, br as useUpdateProfileLocation, bs as useUpdateProfileOverride, bt as useUpdateProfileSelf, bu as useUpdateRecord, bv as useUpdateSkill, bw as useUpdateSkillSubCategories, bx as useUploadAvatar, by as useUploadNamePronunciationAudio, bz as useVerificationLog, bA as useVerifyExternalAccount, bB as useWipePreview } from '../use-org-notification-emails-BKXLY0Nx.js';
|
|
4
4
|
import { R as ReceivedEndorsementsPage, a as ReciprocityCandidate, D as DismissEndorsementInput, P as PendingEndorsementsPage } from '../network-map-Af1MVn5j.js';
|
|
5
5
|
export { F as FetchNetworkStreamCountOptions, b as FetchPendingEndorsementsOptions, c as FetchRpgStatusOptions, N as NetworkMapEdge, d as NetworkMapGenerationJob, e as NetworkMapGraphData, f as NetworkMapNode, g as NetworkMapPendingJob, h as NetworkMapResponse, i as PendingEndorsement, j as ReceivedEndorsement, k as ReciprocitySkill, l as RpgItemStatus, m as RpgItemStatusSchema, n as RpgStatusResponse, o as RpgStatusResponseSchema, S as SpeakerCard, p as SpeakerDirectoryFilters, q as SpeakerGroup, r as SpeakersResponse, T as TalkEvent, s as TalkRow, t as TalkSpeaker, u as TalksResponse, v as checkNetworkMapJobStatus, w as createEducation, x as createPosition, y as createRecord, z as deleteEducation, A as deletePosition, B as deleteRecord, C as dismissEndorsement, E as fetchAtFundLink, G as fetchEndorsementCount, H as fetchEntitySearch, I as fetchGetProfileView, J as fetchNetworkMap, K as fetchNetworkStreamCount, L as fetchPendingEndorsements, M as fetchProfile, O as fetchProfileSummary, Q as fetchReceivedEndorsements, U as fetchReciprocityCandidate, V as fetchRpgStatus, W as fetchSpeakers, X as fetchTalks, Y as hideKeytraceClaim, Z as importSearchEntities, _ as initiateNetworkMapGeneration, $ as isNetworkMapResponse, a0 as linkSkillToPosition, a1 as mintEntityDomain, a2 as resolveEntityDomain, a3 as revealMarqueDomain, a4 as selectEntity, a5 as setPositionPrimary, a6 as unhideKeytraceClaim, a7 as unlinkSkillFromPosition, a8 as unrevealMarqueDomain, a9 as unsetPositionPrimary, aa as updateEducation, ab as updatePosition, ac as updateRecord } from '../network-map-Af1MVn5j.js';
|
|
6
|
-
import { s as sifaQueryKeys, C as ConfirmEndorsementInput, a as ConfirmEndorsementResult } from '../org
|
|
7
|
-
export { A as AccountCheckResult, b as AccountSummary, c as ActivityFeedResponse, d as ActivityItem, e as ActivityItemLinkHealth, f as ActivityTeaserResponse, g as AdminReviewQueues, h as AppRegistryEntry, B as BulkHideProfileItemInput, i as CastRoadmapVoteResult, j as CheckAppAccountOptions, k as ConfirmationInput, l as ConfirmationSubjectInput, m as CreateExternalAccountResult, D as DeleteAccountResult, n as DismissUnlinkedPositionInput, E as EndorsementInput, o as ExternalAccountInput, F as FeatureAllowlistResponse, p as FeaturedProfile, q as FetchAccountsOptions, r as FetchActivityFeedOptions, t as FetchActivityTeaserOptions, u as FetchConfirmationsOptions, v as FetchFollowListOptions, w as FetchFollowProfilePageOptions, x as FetchFollowingFeedOptions, y as FetchHiddenActivityItemsOptions, z as FetchHiddenAppsOptions, G as FetchInboxCountsOptions, H as FetchMyGithubPullRequestsOptions, I as FetchMyRoadmapVotesOptions, J as FetchProfileCompletenessOptions, K as FetchReactionStatusOptions, L as FetchSuggestionsOptions, M as FetchUnlinkedPositionsOptions, N as FollowListPage, O as FollowProfile, P as FollowProfilePageResponse, Q as FollowUserResult, R as FollowingFeedApp, S as FollowingFeedBuild, T as FollowingFeedEmptyReason, U as FollowingFeedResponse, V as FollowingFeedVersion, W as FollowingResponse, X as GetAdminReviewQueuesOptions, Y as GithubPullRequest, Z as GivenConfirmation, _ as HIDDEN_ITEM_SOURCES, $ as HIDDEN_ITEM_TYPES, a0 as HeatmapDay, a1 as HeatmapResponse, a2 as HiddenActivityItem, a3 as HiddenApp, a4 as HiddenItemSource, a5 as HiddenItemType, a6 as HideActivityItemInput, a7 as HideProfileItemInput, a8 as InboxCounts, a9 as ListFeatureAllowlistOptions, aa as MyGithubPullRequestsResponse, ab as OrgClaimBinding, ac as OrgClaimResult, ad as OrgDomainChallengeResult, ae as OrgDomainVerifyResult, af as OrgNotificationEmailAddResult, ag as OrgNotificationEmailRemoveResult, ah as OrgProfileEcho, ai as OrgProfileUpdateResult, aj as PROFILE_COMPLETENESS_SIGNALS, ak as PdsWipeOutcome, al as PendingConfirmation, am as PendingConfirmationsPage, an as PrimarySection, ao as ProfileCompleteness, ap as ProfileCompletenessSignal, aq as ProfileIndustryInput, ar as ProfileLocationAddress, as as ProfileLocationInput, at as ProfileSelfLocation, au as QUOTED_POSTS_BATCH_MAX, av as QuotedPostAuthor, aw as QuotedPostImage, ax as QuotedPostResult, ay as QuotedPostView, az as ReactionError, aA as ReactionResult, aB as ReactionStatus, aC as RefreshOrcidPublicationsResult, aD as RefreshPdsResult, aE as RepoDeleteInput, aF as ResetProfileResult, aG as ResolveQuotedPostsOptions, aH as RoadmapVoteError, aI as RoadmapVoteResult, aJ as RoadmapVoter, aK as RoadmapVotesResponse, aL as SifaQueryKey, aM as SimilarProfile, aN as StatsResponse, aO as SubCategoryBulkResult, aP as SuggestionProfile, aQ as SuggestionsResponse, aR as UnhideActivityItemInput, aS as UnlinkedPosition, aT as UnlinkedPositionsResult, aU as UpdateProfileOverrideInput, aV as UpdateProfileSelfInput, aW as UploadAvatarResult, aX as UploadPronunciationAudioResult, aY as VerifyExternalAccountResult, aZ as WipePreview, a_ as addFeatureAllowlist, a$ as addOrgNotificationEmail, b0 as bulkHideProfileItems, b1 as bulkHideStandardPublications, b2 as bulkUnhideProfileItems, b3 as bulkUnhideStandardPublications, b4 as castRoadmapVote, b5 as checkAppAccount, b6 as confirmEndorsement, b7 as createConfirmation, b8 as createEndorsement, b9 as createExternalAccount, ba as createProfileLocation, bb as createReaction, bc as createSkill, bd as deleteAccount, be as deleteAvatarOverride, bf as deleteExternalAccount, bg as deleteNamePronunciationAudio, bh as deleteProfileLocation, bi as deleteReaction, bj as deleteRepoRecords, bk as deleteSkill, bl as dismissConfirmation, bm as dismissUnlinkedPosition, bn as fetchAccounts, bo as fetchActivityFeed, bp as fetchActivityTeaser, bq as fetchAppsRegistry, br as fetchExternalAccounts, bs as fetchFeaturedProfile, bt as fetchFollowing, bu as fetchFollowingFeed, bv as fetchFollowingFeedVersion, bw as fetchGivenConfirmations, bx as fetchHeatmapData, by as fetchHiddenActivityItems, bz as fetchHiddenApps, bA as fetchInboxCounts, bB as fetchMyGithubPullRequests, bC as fetchMyRoadmapVotes, bD as fetchPendingConfirmations, bE as fetchProfileCompleteness, bF as fetchReactionStatus, bG as fetchRepoInventory, bH as fetchRoadmapVotes, bI as fetchSimilarProfiles, bJ as fetchStats, bK as fetchSuggestionCount, bL as fetchSuggestions, bM as fetchUnlinkedPositions, bN as fetchViewerPositionConfirmations, bO as fetchWipePreview, bP as followUser, bQ as getAdminReviewQueues, bR as getBlueskySuggestions, bS as getFollowers, bT as getFollowing, bU as getMutuals, bV as hideActivityItem, bW as hideOrcidPublication, bX as hideProfileItem, bY as hideSifaPublication, bZ as hideStandardPublication, b_ as isNewerFollowingFeed, b$ as listFeatureAllowlist, c0 as refreshOrcidPublications, c1 as refreshPds, c2 as removeFeatureAllowlist, c3 as removeOrgNotificationEmail, c4 as repoExportUrl, c5 as requestOrgDomainChallenge, c6 as resetProfile, c7 as resolveQuotedPosts, c8 as retractRoadmapVote, c9 as revokeConfirmation, ca as setExternalAccountPrimary, cb as setSectionPrimary, cc as submitOrgClaim, cd as switchAccount, ce as unfollowUser, cf as unhideActivityItem, cg as unhideOrcidPublication, ch as unhideProfileItem, ci as unhideSifaPublication, cj as unhideStandardPublication, ck as unsetExternalAccountPrimary, cl as unsetSectionPrimary, cm as updateExternalAccount, cn as updateOrgProfile, co as updateProfileLocation, cp as updateProfileOverride, cq as updateProfileSelf, cr as updateSkill, cs as updateSkillSubCategories, ct as uploadAvatar, cu as uploadNamePronunciationAudio, cv as verifyExternalAccount, cw as verifyOrgDomain } from '../org
|
|
6
|
+
import { s as sifaQueryKeys, C as ConfirmEndorsementInput, a as ConfirmEndorsementResult } from '../org-BmKMu2h9.js';
|
|
7
|
+
export { A as AccountCheckResult, b as AccountSummary, c as ActivityFeedResponse, d as ActivityItem, e as ActivityItemLinkHealth, f as ActivityTeaserResponse, g as AdminReviewQueues, h as AppRegistryEntry, B as BulkHideProfileItemInput, i as CastRoadmapVoteResult, j as CheckAppAccountOptions, k as ConfirmationInput, l as ConfirmationSubjectInput, m as CreateExternalAccountResult, D as DeleteAccountResult, n as DismissUnlinkedPositionInput, E as EndorsementInput, o as ExternalAccountInput, F as FeatureAllowlistResponse, p as FeaturedProfile, q as FetchAccountsOptions, r as FetchActivityFeedOptions, t as FetchActivityTeaserOptions, u as FetchConfirmationsOptions, v as FetchFollowListOptions, w as FetchFollowProfilePageOptions, x as FetchFollowingFeedOptions, y as FetchHiddenActivityItemsOptions, z as FetchHiddenAppsOptions, G as FetchInboxCountsOptions, H as FetchMyGithubPullRequestsOptions, I as FetchMyRoadmapVotesOptions, J as FetchProfileCompletenessOptions, K as FetchReactionStatusOptions, L as FetchSuggestionsOptions, M as FetchUnlinkedPositionsOptions, N as FollowListPage, O as FollowProfile, P as FollowProfilePageResponse, Q as FollowUserResult, R as FollowingFeedApp, S as FollowingFeedBuild, T as FollowingFeedEmptyReason, U as FollowingFeedResponse, V as FollowingFeedVersion, W as FollowingResponse, X as GetAdminReviewQueuesOptions, Y as GithubPullRequest, Z as GivenConfirmation, _ as HIDDEN_ITEM_SOURCES, $ as HIDDEN_ITEM_TYPES, a0 as HeatmapDay, a1 as HeatmapResponse, a2 as HiddenActivityItem, a3 as HiddenApp, a4 as HiddenItemSource, a5 as HiddenItemType, a6 as HideActivityItemInput, a7 as HideProfileItemInput, a8 as InboxCounts, a9 as ListFeatureAllowlistOptions, aa as MyGithubPullRequestsResponse, ab as OrgClaimBinding, ac as OrgClaimResult, ad as OrgDomainChallengeResult, ae as OrgDomainVerifyResult, af as OrgNotificationEmailAddResult, ag as OrgNotificationEmailRemoveResult, ah as OrgProfileEcho, ai as OrgProfileUpdateResult, aj as PROFILE_COMPLETENESS_SIGNALS, ak as PdsWipeOutcome, al as PendingConfirmation, am as PendingConfirmationsPage, an as PrimarySection, ao as ProfileCompleteness, ap as ProfileCompletenessSignal, aq as ProfileIndustryInput, ar as ProfileLocationAddress, as as ProfileLocationInput, at as ProfileSelfLocation, au as QUOTED_POSTS_BATCH_MAX, av as QuotedPostAuthor, aw as QuotedPostImage, ax as QuotedPostResult, ay as QuotedPostView, az as ReactionError, aA as ReactionResult, aB as ReactionStatus, aC as RefreshOrcidPublicationsResult, aD as RefreshPdsResult, aE as RepoDeleteInput, aF as ResetProfileResult, aG as ResolveQuotedPostsOptions, aH as RoadmapVoteError, aI as RoadmapVoteResult, aJ as RoadmapVoter, aK as RoadmapVotesResponse, aL as SifaQueryKey, aM as SimilarProfile, aN as StatsResponse, aO as SubCategoryBulkResult, aP as SuggestionProfile, aQ as SuggestionsResponse, aR as UnhideActivityItemInput, aS as UnlinkedPosition, aT as UnlinkedPositionsResult, aU as UpdateProfileOverrideInput, aV as UpdateProfileSelfInput, aW as UploadAvatarResult, aX as UploadPronunciationAudioResult, aY as VerifyExternalAccountResult, aZ as WipePreview, a_ as addFeatureAllowlist, a$ as addOrgNotificationEmail, b0 as bulkHideProfileItems, b1 as bulkHideStandardPublications, b2 as bulkUnhideProfileItems, b3 as bulkUnhideStandardPublications, b4 as castRoadmapVote, b5 as checkAppAccount, b6 as confirmEndorsement, b7 as createConfirmation, b8 as createEndorsement, b9 as createExternalAccount, ba as createProfileLocation, bb as createReaction, bc as createSkill, bd as deleteAccount, be as deleteAvatarOverride, bf as deleteExternalAccount, bg as deleteNamePronunciationAudio, bh as deleteProfileLocation, bi as deleteReaction, bj as deleteRepoRecords, bk as deleteSkill, bl as dismissConfirmation, bm as dismissUnlinkedPosition, bn as fetchAccounts, bo as fetchActivityFeed, bp as fetchActivityTeaser, bq as fetchAppsRegistry, br as fetchExternalAccounts, bs as fetchFeaturedProfile, bt as fetchFollowing, bu as fetchFollowingFeed, bv as fetchFollowingFeedVersion, bw as fetchGivenConfirmations, bx as fetchHeatmapData, by as fetchHiddenActivityItems, bz as fetchHiddenApps, bA as fetchInboxCounts, bB as fetchMyGithubPullRequests, bC as fetchMyRoadmapVotes, bD as fetchPendingConfirmations, bE as fetchProfileCompleteness, bF as fetchReactionStatus, bG as fetchRepoInventory, bH as fetchRoadmapVotes, bI as fetchSimilarProfiles, bJ as fetchStats, bK as fetchSuggestionCount, bL as fetchSuggestions, bM as fetchUnlinkedPositions, bN as fetchViewerPositionConfirmations, bO as fetchWipePreview, bP as followUser, bQ as getAdminReviewQueues, bR as getBlueskySuggestions, bS as getFollowers, bT as getFollowing, bU as getMutuals, bV as hideActivityItem, bW as hideOrcidPublication, bX as hideProfileItem, bY as hideSifaPublication, bZ as hideStandardPublication, b_ as isNewerFollowingFeed, b$ as listFeatureAllowlist, c0 as refreshOrcidPublications, c1 as refreshPds, c2 as removeFeatureAllowlist, c3 as removeOrgNotificationEmail, c4 as repoExportUrl, c5 as requestOrgDomainChallenge, c6 as resetProfile, c7 as resolveQuotedPosts, c8 as retractRoadmapVote, c9 as revokeConfirmation, ca as setExternalAccountPrimary, cb as setSectionPrimary, cc as submitOrgClaim, cd as switchAccount, ce as unfollowUser, cf as unhideActivityItem, cg as unhideOrcidPublication, ch as unhideProfileItem, ci as unhideSifaPublication, cj as unhideStandardPublication, ck as unsetExternalAccountPrimary, cl as unsetSectionPrimary, cm as updateExternalAccount, cn as updateOrgProfile, co as updateProfileLocation, cp as updateProfileOverride, cq as updateProfileSelf, cr as updateSkill, cs as updateSkillSubCategories, ct as uploadAvatar, cu as uploadNamePronunciationAudio, cv as verifyExternalAccount, cw as verifyOrgDomain } from '../org-BmKMu2h9.js';
|
|
8
8
|
import { C as CoSpeaker, m as ActorCard } from '../index-IeuOpcIB.js';
|
|
9
9
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
10
10
|
import { UseQueryOptions, UseMutationOptions } from '@tanstack/react-query';
|
package/dist/query/index.js
CHANGED
|
@@ -76,6 +76,12 @@ import {
|
|
|
76
76
|
dismissConfirmation,
|
|
77
77
|
revokeConfirmation
|
|
78
78
|
} from "./fetchers/confirmations.js";
|
|
79
|
+
import {
|
|
80
|
+
fetchVerificationLog,
|
|
81
|
+
VERIFICATION_EVENT_KINDS,
|
|
82
|
+
VerificationLogEntrySchema,
|
|
83
|
+
VerificationLogSchema
|
|
84
|
+
} from "./fetchers/verification.js";
|
|
79
85
|
import {
|
|
80
86
|
fetchInboxCounts
|
|
81
87
|
} from "./fetchers/inbox.js";
|
|
@@ -285,6 +291,7 @@ import {
|
|
|
285
291
|
useRevokeConfirmation
|
|
286
292
|
} from "./hooks/use-confirmations.js";
|
|
287
293
|
import { useInboxCounts } from "./hooks/use-inbox.js";
|
|
294
|
+
import { useVerificationLog } from "./hooks/use-verification.js";
|
|
288
295
|
import {
|
|
289
296
|
useUnlinkedPositions,
|
|
290
297
|
useDismissUnlinkedPosition
|
|
@@ -404,6 +411,9 @@ export {
|
|
|
404
411
|
RpgItemStatusSchema,
|
|
405
412
|
RpgStatusResponseSchema,
|
|
406
413
|
SifaProvider,
|
|
414
|
+
VERIFICATION_EVENT_KINDS,
|
|
415
|
+
VerificationLogEntrySchema,
|
|
416
|
+
VerificationLogSchema,
|
|
407
417
|
addFeatureAllowlist,
|
|
408
418
|
addOrgNotificationEmail,
|
|
409
419
|
apiFetch,
|
|
@@ -488,6 +498,7 @@ export {
|
|
|
488
498
|
fetchTalks,
|
|
489
499
|
fetchTypeaheadActors,
|
|
490
500
|
fetchUnlinkedPositions,
|
|
501
|
+
fetchVerificationLog,
|
|
491
502
|
fetchViewerPositionConfirmations,
|
|
492
503
|
fetchWipePreview,
|
|
493
504
|
followUser,
|
|
@@ -687,6 +698,7 @@ export {
|
|
|
687
698
|
useUpdateSkillSubCategories,
|
|
688
699
|
useUploadAvatar,
|
|
689
700
|
useUploadNamePronunciationAudio,
|
|
701
|
+
useVerificationLog,
|
|
690
702
|
useVerifyExternalAccount,
|
|
691
703
|
useWipePreview,
|
|
692
704
|
verifyExternalAccount,
|
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 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 PROFILE_COMPLETENESS_SIGNALS,\n type ProfileCompleteness,\n type ProfileCompletenessSignal,\n type FetchProfileCompletenessOptions,\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 { 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 RpgItemStatusSchema,\n RpgStatusResponseSchema,\n type RpgItemStatus,\n type RpgStatusResponse,\n type FetchRpgStatusOptions,\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 {\n useUnlinkedPositions,\n useDismissUnlinkedPosition,\n} from './hooks/use-unlinked-positions.js';\nexport { useProfileCompleteness } from './hooks/use-profile-completeness.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 { 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 { 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,OAI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,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,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 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 PROFILE_COMPLETENESS_SIGNALS,\n type ProfileCompleteness,\n type ProfileCompletenessSignal,\n type FetchProfileCompletenessOptions,\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 { 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 RpgItemStatusSchema,\n RpgStatusResponseSchema,\n type RpgItemStatus,\n type RpgStatusResponse,\n type FetchRpgStatusOptions,\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 useUnlinkedPositions,\n useDismissUnlinkedPosition,\n} from './hooks/use-unlinked-positions.js';\nexport { useProfileCompleteness } from './hooks/use-profile-completeness.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 { 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 { 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;AAAA,OAGK;AACP;AAAA,EACE;AAAA,OAGK;AACP;AAAA,EACE;AAAA,EACA;AAAA,OAKK;AACP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAOK;AACP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA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K;AAEP,SAAS,qBAAwC;","names":[]}
|
package/dist/query/keys.js
CHANGED
|
@@ -106,6 +106,11 @@ var sifaQueryKeys = {
|
|
|
106
106
|
/** Confirmations this session has given, for the withdraw surface. */
|
|
107
107
|
given: () => ["sifa", "confirmation", "given"]
|
|
108
108
|
},
|
|
109
|
+
verification: {
|
|
110
|
+
all: () => ["sifa", "verification"],
|
|
111
|
+
/** The append-only verification log of one position. */
|
|
112
|
+
log: (did, positionRkey) => ["sifa", "verification", "log", did, positionRkey]
|
|
113
|
+
},
|
|
109
114
|
stream: {
|
|
110
115
|
all: () => ["sifa", "stream"],
|
|
111
116
|
networkCount: (did) => ["sifa", "stream", "network-count", did]
|
package/dist/query/keys.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/query/keys.ts"],"sourcesContent":["/**\n * Query key factory for TanStack Query.\n *\n * Keys are read-only tuples; the hierarchy matches the SDK's fetcher\n * grouping. Use these instead of inline arrays so consumers can target\n * `queryClient.invalidateQueries({ queryKey: keys.profile.all() })` and\n * similar patterns without typos.\n *\n * Convention: every leaf key starts with the namespace ('sifa') so\n * consumers can invalidate everything Sifa-related in one call.\n */\nexport const sifaQueryKeys = {\n all: () => ['sifa'] as const,\n\n profile: {\n all: () => ['sifa', 'profile'] as const,\n byHandle: (handleOrDid: string) => ['sifa', 'profile', handleOrDid] as const,\n atFundLink: (did: string) => ['sifa', 'profile', 'at-fund-link', did] as const,\n view: (actor: string) => ['sifa', 'profile', 'view', actor] as const,\n externalAccounts: (handleOrDid: string) =>\n ['sifa', 'profile', 'external-accounts', handleOrDid] as const,\n // Session-scoped: the AppView reads the owner from the session cookie, so\n // there is only ever one completeness result per client.\n completeness: () => ['sifa', 'profile', 'completeness'] as const,\n },\n\n position: {\n all: () => ['sifa', 'position'] as const,\n byOwner: (did: string) => ['sifa', 'position', 'by-owner', did] as const,\n // Session-scoped: the AppView reads the owner from the session cookie.\n unlinked: () => ['sifa', 'position', 'unlinked'] as const,\n },\n\n // Aggregate inbox counts for the header bell badge (session-scoped). The first\n // aggregate namespace: it fans in across confirmations, endorsements, drift,\n // unlinked positions and profile completeness on the server.\n inbox: {\n all: () => ['sifa', 'inbox'] as const,\n counts: () => ['sifa', 'inbox', 'counts'] as const,\n },\n\n search: {\n all: () => ['sifa', 'search'] as const,\n profiles: (filters: Record<string, unknown>) =>\n ['sifa', 'search', 'profiles', filters] as const,\n companies: (filters: Record<string, unknown>) =>\n ['sifa', 'search', 'companies', filters] as const,\n skills: (query: string) => ['sifa', 'search', 'skills', query] as const,\n canonicalSkills: (query: string, limit: number) =>\n ['sifa', 'search', 'canonical-skills', query, limit] as const,\n filters: () => ['sifa', 'search', 'filters'] as const,\n },\n\n entity: {\n all: () => ['sifa', 'entity'] as const,\n search: (query: string, limit: number) => ['sifa', 'entity', 'search', query, limit] as const,\n },\n\n discovery: {\n all: () => ['sifa', 'discovery'] as const,\n similar: (did: string, limit: number) => ['sifa', 'discovery', 'similar', did, limit] as const,\n suggestions: (opts: Record<string, unknown>) =>\n ['sifa', 'discovery', 'suggestions', opts] as const,\n suggestionCount: (since: string | undefined) =>\n ['sifa', 'discovery', 'suggestion-count', since ?? null] as const,\n featured: () => ['sifa', 'discovery', 'featured'] as const,\n },\n\n follow: {\n all: () => ['sifa', 'follow'] as const,\n following: (opts: Record<string, unknown>) => ['sifa', 'follow', 'following', opts] as const,\n followers: (handle: string) => ['sifa', 'follow', 'followers', handle] as const,\n followingOf: (handle: string) => ['sifa', 'follow', 'following-of', handle] as const,\n feed: (opts: Record<string, unknown>) => ['sifa', 'follow', 'feed', opts] as const,\n feedVersion: (opts: Record<string, unknown>) =>\n ['sifa', 'follow', 'feed-version', opts] as const,\n mutuals: (handle: string) => ['sifa', 'follow', 'mutuals', handle] as const,\n blueskySuggestions: () => ['sifa', 'follow', 'bluesky-suggestions'] as const,\n },\n\n admin: {\n all: () => ['sifa', 'admin'] as const,\n featureAllowlist: (flag: string) => ['sifa', 'admin', 'feature-allowlist', flag] as const,\n reviewQueues: () => ['sifa', 'admin', 'review-queues'] as const,\n },\n\n stats: {\n all: () => ['sifa', 'stats'] as const,\n homepage: () => ['sifa', 'stats', 'homepage'] as const,\n },\n\n apps: {\n all: () => ['sifa', 'apps'] as const,\n registry: () => ['sifa', 'apps', 'registry'] as const,\n hidden: () => ['sifa', 'apps', 'hidden'] as const,\n },\n\n auth: {\n all: () => ['sifa', 'auth'] as const,\n // Session-scoped: the AppView reads the account list from the browser's\n // cookies, so there is only ever one list per client.\n accounts: () => ['sifa', 'auth', 'accounts'] as const,\n },\n\n activity: {\n all: () => ['sifa', 'activity'] as const,\n heatmap: (handleOrDid: string, days: number) =>\n ['sifa', 'activity', 'heatmap', handleOrDid, days] as const,\n teaser: (handleOrDid: string) => ['sifa', 'activity', 'teaser', handleOrDid] as const,\n feed: (handleOrDid: string, opts: Record<string, unknown>) =>\n ['sifa', 'activity', 'feed', handleOrDid, opts] as const,\n // Session-scoped: the AppView reads the caller's own hides from their\n // cookie, so there is only ever one list per client.\n hiddenItems: () => ['sifa', 'activity', 'hidden-items'] as const,\n },\n\n github: {\n all: () => ['sifa', 'github'] as const,\n myPullRequests: (opts: { limit?: number; offset?: number }) =>\n ['sifa', 'github', 'my-pull-requests', opts] as const,\n },\n\n endorsement: {\n all: () => ['sifa', 'endorsement'] as const,\n count: (did: string) => ['sifa', 'endorsement', 'count', did] as const,\n // Scoped to the session rather than a DID -- the AppView reads the subject\n // from the session cookie, so there is only ever one inbox per client.\n pending: () => ['sifa', 'endorsement', 'pending'] as const,\n // Also session-scoped: the AppView picks the candidate from the viewer's\n // own follows, dismissals and blocks.\n reciprocity: () => ['sifa', 'endorsement', 'reciprocity'] as const,\n received: (did: string) => ['sifa', 'endorsement', 'received', did] as const,\n },\n\n confirmation: {\n all: () => ['sifa', 'confirmation'] as const,\n // Scoped to the session for the same reason as the endorsement inbox: the\n // AppView reads the subject from the session cookie, so there is only ever\n // one inbox per client.\n pending: () => ['sifa', 'confirmation', 'pending'] as const,\n /** Confirmations this session has given, for the withdraw surface. */\n given: () => ['sifa', 'confirmation', 'given'] as const,\n },\n\n stream: {\n all: () => ['sifa', 'stream'] as const,\n networkCount: (did: string) => ['sifa', 'stream', 'network-count', did] as const,\n },\n\n reactions: {\n all: () => ['sifa', 'reactions'] as const,\n status: (uris: string[]) => ['sifa', 'reactions', 'status', uris] as const,\n accountCheck: (appId: string) => ['sifa', 'reactions', 'account-check', appId] as const,\n },\n\n roadmap: {\n all: () => ['sifa', 'roadmap'] as const,\n votes: () => ['sifa', 'roadmap', 'votes'] as const,\n myVotes: () => ['sifa', 'roadmap', 'my-votes'] as const,\n },\n\n bskyPreferences: {\n all: () => ['sifa', 'bsky-preferences'] as const,\n contentLabels: () => ['sifa', 'bsky-preferences', 'content-labels'] as const,\n },\n\n repoInventory: {\n all: () => ['sifa', 'repo-inventory'] as const,\n list: () => ['sifa', 'repo-inventory', 'list'] as const,\n },\n destructive: {\n all: () => ['sifa', 'destructive'] as const,\n wipePreview: () => ['sifa', 'destructive', 'wipe-preview'] as const,\n },\n} as const;\n\nexport type SifaQueryKey =\n | ReturnType<typeof sifaQueryKeys.all>\n | ReturnType<typeof sifaQueryKeys.profile.all>\n | ReturnType<typeof sifaQueryKeys.profile.byHandle>\n | ReturnType<typeof sifaQueryKeys.profile.atFundLink>\n | ReturnType<typeof sifaQueryKeys.profile.externalAccounts>\n | ReturnType<typeof sifaQueryKeys.profile.completeness>\n | ReturnType<typeof sifaQueryKeys.position.all>\n | ReturnType<typeof sifaQueryKeys.position.byOwner>\n | ReturnType<typeof sifaQueryKeys.position.unlinked>\n | ReturnType<typeof sifaQueryKeys.inbox.all>\n | ReturnType<typeof sifaQueryKeys.inbox.counts>\n | ReturnType<typeof sifaQueryKeys.search.all>\n | ReturnType<typeof sifaQueryKeys.search.profiles>\n | ReturnType<typeof sifaQueryKeys.search.canonicalSkills>\n | ReturnType<typeof sifaQueryKeys.search.skills>\n | ReturnType<typeof sifaQueryKeys.search.filters>\n | ReturnType<typeof sifaQueryKeys.entity.all>\n | ReturnType<typeof sifaQueryKeys.entity.search>\n | ReturnType<typeof sifaQueryKeys.discovery.all>\n | ReturnType<typeof sifaQueryKeys.discovery.similar>\n | ReturnType<typeof sifaQueryKeys.discovery.suggestions>\n | ReturnType<typeof sifaQueryKeys.discovery.suggestionCount>\n | ReturnType<typeof sifaQueryKeys.discovery.featured>\n | ReturnType<typeof sifaQueryKeys.follow.all>\n | ReturnType<typeof sifaQueryKeys.follow.following>\n | ReturnType<typeof sifaQueryKeys.follow.followers>\n | ReturnType<typeof sifaQueryKeys.follow.followingOf>\n | ReturnType<typeof sifaQueryKeys.follow.feed>\n | ReturnType<typeof sifaQueryKeys.follow.mutuals>\n | ReturnType<typeof sifaQueryKeys.follow.blueskySuggestions>\n | ReturnType<typeof sifaQueryKeys.admin.all>\n | ReturnType<typeof sifaQueryKeys.admin.featureAllowlist>\n | ReturnType<typeof sifaQueryKeys.admin.reviewQueues>\n | ReturnType<typeof sifaQueryKeys.stats.all>\n | ReturnType<typeof sifaQueryKeys.stats.homepage>\n | ReturnType<typeof sifaQueryKeys.apps.all>\n | ReturnType<typeof sifaQueryKeys.apps.registry>\n | ReturnType<typeof sifaQueryKeys.apps.hidden>\n | ReturnType<typeof sifaQueryKeys.activity.all>\n | ReturnType<typeof sifaQueryKeys.activity.heatmap>\n | ReturnType<typeof sifaQueryKeys.activity.teaser>\n | ReturnType<typeof sifaQueryKeys.activity.feed>\n | ReturnType<typeof sifaQueryKeys.activity.hiddenItems>\n | ReturnType<typeof sifaQueryKeys.endorsement.all>\n | ReturnType<typeof sifaQueryKeys.endorsement.count>\n | ReturnType<typeof sifaQueryKeys.endorsement.pending>\n | ReturnType<typeof sifaQueryKeys.endorsement.reciprocity>\n | ReturnType<typeof sifaQueryKeys.endorsement.received>\n | ReturnType<typeof sifaQueryKeys.confirmation.all>\n | ReturnType<typeof sifaQueryKeys.confirmation.pending>\n | ReturnType<typeof sifaQueryKeys.confirmation.given>\n | ReturnType<typeof sifaQueryKeys.stream.all>\n | ReturnType<typeof sifaQueryKeys.stream.networkCount>\n | ReturnType<typeof sifaQueryKeys.reactions.all>\n | ReturnType<typeof sifaQueryKeys.reactions.status>\n | ReturnType<typeof sifaQueryKeys.reactions.accountCheck>\n | ReturnType<typeof sifaQueryKeys.roadmap.all>\n | ReturnType<typeof sifaQueryKeys.roadmap.votes>\n | ReturnType<typeof sifaQueryKeys.roadmap.myVotes>\n | ReturnType<typeof sifaQueryKeys.bskyPreferences.all>\n | ReturnType<typeof sifaQueryKeys.bskyPreferences.contentLabels>\n | ReturnType<typeof sifaQueryKeys.destructive.all>\n | ReturnType<typeof sifaQueryKeys.destructive.wipePreview>\n | ReturnType<typeof sifaQueryKeys.repoInventory.all>\n | ReturnType<typeof sifaQueryKeys.repoInventory.list>;\n"],"mappings":";AAWO,IAAM,gBAAgB;AAAA,EAC3B,KAAK,MAAM,CAAC,MAAM;AAAA,EAElB,SAAS;AAAA,IACP,KAAK,MAAM,CAAC,QAAQ,SAAS;AAAA,IAC7B,UAAU,CAAC,gBAAwB,CAAC,QAAQ,WAAW,WAAW;AAAA,IAClE,YAAY,CAAC,QAAgB,CAAC,QAAQ,WAAW,gBAAgB,GAAG;AAAA,IACpE,MAAM,CAAC,UAAkB,CAAC,QAAQ,WAAW,QAAQ,KAAK;AAAA,IAC1D,kBAAkB,CAAC,gBACjB,CAAC,QAAQ,WAAW,qBAAqB,WAAW;AAAA;AAAA;AAAA,IAGtD,cAAc,MAAM,CAAC,QAAQ,WAAW,cAAc;AAAA,EACxD;AAAA,EAEA,UAAU;AAAA,IACR,KAAK,MAAM,CAAC,QAAQ,UAAU;AAAA,IAC9B,SAAS,CAAC,QAAgB,CAAC,QAAQ,YAAY,YAAY,GAAG;AAAA;AAAA,IAE9D,UAAU,MAAM,CAAC,QAAQ,YAAY,UAAU;AAAA,EACjD;AAAA;AAAA;AAAA;AAAA,EAKA,OAAO;AAAA,IACL,KAAK,MAAM,CAA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,kBAAkB;AAAA,IACtC,eAAe,MAAM,CAAC,QAAQ,oBAAoB,gBAAgB;AAAA,EACpE;AAAA,EAEA,eAAe;AAAA,IACb,KAAK,MAAM,CAAC,QAAQ,gBAAgB;AAAA,IACpC,MAAM,MAAM,CAAC,QAAQ,kBAAkB,MAAM;AAAA,EAC/C;AAAA,EACA,aAAa;AAAA,IACX,KAAK,MAAM,CAAC,QAAQ,aAAa;AAAA,IACjC,aAAa,MAAM,CAAC,QAAQ,eAAe,cAAc;AAAA,EAC3D;AACF;","names":[]}
|
|
1
|
+
{"version":3,"sources":["../../src/query/keys.ts"],"sourcesContent":["/**\n * Query key factory for TanStack Query.\n *\n * Keys are read-only tuples; the hierarchy matches the SDK's fetcher\n * grouping. Use these instead of inline arrays so consumers can target\n * `queryClient.invalidateQueries({ queryKey: keys.profile.all() })` and\n * similar patterns without typos.\n *\n * Convention: every leaf key starts with the namespace ('sifa') so\n * consumers can invalidate everything Sifa-related in one call.\n */\nexport const sifaQueryKeys = {\n all: () => ['sifa'] as const,\n\n profile: {\n all: () => ['sifa', 'profile'] as const,\n byHandle: (handleOrDid: string) => ['sifa', 'profile', handleOrDid] as const,\n atFundLink: (did: string) => ['sifa', 'profile', 'at-fund-link', did] as const,\n view: (actor: string) => ['sifa', 'profile', 'view', actor] as const,\n externalAccounts: (handleOrDid: string) =>\n ['sifa', 'profile', 'external-accounts', handleOrDid] as const,\n // Session-scoped: the AppView reads the owner from the session cookie, so\n // there is only ever one completeness result per client.\n completeness: () => ['sifa', 'profile', 'completeness'] as const,\n },\n\n position: {\n all: () => ['sifa', 'position'] as const,\n byOwner: (did: string) => ['sifa', 'position', 'by-owner', did] as const,\n // Session-scoped: the AppView reads the owner from the session cookie.\n unlinked: () => ['sifa', 'position', 'unlinked'] as const,\n },\n\n // Aggregate inbox counts for the header bell badge (session-scoped). The first\n // aggregate namespace: it fans in across confirmations, endorsements, drift,\n // unlinked positions and profile completeness on the server.\n inbox: {\n all: () => ['sifa', 'inbox'] as const,\n counts: () => ['sifa', 'inbox', 'counts'] as const,\n },\n\n search: {\n all: () => ['sifa', 'search'] as const,\n profiles: (filters: Record<string, unknown>) =>\n ['sifa', 'search', 'profiles', filters] as const,\n companies: (filters: Record<string, unknown>) =>\n ['sifa', 'search', 'companies', filters] as const,\n skills: (query: string) => ['sifa', 'search', 'skills', query] as const,\n canonicalSkills: (query: string, limit: number) =>\n ['sifa', 'search', 'canonical-skills', query, limit] as const,\n filters: () => ['sifa', 'search', 'filters'] as const,\n },\n\n entity: {\n all: () => ['sifa', 'entity'] as const,\n search: (query: string, limit: number) => ['sifa', 'entity', 'search', query, limit] as const,\n },\n\n discovery: {\n all: () => ['sifa', 'discovery'] as const,\n similar: (did: string, limit: number) => ['sifa', 'discovery', 'similar', did, limit] as const,\n suggestions: (opts: Record<string, unknown>) =>\n ['sifa', 'discovery', 'suggestions', opts] as const,\n suggestionCount: (since: string | undefined) =>\n ['sifa', 'discovery', 'suggestion-count', since ?? null] as const,\n featured: () => ['sifa', 'discovery', 'featured'] as const,\n },\n\n follow: {\n all: () => ['sifa', 'follow'] as const,\n following: (opts: Record<string, unknown>) => ['sifa', 'follow', 'following', opts] as const,\n followers: (handle: string) => ['sifa', 'follow', 'followers', handle] as const,\n followingOf: (handle: string) => ['sifa', 'follow', 'following-of', handle] as const,\n feed: (opts: Record<string, unknown>) => ['sifa', 'follow', 'feed', opts] as const,\n feedVersion: (opts: Record<string, unknown>) =>\n ['sifa', 'follow', 'feed-version', opts] as const,\n mutuals: (handle: string) => ['sifa', 'follow', 'mutuals', handle] as const,\n blueskySuggestions: () => ['sifa', 'follow', 'bluesky-suggestions'] as const,\n },\n\n admin: {\n all: () => ['sifa', 'admin'] as const,\n featureAllowlist: (flag: string) => ['sifa', 'admin', 'feature-allowlist', flag] as const,\n reviewQueues: () => ['sifa', 'admin', 'review-queues'] as const,\n },\n\n stats: {\n all: () => ['sifa', 'stats'] as const,\n homepage: () => ['sifa', 'stats', 'homepage'] as const,\n },\n\n apps: {\n all: () => ['sifa', 'apps'] as const,\n registry: () => ['sifa', 'apps', 'registry'] as const,\n hidden: () => ['sifa', 'apps', 'hidden'] as const,\n },\n\n auth: {\n all: () => ['sifa', 'auth'] as const,\n // Session-scoped: the AppView reads the account list from the browser's\n // cookies, so there is only ever one list per client.\n accounts: () => ['sifa', 'auth', 'accounts'] as const,\n },\n\n activity: {\n all: () => ['sifa', 'activity'] as const,\n heatmap: (handleOrDid: string, days: number) =>\n ['sifa', 'activity', 'heatmap', handleOrDid, days] as const,\n teaser: (handleOrDid: string) => ['sifa', 'activity', 'teaser', handleOrDid] as const,\n feed: (handleOrDid: string, opts: Record<string, unknown>) =>\n ['sifa', 'activity', 'feed', handleOrDid, opts] as const,\n // Session-scoped: the AppView reads the caller's own hides from their\n // cookie, so there is only ever one list per client.\n hiddenItems: () => ['sifa', 'activity', 'hidden-items'] as const,\n },\n\n github: {\n all: () => ['sifa', 'github'] as const,\n myPullRequests: (opts: { limit?: number; offset?: number }) =>\n ['sifa', 'github', 'my-pull-requests', opts] as const,\n },\n\n endorsement: {\n all: () => ['sifa', 'endorsement'] as const,\n count: (did: string) => ['sifa', 'endorsement', 'count', did] as const,\n // Scoped to the session rather than a DID -- the AppView reads the subject\n // from the session cookie, so there is only ever one inbox per client.\n pending: () => ['sifa', 'endorsement', 'pending'] as const,\n // Also session-scoped: the AppView picks the candidate from the viewer's\n // own follows, dismissals and blocks.\n reciprocity: () => ['sifa', 'endorsement', 'reciprocity'] as const,\n received: (did: string) => ['sifa', 'endorsement', 'received', did] as const,\n },\n\n confirmation: {\n all: () => ['sifa', 'confirmation'] as const,\n // Scoped to the session for the same reason as the endorsement inbox: the\n // AppView reads the subject from the session cookie, so there is only ever\n // one inbox per client.\n pending: () => ['sifa', 'confirmation', 'pending'] as const,\n /** Confirmations this session has given, for the withdraw surface. */\n given: () => ['sifa', 'confirmation', 'given'] as const,\n },\n\n verification: {\n all: () => ['sifa', 'verification'] as const,\n /** The append-only verification log of one position. */\n log: (did: string, positionRkey: string) =>\n ['sifa', 'verification', 'log', did, positionRkey] as const,\n },\n\n stream: {\n all: () => ['sifa', 'stream'] as const,\n networkCount: (did: string) => ['sifa', 'stream', 'network-count', did] as const,\n },\n\n reactions: {\n all: () => ['sifa', 'reactions'] as const,\n status: (uris: string[]) => ['sifa', 'reactions', 'status', uris] as const,\n accountCheck: (appId: string) => ['sifa', 'reactions', 'account-check', appId] as const,\n },\n\n roadmap: {\n all: () => ['sifa', 'roadmap'] as const,\n votes: () => ['sifa', 'roadmap', 'votes'] as const,\n myVotes: () => ['sifa', 'roadmap', 'my-votes'] as const,\n },\n\n bskyPreferences: {\n all: () => ['sifa', 'bsky-preferences'] as const,\n contentLabels: () => ['sifa', 'bsky-preferences', 'content-labels'] as const,\n },\n\n repoInventory: {\n all: () => ['sifa', 'repo-inventory'] as const,\n list: () => ['sifa', 'repo-inventory', 'list'] as const,\n },\n destructive: {\n all: () => ['sifa', 'destructive'] as const,\n wipePreview: () => ['sifa', 'destructive', 'wipe-preview'] as const,\n },\n} as const;\n\nexport type SifaQueryKey =\n | ReturnType<typeof sifaQueryKeys.all>\n | ReturnType<typeof sifaQueryKeys.profile.all>\n | ReturnType<typeof sifaQueryKeys.profile.byHandle>\n | ReturnType<typeof sifaQueryKeys.profile.atFundLink>\n | ReturnType<typeof sifaQueryKeys.profile.externalAccounts>\n | ReturnType<typeof sifaQueryKeys.profile.completeness>\n | ReturnType<typeof sifaQueryKeys.position.all>\n | ReturnType<typeof sifaQueryKeys.position.byOwner>\n | ReturnType<typeof sifaQueryKeys.position.unlinked>\n | ReturnType<typeof sifaQueryKeys.inbox.all>\n | ReturnType<typeof sifaQueryKeys.inbox.counts>\n | ReturnType<typeof sifaQueryKeys.search.all>\n | ReturnType<typeof sifaQueryKeys.search.profiles>\n | ReturnType<typeof sifaQueryKeys.search.canonicalSkills>\n | ReturnType<typeof sifaQueryKeys.search.skills>\n | ReturnType<typeof sifaQueryKeys.search.filters>\n | ReturnType<typeof sifaQueryKeys.entity.all>\n | ReturnType<typeof sifaQueryKeys.entity.search>\n | ReturnType<typeof sifaQueryKeys.discovery.all>\n | ReturnType<typeof sifaQueryKeys.discovery.similar>\n | ReturnType<typeof sifaQueryKeys.discovery.suggestions>\n | ReturnType<typeof sifaQueryKeys.discovery.suggestionCount>\n | ReturnType<typeof sifaQueryKeys.discovery.featured>\n | ReturnType<typeof sifaQueryKeys.follow.all>\n | ReturnType<typeof sifaQueryKeys.follow.following>\n | ReturnType<typeof sifaQueryKeys.follow.followers>\n | ReturnType<typeof sifaQueryKeys.follow.followingOf>\n | ReturnType<typeof sifaQueryKeys.follow.feed>\n | ReturnType<typeof sifaQueryKeys.follow.mutuals>\n | ReturnType<typeof sifaQueryKeys.follow.blueskySuggestions>\n | ReturnType<typeof sifaQueryKeys.admin.all>\n | ReturnType<typeof sifaQueryKeys.admin.featureAllowlist>\n | ReturnType<typeof sifaQueryKeys.admin.reviewQueues>\n | ReturnType<typeof sifaQueryKeys.stats.all>\n | ReturnType<typeof sifaQueryKeys.stats.homepage>\n | ReturnType<typeof sifaQueryKeys.apps.all>\n | ReturnType<typeof sifaQueryKeys.apps.registry>\n | ReturnType<typeof sifaQueryKeys.apps.hidden>\n | ReturnType<typeof sifaQueryKeys.activity.all>\n | ReturnType<typeof sifaQueryKeys.activity.heatmap>\n | ReturnType<typeof sifaQueryKeys.activity.teaser>\n | ReturnType<typeof sifaQueryKeys.activity.feed>\n | ReturnType<typeof sifaQueryKeys.activity.hiddenItems>\n | ReturnType<typeof sifaQueryKeys.endorsement.all>\n | ReturnType<typeof sifaQueryKeys.endorsement.count>\n | ReturnType<typeof sifaQueryKeys.endorsement.pending>\n | ReturnType<typeof sifaQueryKeys.endorsement.reciprocity>\n | ReturnType<typeof sifaQueryKeys.endorsement.received>\n | ReturnType<typeof sifaQueryKeys.confirmation.all>\n | ReturnType<typeof sifaQueryKeys.confirmation.pending>\n | ReturnType<typeof sifaQueryKeys.confirmation.given>\n | ReturnType<typeof sifaQueryKeys.stream.all>\n | ReturnType<typeof sifaQueryKeys.stream.networkCount>\n | ReturnType<typeof sifaQueryKeys.reactions.all>\n | ReturnType<typeof sifaQueryKeys.reactions.status>\n | ReturnType<typeof sifaQueryKeys.reactions.accountCheck>\n | ReturnType<typeof sifaQueryKeys.roadmap.all>\n | ReturnType<typeof sifaQueryKeys.roadmap.votes>\n | ReturnType<typeof sifaQueryKeys.roadmap.myVotes>\n | ReturnType<typeof sifaQueryKeys.bskyPreferences.all>\n | ReturnType<typeof sifaQueryKeys.bskyPreferences.contentLabels>\n | ReturnType<typeof sifaQueryKeys.destructive.all>\n | ReturnType<typeof sifaQueryKeys.destructive.wipePreview>\n | ReturnType<typeof sifaQueryKeys.repoInventory.all>\n | ReturnType<typeof sifaQueryKeys.repoInventory.list>;\n"],"mappings":";AAWO,IAAM,gBAAgB;AAAA,EAC3B,KAAK,MAAM,CAAC,MAAM;AAAA,EAElB,SAAS;AAAA,IACP,KAAK,MAAM,CAAC,QAAQ,SAAS;AAAA,IAC7B,UAAU,CAAC,gBAAwB,CAAC,QAAQ,WAAW,WAAW;AAAA,IAClE,YAAY,CAAC,QAAgB,CAAC,QAAQ,WAAW,gBAAgB,GAAG;AAAA,IACpE,MAAM,CAAC,UAAkB,CAAC,QAAQ,WAAW,QAAQ,KAAK;AAAA,IAC1D,kBAAkB,CAAC,gBACjB,CAAC,QAAQ,WAAW,qBAAqB,WAAW;AAAA;AAAA;AAAA,IAGtD,cAAc,MAAM,CAAC,QAAQ,WAAW,cAAc;AAAA,EACxD;AAAA,EAEA,UAAU;AAAA,IACR,KAAK,MAAM,CAAC,QAAQ,UAAU;AAAA,IAC9B,SAAS,CAAC,QAAgB,CAAC,QAAQ,YAAY,YAAY,GAAG;AAAA;AAAA,IAE9D,UAAU,MAAM,CAAC,QAAQ,YAAY,UAAU;AAAA,EACjD;AAAA;AAAA;AAAA;AAAA,EAKA,OAAO;AAAA,IACL,KAAK,MAAM,CAAC,QAAQ,OAAO;AAA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,QAAQ,WAAW,OAAO;AAAA,IACxC,SAAS,MAAM,CAAC,QAAQ,WAAW,UAAU;AAAA,EAC/C;AAAA,EAEA,iBAAiB;AAAA,IACf,KAAK,MAAM,CAAC,QAAQ,kBAAkB;AAAA,IACtC,eAAe,MAAM,CAAC,QAAQ,oBAAoB,gBAAgB;AAAA,EACpE;AAAA,EAEA,eAAe;AAAA,IACb,KAAK,MAAM,CAAC,QAAQ,gBAAgB;AAAA,IACpC,MAAM,MAAM,CAAC,QAAQ,kBAAkB,MAAM;AAAA,EAC/C;AAAA,EACA,aAAa;AAAA,IACX,KAAK,MAAM,CAAC,QAAQ,aAAa;AAAA,IACjC,aAAa,MAAM,CAAC,QAAQ,eAAe,cAAc;AAAA,EAC3D;AACF;","names":[]}
|
package/dist/{use-org-notification-emails-DZ0oVtiX.d.ts → use-org-notification-emails-BKXLY0Nx.d.ts}
RENAMED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
import { K as SifaApiConfig, n as ProfileView, W as WriteResult, N as CreateResult, Q as FilterOptions, S as SearchFilters, X as SearchResponse, Y as SkillSearchResult, a5 as CompanySearchFilters, a6 as CompanySearchResponse, t as RepoDeleteResult, w as RepoInventory } from './types-Jb4KKbn9.js';
|
|
3
|
+
import { K as SifaApiConfig, M as ApiFetchOptions, n as ProfileView, W as WriteResult, N as CreateResult, Q as FilterOptions, S as SearchFilters, X as SearchResponse, Y as SkillSearchResult, a5 as CompanySearchFilters, a6 as CompanySearchResponse, t as RepoDeleteResult, w as RepoInventory } from './types-Jb4KKbn9.js';
|
|
4
4
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
5
5
|
import { UseQueryOptions, UseMutationOptions, UseInfiniteQueryOptions, InfiniteData } from '@tanstack/react-query';
|
|
6
6
|
import { c as Profile, d as ProfilePosition, U as SkillRef, p as ExternalAccount, V as SkillSuggestion, s as OrgFloorVerdict } from './index-IeuOpcIB.js';
|
|
7
|
-
import { s as sifaQueryKeys, aD as RefreshPdsResult, aU as UpdateProfileOverrideInput, aV as UpdateProfileSelfInput, aW as UploadAvatarResult, aX as UploadPronunciationAudioResult, an as PrimarySection, aO as SubCategoryBulkResult, as as ProfileLocationInput, o as ExternalAccountInput, m as CreateExternalAccountResult, aY as VerifyExternalAccountResult, E as EndorsementInput, k as ConfirmationInput, l as ConfirmationSubjectInput, Z as GivenConfirmation, am as PendingConfirmationsPage, a8 as InboxCounts, n as DismissUnlinkedPositionInput, aT as UnlinkedPositionsResult, ao as ProfileCompleteness, aC as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, a7 as HideProfileItemInput, a2 as HiddenActivityItem, a6 as HideActivityItemInput, aR as UnhideActivityItemInput, aN as StatsResponse, h as AppRegistryEntry, a3 as HiddenApp, b as AccountSummary, p as FeaturedProfile, aM as SimilarProfile, L as FetchSuggestionsOptions, aQ as SuggestionsResponse, Q as FollowUserResult, v as FetchFollowListOptions, N as FollowListPage, W as FollowingResponse, x as FetchFollowingFeedOptions, U as FollowingFeedResponse, V as FollowingFeedVersion, w as FetchFollowProfilePageOptions, P as FollowProfilePageResponse, F as FeatureAllowlistResponse, g as AdminReviewQueues, r as FetchActivityFeedOptions, c as ActivityFeedResponse, f as ActivityTeaserResponse, a1 as HeatmapResponse, aa as MyGithubPullRequestsResponse, A as AccountCheckResult, aB as ReactionStatus, aA as ReactionResult, az as ReactionError, aK as RoadmapVotesResponse, i as CastRoadmapVoteResult, D as DeleteAccountResult, aF as ResetProfileResult, aZ as WipePreview, aE as RepoDeleteInput, ac as OrgClaimResult, ai as OrgProfileUpdateResult, ad as OrgDomainChallengeResult, ae as OrgDomainVerifyResult, af as OrgNotificationEmailAddResult, ag as OrgNotificationEmailRemoveResult } from './org
|
|
7
|
+
import { s as sifaQueryKeys, aD as RefreshPdsResult, aU as UpdateProfileOverrideInput, aV as UpdateProfileSelfInput, aW as UploadAvatarResult, aX as UploadPronunciationAudioResult, an as PrimarySection, aO as SubCategoryBulkResult, as as ProfileLocationInput, o as ExternalAccountInput, m as CreateExternalAccountResult, aY as VerifyExternalAccountResult, E as EndorsementInput, k as ConfirmationInput, l as ConfirmationSubjectInput, Z as GivenConfirmation, am as PendingConfirmationsPage, a8 as InboxCounts, n as DismissUnlinkedPositionInput, aT as UnlinkedPositionsResult, ao as ProfileCompleteness, aC as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, a7 as HideProfileItemInput, a2 as HiddenActivityItem, a6 as HideActivityItemInput, aR as UnhideActivityItemInput, aN as StatsResponse, h as AppRegistryEntry, a3 as HiddenApp, b as AccountSummary, p as FeaturedProfile, aM as SimilarProfile, L as FetchSuggestionsOptions, aQ as SuggestionsResponse, Q as FollowUserResult, v as FetchFollowListOptions, N as FollowListPage, W as FollowingResponse, x as FetchFollowingFeedOptions, U as FollowingFeedResponse, V as FollowingFeedVersion, w as FetchFollowProfilePageOptions, P as FollowProfilePageResponse, F as FeatureAllowlistResponse, g as AdminReviewQueues, r as FetchActivityFeedOptions, c as ActivityFeedResponse, f as ActivityTeaserResponse, a1 as HeatmapResponse, aa as MyGithubPullRequestsResponse, A as AccountCheckResult, aB as ReactionStatus, aA as ReactionResult, az as ReactionError, aK as RoadmapVotesResponse, i as CastRoadmapVoteResult, D as DeleteAccountResult, aF as ResetProfileResult, aZ as WipePreview, aE as RepoDeleteInput, ac as OrgClaimResult, ai as OrgProfileUpdateResult, ad as OrgDomainChallengeResult, ae as OrgDomainVerifyResult, af as OrgNotificationEmailAddResult, ag as OrgNotificationEmailRemoveResult } from './org-BmKMu2h9.js';
|
|
8
|
+
import { z } from 'zod';
|
|
8
9
|
import { i as EntitySearchResponse, E as EntitySearchResult, c as EntityMintDomainResponse, g as EntityResolveDomainResponse, n as EntitySelectResponse, l as EntitySelectRequest, r as FeatureFlag } from './follow-profile-ceqefXAw.js';
|
|
9
10
|
import { O as OrgClaimRequestInput, h as OrgProfileUpdateRequestInput, b as OrgDomainChallengeRequestInput, d as OrgDomainVerifyRequestInput, f as OrgNotificationEmailRequestInput } from './org-settings-BShvhyFp.js';
|
|
10
11
|
|
|
@@ -32,6 +33,64 @@ declare function SifaProvider({ config, children }: SifaProviderProps): react.JS
|
|
|
32
33
|
*/
|
|
33
34
|
declare function useSifaConfig(): SifaApiConfig;
|
|
34
35
|
|
|
36
|
+
/**
|
|
37
|
+
* Every kind of fact the employment-verification log can hold. Mirrors
|
|
38
|
+
* `VERIFICATION_EVENT_KINDS` in sifa-api. Kept open (`z.string()`) on the
|
|
39
|
+
* wire so a kind the AppView adds later does not break older clients; the
|
|
40
|
+
* union is the set a client can render specific copy for today.
|
|
41
|
+
*/
|
|
42
|
+
declare const VERIFICATION_EVENT_KINDS: readonly ["mailbox_verified", "domain_recognized", "reverified", "reverification_failed", "org_confirmed", "org_status_changed", "org_revoked", "peer_vouched", "peer_withdrawn"];
|
|
43
|
+
type VerificationEventKind = (typeof VERIFICATION_EVENT_KINDS)[number];
|
|
44
|
+
/**
|
|
45
|
+
* One entry of a position's verification log, newest first, as the AppView
|
|
46
|
+
* returns it. `emailAddress` is present only when the signed-in viewer owns
|
|
47
|
+
* the profile; everyone else gets the domain at most. An AppView READ shape,
|
|
48
|
+
* not a PDS record: the log lives in Sifa's database. Unknown extra fields
|
|
49
|
+
* pass through so the shape stays additive.
|
|
50
|
+
*/
|
|
51
|
+
declare const VerificationLogEntrySchema: z.ZodObject<{
|
|
52
|
+
id: z.ZodNumber;
|
|
53
|
+
kind: z.ZodString;
|
|
54
|
+
occurredAt: z.ZodString;
|
|
55
|
+
entityId: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
56
|
+
emailDomain: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
57
|
+
emailAddress: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
58
|
+
meta: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
59
|
+
}, z.core.$loose>;
|
|
60
|
+
declare const VerificationLogSchema: z.ZodObject<{
|
|
61
|
+
events: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
62
|
+
id: z.ZodNumber;
|
|
63
|
+
kind: z.ZodString;
|
|
64
|
+
occurredAt: z.ZodString;
|
|
65
|
+
entityId: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
|
|
66
|
+
emailDomain: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
67
|
+
emailAddress: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
68
|
+
meta: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
69
|
+
}, z.core.$loose>>>;
|
|
70
|
+
}, z.core.$strip>;
|
|
71
|
+
type VerificationLogEntry = z.infer<typeof VerificationLogEntrySchema>;
|
|
72
|
+
type VerificationLog = z.infer<typeof VerificationLogSchema>;
|
|
73
|
+
/** Options for {@link fetchVerificationLog}, adding the RSC cookie-forwarding escape hatch. */
|
|
74
|
+
interface FetchVerificationLogOptions extends ApiFetchOptions {
|
|
75
|
+
/**
|
|
76
|
+
* Pass the caller's `Cookie` header on Next.js RSC server-side calls, so
|
|
77
|
+
* the owner sees full addresses. `credentials: 'include'` does not propagate
|
|
78
|
+
* browser cookies in RSC.
|
|
79
|
+
*/
|
|
80
|
+
cookieHeader?: string;
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* The verification log of one position, newest first. Public: anyone can read
|
|
84
|
+
* it, the AppView strips the addresses for everyone but the owner.
|
|
85
|
+
*
|
|
86
|
+
* Resolves to an empty log on any failure (network, non-2xx, malformed body)
|
|
87
|
+
* by design, the same contract as the confirmation fetchers: the log is a
|
|
88
|
+
* detail panel on a profile, and a broken panel must never take the profile
|
|
89
|
+
* down with it. Callers that need to distinguish "empty" from "failed" use
|
|
90
|
+
* `apiFetch` directly.
|
|
91
|
+
*/
|
|
92
|
+
declare function fetchVerificationLog(config: SifaApiConfig, did: string, positionRkey: string, options?: FetchVerificationLogOptions): Promise<VerificationLog>;
|
|
93
|
+
|
|
35
94
|
/**
|
|
36
95
|
* React hook that reads an aggregated profile by handle or DID via
|
|
37
96
|
* TanStack Query. Returns `null` data when the profile does not exist.
|
|
@@ -273,6 +332,23 @@ declare function useRevokeConfirmation(claimerHandleOrDid: string | null, option
|
|
|
273
332
|
*/
|
|
274
333
|
declare function useInboxCounts(options?: Omit<UseQueryOptions<InboxCounts, Error, InboxCounts, ReturnType<typeof sifaQueryKeys.inbox.counts>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<InboxCounts, Error>;
|
|
275
334
|
|
|
335
|
+
/**
|
|
336
|
+
* The verification log of one position. Returns an empty log on error, so a
|
|
337
|
+
* panel can render "no verification yet" without special-casing failure.
|
|
338
|
+
*/
|
|
339
|
+
declare function useVerificationLog(did: string, positionRkey: string, options?: Omit<UseQueryOptions<VerificationLog, Error, VerificationLog, ReturnType<typeof sifaQueryKeys.verification.log>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<{
|
|
340
|
+
events: {
|
|
341
|
+
[x: string]: unknown;
|
|
342
|
+
id: number;
|
|
343
|
+
kind: string;
|
|
344
|
+
occurredAt: string;
|
|
345
|
+
entityId: number | null;
|
|
346
|
+
emailDomain: string | null;
|
|
347
|
+
meta: Record<string, unknown>;
|
|
348
|
+
emailAddress?: string | null | undefined;
|
|
349
|
+
}[];
|
|
350
|
+
}, Error>;
|
|
351
|
+
|
|
276
352
|
/**
|
|
277
353
|
* Positions on the signed-in user's profile whose company is not yet linked to a
|
|
278
354
|
* canonical entity, for the unified Inbox. Returns an empty list when signed out
|
|
@@ -902,4 +978,4 @@ declare function useRemoveOrgNotificationEmail(options?: Omit<UseMutationOptions
|
|
|
902
978
|
email: string;
|
|
903
979
|
}, unknown>;
|
|
904
980
|
|
|
905
|
-
export {
|
|
981
|
+
export { useDebouncedValue as $, type AddFeatureAllowlistVariables as A, useAppsRegistry as B, type CreateReactionVariables as C, type DeleteReactionVariables as D, useAtFundLink as E, type FetchVerificationLogOptions as F, useBlueskySuggestions as G, useBulkHideProfileItems as H, useBulkHideStandardPublications as I, useBulkUnhideProfileItems as J, useBulkUnhideStandardPublications as K, useCanonicalSkillSearch as L, useCastRoadmapVote as M, useCreateConfirmation as N, useCreateEducation as O, type PositionSkillLinkVariables as P, useCreateEndorsement as Q, type RemoveFeatureAllowlistVariables as R, SifaProvider as S, useCreateExternalAccount as T, type UnfollowVariables as U, VERIFICATION_EVENT_KINDS as V, useCreatePosition as W, useCreateProfileLocation as X, useCreateReaction as Y, useCreateRecord as Z, useCreateSkill as _, type CreateRecordVariables as a, useSearchProfiles as a$, useDeleteAccount as a0, useDeleteAvatarOverride as a1, useDeleteEducation as a2, useDeleteExternalAccount as a3, useDeleteNamePronunciationAudio as a4, useDeletePosition as a5, useDeleteProfileLocation as a6, useDeleteReaction as a7, useDeleteRecord as a8, useDeleteRepoRecords as a9, useInboxCounts as aA, useLinkSkillToPosition as aB, useMintEntityDomain as aC, useMutuals as aD, useMyGithubPullRequests as aE, useMyRoadmapVotes as aF, useNetworkStreamCount as aG, useOrgClaim as aH, useOrgDomainChallenge as aI, useOrgDomainVerify as aJ, useOrgProfile as aK, usePendingConfirmations as aL, useProfile as aM, useProfileCompleteness as aN, useReactionStatus as aO, useRefreshOrcidPublications as aP, useRefreshPds as aQ, useRemoveFeatureAllowlist as aR, useRemoveOrgNotificationEmail as aS, useRepoInventory as aT, useResetProfile as aU, useResolveEntityDomain as aV, useRetractRoadmapVote as aW, useRevealMarqueDomain as aX, useRevokeConfirmation as aY, useRoadmapVotes as aZ, useSearchFilters as a_, useDeleteSkill as aa, useDismissConfirmation as ab, useDismissUnlinkedPosition as ac, useEndorsementCount as ad, useEntitySearch as ae, useExternalAccounts as af, useFeatureAllowlist as ag, useFeaturedProfile as ah, useFollow as ai, useFollowers as aj, useFollowing as ak, useFollowingFeed as al, useFollowingFeedVersion as am, useFollowingList as an, useGetProfileView as ao, useGivenConfirmations as ap, useHeatmapData as aq, useHiddenActivityItems as ar, useHiddenApps as as, useHideActivityItem as at, useHideKeytraceClaim as au, useHideOrcidPublication as av, useHideProfileItem as aw, useHideSifaPublication as ax, useHideStandardPublication as ay, useImportSearchEntities as az, type DeleteRecordVariables as b, useSelectEntity as b0, useSetExternalAccountPrimary as b1, useSetPositionPrimary as b2, useSetSectionPrimary as b3, useSifaConfig as b4, useSimilarProfiles as b5, useSkillSuggestions as b6, useStats as b7, useSuggestionCount as b8, useSuggestions as b9, useVerifyExternalAccount as bA, useWipePreview as bB, useSearchCompanies as bC, useUnfollow as ba, useUnhideActivityItem as bb, useUnhideKeytraceClaim as bc, useUnhideOrcidPublication as bd, useUnhideProfileItem as be, useUnhideSifaPublication as bf, useUnhideStandardPublication as bg, useUnlinkSkillFromPosition as bh, useUnlinkedPositions as bi, useUnrevealMarqueDomain as bj, useUnsetExternalAccountPrimary as bk, useUnsetPositionPrimary as bl, useUnsetSectionPrimary as bm, useUpdateEducation as bn, useUpdateExternalAccount as bo, useUpdateOrgProfile as bp, useUpdatePosition as bq, useUpdateProfileLocation as br, useUpdateProfileOverride as bs, useUpdateProfileSelf as bt, useUpdateRecord as bu, useUpdateSkill as bv, useUpdateSkillSubCategories as bw, useUploadAvatar as bx, useUploadNamePronunciationAudio as by, useVerificationLog as bz, type FollowVariables as c, type SifaProviderProps as d, type UpdateEducationVariables as e, type UpdateExternalAccountVariables as f, type UpdatePositionVariables as g, type UpdateProfileLocationVariables as h, type UpdateRecordVariables as i, type UpdateSkillSubCategoriesVariables as j, type UpdateSkillVariables as k, type UseEntitySearchOptions as l, type UseMyGithubPullRequestsParams as m, type VerificationEventKind as n, type VerificationLog as o, type VerificationLogEntry as p, VerificationLogEntrySchema as q, VerificationLogSchema as r, fetchVerificationLog as s, useActivityFeed as t, useAccounts as u, useActivityTeaser as v, useAddFeatureAllowlist as w, useAddOrgNotificationEmail as x, useAdminReviewQueues as y, useAppAccountCheck as z };
|