@singi-labs/sifa-sdk 0.12.32 → 0.12.33
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-D4DUzpXJ.d.ts → index-CQiMQ3NO.d.ts} +12 -2
- package/dist/{index-CQx2Yk7v.d.ts → index-CtWYlM7v.d.ts} +2 -12
- package/dist/{index-XXLVtfGw.d.cts → index-D-Vlq0r4.d.cts} +12 -2
- package/dist/{index-DX-0n-2z.d.cts → index-DhO1kFRj.d.cts} +2 -12
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/{org-5dARVOZ9.d.ts → org-BjiTIiWq.d.ts} +28 -1
- package/dist/{org-DOQL077g.d.cts → org-CcbXH1FW.d.cts} +28 -1
- 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.map +1 -1
- package/dist/query/hooks/index.cjs +25 -0
- package/dist/query/hooks/index.cjs.map +1 -1
- package/dist/query/hooks/index.d.cts +2 -2
- package/dist/query/hooks/index.d.ts +2 -2
- package/dist/query/hooks/index.js +25 -1
- package/dist/query/hooks/index.js.map +1 -1
- package/dist/query/index.cjs +26 -0
- package/dist/query/index.cjs.map +1 -1
- package/dist/query/index.d.cts +4 -4
- package/dist/query/index.d.ts +4 -4
- package/dist/query/index.js +25 -1
- package/dist/query/index.js.map +1 -1
- package/package.json +1 -1
package/dist/query/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { S as SifaApiConfig, A as ApiFetchOptions, W as WriteResult, s as sifaQueryKeys } from '../org-
|
|
2
|
-
export { a as AccountCheckResult, b as ActivityFeedResponse, c as ActivityItem, d as ActivityItemLinkHealth, e as ActivityTeaserResponse, f as ApiError, g as AppRegistryEntry, B as BulkHideProfileItemInput, C as CastRoadmapVoteResult, h as CheckAppAccountOptions, i as CreateExternalAccountResult, j as CreateResult, D as DeleteAccountResult, E as EndorsementInput, k as ExternalAccountInput, F as FeatureAllowlistResponse, l as FeaturedProfile, m as FetchActivityFeedOptions, n as FetchActivityTeaserOptions, o as FetchFollowListOptions, p as FetchFollowProfilePageOptions, q as FetchFollowingFeedOptions, r as FetchHiddenAppsOptions, t as FetchMyGithubPullRequestsOptions, u as FetchMyRoadmapVotesOptions, v as FetchReactionStatusOptions, w as FetchSuggestionsOptions, x as FilterOptions, y as FollowListPage, z as FollowProfile, G as FollowProfilePageResponse, H as FollowUserResult, I as FollowingResponse, J as GithubPullRequest, K as HIDDEN_ITEM_SOURCES, L as HIDDEN_ITEM_TYPES, M as HeatmapDay, N as HeatmapResponse, O as HiddenApp, P as HiddenItemSource, Q as HiddenItemType, R as HideProfileItemInput, T as ListFeatureAllowlistOptions, U as MyGithubPullRequestsResponse, V as OrgClaimBinding, X as OrgClaimResult, Y as OrgDomainChallengeResult, Z as OrgDomainVerifyResult, _ as OrgNotificationEmailAddResult, $ as OrgNotificationEmailRemoveResult, a0 as OrgProfileEcho, a1 as OrgProfileUpdateResult, a2 as PdsWipeOutcome, a3 as ProfileIndustryInput, a4 as ProfileLocationAddress, a5 as ProfileLocationInput, a6 as ProfileSearchResult, a7 as ProfileSelfLocation, a8 as QUOTED_POSTS_BATCH_MAX, a9 as QuotedPostAuthor, aa as QuotedPostImage, ab as QuotedPostResult, ac as QuotedPostView, ad as ReactionError, ae as ReactionResult, af as ReactionStatus, ag as RefreshOrcidPublicationsResult, ah as RefreshPdsResult, ai as ResetProfileResult, aj as ResolveQuotedPostsOptions, ak as RoadmapVoteError, al as RoadmapVoteResult, am as RoadmapVoter, an as RoadmapVotesResponse, ao as SearchFilters, ap as SearchResponse, aq as SifaQueryKey, ar as SimilarProfile, as as SkillSearchResult, at as StatsResponse, au as
|
|
3
|
-
export { A as AddFeatureAllowlistVariables, C as CreateReactionVariables, a as CreateRecordVariables, D as DeleteReactionVariables, b as DeleteRecordVariables, F as FollowVariables, P as PositionSkillLinkVariables, R as RemoveFeatureAllowlistVariables, S as SifaProvider, c as SifaProviderProps, U as UnfollowVariables, d as UpdateEducationVariables, e as UpdateExternalAccountVariables, f as UpdatePositionVariables, g as UpdateProfileLocationVariables, h as UpdateRecordVariables, i as
|
|
4
|
-
export { F as FetchNetworkStreamCountOptions, N as NetworkMapEdge, a as NetworkMapGenerationJob, b as NetworkMapGraphData, c as NetworkMapNode, d as NetworkMapPendingJob, e as NetworkMapResponse, f as checkNetworkMapJobStatus, g as createEducation, h as createPosition, i as createRecord, j as
|
|
1
|
+
import { S as SifaApiConfig, A as ApiFetchOptions, W as WriteResult, s as sifaQueryKeys } from '../org-CcbXH1FW.cjs';
|
|
2
|
+
export { a as AccountCheckResult, b as ActivityFeedResponse, c as ActivityItem, d as ActivityItemLinkHealth, e as ActivityTeaserResponse, f as ApiError, g as AppRegistryEntry, B as BulkHideProfileItemInput, C as CastRoadmapVoteResult, h as CheckAppAccountOptions, i as CreateExternalAccountResult, j as CreateResult, D as DeleteAccountResult, E as EndorsementInput, k as ExternalAccountInput, F as FeatureAllowlistResponse, l as FeaturedProfile, m as FetchActivityFeedOptions, n as FetchActivityTeaserOptions, o as FetchFollowListOptions, p as FetchFollowProfilePageOptions, q as FetchFollowingFeedOptions, r as FetchHiddenAppsOptions, t as FetchMyGithubPullRequestsOptions, u as FetchMyRoadmapVotesOptions, v as FetchReactionStatusOptions, w as FetchSuggestionsOptions, x as FilterOptions, y as FollowListPage, z as FollowProfile, G as FollowProfilePageResponse, H as FollowUserResult, I as FollowingResponse, J as GithubPullRequest, K as HIDDEN_ITEM_SOURCES, L as HIDDEN_ITEM_TYPES, M as HeatmapDay, N as HeatmapResponse, O as HiddenApp, P as HiddenItemSource, Q as HiddenItemType, R as HideProfileItemInput, T as ListFeatureAllowlistOptions, U as MyGithubPullRequestsResponse, V as OrgClaimBinding, X as OrgClaimResult, Y as OrgDomainChallengeResult, Z as OrgDomainVerifyResult, _ as OrgNotificationEmailAddResult, $ as OrgNotificationEmailRemoveResult, a0 as OrgProfileEcho, a1 as OrgProfileUpdateResult, a2 as PdsWipeOutcome, a3 as ProfileIndustryInput, a4 as ProfileLocationAddress, a5 as ProfileLocationInput, a6 as ProfileSearchResult, a7 as ProfileSelfLocation, a8 as QUOTED_POSTS_BATCH_MAX, a9 as QuotedPostAuthor, aa as QuotedPostImage, ab as QuotedPostResult, ac as QuotedPostView, ad as ReactionError, ae as ReactionResult, af as ReactionStatus, ag as RefreshOrcidPublicationsResult, ah as RefreshPdsResult, ai as ResetProfileResult, aj as ResolveQuotedPostsOptions, ak as RoadmapVoteError, al as RoadmapVoteResult, am as RoadmapVoter, an as RoadmapVotesResponse, ao as SearchFilters, ap as SearchResponse, aq as SifaQueryKey, ar as SimilarProfile, as as SkillSearchResult, at as StatsResponse, au as SubCategoryBulkResult, av as SuggestionProfile, aw as SuggestionsResponse, ax as UpdateProfileOverrideInput, ay as UpdateProfileSelfInput, az as UploadAvatarResult, aA as VerifyExternalAccountResult, aB as WipePreview, aC as addFeatureAllowlist, aD as addOrgNotificationEmail, aE as apiFetch, aF as apiFetchOrNull, aG as apiWrite, aH as apiWriteCreate, aI as bulkHideProfileItems, aJ as bulkHideStandardPublications, aK as bulkUnhideProfileItems, aL as bulkUnhideStandardPublications, aM as castRoadmapVote, aN as checkAppAccount, aO as createEndorsement, aP as createExternalAccount, aQ as createProfileLocation, aR as createReaction, aS as createSkill, aT as deleteAccount, aU as deleteAvatarOverride, aV as deleteExternalAccount, aW as deleteProfileLocation, aX as deleteReaction, aY as deleteSkill, aZ as fetchActivityFeed, a_ as fetchActivityTeaser, a$ as fetchAppsRegistry, b0 as fetchExternalAccounts, b1 as fetchFeaturedProfile, b2 as fetchFollowing, b3 as fetchHeatmapData, b4 as fetchHiddenApps, b5 as fetchMyGithubPullRequests, b6 as fetchMyRoadmapVotes, b7 as fetchReactionStatus, b8 as fetchRoadmapVotes, b9 as fetchSearchFilters, ba as fetchSearchProfiles, bb as fetchSimilarProfiles, bc as fetchSkillSuggestions, bd as fetchStats, be as fetchSuggestionCount, bf as fetchSuggestions, bg as fetchWipePreview, bh as followUser, bi as getBlueskySuggestions, bj as getFollowers, bk as getFollowing, bl as getFollowingFeed, bm as getMutuals, bn as hideOrcidPublication, bo as hideProfileItem, bp as hideSifaPublication, bq as hideStandardPublication, br as listFeatureAllowlist, bs as refreshOrcidPublications, bt as refreshPds, bu as removeFeatureAllowlist, bv as removeOrgNotificationEmail, bw as requestOrgDomainChallenge, bx as resetProfile, by as resolveQuotedPosts, bz as retractRoadmapVote, bA as searchSkills, bB as setExternalAccountPrimary, bC as submitOrgClaim, bD as unfollowUser, bE as unhideOrcidPublication, bF as unhideProfileItem, bG as unhideSifaPublication, bH as unhideStandardPublication, bI as unsetExternalAccountPrimary, bJ as updateExternalAccount, bK as updateOrgProfile, bL as updateProfileLocation, bM as updateProfileOverride, bN as updateProfileSelf, bO as updateSkill, bP as updateSkillSubCategories, bQ as uploadAvatar, bR as verifyExternalAccount, bS as verifyOrgDomain } from '../org-CcbXH1FW.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-D-Vlq0r4.cjs';
|
|
4
|
+
export { F as FetchNetworkStreamCountOptions, N as NetworkMapEdge, a as NetworkMapGenerationJob, b as NetworkMapGraphData, c as NetworkMapNode, d as NetworkMapPendingJob, e as NetworkMapResponse, f as checkNetworkMapJobStatus, g as createEducation, h as createPosition, i as createRecord, j as deleteEducation, k as deletePosition, l as deleteRecord, m as fetchAtFundLink, n as fetchEndorsementCount, o as fetchEntitySearch, p as fetchGetProfileView, q as fetchNetworkMap, r as fetchNetworkStreamCount, s as fetchProfile, t as fetchProfileSummary, u as hideKeytraceClaim, v as importSearchEntities, w as initiateNetworkMapGeneration, x as isNetworkMapResponse, y as linkSkillToPosition, z as mintEntityDomain, A as resolveEntityDomain, B as revealMarqueDomain, C as selectEntity, D as setPositionPrimary, E as unhideKeytraceClaim, G as unlinkSkillFromPosition, H as unrevealMarqueDomain, I as unsetPositionPrimary, J as updateEducation, K as updatePosition, L as updateRecord } from '../index-DhO1kFRj.cjs';
|
|
5
5
|
import { C as CoSpeaker, A as AdultContentLabel } from '../adult-content-BHIB4rxu.cjs';
|
|
6
6
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
7
7
|
import { UseQueryOptions } from '@tanstack/react-query';
|
package/dist/query/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { S as SifaApiConfig, A as ApiFetchOptions, W as WriteResult, s as sifaQueryKeys } from '../org-
|
|
2
|
-
export { a as AccountCheckResult, b as ActivityFeedResponse, c as ActivityItem, d as ActivityItemLinkHealth, e as ActivityTeaserResponse, f as ApiError, g as AppRegistryEntry, B as BulkHideProfileItemInput, C as CastRoadmapVoteResult, h as CheckAppAccountOptions, i as CreateExternalAccountResult, j as CreateResult, D as DeleteAccountResult, E as EndorsementInput, k as ExternalAccountInput, F as FeatureAllowlistResponse, l as FeaturedProfile, m as FetchActivityFeedOptions, n as FetchActivityTeaserOptions, o as FetchFollowListOptions, p as FetchFollowProfilePageOptions, q as FetchFollowingFeedOptions, r as FetchHiddenAppsOptions, t as FetchMyGithubPullRequestsOptions, u as FetchMyRoadmapVotesOptions, v as FetchReactionStatusOptions, w as FetchSuggestionsOptions, x as FilterOptions, y as FollowListPage, z as FollowProfile, G as FollowProfilePageResponse, H as FollowUserResult, I as FollowingResponse, J as GithubPullRequest, K as HIDDEN_ITEM_SOURCES, L as HIDDEN_ITEM_TYPES, M as HeatmapDay, N as HeatmapResponse, O as HiddenApp, P as HiddenItemSource, Q as HiddenItemType, R as HideProfileItemInput, T as ListFeatureAllowlistOptions, U as MyGithubPullRequestsResponse, V as OrgClaimBinding, X as OrgClaimResult, Y as OrgDomainChallengeResult, Z as OrgDomainVerifyResult, _ as OrgNotificationEmailAddResult, $ as OrgNotificationEmailRemoveResult, a0 as OrgProfileEcho, a1 as OrgProfileUpdateResult, a2 as PdsWipeOutcome, a3 as ProfileIndustryInput, a4 as ProfileLocationAddress, a5 as ProfileLocationInput, a6 as ProfileSearchResult, a7 as ProfileSelfLocation, a8 as QUOTED_POSTS_BATCH_MAX, a9 as QuotedPostAuthor, aa as QuotedPostImage, ab as QuotedPostResult, ac as QuotedPostView, ad as ReactionError, ae as ReactionResult, af as ReactionStatus, ag as RefreshOrcidPublicationsResult, ah as RefreshPdsResult, ai as ResetProfileResult, aj as ResolveQuotedPostsOptions, ak as RoadmapVoteError, al as RoadmapVoteResult, am as RoadmapVoter, an as RoadmapVotesResponse, ao as SearchFilters, ap as SearchResponse, aq as SifaQueryKey, ar as SimilarProfile, as as SkillSearchResult, at as StatsResponse, au as
|
|
3
|
-
export { A as AddFeatureAllowlistVariables, C as CreateReactionVariables, a as CreateRecordVariables, D as DeleteReactionVariables, b as DeleteRecordVariables, F as FollowVariables, P as PositionSkillLinkVariables, R as RemoveFeatureAllowlistVariables, S as SifaProvider, c as SifaProviderProps, U as UnfollowVariables, d as UpdateEducationVariables, e as UpdateExternalAccountVariables, f as UpdatePositionVariables, g as UpdateProfileLocationVariables, h as UpdateRecordVariables, i as
|
|
4
|
-
export { F as FetchNetworkStreamCountOptions, N as NetworkMapEdge, a as NetworkMapGenerationJob, b as NetworkMapGraphData, c as NetworkMapNode, d as NetworkMapPendingJob, e as NetworkMapResponse, f as checkNetworkMapJobStatus, g as createEducation, h as createPosition, i as createRecord, j as
|
|
1
|
+
import { S as SifaApiConfig, A as ApiFetchOptions, W as WriteResult, s as sifaQueryKeys } from '../org-BjiTIiWq.js';
|
|
2
|
+
export { a as AccountCheckResult, b as ActivityFeedResponse, c as ActivityItem, d as ActivityItemLinkHealth, e as ActivityTeaserResponse, f as ApiError, g as AppRegistryEntry, B as BulkHideProfileItemInput, C as CastRoadmapVoteResult, h as CheckAppAccountOptions, i as CreateExternalAccountResult, j as CreateResult, D as DeleteAccountResult, E as EndorsementInput, k as ExternalAccountInput, F as FeatureAllowlistResponse, l as FeaturedProfile, m as FetchActivityFeedOptions, n as FetchActivityTeaserOptions, o as FetchFollowListOptions, p as FetchFollowProfilePageOptions, q as FetchFollowingFeedOptions, r as FetchHiddenAppsOptions, t as FetchMyGithubPullRequestsOptions, u as FetchMyRoadmapVotesOptions, v as FetchReactionStatusOptions, w as FetchSuggestionsOptions, x as FilterOptions, y as FollowListPage, z as FollowProfile, G as FollowProfilePageResponse, H as FollowUserResult, I as FollowingResponse, J as GithubPullRequest, K as HIDDEN_ITEM_SOURCES, L as HIDDEN_ITEM_TYPES, M as HeatmapDay, N as HeatmapResponse, O as HiddenApp, P as HiddenItemSource, Q as HiddenItemType, R as HideProfileItemInput, T as ListFeatureAllowlistOptions, U as MyGithubPullRequestsResponse, V as OrgClaimBinding, X as OrgClaimResult, Y as OrgDomainChallengeResult, Z as OrgDomainVerifyResult, _ as OrgNotificationEmailAddResult, $ as OrgNotificationEmailRemoveResult, a0 as OrgProfileEcho, a1 as OrgProfileUpdateResult, a2 as PdsWipeOutcome, a3 as ProfileIndustryInput, a4 as ProfileLocationAddress, a5 as ProfileLocationInput, a6 as ProfileSearchResult, a7 as ProfileSelfLocation, a8 as QUOTED_POSTS_BATCH_MAX, a9 as QuotedPostAuthor, aa as QuotedPostImage, ab as QuotedPostResult, ac as QuotedPostView, ad as ReactionError, ae as ReactionResult, af as ReactionStatus, ag as RefreshOrcidPublicationsResult, ah as RefreshPdsResult, ai as ResetProfileResult, aj as ResolveQuotedPostsOptions, ak as RoadmapVoteError, al as RoadmapVoteResult, am as RoadmapVoter, an as RoadmapVotesResponse, ao as SearchFilters, ap as SearchResponse, aq as SifaQueryKey, ar as SimilarProfile, as as SkillSearchResult, at as StatsResponse, au as SubCategoryBulkResult, av as SuggestionProfile, aw as SuggestionsResponse, ax as UpdateProfileOverrideInput, ay as UpdateProfileSelfInput, az as UploadAvatarResult, aA as VerifyExternalAccountResult, aB as WipePreview, aC as addFeatureAllowlist, aD as addOrgNotificationEmail, aE as apiFetch, aF as apiFetchOrNull, aG as apiWrite, aH as apiWriteCreate, aI as bulkHideProfileItems, aJ as bulkHideStandardPublications, aK as bulkUnhideProfileItems, aL as bulkUnhideStandardPublications, aM as castRoadmapVote, aN as checkAppAccount, aO as createEndorsement, aP as createExternalAccount, aQ as createProfileLocation, aR as createReaction, aS as createSkill, aT as deleteAccount, aU as deleteAvatarOverride, aV as deleteExternalAccount, aW as deleteProfileLocation, aX as deleteReaction, aY as deleteSkill, aZ as fetchActivityFeed, a_ as fetchActivityTeaser, a$ as fetchAppsRegistry, b0 as fetchExternalAccounts, b1 as fetchFeaturedProfile, b2 as fetchFollowing, b3 as fetchHeatmapData, b4 as fetchHiddenApps, b5 as fetchMyGithubPullRequests, b6 as fetchMyRoadmapVotes, b7 as fetchReactionStatus, b8 as fetchRoadmapVotes, b9 as fetchSearchFilters, ba as fetchSearchProfiles, bb as fetchSimilarProfiles, bc as fetchSkillSuggestions, bd as fetchStats, be as fetchSuggestionCount, bf as fetchSuggestions, bg as fetchWipePreview, bh as followUser, bi as getBlueskySuggestions, bj as getFollowers, bk as getFollowing, bl as getFollowingFeed, bm as getMutuals, bn as hideOrcidPublication, bo as hideProfileItem, bp as hideSifaPublication, bq as hideStandardPublication, br as listFeatureAllowlist, bs as refreshOrcidPublications, bt as refreshPds, bu as removeFeatureAllowlist, bv as removeOrgNotificationEmail, bw as requestOrgDomainChallenge, bx as resetProfile, by as resolveQuotedPosts, bz as retractRoadmapVote, bA as searchSkills, bB as setExternalAccountPrimary, bC as submitOrgClaim, bD as unfollowUser, bE as unhideOrcidPublication, bF as unhideProfileItem, bG as unhideSifaPublication, bH as unhideStandardPublication, bI as unsetExternalAccountPrimary, bJ as updateExternalAccount, bK as updateOrgProfile, bL as updateProfileLocation, bM as updateProfileOverride, bN as updateProfileSelf, bO as updateSkill, bP as updateSkillSubCategories, bQ as uploadAvatar, bR as verifyExternalAccount, bS as verifyOrgDomain } from '../org-BjiTIiWq.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-CQiMQ3NO.js';
|
|
4
|
+
export { F as FetchNetworkStreamCountOptions, N as NetworkMapEdge, a as NetworkMapGenerationJob, b as NetworkMapGraphData, c as NetworkMapNode, d as NetworkMapPendingJob, e as NetworkMapResponse, f as checkNetworkMapJobStatus, g as createEducation, h as createPosition, i as createRecord, j as deleteEducation, k as deletePosition, l as deleteRecord, m as fetchAtFundLink, n as fetchEndorsementCount, o as fetchEntitySearch, p as fetchGetProfileView, q as fetchNetworkMap, r as fetchNetworkStreamCount, s as fetchProfile, t as fetchProfileSummary, u as hideKeytraceClaim, v as importSearchEntities, w as initiateNetworkMapGeneration, x as isNetworkMapResponse, y as linkSkillToPosition, z as mintEntityDomain, A as resolveEntityDomain, B as revealMarqueDomain, C as selectEntity, D as setPositionPrimary, E as unhideKeytraceClaim, G as unlinkSkillFromPosition, H as unrevealMarqueDomain, I as unsetPositionPrimary, J as updateEducation, K as updatePosition, L as updateRecord } from '../index-CtWYlM7v.js';
|
|
5
5
|
import { C as CoSpeaker, A as AdultContentLabel } from '../adult-content-BHIB4rxu.js';
|
|
6
6
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
7
7
|
import { UseQueryOptions } from '@tanstack/react-query';
|
package/dist/query/index.js
CHANGED
|
@@ -327,6 +327,12 @@ function updateSkill(config, rkey, data, options = {}) {
|
|
|
327
327
|
...options
|
|
328
328
|
});
|
|
329
329
|
}
|
|
330
|
+
function updateSkillSubCategories(config, rkeys, subCategory, options = {}) {
|
|
331
|
+
return apiWrite(config, "/api/profile/skills/subcategory", "POST", {
|
|
332
|
+
body: { rkeys, subCategory },
|
|
333
|
+
...options
|
|
334
|
+
});
|
|
335
|
+
}
|
|
330
336
|
function deleteSkill(config, rkey, options = {}) {
|
|
331
337
|
return apiWrite(config, `/api/profile/skill/${encodeURIComponent(rkey)}`, "DELETE", options);
|
|
332
338
|
}
|
|
@@ -1711,6 +1717,24 @@ function useUpdateSkill(ownerHandleOrDid, options) {
|
|
|
1711
1717
|
...options
|
|
1712
1718
|
});
|
|
1713
1719
|
}
|
|
1720
|
+
function useUpdateSkillSubCategories(ownerHandleOrDid, options) {
|
|
1721
|
+
const config = useSifaConfig();
|
|
1722
|
+
const queryClient = useQueryClient();
|
|
1723
|
+
return useMutation({
|
|
1724
|
+
mutationFn: ({ rkeys, subCategory }) => updateSkillSubCategories(config, rkeys, subCategory),
|
|
1725
|
+
// `...options` comes first so a caller-supplied onSuccess cannot replace the
|
|
1726
|
+
// wrapper below and silently skip profile invalidation; the wrapper calls it
|
|
1727
|
+
// instead. The older skill hooks in this file spread options last and still
|
|
1728
|
+
// carry that bug.
|
|
1729
|
+
...options,
|
|
1730
|
+
onSuccess: async (result, variables, onMutateResult, context) => {
|
|
1731
|
+
if (result.success) {
|
|
1732
|
+
await invalidateProfile3(queryClient, ownerHandleOrDid);
|
|
1733
|
+
}
|
|
1734
|
+
await options?.onSuccess?.(result, variables, onMutateResult, context);
|
|
1735
|
+
}
|
|
1736
|
+
});
|
|
1737
|
+
}
|
|
1714
1738
|
function useDeleteSkill(ownerHandleOrDid, options) {
|
|
1715
1739
|
const config = useSifaConfig();
|
|
1716
1740
|
const queryClient = useQueryClient();
|
|
@@ -2789,6 +2813,6 @@ function useRemoveOrgNotificationEmail(options) {
|
|
|
2789
2813
|
});
|
|
2790
2814
|
}
|
|
2791
2815
|
|
|
2792
|
-
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, 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, useUploadAvatar, useVerifyExternalAccount, useWipePreview, verifyExternalAccount, verifyOrgDomain };
|
|
2816
|
+
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 };
|
|
2793
2817
|
//# sourceMappingURL=index.js.map
|
|
2794
2818
|
//# sourceMappingURL=index.js.map
|