@singi-labs/sifa-sdk 0.18.11 → 0.18.13
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 +29 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +28 -3
- package/dist/index.d.ts +28 -3
- package/dist/index.js +28 -2
- package/dist/index.js.map +1 -1
- package/dist/{network-map-CMod-9od.d.ts → network-map-5WbfyFed.d.ts} +12 -3
- package/dist/{network-map-CH37aj_Q.d.cts → network-map-Cwv7SsL0.d.cts} +12 -3
- package/dist/{org-3gFPQ_pC.d.cts → org-BHz9ymjp.d.cts} +122 -4
- package/dist/{org-CTSJ5zTZ.d.ts → org-Bgz5parA.d.ts} +122 -4
- package/dist/{profile-investment-CmiQxk5C.d.cts → profile-investment-CIG7Hy8g.d.cts} +16 -1
- package/dist/{profile-investment-CmiQxk5C.d.ts → profile-investment-CIG7Hy8g.d.ts} +16 -1
- package/dist/publishing/index.cjs +5 -0
- package/dist/publishing/index.cjs.map +1 -1
- package/dist/publishing/index.js +5 -0
- package/dist/publishing/index.js.map +1 -1
- package/dist/query/fetchers/index.cjs +121 -5
- package/dist/query/fetchers/index.cjs.map +1 -1
- package/dist/query/fetchers/index.d.cts +3 -3
- package/dist/query/fetchers/index.d.ts +3 -3
- package/dist/query/fetchers/index.js +118 -6
- package/dist/query/fetchers/index.js.map +1 -1
- package/dist/query/hooks/index.cjs +157 -4
- package/dist/query/hooks/index.cjs.map +1 -1
- package/dist/query/hooks/index.d.cts +3 -3
- package/dist/query/hooks/index.d.ts +3 -3
- package/dist/query/hooks/index.js +155 -5
- package/dist/query/hooks/index.js.map +1 -1
- package/dist/query/index.cjs +161 -5
- package/dist/query/index.cjs.map +1 -1
- package/dist/query/index.d.cts +5 -5
- package/dist/query/index.d.ts +5 -5
- package/dist/query/index.js +155 -6
- package/dist/query/index.js.map +1 -1
- package/dist/schemas/index.cjs +6 -0
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +1 -1
- package/dist/schemas/index.d.ts +1 -1
- package/dist/schemas/index.js +6 -1
- package/dist/schemas/index.js.map +1 -1
- package/dist/schemas/write/index.cjs +7 -2
- package/dist/schemas/write/index.cjs.map +1 -1
- package/dist/schemas/write/index.js +7 -2
- package/dist/schemas/write/index.js.map +1 -1
- package/dist/{use-org-notification-emails-J29DcsSu.d.ts → use-org-notification-emails-C9CWyhSC.d.ts} +24 -2
- package/dist/{use-org-notification-emails-CdRgTAj4.d.cts → use-org-notification-emails-vNekuQKF.d.cts} +24 -2
- package/package.json +1 -1
package/dist/query/index.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { S as SifaApiConfig, A as ApiFetchOptions, s as sifaQueryKeys, C as CreateResult, a as ConfirmEndorsementInput, b as ConfirmEndorsementResult, W as WriteResult } from '../org-
|
|
2
|
-
export { c as AccountCheckResult, d as AccountSummary, e as ActivityFeedResponse, f as ActivityItem, g as ActivityItemLinkHealth, h as ActivityTeaserResponse, i as AdminReviewQueues, j as ApiError, k as AppRegistryEntry, B as BulkHideProfileItemInput, l as CastRoadmapVoteResult, m as CheckAppAccountOptions, n as ConfirmationInput, o as ConfirmationSubjectInput, p as CreateExternalAccountResult, D as DeleteAccountResult, E as EndorsementInput, q as ExternalAccountInput, F as FeatureAllowlistResponse, r as FeaturedProfile, t as FetchAccountsOptions, u as FetchActivityFeedOptions, v as FetchActivityTeaserOptions, w as
|
|
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, c as SifaProviderProps, U as UnfollowVariables, d as UpdateEducationVariables, e as UpdateExternalAccountVariables, f as UpdatePositionVariables, g as UpdateProfileLocationVariables, h as UpdateRecordVariables, i as UpdateSkillSubCategoriesVariables, j as UpdateSkillVariables, k as UseEntitySearchOptions, l as UseMyGithubPullRequestsParams, u as useAccounts, m as useActivityFeed, n as useActivityTeaser, o as useAddFeatureAllowlist, p as useAddOrgNotificationEmail, q as useAdminReviewQueues, r as useAppAccountCheck, s as useAppsRegistry, t as useAtFundLink, v as useBlueskySuggestions, w as useBulkHideProfileItems, x as useBulkHideStandardPublications, y as useBulkUnhideProfileItems, z as useBulkUnhideStandardPublications, B as useCanonicalSkillSearch, E as useCastRoadmapVote, G as useCreateConfirmation, H as useCreateEducation, I as useCreateEndorsement, J as useCreateExternalAccount, K as useCreatePosition, L as useCreateProfileLocation, M as useCreateReaction, N as useCreateRecord, O as useCreateSkill, Q as useDebouncedValue, T as useDeleteAccount, V as useDeleteAvatarOverride, W as useDeleteEducation, X as useDeleteExternalAccount, Y as useDeleteNamePronunciationAudio, Z as useDeletePosition, _ as useDeleteProfileLocation, $ as useDeleteReaction, a0 as useDeleteRecord, a1 as useDeleteRepoRecords, a2 as useDeleteSkill, a3 as useDismissConfirmation, a4 as useEndorsementCount, a5 as useEntitySearch, a6 as useExternalAccounts, a7 as useFeatureAllowlist, a8 as useFeaturedProfile, a9 as useFollow, aa as useFollowers, ab as useFollowing, ac as useFollowingFeed, ad as useFollowingList, ae as useGetProfileView, af as useGivenConfirmations, ag as useHeatmapData, ah as useHiddenActivityItems, ai as useHiddenApps, aj as useHideActivityItem, ak as useHideKeytraceClaim, al as useHideOrcidPublication, am as useHideProfileItem, an as useHideSifaPublication, ao as useHideStandardPublication, ap as useImportSearchEntities, aq as
|
|
4
|
-
import { R as ReceivedEndorsementsPage, a as ReciprocityCandidate, D as DismissEndorsementInput, P as PendingEndorsementsPage } from '../network-map-
|
|
5
|
-
export { F as FetchNetworkStreamCountOptions, N as NetworkMapEdge,
|
|
1
|
+
import { S as SifaApiConfig, A as ApiFetchOptions, s as sifaQueryKeys, C as CreateResult, a as ConfirmEndorsementInput, b as ConfirmEndorsementResult, W as WriteResult } from '../org-BHz9ymjp.cjs';
|
|
2
|
+
export { c as AccountCheckResult, d as AccountSummary, e as ActivityFeedResponse, f as ActivityItem, g as ActivityItemLinkHealth, h as ActivityTeaserResponse, i as AdminReviewQueues, j as ApiError, k as AppRegistryEntry, B as BulkHideProfileItemInput, l as CastRoadmapVoteResult, m as CheckAppAccountOptions, n as ConfirmationInput, o as ConfirmationSubjectInput, p as CreateExternalAccountResult, D as DeleteAccountResult, E as EndorsementInput, q as ExternalAccountInput, F as FeatureAllowlistResponse, r as FeaturedProfile, t as FetchAccountsOptions, u as FetchActivityFeedOptions, v as FetchActivityTeaserOptions, w as FetchConfirmationsOptions, x as FetchFollowListOptions, y as FetchFollowProfilePageOptions, z as FetchFollowingFeedOptions, G as FetchHiddenActivityItemsOptions, H as FetchHiddenAppsOptions, I as FetchInboxCountsOptions, J as FetchMyGithubPullRequestsOptions, K as FetchMyRoadmapVotesOptions, L as FetchProfileCompletenessOptions, M as FetchReactionStatusOptions, N as FetchSuggestionsOptions, O as FetchUnlinkedPositionsOptions, P as FilterOptions, Q as FollowListPage, R as FollowProfile, T as FollowProfilePageResponse, U as FollowUserResult, V 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 ProfileCompleteness, ao as ProfileCompletenessSignal, ap as ProfileIndustryInput, aq as ProfileLocationAddress, ar as ProfileLocationInput, as as ProfileSearchResult, 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 SearchFilters, aM as SearchResponse, aN as SifaQueryKey, aO as SimilarProfile, aP as SkillSearchResult, aQ as StatsResponse, aR as SubCategoryBulkResult, aS as SuggestionProfile, aT as SuggestionsResponse, aU as UnhideActivityItemInput, aV as UnlinkedPosition, aW as UnlinkedPositionsResult, aX as UpdateProfileOverrideInput, aY as UpdateProfileSelfInput, aZ as UploadAvatarResult, a_ as UploadPronunciationAudioResult, a$ as VerifyExternalAccountResult, b0 as WipePreview, b1 as addFeatureAllowlist, b2 as addOrgNotificationEmail, b3 as apiFetch, b4 as apiFetchOrNull, b5 as apiWrite, b6 as apiWriteCreate, b7 as bulkHideProfileItems, b8 as bulkHideStandardPublications, b9 as bulkUnhideProfileItems, ba as bulkUnhideStandardPublications, bb as castRoadmapVote, bc as checkAppAccount, bd as confirmEndorsement, be as createConfirmation, bf as createEndorsement, bg as createExternalAccount, bh as createProfileLocation, bi as createReaction, bj as createSkill, bk as deleteAccount, bl as deleteAvatarOverride, bm as deleteExternalAccount, bn as deleteNamePronunciationAudio, bo as deleteProfileLocation, bp as deleteReaction, bq as deleteRepoRecords, br as deleteSkill, bs as dismissConfirmation, bt as fetchAccounts, bu as fetchActivityFeed, bv as fetchActivityTeaser, bw as fetchAppsRegistry, bx as fetchExternalAccounts, by as fetchFeaturedProfile, bz as fetchFollowing, bA as fetchGivenConfirmations, bB as fetchHeatmapData, bC as fetchHiddenActivityItems, bD as fetchHiddenApps, bE as fetchInboxCounts, bF as fetchMyGithubPullRequests, bG as fetchMyRoadmapVotes, bH as fetchPendingConfirmations, bI as fetchProfileCompleteness, bJ as fetchReactionStatus, bK as fetchRepoInventory, bL as fetchRoadmapVotes, bM as fetchSearchFilters, bN as fetchSearchProfiles, bO as fetchSimilarProfiles, bP as fetchSkillSuggestions, bQ as fetchStats, bR as fetchSuggestionCount, bS as fetchSuggestions, bT as fetchUnlinkedPositions, bU as fetchWipePreview, bV as followUser, bW as getAdminReviewQueues, bX as getBlueskySuggestions, bY as getFollowers, bZ as getFollowing, b_ as getFollowingFeed, b$ as getMutuals, c0 as hideActivityItem, c1 as hideOrcidPublication, c2 as hideProfileItem, c3 as hideSifaPublication, c4 as hideStandardPublication, c5 as listFeatureAllowlist, c6 as refreshOrcidPublications, c7 as refreshPds, c8 as removeFeatureAllowlist, c9 as removeOrgNotificationEmail, ca as repoExportUrl, cb as requestOrgDomainChallenge, cc as resetProfile, cd as resolveQuotedPosts, ce as retractRoadmapVote, cf as revokeConfirmation, cg as searchSkills, ch as setExternalAccountPrimary, ci as submitOrgClaim, cj as switchAccount, ck as unfollowUser, cl as unhideActivityItem, cm as unhideOrcidPublication, cn as unhideProfileItem, co as unhideSifaPublication, cp as unhideStandardPublication, cq as unsetExternalAccountPrimary, cr as updateExternalAccount, cs as updateOrgProfile, ct as updateProfileLocation, cu as updateProfileOverride, cv as updateProfileSelf, cw as updateSkill, cx as updateSkillSubCategories, cy as uploadAvatar, cz as uploadNamePronunciationAudio, cA as verifyExternalAccount, cB as verifyOrgDomain } from '../org-BHz9ymjp.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, c as SifaProviderProps, U as UnfollowVariables, d as UpdateEducationVariables, e as UpdateExternalAccountVariables, f as UpdatePositionVariables, g as UpdateProfileLocationVariables, h as UpdateRecordVariables, i as UpdateSkillSubCategoriesVariables, j as UpdateSkillVariables, k as UseEntitySearchOptions, l as UseMyGithubPullRequestsParams, u as useAccounts, m as useActivityFeed, n as useActivityTeaser, o as useAddFeatureAllowlist, p as useAddOrgNotificationEmail, q as useAdminReviewQueues, r as useAppAccountCheck, s as useAppsRegistry, t as useAtFundLink, v as useBlueskySuggestions, w as useBulkHideProfileItems, x as useBulkHideStandardPublications, y as useBulkUnhideProfileItems, z as useBulkUnhideStandardPublications, B as useCanonicalSkillSearch, E as useCastRoadmapVote, G as useCreateConfirmation, H as useCreateEducation, I as useCreateEndorsement, J as useCreateExternalAccount, K as useCreatePosition, L as useCreateProfileLocation, M as useCreateReaction, N as useCreateRecord, O as useCreateSkill, Q as useDebouncedValue, T as useDeleteAccount, V as useDeleteAvatarOverride, W as useDeleteEducation, X as useDeleteExternalAccount, Y as useDeleteNamePronunciationAudio, Z as useDeletePosition, _ as useDeleteProfileLocation, $ as useDeleteReaction, a0 as useDeleteRecord, a1 as useDeleteRepoRecords, a2 as useDeleteSkill, a3 as useDismissConfirmation, a4 as useEndorsementCount, a5 as useEntitySearch, a6 as useExternalAccounts, a7 as useFeatureAllowlist, a8 as useFeaturedProfile, a9 as useFollow, aa as useFollowers, ab as useFollowing, ac as useFollowingFeed, ad as useFollowingList, ae as useGetProfileView, af as useGivenConfirmations, ag as useHeatmapData, ah as useHiddenActivityItems, ai as useHiddenApps, aj as useHideActivityItem, ak as useHideKeytraceClaim, al as useHideOrcidPublication, am as useHideProfileItem, an as useHideSifaPublication, ao as useHideStandardPublication, ap as useImportSearchEntities, aq as useInboxCounts, ar as useLinkSkillToPosition, as as useMintEntityDomain, at as useMutuals, au as useMyGithubPullRequests, av as useMyRoadmapVotes, aw as useNetworkStreamCount, ax as useOrgClaim, ay as useOrgDomainChallenge, az as useOrgDomainVerify, aA as useOrgProfile, aB as usePendingConfirmations, aC as useProfile, aD as useProfileCompleteness, aE as useReactionStatus, aF as useRefreshOrcidPublications, aG as useRefreshPds, aH as useRemoveFeatureAllowlist, aI as useRemoveOrgNotificationEmail, aJ as useRepoInventory, aK as useResetProfile, aL as useResolveEntityDomain, aM as useRetractRoadmapVote, aN as useRevealMarqueDomain, aO as useRevokeConfirmation, aP as useRoadmapVotes, aQ as useSearchFilters, aR as useSearchProfiles, aS as useSelectEntity, aT as useSetExternalAccountPrimary, aU as useSetPositionPrimary, aV as useSifaConfig, aW as useSimilarProfiles, aX as useSkillSuggestions, aY as useStats, aZ as useSuggestionCount, a_ as useSuggestions, a$ as useUnfollow, b0 as useUnhideActivityItem, b1 as useUnhideKeytraceClaim, b2 as useUnhideOrcidPublication, b3 as useUnhideProfileItem, b4 as useUnhideSifaPublication, b5 as useUnhideStandardPublication, b6 as useUnlinkSkillFromPosition, b7 as useUnlinkedPositions, b8 as useUnrevealMarqueDomain, b9 as useUnsetExternalAccountPrimary, ba as useUnsetPositionPrimary, bb as useUpdateEducation, bc as useUpdateExternalAccount, bd as useUpdateOrgProfile, be as useUpdatePosition, bf as useUpdateProfileLocation, bg as useUpdateProfileOverride, bh as useUpdateProfileSelf, bi as useUpdateRecord, bj as useUpdateSkill, bk as useUpdateSkillSubCategories, bl as useUploadAvatar, bm as useUploadNamePronunciationAudio, bn as useVerifyExternalAccount, bo as useWipePreview } from '../use-org-notification-emails-vNekuQKF.cjs';
|
|
4
|
+
import { R as ReceivedEndorsementsPage, a as ReciprocityCandidate, D as DismissEndorsementInput, P as PendingEndorsementsPage } from '../network-map-Cwv7SsL0.cjs';
|
|
5
|
+
export { F as FetchNetworkStreamCountOptions, b as FetchPendingEndorsementsOptions, N as NetworkMapEdge, c as NetworkMapGenerationJob, d as NetworkMapGraphData, e as NetworkMapNode, f as NetworkMapPendingJob, g as NetworkMapResponse, h as PendingEndorsement, i as ReceivedEndorsement, j as ReciprocitySkill, S as SpeakerCard, k as SpeakerDirectoryFilters, l as SpeakerGroup, m as SpeakersResponse, T as TalkEvent, n as TalkRow, o as TalkSpeaker, p as TalksResponse, q as checkNetworkMapJobStatus, r as createEducation, s as createPosition, t as createRecord, u as deleteEducation, v as deletePosition, w as deleteRecord, x as dismissEndorsement, y as fetchAtFundLink, z as fetchEndorsementCount, A as fetchEntitySearch, B as fetchGetProfileView, C as fetchNetworkMap, E as fetchNetworkStreamCount, G as fetchPendingEndorsements, H as fetchProfile, I as fetchProfileSummary, J as fetchReceivedEndorsements, K as fetchReciprocityCandidate, L as fetchSpeakers, M as fetchTalks, O as hideKeytraceClaim, Q as importSearchEntities, U as initiateNetworkMapGeneration, V as isNetworkMapResponse, W as linkSkillToPosition, X as mintEntityDomain, Y as resolveEntityDomain, Z as revealMarqueDomain, _ as selectEntity, $ as setPositionPrimary, a0 as unhideKeytraceClaim, a1 as unlinkSkillFromPosition, a2 as unrevealMarqueDomain, a3 as unsetPositionPrimary, a4 as updateEducation, a5 as updatePosition, a6 as updateRecord } from '../network-map-Cwv7SsL0.cjs';
|
|
6
6
|
import { C as CoSpeaker, m as ActorCard } from '../index-DIwi3bpk.cjs';
|
|
7
7
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
8
8
|
import { UseQueryOptions, UseMutationOptions } from '@tanstack/react-query';
|
package/dist/query/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { S as SifaApiConfig, A as ApiFetchOptions, s as sifaQueryKeys, C as CreateResult, a as ConfirmEndorsementInput, b as ConfirmEndorsementResult, W as WriteResult } from '../org-
|
|
2
|
-
export { c as AccountCheckResult, d as AccountSummary, e as ActivityFeedResponse, f as ActivityItem, g as ActivityItemLinkHealth, h as ActivityTeaserResponse, i as AdminReviewQueues, j as ApiError, k as AppRegistryEntry, B as BulkHideProfileItemInput, l as CastRoadmapVoteResult, m as CheckAppAccountOptions, n as ConfirmationInput, o as ConfirmationSubjectInput, p as CreateExternalAccountResult, D as DeleteAccountResult, E as EndorsementInput, q as ExternalAccountInput, F as FeatureAllowlistResponse, r as FeaturedProfile, t as FetchAccountsOptions, u as FetchActivityFeedOptions, v as FetchActivityTeaserOptions, w as
|
|
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, c as SifaProviderProps, U as UnfollowVariables, d as UpdateEducationVariables, e as UpdateExternalAccountVariables, f as UpdatePositionVariables, g as UpdateProfileLocationVariables, h as UpdateRecordVariables, i as UpdateSkillSubCategoriesVariables, j as UpdateSkillVariables, k as UseEntitySearchOptions, l as UseMyGithubPullRequestsParams, u as useAccounts, m as useActivityFeed, n as useActivityTeaser, o as useAddFeatureAllowlist, p as useAddOrgNotificationEmail, q as useAdminReviewQueues, r as useAppAccountCheck, s as useAppsRegistry, t as useAtFundLink, v as useBlueskySuggestions, w as useBulkHideProfileItems, x as useBulkHideStandardPublications, y as useBulkUnhideProfileItems, z as useBulkUnhideStandardPublications, B as useCanonicalSkillSearch, E as useCastRoadmapVote, G as useCreateConfirmation, H as useCreateEducation, I as useCreateEndorsement, J as useCreateExternalAccount, K as useCreatePosition, L as useCreateProfileLocation, M as useCreateReaction, N as useCreateRecord, O as useCreateSkill, Q as useDebouncedValue, T as useDeleteAccount, V as useDeleteAvatarOverride, W as useDeleteEducation, X as useDeleteExternalAccount, Y as useDeleteNamePronunciationAudio, Z as useDeletePosition, _ as useDeleteProfileLocation, $ as useDeleteReaction, a0 as useDeleteRecord, a1 as useDeleteRepoRecords, a2 as useDeleteSkill, a3 as useDismissConfirmation, a4 as useEndorsementCount, a5 as useEntitySearch, a6 as useExternalAccounts, a7 as useFeatureAllowlist, a8 as useFeaturedProfile, a9 as useFollow, aa as useFollowers, ab as useFollowing, ac as useFollowingFeed, ad as useFollowingList, ae as useGetProfileView, af as useGivenConfirmations, ag as useHeatmapData, ah as useHiddenActivityItems, ai as useHiddenApps, aj as useHideActivityItem, ak as useHideKeytraceClaim, al as useHideOrcidPublication, am as useHideProfileItem, an as useHideSifaPublication, ao as useHideStandardPublication, ap as useImportSearchEntities, aq as
|
|
4
|
-
import { R as ReceivedEndorsementsPage, a as ReciprocityCandidate, D as DismissEndorsementInput, P as PendingEndorsementsPage } from '../network-map-
|
|
5
|
-
export { F as FetchNetworkStreamCountOptions, N as NetworkMapEdge,
|
|
1
|
+
import { S as SifaApiConfig, A as ApiFetchOptions, s as sifaQueryKeys, C as CreateResult, a as ConfirmEndorsementInput, b as ConfirmEndorsementResult, W as WriteResult } from '../org-Bgz5parA.js';
|
|
2
|
+
export { c as AccountCheckResult, d as AccountSummary, e as ActivityFeedResponse, f as ActivityItem, g as ActivityItemLinkHealth, h as ActivityTeaserResponse, i as AdminReviewQueues, j as ApiError, k as AppRegistryEntry, B as BulkHideProfileItemInput, l as CastRoadmapVoteResult, m as CheckAppAccountOptions, n as ConfirmationInput, o as ConfirmationSubjectInput, p as CreateExternalAccountResult, D as DeleteAccountResult, E as EndorsementInput, q as ExternalAccountInput, F as FeatureAllowlistResponse, r as FeaturedProfile, t as FetchAccountsOptions, u as FetchActivityFeedOptions, v as FetchActivityTeaserOptions, w as FetchConfirmationsOptions, x as FetchFollowListOptions, y as FetchFollowProfilePageOptions, z as FetchFollowingFeedOptions, G as FetchHiddenActivityItemsOptions, H as FetchHiddenAppsOptions, I as FetchInboxCountsOptions, J as FetchMyGithubPullRequestsOptions, K as FetchMyRoadmapVotesOptions, L as FetchProfileCompletenessOptions, M as FetchReactionStatusOptions, N as FetchSuggestionsOptions, O as FetchUnlinkedPositionsOptions, P as FilterOptions, Q as FollowListPage, R as FollowProfile, T as FollowProfilePageResponse, U as FollowUserResult, V 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 ProfileCompleteness, ao as ProfileCompletenessSignal, ap as ProfileIndustryInput, aq as ProfileLocationAddress, ar as ProfileLocationInput, as as ProfileSearchResult, 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 SearchFilters, aM as SearchResponse, aN as SifaQueryKey, aO as SimilarProfile, aP as SkillSearchResult, aQ as StatsResponse, aR as SubCategoryBulkResult, aS as SuggestionProfile, aT as SuggestionsResponse, aU as UnhideActivityItemInput, aV as UnlinkedPosition, aW as UnlinkedPositionsResult, aX as UpdateProfileOverrideInput, aY as UpdateProfileSelfInput, aZ as UploadAvatarResult, a_ as UploadPronunciationAudioResult, a$ as VerifyExternalAccountResult, b0 as WipePreview, b1 as addFeatureAllowlist, b2 as addOrgNotificationEmail, b3 as apiFetch, b4 as apiFetchOrNull, b5 as apiWrite, b6 as apiWriteCreate, b7 as bulkHideProfileItems, b8 as bulkHideStandardPublications, b9 as bulkUnhideProfileItems, ba as bulkUnhideStandardPublications, bb as castRoadmapVote, bc as checkAppAccount, bd as confirmEndorsement, be as createConfirmation, bf as createEndorsement, bg as createExternalAccount, bh as createProfileLocation, bi as createReaction, bj as createSkill, bk as deleteAccount, bl as deleteAvatarOverride, bm as deleteExternalAccount, bn as deleteNamePronunciationAudio, bo as deleteProfileLocation, bp as deleteReaction, bq as deleteRepoRecords, br as deleteSkill, bs as dismissConfirmation, bt as fetchAccounts, bu as fetchActivityFeed, bv as fetchActivityTeaser, bw as fetchAppsRegistry, bx as fetchExternalAccounts, by as fetchFeaturedProfile, bz as fetchFollowing, bA as fetchGivenConfirmations, bB as fetchHeatmapData, bC as fetchHiddenActivityItems, bD as fetchHiddenApps, bE as fetchInboxCounts, bF as fetchMyGithubPullRequests, bG as fetchMyRoadmapVotes, bH as fetchPendingConfirmations, bI as fetchProfileCompleteness, bJ as fetchReactionStatus, bK as fetchRepoInventory, bL as fetchRoadmapVotes, bM as fetchSearchFilters, bN as fetchSearchProfiles, bO as fetchSimilarProfiles, bP as fetchSkillSuggestions, bQ as fetchStats, bR as fetchSuggestionCount, bS as fetchSuggestions, bT as fetchUnlinkedPositions, bU as fetchWipePreview, bV as followUser, bW as getAdminReviewQueues, bX as getBlueskySuggestions, bY as getFollowers, bZ as getFollowing, b_ as getFollowingFeed, b$ as getMutuals, c0 as hideActivityItem, c1 as hideOrcidPublication, c2 as hideProfileItem, c3 as hideSifaPublication, c4 as hideStandardPublication, c5 as listFeatureAllowlist, c6 as refreshOrcidPublications, c7 as refreshPds, c8 as removeFeatureAllowlist, c9 as removeOrgNotificationEmail, ca as repoExportUrl, cb as requestOrgDomainChallenge, cc as resetProfile, cd as resolveQuotedPosts, ce as retractRoadmapVote, cf as revokeConfirmation, cg as searchSkills, ch as setExternalAccountPrimary, ci as submitOrgClaim, cj as switchAccount, ck as unfollowUser, cl as unhideActivityItem, cm as unhideOrcidPublication, cn as unhideProfileItem, co as unhideSifaPublication, cp as unhideStandardPublication, cq as unsetExternalAccountPrimary, cr as updateExternalAccount, cs as updateOrgProfile, ct as updateProfileLocation, cu as updateProfileOverride, cv as updateProfileSelf, cw as updateSkill, cx as updateSkillSubCategories, cy as uploadAvatar, cz as uploadNamePronunciationAudio, cA as verifyExternalAccount, cB as verifyOrgDomain } from '../org-Bgz5parA.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, c as SifaProviderProps, U as UnfollowVariables, d as UpdateEducationVariables, e as UpdateExternalAccountVariables, f as UpdatePositionVariables, g as UpdateProfileLocationVariables, h as UpdateRecordVariables, i as UpdateSkillSubCategoriesVariables, j as UpdateSkillVariables, k as UseEntitySearchOptions, l as UseMyGithubPullRequestsParams, u as useAccounts, m as useActivityFeed, n as useActivityTeaser, o as useAddFeatureAllowlist, p as useAddOrgNotificationEmail, q as useAdminReviewQueues, r as useAppAccountCheck, s as useAppsRegistry, t as useAtFundLink, v as useBlueskySuggestions, w as useBulkHideProfileItems, x as useBulkHideStandardPublications, y as useBulkUnhideProfileItems, z as useBulkUnhideStandardPublications, B as useCanonicalSkillSearch, E as useCastRoadmapVote, G as useCreateConfirmation, H as useCreateEducation, I as useCreateEndorsement, J as useCreateExternalAccount, K as useCreatePosition, L as useCreateProfileLocation, M as useCreateReaction, N as useCreateRecord, O as useCreateSkill, Q as useDebouncedValue, T as useDeleteAccount, V as useDeleteAvatarOverride, W as useDeleteEducation, X as useDeleteExternalAccount, Y as useDeleteNamePronunciationAudio, Z as useDeletePosition, _ as useDeleteProfileLocation, $ as useDeleteReaction, a0 as useDeleteRecord, a1 as useDeleteRepoRecords, a2 as useDeleteSkill, a3 as useDismissConfirmation, a4 as useEndorsementCount, a5 as useEntitySearch, a6 as useExternalAccounts, a7 as useFeatureAllowlist, a8 as useFeaturedProfile, a9 as useFollow, aa as useFollowers, ab as useFollowing, ac as useFollowingFeed, ad as useFollowingList, ae as useGetProfileView, af as useGivenConfirmations, ag as useHeatmapData, ah as useHiddenActivityItems, ai as useHiddenApps, aj as useHideActivityItem, ak as useHideKeytraceClaim, al as useHideOrcidPublication, am as useHideProfileItem, an as useHideSifaPublication, ao as useHideStandardPublication, ap as useImportSearchEntities, aq as useInboxCounts, ar as useLinkSkillToPosition, as as useMintEntityDomain, at as useMutuals, au as useMyGithubPullRequests, av as useMyRoadmapVotes, aw as useNetworkStreamCount, ax as useOrgClaim, ay as useOrgDomainChallenge, az as useOrgDomainVerify, aA as useOrgProfile, aB as usePendingConfirmations, aC as useProfile, aD as useProfileCompleteness, aE as useReactionStatus, aF as useRefreshOrcidPublications, aG as useRefreshPds, aH as useRemoveFeatureAllowlist, aI as useRemoveOrgNotificationEmail, aJ as useRepoInventory, aK as useResetProfile, aL as useResolveEntityDomain, aM as useRetractRoadmapVote, aN as useRevealMarqueDomain, aO as useRevokeConfirmation, aP as useRoadmapVotes, aQ as useSearchFilters, aR as useSearchProfiles, aS as useSelectEntity, aT as useSetExternalAccountPrimary, aU as useSetPositionPrimary, aV as useSifaConfig, aW as useSimilarProfiles, aX as useSkillSuggestions, aY as useStats, aZ as useSuggestionCount, a_ as useSuggestions, a$ as useUnfollow, b0 as useUnhideActivityItem, b1 as useUnhideKeytraceClaim, b2 as useUnhideOrcidPublication, b3 as useUnhideProfileItem, b4 as useUnhideSifaPublication, b5 as useUnhideStandardPublication, b6 as useUnlinkSkillFromPosition, b7 as useUnlinkedPositions, b8 as useUnrevealMarqueDomain, b9 as useUnsetExternalAccountPrimary, ba as useUnsetPositionPrimary, bb as useUpdateEducation, bc as useUpdateExternalAccount, bd as useUpdateOrgProfile, be as useUpdatePosition, bf as useUpdateProfileLocation, bg as useUpdateProfileOverride, bh as useUpdateProfileSelf, bi as useUpdateRecord, bj as useUpdateSkill, bk as useUpdateSkillSubCategories, bl as useUploadAvatar, bm as useUploadNamePronunciationAudio, bn as useVerifyExternalAccount, bo as useWipePreview } from '../use-org-notification-emails-C9CWyhSC.js';
|
|
4
|
+
import { R as ReceivedEndorsementsPage, a as ReciprocityCandidate, D as DismissEndorsementInput, P as PendingEndorsementsPage } from '../network-map-5WbfyFed.js';
|
|
5
|
+
export { F as FetchNetworkStreamCountOptions, b as FetchPendingEndorsementsOptions, N as NetworkMapEdge, c as NetworkMapGenerationJob, d as NetworkMapGraphData, e as NetworkMapNode, f as NetworkMapPendingJob, g as NetworkMapResponse, h as PendingEndorsement, i as ReceivedEndorsement, j as ReciprocitySkill, S as SpeakerCard, k as SpeakerDirectoryFilters, l as SpeakerGroup, m as SpeakersResponse, T as TalkEvent, n as TalkRow, o as TalkSpeaker, p as TalksResponse, q as checkNetworkMapJobStatus, r as createEducation, s as createPosition, t as createRecord, u as deleteEducation, v as deletePosition, w as deleteRecord, x as dismissEndorsement, y as fetchAtFundLink, z as fetchEndorsementCount, A as fetchEntitySearch, B as fetchGetProfileView, C as fetchNetworkMap, E as fetchNetworkStreamCount, G as fetchPendingEndorsements, H as fetchProfile, I as fetchProfileSummary, J as fetchReceivedEndorsements, K as fetchReciprocityCandidate, L as fetchSpeakers, M as fetchTalks, O as hideKeytraceClaim, Q as importSearchEntities, U as initiateNetworkMapGeneration, V as isNetworkMapResponse, W as linkSkillToPosition, X as mintEntityDomain, Y as resolveEntityDomain, Z as revealMarqueDomain, _ as selectEntity, $ as setPositionPrimary, a0 as unhideKeytraceClaim, a1 as unlinkSkillFromPosition, a2 as unrevealMarqueDomain, a3 as unsetPositionPrimary, a4 as updateEducation, a5 as updatePosition, a6 as updateRecord } from '../network-map-5WbfyFed.js';
|
|
6
6
|
import { C as CoSpeaker, m as ActorCard } from '../index-DIwi3bpk.js';
|
|
7
7
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
8
8
|
import { UseQueryOptions, UseMutationOptions } from '@tanstack/react-query';
|
package/dist/query/index.js
CHANGED
|
@@ -510,12 +510,16 @@ async function fetchReciprocityCandidate(config, options = {}) {
|
|
|
510
510
|
|
|
511
511
|
// src/query/fetchers/endorsement-inbox.ts
|
|
512
512
|
async function fetchPendingEndorsements(config, options = {}) {
|
|
513
|
+
const { cookieHeader, ...rest } = options;
|
|
514
|
+
const headers = { ...rest.headers ?? {} };
|
|
515
|
+
if (cookieHeader) headers.cookie = cookieHeader;
|
|
513
516
|
try {
|
|
514
517
|
const data = await apiFetch(config, "/api/endorsements/pending", {
|
|
515
518
|
cache: "no-store",
|
|
516
519
|
credentials: "include",
|
|
517
520
|
timeoutMs: 5e3,
|
|
518
|
-
...
|
|
521
|
+
...rest,
|
|
522
|
+
headers
|
|
519
523
|
});
|
|
520
524
|
return { endorsements: data?.endorsements ?? [], cursor: data?.cursor };
|
|
521
525
|
} catch {
|
|
@@ -528,12 +532,16 @@ function dismissEndorsement(config, data, options = {}) {
|
|
|
528
532
|
|
|
529
533
|
// src/query/fetchers/confirmations.ts
|
|
530
534
|
async function fetchPendingConfirmations(config, options = {}) {
|
|
535
|
+
const { cookieHeader, ...rest } = options;
|
|
536
|
+
const headers = { ...rest.headers ?? {} };
|
|
537
|
+
if (cookieHeader) headers.cookie = cookieHeader;
|
|
531
538
|
try {
|
|
532
539
|
const data = await apiFetch(config, "/api/confirmations/pending", {
|
|
533
540
|
cache: "no-store",
|
|
534
541
|
credentials: "include",
|
|
535
542
|
timeoutMs: 5e3,
|
|
536
|
-
...
|
|
543
|
+
...rest,
|
|
544
|
+
headers
|
|
537
545
|
});
|
|
538
546
|
return { confirmations: data?.confirmations ?? [], cursor: data?.cursor };
|
|
539
547
|
} catch {
|
|
@@ -541,11 +549,14 @@ async function fetchPendingConfirmations(config, options = {}) {
|
|
|
541
549
|
}
|
|
542
550
|
}
|
|
543
551
|
async function fetchGivenConfirmations(config, options = {}) {
|
|
552
|
+
const { cookieHeader, ...rest } = options;
|
|
553
|
+
const headers = { ...rest.headers ?? {} };
|
|
554
|
+
if (cookieHeader) headers.cookie = cookieHeader;
|
|
544
555
|
try {
|
|
545
556
|
const data = await apiFetch(
|
|
546
557
|
config,
|
|
547
558
|
"/api/confirmations/mine",
|
|
548
|
-
{ cache: "no-store", credentials: "include", timeoutMs: 5e3, ...
|
|
559
|
+
{ cache: "no-store", credentials: "include", timeoutMs: 5e3, ...rest, headers }
|
|
549
560
|
);
|
|
550
561
|
return { confirmations: data?.confirmations ?? [] };
|
|
551
562
|
} catch {
|
|
@@ -562,6 +573,90 @@ function revokeConfirmation(config, data, options = {}) {
|
|
|
562
573
|
return apiWrite(config, "/api/confirmation/revoke", "POST", { body: data, ...options });
|
|
563
574
|
}
|
|
564
575
|
|
|
576
|
+
// src/query/fetchers/inbox.ts
|
|
577
|
+
function toCount(value) {
|
|
578
|
+
return typeof value === "number" && Number.isFinite(value) && value >= 0 ? Math.trunc(value) : 0;
|
|
579
|
+
}
|
|
580
|
+
async function fetchInboxCounts(config, options = {}) {
|
|
581
|
+
const { cookieHeader, ...rest } = options;
|
|
582
|
+
const headers = { ...rest.headers ?? {} };
|
|
583
|
+
if (cookieHeader) headers.cookie = cookieHeader;
|
|
584
|
+
try {
|
|
585
|
+
const data = await apiFetch(config, "/api/inbox/counts", {
|
|
586
|
+
cache: "no-store",
|
|
587
|
+
credentials: "include",
|
|
588
|
+
timeoutMs: 5e3,
|
|
589
|
+
...rest,
|
|
590
|
+
headers
|
|
591
|
+
});
|
|
592
|
+
return {
|
|
593
|
+
tasks: toCount(data?.tasks),
|
|
594
|
+
unreadNotifications: toCount(data?.unreadNotifications)
|
|
595
|
+
};
|
|
596
|
+
} catch {
|
|
597
|
+
return { tasks: 0, unreadNotifications: 0 };
|
|
598
|
+
}
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
// src/query/fetchers/unlinked-positions.ts
|
|
602
|
+
async function fetchUnlinkedPositions(config, options = {}) {
|
|
603
|
+
const { cookieHeader, ...rest } = options;
|
|
604
|
+
const headers = { ...rest.headers ?? {} };
|
|
605
|
+
if (cookieHeader) headers.cookie = cookieHeader;
|
|
606
|
+
try {
|
|
607
|
+
const data = await apiFetch(config, "/api/positions/unlinked", {
|
|
608
|
+
cache: "no-store",
|
|
609
|
+
credentials: "include",
|
|
610
|
+
timeoutMs: 5e3,
|
|
611
|
+
...rest,
|
|
612
|
+
headers
|
|
613
|
+
});
|
|
614
|
+
return { positions: Array.isArray(data?.positions) ? data.positions : [] };
|
|
615
|
+
} catch {
|
|
616
|
+
return { positions: [] };
|
|
617
|
+
}
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
// src/query/fetchers/profile-completeness.ts
|
|
621
|
+
var PROFILE_COMPLETENESS_SIGNALS = [
|
|
622
|
+
"headline",
|
|
623
|
+
"about",
|
|
624
|
+
"position",
|
|
625
|
+
"education",
|
|
626
|
+
"skill",
|
|
627
|
+
"certification"
|
|
628
|
+
];
|
|
629
|
+
async function fetchProfileCompleteness(config, options = {}) {
|
|
630
|
+
const { cookieHeader, ...rest } = options;
|
|
631
|
+
const headers = { ...rest.headers ?? {} };
|
|
632
|
+
if (cookieHeader) headers.cookie = cookieHeader;
|
|
633
|
+
const empty = {
|
|
634
|
+
complete: true,
|
|
635
|
+
score: PROFILE_COMPLETENESS_SIGNALS.length,
|
|
636
|
+
total: PROFILE_COMPLETENESS_SIGNALS.length,
|
|
637
|
+
missing: []
|
|
638
|
+
};
|
|
639
|
+
try {
|
|
640
|
+
const data = await apiFetch(config, "/api/profile/completeness", {
|
|
641
|
+
cache: "no-store",
|
|
642
|
+
credentials: "include",
|
|
643
|
+
timeoutMs: 5e3,
|
|
644
|
+
...rest,
|
|
645
|
+
headers
|
|
646
|
+
});
|
|
647
|
+
if (!data) return empty;
|
|
648
|
+
const missing = Array.isArray(data.missing) ? data.missing : [];
|
|
649
|
+
return {
|
|
650
|
+
complete: data.complete ?? missing.length === 0,
|
|
651
|
+
score: data.score ?? PROFILE_COMPLETENESS_SIGNALS.length - missing.length,
|
|
652
|
+
total: data.total ?? PROFILE_COMPLETENESS_SIGNALS.length,
|
|
653
|
+
missing
|
|
654
|
+
};
|
|
655
|
+
} catch {
|
|
656
|
+
return empty;
|
|
657
|
+
}
|
|
658
|
+
}
|
|
659
|
+
|
|
565
660
|
// src/query/fetchers/actor.ts
|
|
566
661
|
async function fetchResolveActor(config, handleOrDid, options = {}) {
|
|
567
662
|
const q = handleOrDid.trim().replace(/^@/, "");
|
|
@@ -1618,11 +1713,23 @@ var sifaQueryKeys = {
|
|
|
1618
1713
|
byHandle: (handleOrDid) => ["sifa", "profile", handleOrDid],
|
|
1619
1714
|
atFundLink: (did) => ["sifa", "profile", "at-fund-link", did],
|
|
1620
1715
|
view: (actor) => ["sifa", "profile", "view", actor],
|
|
1621
|
-
externalAccounts: (handleOrDid) => ["sifa", "profile", "external-accounts", handleOrDid]
|
|
1716
|
+
externalAccounts: (handleOrDid) => ["sifa", "profile", "external-accounts", handleOrDid],
|
|
1717
|
+
// Session-scoped: the AppView reads the owner from the session cookie, so
|
|
1718
|
+
// there is only ever one completeness result per client.
|
|
1719
|
+
completeness: () => ["sifa", "profile", "completeness"]
|
|
1622
1720
|
},
|
|
1623
1721
|
position: {
|
|
1624
1722
|
all: () => ["sifa", "position"],
|
|
1625
|
-
byOwner: (did) => ["sifa", "position", "by-owner", did]
|
|
1723
|
+
byOwner: (did) => ["sifa", "position", "by-owner", did],
|
|
1724
|
+
// Session-scoped: the AppView reads the owner from the session cookie.
|
|
1725
|
+
unlinked: () => ["sifa", "position", "unlinked"]
|
|
1726
|
+
},
|
|
1727
|
+
// Aggregate inbox counts for the header bell badge (session-scoped). The first
|
|
1728
|
+
// aggregate namespace: it fans in across confirmations, endorsements, drift,
|
|
1729
|
+
// unlinked positions and profile completeness on the server.
|
|
1730
|
+
inbox: {
|
|
1731
|
+
all: () => ["sifa", "inbox"],
|
|
1732
|
+
counts: () => ["sifa", "inbox", "counts"]
|
|
1626
1733
|
},
|
|
1627
1734
|
search: {
|
|
1628
1735
|
all: () => ["sifa", "search"],
|
|
@@ -2402,6 +2509,9 @@ function useConfirmEndorsement(subjectHandleOrDid, options) {
|
|
|
2402
2509
|
await queryClient.invalidateQueries({
|
|
2403
2510
|
queryKey: sifaQueryKeys.endorsement.pending()
|
|
2404
2511
|
});
|
|
2512
|
+
await queryClient.invalidateQueries({
|
|
2513
|
+
queryKey: sifaQueryKeys.inbox.counts()
|
|
2514
|
+
});
|
|
2405
2515
|
if (subjectHandleOrDid) {
|
|
2406
2516
|
await queryClient.invalidateQueries({
|
|
2407
2517
|
queryKey: sifaQueryKeys.profile.byHandle(subjectHandleOrDid)
|
|
@@ -2428,6 +2538,9 @@ function useDismissEndorsement(options) {
|
|
|
2428
2538
|
await queryClient.invalidateQueries({
|
|
2429
2539
|
queryKey: sifaQueryKeys.endorsement.pending()
|
|
2430
2540
|
});
|
|
2541
|
+
await queryClient.invalidateQueries({
|
|
2542
|
+
queryKey: sifaQueryKeys.inbox.counts()
|
|
2543
|
+
});
|
|
2431
2544
|
}
|
|
2432
2545
|
await options?.onSuccess?.(result, variables, onMutateResult, context);
|
|
2433
2546
|
}
|
|
@@ -2465,6 +2578,9 @@ function useCreateConfirmation(claimerHandleOrDid, options) {
|
|
|
2465
2578
|
await queryClient.invalidateQueries({
|
|
2466
2579
|
queryKey: sifaQueryKeys.confirmation.given()
|
|
2467
2580
|
});
|
|
2581
|
+
await queryClient.invalidateQueries({
|
|
2582
|
+
queryKey: sifaQueryKeys.inbox.counts()
|
|
2583
|
+
});
|
|
2468
2584
|
if (claimerHandleOrDid) {
|
|
2469
2585
|
await queryClient.invalidateQueries({
|
|
2470
2586
|
queryKey: sifaQueryKeys.profile.byHandle(claimerHandleOrDid)
|
|
@@ -2488,6 +2604,9 @@ function useDismissConfirmation(options) {
|
|
|
2488
2604
|
await queryClient.invalidateQueries({
|
|
2489
2605
|
queryKey: sifaQueryKeys.confirmation.pending()
|
|
2490
2606
|
});
|
|
2607
|
+
await queryClient.invalidateQueries({
|
|
2608
|
+
queryKey: sifaQueryKeys.inbox.counts()
|
|
2609
|
+
});
|
|
2491
2610
|
}
|
|
2492
2611
|
await options?.onSuccess?.(result, variables, onMutateResult, context);
|
|
2493
2612
|
}
|
|
@@ -2506,6 +2625,12 @@ function useRevokeConfirmation(claimerHandleOrDid, options) {
|
|
|
2506
2625
|
await queryClient.invalidateQueries({
|
|
2507
2626
|
queryKey: sifaQueryKeys.confirmation.pending()
|
|
2508
2627
|
});
|
|
2628
|
+
await queryClient.invalidateQueries({
|
|
2629
|
+
queryKey: sifaQueryKeys.confirmation.given()
|
|
2630
|
+
});
|
|
2631
|
+
await queryClient.invalidateQueries({
|
|
2632
|
+
queryKey: sifaQueryKeys.inbox.counts()
|
|
2633
|
+
});
|
|
2509
2634
|
if (claimerHandleOrDid) {
|
|
2510
2635
|
await queryClient.invalidateQueries({
|
|
2511
2636
|
queryKey: sifaQueryKeys.profile.byHandle(claimerHandleOrDid)
|
|
@@ -2516,6 +2641,30 @@ function useRevokeConfirmation(claimerHandleOrDid, options) {
|
|
|
2516
2641
|
}
|
|
2517
2642
|
});
|
|
2518
2643
|
}
|
|
2644
|
+
function useInboxCounts(options) {
|
|
2645
|
+
const config = useSifaConfig();
|
|
2646
|
+
return useQuery({
|
|
2647
|
+
queryKey: sifaQueryKeys.inbox.counts(),
|
|
2648
|
+
queryFn: () => fetchInboxCounts(config),
|
|
2649
|
+
...options
|
|
2650
|
+
});
|
|
2651
|
+
}
|
|
2652
|
+
function useUnlinkedPositions(options) {
|
|
2653
|
+
const config = useSifaConfig();
|
|
2654
|
+
return useQuery({
|
|
2655
|
+
queryKey: sifaQueryKeys.position.unlinked(),
|
|
2656
|
+
queryFn: () => fetchUnlinkedPositions(config),
|
|
2657
|
+
...options
|
|
2658
|
+
});
|
|
2659
|
+
}
|
|
2660
|
+
function useProfileCompleteness(options) {
|
|
2661
|
+
const config = useSifaConfig();
|
|
2662
|
+
return useQuery({
|
|
2663
|
+
queryKey: sifaQueryKeys.profile.completeness(),
|
|
2664
|
+
queryFn: () => fetchProfileCompleteness(config),
|
|
2665
|
+
...options
|
|
2666
|
+
});
|
|
2667
|
+
}
|
|
2519
2668
|
async function invalidateProfile6(queryClient, ownerHandleOrDid) {
|
|
2520
2669
|
await queryClient.invalidateQueries({
|
|
2521
2670
|
queryKey: sifaQueryKeys.profile.byHandle(ownerHandleOrDid)
|
|
@@ -3467,6 +3616,6 @@ function useRemoveOrgNotificationEmail(options) {
|
|
|
3467
3616
|
});
|
|
3468
3617
|
}
|
|
3469
3618
|
|
|
3470
|
-
export { ApiError, HIDDEN_ITEM_SOURCES, HIDDEN_ITEM_TYPES, QUOTED_POSTS_BATCH_MAX, SifaProvider, addFeatureAllowlist, addOrgNotificationEmail, apiFetch, apiFetchOrNull, apiWrite, apiWriteCreate, bulkHideProfileItems, bulkHideStandardPublications, bulkUnhideProfileItems, bulkUnhideStandardPublications, castRoadmapVote, checkAppAccount, checkNetworkMapJobStatus, confirmEndorsement, createConfirmation, createEducation, createEndorsement, createExternalAccount, createPosition, createProfileLocation, createReaction, createRecord, createSkill, deleteAccount, deleteAvatarOverride, deleteEducation, deleteExternalAccount, deleteNamePronunciationAudio, deletePosition, deleteProfileLocation, deleteReaction, deleteRecord, deleteRepoRecords, deleteSkill, dismissConfirmation, dismissEndorsement, effectiveContentVisibility, fetchAccounts, fetchActivityFeed, fetchActivityTeaser, fetchAppsRegistry, fetchAtFundLink, fetchBskyContentLabelPrefs, fetchEndorsementCount, fetchEntitySearch, fetchExternalAccounts, fetchFeaturedProfile, fetchFollowing, fetchGetProfileView, fetchGivenConfirmations, fetchHeatmapData, fetchHiddenActivityItems, fetchHiddenApps, fetchMyGithubPullRequests, fetchMyRoadmapVotes, fetchNetworkMap, fetchNetworkStreamCount, fetchPendingConfirmations, fetchPendingEndorsements, fetchProfile, fetchProfileSummary, fetchReactionStatus, fetchReceivedEndorsements, fetchReciprocityCandidate, fetchRepoInventory, fetchResolveActor, fetchRoadmapVotes, fetchSearchFilters, fetchSearchProfiles, fetchSimilarProfiles, fetchSkillSuggestions, fetchSpeakers, fetchStats, fetchSuggestionCount, fetchSuggestions, fetchTalks, fetchTypeaheadActors, fetchWipePreview, followUser, getAdminReviewQueues, getBlueskySuggestions, getFollowers, getFollowing, getFollowingFeed, getMutuals, hideActivityItem, hideKeytraceClaim, hideOrcidPublication, hideProfileItem, hideSifaPublication, hideStandardPublication, importSearchEntities, initiateNetworkMapGeneration, isNetworkMapResponse, linkSkillToPosition, listFeatureAllowlist, mintEntityDomain, refreshOrcidPublications, refreshPds, removeFeatureAllowlist, removeOrgNotificationEmail, repoExportUrl, requestOrgDomainChallenge, resetProfile, resolveEntityDomain, resolveQuotedPosts, retractRoadmapVote, revealMarqueDomain, revokeConfirmation, searchSkills, selectEntity, setExternalAccountPrimary, setPositionPrimary, shouldGateAdultMedia, sifaQueryKeys, submitOrgClaim, switchAccount, unfollowUser, unhideActivityItem, unhideKeytraceClaim, unhideOrcidPublication, unhideProfileItem, unhideSifaPublication, unhideStandardPublication, unlinkSkillFromPosition, unrevealMarqueDomain, unsetExternalAccountPrimary, unsetPositionPrimary, updateBskyContentLabelPrefs, updateEducation, updateExternalAccount, updateOrgProfile, updatePosition, updateProfileLocation, updateProfileOverride, updateProfileSelf, updateRecord, updateSkill, updateSkillSubCategories, uploadAvatar, uploadNamePronunciationAudio, useAccounts, useActivityFeed, useActivityTeaser, useAddFeatureAllowlist, useAddOrgNotificationEmail, useAdminReviewQueues, useAppAccountCheck, useAppsRegistry, useAtFundLink, useBlueskySuggestions, useBskyContentLabelPrefs, useBulkHideProfileItems, useBulkHideStandardPublications, useBulkUnhideProfileItems, useBulkUnhideStandardPublications, useCanonicalSkillSearch, useCastRoadmapVote, useConfirmEndorsement, useCreateConfirmation, useCreateEducation, useCreateEndorsement, useCreateExternalAccount, useCreatePosition, useCreateProfileLocation, useCreateReaction, useCreateRecord, useCreateSkill, useDebouncedValue, useDeleteAccount, useDeleteAvatarOverride, useDeleteEducation, useDeleteExternalAccount, useDeleteNamePronunciationAudio, useDeletePosition, useDeleteProfileLocation, useDeleteReaction, useDeleteRecord, useDeleteRepoRecords, useDeleteSkill, useDismissConfirmation, useDismissEndorsement, useEndorsementCount, useEntitySearch, useExternalAccounts, useFeatureAllowlist, useFeaturedProfile, useFollow, useFollowers, useFollowing, useFollowingFeed, useFollowingList, useGetProfileView, useGivenConfirmations, useHeatmapData, useHiddenActivityItems, useHiddenApps, useHideActivityItem, useHideKeytraceClaim, useHideOrcidPublication, useHideProfileItem, useHideSifaPublication, useHideStandardPublication, useImportSearchEntities, useLinkSkillToPosition, useMintEntityDomain, useMutuals, useMyGithubPullRequests, useMyRoadmapVotes, useNetworkStreamCount, useOrgClaim, useOrgDomainChallenge, useOrgDomainVerify, useOrgProfile, usePendingConfirmations, usePendingEndorsements, useProfile, useReactionStatus, useReceivedEndorsements, useReciprocityCandidate, useRefreshOrcidPublications, useRefreshPds, useRemoveFeatureAllowlist, useRemoveOrgNotificationEmail, useRepoInventory, useResetProfile, useResolveEntityDomain, useRetractRoadmapVote, useRevealMarqueDomain, useRevokeConfirmation, useRoadmapVotes, useSearchFilters, useSearchProfiles, useSelectEntity, useSetExternalAccountPrimary, useSetPositionPrimary, useSifaConfig, useSimilarProfiles, useSkillSuggestions, useStats, useSuggestionCount, useSuggestions, useUnfollow, useUnhideActivityItem, useUnhideKeytraceClaim, useUnhideOrcidPublication, useUnhideProfileItem, useUnhideSifaPublication, useUnhideStandardPublication, useUnlinkSkillFromPosition, useUnrevealMarqueDomain, useUnsetExternalAccountPrimary, useUnsetPositionPrimary, useUpdateBskyContentLabelPrefs, useUpdateEducation, useUpdateExternalAccount, useUpdateOrgProfile, useUpdatePosition, useUpdateProfileLocation, useUpdateProfileOverride, useUpdateProfileSelf, useUpdateRecord, useUpdateSkill, useUpdateSkillSubCategories, useUploadAvatar, useUploadNamePronunciationAudio, useVerifyExternalAccount, useWipePreview, verifyExternalAccount, verifyOrgDomain };
|
|
3619
|
+
export { ApiError, HIDDEN_ITEM_SOURCES, HIDDEN_ITEM_TYPES, PROFILE_COMPLETENESS_SIGNALS, QUOTED_POSTS_BATCH_MAX, SifaProvider, addFeatureAllowlist, addOrgNotificationEmail, apiFetch, apiFetchOrNull, apiWrite, apiWriteCreate, bulkHideProfileItems, bulkHideStandardPublications, bulkUnhideProfileItems, bulkUnhideStandardPublications, castRoadmapVote, checkAppAccount, checkNetworkMapJobStatus, confirmEndorsement, createConfirmation, createEducation, createEndorsement, createExternalAccount, createPosition, createProfileLocation, createReaction, createRecord, createSkill, deleteAccount, deleteAvatarOverride, deleteEducation, deleteExternalAccount, deleteNamePronunciationAudio, deletePosition, deleteProfileLocation, deleteReaction, deleteRecord, deleteRepoRecords, deleteSkill, dismissConfirmation, dismissEndorsement, effectiveContentVisibility, fetchAccounts, fetchActivityFeed, fetchActivityTeaser, fetchAppsRegistry, fetchAtFundLink, fetchBskyContentLabelPrefs, fetchEndorsementCount, fetchEntitySearch, fetchExternalAccounts, fetchFeaturedProfile, fetchFollowing, fetchGetProfileView, fetchGivenConfirmations, fetchHeatmapData, fetchHiddenActivityItems, fetchHiddenApps, fetchInboxCounts, fetchMyGithubPullRequests, fetchMyRoadmapVotes, fetchNetworkMap, fetchNetworkStreamCount, fetchPendingConfirmations, fetchPendingEndorsements, fetchProfile, fetchProfileCompleteness, fetchProfileSummary, fetchReactionStatus, fetchReceivedEndorsements, fetchReciprocityCandidate, fetchRepoInventory, fetchResolveActor, fetchRoadmapVotes, fetchSearchFilters, fetchSearchProfiles, fetchSimilarProfiles, fetchSkillSuggestions, fetchSpeakers, fetchStats, fetchSuggestionCount, fetchSuggestions, fetchTalks, fetchTypeaheadActors, fetchUnlinkedPositions, fetchWipePreview, followUser, getAdminReviewQueues, getBlueskySuggestions, getFollowers, getFollowing, getFollowingFeed, getMutuals, hideActivityItem, hideKeytraceClaim, hideOrcidPublication, hideProfileItem, hideSifaPublication, hideStandardPublication, importSearchEntities, initiateNetworkMapGeneration, isNetworkMapResponse, linkSkillToPosition, listFeatureAllowlist, mintEntityDomain, refreshOrcidPublications, refreshPds, removeFeatureAllowlist, removeOrgNotificationEmail, repoExportUrl, requestOrgDomainChallenge, resetProfile, resolveEntityDomain, resolveQuotedPosts, retractRoadmapVote, revealMarqueDomain, revokeConfirmation, searchSkills, selectEntity, setExternalAccountPrimary, setPositionPrimary, shouldGateAdultMedia, sifaQueryKeys, submitOrgClaim, switchAccount, unfollowUser, unhideActivityItem, unhideKeytraceClaim, unhideOrcidPublication, unhideProfileItem, unhideSifaPublication, unhideStandardPublication, unlinkSkillFromPosition, unrevealMarqueDomain, unsetExternalAccountPrimary, unsetPositionPrimary, updateBskyContentLabelPrefs, updateEducation, updateExternalAccount, updateOrgProfile, updatePosition, updateProfileLocation, updateProfileOverride, updateProfileSelf, updateRecord, updateSkill, updateSkillSubCategories, uploadAvatar, uploadNamePronunciationAudio, useAccounts, useActivityFeed, useActivityTeaser, useAddFeatureAllowlist, useAddOrgNotificationEmail, useAdminReviewQueues, useAppAccountCheck, useAppsRegistry, useAtFundLink, useBlueskySuggestions, useBskyContentLabelPrefs, useBulkHideProfileItems, useBulkHideStandardPublications, useBulkUnhideProfileItems, useBulkUnhideStandardPublications, useCanonicalSkillSearch, useCastRoadmapVote, useConfirmEndorsement, useCreateConfirmation, useCreateEducation, useCreateEndorsement, useCreateExternalAccount, useCreatePosition, useCreateProfileLocation, useCreateReaction, useCreateRecord, useCreateSkill, useDebouncedValue, useDeleteAccount, useDeleteAvatarOverride, useDeleteEducation, useDeleteExternalAccount, useDeleteNamePronunciationAudio, useDeletePosition, useDeleteProfileLocation, useDeleteReaction, useDeleteRecord, useDeleteRepoRecords, useDeleteSkill, useDismissConfirmation, useDismissEndorsement, useEndorsementCount, useEntitySearch, useExternalAccounts, useFeatureAllowlist, useFeaturedProfile, useFollow, useFollowers, useFollowing, useFollowingFeed, useFollowingList, useGetProfileView, useGivenConfirmations, useHeatmapData, useHiddenActivityItems, useHiddenApps, useHideActivityItem, useHideKeytraceClaim, useHideOrcidPublication, useHideProfileItem, useHideSifaPublication, useHideStandardPublication, useImportSearchEntities, useInboxCounts, useLinkSkillToPosition, useMintEntityDomain, useMutuals, useMyGithubPullRequests, useMyRoadmapVotes, useNetworkStreamCount, useOrgClaim, useOrgDomainChallenge, useOrgDomainVerify, useOrgProfile, usePendingConfirmations, usePendingEndorsements, useProfile, useProfileCompleteness, useReactionStatus, useReceivedEndorsements, useReciprocityCandidate, useRefreshOrcidPublications, useRefreshPds, useRemoveFeatureAllowlist, useRemoveOrgNotificationEmail, useRepoInventory, useResetProfile, useResolveEntityDomain, useRetractRoadmapVote, useRevealMarqueDomain, useRevokeConfirmation, useRoadmapVotes, useSearchFilters, useSearchProfiles, useSelectEntity, useSetExternalAccountPrimary, useSetPositionPrimary, useSifaConfig, useSimilarProfiles, useSkillSuggestions, useStats, useSuggestionCount, useSuggestions, useUnfollow, useUnhideActivityItem, useUnhideKeytraceClaim, useUnhideOrcidPublication, useUnhideProfileItem, useUnhideSifaPublication, useUnhideStandardPublication, useUnlinkSkillFromPosition, useUnlinkedPositions, useUnrevealMarqueDomain, useUnsetExternalAccountPrimary, useUnsetPositionPrimary, useUpdateBskyContentLabelPrefs, useUpdateEducation, useUpdateExternalAccount, useUpdateOrgProfile, useUpdatePosition, useUpdateProfileLocation, useUpdateProfileOverride, useUpdateProfileSelf, useUpdateRecord, useUpdateSkill, useUpdateSkillSubCategories, useUploadAvatar, useUploadNamePronunciationAudio, useVerifyExternalAccount, useWipePreview, verifyExternalAccount, verifyOrgDomain };
|
|
3471
3620
|
//# sourceMappingURL=index.js.map
|
|
3472
3621
|
//# sourceMappingURL=index.js.map
|