@singi-labs/sifa-sdk 0.12.3 → 0.12.5
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/{adult-content-DDGP8W1e.d.cts → adult-content-BOY_T6j3.d.cts} +295 -1
- package/dist/{adult-content-DDGP8W1e.d.ts → adult-content-BOY_T6j3.d.ts} +295 -1
- package/dist/{index-CNh-GI9A.d.cts → index-BJV2XHOP.d.cts} +16 -3
- package/dist/{index-IMvNS08M.d.ts → index-C1SIpwOj.d.ts} +16 -3
- package/dist/{index-iAzeLOcz.d.ts → index-m5MELVUQ.d.ts} +95 -3
- package/dist/{index-BS7zO7KI.d.cts → index-xcu81B4E.d.cts} +95 -3
- package/dist/index.cjs +73 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +96 -5
- package/dist/index.d.ts +96 -5
- package/dist/index.js +68 -2
- package/dist/index.js.map +1 -1
- package/dist/{keys-Bn36IA8Q.d.cts → org-92bvwL8H.d.cts} +89 -2
- package/dist/{keys-5oyp950_.d.ts → org-Bxz__jbx.d.ts} +89 -2
- package/dist/org-settings-CmaSX5ZI.d.cts +74 -0
- package/dist/org-settings-CmaSX5ZI.d.ts +74 -0
- package/dist/query/fetchers/index.cjs +60 -0
- package/dist/query/fetchers/index.cjs.map +1 -1
- package/dist/query/fetchers/index.d.cts +4 -3
- package/dist/query/fetchers/index.d.ts +4 -3
- package/dist/query/fetchers/index.js +54 -1
- package/dist/query/fetchers/index.js.map +1 -1
- package/dist/query/hooks/index.cjs +144 -0
- package/dist/query/hooks/index.cjs.map +1 -1
- package/dist/query/hooks/index.d.cts +4 -3
- package/dist/query/hooks/index.d.ts +4 -3
- package/dist/query/hooks/index.js +137 -1
- package/dist/query/hooks/index.js.map +1 -1
- package/dist/query/index.cjs +147 -0
- package/dist/query/index.cjs.map +1 -1
- package/dist/query/index.d.cts +6 -5
- package/dist/query/index.d.ts +6 -5
- package/dist/query/index.js +133 -1
- package/dist/query/index.js.map +1 -1
- package/dist/schemas/index.cjs +27 -0
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +67 -1
- package/dist/schemas/index.d.ts +67 -1
- package/dist/schemas/index.js +26 -1
- package/dist/schemas/index.js.map +1 -1
- package/dist/schemas/write/index.cjs +36 -0
- package/dist/schemas/write/index.cjs.map +1 -1
- package/dist/schemas/write/index.d.cts +1 -0
- package/dist/schemas/write/index.d.ts +1 -0
- package/dist/schemas/write/index.js +32 -1
- package/dist/schemas/write/index.js.map +1 -1
- package/package.json +1 -1
package/dist/query/index.d.cts
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { S as SifaApiConfig, A as ApiFetchOptions, W as WriteResult, s as sifaQueryKeys } from '../
|
|
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 FetchMyRoadmapVotesOptions, u as FetchReactionStatusOptions, v as FetchSuggestionsOptions, w as FilterOptions, x as FollowListPage, y as FollowProfile, z as FollowProfilePageResponse, G as FollowUserResult, H as FollowingResponse, I as HIDDEN_ITEM_SOURCES, J as HIDDEN_ITEM_TYPES, K as HeatmapDay, L as HeatmapResponse, M as HiddenApp, N as HiddenItemSource, O as HiddenItemType, P as HideProfileItemInput, Q as ListFeatureAllowlistOptions, R 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 UpdateSkillVariables, j as UseEntitySearchOptions, u as useActivityFeed, k as useActivityTeaser, l as useAddFeatureAllowlist, m 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 createSkill, k as deleteEducation, l as deletePosition, m as deleteRecord, n as deleteSkill, o as fetchAtFundLink, p as fetchEndorsementCount, q as fetchEntitySearch, r as
|
|
5
|
-
import { C as CoSpeaker, A as AdultContentLabel } from '../adult-content-
|
|
1
|
+
import { S as SifaApiConfig, A as ApiFetchOptions, W as WriteResult, s as sifaQueryKeys } from '../org-92bvwL8H.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 FetchMyRoadmapVotesOptions, u as FetchReactionStatusOptions, v as FetchSuggestionsOptions, w as FilterOptions, x as FollowListPage, y as FollowProfile, z as FollowProfilePageResponse, G as FollowUserResult, H as FollowingResponse, I as HIDDEN_ITEM_SOURCES, J as HIDDEN_ITEM_TYPES, K as HeatmapDay, L as HeatmapResponse, M as HiddenApp, N as HiddenItemSource, O as HiddenItemType, P as HideProfileItemInput, Q as ListFeatureAllowlistOptions, R as OrgClaimBinding, T as OrgClaimResult, U as OrgDomainChallengeResult, V as OrgDomainVerifyResult, X as OrgNotificationEmailAddResult, Y as OrgNotificationEmailRemoveResult, Z as OrgProfileEcho, _ as OrgProfileUpdateResult, $ as ProfileIndustryInput, a0 as ProfileLocationAddress, a1 as ProfileLocationInput, a2 as ProfileSearchResult, a3 as ProfileSelfLocation, a4 as QUOTED_POSTS_BATCH_MAX, a5 as QuotedPostAuthor, a6 as QuotedPostImage, a7 as QuotedPostResult, a8 as QuotedPostView, a9 as ReactionError, aa as ReactionResult, ab as ReactionStatus, ac as RefreshOrcidPublicationsResult, ad as RefreshPdsResult, ae as ResolveQuotedPostsOptions, af as RoadmapVoteError, ag as RoadmapVoteResult, ah as RoadmapVoter, ai as RoadmapVotesResponse, aj as SearchFilters, ak as SearchResponse, al as SifaQueryKey, am as SimilarProfile, an as SkillSearchResult, ao as StatsResponse, ap as SuggestionProfile, aq as SuggestionsResponse, ar as UpdateProfileOverrideInput, as as UpdateProfileSelfInput, at as UploadAvatarResult, au as VerifyExternalAccountResult, av as addFeatureAllowlist, aw as addOrgNotificationEmail, ax as apiFetch, ay as apiFetchOrNull, az as apiWrite, aA as apiWriteCreate, aB as bulkHideProfileItems, aC as bulkHideStandardPublications, aD as bulkUnhideProfileItems, aE as bulkUnhideStandardPublications, aF as castRoadmapVote, aG as checkAppAccount, aH as createEndorsement, aI as createExternalAccount, aJ as createProfileLocation, aK as createReaction, aL as deleteAccount, aM as deleteAvatarOverride, aN as deleteExternalAccount, aO as deleteProfileLocation, aP as deleteReaction, aQ as fetchActivityFeed, aR as fetchActivityTeaser, aS as fetchAppsRegistry, aT as fetchExternalAccounts, aU as fetchFeaturedProfile, aV as fetchFollowing, aW as fetchHeatmapData, aX as fetchHiddenApps, aY as fetchMyRoadmapVotes, aZ as fetchReactionStatus, a_ as fetchRoadmapVotes, a$ as fetchSearchFilters, b0 as fetchSearchProfiles, b1 as fetchSimilarProfiles, b2 as fetchSkillSuggestions, b3 as fetchStats, b4 as fetchSuggestionCount, b5 as fetchSuggestions, b6 as followUser, b7 as getBlueskySuggestions, b8 as getFollowers, b9 as getFollowing, ba as getFollowingFeed, bb as getMutuals, bc as hideOrcidPublication, bd as hideProfileItem, be as hideSifaPublication, bf as hideStandardPublication, bg as listFeatureAllowlist, bh as refreshOrcidPublications, bi as refreshPds, bj as removeFeatureAllowlist, bk as removeOrgNotificationEmail, bl as requestOrgDomainChallenge, bm as resetProfile, bn as resolveQuotedPosts, bo as retractRoadmapVote, bp as searchSkills, bq as setExternalAccountPrimary, br as submitOrgClaim, bs as unfollowUser, bt as unhideOrcidPublication, bu as unhideProfileItem, bv as unhideSifaPublication, bw as unhideStandardPublication, bx as unsetExternalAccountPrimary, by as updateExternalAccount, bz as updateOrgProfile, bA as updateProfileLocation, bB as updateProfileOverride, bC as updateProfileSelf, bD as uploadAvatar, bE as verifyExternalAccount, bF as verifyOrgDomain } from '../org-92bvwL8H.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 UpdateSkillVariables, j as UseEntitySearchOptions, u as useActivityFeed, k as useActivityTeaser, l as useAddFeatureAllowlist, m as useAddOrgNotificationEmail, n as useAppAccountCheck, o as useAppsRegistry, p as useAtFundLink, q as useBlueskySuggestions, r as useBulkHideProfileItems, s as useBulkHideStandardPublications, t as useBulkUnhideProfileItems, v as useBulkUnhideStandardPublications, w as useCanonicalSkillSearch, x as useCastRoadmapVote, y as useCreateEducation, z as useCreateEndorsement, B as useCreateExternalAccount, E as useCreatePosition, G as useCreateProfileLocation, H as useCreateReaction, I as useCreateRecord, J as useCreateSkill, K as useDebouncedValue, L as useDeleteAccount, M as useDeleteAvatarOverride, N as useDeleteEducation, O as useDeleteExternalAccount, Q as useDeletePosition, T as useDeleteProfileLocation, V as useDeleteReaction, W as useDeleteRecord, X as useDeleteSkill, Y as useEndorsementCount, Z as useEntitySearch, _ as useExternalAccounts, $ as useFeatureAllowlist, a0 as useFeaturedProfile, a1 as useFollow, a2 as useFollowers, a3 as useFollowing, a4 as useFollowingFeed, a5 as useFollowingList, a6 as useGetProfileView, a7 as useHeatmapData, a8 as useHiddenApps, a9 as useHideKeytraceClaim, aa as useHideOrcidPublication, ab as useHideProfileItem, ac as useHideSifaPublication, ad as useHideStandardPublication, ae as useImportSearchEntities, af as useLinkSkillToPosition, ag as useMintEntityDomain, ah as useMutuals, ai as useMyRoadmapVotes, aj as useNetworkStreamCount, ak as useOrgClaim, al as useOrgDomainChallenge, am as useOrgDomainVerify, an as useOrgProfile, ao as useProfile, ap as useReactionStatus, aq as useRefreshOrcidPublications, ar as useRefreshPds, as as useRemoveFeatureAllowlist, at as useRemoveOrgNotificationEmail, au as useResetProfile, av as useResolveEntityDomain, aw as useRetractRoadmapVote, ax as useRevealMarqueDomain, ay as useRoadmapVotes, az as useSearchFilters, aA as useSearchProfiles, aB as useSelectEntity, aC as useSetExternalAccountPrimary, aD as useSetPositionPrimary, aE as useSifaConfig, aF as useSimilarProfiles, aG as useSkillSuggestions, aH as useStats, aI as useSuggestionCount, aJ as useSuggestions, aK as useUnfollow, aL as useUnhideKeytraceClaim, aM as useUnhideOrcidPublication, aN as useUnhideProfileItem, aO as useUnhideSifaPublication, aP as useUnhideStandardPublication, aQ as useUnlinkSkillFromPosition, aR as useUnrevealMarqueDomain, aS as useUnsetExternalAccountPrimary, aT as useUnsetPositionPrimary, aU as useUpdateEducation, aV as useUpdateExternalAccount, aW as useUpdateOrgProfile, aX as useUpdatePosition, aY as useUpdateProfileLocation, aZ as useUpdateProfileOverride, a_ as useUpdateProfileSelf, a$ as useUpdateRecord, b0 as useUpdateSkill, b1 as useUploadAvatar, b2 as useVerifyExternalAccount } from '../index-xcu81B4E.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 createSkill, k as deleteEducation, l as deletePosition, m as deleteRecord, n as deleteSkill, o as fetchAtFundLink, p as fetchEndorsementCount, q as fetchEntitySearch, r as fetchGetProfileView, s as fetchNetworkMap, t as fetchNetworkStreamCount, u as fetchProfile, v as hideKeytraceClaim, w as importSearchEntities, x as initiateNetworkMapGeneration, y as isNetworkMapResponse, z as linkSkillToPosition, A as mintEntityDomain, B as resolveEntityDomain, C as revealMarqueDomain, D as selectEntity, E as setPositionPrimary, G as unhideKeytraceClaim, H as unlinkSkillFromPosition, I as unrevealMarqueDomain, J as unsetPositionPrimary, K as updateEducation, L as updatePosition, M as updateRecord, O as updateSkill } from '../index-BJV2XHOP.cjs';
|
|
5
|
+
import { C as CoSpeaker, A as AdultContentLabel } from '../adult-content-BOY_T6j3.cjs';
|
|
6
6
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
7
7
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
8
8
|
import '../feed-D2ZV8Eaj.cjs';
|
|
9
9
|
import 'zod';
|
|
10
|
+
import '../org-settings-CmaSX5ZI.cjs';
|
|
10
11
|
import 'react';
|
|
11
12
|
|
|
12
13
|
/**
|
package/dist/query/index.d.ts
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { S as SifaApiConfig, A as ApiFetchOptions, W as WriteResult, s as sifaQueryKeys } from '../
|
|
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 FetchMyRoadmapVotesOptions, u as FetchReactionStatusOptions, v as FetchSuggestionsOptions, w as FilterOptions, x as FollowListPage, y as FollowProfile, z as FollowProfilePageResponse, G as FollowUserResult, H as FollowingResponse, I as HIDDEN_ITEM_SOURCES, J as HIDDEN_ITEM_TYPES, K as HeatmapDay, L as HeatmapResponse, M as HiddenApp, N as HiddenItemSource, O as HiddenItemType, P as HideProfileItemInput, Q as ListFeatureAllowlistOptions, R 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 UpdateSkillVariables, j as UseEntitySearchOptions, u as useActivityFeed, k as useActivityTeaser, l as useAddFeatureAllowlist, m 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 createSkill, k as deleteEducation, l as deletePosition, m as deleteRecord, n as deleteSkill, o as fetchAtFundLink, p as fetchEndorsementCount, q as fetchEntitySearch, r as
|
|
5
|
-
import { C as CoSpeaker, A as AdultContentLabel } from '../adult-content-
|
|
1
|
+
import { S as SifaApiConfig, A as ApiFetchOptions, W as WriteResult, s as sifaQueryKeys } from '../org-Bxz__jbx.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 FetchMyRoadmapVotesOptions, u as FetchReactionStatusOptions, v as FetchSuggestionsOptions, w as FilterOptions, x as FollowListPage, y as FollowProfile, z as FollowProfilePageResponse, G as FollowUserResult, H as FollowingResponse, I as HIDDEN_ITEM_SOURCES, J as HIDDEN_ITEM_TYPES, K as HeatmapDay, L as HeatmapResponse, M as HiddenApp, N as HiddenItemSource, O as HiddenItemType, P as HideProfileItemInput, Q as ListFeatureAllowlistOptions, R as OrgClaimBinding, T as OrgClaimResult, U as OrgDomainChallengeResult, V as OrgDomainVerifyResult, X as OrgNotificationEmailAddResult, Y as OrgNotificationEmailRemoveResult, Z as OrgProfileEcho, _ as OrgProfileUpdateResult, $ as ProfileIndustryInput, a0 as ProfileLocationAddress, a1 as ProfileLocationInput, a2 as ProfileSearchResult, a3 as ProfileSelfLocation, a4 as QUOTED_POSTS_BATCH_MAX, a5 as QuotedPostAuthor, a6 as QuotedPostImage, a7 as QuotedPostResult, a8 as QuotedPostView, a9 as ReactionError, aa as ReactionResult, ab as ReactionStatus, ac as RefreshOrcidPublicationsResult, ad as RefreshPdsResult, ae as ResolveQuotedPostsOptions, af as RoadmapVoteError, ag as RoadmapVoteResult, ah as RoadmapVoter, ai as RoadmapVotesResponse, aj as SearchFilters, ak as SearchResponse, al as SifaQueryKey, am as SimilarProfile, an as SkillSearchResult, ao as StatsResponse, ap as SuggestionProfile, aq as SuggestionsResponse, ar as UpdateProfileOverrideInput, as as UpdateProfileSelfInput, at as UploadAvatarResult, au as VerifyExternalAccountResult, av as addFeatureAllowlist, aw as addOrgNotificationEmail, ax as apiFetch, ay as apiFetchOrNull, az as apiWrite, aA as apiWriteCreate, aB as bulkHideProfileItems, aC as bulkHideStandardPublications, aD as bulkUnhideProfileItems, aE as bulkUnhideStandardPublications, aF as castRoadmapVote, aG as checkAppAccount, aH as createEndorsement, aI as createExternalAccount, aJ as createProfileLocation, aK as createReaction, aL as deleteAccount, aM as deleteAvatarOverride, aN as deleteExternalAccount, aO as deleteProfileLocation, aP as deleteReaction, aQ as fetchActivityFeed, aR as fetchActivityTeaser, aS as fetchAppsRegistry, aT as fetchExternalAccounts, aU as fetchFeaturedProfile, aV as fetchFollowing, aW as fetchHeatmapData, aX as fetchHiddenApps, aY as fetchMyRoadmapVotes, aZ as fetchReactionStatus, a_ as fetchRoadmapVotes, a$ as fetchSearchFilters, b0 as fetchSearchProfiles, b1 as fetchSimilarProfiles, b2 as fetchSkillSuggestions, b3 as fetchStats, b4 as fetchSuggestionCount, b5 as fetchSuggestions, b6 as followUser, b7 as getBlueskySuggestions, b8 as getFollowers, b9 as getFollowing, ba as getFollowingFeed, bb as getMutuals, bc as hideOrcidPublication, bd as hideProfileItem, be as hideSifaPublication, bf as hideStandardPublication, bg as listFeatureAllowlist, bh as refreshOrcidPublications, bi as refreshPds, bj as removeFeatureAllowlist, bk as removeOrgNotificationEmail, bl as requestOrgDomainChallenge, bm as resetProfile, bn as resolveQuotedPosts, bo as retractRoadmapVote, bp as searchSkills, bq as setExternalAccountPrimary, br as submitOrgClaim, bs as unfollowUser, bt as unhideOrcidPublication, bu as unhideProfileItem, bv as unhideSifaPublication, bw as unhideStandardPublication, bx as unsetExternalAccountPrimary, by as updateExternalAccount, bz as updateOrgProfile, bA as updateProfileLocation, bB as updateProfileOverride, bC as updateProfileSelf, bD as uploadAvatar, bE as verifyExternalAccount, bF as verifyOrgDomain } from '../org-Bxz__jbx.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 UpdateSkillVariables, j as UseEntitySearchOptions, u as useActivityFeed, k as useActivityTeaser, l as useAddFeatureAllowlist, m as useAddOrgNotificationEmail, n as useAppAccountCheck, o as useAppsRegistry, p as useAtFundLink, q as useBlueskySuggestions, r as useBulkHideProfileItems, s as useBulkHideStandardPublications, t as useBulkUnhideProfileItems, v as useBulkUnhideStandardPublications, w as useCanonicalSkillSearch, x as useCastRoadmapVote, y as useCreateEducation, z as useCreateEndorsement, B as useCreateExternalAccount, E as useCreatePosition, G as useCreateProfileLocation, H as useCreateReaction, I as useCreateRecord, J as useCreateSkill, K as useDebouncedValue, L as useDeleteAccount, M as useDeleteAvatarOverride, N as useDeleteEducation, O as useDeleteExternalAccount, Q as useDeletePosition, T as useDeleteProfileLocation, V as useDeleteReaction, W as useDeleteRecord, X as useDeleteSkill, Y as useEndorsementCount, Z as useEntitySearch, _ as useExternalAccounts, $ as useFeatureAllowlist, a0 as useFeaturedProfile, a1 as useFollow, a2 as useFollowers, a3 as useFollowing, a4 as useFollowingFeed, a5 as useFollowingList, a6 as useGetProfileView, a7 as useHeatmapData, a8 as useHiddenApps, a9 as useHideKeytraceClaim, aa as useHideOrcidPublication, ab as useHideProfileItem, ac as useHideSifaPublication, ad as useHideStandardPublication, ae as useImportSearchEntities, af as useLinkSkillToPosition, ag as useMintEntityDomain, ah as useMutuals, ai as useMyRoadmapVotes, aj as useNetworkStreamCount, ak as useOrgClaim, al as useOrgDomainChallenge, am as useOrgDomainVerify, an as useOrgProfile, ao as useProfile, ap as useReactionStatus, aq as useRefreshOrcidPublications, ar as useRefreshPds, as as useRemoveFeatureAllowlist, at as useRemoveOrgNotificationEmail, au as useResetProfile, av as useResolveEntityDomain, aw as useRetractRoadmapVote, ax as useRevealMarqueDomain, ay as useRoadmapVotes, az as useSearchFilters, aA as useSearchProfiles, aB as useSelectEntity, aC as useSetExternalAccountPrimary, aD as useSetPositionPrimary, aE as useSifaConfig, aF as useSimilarProfiles, aG as useSkillSuggestions, aH as useStats, aI as useSuggestionCount, aJ as useSuggestions, aK as useUnfollow, aL as useUnhideKeytraceClaim, aM as useUnhideOrcidPublication, aN as useUnhideProfileItem, aO as useUnhideSifaPublication, aP as useUnhideStandardPublication, aQ as useUnlinkSkillFromPosition, aR as useUnrevealMarqueDomain, aS as useUnsetExternalAccountPrimary, aT as useUnsetPositionPrimary, aU as useUpdateEducation, aV as useUpdateExternalAccount, aW as useUpdateOrgProfile, aX as useUpdatePosition, aY as useUpdateProfileLocation, aZ as useUpdateProfileOverride, a_ as useUpdateProfileSelf, a$ as useUpdateRecord, b0 as useUpdateSkill, b1 as useUploadAvatar, b2 as useVerifyExternalAccount } from '../index-m5MELVUQ.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 createSkill, k as deleteEducation, l as deletePosition, m as deleteRecord, n as deleteSkill, o as fetchAtFundLink, p as fetchEndorsementCount, q as fetchEntitySearch, r as fetchGetProfileView, s as fetchNetworkMap, t as fetchNetworkStreamCount, u as fetchProfile, v as hideKeytraceClaim, w as importSearchEntities, x as initiateNetworkMapGeneration, y as isNetworkMapResponse, z as linkSkillToPosition, A as mintEntityDomain, B as resolveEntityDomain, C as revealMarqueDomain, D as selectEntity, E as setPositionPrimary, G as unhideKeytraceClaim, H as unlinkSkillFromPosition, I as unrevealMarqueDomain, J as unsetPositionPrimary, K as updateEducation, L as updatePosition, M as updateRecord, O as updateSkill } from '../index-C1SIpwOj.js';
|
|
5
|
+
import { C as CoSpeaker, A as AdultContentLabel } from '../adult-content-BOY_T6j3.js';
|
|
6
6
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
7
7
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
8
8
|
import '../feed-D2ZV8Eaj.js';
|
|
9
9
|
import 'zod';
|
|
10
|
+
import '../org-settings-CmaSX5ZI.js';
|
|
10
11
|
import 'react';
|
|
11
12
|
|
|
12
13
|
/**
|
package/dist/query/index.js
CHANGED
|
@@ -146,6 +146,19 @@ async function fetchAtFundLink(config, did, options = {}) {
|
|
|
146
146
|
}
|
|
147
147
|
}
|
|
148
148
|
|
|
149
|
+
// src/query/fetchers/get-profile-view.ts
|
|
150
|
+
async function fetchGetProfileView(config, actor, options = {}) {
|
|
151
|
+
const path = `/xrpc/id.sifa.getProfileView?actor=${encodeIdentifier(actor)}`;
|
|
152
|
+
try {
|
|
153
|
+
return await apiFetch(config, path, { retryOn429: true, ...options });
|
|
154
|
+
} catch (e) {
|
|
155
|
+
if (e instanceof ApiError && e.status === 400 && typeof e.body === "object" && e.body !== null && e.body.error === "ProfileNotFound") {
|
|
156
|
+
return null;
|
|
157
|
+
}
|
|
158
|
+
throw e;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
|
|
149
162
|
// src/query/fetchers/profile-mutations.ts
|
|
150
163
|
function updateProfileSelf(config, data, options = {}) {
|
|
151
164
|
return apiWrite(config, "/api/profile/self", "PUT", { body: data, ...options });
|
|
@@ -1230,6 +1243,7 @@ var sifaQueryKeys = {
|
|
|
1230
1243
|
all: () => ["sifa", "profile"],
|
|
1231
1244
|
byHandle: (handleOrDid) => ["sifa", "profile", handleOrDid],
|
|
1232
1245
|
atFundLink: (did) => ["sifa", "profile", "at-fund-link", did],
|
|
1246
|
+
view: (actor) => ["sifa", "profile", "view", actor],
|
|
1233
1247
|
externalAccounts: (handleOrDid) => ["sifa", "profile", "external-accounts", handleOrDid]
|
|
1234
1248
|
},
|
|
1235
1249
|
position: {
|
|
@@ -1325,6 +1339,15 @@ function useAtFundLink(did, options) {
|
|
|
1325
1339
|
...options
|
|
1326
1340
|
});
|
|
1327
1341
|
}
|
|
1342
|
+
function useGetProfileView(actor, options) {
|
|
1343
|
+
const config = useSifaConfig();
|
|
1344
|
+
return useQuery({
|
|
1345
|
+
queryKey: sifaQueryKeys.profile.view(actor ?? ""),
|
|
1346
|
+
queryFn: () => fetchGetProfileView(config, actor ?? ""),
|
|
1347
|
+
enabled: Boolean(actor) && (options?.enabled ?? true),
|
|
1348
|
+
...options
|
|
1349
|
+
});
|
|
1350
|
+
}
|
|
1328
1351
|
async function invalidateProfile(queryClient, ownerHandleOrDid) {
|
|
1329
1352
|
await queryClient.invalidateQueries({
|
|
1330
1353
|
queryKey: sifaQueryKeys.profile.byHandle(ownerHandleOrDid)
|
|
@@ -2538,6 +2561,115 @@ function useUpdateBskyContentLabelPrefs() {
|
|
|
2538
2561
|
});
|
|
2539
2562
|
}
|
|
2540
2563
|
|
|
2541
|
-
|
|
2564
|
+
// src/query/fetchers/org.ts
|
|
2565
|
+
function submitOrgClaim(config, body, options = {}) {
|
|
2566
|
+
return apiWrite(config, "/api/org/claim", "POST", { body, ...options });
|
|
2567
|
+
}
|
|
2568
|
+
function updateOrgProfile(config, body, options = {}) {
|
|
2569
|
+
return apiWrite(config, "/api/org/profile", "PUT", {
|
|
2570
|
+
body,
|
|
2571
|
+
...options
|
|
2572
|
+
});
|
|
2573
|
+
}
|
|
2574
|
+
function requestOrgDomainChallenge(config, body, options = {}) {
|
|
2575
|
+
return apiWrite(config, "/api/org/domains/challenge", "POST", {
|
|
2576
|
+
body,
|
|
2577
|
+
...options
|
|
2578
|
+
});
|
|
2579
|
+
}
|
|
2580
|
+
function verifyOrgDomain(config, body, options = {}) {
|
|
2581
|
+
return apiWrite(config, "/api/org/domains/verify", "POST", {
|
|
2582
|
+
body,
|
|
2583
|
+
...options
|
|
2584
|
+
});
|
|
2585
|
+
}
|
|
2586
|
+
function addOrgNotificationEmail(config, body, options = {}) {
|
|
2587
|
+
return apiWrite(
|
|
2588
|
+
config,
|
|
2589
|
+
"/api/org/notification-emails",
|
|
2590
|
+
"POST",
|
|
2591
|
+
{ body, ...options }
|
|
2592
|
+
);
|
|
2593
|
+
}
|
|
2594
|
+
function removeOrgNotificationEmail(config, body, options = {}) {
|
|
2595
|
+
return apiWrite(
|
|
2596
|
+
config,
|
|
2597
|
+
"/api/org/notification-emails",
|
|
2598
|
+
"DELETE",
|
|
2599
|
+
{ body, ...options }
|
|
2600
|
+
);
|
|
2601
|
+
}
|
|
2602
|
+
function useOrgProfile(handleOrDid, options) {
|
|
2603
|
+
const config = useSifaConfig();
|
|
2604
|
+
return useQuery({
|
|
2605
|
+
queryKey: sifaQueryKeys.profile.byHandle(handleOrDid ?? ""),
|
|
2606
|
+
queryFn: () => fetchProfile(config, handleOrDid ?? ""),
|
|
2607
|
+
enabled: Boolean(handleOrDid) && (options?.enabled ?? true),
|
|
2608
|
+
select: (profile) => profile?.org ?? null,
|
|
2609
|
+
...options
|
|
2610
|
+
});
|
|
2611
|
+
}
|
|
2612
|
+
function useOrgClaim(handleOrDid, options) {
|
|
2613
|
+
const config = useSifaConfig();
|
|
2614
|
+
const queryClient = useQueryClient();
|
|
2615
|
+
return useMutation({
|
|
2616
|
+
mutationFn: (body) => submitOrgClaim(config, body),
|
|
2617
|
+
onSuccess: async (result, variables, onMutateResult, context) => {
|
|
2618
|
+
if (result.success && handleOrDid) {
|
|
2619
|
+
await queryClient.invalidateQueries({
|
|
2620
|
+
queryKey: sifaQueryKeys.profile.byHandle(handleOrDid)
|
|
2621
|
+
});
|
|
2622
|
+
}
|
|
2623
|
+
await options?.onSuccess?.(result, variables, onMutateResult, context);
|
|
2624
|
+
},
|
|
2625
|
+
...options
|
|
2626
|
+
});
|
|
2627
|
+
}
|
|
2628
|
+
function useUpdateOrgProfile(handleOrDid, options) {
|
|
2629
|
+
const config = useSifaConfig();
|
|
2630
|
+
const queryClient = useQueryClient();
|
|
2631
|
+
return useMutation({
|
|
2632
|
+
mutationFn: (body) => updateOrgProfile(config, body),
|
|
2633
|
+
onSuccess: async (result, variables, onMutateResult, context) => {
|
|
2634
|
+
if (result.success && handleOrDid) {
|
|
2635
|
+
await queryClient.invalidateQueries({
|
|
2636
|
+
queryKey: sifaQueryKeys.profile.byHandle(handleOrDid)
|
|
2637
|
+
});
|
|
2638
|
+
}
|
|
2639
|
+
await options?.onSuccess?.(result, variables, onMutateResult, context);
|
|
2640
|
+
},
|
|
2641
|
+
...options
|
|
2642
|
+
});
|
|
2643
|
+
}
|
|
2644
|
+
function useOrgDomainChallenge(options) {
|
|
2645
|
+
const config = useSifaConfig();
|
|
2646
|
+
return useMutation({
|
|
2647
|
+
mutationFn: (body) => requestOrgDomainChallenge(config, body),
|
|
2648
|
+
...options
|
|
2649
|
+
});
|
|
2650
|
+
}
|
|
2651
|
+
function useOrgDomainVerify(options) {
|
|
2652
|
+
const config = useSifaConfig();
|
|
2653
|
+
return useMutation({
|
|
2654
|
+
mutationFn: (body) => verifyOrgDomain(config, body),
|
|
2655
|
+
...options
|
|
2656
|
+
});
|
|
2657
|
+
}
|
|
2658
|
+
function useAddOrgNotificationEmail(options) {
|
|
2659
|
+
const config = useSifaConfig();
|
|
2660
|
+
return useMutation({
|
|
2661
|
+
mutationFn: (body) => addOrgNotificationEmail(config, body),
|
|
2662
|
+
...options
|
|
2663
|
+
});
|
|
2664
|
+
}
|
|
2665
|
+
function useRemoveOrgNotificationEmail(options) {
|
|
2666
|
+
const config = useSifaConfig();
|
|
2667
|
+
return useMutation({
|
|
2668
|
+
mutationFn: (body) => removeOrgNotificationEmail(config, body),
|
|
2669
|
+
...options
|
|
2670
|
+
});
|
|
2671
|
+
}
|
|
2672
|
+
|
|
2673
|
+
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, fetchMyRoadmapVotes, fetchNetworkMap, fetchNetworkStreamCount, fetchProfile, fetchReactionStatus, fetchResolveActor, fetchRoadmapVotes, fetchSearchFilters, fetchSearchProfiles, fetchSimilarProfiles, fetchSkillSuggestions, fetchStats, fetchSuggestionCount, fetchSuggestions, 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, 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, verifyExternalAccount, verifyOrgDomain };
|
|
2542
2674
|
//# sourceMappingURL=index.js.map
|
|
2543
2675
|
//# sourceMappingURL=index.js.map
|