@singi-labs/sifa-sdk 0.19.9 → 0.19.11
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 +34 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +28 -1
- package/dist/index.d.ts +28 -1
- package/dist/index.js +33 -2
- package/dist/index.js.map +1 -1
- package/dist/{network-map-DUIEbJf9.d.cts → network-map-BH_qbSvm.d.cts} +6 -2
- package/dist/{network-map-BXpm9LIk.d.ts → network-map-CBllUH38.d.ts} +6 -2
- 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/index.js +5 -0
- package/dist/query/fetchers/index.js.map +1 -1
- package/dist/query/index.cjs +5 -0
- package/dist/query/index.cjs.map +1 -1
- package/dist/query/index.d.cts +2 -2
- package/dist/query/index.d.ts +2 -2
- package/dist/query/index.js +5 -0
- package/dist/query/index.js.map +1 -1
- package/package.json +1 -1
package/dist/query/index.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
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-Bfrfa9sD.cjs';
|
|
2
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, q as DismissUnlinkedPositionInput, E as EndorsementInput, r as ExternalAccountInput, F as FeatureAllowlistResponse, t as FeaturedProfile, u as FetchAccountsOptions, v as FetchActivityFeedOptions, w as FetchActivityTeaserOptions, x as FetchConfirmationsOptions, y as FetchFollowListOptions, z as FetchFollowProfilePageOptions, G as FetchFollowingFeedOptions, H as FetchHiddenActivityItemsOptions, I as FetchHiddenAppsOptions, J as FetchInboxCountsOptions, K as FetchMyGithubPullRequestsOptions, L as FetchMyRoadmapVotesOptions, M as FetchProfileCompletenessOptions, N as FetchReactionStatusOptions, O as FetchSuggestionsOptions, P as FetchUnlinkedPositionsOptions, Q as FilterOptions, R as FollowListPage, T as FollowProfile, U as FollowProfilePageResponse, V as FollowUserResult, X as FollowingFeedApp, Y as FollowingFeedEmptyReason, Z as FollowingFeedResponse, _ as FollowingResponse, $ as GetAdminReviewQueuesOptions, a0 as GithubPullRequest, a1 as GivenConfirmation, a2 as HIDDEN_ITEM_SOURCES, a3 as HIDDEN_ITEM_TYPES, a4 as HeatmapDay, a5 as HeatmapResponse, a6 as HiddenActivityItem, a7 as HiddenApp, a8 as HiddenItemSource, a9 as HiddenItemType, aa as HideActivityItemInput, ab as HideProfileItemInput, ac as InboxCounts, ad as ListFeatureAllowlistOptions, ae as MyGithubPullRequestsResponse, af as OrgClaimBinding, ag as OrgClaimResult, ah as OrgDomainChallengeResult, ai as OrgDomainVerifyResult, aj as OrgNotificationEmailAddResult, ak as OrgNotificationEmailRemoveResult, al as OrgProfileEcho, am as OrgProfileUpdateResult, an as PROFILE_COMPLETENESS_SIGNALS, ao as PdsWipeOutcome, ap as PendingConfirmation, aq as PendingConfirmationsPage, ar as PrimarySection, as as ProfileCompleteness, at as ProfileCompletenessSignal, au as ProfileIndustryInput, av as ProfileLocationAddress, aw as ProfileLocationInput, ax as ProfileSearchResult, ay as ProfileSelfLocation, az as QUOTED_POSTS_BATCH_MAX, aA as QuotedPostAuthor, aB as QuotedPostImage, aC as QuotedPostResult, aD as QuotedPostView, aE as ReactionError, aF as ReactionResult, aG as ReactionStatus, aH as RefreshOrcidPublicationsResult, aI as RefreshPdsResult, aJ as RepoDeleteInput, aK as ResetProfileResult, aL as ResolveQuotedPostsOptions, aM as RoadmapVoteError, aN as RoadmapVoteResult, aO as RoadmapVoter, aP as RoadmapVotesResponse, aQ as SearchFilters, aR as SearchResponse, aS as SifaQueryKey, aT as SimilarProfile, aU as SkillSearchResult, aV as StatsResponse, aW as SubCategoryBulkResult, aX as SuggestionProfile, aY as SuggestionsResponse, aZ as UnhideActivityItemInput, a_ as UnlinkedPosition, a$ as UnlinkedPositionsResult, b0 as UpdateProfileOverrideInput, b1 as UpdateProfileSelfInput, b2 as UploadAvatarResult, b3 as UploadPronunciationAudioResult, b4 as VerifyExternalAccountResult, b5 as WipePreview, b6 as addFeatureAllowlist, b7 as addOrgNotificationEmail, b8 as apiFetch, b9 as apiFetchOrNull, ba as apiWrite, bb as apiWriteCreate, bc as bulkHideProfileItems, bd as bulkHideStandardPublications, be as bulkUnhideProfileItems, bf as bulkUnhideStandardPublications, bg as castRoadmapVote, bh as checkAppAccount, bi as confirmEndorsement, bj as createConfirmation, bk as createEndorsement, bl as createExternalAccount, bm as createProfileLocation, bn as createReaction, bo as createSkill, bp as deleteAccount, bq as deleteAvatarOverride, br as deleteExternalAccount, bs as deleteNamePronunciationAudio, bt as deleteProfileLocation, bu as deleteReaction, bv as deleteRepoRecords, bw as deleteSkill, bx as dismissConfirmation, by as dismissUnlinkedPosition, bz as fetchAccounts, bA as fetchActivityFeed, bB as fetchActivityTeaser, bC as fetchAppsRegistry, bD as fetchExternalAccounts, bE as fetchFeaturedProfile, bF as fetchFollowing, bG as fetchFollowingFeed, bH as fetchGivenConfirmations, bI as fetchHeatmapData, bJ as fetchHiddenActivityItems, bK as fetchHiddenApps, bL as fetchInboxCounts, bM as fetchMyGithubPullRequests, bN as fetchMyRoadmapVotes, bO as fetchPendingConfirmations, bP as fetchProfileCompleteness, bQ as fetchReactionStatus, bR as fetchRepoInventory, bS as fetchRoadmapVotes, bT as fetchSearchFilters, bU as fetchSearchProfiles, bV as fetchSimilarProfiles, bW as fetchSkillSuggestions, bX as fetchStats, bY as fetchSuggestionCount, bZ as fetchSuggestions, b_ as fetchUnlinkedPositions, b$ as fetchWipePreview, c0 as followUser, c1 as getAdminReviewQueues, c2 as getBlueskySuggestions, c3 as getFollowers, c4 as getFollowing, c5 as getMutuals, c6 as hideActivityItem, c7 as hideOrcidPublication, c8 as hideProfileItem, c9 as hideSifaPublication, ca as hideStandardPublication, cb as listFeatureAllowlist, cc as refreshOrcidPublications, cd as refreshPds, ce as removeFeatureAllowlist, cf as removeOrgNotificationEmail, cg as repoExportUrl, ch as requestOrgDomainChallenge, ci as resetProfile, cj as resolveQuotedPosts, ck as retractRoadmapVote, cl as revokeConfirmation, cm as searchSkills, cn as setExternalAccountPrimary, co as setSectionPrimary, cp as submitOrgClaim, cq as switchAccount, cr as unfollowUser, cs as unhideActivityItem, ct as unhideOrcidPublication, cu as unhideProfileItem, cv as unhideSifaPublication, cw as unhideStandardPublication, cx as unsetExternalAccountPrimary, cy as unsetSectionPrimary, cz as updateExternalAccount, cA as updateOrgProfile, cB as updateProfileLocation, cC as updateProfileOverride, cD as updateProfileSelf, cE as updateSkill, cF as updateSkillSubCategories, cG as uploadAvatar, cH as uploadNamePronunciationAudio, cI as verifyExternalAccount, cJ as verifyOrgDomain } from '../org-Bfrfa9sD.cjs';
|
|
3
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 useDismissUnlinkedPosition, a5 as useEndorsementCount, a6 as useEntitySearch, a7 as useExternalAccounts, a8 as useFeatureAllowlist, a9 as useFeaturedProfile, aa as useFollow, ab as useFollowers, ac as useFollowing, ad as useFollowingFeed, ae as useFollowingList, af as useGetProfileView, ag as useGivenConfirmations, ah as useHeatmapData, ai as useHiddenActivityItems, aj as useHiddenApps, ak as useHideActivityItem, al as useHideKeytraceClaim, am as useHideOrcidPublication, an as useHideProfileItem, ao as useHideSifaPublication, ap as useHideStandardPublication, aq as useImportSearchEntities, ar as useInboxCounts, as as useLinkSkillToPosition, at as useMintEntityDomain, au as useMutuals, av as useMyGithubPullRequests, aw as useMyRoadmapVotes, ax as useNetworkStreamCount, ay as useOrgClaim, az as useOrgDomainChallenge, aA as useOrgDomainVerify, aB as useOrgProfile, aC as usePendingConfirmations, aD as useProfile, aE as useProfileCompleteness, aF as useReactionStatus, aG as useRefreshOrcidPublications, aH as useRefreshPds, aI as useRemoveFeatureAllowlist, aJ as useRemoveOrgNotificationEmail, aK as useRepoInventory, aL as useResetProfile, aM as useResolveEntityDomain, aN as useRetractRoadmapVote, aO as useRevealMarqueDomain, aP as useRevokeConfirmation, aQ as useRoadmapVotes, aR as useSearchFilters, aS as useSearchProfiles, aT as useSelectEntity, aU as useSetExternalAccountPrimary, aV as useSetPositionPrimary, aW as useSetSectionPrimary, aX as useSifaConfig, aY as useSimilarProfiles, aZ as useSkillSuggestions, a_ as useStats, a$ as useSuggestionCount, b0 as useSuggestions, b1 as useUnfollow, b2 as useUnhideActivityItem, b3 as useUnhideKeytraceClaim, b4 as useUnhideOrcidPublication, b5 as useUnhideProfileItem, b6 as useUnhideSifaPublication, b7 as useUnhideStandardPublication, b8 as useUnlinkSkillFromPosition, b9 as useUnlinkedPositions, ba as useUnrevealMarqueDomain, bb as useUnsetExternalAccountPrimary, bc as useUnsetPositionPrimary, bd as useUnsetSectionPrimary, be as useUpdateEducation, bf as useUpdateExternalAccount, bg as useUpdateOrgProfile, bh as useUpdatePosition, bi as useUpdateProfileLocation, bj as useUpdateProfileOverride, bk as useUpdateProfileSelf, bl as useUpdateRecord, bm as useUpdateSkill, bn as useUpdateSkillSubCategories, bo as useUploadAvatar, bp as useUploadNamePronunciationAudio, bq as useVerifyExternalAccount, br as useWipePreview } from '../use-org-notification-emails-utRDdmt0.cjs';
|
|
4
|
-
import { R as ReceivedEndorsementsPage, a as ReciprocityCandidate, D as DismissEndorsementInput, P as PendingEndorsementsPage } from '../network-map-
|
|
5
|
-
export { F as FetchNetworkStreamCountOptions, b as FetchPendingEndorsementsOptions, N as NetworkMapEdge, c as NetworkMapGenerationJob, d as NetworkMapGraphData, e as NetworkMapNode, f as NetworkMapPendingJob, g as NetworkMapResponse, h as PendingEndorsement, i as ReceivedEndorsement, j as ReciprocitySkill, S as SpeakerCard, k as SpeakerDirectoryFilters, l as SpeakerGroup, m as SpeakersResponse, T as TalkEvent, n as TalkRow, o as TalkSpeaker, p as TalksResponse, q as checkNetworkMapJobStatus, r as createEducation, s as createPosition, t as createRecord, u as deleteEducation, v as deletePosition, w as deleteRecord, x as dismissEndorsement, y as fetchAtFundLink, z as fetchEndorsementCount, A as fetchEntitySearch, B as fetchGetProfileView, C as fetchNetworkMap, E as fetchNetworkStreamCount, G as fetchPendingEndorsements, H as fetchProfile, I as fetchProfileSummary, J as fetchReceivedEndorsements, K as fetchReciprocityCandidate, L as fetchSpeakers, M as fetchTalks, O as hideKeytraceClaim, Q as importSearchEntities, U as initiateNetworkMapGeneration, V as isNetworkMapResponse, W as linkSkillToPosition, X as mintEntityDomain, Y as resolveEntityDomain, Z as revealMarqueDomain, _ as selectEntity, $ as setPositionPrimary, a0 as unhideKeytraceClaim, a1 as unlinkSkillFromPosition, a2 as unrevealMarqueDomain, a3 as unsetPositionPrimary, a4 as updateEducation, a5 as updatePosition, a6 as updateRecord } from '../network-map-
|
|
4
|
+
import { R as ReceivedEndorsementsPage, a as ReciprocityCandidate, D as DismissEndorsementInput, P as PendingEndorsementsPage } from '../network-map-BH_qbSvm.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-BH_qbSvm.cjs';
|
|
6
6
|
import { C as CoSpeaker, m as ActorCard } from '../index-DDlGa7CO.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
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-H2bPqXeC.js';
|
|
2
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, q as DismissUnlinkedPositionInput, E as EndorsementInput, r as ExternalAccountInput, F as FeatureAllowlistResponse, t as FeaturedProfile, u as FetchAccountsOptions, v as FetchActivityFeedOptions, w as FetchActivityTeaserOptions, x as FetchConfirmationsOptions, y as FetchFollowListOptions, z as FetchFollowProfilePageOptions, G as FetchFollowingFeedOptions, H as FetchHiddenActivityItemsOptions, I as FetchHiddenAppsOptions, J as FetchInboxCountsOptions, K as FetchMyGithubPullRequestsOptions, L as FetchMyRoadmapVotesOptions, M as FetchProfileCompletenessOptions, N as FetchReactionStatusOptions, O as FetchSuggestionsOptions, P as FetchUnlinkedPositionsOptions, Q as FilterOptions, R as FollowListPage, T as FollowProfile, U as FollowProfilePageResponse, V as FollowUserResult, X as FollowingFeedApp, Y as FollowingFeedEmptyReason, Z as FollowingFeedResponse, _ as FollowingResponse, $ as GetAdminReviewQueuesOptions, a0 as GithubPullRequest, a1 as GivenConfirmation, a2 as HIDDEN_ITEM_SOURCES, a3 as HIDDEN_ITEM_TYPES, a4 as HeatmapDay, a5 as HeatmapResponse, a6 as HiddenActivityItem, a7 as HiddenApp, a8 as HiddenItemSource, a9 as HiddenItemType, aa as HideActivityItemInput, ab as HideProfileItemInput, ac as InboxCounts, ad as ListFeatureAllowlistOptions, ae as MyGithubPullRequestsResponse, af as OrgClaimBinding, ag as OrgClaimResult, ah as OrgDomainChallengeResult, ai as OrgDomainVerifyResult, aj as OrgNotificationEmailAddResult, ak as OrgNotificationEmailRemoveResult, al as OrgProfileEcho, am as OrgProfileUpdateResult, an as PROFILE_COMPLETENESS_SIGNALS, ao as PdsWipeOutcome, ap as PendingConfirmation, aq as PendingConfirmationsPage, ar as PrimarySection, as as ProfileCompleteness, at as ProfileCompletenessSignal, au as ProfileIndustryInput, av as ProfileLocationAddress, aw as ProfileLocationInput, ax as ProfileSearchResult, ay as ProfileSelfLocation, az as QUOTED_POSTS_BATCH_MAX, aA as QuotedPostAuthor, aB as QuotedPostImage, aC as QuotedPostResult, aD as QuotedPostView, aE as ReactionError, aF as ReactionResult, aG as ReactionStatus, aH as RefreshOrcidPublicationsResult, aI as RefreshPdsResult, aJ as RepoDeleteInput, aK as ResetProfileResult, aL as ResolveQuotedPostsOptions, aM as RoadmapVoteError, aN as RoadmapVoteResult, aO as RoadmapVoter, aP as RoadmapVotesResponse, aQ as SearchFilters, aR as SearchResponse, aS as SifaQueryKey, aT as SimilarProfile, aU as SkillSearchResult, aV as StatsResponse, aW as SubCategoryBulkResult, aX as SuggestionProfile, aY as SuggestionsResponse, aZ as UnhideActivityItemInput, a_ as UnlinkedPosition, a$ as UnlinkedPositionsResult, b0 as UpdateProfileOverrideInput, b1 as UpdateProfileSelfInput, b2 as UploadAvatarResult, b3 as UploadPronunciationAudioResult, b4 as VerifyExternalAccountResult, b5 as WipePreview, b6 as addFeatureAllowlist, b7 as addOrgNotificationEmail, b8 as apiFetch, b9 as apiFetchOrNull, ba as apiWrite, bb as apiWriteCreate, bc as bulkHideProfileItems, bd as bulkHideStandardPublications, be as bulkUnhideProfileItems, bf as bulkUnhideStandardPublications, bg as castRoadmapVote, bh as checkAppAccount, bi as confirmEndorsement, bj as createConfirmation, bk as createEndorsement, bl as createExternalAccount, bm as createProfileLocation, bn as createReaction, bo as createSkill, bp as deleteAccount, bq as deleteAvatarOverride, br as deleteExternalAccount, bs as deleteNamePronunciationAudio, bt as deleteProfileLocation, bu as deleteReaction, bv as deleteRepoRecords, bw as deleteSkill, bx as dismissConfirmation, by as dismissUnlinkedPosition, bz as fetchAccounts, bA as fetchActivityFeed, bB as fetchActivityTeaser, bC as fetchAppsRegistry, bD as fetchExternalAccounts, bE as fetchFeaturedProfile, bF as fetchFollowing, bG as fetchFollowingFeed, bH as fetchGivenConfirmations, bI as fetchHeatmapData, bJ as fetchHiddenActivityItems, bK as fetchHiddenApps, bL as fetchInboxCounts, bM as fetchMyGithubPullRequests, bN as fetchMyRoadmapVotes, bO as fetchPendingConfirmations, bP as fetchProfileCompleteness, bQ as fetchReactionStatus, bR as fetchRepoInventory, bS as fetchRoadmapVotes, bT as fetchSearchFilters, bU as fetchSearchProfiles, bV as fetchSimilarProfiles, bW as fetchSkillSuggestions, bX as fetchStats, bY as fetchSuggestionCount, bZ as fetchSuggestions, b_ as fetchUnlinkedPositions, b$ as fetchWipePreview, c0 as followUser, c1 as getAdminReviewQueues, c2 as getBlueskySuggestions, c3 as getFollowers, c4 as getFollowing, c5 as getMutuals, c6 as hideActivityItem, c7 as hideOrcidPublication, c8 as hideProfileItem, c9 as hideSifaPublication, ca as hideStandardPublication, cb as listFeatureAllowlist, cc as refreshOrcidPublications, cd as refreshPds, ce as removeFeatureAllowlist, cf as removeOrgNotificationEmail, cg as repoExportUrl, ch as requestOrgDomainChallenge, ci as resetProfile, cj as resolveQuotedPosts, ck as retractRoadmapVote, cl as revokeConfirmation, cm as searchSkills, cn as setExternalAccountPrimary, co as setSectionPrimary, cp as submitOrgClaim, cq as switchAccount, cr as unfollowUser, cs as unhideActivityItem, ct as unhideOrcidPublication, cu as unhideProfileItem, cv as unhideSifaPublication, cw as unhideStandardPublication, cx as unsetExternalAccountPrimary, cy as unsetSectionPrimary, cz as updateExternalAccount, cA as updateOrgProfile, cB as updateProfileLocation, cC as updateProfileOverride, cD as updateProfileSelf, cE as updateSkill, cF as updateSkillSubCategories, cG as uploadAvatar, cH as uploadNamePronunciationAudio, cI as verifyExternalAccount, cJ as verifyOrgDomain } from '../org-H2bPqXeC.js';
|
|
3
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 useDismissUnlinkedPosition, a5 as useEndorsementCount, a6 as useEntitySearch, a7 as useExternalAccounts, a8 as useFeatureAllowlist, a9 as useFeaturedProfile, aa as useFollow, ab as useFollowers, ac as useFollowing, ad as useFollowingFeed, ae as useFollowingList, af as useGetProfileView, ag as useGivenConfirmations, ah as useHeatmapData, ai as useHiddenActivityItems, aj as useHiddenApps, ak as useHideActivityItem, al as useHideKeytraceClaim, am as useHideOrcidPublication, an as useHideProfileItem, ao as useHideSifaPublication, ap as useHideStandardPublication, aq as useImportSearchEntities, ar as useInboxCounts, as as useLinkSkillToPosition, at as useMintEntityDomain, au as useMutuals, av as useMyGithubPullRequests, aw as useMyRoadmapVotes, ax as useNetworkStreamCount, ay as useOrgClaim, az as useOrgDomainChallenge, aA as useOrgDomainVerify, aB as useOrgProfile, aC as usePendingConfirmations, aD as useProfile, aE as useProfileCompleteness, aF as useReactionStatus, aG as useRefreshOrcidPublications, aH as useRefreshPds, aI as useRemoveFeatureAllowlist, aJ as useRemoveOrgNotificationEmail, aK as useRepoInventory, aL as useResetProfile, aM as useResolveEntityDomain, aN as useRetractRoadmapVote, aO as useRevealMarqueDomain, aP as useRevokeConfirmation, aQ as useRoadmapVotes, aR as useSearchFilters, aS as useSearchProfiles, aT as useSelectEntity, aU as useSetExternalAccountPrimary, aV as useSetPositionPrimary, aW as useSetSectionPrimary, aX as useSifaConfig, aY as useSimilarProfiles, aZ as useSkillSuggestions, a_ as useStats, a$ as useSuggestionCount, b0 as useSuggestions, b1 as useUnfollow, b2 as useUnhideActivityItem, b3 as useUnhideKeytraceClaim, b4 as useUnhideOrcidPublication, b5 as useUnhideProfileItem, b6 as useUnhideSifaPublication, b7 as useUnhideStandardPublication, b8 as useUnlinkSkillFromPosition, b9 as useUnlinkedPositions, ba as useUnrevealMarqueDomain, bb as useUnsetExternalAccountPrimary, bc as useUnsetPositionPrimary, bd as useUnsetSectionPrimary, be as useUpdateEducation, bf as useUpdateExternalAccount, bg as useUpdateOrgProfile, bh as useUpdatePosition, bi as useUpdateProfileLocation, bj as useUpdateProfileOverride, bk as useUpdateProfileSelf, bl as useUpdateRecord, bm as useUpdateSkill, bn as useUpdateSkillSubCategories, bo as useUploadAvatar, bp as useUploadNamePronunciationAudio, bq as useVerifyExternalAccount, br as useWipePreview } from '../use-org-notification-emails-CTFwRc0O.js';
|
|
4
|
-
import { R as ReceivedEndorsementsPage, a as ReciprocityCandidate, D as DismissEndorsementInput, P as PendingEndorsementsPage } from '../network-map-
|
|
5
|
-
export { F as FetchNetworkStreamCountOptions, b as FetchPendingEndorsementsOptions, N as NetworkMapEdge, c as NetworkMapGenerationJob, d as NetworkMapGraphData, e as NetworkMapNode, f as NetworkMapPendingJob, g as NetworkMapResponse, h as PendingEndorsement, i as ReceivedEndorsement, j as ReciprocitySkill, S as SpeakerCard, k as SpeakerDirectoryFilters, l as SpeakerGroup, m as SpeakersResponse, T as TalkEvent, n as TalkRow, o as TalkSpeaker, p as TalksResponse, q as checkNetworkMapJobStatus, r as createEducation, s as createPosition, t as createRecord, u as deleteEducation, v as deletePosition, w as deleteRecord, x as dismissEndorsement, y as fetchAtFundLink, z as fetchEndorsementCount, A as fetchEntitySearch, B as fetchGetProfileView, C as fetchNetworkMap, E as fetchNetworkStreamCount, G as fetchPendingEndorsements, H as fetchProfile, I as fetchProfileSummary, J as fetchReceivedEndorsements, K as fetchReciprocityCandidate, L as fetchSpeakers, M as fetchTalks, O as hideKeytraceClaim, Q as importSearchEntities, U as initiateNetworkMapGeneration, V as isNetworkMapResponse, W as linkSkillToPosition, X as mintEntityDomain, Y as resolveEntityDomain, Z as revealMarqueDomain, _ as selectEntity, $ as setPositionPrimary, a0 as unhideKeytraceClaim, a1 as unlinkSkillFromPosition, a2 as unrevealMarqueDomain, a3 as unsetPositionPrimary, a4 as updateEducation, a5 as updatePosition, a6 as updateRecord } from '../network-map-
|
|
4
|
+
import { R as ReceivedEndorsementsPage, a as ReciprocityCandidate, D as DismissEndorsementInput, P as PendingEndorsementsPage } from '../network-map-CBllUH38.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-CBllUH38.js';
|
|
6
6
|
import { C as CoSpeaker, m as ActorCard } from '../index-HgcjpMWO.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
|
@@ -527,10 +527,15 @@ async function fetchReciprocityCandidate(config, options = {}) {
|
|
|
527
527
|
}
|
|
528
528
|
|
|
529
529
|
// src/query/fetchers/endorsement-inbox.ts
|
|
530
|
+
var PENDING_ENDORSEMENTS_LXM = "id.sifa.endorsement.getPending";
|
|
530
531
|
async function fetchPendingEndorsements(config, options = {}) {
|
|
531
532
|
const { cookieHeader, ...rest } = options;
|
|
532
533
|
const headers = { ...rest.headers ?? {} };
|
|
533
534
|
if (cookieHeader) headers.cookie = cookieHeader;
|
|
535
|
+
if (config.getAuthToken) {
|
|
536
|
+
const token = await config.getAuthToken(PENDING_ENDORSEMENTS_LXM);
|
|
537
|
+
if (token) headers.Authorization = `Bearer ${token}`;
|
|
538
|
+
}
|
|
534
539
|
try {
|
|
535
540
|
const data = await apiFetch(config, "/api/endorsements/pending", {
|
|
536
541
|
cache: "no-store",
|