@singi-labs/sifa-sdk 0.12.21 → 0.12.22
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-C9gi0C_Q.d.cts → adult-content-DdY7S5nN.d.cts} +1 -1
- package/dist/{adult-content-C9gi0C_Q.d.ts → adult-content-DdY7S5nN.d.ts} +1 -1
- package/dist/{index-68tJSEtA.d.cts → index-4SE7Z9SK.d.cts} +2 -2
- package/dist/{index-BEDyt4ZP.d.ts → index-BpEeBgRr.d.ts} +15 -3
- package/dist/{index-Cbjiqz7Y.d.cts → index-Bz0xL4us.d.cts} +15 -3
- package/dist/{index-B4NfsdTi.d.ts → index-M_BYlvDY.d.ts} +2 -2
- package/dist/index.cjs +21 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.js +21 -2
- package/dist/index.js.map +1 -1
- package/dist/{org-lScz_q2Z.d.ts → org-CQMDMN58.d.ts} +1 -1
- package/dist/{org-BX4WZoOT.d.cts → org-DVIvsT_0.d.cts} +1 -1
- package/dist/profile-summary-B9SuY-EU.d.ts +39 -0
- package/dist/profile-summary-DjRf3Snf.d.cts +39 -0
- package/dist/query/fetchers/index.cjs +37 -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 +37 -1
- package/dist/query/fetchers/index.js.map +1 -1
- package/dist/query/hooks/index.d.cts +3 -3
- package/dist/query/hooks/index.d.ts +3 -3
- package/dist/query/index.cjs +37 -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 +37 -1
- package/dist/query/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
export { a as AccountCheckResult, b as ActivityFeedResponse, c as ActivityItem, d as ActivityItemLinkHealth, e as ActivityTeaserResponse, f as ApiError, A as ApiFetchOptions, 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 PdsWipeOutcome, a0 as ProfileIndustryInput, a1 as ProfileLocationAddress, a2 as ProfileLocationInput, a3 as ProfileSearchResult, a4 as ProfileSelfLocation, a5 as QUOTED_POSTS_BATCH_MAX, a6 as QuotedPostAuthor, a7 as QuotedPostImage, a8 as QuotedPostResult, a9 as QuotedPostView, aa as ReactionError, ab as ReactionResult, ac as ReactionStatus, ad as RefreshOrcidPublicationsResult, ae as RefreshPdsResult, af as ResetProfileResult, ag as ResolveQuotedPostsOptions, ah as RoadmapVoteError, ai as RoadmapVoteResult, aj as RoadmapVoter, ak as RoadmapVotesResponse, al as SearchFilters, am as SearchResponse, S as SifaApiConfig, an as SifaQueryKey, ao as SimilarProfile, ap as SkillSearchResult, aq as StatsResponse, ar as SuggestionProfile, as as SuggestionsResponse, at as UpdateProfileOverrideInput, au as UpdateProfileSelfInput, av as UploadAvatarResult, aw as VerifyExternalAccountResult, W as WriteResult, ax as addFeatureAllowlist, ay as addOrgNotificationEmail, az as apiFetch, aA as apiFetchOrNull, aB as apiWrite, aC as apiWriteCreate, aD as bulkHideProfileItems, aE as bulkHideStandardPublications, aF as bulkUnhideProfileItems, aG as bulkUnhideStandardPublications, aH as castRoadmapVote, aI as checkAppAccount, aJ as createEndorsement, aK as createExternalAccount, aL as createProfileLocation, aM as createReaction, aN as deleteAccount, aO as deleteAvatarOverride, aP as deleteExternalAccount, aQ as deleteProfileLocation, aR as deleteReaction, aS as fetchActivityFeed, aT as fetchActivityTeaser, aU as fetchAppsRegistry, aV as fetchExternalAccounts, aW as fetchFeaturedProfile, aX as fetchFollowing, aY as fetchHeatmapData, aZ as fetchHiddenApps, a_ as fetchMyRoadmapVotes, a$ as fetchReactionStatus, b0 as fetchRoadmapVotes, b1 as fetchSearchFilters, b2 as fetchSearchProfiles, b3 as fetchSimilarProfiles, b4 as fetchSkillSuggestions, b5 as fetchStats, b6 as fetchSuggestionCount, b7 as fetchSuggestions, b8 as followUser, b9 as getBlueskySuggestions, ba as getFollowers, bb as getFollowing, bc as getFollowingFeed, bd as getMutuals, be as hideOrcidPublication, bf as hideProfileItem, bg as hideSifaPublication, bh as hideStandardPublication, bi as listFeatureAllowlist, bj as refreshOrcidPublications, bk as refreshPds, bl as removeFeatureAllowlist, bm as removeOrgNotificationEmail, bn as requestOrgDomainChallenge, bo as resetProfile, bp as resolveQuotedPosts, bq as retractRoadmapVote, br as searchSkills, bs as setExternalAccountPrimary, s as sifaQueryKeys, bt as submitOrgClaim, bu as unfollowUser, bv as unhideOrcidPublication, bw as unhideProfileItem, bx as unhideSifaPublication, by as unhideStandardPublication, bz as unsetExternalAccountPrimary, bA as updateExternalAccount, bB as updateOrgProfile, bC as updateProfileLocation, bD as updateProfileOverride, bE as updateProfileSelf, bF as uploadAvatar, bG as verifyExternalAccount, bH as verifyOrgDomain } from '../../org-
|
|
2
|
-
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
|
|
3
|
-
import '../../adult-content-
|
|
1
|
+
export { a as AccountCheckResult, b as ActivityFeedResponse, c as ActivityItem, d as ActivityItemLinkHealth, e as ActivityTeaserResponse, f as ApiError, A as ApiFetchOptions, 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 PdsWipeOutcome, a0 as ProfileIndustryInput, a1 as ProfileLocationAddress, a2 as ProfileLocationInput, a3 as ProfileSearchResult, a4 as ProfileSelfLocation, a5 as QUOTED_POSTS_BATCH_MAX, a6 as QuotedPostAuthor, a7 as QuotedPostImage, a8 as QuotedPostResult, a9 as QuotedPostView, aa as ReactionError, ab as ReactionResult, ac as ReactionStatus, ad as RefreshOrcidPublicationsResult, ae as RefreshPdsResult, af as ResetProfileResult, ag as ResolveQuotedPostsOptions, ah as RoadmapVoteError, ai as RoadmapVoteResult, aj as RoadmapVoter, ak as RoadmapVotesResponse, al as SearchFilters, am as SearchResponse, S as SifaApiConfig, an as SifaQueryKey, ao as SimilarProfile, ap as SkillSearchResult, aq as StatsResponse, ar as SuggestionProfile, as as SuggestionsResponse, at as UpdateProfileOverrideInput, au as UpdateProfileSelfInput, av as UploadAvatarResult, aw as VerifyExternalAccountResult, W as WriteResult, ax as addFeatureAllowlist, ay as addOrgNotificationEmail, az as apiFetch, aA as apiFetchOrNull, aB as apiWrite, aC as apiWriteCreate, aD as bulkHideProfileItems, aE as bulkHideStandardPublications, aF as bulkUnhideProfileItems, aG as bulkUnhideStandardPublications, aH as castRoadmapVote, aI as checkAppAccount, aJ as createEndorsement, aK as createExternalAccount, aL as createProfileLocation, aM as createReaction, aN as deleteAccount, aO as deleteAvatarOverride, aP as deleteExternalAccount, aQ as deleteProfileLocation, aR as deleteReaction, aS as fetchActivityFeed, aT as fetchActivityTeaser, aU as fetchAppsRegistry, aV as fetchExternalAccounts, aW as fetchFeaturedProfile, aX as fetchFollowing, aY as fetchHeatmapData, aZ as fetchHiddenApps, a_ as fetchMyRoadmapVotes, a$ as fetchReactionStatus, b0 as fetchRoadmapVotes, b1 as fetchSearchFilters, b2 as fetchSearchProfiles, b3 as fetchSimilarProfiles, b4 as fetchSkillSuggestions, b5 as fetchStats, b6 as fetchSuggestionCount, b7 as fetchSuggestions, b8 as followUser, b9 as getBlueskySuggestions, ba as getFollowers, bb as getFollowing, bc as getFollowingFeed, bd as getMutuals, be as hideOrcidPublication, bf as hideProfileItem, bg as hideSifaPublication, bh as hideStandardPublication, bi as listFeatureAllowlist, bj as refreshOrcidPublications, bk as refreshPds, bl as removeFeatureAllowlist, bm as removeOrgNotificationEmail, bn as requestOrgDomainChallenge, bo as resetProfile, bp as resolveQuotedPosts, bq as retractRoadmapVote, br as searchSkills, bs as setExternalAccountPrimary, s as sifaQueryKeys, bt as submitOrgClaim, bu as unfollowUser, bv as unhideOrcidPublication, bw as unhideProfileItem, bx as unhideSifaPublication, by as unhideStandardPublication, bz as unsetExternalAccountPrimary, bA as updateExternalAccount, bB as updateOrgProfile, bC as updateProfileLocation, bD as updateProfileOverride, bE as updateProfileSelf, bF as uploadAvatar, bG as verifyExternalAccount, bH as verifyOrgDomain } from '../../org-DVIvsT_0.cjs';
|
|
2
|
+
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 fetchProfileSummary, w as hideKeytraceClaim, x as importSearchEntities, y as initiateNetworkMapGeneration, z as isNetworkMapResponse, A as linkSkillToPosition, D as revealMarqueDomain, E as selectEntity, G as setPositionPrimary, H as unhideKeytraceClaim, I as unlinkSkillFromPosition, J as unrevealMarqueDomain, K as unsetPositionPrimary, L as updateEducation, M as updatePosition, O as updateRecord, P as updateSkill } from '../../index-Bz0xL4us.cjs';
|
|
3
|
+
import '../../adult-content-DdY7S5nN.cjs';
|
|
4
4
|
import '../../feed-D2ZV8Eaj.cjs';
|
|
5
5
|
import 'zod';
|
|
6
6
|
import '../../org-settings-CmaSX5ZI.cjs';
|
|
7
|
+
import '../../profile-summary-DjRf3Snf.cjs';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
export { a as AccountCheckResult, b as ActivityFeedResponse, c as ActivityItem, d as ActivityItemLinkHealth, e as ActivityTeaserResponse, f as ApiError, A as ApiFetchOptions, 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 PdsWipeOutcome, a0 as ProfileIndustryInput, a1 as ProfileLocationAddress, a2 as ProfileLocationInput, a3 as ProfileSearchResult, a4 as ProfileSelfLocation, a5 as QUOTED_POSTS_BATCH_MAX, a6 as QuotedPostAuthor, a7 as QuotedPostImage, a8 as QuotedPostResult, a9 as QuotedPostView, aa as ReactionError, ab as ReactionResult, ac as ReactionStatus, ad as RefreshOrcidPublicationsResult, ae as RefreshPdsResult, af as ResetProfileResult, ag as ResolveQuotedPostsOptions, ah as RoadmapVoteError, ai as RoadmapVoteResult, aj as RoadmapVoter, ak as RoadmapVotesResponse, al as SearchFilters, am as SearchResponse, S as SifaApiConfig, an as SifaQueryKey, ao as SimilarProfile, ap as SkillSearchResult, aq as StatsResponse, ar as SuggestionProfile, as as SuggestionsResponse, at as UpdateProfileOverrideInput, au as UpdateProfileSelfInput, av as UploadAvatarResult, aw as VerifyExternalAccountResult, W as WriteResult, ax as addFeatureAllowlist, ay as addOrgNotificationEmail, az as apiFetch, aA as apiFetchOrNull, aB as apiWrite, aC as apiWriteCreate, aD as bulkHideProfileItems, aE as bulkHideStandardPublications, aF as bulkUnhideProfileItems, aG as bulkUnhideStandardPublications, aH as castRoadmapVote, aI as checkAppAccount, aJ as createEndorsement, aK as createExternalAccount, aL as createProfileLocation, aM as createReaction, aN as deleteAccount, aO as deleteAvatarOverride, aP as deleteExternalAccount, aQ as deleteProfileLocation, aR as deleteReaction, aS as fetchActivityFeed, aT as fetchActivityTeaser, aU as fetchAppsRegistry, aV as fetchExternalAccounts, aW as fetchFeaturedProfile, aX as fetchFollowing, aY as fetchHeatmapData, aZ as fetchHiddenApps, a_ as fetchMyRoadmapVotes, a$ as fetchReactionStatus, b0 as fetchRoadmapVotes, b1 as fetchSearchFilters, b2 as fetchSearchProfiles, b3 as fetchSimilarProfiles, b4 as fetchSkillSuggestions, b5 as fetchStats, b6 as fetchSuggestionCount, b7 as fetchSuggestions, b8 as followUser, b9 as getBlueskySuggestions, ba as getFollowers, bb as getFollowing, bc as getFollowingFeed, bd as getMutuals, be as hideOrcidPublication, bf as hideProfileItem, bg as hideSifaPublication, bh as hideStandardPublication, bi as listFeatureAllowlist, bj as refreshOrcidPublications, bk as refreshPds, bl as removeFeatureAllowlist, bm as removeOrgNotificationEmail, bn as requestOrgDomainChallenge, bo as resetProfile, bp as resolveQuotedPosts, bq as retractRoadmapVote, br as searchSkills, bs as setExternalAccountPrimary, s as sifaQueryKeys, bt as submitOrgClaim, bu as unfollowUser, bv as unhideOrcidPublication, bw as unhideProfileItem, bx as unhideSifaPublication, by as unhideStandardPublication, bz as unsetExternalAccountPrimary, bA as updateExternalAccount, bB as updateOrgProfile, bC as updateProfileLocation, bD as updateProfileOverride, bE as updateProfileSelf, bF as uploadAvatar, bG as verifyExternalAccount, bH as verifyOrgDomain } from '../../org-
|
|
2
|
-
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
|
|
3
|
-
import '../../adult-content-
|
|
1
|
+
export { a as AccountCheckResult, b as ActivityFeedResponse, c as ActivityItem, d as ActivityItemLinkHealth, e as ActivityTeaserResponse, f as ApiError, A as ApiFetchOptions, 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 PdsWipeOutcome, a0 as ProfileIndustryInput, a1 as ProfileLocationAddress, a2 as ProfileLocationInput, a3 as ProfileSearchResult, a4 as ProfileSelfLocation, a5 as QUOTED_POSTS_BATCH_MAX, a6 as QuotedPostAuthor, a7 as QuotedPostImage, a8 as QuotedPostResult, a9 as QuotedPostView, aa as ReactionError, ab as ReactionResult, ac as ReactionStatus, ad as RefreshOrcidPublicationsResult, ae as RefreshPdsResult, af as ResetProfileResult, ag as ResolveQuotedPostsOptions, ah as RoadmapVoteError, ai as RoadmapVoteResult, aj as RoadmapVoter, ak as RoadmapVotesResponse, al as SearchFilters, am as SearchResponse, S as SifaApiConfig, an as SifaQueryKey, ao as SimilarProfile, ap as SkillSearchResult, aq as StatsResponse, ar as SuggestionProfile, as as SuggestionsResponse, at as UpdateProfileOverrideInput, au as UpdateProfileSelfInput, av as UploadAvatarResult, aw as VerifyExternalAccountResult, W as WriteResult, ax as addFeatureAllowlist, ay as addOrgNotificationEmail, az as apiFetch, aA as apiFetchOrNull, aB as apiWrite, aC as apiWriteCreate, aD as bulkHideProfileItems, aE as bulkHideStandardPublications, aF as bulkUnhideProfileItems, aG as bulkUnhideStandardPublications, aH as castRoadmapVote, aI as checkAppAccount, aJ as createEndorsement, aK as createExternalAccount, aL as createProfileLocation, aM as createReaction, aN as deleteAccount, aO as deleteAvatarOverride, aP as deleteExternalAccount, aQ as deleteProfileLocation, aR as deleteReaction, aS as fetchActivityFeed, aT as fetchActivityTeaser, aU as fetchAppsRegistry, aV as fetchExternalAccounts, aW as fetchFeaturedProfile, aX as fetchFollowing, aY as fetchHeatmapData, aZ as fetchHiddenApps, a_ as fetchMyRoadmapVotes, a$ as fetchReactionStatus, b0 as fetchRoadmapVotes, b1 as fetchSearchFilters, b2 as fetchSearchProfiles, b3 as fetchSimilarProfiles, b4 as fetchSkillSuggestions, b5 as fetchStats, b6 as fetchSuggestionCount, b7 as fetchSuggestions, b8 as followUser, b9 as getBlueskySuggestions, ba as getFollowers, bb as getFollowing, bc as getFollowingFeed, bd as getMutuals, be as hideOrcidPublication, bf as hideProfileItem, bg as hideSifaPublication, bh as hideStandardPublication, bi as listFeatureAllowlist, bj as refreshOrcidPublications, bk as refreshPds, bl as removeFeatureAllowlist, bm as removeOrgNotificationEmail, bn as requestOrgDomainChallenge, bo as resetProfile, bp as resolveQuotedPosts, bq as retractRoadmapVote, br as searchSkills, bs as setExternalAccountPrimary, s as sifaQueryKeys, bt as submitOrgClaim, bu as unfollowUser, bv as unhideOrcidPublication, bw as unhideProfileItem, bx as unhideSifaPublication, by as unhideStandardPublication, bz as unsetExternalAccountPrimary, bA as updateExternalAccount, bB as updateOrgProfile, bC as updateProfileLocation, bD as updateProfileOverride, bE as updateProfileSelf, bF as uploadAvatar, bG as verifyExternalAccount, bH as verifyOrgDomain } from '../../org-CQMDMN58.js';
|
|
2
|
+
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 fetchProfileSummary, w as hideKeytraceClaim, x as importSearchEntities, y as initiateNetworkMapGeneration, z as isNetworkMapResponse, A as linkSkillToPosition, D as revealMarqueDomain, E as selectEntity, G as setPositionPrimary, H as unhideKeytraceClaim, I as unlinkSkillFromPosition, J as unrevealMarqueDomain, K as unsetPositionPrimary, L as updateEducation, M as updatePosition, O as updateRecord, P as updateSkill } from '../../index-BpEeBgRr.js';
|
|
3
|
+
import '../../adult-content-DdY7S5nN.js';
|
|
4
4
|
import '../../feed-D2ZV8Eaj.js';
|
|
5
5
|
import 'zod';
|
|
6
6
|
import '../../org-settings-CmaSX5ZI.js';
|
|
7
|
+
import '../../profile-summary-B9SuY-EU.js';
|
|
@@ -1243,6 +1243,42 @@ function removeOrgNotificationEmail(config, body, options = {}) {
|
|
|
1243
1243
|
);
|
|
1244
1244
|
}
|
|
1245
1245
|
|
|
1246
|
+
// src/logic/primary-position.ts
|
|
1247
|
+
function pickPrimaryPosition(positions) {
|
|
1248
|
+
if (!positions || positions.length === 0) return void 0;
|
|
1249
|
+
const active = positions.filter((p) => !p.endedAt);
|
|
1250
|
+
if (active.length === 0) return void 0;
|
|
1251
|
+
const flagged = active.find((p) => p.primary === true);
|
|
1252
|
+
if (flagged) return flagged;
|
|
1253
|
+
return [...active].sort((a, b) => (b.startedAt ?? "").localeCompare(a.startedAt ?? ""))[0];
|
|
1254
|
+
}
|
|
1255
|
+
|
|
1256
|
+
// src/logic/profile-summary.ts
|
|
1257
|
+
var DEFAULT_MAX_SKILLS = 5;
|
|
1258
|
+
function summarizeProfileView(view, options = {}) {
|
|
1259
|
+
const limit = Math.max(0, options.maxSkills ?? DEFAULT_MAX_SKILLS);
|
|
1260
|
+
const primary = pickPrimaryPosition(view.positions);
|
|
1261
|
+
return {
|
|
1262
|
+
did: view.did,
|
|
1263
|
+
handle: view.handle,
|
|
1264
|
+
displayName: view.displayName,
|
|
1265
|
+
avatar: view.avatar,
|
|
1266
|
+
pronouns: view.pronouns,
|
|
1267
|
+
headline: view.headline,
|
|
1268
|
+
currentTitle: primary?.title,
|
|
1269
|
+
currentCompany: primary ? primary.entityName ?? primary.company : void 0,
|
|
1270
|
+
topSkills: (view.skills ?? []).slice(0, limit).map((s) => s.name),
|
|
1271
|
+
claimed: view.claimed ?? false
|
|
1272
|
+
};
|
|
1273
|
+
}
|
|
1274
|
+
|
|
1275
|
+
// src/query/fetchers/profile-summary.ts
|
|
1276
|
+
async function fetchProfileSummary(config, actor, options = {}) {
|
|
1277
|
+
const { maxSkills, ...fetchOptions } = options;
|
|
1278
|
+
const view = await fetchGetProfileView(config, actor, fetchOptions);
|
|
1279
|
+
return view ? summarizeProfileView(view, { maxSkills }) : null;
|
|
1280
|
+
}
|
|
1281
|
+
|
|
1246
1282
|
// src/query/keys.ts
|
|
1247
1283
|
var sifaQueryKeys = {
|
|
1248
1284
|
all: () => ["sifa"],
|
|
@@ -1327,6 +1363,6 @@ var sifaQueryKeys = {
|
|
|
1327
1363
|
}
|
|
1328
1364
|
};
|
|
1329
1365
|
|
|
1330
|
-
export { ApiError, HIDDEN_ITEM_SOURCES, HIDDEN_ITEM_TYPES, QUOTED_POSTS_BATCH_MAX, 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, fetchActivityFeed, fetchActivityTeaser, fetchAppsRegistry, fetchAtFundLink, fetchEndorsementCount, fetchEntitySearch, fetchExternalAccounts, fetchFeaturedProfile, fetchFollowing, fetchGetProfileView, fetchHeatmapData, fetchHiddenApps, fetchMyRoadmapVotes, fetchNetworkMap, fetchNetworkStreamCount, fetchProfile, fetchReactionStatus, fetchRoadmapVotes, fetchSearchFilters, fetchSearchProfiles, fetchSimilarProfiles, fetchSkillSuggestions, fetchStats, fetchSuggestionCount, fetchSuggestions, followUser, getBlueskySuggestions, getFollowers, getFollowing, getFollowingFeed, getMutuals, hideKeytraceClaim, hideOrcidPublication, hideProfileItem, hideSifaPublication, hideStandardPublication, importSearchEntities, initiateNetworkMapGeneration, isNetworkMapResponse, linkSkillToPosition, listFeatureAllowlist, refreshOrcidPublications, refreshPds, removeFeatureAllowlist, removeOrgNotificationEmail, requestOrgDomainChallenge, resetProfile, resolveQuotedPosts, retractRoadmapVote, revealMarqueDomain, searchSkills, selectEntity, setExternalAccountPrimary, setPositionPrimary, sifaQueryKeys, submitOrgClaim, unfollowUser, unhideKeytraceClaim, unhideOrcidPublication, unhideProfileItem, unhideSifaPublication, unhideStandardPublication, unlinkSkillFromPosition, unrevealMarqueDomain, unsetExternalAccountPrimary, unsetPositionPrimary, updateEducation, updateExternalAccount, updateOrgProfile, updatePosition, updateProfileLocation, updateProfileOverride, updateProfileSelf, updateRecord, updateSkill, uploadAvatar, verifyExternalAccount, verifyOrgDomain };
|
|
1366
|
+
export { ApiError, HIDDEN_ITEM_SOURCES, HIDDEN_ITEM_TYPES, QUOTED_POSTS_BATCH_MAX, 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, fetchActivityFeed, fetchActivityTeaser, fetchAppsRegistry, fetchAtFundLink, fetchEndorsementCount, fetchEntitySearch, fetchExternalAccounts, fetchFeaturedProfile, fetchFollowing, fetchGetProfileView, fetchHeatmapData, fetchHiddenApps, fetchMyRoadmapVotes, fetchNetworkMap, fetchNetworkStreamCount, fetchProfile, fetchProfileSummary, fetchReactionStatus, fetchRoadmapVotes, fetchSearchFilters, fetchSearchProfiles, fetchSimilarProfiles, fetchSkillSuggestions, fetchStats, fetchSuggestionCount, fetchSuggestions, followUser, getBlueskySuggestions, getFollowers, getFollowing, getFollowingFeed, getMutuals, hideKeytraceClaim, hideOrcidPublication, hideProfileItem, hideSifaPublication, hideStandardPublication, importSearchEntities, initiateNetworkMapGeneration, isNetworkMapResponse, linkSkillToPosition, listFeatureAllowlist, refreshOrcidPublications, refreshPds, removeFeatureAllowlist, removeOrgNotificationEmail, requestOrgDomainChallenge, resetProfile, resolveQuotedPosts, retractRoadmapVote, revealMarqueDomain, searchSkills, selectEntity, setExternalAccountPrimary, setPositionPrimary, sifaQueryKeys, submitOrgClaim, unfollowUser, unhideKeytraceClaim, unhideOrcidPublication, unhideProfileItem, unhideSifaPublication, unhideStandardPublication, unlinkSkillFromPosition, unrevealMarqueDomain, unsetExternalAccountPrimary, unsetPositionPrimary, updateEducation, updateExternalAccount, updateOrgProfile, updatePosition, updateProfileLocation, updateProfileOverride, updateProfileSelf, updateRecord, updateSkill, uploadAvatar, verifyExternalAccount, verifyOrgDomain };
|
|
1331
1367
|
//# sourceMappingURL=index.js.map
|
|
1332
1368
|
//# sourceMappingURL=index.js.map
|