@singi-labs/sifa-sdk 0.12.38 → 0.12.39
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/badge/index.cjs +3 -0
- package/dist/badge/index.cjs.map +1 -1
- package/dist/badge/index.js +3 -0
- package/dist/badge/index.js.map +1 -1
- package/dist/{index-G5HiA-nk.d.cts → index-BPImvVQq.d.cts} +44 -2
- package/dist/{index-N0-ctbY1.d.ts → index-C1szgnQc.d.ts} +44 -2
- package/dist/{index-C-TwdQWh.d.cts → index-CO3z2uAZ.d.cts} +1 -1
- package/dist/{index-DzjbfKwZ.d.ts → index-DyffAaPT.d.ts} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/{org-OPyzh-oe.d.cts → org-DPfmXSYv.d.cts} +24 -2
- package/dist/{org-BFi9g37U.d.ts → org-dEe3TbBJ.d.ts} +24 -2
- package/dist/query/fetchers/index.cjs +32 -2
- package/dist/query/fetchers/index.cjs.map +1 -1
- package/dist/query/fetchers/index.d.cts +2 -2
- package/dist/query/fetchers/index.d.ts +2 -2
- package/dist/query/fetchers/index.js +30 -3
- package/dist/query/fetchers/index.js.map +1 -1
- package/dist/query/hooks/index.cjs +8 -2
- package/dist/query/hooks/index.cjs.map +1 -1
- package/dist/query/hooks/index.d.cts +2 -2
- package/dist/query/hooks/index.d.ts +2 -2
- package/dist/query/hooks/index.js +8 -2
- package/dist/query/hooks/index.js.map +1 -1
- package/dist/query/index.cjs +83 -2
- package/dist/query/index.cjs.map +1 -1
- package/dist/query/index.d.cts +28 -6
- package/dist/query/index.d.ts +28 -6
- package/dist/query/index.js +78 -3
- package/dist/query/index.js.map +1 -1
- package/package.json +1 -1
package/dist/query/index.d.cts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { S as SifaApiConfig, A as ApiFetchOptions, W as WriteResult, s as sifaQueryKeys } from '../org-
|
|
2
|
-
export {
|
|
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 useAppAccountCheck, q as useAppsRegistry, r as useAtFundLink, s as useBlueskySuggestions, t as useBulkHideProfileItems, v as useBulkHideStandardPublications, w as useBulkUnhideProfileItems, x as useBulkUnhideStandardPublications, y as useCanonicalSkillSearch, z as useCastRoadmapVote, B as useCreateEducation, E as useCreateEndorsement, G as useCreateExternalAccount, H as useCreatePosition, I as useCreateProfileLocation, J as useCreateReaction, K as useCreateRecord, L as useCreateSkill, M as useDebouncedValue, N as useDeleteAccount, O as useDeleteAvatarOverride, Q as useDeleteEducation, T as useDeleteExternalAccount, V as useDeletePosition, W as useDeleteProfileLocation, X as useDeleteReaction, Y as useDeleteRecord, Z as useDeleteSkill, _ as useEndorsementCount, $ as useEntitySearch, a0 as useExternalAccounts, a1 as useFeatureAllowlist, a2 as useFeaturedProfile, a3 as useFollow, a4 as useFollowers, a5 as useFollowing, a6 as useFollowingFeed, a7 as useFollowingList, a8 as useGetProfileView, a9 as useHeatmapData, aa as useHiddenApps, ab as useHideKeytraceClaim, ac as useHideOrcidPublication, ad as useHideProfileItem, ae as useHideSifaPublication, af as useHideStandardPublication, ag as useImportSearchEntities, ah as useLinkSkillToPosition, ai as useMintEntityDomain, aj as useMutuals, ak as useMyGithubPullRequests, al as useMyRoadmapVotes, am as useNetworkStreamCount, an as useOrgClaim, ao as useOrgDomainChallenge, ap as useOrgDomainVerify, aq as useOrgProfile, ar as useProfile, as as useReactionStatus, at as useRefreshOrcidPublications, au as useRefreshPds, av as useRemoveFeatureAllowlist, aw as useRemoveOrgNotificationEmail, ax as useResetProfile, ay as useResolveEntityDomain, az as useRetractRoadmapVote, aA as useRevealMarqueDomain, aB as useRoadmapVotes, aC as useSearchFilters, aD as useSearchProfiles, aE as useSelectEntity, aF as useSetExternalAccountPrimary, aG as useSetPositionPrimary, aH as useSifaConfig, aI as useSimilarProfiles, aJ as useSkillSuggestions, aK as useStats, aL as useSuggestionCount, aM as useSuggestions, aN as useUnfollow, aO as useUnhideKeytraceClaim, aP as useUnhideOrcidPublication, aQ as useUnhideProfileItem, aR as useUnhideSifaPublication, aS as useUnhideStandardPublication, aT as useUnlinkSkillFromPosition, aU as useUnrevealMarqueDomain, aV as useUnsetExternalAccountPrimary, aW as useUnsetPositionPrimary, aX as useUpdateEducation, aY as useUpdateExternalAccount, aZ as useUpdateOrgProfile, a_ as useUpdatePosition, a$ as useUpdateProfileLocation, b0 as useUpdateProfileOverride, b1 as useUpdateProfileSelf, b2 as useUpdateRecord, b3 as useUpdateSkill, b4 as useUpdateSkillSubCategories, b5 as useUploadAvatar, b6 as useVerifyExternalAccount, b7 as useWipePreview } from '../index-
|
|
4
|
-
|
|
1
|
+
import { S as SifaApiConfig, A as ApiFetchOptions, C as CreateResult, a as ConfirmEndorsementInput, W as WriteResult, s as sifaQueryKeys } from '../org-DPfmXSYv.cjs';
|
|
2
|
+
export { b as AccountCheckResult, c as ActivityFeedResponse, d as ActivityItem, e as ActivityItemLinkHealth, f as ActivityTeaserResponse, g as ApiError, h as AppRegistryEntry, B as BulkHideProfileItemInput, i as CastRoadmapVoteResult, j as CheckAppAccountOptions, k as CreateExternalAccountResult, D as DeleteAccountResult, E as EndorsementInput, l as ExternalAccountInput, F as FeatureAllowlistResponse, m as FeaturedProfile, n as FetchActivityFeedOptions, o as FetchActivityTeaserOptions, p as FetchFollowListOptions, q as FetchFollowProfilePageOptions, r as FetchFollowingFeedOptions, t as FetchHiddenAppsOptions, u as FetchMyGithubPullRequestsOptions, v as FetchMyRoadmapVotesOptions, w as FetchReactionStatusOptions, x as FetchSuggestionsOptions, y as FilterOptions, z as FollowListPage, G as FollowProfile, H as FollowProfilePageResponse, I as FollowUserResult, J as FollowingResponse, K as GithubPullRequest, L as HIDDEN_ITEM_SOURCES, M as HIDDEN_ITEM_TYPES, N as HeatmapDay, O as HeatmapResponse, P as HiddenApp, Q as HiddenItemSource, R as HiddenItemType, T as HideProfileItemInput, U as ListFeatureAllowlistOptions, V as MyGithubPullRequestsResponse, X as OrgClaimBinding, Y as OrgClaimResult, Z as OrgDomainChallengeResult, _ as OrgDomainVerifyResult, $ as OrgNotificationEmailAddResult, a0 as OrgNotificationEmailRemoveResult, a1 as OrgProfileEcho, a2 as OrgProfileUpdateResult, a3 as PdsWipeOutcome, a4 as ProfileIndustryInput, a5 as ProfileLocationAddress, a6 as ProfileLocationInput, a7 as ProfileSearchResult, a8 as ProfileSelfLocation, a9 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 ResetProfileResult, ak as ResolveQuotedPostsOptions, al as RoadmapVoteError, am as RoadmapVoteResult, an as RoadmapVoter, ao as RoadmapVotesResponse, ap as SearchFilters, aq as SearchResponse, ar as SifaQueryKey, as as SimilarProfile, at as SkillSearchResult, au as StatsResponse, av as SubCategoryBulkResult, aw as SuggestionProfile, ax as SuggestionsResponse, ay as UpdateProfileOverrideInput, az as UpdateProfileSelfInput, aA as UploadAvatarResult, aB as VerifyExternalAccountResult, aC as WipePreview, aD as addFeatureAllowlist, aE as addOrgNotificationEmail, aF as apiFetch, aG as apiFetchOrNull, aH as apiWrite, aI as apiWriteCreate, aJ as bulkHideProfileItems, aK as bulkHideStandardPublications, aL as bulkUnhideProfileItems, aM as bulkUnhideStandardPublications, aN as castRoadmapVote, aO as checkAppAccount, aP as confirmEndorsement, aQ as createEndorsement, aR as createExternalAccount, aS as createProfileLocation, aT as createReaction, aU as createSkill, aV as deleteAccount, aW as deleteAvatarOverride, aX as deleteExternalAccount, aY as deleteProfileLocation, aZ as deleteReaction, a_ as deleteSkill, a$ as fetchActivityFeed, b0 as fetchActivityTeaser, b1 as fetchAppsRegistry, b2 as fetchExternalAccounts, b3 as fetchFeaturedProfile, b4 as fetchFollowing, b5 as fetchHeatmapData, b6 as fetchHiddenApps, b7 as fetchMyGithubPullRequests, b8 as fetchMyRoadmapVotes, b9 as fetchReactionStatus, ba as fetchRoadmapVotes, bb as fetchSearchFilters, bc as fetchSearchProfiles, bd as fetchSimilarProfiles, be as fetchSkillSuggestions, bf as fetchStats, bg as fetchSuggestionCount, bh as fetchSuggestions, bi as fetchWipePreview, bj as followUser, bk as getBlueskySuggestions, bl as getFollowers, bm as getFollowing, bn as getFollowingFeed, bo as getMutuals, bp as hideOrcidPublication, bq as hideProfileItem, br as hideSifaPublication, bs as hideStandardPublication, bt as listFeatureAllowlist, bu as refreshOrcidPublications, bv as refreshPds, bw as removeFeatureAllowlist, bx as removeOrgNotificationEmail, by as requestOrgDomainChallenge, bz as resetProfile, bA as resolveQuotedPosts, bB as retractRoadmapVote, bC as searchSkills, bD as setExternalAccountPrimary, bE as submitOrgClaim, bF as unfollowUser, bG as unhideOrcidPublication, bH as unhideProfileItem, bI as unhideSifaPublication, bJ as unhideStandardPublication, bK as unsetExternalAccountPrimary, bL as updateExternalAccount, bM as updateOrgProfile, bN as updateProfileLocation, bO as updateProfileOverride, bP as updateProfileSelf, bQ as updateSkill, bR as updateSkillSubCategories, bS as uploadAvatar, bT as verifyExternalAccount, bU as verifyOrgDomain } from '../org-DPfmXSYv.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 useAppAccountCheck, q as useAppsRegistry, r as useAtFundLink, s as useBlueskySuggestions, t as useBulkHideProfileItems, v as useBulkHideStandardPublications, w as useBulkUnhideProfileItems, x as useBulkUnhideStandardPublications, y as useCanonicalSkillSearch, z as useCastRoadmapVote, B as useCreateEducation, E as useCreateEndorsement, G as useCreateExternalAccount, H as useCreatePosition, I as useCreateProfileLocation, J as useCreateReaction, K as useCreateRecord, L as useCreateSkill, M as useDebouncedValue, N as useDeleteAccount, O as useDeleteAvatarOverride, Q as useDeleteEducation, T as useDeleteExternalAccount, V as useDeletePosition, W as useDeleteProfileLocation, X as useDeleteReaction, Y as useDeleteRecord, Z as useDeleteSkill, _ as useEndorsementCount, $ as useEntitySearch, a0 as useExternalAccounts, a1 as useFeatureAllowlist, a2 as useFeaturedProfile, a3 as useFollow, a4 as useFollowers, a5 as useFollowing, a6 as useFollowingFeed, a7 as useFollowingList, a8 as useGetProfileView, a9 as useHeatmapData, aa as useHiddenApps, ab as useHideKeytraceClaim, ac as useHideOrcidPublication, ad as useHideProfileItem, ae as useHideSifaPublication, af as useHideStandardPublication, ag as useImportSearchEntities, ah as useLinkSkillToPosition, ai as useMintEntityDomain, aj as useMutuals, ak as useMyGithubPullRequests, al as useMyRoadmapVotes, am as useNetworkStreamCount, an as useOrgClaim, ao as useOrgDomainChallenge, ap as useOrgDomainVerify, aq as useOrgProfile, ar as useProfile, as as useReactionStatus, at as useRefreshOrcidPublications, au as useRefreshPds, av as useRemoveFeatureAllowlist, aw as useRemoveOrgNotificationEmail, ax as useResetProfile, ay as useResolveEntityDomain, az as useRetractRoadmapVote, aA as useRevealMarqueDomain, aB as useRoadmapVotes, aC as useSearchFilters, aD as useSearchProfiles, aE as useSelectEntity, aF as useSetExternalAccountPrimary, aG as useSetPositionPrimary, aH as useSifaConfig, aI as useSimilarProfiles, aJ as useSkillSuggestions, aK as useStats, aL as useSuggestionCount, aM as useSuggestions, aN as useUnfollow, aO as useUnhideKeytraceClaim, aP as useUnhideOrcidPublication, aQ as useUnhideProfileItem, aR as useUnhideSifaPublication, aS as useUnhideStandardPublication, aT as useUnlinkSkillFromPosition, aU as useUnrevealMarqueDomain, aV as useUnsetExternalAccountPrimary, aW as useUnsetPositionPrimary, aX as useUpdateEducation, aY as useUpdateExternalAccount, aZ as useUpdateOrgProfile, a_ as useUpdatePosition, a$ as useUpdateProfileLocation, b0 as useUpdateProfileOverride, b1 as useUpdateProfileSelf, b2 as useUpdateRecord, b3 as useUpdateSkill, b4 as useUpdateSkillSubCategories, b5 as useUploadAvatar, b6 as useVerifyExternalAccount, b7 as useWipePreview } from '../index-CO3z2uAZ.cjs';
|
|
4
|
+
import { D as DismissEndorsementInput, P as PendingEndorsementsPage } from '../index-BPImvVQq.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 checkNetworkMapJobStatus, h as createEducation, i as createPosition, j as createRecord, k as deleteEducation, l as deletePosition, m as deleteRecord, n as dismissEndorsement, o as fetchAtFundLink, p as fetchEndorsementCount, q as fetchEntitySearch, r as fetchGetProfileView, s as fetchNetworkMap, t as fetchNetworkStreamCount, u as fetchPendingEndorsements, v as fetchProfile, w as fetchProfileSummary, x as hideKeytraceClaim, y as importSearchEntities, z as initiateNetworkMapGeneration, A as isNetworkMapResponse, B as linkSkillToPosition, C as mintEntityDomain, E as resolveEntityDomain, G as revealMarqueDomain, H as selectEntity, I as setPositionPrimary, J as unhideKeytraceClaim, K as unlinkSkillFromPosition, L as unrevealMarqueDomain, M as unsetPositionPrimary, O as updateEducation, Q as updatePosition, R as updateRecord } from '../index-BPImvVQq.cjs';
|
|
5
6
|
import { C as CoSpeaker, A as AdultContentLabel } from '../adult-content-BQoId34F.cjs';
|
|
6
7
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
7
|
-
import { UseQueryOptions } from '@tanstack/react-query';
|
|
8
|
+
import { UseMutationOptions, UseQueryOptions } from '@tanstack/react-query';
|
|
8
9
|
import '../feed-C8aHEPw4.cjs';
|
|
9
10
|
import 'zod';
|
|
10
11
|
import '../org-settings-B8e01iZx.cjs';
|
|
@@ -19,6 +20,27 @@ import '../profile-summary-BmtnD3ix.cjs';
|
|
|
19
20
|
*/
|
|
20
21
|
declare function fetchResolveActor(config: SifaApiConfig, handleOrDid: string, options?: ApiFetchOptions): Promise<CoSpeaker | null>;
|
|
21
22
|
|
|
23
|
+
/**
|
|
24
|
+
* Endorsements awaiting the signed-in user's decision. Returns an empty page
|
|
25
|
+
* when signed out or on error, so callers can render "nothing pending" without
|
|
26
|
+
* special-casing either.
|
|
27
|
+
*/
|
|
28
|
+
declare function usePendingEndorsements(options?: Omit<UseQueryOptions<PendingEndorsementsPage, Error, PendingEndorsementsPage, ReturnType<typeof sifaQueryKeys.endorsement.pending>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<PendingEndorsementsPage>, Error>;
|
|
29
|
+
/**
|
|
30
|
+
* Confirm a received endorsement. On success the endorsement leaves the inbox
|
|
31
|
+
* and starts displaying, so both the inbox and the subject's own profile and
|
|
32
|
+
* count caches are invalidated.
|
|
33
|
+
*
|
|
34
|
+
* `subjectHandleOrDid` is the confirming user (the endorsement's subject);
|
|
35
|
+
* pass `null` to skip profile invalidation.
|
|
36
|
+
*/
|
|
37
|
+
declare function useConfirmEndorsement(subjectHandleOrDid: string | null, options?: Omit<UseMutationOptions<CreateResult, Error, ConfirmEndorsementInput>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<CreateResult, Error, ConfirmEndorsementInput, unknown>;
|
|
38
|
+
/**
|
|
39
|
+
* Dismiss a received endorsement. Only the inbox is invalidated -- a dismissal
|
|
40
|
+
* changes nothing that displays anywhere, so no profile cache is affected.
|
|
41
|
+
*/
|
|
42
|
+
declare function useDismissEndorsement(options?: Omit<UseMutationOptions<WriteResult, Error, DismissEndorsementInput>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, DismissEndorsementInput, unknown>;
|
|
43
|
+
|
|
22
44
|
/**
|
|
23
45
|
* Visibility values defined by `app.bsky.actor.defs#contentLabelPref`.
|
|
24
46
|
* `null` means the viewer has no explicit pref for that label — call sites
|
|
@@ -113,4 +135,4 @@ declare function useUpdateBskyContentLabelPrefs(): _tanstack_react_query.UseMuta
|
|
|
113
135
|
needsScope?: "bsky-preferences";
|
|
114
136
|
}, Error, UpdateBskyContentLabelPrefsBody, unknown>;
|
|
115
137
|
|
|
116
|
-
export { ApiFetchOptions, type BskyContentLabelPrefs, type BskyContentLabelPrefsResponse, type BskyContentLabelVisibility, type BskyPrefsScopeError, SifaApiConfig, type UpdateBskyContentLabelPrefsBody, WriteResult, effectiveContentVisibility, fetchBskyContentLabelPrefs, fetchResolveActor, shouldGateAdultMedia, sifaQueryKeys, updateBskyContentLabelPrefs, useBskyContentLabelPrefs, useUpdateBskyContentLabelPrefs };
|
|
138
|
+
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 };
|
package/dist/query/index.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { S as SifaApiConfig, A as ApiFetchOptions, W as WriteResult, s as sifaQueryKeys } from '../org-
|
|
2
|
-
export {
|
|
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 useAppAccountCheck, q as useAppsRegistry, r as useAtFundLink, s as useBlueskySuggestions, t as useBulkHideProfileItems, v as useBulkHideStandardPublications, w as useBulkUnhideProfileItems, x as useBulkUnhideStandardPublications, y as useCanonicalSkillSearch, z as useCastRoadmapVote, B as useCreateEducation, E as useCreateEndorsement, G as useCreateExternalAccount, H as useCreatePosition, I as useCreateProfileLocation, J as useCreateReaction, K as useCreateRecord, L as useCreateSkill, M as useDebouncedValue, N as useDeleteAccount, O as useDeleteAvatarOverride, Q as useDeleteEducation, T as useDeleteExternalAccount, V as useDeletePosition, W as useDeleteProfileLocation, X as useDeleteReaction, Y as useDeleteRecord, Z as useDeleteSkill, _ as useEndorsementCount, $ as useEntitySearch, a0 as useExternalAccounts, a1 as useFeatureAllowlist, a2 as useFeaturedProfile, a3 as useFollow, a4 as useFollowers, a5 as useFollowing, a6 as useFollowingFeed, a7 as useFollowingList, a8 as useGetProfileView, a9 as useHeatmapData, aa as useHiddenApps, ab as useHideKeytraceClaim, ac as useHideOrcidPublication, ad as useHideProfileItem, ae as useHideSifaPublication, af as useHideStandardPublication, ag as useImportSearchEntities, ah as useLinkSkillToPosition, ai as useMintEntityDomain, aj as useMutuals, ak as useMyGithubPullRequests, al as useMyRoadmapVotes, am as useNetworkStreamCount, an as useOrgClaim, ao as useOrgDomainChallenge, ap as useOrgDomainVerify, aq as useOrgProfile, ar as useProfile, as as useReactionStatus, at as useRefreshOrcidPublications, au as useRefreshPds, av as useRemoveFeatureAllowlist, aw as useRemoveOrgNotificationEmail, ax as useResetProfile, ay as useResolveEntityDomain, az as useRetractRoadmapVote, aA as useRevealMarqueDomain, aB as useRoadmapVotes, aC as useSearchFilters, aD as useSearchProfiles, aE as useSelectEntity, aF as useSetExternalAccountPrimary, aG as useSetPositionPrimary, aH as useSifaConfig, aI as useSimilarProfiles, aJ as useSkillSuggestions, aK as useStats, aL as useSuggestionCount, aM as useSuggestions, aN as useUnfollow, aO as useUnhideKeytraceClaim, aP as useUnhideOrcidPublication, aQ as useUnhideProfileItem, aR as useUnhideSifaPublication, aS as useUnhideStandardPublication, aT as useUnlinkSkillFromPosition, aU as useUnrevealMarqueDomain, aV as useUnsetExternalAccountPrimary, aW as useUnsetPositionPrimary, aX as useUpdateEducation, aY as useUpdateExternalAccount, aZ as useUpdateOrgProfile, a_ as useUpdatePosition, a$ as useUpdateProfileLocation, b0 as useUpdateProfileOverride, b1 as useUpdateProfileSelf, b2 as useUpdateRecord, b3 as useUpdateSkill, b4 as useUpdateSkillSubCategories, b5 as useUploadAvatar, b6 as useVerifyExternalAccount, b7 as useWipePreview } from '../index-
|
|
4
|
-
|
|
1
|
+
import { S as SifaApiConfig, A as ApiFetchOptions, C as CreateResult, a as ConfirmEndorsementInput, W as WriteResult, s as sifaQueryKeys } from '../org-dEe3TbBJ.js';
|
|
2
|
+
export { b as AccountCheckResult, c as ActivityFeedResponse, d as ActivityItem, e as ActivityItemLinkHealth, f as ActivityTeaserResponse, g as ApiError, h as AppRegistryEntry, B as BulkHideProfileItemInput, i as CastRoadmapVoteResult, j as CheckAppAccountOptions, k as CreateExternalAccountResult, D as DeleteAccountResult, E as EndorsementInput, l as ExternalAccountInput, F as FeatureAllowlistResponse, m as FeaturedProfile, n as FetchActivityFeedOptions, o as FetchActivityTeaserOptions, p as FetchFollowListOptions, q as FetchFollowProfilePageOptions, r as FetchFollowingFeedOptions, t as FetchHiddenAppsOptions, u as FetchMyGithubPullRequestsOptions, v as FetchMyRoadmapVotesOptions, w as FetchReactionStatusOptions, x as FetchSuggestionsOptions, y as FilterOptions, z as FollowListPage, G as FollowProfile, H as FollowProfilePageResponse, I as FollowUserResult, J as FollowingResponse, K as GithubPullRequest, L as HIDDEN_ITEM_SOURCES, M as HIDDEN_ITEM_TYPES, N as HeatmapDay, O as HeatmapResponse, P as HiddenApp, Q as HiddenItemSource, R as HiddenItemType, T as HideProfileItemInput, U as ListFeatureAllowlistOptions, V as MyGithubPullRequestsResponse, X as OrgClaimBinding, Y as OrgClaimResult, Z as OrgDomainChallengeResult, _ as OrgDomainVerifyResult, $ as OrgNotificationEmailAddResult, a0 as OrgNotificationEmailRemoveResult, a1 as OrgProfileEcho, a2 as OrgProfileUpdateResult, a3 as PdsWipeOutcome, a4 as ProfileIndustryInput, a5 as ProfileLocationAddress, a6 as ProfileLocationInput, a7 as ProfileSearchResult, a8 as ProfileSelfLocation, a9 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 ResetProfileResult, ak as ResolveQuotedPostsOptions, al as RoadmapVoteError, am as RoadmapVoteResult, an as RoadmapVoter, ao as RoadmapVotesResponse, ap as SearchFilters, aq as SearchResponse, ar as SifaQueryKey, as as SimilarProfile, at as SkillSearchResult, au as StatsResponse, av as SubCategoryBulkResult, aw as SuggestionProfile, ax as SuggestionsResponse, ay as UpdateProfileOverrideInput, az as UpdateProfileSelfInput, aA as UploadAvatarResult, aB as VerifyExternalAccountResult, aC as WipePreview, aD as addFeatureAllowlist, aE as addOrgNotificationEmail, aF as apiFetch, aG as apiFetchOrNull, aH as apiWrite, aI as apiWriteCreate, aJ as bulkHideProfileItems, aK as bulkHideStandardPublications, aL as bulkUnhideProfileItems, aM as bulkUnhideStandardPublications, aN as castRoadmapVote, aO as checkAppAccount, aP as confirmEndorsement, aQ as createEndorsement, aR as createExternalAccount, aS as createProfileLocation, aT as createReaction, aU as createSkill, aV as deleteAccount, aW as deleteAvatarOverride, aX as deleteExternalAccount, aY as deleteProfileLocation, aZ as deleteReaction, a_ as deleteSkill, a$ as fetchActivityFeed, b0 as fetchActivityTeaser, b1 as fetchAppsRegistry, b2 as fetchExternalAccounts, b3 as fetchFeaturedProfile, b4 as fetchFollowing, b5 as fetchHeatmapData, b6 as fetchHiddenApps, b7 as fetchMyGithubPullRequests, b8 as fetchMyRoadmapVotes, b9 as fetchReactionStatus, ba as fetchRoadmapVotes, bb as fetchSearchFilters, bc as fetchSearchProfiles, bd as fetchSimilarProfiles, be as fetchSkillSuggestions, bf as fetchStats, bg as fetchSuggestionCount, bh as fetchSuggestions, bi as fetchWipePreview, bj as followUser, bk as getBlueskySuggestions, bl as getFollowers, bm as getFollowing, bn as getFollowingFeed, bo as getMutuals, bp as hideOrcidPublication, bq as hideProfileItem, br as hideSifaPublication, bs as hideStandardPublication, bt as listFeatureAllowlist, bu as refreshOrcidPublications, bv as refreshPds, bw as removeFeatureAllowlist, bx as removeOrgNotificationEmail, by as requestOrgDomainChallenge, bz as resetProfile, bA as resolveQuotedPosts, bB as retractRoadmapVote, bC as searchSkills, bD as setExternalAccountPrimary, bE as submitOrgClaim, bF as unfollowUser, bG as unhideOrcidPublication, bH as unhideProfileItem, bI as unhideSifaPublication, bJ as unhideStandardPublication, bK as unsetExternalAccountPrimary, bL as updateExternalAccount, bM as updateOrgProfile, bN as updateProfileLocation, bO as updateProfileOverride, bP as updateProfileSelf, bQ as updateSkill, bR as updateSkillSubCategories, bS as uploadAvatar, bT as verifyExternalAccount, bU as verifyOrgDomain } from '../org-dEe3TbBJ.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 useAppAccountCheck, q as useAppsRegistry, r as useAtFundLink, s as useBlueskySuggestions, t as useBulkHideProfileItems, v as useBulkHideStandardPublications, w as useBulkUnhideProfileItems, x as useBulkUnhideStandardPublications, y as useCanonicalSkillSearch, z as useCastRoadmapVote, B as useCreateEducation, E as useCreateEndorsement, G as useCreateExternalAccount, H as useCreatePosition, I as useCreateProfileLocation, J as useCreateReaction, K as useCreateRecord, L as useCreateSkill, M as useDebouncedValue, N as useDeleteAccount, O as useDeleteAvatarOverride, Q as useDeleteEducation, T as useDeleteExternalAccount, V as useDeletePosition, W as useDeleteProfileLocation, X as useDeleteReaction, Y as useDeleteRecord, Z as useDeleteSkill, _ as useEndorsementCount, $ as useEntitySearch, a0 as useExternalAccounts, a1 as useFeatureAllowlist, a2 as useFeaturedProfile, a3 as useFollow, a4 as useFollowers, a5 as useFollowing, a6 as useFollowingFeed, a7 as useFollowingList, a8 as useGetProfileView, a9 as useHeatmapData, aa as useHiddenApps, ab as useHideKeytraceClaim, ac as useHideOrcidPublication, ad as useHideProfileItem, ae as useHideSifaPublication, af as useHideStandardPublication, ag as useImportSearchEntities, ah as useLinkSkillToPosition, ai as useMintEntityDomain, aj as useMutuals, ak as useMyGithubPullRequests, al as useMyRoadmapVotes, am as useNetworkStreamCount, an as useOrgClaim, ao as useOrgDomainChallenge, ap as useOrgDomainVerify, aq as useOrgProfile, ar as useProfile, as as useReactionStatus, at as useRefreshOrcidPublications, au as useRefreshPds, av as useRemoveFeatureAllowlist, aw as useRemoveOrgNotificationEmail, ax as useResetProfile, ay as useResolveEntityDomain, az as useRetractRoadmapVote, aA as useRevealMarqueDomain, aB as useRoadmapVotes, aC as useSearchFilters, aD as useSearchProfiles, aE as useSelectEntity, aF as useSetExternalAccountPrimary, aG as useSetPositionPrimary, aH as useSifaConfig, aI as useSimilarProfiles, aJ as useSkillSuggestions, aK as useStats, aL as useSuggestionCount, aM as useSuggestions, aN as useUnfollow, aO as useUnhideKeytraceClaim, aP as useUnhideOrcidPublication, aQ as useUnhideProfileItem, aR as useUnhideSifaPublication, aS as useUnhideStandardPublication, aT as useUnlinkSkillFromPosition, aU as useUnrevealMarqueDomain, aV as useUnsetExternalAccountPrimary, aW as useUnsetPositionPrimary, aX as useUpdateEducation, aY as useUpdateExternalAccount, aZ as useUpdateOrgProfile, a_ as useUpdatePosition, a$ as useUpdateProfileLocation, b0 as useUpdateProfileOverride, b1 as useUpdateProfileSelf, b2 as useUpdateRecord, b3 as useUpdateSkill, b4 as useUpdateSkillSubCategories, b5 as useUploadAvatar, b6 as useVerifyExternalAccount, b7 as useWipePreview } from '../index-DyffAaPT.js';
|
|
4
|
+
import { D as DismissEndorsementInput, P as PendingEndorsementsPage } from '../index-C1szgnQc.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 checkNetworkMapJobStatus, h as createEducation, i as createPosition, j as createRecord, k as deleteEducation, l as deletePosition, m as deleteRecord, n as dismissEndorsement, o as fetchAtFundLink, p as fetchEndorsementCount, q as fetchEntitySearch, r as fetchGetProfileView, s as fetchNetworkMap, t as fetchNetworkStreamCount, u as fetchPendingEndorsements, v as fetchProfile, w as fetchProfileSummary, x as hideKeytraceClaim, y as importSearchEntities, z as initiateNetworkMapGeneration, A as isNetworkMapResponse, B as linkSkillToPosition, C as mintEntityDomain, E as resolveEntityDomain, G as revealMarqueDomain, H as selectEntity, I as setPositionPrimary, J as unhideKeytraceClaim, K as unlinkSkillFromPosition, L as unrevealMarqueDomain, M as unsetPositionPrimary, O as updateEducation, Q as updatePosition, R as updateRecord } from '../index-C1szgnQc.js';
|
|
5
6
|
import { C as CoSpeaker, A as AdultContentLabel } from '../adult-content-BQoId34F.js';
|
|
6
7
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
7
|
-
import { UseQueryOptions } from '@tanstack/react-query';
|
|
8
|
+
import { UseMutationOptions, UseQueryOptions } from '@tanstack/react-query';
|
|
8
9
|
import '../feed-C8aHEPw4.js';
|
|
9
10
|
import 'zod';
|
|
10
11
|
import '../org-settings-B8e01iZx.js';
|
|
@@ -19,6 +20,27 @@ import '../profile-summary-cPc7uJVa.js';
|
|
|
19
20
|
*/
|
|
20
21
|
declare function fetchResolveActor(config: SifaApiConfig, handleOrDid: string, options?: ApiFetchOptions): Promise<CoSpeaker | null>;
|
|
21
22
|
|
|
23
|
+
/**
|
|
24
|
+
* Endorsements awaiting the signed-in user's decision. Returns an empty page
|
|
25
|
+
* when signed out or on error, so callers can render "nothing pending" without
|
|
26
|
+
* special-casing either.
|
|
27
|
+
*/
|
|
28
|
+
declare function usePendingEndorsements(options?: Omit<UseQueryOptions<PendingEndorsementsPage, Error, PendingEndorsementsPage, ReturnType<typeof sifaQueryKeys.endorsement.pending>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<PendingEndorsementsPage>, Error>;
|
|
29
|
+
/**
|
|
30
|
+
* Confirm a received endorsement. On success the endorsement leaves the inbox
|
|
31
|
+
* and starts displaying, so both the inbox and the subject's own profile and
|
|
32
|
+
* count caches are invalidated.
|
|
33
|
+
*
|
|
34
|
+
* `subjectHandleOrDid` is the confirming user (the endorsement's subject);
|
|
35
|
+
* pass `null` to skip profile invalidation.
|
|
36
|
+
*/
|
|
37
|
+
declare function useConfirmEndorsement(subjectHandleOrDid: string | null, options?: Omit<UseMutationOptions<CreateResult, Error, ConfirmEndorsementInput>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<CreateResult, Error, ConfirmEndorsementInput, unknown>;
|
|
38
|
+
/**
|
|
39
|
+
* Dismiss a received endorsement. Only the inbox is invalidated -- a dismissal
|
|
40
|
+
* changes nothing that displays anywhere, so no profile cache is affected.
|
|
41
|
+
*/
|
|
42
|
+
declare function useDismissEndorsement(options?: Omit<UseMutationOptions<WriteResult, Error, DismissEndorsementInput>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, DismissEndorsementInput, unknown>;
|
|
43
|
+
|
|
22
44
|
/**
|
|
23
45
|
* Visibility values defined by `app.bsky.actor.defs#contentLabelPref`.
|
|
24
46
|
* `null` means the viewer has no explicit pref for that label — call sites
|
|
@@ -113,4 +135,4 @@ declare function useUpdateBskyContentLabelPrefs(): _tanstack_react_query.UseMuta
|
|
|
113
135
|
needsScope?: "bsky-preferences";
|
|
114
136
|
}, Error, UpdateBskyContentLabelPrefsBody, unknown>;
|
|
115
137
|
|
|
116
|
-
export { ApiFetchOptions, type BskyContentLabelPrefs, type BskyContentLabelPrefsResponse, type BskyContentLabelVisibility, type BskyPrefsScopeError, SifaApiConfig, type UpdateBskyContentLabelPrefsBody, WriteResult, effectiveContentVisibility, fetchBskyContentLabelPrefs, fetchResolveActor, shouldGateAdultMedia, sifaQueryKeys, updateBskyContentLabelPrefs, useBskyContentLabelPrefs, useUpdateBskyContentLabelPrefs };
|
|
138
|
+
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 };
|
package/dist/query/index.js
CHANGED
|
@@ -70,6 +70,9 @@ async function apiFetch(config, path, options = {}) {
|
|
|
70
70
|
}
|
|
71
71
|
throw new ApiError(`Sifa API ${res.status} on ${path}`, res.status, errBody);
|
|
72
72
|
}
|
|
73
|
+
if (res.status === 204 || res.status === 205) {
|
|
74
|
+
return void 0;
|
|
75
|
+
}
|
|
73
76
|
return await res.json();
|
|
74
77
|
}
|
|
75
78
|
throw new ApiError(`Sifa API exhausted retries on ${path}`, 429);
|
|
@@ -431,7 +434,28 @@ function verifyExternalAccount(config, rkey, options = {}) {
|
|
|
431
434
|
|
|
432
435
|
// src/query/fetchers/endorsements.ts
|
|
433
436
|
function createEndorsement(config, data, options = {}) {
|
|
434
|
-
return apiWriteCreate(config, "/api/
|
|
437
|
+
return apiWriteCreate(config, "/api/endorsement", data, options);
|
|
438
|
+
}
|
|
439
|
+
function confirmEndorsement(config, data, options = {}) {
|
|
440
|
+
return apiWriteCreate(config, "/api/endorsement/confirm", data, options);
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
// src/query/fetchers/endorsement-inbox.ts
|
|
444
|
+
async function fetchPendingEndorsements(config, options = {}) {
|
|
445
|
+
try {
|
|
446
|
+
const data = await apiFetch(config, "/api/endorsements/pending", {
|
|
447
|
+
cache: "no-store",
|
|
448
|
+
credentials: "include",
|
|
449
|
+
timeoutMs: 5e3,
|
|
450
|
+
...options
|
|
451
|
+
});
|
|
452
|
+
return { endorsements: data?.endorsements ?? [], cursor: data?.cursor };
|
|
453
|
+
} catch {
|
|
454
|
+
return { endorsements: [] };
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
function dismissEndorsement(config, data, options = {}) {
|
|
458
|
+
return apiWrite(config, "/api/endorsement/dismiss", "POST", { body: data, ...options });
|
|
435
459
|
}
|
|
436
460
|
|
|
437
461
|
// src/query/fetchers/actor.ts
|
|
@@ -1409,7 +1433,10 @@ var sifaQueryKeys = {
|
|
|
1409
1433
|
},
|
|
1410
1434
|
endorsement: {
|
|
1411
1435
|
all: () => ["sifa", "endorsement"],
|
|
1412
|
-
count: (did) => ["sifa", "endorsement", "count", did]
|
|
1436
|
+
count: (did) => ["sifa", "endorsement", "count", did],
|
|
1437
|
+
// Scoped to the session rather than a DID -- the AppView reads the subject
|
|
1438
|
+
// from the session cookie, so there is only ever one inbox per client.
|
|
1439
|
+
pending: () => ["sifa", "endorsement", "pending"]
|
|
1413
1440
|
},
|
|
1414
1441
|
stream: {
|
|
1415
1442
|
all: () => ["sifa", "stream"],
|
|
@@ -1971,6 +1998,54 @@ function useCreateEndorsement(endorsedHandleOrDid, options) {
|
|
|
1971
1998
|
...options
|
|
1972
1999
|
});
|
|
1973
2000
|
}
|
|
2001
|
+
function usePendingEndorsements(options) {
|
|
2002
|
+
const config = useSifaConfig();
|
|
2003
|
+
return useQuery({
|
|
2004
|
+
queryKey: sifaQueryKeys.endorsement.pending(),
|
|
2005
|
+
queryFn: () => fetchPendingEndorsements(config),
|
|
2006
|
+
...options
|
|
2007
|
+
});
|
|
2008
|
+
}
|
|
2009
|
+
function useConfirmEndorsement(subjectHandleOrDid, options) {
|
|
2010
|
+
const config = useSifaConfig();
|
|
2011
|
+
const queryClient = useQueryClient();
|
|
2012
|
+
return useMutation({
|
|
2013
|
+
mutationFn: (data) => confirmEndorsement(config, data),
|
|
2014
|
+
onSuccess: async (result, variables, onMutateResult, context) => {
|
|
2015
|
+
if (result.success) {
|
|
2016
|
+
await queryClient.invalidateQueries({
|
|
2017
|
+
queryKey: sifaQueryKeys.endorsement.pending()
|
|
2018
|
+
});
|
|
2019
|
+
if (subjectHandleOrDid) {
|
|
2020
|
+
await queryClient.invalidateQueries({
|
|
2021
|
+
queryKey: sifaQueryKeys.profile.byHandle(subjectHandleOrDid)
|
|
2022
|
+
});
|
|
2023
|
+
await queryClient.invalidateQueries({
|
|
2024
|
+
queryKey: sifaQueryKeys.endorsement.count(subjectHandleOrDid)
|
|
2025
|
+
});
|
|
2026
|
+
}
|
|
2027
|
+
}
|
|
2028
|
+
await options?.onSuccess?.(result, variables, onMutateResult, context);
|
|
2029
|
+
},
|
|
2030
|
+
...options
|
|
2031
|
+
});
|
|
2032
|
+
}
|
|
2033
|
+
function useDismissEndorsement(options) {
|
|
2034
|
+
const config = useSifaConfig();
|
|
2035
|
+
const queryClient = useQueryClient();
|
|
2036
|
+
return useMutation({
|
|
2037
|
+
mutationFn: (data) => dismissEndorsement(config, data),
|
|
2038
|
+
onSuccess: async (result, variables, onMutateResult, context) => {
|
|
2039
|
+
if (result.success) {
|
|
2040
|
+
await queryClient.invalidateQueries({
|
|
2041
|
+
queryKey: sifaQueryKeys.endorsement.pending()
|
|
2042
|
+
});
|
|
2043
|
+
}
|
|
2044
|
+
await options?.onSuccess?.(result, variables, onMutateResult, context);
|
|
2045
|
+
},
|
|
2046
|
+
...options
|
|
2047
|
+
});
|
|
2048
|
+
}
|
|
1974
2049
|
async function invalidateProfile6(queryClient, ownerHandleOrDid) {
|
|
1975
2050
|
await queryClient.invalidateQueries({
|
|
1976
2051
|
queryKey: sifaQueryKeys.profile.byHandle(ownerHandleOrDid)
|
|
@@ -2821,6 +2896,6 @@ function useRemoveOrgNotificationEmail(options) {
|
|
|
2821
2896
|
});
|
|
2822
2897
|
}
|
|
2823
2898
|
|
|
2824
|
-
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, createEducation, createEndorsement, createExternalAccount, createPosition, createProfileLocation, createReaction, createRecord, createSkill, deleteAccount, deleteAvatarOverride, deleteEducation, deleteExternalAccount, deletePosition, deleteProfileLocation, deleteReaction, deleteRecord, deleteSkill, effectiveContentVisibility, fetchActivityFeed, fetchActivityTeaser, fetchAppsRegistry, fetchAtFundLink, fetchBskyContentLabelPrefs, fetchEndorsementCount, fetchEntitySearch, fetchExternalAccounts, fetchFeaturedProfile, fetchFollowing, fetchGetProfileView, fetchHeatmapData, fetchHiddenApps, fetchMyGithubPullRequests, fetchMyRoadmapVotes, fetchNetworkMap, fetchNetworkStreamCount, fetchProfile, fetchProfileSummary, fetchReactionStatus, fetchResolveActor, fetchRoadmapVotes, fetchSearchFilters, fetchSearchProfiles, fetchSimilarProfiles, fetchSkillSuggestions, fetchStats, fetchSuggestionCount, fetchSuggestions, fetchWipePreview, followUser, getBlueskySuggestions, getFollowers, getFollowing, getFollowingFeed, getMutuals, hideKeytraceClaim, hideOrcidPublication, hideProfileItem, hideSifaPublication, hideStandardPublication, importSearchEntities, initiateNetworkMapGeneration, isNetworkMapResponse, linkSkillToPosition, listFeatureAllowlist, mintEntityDomain, refreshOrcidPublications, refreshPds, removeFeatureAllowlist, removeOrgNotificationEmail, requestOrgDomainChallenge, resetProfile, resolveEntityDomain, resolveQuotedPosts, retractRoadmapVote, revealMarqueDomain, 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, useAppAccountCheck, useAppsRegistry, useAtFundLink, useBlueskySuggestions, useBskyContentLabelPrefs, useBulkHideProfileItems, useBulkHideStandardPublications, useBulkUnhideProfileItems, useBulkUnhideStandardPublications, useCanonicalSkillSearch, useCastRoadmapVote, useCreateEducation, useCreateEndorsement, useCreateExternalAccount, useCreatePosition, useCreateProfileLocation, useCreateReaction, useCreateRecord, useCreateSkill, useDebouncedValue, useDeleteAccount, useDeleteAvatarOverride, useDeleteEducation, useDeleteExternalAccount, useDeletePosition, useDeleteProfileLocation, useDeleteReaction, useDeleteRecord, useDeleteSkill, useEndorsementCount, useEntitySearch, useExternalAccounts, useFeatureAllowlist, useFeaturedProfile, useFollow, useFollowers, useFollowing, useFollowingFeed, useFollowingList, useGetProfileView, useHeatmapData, useHiddenApps, useHideKeytraceClaim, useHideOrcidPublication, useHideProfileItem, useHideSifaPublication, useHideStandardPublication, useImportSearchEntities, useLinkSkillToPosition, useMintEntityDomain, useMutuals, useMyGithubPullRequests, useMyRoadmapVotes, useNetworkStreamCount, useOrgClaim, useOrgDomainChallenge, useOrgDomainVerify, useOrgProfile, useProfile, useReactionStatus, useRefreshOrcidPublications, useRefreshPds, useRemoveFeatureAllowlist, useRemoveOrgNotificationEmail, useResetProfile, useResolveEntityDomain, useRetractRoadmapVote, useRevealMarqueDomain, 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 };
|
|
2899
|
+
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, createEducation, createEndorsement, createExternalAccount, createPosition, createProfileLocation, createReaction, createRecord, createSkill, deleteAccount, deleteAvatarOverride, deleteEducation, deleteExternalAccount, deletePosition, deleteProfileLocation, deleteReaction, deleteRecord, deleteSkill, dismissEndorsement, effectiveContentVisibility, fetchActivityFeed, fetchActivityTeaser, fetchAppsRegistry, fetchAtFundLink, fetchBskyContentLabelPrefs, fetchEndorsementCount, fetchEntitySearch, fetchExternalAccounts, fetchFeaturedProfile, fetchFollowing, fetchGetProfileView, fetchHeatmapData, fetchHiddenApps, fetchMyGithubPullRequests, fetchMyRoadmapVotes, fetchNetworkMap, fetchNetworkStreamCount, fetchPendingEndorsements, fetchProfile, fetchProfileSummary, fetchReactionStatus, fetchResolveActor, fetchRoadmapVotes, fetchSearchFilters, fetchSearchProfiles, fetchSimilarProfiles, fetchSkillSuggestions, fetchStats, fetchSuggestionCount, fetchSuggestions, fetchWipePreview, followUser, getBlueskySuggestions, getFollowers, getFollowing, getFollowingFeed, getMutuals, hideKeytraceClaim, hideOrcidPublication, hideProfileItem, hideSifaPublication, hideStandardPublication, importSearchEntities, initiateNetworkMapGeneration, isNetworkMapResponse, linkSkillToPosition, listFeatureAllowlist, mintEntityDomain, refreshOrcidPublications, refreshPds, removeFeatureAllowlist, removeOrgNotificationEmail, requestOrgDomainChallenge, resetProfile, resolveEntityDomain, resolveQuotedPosts, retractRoadmapVote, revealMarqueDomain, 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, useAppAccountCheck, useAppsRegistry, useAtFundLink, useBlueskySuggestions, useBskyContentLabelPrefs, useBulkHideProfileItems, useBulkHideStandardPublications, useBulkUnhideProfileItems, useBulkUnhideStandardPublications, useCanonicalSkillSearch, useCastRoadmapVote, useConfirmEndorsement, useCreateEducation, useCreateEndorsement, useCreateExternalAccount, useCreatePosition, useCreateProfileLocation, useCreateReaction, useCreateRecord, useCreateSkill, useDebouncedValue, useDeleteAccount, useDeleteAvatarOverride, useDeleteEducation, useDeleteExternalAccount, useDeletePosition, useDeleteProfileLocation, useDeleteReaction, useDeleteRecord, useDeleteSkill, useDismissEndorsement, useEndorsementCount, useEntitySearch, useExternalAccounts, useFeatureAllowlist, useFeaturedProfile, useFollow, useFollowers, useFollowing, useFollowingFeed, useFollowingList, useGetProfileView, useHeatmapData, useHiddenApps, useHideKeytraceClaim, useHideOrcidPublication, useHideProfileItem, useHideSifaPublication, useHideStandardPublication, useImportSearchEntities, useLinkSkillToPosition, useMintEntityDomain, useMutuals, useMyGithubPullRequests, useMyRoadmapVotes, useNetworkStreamCount, useOrgClaim, useOrgDomainChallenge, useOrgDomainVerify, useOrgProfile, usePendingEndorsements, useProfile, useReactionStatus, useRefreshOrcidPublications, useRefreshPds, useRemoveFeatureAllowlist, useRemoveOrgNotificationEmail, useResetProfile, useResolveEntityDomain, useRetractRoadmapVote, useRevealMarqueDomain, 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 };
|
|
2825
2900
|
//# sourceMappingURL=index.js.map
|
|
2826
2901
|
//# sourceMappingURL=index.js.map
|