@singi-labs/sifa-sdk 0.12.76 → 0.12.78
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-a3xqWsNm.d.cts → index-Uj1NC0QC.d.cts} +28 -1
- package/dist/{index-a3xqWsNm.d.ts → index-Uj1NC0QC.d.ts} +28 -1
- package/dist/index.cjs +9 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +19 -5
- package/dist/index.d.ts +19 -5
- package/dist/index.js +9 -3
- package/dist/index.js.map +1 -1
- package/dist/jsonld/index.d.cts +1 -1
- package/dist/jsonld/index.d.ts +1 -1
- package/dist/{network-map-D5PJAs_l.d.cts → network-map-DMpXK9rM.d.cts} +30 -5
- package/dist/{network-map-BFjdjlj3.d.ts → network-map-kR4Ndke4.d.ts} +30 -5
- package/dist/{org-Co9muK52.d.ts → org-CnAMbO63.d.ts} +4 -3
- package/dist/{org-BOivj-0M.d.cts → org-DQyVyZ65.d.cts} +4 -3
- package/dist/{profile-summary-BTZAwG1z.d.cts → profile-summary-CbzSrQoE.d.cts} +1 -1
- package/dist/{profile-summary-Do5FY7Q0.d.ts → profile-summary-Yq3_odUX.d.ts} +1 -1
- package/dist/query/fetchers/index.cjs +24 -1
- package/dist/query/fetchers/index.cjs.map +1 -1
- package/dist/query/fetchers/index.d.cts +6 -6
- package/dist/query/fetchers/index.d.ts +6 -6
- package/dist/query/fetchers/index.js +24 -2
- package/dist/query/fetchers/index.js.map +1 -1
- package/dist/query/hooks/index.cjs +4 -1
- package/dist/query/hooks/index.cjs.map +1 -1
- package/dist/query/hooks/index.d.cts +5 -5
- package/dist/query/hooks/index.d.ts +5 -5
- package/dist/query/hooks/index.js +4 -1
- package/dist/query/hooks/index.js.map +1 -1
- package/dist/query/index.cjs +33 -1
- package/dist/query/index.cjs.map +1 -1
- package/dist/query/index.d.cts +19 -10
- package/dist/query/index.d.ts +19 -10
- package/dist/query/index.js +32 -2
- package/dist/query/index.js.map +1 -1
- package/dist/{types-D0LWpGtY.d.cts → types-B3KOVEYy.d.cts} +1 -1
- package/dist/{types-C3xxTGUE.d.ts → types-Ct7WNyn9.d.ts} +1 -1
- package/dist/{use-org-notification-emails-Do-Zjtf8.d.cts → use-org-notification-emails-C45soS39.d.cts} +3 -3
- package/dist/{use-org-notification-emails-Cz6OldEp.d.ts → use-org-notification-emails-DaZqJMfA.d.ts} +3 -3
- package/package.json +1 -2
package/dist/query/index.d.cts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { S as SifaApiConfig, A as ApiFetchOptions, C as CreateResult, a as ConfirmEndorsementInput, b as ConfirmEndorsementResult, W as WriteResult
|
|
2
|
-
export { c as AccountCheckResult, d as ActivityFeedResponse, e as ActivityItem, f as ActivityItemLinkHealth, g as ActivityTeaserResponse, h as AdminReviewQueues, i as ApiError, j as AppRegistryEntry, B as BulkHideProfileItemInput, k as CastRoadmapVoteResult, l as CheckAppAccountOptions, m as ConfirmationInput, n as ConfirmationSubjectInput, o as CreateExternalAccountResult, D as DeleteAccountResult, E as EndorsementInput, p as ExternalAccountInput, F as FeatureAllowlistResponse, q as FeaturedProfile, r as FetchActivityFeedOptions, t as FetchActivityTeaserOptions, u as FetchFollowListOptions, v as FetchFollowProfilePageOptions, w as FetchFollowingFeedOptions, x as FetchHiddenAppsOptions, y as FetchMyGithubPullRequestsOptions, z as FetchMyRoadmapVotesOptions, G as FetchReactionStatusOptions, H as FetchSuggestionsOptions, I as FilterOptions, J as FollowListPage, K as FollowProfile, L as FollowProfilePageResponse, M as FollowUserResult, N as FollowingResponse, O as GetAdminReviewQueuesOptions, P as GithubPullRequest, Q as GivenConfirmation, R as HIDDEN_ITEM_SOURCES, T as HIDDEN_ITEM_TYPES, U as HeatmapDay, V as HeatmapResponse, X as HiddenApp, Y as HiddenItemSource, Z as HiddenItemType, _ as HideProfileItemInput, $ as ListFeatureAllowlistOptions, a0 as MyGithubPullRequestsResponse, a1 as OrgClaimBinding, a2 as OrgClaimResult, a3 as OrgDomainChallengeResult, a4 as OrgDomainVerifyResult, a5 as OrgNotificationEmailAddResult, a6 as OrgNotificationEmailRemoveResult, a7 as OrgProfileEcho, a8 as OrgProfileUpdateResult, a9 as PdsWipeOutcome, aa as PendingConfirmation, ab as PendingConfirmationsPage, ac as ProfileIndustryInput, ad as ProfileLocationAddress, ae as ProfileLocationInput, af as ProfileSearchResult, ag as ProfileSelfLocation, ah as QUOTED_POSTS_BATCH_MAX, ai as QuotedPostAuthor, aj as QuotedPostImage, ak as QuotedPostResult, al as QuotedPostView, am as ReactionError, an as ReactionResult, ao as ReactionStatus, ap as RefreshOrcidPublicationsResult, aq as RefreshPdsResult, ar as RepoDeleteInput, as as ResetProfileResult, at as ResolveQuotedPostsOptions, au as RoadmapVoteError, av as RoadmapVoteResult, aw as RoadmapVoter, ax as RoadmapVotesResponse, ay as SearchFilters, az as SearchResponse, aA as SifaQueryKey, aB as SimilarProfile, aC as SkillSearchResult, aD as StatsResponse, aE as SubCategoryBulkResult, aF as SuggestionProfile, aG as SuggestionsResponse, aH as UpdateProfileOverrideInput, aI as UpdateProfileSelfInput, aJ as UploadAvatarResult, aK as VerifyExternalAccountResult, aL as WipePreview, aM as addFeatureAllowlist, aN as addOrgNotificationEmail, aO as apiFetch, aP as apiFetchOrNull, aQ as apiWrite, aR as apiWriteCreate, aS as bulkHideProfileItems, aT as bulkHideStandardPublications, aU as bulkUnhideProfileItems, aV as bulkUnhideStandardPublications, aW as castRoadmapVote, aX as checkAppAccount, aY as confirmEndorsement, aZ as createConfirmation, a_ as createEndorsement, a$ as createExternalAccount, b0 as createProfileLocation, b1 as createReaction, b2 as createSkill, b3 as deleteAccount, b4 as deleteAvatarOverride, b5 as deleteExternalAccount, b6 as deleteProfileLocation, b7 as deleteReaction, b8 as deleteRepoRecords, b9 as deleteSkill, ba as dismissConfirmation, bb as fetchActivityFeed, bc as fetchActivityTeaser, bd as fetchAppsRegistry, be as fetchExternalAccounts, bf as fetchFeaturedProfile, bg as fetchFollowing, bh as fetchGivenConfirmations, bi as fetchHeatmapData, bj as fetchHiddenApps, bk as fetchMyGithubPullRequests, bl as fetchMyRoadmapVotes, bm as fetchPendingConfirmations, bn as fetchReactionStatus, bo as fetchRepoInventory, bp as fetchRoadmapVotes, bq as fetchSearchFilters, br as fetchSearchProfiles, bs as fetchSimilarProfiles, bt as fetchSkillSuggestions, bu as fetchStats, bv as fetchSuggestionCount, bw as fetchSuggestions, bx as fetchWipePreview, by as followUser, bz as getAdminReviewQueues, bA as getBlueskySuggestions, bB as getFollowers, bC as getFollowing, bD as getFollowingFeed, bE as getMutuals, bF as hideOrcidPublication, bG as hideProfileItem, bH as hideSifaPublication, bI as hideStandardPublication, bJ as listFeatureAllowlist, bK as refreshOrcidPublications, bL as refreshPds, bM as removeFeatureAllowlist, bN as removeOrgNotificationEmail, bO as repoExportUrl, bP as requestOrgDomainChallenge, bQ as resetProfile, bR as resolveQuotedPosts, bS as retractRoadmapVote, bT as revokeConfirmation, bU as searchSkills, bV as setExternalAccountPrimary, bW as submitOrgClaim, bX as unfollowUser, bY as unhideOrcidPublication, bZ as unhideProfileItem, b_ as unhideSifaPublication, b$ as unhideStandardPublication, c0 as unsetExternalAccountPrimary, c1 as updateExternalAccount, c2 as updateOrgProfile, c3 as updateProfileLocation, c4 as updateProfileOverride, c5 as updateProfileSelf, c6 as updateSkill, c7 as updateSkillSubCategories, c8 as uploadAvatar, c9 as verifyExternalAccount, ca as verifyOrgDomain } from '../org-
|
|
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 useActivityFeed, m as useActivityTeaser, n as useAddFeatureAllowlist, o as useAddOrgNotificationEmail, p as useAdminReviewQueues, q as useAppAccountCheck, r as useAppsRegistry, s as useAtFundLink, t as useBlueskySuggestions, v as useBulkHideProfileItems, w as useBulkHideStandardPublications, x as useBulkUnhideProfileItems, y as useBulkUnhideStandardPublications, z as useCanonicalSkillSearch, B as useCastRoadmapVote, E as useCreateConfirmation, G as useCreateEducation, H as useCreateEndorsement, I as useCreateExternalAccount, J as useCreatePosition, K as useCreateProfileLocation, L as useCreateReaction, M as useCreateRecord, N as useCreateSkill, O as useDebouncedValue, Q as useDeleteAccount, T as useDeleteAvatarOverride, V as useDeleteEducation, W as useDeleteExternalAccount, X as useDeletePosition, Y as useDeleteProfileLocation, Z as useDeleteReaction, _ as useDeleteRecord, $ as useDeleteRepoRecords, a0 as useDeleteSkill, a1 as useDismissConfirmation, a2 as useEndorsementCount, a3 as useEntitySearch, a4 as useExternalAccounts, a5 as useFeatureAllowlist, a6 as useFeaturedProfile, a7 as useFollow, a8 as useFollowers, a9 as useFollowing, aa as useFollowingFeed, ab as useFollowingList, ac as useGetProfileView, ad as useGivenConfirmations, ae as useHeatmapData, af as useHiddenApps, ag as useHideKeytraceClaim, ah as useHideOrcidPublication, ai as useHideProfileItem, aj as useHideSifaPublication, ak as useHideStandardPublication, al as useImportSearchEntities, am as useLinkSkillToPosition, an as useMintEntityDomain, ao as useMutuals, ap as useMyGithubPullRequests, aq as useMyRoadmapVotes, ar as useNetworkStreamCount, as as useOrgClaim, at as useOrgDomainChallenge, au as useOrgDomainVerify, av as useOrgProfile, aw as usePendingConfirmations, ax as useProfile, ay as useReactionStatus, az as useRefreshOrcidPublications, aA as useRefreshPds, aB as useRemoveFeatureAllowlist, aC as useRemoveOrgNotificationEmail, aD as useRepoInventory, aE as useResetProfile, aF as useResolveEntityDomain, aG as useRetractRoadmapVote, aH as useRevealMarqueDomain, aI as useRevokeConfirmation, aJ as useRoadmapVotes, aK as useSearchFilters, aL as useSearchProfiles, aM as useSelectEntity, aN as useSetExternalAccountPrimary, aO as useSetPositionPrimary, aP as useSifaConfig, aQ as useSimilarProfiles, aR as useSkillSuggestions, aS as useStats, aT as useSuggestionCount, aU as useSuggestions, aV as useUnfollow, aW as useUnhideKeytraceClaim, aX as useUnhideOrcidPublication, aY as useUnhideProfileItem, aZ as useUnhideSifaPublication, a_ as useUnhideStandardPublication, a$ as useUnlinkSkillFromPosition, b0 as useUnrevealMarqueDomain, b1 as useUnsetExternalAccountPrimary, b2 as useUnsetPositionPrimary, b3 as useUpdateEducation, b4 as useUpdateExternalAccount, b5 as useUpdateOrgProfile, b6 as useUpdatePosition, b7 as useUpdateProfileLocation, b8 as useUpdateProfileOverride, b9 as useUpdateProfileSelf, ba as useUpdateRecord, bb as useUpdateSkill, bc as useUpdateSkillSubCategories, bd as useUploadAvatar, be as useVerifyExternalAccount, bf as useWipePreview } from '../use-org-notification-emails-
|
|
4
|
-
import { D as DismissEndorsementInput, P as PendingEndorsementsPage } from '../network-map-
|
|
5
|
-
export { F as FetchNetworkStreamCountOptions, N as NetworkMapEdge, a as NetworkMapGenerationJob, b as NetworkMapGraphData, c as NetworkMapNode, d as NetworkMapPendingJob, e as NetworkMapResponse, f as PendingEndorsement, g as
|
|
6
|
-
import { C as CoSpeaker } from '../index-
|
|
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-DQyVyZ65.cjs';
|
|
2
|
+
export { c as AccountCheckResult, d as ActivityFeedResponse, e as ActivityItem, f as ActivityItemLinkHealth, g as ActivityTeaserResponse, h as AdminReviewQueues, i as ApiError, j as AppRegistryEntry, B as BulkHideProfileItemInput, k as CastRoadmapVoteResult, l as CheckAppAccountOptions, m as ConfirmationInput, n as ConfirmationSubjectInput, o as CreateExternalAccountResult, D as DeleteAccountResult, E as EndorsementInput, p as ExternalAccountInput, F as FeatureAllowlistResponse, q as FeaturedProfile, r as FetchActivityFeedOptions, t as FetchActivityTeaserOptions, u as FetchFollowListOptions, v as FetchFollowProfilePageOptions, w as FetchFollowingFeedOptions, x as FetchHiddenAppsOptions, y as FetchMyGithubPullRequestsOptions, z as FetchMyRoadmapVotesOptions, G as FetchReactionStatusOptions, H as FetchSuggestionsOptions, I as FilterOptions, J as FollowListPage, K as FollowProfile, L as FollowProfilePageResponse, M as FollowUserResult, N as FollowingResponse, O as GetAdminReviewQueuesOptions, P as GithubPullRequest, Q as GivenConfirmation, R as HIDDEN_ITEM_SOURCES, T as HIDDEN_ITEM_TYPES, U as HeatmapDay, V as HeatmapResponse, X as HiddenApp, Y as HiddenItemSource, Z as HiddenItemType, _ as HideProfileItemInput, $ as ListFeatureAllowlistOptions, a0 as MyGithubPullRequestsResponse, a1 as OrgClaimBinding, a2 as OrgClaimResult, a3 as OrgDomainChallengeResult, a4 as OrgDomainVerifyResult, a5 as OrgNotificationEmailAddResult, a6 as OrgNotificationEmailRemoveResult, a7 as OrgProfileEcho, a8 as OrgProfileUpdateResult, a9 as PdsWipeOutcome, aa as PendingConfirmation, ab as PendingConfirmationsPage, ac as ProfileIndustryInput, ad as ProfileLocationAddress, ae as ProfileLocationInput, af as ProfileSearchResult, ag as ProfileSelfLocation, ah as QUOTED_POSTS_BATCH_MAX, ai as QuotedPostAuthor, aj as QuotedPostImage, ak as QuotedPostResult, al as QuotedPostView, am as ReactionError, an as ReactionResult, ao as ReactionStatus, ap as RefreshOrcidPublicationsResult, aq as RefreshPdsResult, ar as RepoDeleteInput, as as ResetProfileResult, at as ResolveQuotedPostsOptions, au as RoadmapVoteError, av as RoadmapVoteResult, aw as RoadmapVoter, ax as RoadmapVotesResponse, ay as SearchFilters, az as SearchResponse, aA as SifaQueryKey, aB as SimilarProfile, aC as SkillSearchResult, aD as StatsResponse, aE as SubCategoryBulkResult, aF as SuggestionProfile, aG as SuggestionsResponse, aH as UpdateProfileOverrideInput, aI as UpdateProfileSelfInput, aJ as UploadAvatarResult, aK as VerifyExternalAccountResult, aL as WipePreview, aM as addFeatureAllowlist, aN as addOrgNotificationEmail, aO as apiFetch, aP as apiFetchOrNull, aQ as apiWrite, aR as apiWriteCreate, aS as bulkHideProfileItems, aT as bulkHideStandardPublications, aU as bulkUnhideProfileItems, aV as bulkUnhideStandardPublications, aW as castRoadmapVote, aX as checkAppAccount, aY as confirmEndorsement, aZ as createConfirmation, a_ as createEndorsement, a$ as createExternalAccount, b0 as createProfileLocation, b1 as createReaction, b2 as createSkill, b3 as deleteAccount, b4 as deleteAvatarOverride, b5 as deleteExternalAccount, b6 as deleteProfileLocation, b7 as deleteReaction, b8 as deleteRepoRecords, b9 as deleteSkill, ba as dismissConfirmation, bb as fetchActivityFeed, bc as fetchActivityTeaser, bd as fetchAppsRegistry, be as fetchExternalAccounts, bf as fetchFeaturedProfile, bg as fetchFollowing, bh as fetchGivenConfirmations, bi as fetchHeatmapData, bj as fetchHiddenApps, bk as fetchMyGithubPullRequests, bl as fetchMyRoadmapVotes, bm as fetchPendingConfirmations, bn as fetchReactionStatus, bo as fetchRepoInventory, bp as fetchRoadmapVotes, bq as fetchSearchFilters, br as fetchSearchProfiles, bs as fetchSimilarProfiles, bt as fetchSkillSuggestions, bu as fetchStats, bv as fetchSuggestionCount, bw as fetchSuggestions, bx as fetchWipePreview, by as followUser, bz as getAdminReviewQueues, bA as getBlueskySuggestions, bB as getFollowers, bC as getFollowing, bD as getFollowingFeed, bE as getMutuals, bF as hideOrcidPublication, bG as hideProfileItem, bH as hideSifaPublication, bI as hideStandardPublication, bJ as listFeatureAllowlist, bK as refreshOrcidPublications, bL as refreshPds, bM as removeFeatureAllowlist, bN as removeOrgNotificationEmail, bO as repoExportUrl, bP as requestOrgDomainChallenge, bQ as resetProfile, bR as resolveQuotedPosts, bS as retractRoadmapVote, bT as revokeConfirmation, bU as searchSkills, bV as setExternalAccountPrimary, bW as submitOrgClaim, bX as unfollowUser, bY as unhideOrcidPublication, bZ as unhideProfileItem, b_ as unhideSifaPublication, b$ as unhideStandardPublication, c0 as unsetExternalAccountPrimary, c1 as updateExternalAccount, c2 as updateOrgProfile, c3 as updateProfileLocation, c4 as updateProfileOverride, c5 as updateProfileSelf, c6 as updateSkill, c7 as updateSkillSubCategories, c8 as uploadAvatar, c9 as verifyExternalAccount, ca as verifyOrgDomain } from '../org-DQyVyZ65.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 useActivityFeed, m as useActivityTeaser, n as useAddFeatureAllowlist, o as useAddOrgNotificationEmail, p as useAdminReviewQueues, q as useAppAccountCheck, r as useAppsRegistry, s as useAtFundLink, t as useBlueskySuggestions, v as useBulkHideProfileItems, w as useBulkHideStandardPublications, x as useBulkUnhideProfileItems, y as useBulkUnhideStandardPublications, z as useCanonicalSkillSearch, B as useCastRoadmapVote, E as useCreateConfirmation, G as useCreateEducation, H as useCreateEndorsement, I as useCreateExternalAccount, J as useCreatePosition, K as useCreateProfileLocation, L as useCreateReaction, M as useCreateRecord, N as useCreateSkill, O as useDebouncedValue, Q as useDeleteAccount, T as useDeleteAvatarOverride, V as useDeleteEducation, W as useDeleteExternalAccount, X as useDeletePosition, Y as useDeleteProfileLocation, Z as useDeleteReaction, _ as useDeleteRecord, $ as useDeleteRepoRecords, a0 as useDeleteSkill, a1 as useDismissConfirmation, a2 as useEndorsementCount, a3 as useEntitySearch, a4 as useExternalAccounts, a5 as useFeatureAllowlist, a6 as useFeaturedProfile, a7 as useFollow, a8 as useFollowers, a9 as useFollowing, aa as useFollowingFeed, ab as useFollowingList, ac as useGetProfileView, ad as useGivenConfirmations, ae as useHeatmapData, af as useHiddenApps, ag as useHideKeytraceClaim, ah as useHideOrcidPublication, ai as useHideProfileItem, aj as useHideSifaPublication, ak as useHideStandardPublication, al as useImportSearchEntities, am as useLinkSkillToPosition, an as useMintEntityDomain, ao as useMutuals, ap as useMyGithubPullRequests, aq as useMyRoadmapVotes, ar as useNetworkStreamCount, as as useOrgClaim, at as useOrgDomainChallenge, au as useOrgDomainVerify, av as useOrgProfile, aw as usePendingConfirmations, ax as useProfile, ay as useReactionStatus, az as useRefreshOrcidPublications, aA as useRefreshPds, aB as useRemoveFeatureAllowlist, aC as useRemoveOrgNotificationEmail, aD as useRepoInventory, aE as useResetProfile, aF as useResolveEntityDomain, aG as useRetractRoadmapVote, aH as useRevealMarqueDomain, aI as useRevokeConfirmation, aJ as useRoadmapVotes, aK as useSearchFilters, aL as useSearchProfiles, aM as useSelectEntity, aN as useSetExternalAccountPrimary, aO as useSetPositionPrimary, aP as useSifaConfig, aQ as useSimilarProfiles, aR as useSkillSuggestions, aS as useStats, aT as useSuggestionCount, aU as useSuggestions, aV as useUnfollow, aW as useUnhideKeytraceClaim, aX as useUnhideOrcidPublication, aY as useUnhideProfileItem, aZ as useUnhideSifaPublication, a_ as useUnhideStandardPublication, a$ as useUnlinkSkillFromPosition, b0 as useUnrevealMarqueDomain, b1 as useUnsetExternalAccountPrimary, b2 as useUnsetPositionPrimary, b3 as useUpdateEducation, b4 as useUpdateExternalAccount, b5 as useUpdateOrgProfile, b6 as useUpdatePosition, b7 as useUpdateProfileLocation, b8 as useUpdateProfileOverride, b9 as useUpdateProfileSelf, ba as useUpdateRecord, bb as useUpdateSkill, bc as useUpdateSkillSubCategories, bd as useUploadAvatar, be as useVerifyExternalAccount, bf as useWipePreview } from '../use-org-notification-emails-C45soS39.cjs';
|
|
4
|
+
import { R as ReciprocityCandidate, D as DismissEndorsementInput, P as PendingEndorsementsPage } from '../network-map-DMpXK9rM.cjs';
|
|
5
|
+
export { F as FetchNetworkStreamCountOptions, N as NetworkMapEdge, a as NetworkMapGenerationJob, b as NetworkMapGraphData, c as NetworkMapNode, d as NetworkMapPendingJob, e as NetworkMapResponse, f as PendingEndorsement, g as ReciprocitySkill, h as checkNetworkMapJobStatus, i as createEducation, j as createPosition, k as createRecord, l as deleteEducation, m as deletePosition, n as deleteRecord, o as dismissEndorsement, p as fetchAtFundLink, q as fetchEndorsementCount, r as fetchEntitySearch, s as fetchGetProfileView, t as fetchNetworkMap, u as fetchNetworkStreamCount, v as fetchPendingEndorsements, w as fetchProfile, x as fetchProfileSummary, y as fetchReciprocityCandidate, z as hideKeytraceClaim, A as importSearchEntities, B as initiateNetworkMapGeneration, C as isNetworkMapResponse, E as linkSkillToPosition, G as mintEntityDomain, H as resolveEntityDomain, I as revealMarqueDomain, J as selectEntity, K as setPositionPrimary, L as unhideKeytraceClaim, M as unlinkSkillFromPosition, O as unrevealMarqueDomain, Q as unsetPositionPrimary, S as updateEducation, T as updatePosition, U as updateRecord } from '../network-map-DMpXK9rM.cjs';
|
|
6
|
+
import { C as CoSpeaker } from '../index-Uj1NC0QC.cjs';
|
|
7
7
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
8
|
-
import {
|
|
9
|
-
import { c as AdultContentLabel } from '../types-
|
|
8
|
+
import { UseQueryOptions, UseMutationOptions } from '@tanstack/react-query';
|
|
9
|
+
import { c as AdultContentLabel } from '../types-B3KOVEYy.cjs';
|
|
10
10
|
import '../feed-BMm9Pkew.cjs';
|
|
11
11
|
import 'zod';
|
|
12
12
|
import '../org-settings-CZ_tmAYl.cjs';
|
|
13
13
|
import 'react';
|
|
14
|
-
import '../profile-summary-
|
|
14
|
+
import '../profile-summary-CbzSrQoE.cjs';
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
17
|
* Resolve any atproto handle (or DID) to a profile card, for the co-speaker
|
|
@@ -21,6 +21,15 @@ import '../profile-summary-BTZAwG1z.cjs';
|
|
|
21
21
|
*/
|
|
22
22
|
declare function fetchResolveActor(config: SifaApiConfig, handleOrDid: string, options?: ApiFetchOptions): Promise<CoSpeaker | null>;
|
|
23
23
|
|
|
24
|
+
/**
|
|
25
|
+
* Someone the signed-in user could endorse. `null` when there is nobody left.
|
|
26
|
+
*
|
|
27
|
+
* Session-scoped like the pending inbox: the AppView reads the viewer from the
|
|
28
|
+
* session, so the key takes no DID. Invalidate it after dismissing to pull the
|
|
29
|
+
* next person in without a reload.
|
|
30
|
+
*/
|
|
31
|
+
declare function useReciprocityCandidate(options?: Omit<UseQueryOptions<ReciprocityCandidate | null, Error, ReciprocityCandidate | null, ReturnType<typeof sifaQueryKeys.endorsement.reciprocity>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<ReciprocityCandidate | null>, Error>;
|
|
32
|
+
|
|
24
33
|
/**
|
|
25
34
|
* Endorsements awaiting the signed-in user's decision. Returns an empty page
|
|
26
35
|
* when signed out or on error, so callers can render "nothing pending" without
|
|
@@ -136,4 +145,4 @@ declare function useUpdateBskyContentLabelPrefs(): _tanstack_react_query.UseMuta
|
|
|
136
145
|
needsScope?: "bsky-preferences";
|
|
137
146
|
}, Error, UpdateBskyContentLabelPrefsBody, unknown>;
|
|
138
147
|
|
|
139
|
-
export { ApiFetchOptions, type BskyContentLabelPrefs, type BskyContentLabelPrefsResponse, type BskyContentLabelVisibility, type BskyPrefsScopeError, ConfirmEndorsementInput, CreateResult, DismissEndorsementInput, PendingEndorsementsPage, SifaApiConfig, type UpdateBskyContentLabelPrefsBody, WriteResult, effectiveContentVisibility, fetchBskyContentLabelPrefs, fetchResolveActor, shouldGateAdultMedia, sifaQueryKeys, updateBskyContentLabelPrefs, useBskyContentLabelPrefs, useConfirmEndorsement, useDismissEndorsement, usePendingEndorsements, useUpdateBskyContentLabelPrefs };
|
|
148
|
+
export { ApiFetchOptions, type BskyContentLabelPrefs, type BskyContentLabelPrefsResponse, type BskyContentLabelVisibility, type BskyPrefsScopeError, ConfirmEndorsementInput, CreateResult, DismissEndorsementInput, PendingEndorsementsPage, ReciprocityCandidate, SifaApiConfig, type UpdateBskyContentLabelPrefsBody, WriteResult, effectiveContentVisibility, fetchBskyContentLabelPrefs, fetchResolveActor, shouldGateAdultMedia, sifaQueryKeys, updateBskyContentLabelPrefs, useBskyContentLabelPrefs, useConfirmEndorsement, useDismissEndorsement, usePendingEndorsements, useReciprocityCandidate, useUpdateBskyContentLabelPrefs };
|
package/dist/query/index.d.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { S as SifaApiConfig, A as ApiFetchOptions, C as CreateResult, a as ConfirmEndorsementInput, b as ConfirmEndorsementResult, W as WriteResult
|
|
2
|
-
export { c as AccountCheckResult, d as ActivityFeedResponse, e as ActivityItem, f as ActivityItemLinkHealth, g as ActivityTeaserResponse, h as AdminReviewQueues, i as ApiError, j as AppRegistryEntry, B as BulkHideProfileItemInput, k as CastRoadmapVoteResult, l as CheckAppAccountOptions, m as ConfirmationInput, n as ConfirmationSubjectInput, o as CreateExternalAccountResult, D as DeleteAccountResult, E as EndorsementInput, p as ExternalAccountInput, F as FeatureAllowlistResponse, q as FeaturedProfile, r as FetchActivityFeedOptions, t as FetchActivityTeaserOptions, u as FetchFollowListOptions, v as FetchFollowProfilePageOptions, w as FetchFollowingFeedOptions, x as FetchHiddenAppsOptions, y as FetchMyGithubPullRequestsOptions, z as FetchMyRoadmapVotesOptions, G as FetchReactionStatusOptions, H as FetchSuggestionsOptions, I as FilterOptions, J as FollowListPage, K as FollowProfile, L as FollowProfilePageResponse, M as FollowUserResult, N as FollowingResponse, O as GetAdminReviewQueuesOptions, P as GithubPullRequest, Q as GivenConfirmation, R as HIDDEN_ITEM_SOURCES, T as HIDDEN_ITEM_TYPES, U as HeatmapDay, V as HeatmapResponse, X as HiddenApp, Y as HiddenItemSource, Z as HiddenItemType, _ as HideProfileItemInput, $ as ListFeatureAllowlistOptions, a0 as MyGithubPullRequestsResponse, a1 as OrgClaimBinding, a2 as OrgClaimResult, a3 as OrgDomainChallengeResult, a4 as OrgDomainVerifyResult, a5 as OrgNotificationEmailAddResult, a6 as OrgNotificationEmailRemoveResult, a7 as OrgProfileEcho, a8 as OrgProfileUpdateResult, a9 as PdsWipeOutcome, aa as PendingConfirmation, ab as PendingConfirmationsPage, ac as ProfileIndustryInput, ad as ProfileLocationAddress, ae as ProfileLocationInput, af as ProfileSearchResult, ag as ProfileSelfLocation, ah as QUOTED_POSTS_BATCH_MAX, ai as QuotedPostAuthor, aj as QuotedPostImage, ak as QuotedPostResult, al as QuotedPostView, am as ReactionError, an as ReactionResult, ao as ReactionStatus, ap as RefreshOrcidPublicationsResult, aq as RefreshPdsResult, ar as RepoDeleteInput, as as ResetProfileResult, at as ResolveQuotedPostsOptions, au as RoadmapVoteError, av as RoadmapVoteResult, aw as RoadmapVoter, ax as RoadmapVotesResponse, ay as SearchFilters, az as SearchResponse, aA as SifaQueryKey, aB as SimilarProfile, aC as SkillSearchResult, aD as StatsResponse, aE as SubCategoryBulkResult, aF as SuggestionProfile, aG as SuggestionsResponse, aH as UpdateProfileOverrideInput, aI as UpdateProfileSelfInput, aJ as UploadAvatarResult, aK as VerifyExternalAccountResult, aL as WipePreview, aM as addFeatureAllowlist, aN as addOrgNotificationEmail, aO as apiFetch, aP as apiFetchOrNull, aQ as apiWrite, aR as apiWriteCreate, aS as bulkHideProfileItems, aT as bulkHideStandardPublications, aU as bulkUnhideProfileItems, aV as bulkUnhideStandardPublications, aW as castRoadmapVote, aX as checkAppAccount, aY as confirmEndorsement, aZ as createConfirmation, a_ as createEndorsement, a$ as createExternalAccount, b0 as createProfileLocation, b1 as createReaction, b2 as createSkill, b3 as deleteAccount, b4 as deleteAvatarOverride, b5 as deleteExternalAccount, b6 as deleteProfileLocation, b7 as deleteReaction, b8 as deleteRepoRecords, b9 as deleteSkill, ba as dismissConfirmation, bb as fetchActivityFeed, bc as fetchActivityTeaser, bd as fetchAppsRegistry, be as fetchExternalAccounts, bf as fetchFeaturedProfile, bg as fetchFollowing, bh as fetchGivenConfirmations, bi as fetchHeatmapData, bj as fetchHiddenApps, bk as fetchMyGithubPullRequests, bl as fetchMyRoadmapVotes, bm as fetchPendingConfirmations, bn as fetchReactionStatus, bo as fetchRepoInventory, bp as fetchRoadmapVotes, bq as fetchSearchFilters, br as fetchSearchProfiles, bs as fetchSimilarProfiles, bt as fetchSkillSuggestions, bu as fetchStats, bv as fetchSuggestionCount, bw as fetchSuggestions, bx as fetchWipePreview, by as followUser, bz as getAdminReviewQueues, bA as getBlueskySuggestions, bB as getFollowers, bC as getFollowing, bD as getFollowingFeed, bE as getMutuals, bF as hideOrcidPublication, bG as hideProfileItem, bH as hideSifaPublication, bI as hideStandardPublication, bJ as listFeatureAllowlist, bK as refreshOrcidPublications, bL as refreshPds, bM as removeFeatureAllowlist, bN as removeOrgNotificationEmail, bO as repoExportUrl, bP as requestOrgDomainChallenge, bQ as resetProfile, bR as resolveQuotedPosts, bS as retractRoadmapVote, bT as revokeConfirmation, bU as searchSkills, bV as setExternalAccountPrimary, bW as submitOrgClaim, bX as unfollowUser, bY as unhideOrcidPublication, bZ as unhideProfileItem, b_ as unhideSifaPublication, b$ as unhideStandardPublication, c0 as unsetExternalAccountPrimary, c1 as updateExternalAccount, c2 as updateOrgProfile, c3 as updateProfileLocation, c4 as updateProfileOverride, c5 as updateProfileSelf, c6 as updateSkill, c7 as updateSkillSubCategories, c8 as uploadAvatar, c9 as verifyExternalAccount, ca as verifyOrgDomain } from '../org-
|
|
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 useActivityFeed, m as useActivityTeaser, n as useAddFeatureAllowlist, o as useAddOrgNotificationEmail, p as useAdminReviewQueues, q as useAppAccountCheck, r as useAppsRegistry, s as useAtFundLink, t as useBlueskySuggestions, v as useBulkHideProfileItems, w as useBulkHideStandardPublications, x as useBulkUnhideProfileItems, y as useBulkUnhideStandardPublications, z as useCanonicalSkillSearch, B as useCastRoadmapVote, E as useCreateConfirmation, G as useCreateEducation, H as useCreateEndorsement, I as useCreateExternalAccount, J as useCreatePosition, K as useCreateProfileLocation, L as useCreateReaction, M as useCreateRecord, N as useCreateSkill, O as useDebouncedValue, Q as useDeleteAccount, T as useDeleteAvatarOverride, V as useDeleteEducation, W as useDeleteExternalAccount, X as useDeletePosition, Y as useDeleteProfileLocation, Z as useDeleteReaction, _ as useDeleteRecord, $ as useDeleteRepoRecords, a0 as useDeleteSkill, a1 as useDismissConfirmation, a2 as useEndorsementCount, a3 as useEntitySearch, a4 as useExternalAccounts, a5 as useFeatureAllowlist, a6 as useFeaturedProfile, a7 as useFollow, a8 as useFollowers, a9 as useFollowing, aa as useFollowingFeed, ab as useFollowingList, ac as useGetProfileView, ad as useGivenConfirmations, ae as useHeatmapData, af as useHiddenApps, ag as useHideKeytraceClaim, ah as useHideOrcidPublication, ai as useHideProfileItem, aj as useHideSifaPublication, ak as useHideStandardPublication, al as useImportSearchEntities, am as useLinkSkillToPosition, an as useMintEntityDomain, ao as useMutuals, ap as useMyGithubPullRequests, aq as useMyRoadmapVotes, ar as useNetworkStreamCount, as as useOrgClaim, at as useOrgDomainChallenge, au as useOrgDomainVerify, av as useOrgProfile, aw as usePendingConfirmations, ax as useProfile, ay as useReactionStatus, az as useRefreshOrcidPublications, aA as useRefreshPds, aB as useRemoveFeatureAllowlist, aC as useRemoveOrgNotificationEmail, aD as useRepoInventory, aE as useResetProfile, aF as useResolveEntityDomain, aG as useRetractRoadmapVote, aH as useRevealMarqueDomain, aI as useRevokeConfirmation, aJ as useRoadmapVotes, aK as useSearchFilters, aL as useSearchProfiles, aM as useSelectEntity, aN as useSetExternalAccountPrimary, aO as useSetPositionPrimary, aP as useSifaConfig, aQ as useSimilarProfiles, aR as useSkillSuggestions, aS as useStats, aT as useSuggestionCount, aU as useSuggestions, aV as useUnfollow, aW as useUnhideKeytraceClaim, aX as useUnhideOrcidPublication, aY as useUnhideProfileItem, aZ as useUnhideSifaPublication, a_ as useUnhideStandardPublication, a$ as useUnlinkSkillFromPosition, b0 as useUnrevealMarqueDomain, b1 as useUnsetExternalAccountPrimary, b2 as useUnsetPositionPrimary, b3 as useUpdateEducation, b4 as useUpdateExternalAccount, b5 as useUpdateOrgProfile, b6 as useUpdatePosition, b7 as useUpdateProfileLocation, b8 as useUpdateProfileOverride, b9 as useUpdateProfileSelf, ba as useUpdateRecord, bb as useUpdateSkill, bc as useUpdateSkillSubCategories, bd as useUploadAvatar, be as useVerifyExternalAccount, bf as useWipePreview } from '../use-org-notification-emails-
|
|
4
|
-
import { D as DismissEndorsementInput, P as PendingEndorsementsPage } from '../network-map-
|
|
5
|
-
export { F as FetchNetworkStreamCountOptions, N as NetworkMapEdge, a as NetworkMapGenerationJob, b as NetworkMapGraphData, c as NetworkMapNode, d as NetworkMapPendingJob, e as NetworkMapResponse, f as PendingEndorsement, g as
|
|
6
|
-
import { C as CoSpeaker } from '../index-
|
|
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-CnAMbO63.js';
|
|
2
|
+
export { c as AccountCheckResult, d as ActivityFeedResponse, e as ActivityItem, f as ActivityItemLinkHealth, g as ActivityTeaserResponse, h as AdminReviewQueues, i as ApiError, j as AppRegistryEntry, B as BulkHideProfileItemInput, k as CastRoadmapVoteResult, l as CheckAppAccountOptions, m as ConfirmationInput, n as ConfirmationSubjectInput, o as CreateExternalAccountResult, D as DeleteAccountResult, E as EndorsementInput, p as ExternalAccountInput, F as FeatureAllowlistResponse, q as FeaturedProfile, r as FetchActivityFeedOptions, t as FetchActivityTeaserOptions, u as FetchFollowListOptions, v as FetchFollowProfilePageOptions, w as FetchFollowingFeedOptions, x as FetchHiddenAppsOptions, y as FetchMyGithubPullRequestsOptions, z as FetchMyRoadmapVotesOptions, G as FetchReactionStatusOptions, H as FetchSuggestionsOptions, I as FilterOptions, J as FollowListPage, K as FollowProfile, L as FollowProfilePageResponse, M as FollowUserResult, N as FollowingResponse, O as GetAdminReviewQueuesOptions, P as GithubPullRequest, Q as GivenConfirmation, R as HIDDEN_ITEM_SOURCES, T as HIDDEN_ITEM_TYPES, U as HeatmapDay, V as HeatmapResponse, X as HiddenApp, Y as HiddenItemSource, Z as HiddenItemType, _ as HideProfileItemInput, $ as ListFeatureAllowlistOptions, a0 as MyGithubPullRequestsResponse, a1 as OrgClaimBinding, a2 as OrgClaimResult, a3 as OrgDomainChallengeResult, a4 as OrgDomainVerifyResult, a5 as OrgNotificationEmailAddResult, a6 as OrgNotificationEmailRemoveResult, a7 as OrgProfileEcho, a8 as OrgProfileUpdateResult, a9 as PdsWipeOutcome, aa as PendingConfirmation, ab as PendingConfirmationsPage, ac as ProfileIndustryInput, ad as ProfileLocationAddress, ae as ProfileLocationInput, af as ProfileSearchResult, ag as ProfileSelfLocation, ah as QUOTED_POSTS_BATCH_MAX, ai as QuotedPostAuthor, aj as QuotedPostImage, ak as QuotedPostResult, al as QuotedPostView, am as ReactionError, an as ReactionResult, ao as ReactionStatus, ap as RefreshOrcidPublicationsResult, aq as RefreshPdsResult, ar as RepoDeleteInput, as as ResetProfileResult, at as ResolveQuotedPostsOptions, au as RoadmapVoteError, av as RoadmapVoteResult, aw as RoadmapVoter, ax as RoadmapVotesResponse, ay as SearchFilters, az as SearchResponse, aA as SifaQueryKey, aB as SimilarProfile, aC as SkillSearchResult, aD as StatsResponse, aE as SubCategoryBulkResult, aF as SuggestionProfile, aG as SuggestionsResponse, aH as UpdateProfileOverrideInput, aI as UpdateProfileSelfInput, aJ as UploadAvatarResult, aK as VerifyExternalAccountResult, aL as WipePreview, aM as addFeatureAllowlist, aN as addOrgNotificationEmail, aO as apiFetch, aP as apiFetchOrNull, aQ as apiWrite, aR as apiWriteCreate, aS as bulkHideProfileItems, aT as bulkHideStandardPublications, aU as bulkUnhideProfileItems, aV as bulkUnhideStandardPublications, aW as castRoadmapVote, aX as checkAppAccount, aY as confirmEndorsement, aZ as createConfirmation, a_ as createEndorsement, a$ as createExternalAccount, b0 as createProfileLocation, b1 as createReaction, b2 as createSkill, b3 as deleteAccount, b4 as deleteAvatarOverride, b5 as deleteExternalAccount, b6 as deleteProfileLocation, b7 as deleteReaction, b8 as deleteRepoRecords, b9 as deleteSkill, ba as dismissConfirmation, bb as fetchActivityFeed, bc as fetchActivityTeaser, bd as fetchAppsRegistry, be as fetchExternalAccounts, bf as fetchFeaturedProfile, bg as fetchFollowing, bh as fetchGivenConfirmations, bi as fetchHeatmapData, bj as fetchHiddenApps, bk as fetchMyGithubPullRequests, bl as fetchMyRoadmapVotes, bm as fetchPendingConfirmations, bn as fetchReactionStatus, bo as fetchRepoInventory, bp as fetchRoadmapVotes, bq as fetchSearchFilters, br as fetchSearchProfiles, bs as fetchSimilarProfiles, bt as fetchSkillSuggestions, bu as fetchStats, bv as fetchSuggestionCount, bw as fetchSuggestions, bx as fetchWipePreview, by as followUser, bz as getAdminReviewQueues, bA as getBlueskySuggestions, bB as getFollowers, bC as getFollowing, bD as getFollowingFeed, bE as getMutuals, bF as hideOrcidPublication, bG as hideProfileItem, bH as hideSifaPublication, bI as hideStandardPublication, bJ as listFeatureAllowlist, bK as refreshOrcidPublications, bL as refreshPds, bM as removeFeatureAllowlist, bN as removeOrgNotificationEmail, bO as repoExportUrl, bP as requestOrgDomainChallenge, bQ as resetProfile, bR as resolveQuotedPosts, bS as retractRoadmapVote, bT as revokeConfirmation, bU as searchSkills, bV as setExternalAccountPrimary, bW as submitOrgClaim, bX as unfollowUser, bY as unhideOrcidPublication, bZ as unhideProfileItem, b_ as unhideSifaPublication, b$ as unhideStandardPublication, c0 as unsetExternalAccountPrimary, c1 as updateExternalAccount, c2 as updateOrgProfile, c3 as updateProfileLocation, c4 as updateProfileOverride, c5 as updateProfileSelf, c6 as updateSkill, c7 as updateSkillSubCategories, c8 as uploadAvatar, c9 as verifyExternalAccount, ca as verifyOrgDomain } from '../org-CnAMbO63.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 useActivityFeed, m as useActivityTeaser, n as useAddFeatureAllowlist, o as useAddOrgNotificationEmail, p as useAdminReviewQueues, q as useAppAccountCheck, r as useAppsRegistry, s as useAtFundLink, t as useBlueskySuggestions, v as useBulkHideProfileItems, w as useBulkHideStandardPublications, x as useBulkUnhideProfileItems, y as useBulkUnhideStandardPublications, z as useCanonicalSkillSearch, B as useCastRoadmapVote, E as useCreateConfirmation, G as useCreateEducation, H as useCreateEndorsement, I as useCreateExternalAccount, J as useCreatePosition, K as useCreateProfileLocation, L as useCreateReaction, M as useCreateRecord, N as useCreateSkill, O as useDebouncedValue, Q as useDeleteAccount, T as useDeleteAvatarOverride, V as useDeleteEducation, W as useDeleteExternalAccount, X as useDeletePosition, Y as useDeleteProfileLocation, Z as useDeleteReaction, _ as useDeleteRecord, $ as useDeleteRepoRecords, a0 as useDeleteSkill, a1 as useDismissConfirmation, a2 as useEndorsementCount, a3 as useEntitySearch, a4 as useExternalAccounts, a5 as useFeatureAllowlist, a6 as useFeaturedProfile, a7 as useFollow, a8 as useFollowers, a9 as useFollowing, aa as useFollowingFeed, ab as useFollowingList, ac as useGetProfileView, ad as useGivenConfirmations, ae as useHeatmapData, af as useHiddenApps, ag as useHideKeytraceClaim, ah as useHideOrcidPublication, ai as useHideProfileItem, aj as useHideSifaPublication, ak as useHideStandardPublication, al as useImportSearchEntities, am as useLinkSkillToPosition, an as useMintEntityDomain, ao as useMutuals, ap as useMyGithubPullRequests, aq as useMyRoadmapVotes, ar as useNetworkStreamCount, as as useOrgClaim, at as useOrgDomainChallenge, au as useOrgDomainVerify, av as useOrgProfile, aw as usePendingConfirmations, ax as useProfile, ay as useReactionStatus, az as useRefreshOrcidPublications, aA as useRefreshPds, aB as useRemoveFeatureAllowlist, aC as useRemoveOrgNotificationEmail, aD as useRepoInventory, aE as useResetProfile, aF as useResolveEntityDomain, aG as useRetractRoadmapVote, aH as useRevealMarqueDomain, aI as useRevokeConfirmation, aJ as useRoadmapVotes, aK as useSearchFilters, aL as useSearchProfiles, aM as useSelectEntity, aN as useSetExternalAccountPrimary, aO as useSetPositionPrimary, aP as useSifaConfig, aQ as useSimilarProfiles, aR as useSkillSuggestions, aS as useStats, aT as useSuggestionCount, aU as useSuggestions, aV as useUnfollow, aW as useUnhideKeytraceClaim, aX as useUnhideOrcidPublication, aY as useUnhideProfileItem, aZ as useUnhideSifaPublication, a_ as useUnhideStandardPublication, a$ as useUnlinkSkillFromPosition, b0 as useUnrevealMarqueDomain, b1 as useUnsetExternalAccountPrimary, b2 as useUnsetPositionPrimary, b3 as useUpdateEducation, b4 as useUpdateExternalAccount, b5 as useUpdateOrgProfile, b6 as useUpdatePosition, b7 as useUpdateProfileLocation, b8 as useUpdateProfileOverride, b9 as useUpdateProfileSelf, ba as useUpdateRecord, bb as useUpdateSkill, bc as useUpdateSkillSubCategories, bd as useUploadAvatar, be as useVerifyExternalAccount, bf as useWipePreview } from '../use-org-notification-emails-DaZqJMfA.js';
|
|
4
|
+
import { R as ReciprocityCandidate, D as DismissEndorsementInput, P as PendingEndorsementsPage } from '../network-map-kR4Ndke4.js';
|
|
5
|
+
export { F as FetchNetworkStreamCountOptions, N as NetworkMapEdge, a as NetworkMapGenerationJob, b as NetworkMapGraphData, c as NetworkMapNode, d as NetworkMapPendingJob, e as NetworkMapResponse, f as PendingEndorsement, g as ReciprocitySkill, h as checkNetworkMapJobStatus, i as createEducation, j as createPosition, k as createRecord, l as deleteEducation, m as deletePosition, n as deleteRecord, o as dismissEndorsement, p as fetchAtFundLink, q as fetchEndorsementCount, r as fetchEntitySearch, s as fetchGetProfileView, t as fetchNetworkMap, u as fetchNetworkStreamCount, v as fetchPendingEndorsements, w as fetchProfile, x as fetchProfileSummary, y as fetchReciprocityCandidate, z as hideKeytraceClaim, A as importSearchEntities, B as initiateNetworkMapGeneration, C as isNetworkMapResponse, E as linkSkillToPosition, G as mintEntityDomain, H as resolveEntityDomain, I as revealMarqueDomain, J as selectEntity, K as setPositionPrimary, L as unhideKeytraceClaim, M as unlinkSkillFromPosition, O as unrevealMarqueDomain, Q as unsetPositionPrimary, S as updateEducation, T as updatePosition, U as updateRecord } from '../network-map-kR4Ndke4.js';
|
|
6
|
+
import { C as CoSpeaker } from '../index-Uj1NC0QC.js';
|
|
7
7
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
8
|
-
import {
|
|
9
|
-
import { c as AdultContentLabel } from '../types-
|
|
8
|
+
import { UseQueryOptions, UseMutationOptions } from '@tanstack/react-query';
|
|
9
|
+
import { c as AdultContentLabel } from '../types-Ct7WNyn9.js';
|
|
10
10
|
import '../feed-BMm9Pkew.js';
|
|
11
11
|
import 'zod';
|
|
12
12
|
import '../org-settings-CZ_tmAYl.js';
|
|
13
13
|
import 'react';
|
|
14
|
-
import '../profile-summary-
|
|
14
|
+
import '../profile-summary-Yq3_odUX.js';
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
17
|
* Resolve any atproto handle (or DID) to a profile card, for the co-speaker
|
|
@@ -21,6 +21,15 @@ import '../profile-summary-Do5FY7Q0.js';
|
|
|
21
21
|
*/
|
|
22
22
|
declare function fetchResolveActor(config: SifaApiConfig, handleOrDid: string, options?: ApiFetchOptions): Promise<CoSpeaker | null>;
|
|
23
23
|
|
|
24
|
+
/**
|
|
25
|
+
* Someone the signed-in user could endorse. `null` when there is nobody left.
|
|
26
|
+
*
|
|
27
|
+
* Session-scoped like the pending inbox: the AppView reads the viewer from the
|
|
28
|
+
* session, so the key takes no DID. Invalidate it after dismissing to pull the
|
|
29
|
+
* next person in without a reload.
|
|
30
|
+
*/
|
|
31
|
+
declare function useReciprocityCandidate(options?: Omit<UseQueryOptions<ReciprocityCandidate | null, Error, ReciprocityCandidate | null, ReturnType<typeof sifaQueryKeys.endorsement.reciprocity>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<ReciprocityCandidate | null>, Error>;
|
|
32
|
+
|
|
24
33
|
/**
|
|
25
34
|
* Endorsements awaiting the signed-in user's decision. Returns an empty page
|
|
26
35
|
* when signed out or on error, so callers can render "nothing pending" without
|
|
@@ -136,4 +145,4 @@ declare function useUpdateBskyContentLabelPrefs(): _tanstack_react_query.UseMuta
|
|
|
136
145
|
needsScope?: "bsky-preferences";
|
|
137
146
|
}, Error, UpdateBskyContentLabelPrefsBody, unknown>;
|
|
138
147
|
|
|
139
|
-
export { ApiFetchOptions, type BskyContentLabelPrefs, type BskyContentLabelPrefsResponse, type BskyContentLabelVisibility, type BskyPrefsScopeError, ConfirmEndorsementInput, CreateResult, DismissEndorsementInput, PendingEndorsementsPage, SifaApiConfig, type UpdateBskyContentLabelPrefsBody, WriteResult, effectiveContentVisibility, fetchBskyContentLabelPrefs, fetchResolveActor, shouldGateAdultMedia, sifaQueryKeys, updateBskyContentLabelPrefs, useBskyContentLabelPrefs, useConfirmEndorsement, useDismissEndorsement, usePendingEndorsements, useUpdateBskyContentLabelPrefs };
|
|
148
|
+
export { ApiFetchOptions, type BskyContentLabelPrefs, type BskyContentLabelPrefsResponse, type BskyContentLabelVisibility, type BskyPrefsScopeError, ConfirmEndorsementInput, CreateResult, DismissEndorsementInput, PendingEndorsementsPage, ReciprocityCandidate, SifaApiConfig, type UpdateBskyContentLabelPrefsBody, WriteResult, effectiveContentVisibility, fetchBskyContentLabelPrefs, fetchResolveActor, shouldGateAdultMedia, sifaQueryKeys, updateBskyContentLabelPrefs, useBskyContentLabelPrefs, useConfirmEndorsement, useDismissEndorsement, usePendingEndorsements, useReciprocityCandidate, useUpdateBskyContentLabelPrefs };
|
package/dist/query/index.js
CHANGED
|
@@ -445,6 +445,25 @@ function confirmEndorsement(config, data, options = {}) {
|
|
|
445
445
|
);
|
|
446
446
|
}
|
|
447
447
|
|
|
448
|
+
// src/query/fetchers/reciprocity.ts
|
|
449
|
+
async function fetchReciprocityCandidate(config, options = {}) {
|
|
450
|
+
try {
|
|
451
|
+
const data = await apiFetch(
|
|
452
|
+
config,
|
|
453
|
+
"/api/endorsements/reciprocity-candidate",
|
|
454
|
+
{
|
|
455
|
+
cache: "no-store",
|
|
456
|
+
credentials: "include",
|
|
457
|
+
timeoutMs: 5e3,
|
|
458
|
+
...options
|
|
459
|
+
}
|
|
460
|
+
);
|
|
461
|
+
return data?.candidate ?? null;
|
|
462
|
+
} catch {
|
|
463
|
+
return null;
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
|
|
448
467
|
// src/query/fetchers/endorsement-inbox.ts
|
|
449
468
|
async function fetchPendingEndorsements(config, options = {}) {
|
|
450
469
|
try {
|
|
@@ -1520,7 +1539,10 @@ var sifaQueryKeys = {
|
|
|
1520
1539
|
count: (did) => ["sifa", "endorsement", "count", did],
|
|
1521
1540
|
// Scoped to the session rather than a DID -- the AppView reads the subject
|
|
1522
1541
|
// from the session cookie, so there is only ever one inbox per client.
|
|
1523
|
-
pending: () => ["sifa", "endorsement", "pending"]
|
|
1542
|
+
pending: () => ["sifa", "endorsement", "pending"],
|
|
1543
|
+
// Also session-scoped: the AppView picks the candidate from the viewer's
|
|
1544
|
+
// own follows, dismissals and blocks.
|
|
1545
|
+
reciprocity: () => ["sifa", "endorsement", "reciprocity"]
|
|
1524
1546
|
},
|
|
1525
1547
|
confirmation: {
|
|
1526
1548
|
all: () => ["sifa", "confirmation"],
|
|
@@ -2157,6 +2179,14 @@ function useCreateEndorsement(endorsedHandleOrDid, options) {
|
|
|
2157
2179
|
}
|
|
2158
2180
|
});
|
|
2159
2181
|
}
|
|
2182
|
+
function useReciprocityCandidate(options) {
|
|
2183
|
+
const config = useSifaConfig();
|
|
2184
|
+
return useQuery({
|
|
2185
|
+
queryKey: sifaQueryKeys.endorsement.reciprocity(),
|
|
2186
|
+
queryFn: () => fetchReciprocityCandidate(config),
|
|
2187
|
+
...options
|
|
2188
|
+
});
|
|
2189
|
+
}
|
|
2160
2190
|
function usePendingEndorsements(options) {
|
|
2161
2191
|
const config = useSifaConfig();
|
|
2162
2192
|
return useQuery({
|
|
@@ -3205,6 +3235,6 @@ function useRemoveOrgNotificationEmail(options) {
|
|
|
3205
3235
|
});
|
|
3206
3236
|
}
|
|
3207
3237
|
|
|
3208
|
-
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, deletePosition, deleteProfileLocation, deleteReaction, deleteRecord, deleteRepoRecords, deleteSkill, dismissConfirmation, dismissEndorsement, effectiveContentVisibility, fetchActivityFeed, fetchActivityTeaser, fetchAppsRegistry, fetchAtFundLink, fetchBskyContentLabelPrefs, fetchEndorsementCount, fetchEntitySearch, fetchExternalAccounts, fetchFeaturedProfile, fetchFollowing, fetchGetProfileView, fetchGivenConfirmations, fetchHeatmapData, fetchHiddenApps, fetchMyGithubPullRequests, fetchMyRoadmapVotes, fetchNetworkMap, fetchNetworkStreamCount, fetchPendingConfirmations, fetchPendingEndorsements, fetchProfile, fetchProfileSummary, fetchReactionStatus, fetchRepoInventory, fetchResolveActor, fetchRoadmapVotes, fetchSearchFilters, fetchSearchProfiles, fetchSimilarProfiles, fetchSkillSuggestions, fetchStats, fetchSuggestionCount, fetchSuggestions, fetchWipePreview, followUser, getAdminReviewQueues, getBlueskySuggestions, getFollowers, getFollowing, getFollowingFeed, getMutuals, 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, unfollowUser, unhideKeytraceClaim, unhideOrcidPublication, unhideProfileItem, unhideSifaPublication, unhideStandardPublication, unlinkSkillFromPosition, unrevealMarqueDomain, unsetExternalAccountPrimary, unsetPositionPrimary, updateBskyContentLabelPrefs, updateEducation, updateExternalAccount, updateOrgProfile, updatePosition, updateProfileLocation, updateProfileOverride, updateProfileSelf, updateRecord, updateSkill, updateSkillSubCategories, uploadAvatar, 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, useDeletePosition, useDeleteProfileLocation, useDeleteReaction, useDeleteRecord, useDeleteRepoRecords, useDeleteSkill, useDismissConfirmation, useDismissEndorsement, useEndorsementCount, useEntitySearch, useExternalAccounts, useFeatureAllowlist, useFeaturedProfile, useFollow, useFollowers, useFollowing, useFollowingFeed, useFollowingList, useGetProfileView, useGivenConfirmations, useHeatmapData, useHiddenApps, useHideKeytraceClaim, useHideOrcidPublication, useHideProfileItem, useHideSifaPublication, useHideStandardPublication, useImportSearchEntities, useLinkSkillToPosition, useMintEntityDomain, useMutuals, useMyGithubPullRequests, useMyRoadmapVotes, useNetworkStreamCount, useOrgClaim, useOrgDomainChallenge, useOrgDomainVerify, useOrgProfile, usePendingConfirmations, usePendingEndorsements, useProfile, useReactionStatus, useRefreshOrcidPublications, useRefreshPds, useRemoveFeatureAllowlist, useRemoveOrgNotificationEmail, useRepoInventory, useResetProfile, useResolveEntityDomain, useRetractRoadmapVote, useRevealMarqueDomain, useRevokeConfirmation, useRoadmapVotes, useSearchFilters, useSearchProfiles, useSelectEntity, useSetExternalAccountPrimary, useSetPositionPrimary, useSifaConfig, useSimilarProfiles, useSkillSuggestions, useStats, useSuggestionCount, useSuggestions, useUnfollow, useUnhideKeytraceClaim, useUnhideOrcidPublication, useUnhideProfileItem, useUnhideSifaPublication, useUnhideStandardPublication, useUnlinkSkillFromPosition, useUnrevealMarqueDomain, useUnsetExternalAccountPrimary, useUnsetPositionPrimary, useUpdateBskyContentLabelPrefs, useUpdateEducation, useUpdateExternalAccount, useUpdateOrgProfile, useUpdatePosition, useUpdateProfileLocation, useUpdateProfileOverride, useUpdateProfileSelf, useUpdateRecord, useUpdateSkill, useUpdateSkillSubCategories, useUploadAvatar, useVerifyExternalAccount, useWipePreview, verifyExternalAccount, verifyOrgDomain };
|
|
3238
|
+
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, deletePosition, deleteProfileLocation, deleteReaction, deleteRecord, deleteRepoRecords, deleteSkill, dismissConfirmation, dismissEndorsement, effectiveContentVisibility, fetchActivityFeed, fetchActivityTeaser, fetchAppsRegistry, fetchAtFundLink, fetchBskyContentLabelPrefs, fetchEndorsementCount, fetchEntitySearch, fetchExternalAccounts, fetchFeaturedProfile, fetchFollowing, fetchGetProfileView, fetchGivenConfirmations, fetchHeatmapData, fetchHiddenApps, fetchMyGithubPullRequests, fetchMyRoadmapVotes, fetchNetworkMap, fetchNetworkStreamCount, fetchPendingConfirmations, fetchPendingEndorsements, fetchProfile, fetchProfileSummary, fetchReactionStatus, fetchReciprocityCandidate, fetchRepoInventory, fetchResolveActor, fetchRoadmapVotes, fetchSearchFilters, fetchSearchProfiles, fetchSimilarProfiles, fetchSkillSuggestions, fetchStats, fetchSuggestionCount, fetchSuggestions, fetchWipePreview, followUser, getAdminReviewQueues, getBlueskySuggestions, getFollowers, getFollowing, getFollowingFeed, getMutuals, 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, unfollowUser, unhideKeytraceClaim, unhideOrcidPublication, unhideProfileItem, unhideSifaPublication, unhideStandardPublication, unlinkSkillFromPosition, unrevealMarqueDomain, unsetExternalAccountPrimary, unsetPositionPrimary, updateBskyContentLabelPrefs, updateEducation, updateExternalAccount, updateOrgProfile, updatePosition, updateProfileLocation, updateProfileOverride, updateProfileSelf, updateRecord, updateSkill, updateSkillSubCategories, uploadAvatar, 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, useDeletePosition, useDeleteProfileLocation, useDeleteReaction, useDeleteRecord, useDeleteRepoRecords, useDeleteSkill, useDismissConfirmation, useDismissEndorsement, useEndorsementCount, useEntitySearch, useExternalAccounts, useFeatureAllowlist, useFeaturedProfile, useFollow, useFollowers, useFollowing, useFollowingFeed, useFollowingList, useGetProfileView, useGivenConfirmations, useHeatmapData, useHiddenApps, useHideKeytraceClaim, useHideOrcidPublication, useHideProfileItem, useHideSifaPublication, useHideStandardPublication, useImportSearchEntities, useLinkSkillToPosition, useMintEntityDomain, useMutuals, useMyGithubPullRequests, useMyRoadmapVotes, useNetworkStreamCount, useOrgClaim, useOrgDomainChallenge, useOrgDomainVerify, useOrgProfile, usePendingConfirmations, usePendingEndorsements, useProfile, useReactionStatus, useReciprocityCandidate, useRefreshOrcidPublications, useRefreshPds, useRemoveFeatureAllowlist, useRemoveOrgNotificationEmail, useRepoInventory, useResetProfile, useResolveEntityDomain, useRetractRoadmapVote, useRevealMarqueDomain, useRevokeConfirmation, useRoadmapVotes, useSearchFilters, useSearchProfiles, useSelectEntity, useSetExternalAccountPrimary, useSetPositionPrimary, useSifaConfig, useSimilarProfiles, useSkillSuggestions, useStats, useSuggestionCount, useSuggestions, useUnfollow, useUnhideKeytraceClaim, useUnhideOrcidPublication, useUnhideProfileItem, useUnhideSifaPublication, useUnhideStandardPublication, useUnlinkSkillFromPosition, useUnrevealMarqueDomain, useUnsetExternalAccountPrimary, useUnsetPositionPrimary, useUpdateBskyContentLabelPrefs, useUpdateEducation, useUpdateExternalAccount, useUpdateOrgProfile, useUpdatePosition, useUpdateProfileLocation, useUpdateProfileOverride, useUpdateProfileSelf, useUpdateRecord, useUpdateSkill, useUpdateSkillSubCategories, useUploadAvatar, useVerifyExternalAccount, useWipePreview, verifyExternalAccount, verifyOrgDomain };
|
|
3209
3239
|
//# sourceMappingURL=index.js.map
|
|
3210
3240
|
//# sourceMappingURL=index.js.map
|