@singi-labs/sifa-sdk 0.19.83 → 0.19.85

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.
Files changed (35) hide show
  1. package/dist/index.cjs +1 -1
  2. package/dist/index.d.cts +3 -3
  3. package/dist/index.d.ts +3 -3
  4. package/dist/index.js +1 -1
  5. package/dist/{network-map-DMDU4liU.d.cts → network-map-BRoBXwPG.d.cts} +2 -2
  6. package/dist/{network-map-BEOM5v7g.d.ts → network-map-NbEQwn91.d.ts} +2 -2
  7. package/dist/{profile-summary-1oXL1guc.d.ts → profile-summary-BGIJ6ovO.d.ts} +1 -1
  8. package/dist/{profile-summary-CpM9l8iq.d.cts → profile-summary-BpfRgE0z.d.cts} +1 -1
  9. package/dist/query/fetchers/index.cjs +2 -1
  10. package/dist/query/fetchers/index.cjs.map +1 -1
  11. package/dist/query/fetchers/index.d.cts +5 -5
  12. package/dist/query/fetchers/index.d.ts +5 -5
  13. package/dist/query/fetchers/search.js +2 -1
  14. package/dist/query/fetchers/search.js.map +1 -1
  15. package/dist/query/hooks/index.cjs +2 -1
  16. package/dist/query/hooks/index.cjs.map +1 -1
  17. package/dist/query/hooks/index.d.cts +3 -3
  18. package/dist/query/hooks/index.d.ts +3 -3
  19. package/dist/query/index.cjs +2 -1
  20. package/dist/query/index.cjs.map +1 -1
  21. package/dist/query/index.d.cts +8 -8
  22. package/dist/query/index.d.ts +8 -8
  23. package/dist/schemas/write/index.cjs +6 -0
  24. package/dist/schemas/write/index.cjs.map +1 -1
  25. package/dist/schemas/write/index.d.cts +7 -0
  26. package/dist/schemas/write/index.d.ts +7 -0
  27. package/dist/schemas/write/project.js +7 -0
  28. package/dist/schemas/write/project.js.map +1 -1
  29. package/dist/{types-DQfWqSud.d.cts → types-CPi-Xcur.d.cts} +2 -0
  30. package/dist/{types-DB7UkX43.d.ts → types-D2IffOnb.d.ts} +2 -0
  31. package/dist/{use-user-settings-U-cIysUa.d.cts → use-user-settings-BxIVvuk3.d.cts} +2 -2
  32. package/dist/{use-user-settings-A_i6Nrj1.d.ts → use-user-settings-D_APuRP2.d.ts} +2 -2
  33. package/dist/{user-settings-DdWaL2AG.d.cts → user-settings-BFyyuR3C.d.cts} +1 -1
  34. package/dist/{user-settings-CGJPdwTM.d.ts → user-settings-BSlRJc0W.d.ts} +1 -1
  35. package/package.json +1 -1
@@ -1,11 +1,11 @@
1
- import { a0 as SifaApiConfig, a1 as ApiFetchOptions, a2 as CreateResult, a3 as WriteResult } from '../../types-DQfWqSud.cjs';
2
- export { a4 as ApiError, ai as CompanySearchFilters, aj as CompanySearchResponse, ak as CompanySearchResult, a5 as FilterOptions, a6 as ProfileSearchResult, a7 as ProfileSearchSuggestion, S as SearchFilters, a8 as SearchResponse, a9 as SkillSearchResult, aa as apiFetch, ab as apiFetchOrNull, ac as apiWrite, ad as apiWriteCreate, al as fetchSearchCompanies, ae as fetchSearchFilters, af as fetchSearchProfiles, ag as fetchSkillSuggestions, ah as searchSkills } from '../../types-DQfWqSud.cjs';
3
- export { D as DismissEndorsementInput, F as FetchNetworkStreamCountOptions, b as FetchPendingEndorsementsOptions, N as NetworkMapEdge, c as NetworkMapGenerationJob, d as NetworkMapGraphData, e as NetworkMapNode, f as NetworkMapPendingJob, g as NetworkMapResponse, h as PendingEndorsement, P as PendingEndorsementsPage, i as ReceivedEndorsement, R as ReceivedEndorsementsPage, a as ReciprocityCandidate, j as ReciprocitySkill, S as SpeakerCard, k as SpeakerDirectoryFilters, l as SpeakerGroup, m as SpeakersResponse, T as TalkEvent, n as TalkRow, o as TalkSpeaker, p as TalksResponse, q as checkNetworkMapJobStatus, r as createEducation, s as createPosition, t as createRecord, u as deleteEducation, v as deletePosition, w as deleteRecord, x as dismissEndorsement, y as fetchAtFundLink, z as fetchEndorsementCount, A as fetchEntitySearch, B as fetchGetProfileView, C as fetchNetworkMap, E as fetchNetworkStreamCount, G as fetchPendingEndorsements, H as fetchProfile, I as fetchProfileSummary, J as fetchReceivedEndorsements, K as fetchReciprocityCandidate, L as fetchSpeakers, M as fetchTalks, O as hideKeytraceClaim, Q as importSearchEntities, U as initiateNetworkMapGeneration, V as isNetworkMapResponse, W as linkSkillToPosition, Z as revealMarqueDomain, _ as selectEntity, $ as setPositionPrimary, a0 as unhideKeytraceClaim, a1 as unlinkSkillFromPosition, a2 as unrevealMarqueDomain, a3 as unsetPositionPrimary, a4 as updateEducation, a5 as updatePosition, a6 as updateRecord } from '../../network-map-DMDU4liU.cjs';
4
- export { A as AccountCheckResult, b as AccountSummary, c as ActivityFeedResponse, d as ActivityItem, e as ActivityItemLinkHealth, f as ActivityPreferences, g as ActivityTeaserResponse, h as AdminReviewQueues, i as AppRegistryEntry, B as BulkHideProfileItemInput, j as CastRoadmapVoteResult, k as CheckAppAccountOptions, C as ConfirmEndorsementInput, l as ConfirmationInput, m as ConfirmationSubjectInput, n as CreateExternalAccountResult, D as DeleteAccountResult, o as DismissUnlinkedPositionInput, E as EndorsementInput, p as ExternalAccountInput, F as FeatureAllowlistResponse, q as FeaturedProfile, r as FetchAccountsOptions, t as FetchActivityFeedOptions, u as FetchActivityPreferencesOptions, v as FetchActivityTeaserOptions, w as FetchConfirmationsOptions, x as FetchFollowListOptions, y as FetchFollowProfilePageOptions, z as FetchFollowingFeedOptions, G as FetchHiddenActivityItemsOptions, H as FetchHiddenAppsOptions, I as FetchInboxCountsOptions, J as FetchMyGithubPullRequestsOptions, K as FetchMyRoadmapVotesOptions, L as FetchProfileCompletenessOptions, M as FetchReactionStatusOptions, N as FetchRpgClaimableOptions, O as FetchRpgStatusOptions, P as FetchSuggestionsOptions, Q as FetchUnlinkedPositionsOptions, R as FetchUserSettingsOptions, S as FollowListPage, T as FollowProfile, U as FollowProfilePageResponse, V as FollowUserResult, W as FollowingFeedApp, X as FollowingFeedBuild, Y as FollowingFeedEmptyReason, Z as FollowingFeedResponse, _ as FollowingFeedVersion, $ as FollowingResponse, a0 as GetAdminReviewQueuesOptions, a1 as GithubPullRequest, a2 as GivenConfirmation, a3 as HIDDEN_ITEM_SOURCES, a4 as HIDDEN_ITEM_TYPES, a5 as HeatmapDay, a6 as HeatmapResponse, a7 as HiddenActivityItem, a8 as HiddenApp, a9 as HiddenItemSource, aa as HiddenItemType, ab as HideActivityItemInput, ac as HideProfileItemInput, ad as InboxCounts, ae as ListFeatureAllowlistOptions, af as MyGithubPullRequestsResponse, ag as OrgClaimBinding, ah as OrgClaimResult, ai as OrgDomainChallengeResult, aj as OrgDomainVerifyResult, ak as OrgNotificationEmailAddResult, al as OrgNotificationEmailRemoveResult, am as OrgProfileEcho, an as OrgProfileUpdateResult, ao as PROFILE_COMPLETENESS_SIGNALS, ap as PdsWipeOutcome, aq as PendingConfirmation, ar as PendingConfirmationsPage, as as PrimarySection, at as ProfileCompleteness, au as ProfileCompletenessSignal, av as ProfileIndustryInput, aw as ProfileLocationAddress, ax as ProfileLocationInput, ay as ProfileSelfLocation, az as QUOTED_POSTS_BATCH_MAX, aA as QuotedPostAuthor, aB as QuotedPostImage, aC as QuotedPostResult, aD as QuotedPostView, aE as ReactionError, aF as ReactionResult, aG as ReactionStatus, aH as RefreshOrcidPublicationsResult, aI as RefreshPdsResult, aJ as RepoDeleteInput, aK as ResetProfileResult, aL as ResolveQuotedPostsOptions, aM as RoadmapVoteError, aN as RoadmapVoteResult, aO as RoadmapVoter, aP as RoadmapVotesResponse, aQ as RpgClaimableResponse, aR as RpgClaimableResponseSchema, aS as RpgItemStatus, aT as RpgItemStatusSchema, aU as RpgStatusResponse, aV as RpgStatusResponseSchema, aW as SifaQueryKey, aX as SimilarProfile, aY as SiteActivityPresetResponse, aZ as StatsResponse, a$ as SuggestionProfile, b0 as SuggestionsResponse, b1 as UnhideActivityItemInput, b2 as UnlinkedPosition, b3 as UnlinkedPositionsResult, b4 as UpdateActivityPreferencesInput, b5 as UpdateProfileOverrideInput, b6 as UpdateProfileSelfInput, b7 as UploadAvatarResult, b8 as UploadPronunciationAudioResult, b9 as UserSettings, ba as UserSettingsPatch, bb as UserSettingsSchema, bc as VerifyExternalAccountResult, bd as WipePreview, be as addFeatureAllowlist, bf as addOrgNotificationEmail, bg as bulkHideProfileItems, bh as bulkHideStandardPublications, bi as bulkUnhideProfileItems, bj as bulkUnhideStandardPublications, bk as castRoadmapVote, bl as checkAppAccount, bm as confirmEndorsement, bn as createConfirmation, bo as createEndorsement, bp as createExternalAccount, bq as createProfileLocation, br as createReaction, bs as createSkill, bt as deleteAccount, bu as deleteAvatarOverride, bv as deleteExternalAccount, bw as deleteNamePronunciationAudio, bx as deleteProfileLocation, by as deleteReaction, bz as deleteRepoRecords, bA as deleteSkill, bB as dismissConfirmation, bC as dismissUnlinkedPosition, bD as fetchAccounts, bE as fetchActivityFeed, bF as fetchActivityPreferences, bG as fetchActivityTeaser, bH as fetchAppsRegistry, bI as fetchExternalAccounts, bJ as fetchFeaturedProfile, bK as fetchFollowing, bL as fetchFollowingFeed, bM as fetchFollowingFeedVersion, bN as fetchGivenConfirmations, bO as fetchHeatmapData, bP as fetchHiddenActivityItems, bQ as fetchHiddenApps, bR as fetchInboxCounts, bS as fetchMyGithubPullRequests, bT as fetchMyRoadmapVotes, bU as fetchPendingConfirmations, bV as fetchProfileCompleteness, bW as fetchReactionStatus, bX as fetchRepoInventory, bY as fetchRoadmapVotes, bZ as fetchRpgClaimable, b_ as fetchRpgStatus, b$ as fetchSimilarProfiles, c0 as fetchSiteActivityPreset, c1 as fetchStats, c2 as fetchSuggestionCount, c3 as fetchSuggestions, c4 as fetchUnlinkedPositions, c5 as fetchUserSettings, c6 as fetchViewerPositionConfirmations, c7 as fetchWipePreview, c8 as followUser, c9 as getAdminReviewQueues, ca as getBlueskySuggestions, cb as getFollowers, cc as getFollowing, cd as getMutuals, ce as hideActivityItem, cf as hideOrcidPublication, cg as hideProfileItem, ch as hideSifaPublication, ci as hideStandardPublication, cj as isNewerFollowingFeed, ck as listFeatureAllowlist, cl as refreshOrcidPublications, cm as refreshPds, cn as removeFeatureAllowlist, co as removeOrgNotificationEmail, cp as repoExportUrl, cq as requestOrgDomainChallenge, cr as resetProfile, cs as resolveQuotedPosts, ct as retractRoadmapVote, cu as revokeConfirmation, cv as setExternalAccountPrimary, cw as setSectionPrimary, s as sifaQueryKeys, cx as submitOrgClaim, cy as switchAccount, cz as unfollowUser, cA as unhideActivityItem, cB as unhideOrcidPublication, cC as unhideProfileItem, cD as unhideSifaPublication, cE as unhideStandardPublication, cF as unsetExternalAccountPrimary, cG as unsetSectionPrimary, cH as updateActivityPreferences, cI as updateExternalAccount, cJ as updateOrgProfile, cK as updateProfileLocation, cL as updateProfileOverride, cM as updateProfileSelf, cN as updateSkill, cP as updateUserSettings, cQ as uploadAvatar, cR as uploadNamePronunciationAudio, cS as verifyExternalAccount, cT as verifyOrgDomain } from '../../user-settings-DdWaL2AG.cjs';
1
+ import { a0 as SifaApiConfig, a1 as ApiFetchOptions, a2 as CreateResult, a3 as WriteResult } from '../../types-CPi-Xcur.cjs';
2
+ export { a4 as ApiError, ai as CompanySearchFilters, aj as CompanySearchResponse, ak as CompanySearchResult, a5 as FilterOptions, a6 as ProfileSearchResult, a7 as ProfileSearchSuggestion, S as SearchFilters, a8 as SearchResponse, a9 as SkillSearchResult, aa as apiFetch, ab as apiFetchOrNull, ac as apiWrite, ad as apiWriteCreate, al as fetchSearchCompanies, ae as fetchSearchFilters, af as fetchSearchProfiles, ag as fetchSkillSuggestions, ah as searchSkills } from '../../types-CPi-Xcur.cjs';
3
+ export { D as DismissEndorsementInput, F as FetchNetworkStreamCountOptions, b as FetchPendingEndorsementsOptions, N as NetworkMapEdge, c as NetworkMapGenerationJob, d as NetworkMapGraphData, e as NetworkMapNode, f as NetworkMapPendingJob, g as NetworkMapResponse, h as PendingEndorsement, P as PendingEndorsementsPage, i as ReceivedEndorsement, R as ReceivedEndorsementsPage, a as ReciprocityCandidate, j as ReciprocitySkill, S as SpeakerCard, k as SpeakerDirectoryFilters, l as SpeakerGroup, m as SpeakersResponse, T as TalkEvent, n as TalkRow, o as TalkSpeaker, p as TalksResponse, q as checkNetworkMapJobStatus, r as createEducation, s as createPosition, t as createRecord, u as deleteEducation, v as deletePosition, w as deleteRecord, x as dismissEndorsement, y as fetchAtFundLink, z as fetchEndorsementCount, A as fetchEntitySearch, B as fetchGetProfileView, C as fetchNetworkMap, E as fetchNetworkStreamCount, G as fetchPendingEndorsements, H as fetchProfile, I as fetchProfileSummary, J as fetchReceivedEndorsements, K as fetchReciprocityCandidate, L as fetchSpeakers, M as fetchTalks, O as hideKeytraceClaim, Q as importSearchEntities, U as initiateNetworkMapGeneration, V as isNetworkMapResponse, W as linkSkillToPosition, Z as revealMarqueDomain, _ as selectEntity, $ as setPositionPrimary, a0 as unhideKeytraceClaim, a1 as unlinkSkillFromPosition, a2 as unrevealMarqueDomain, a3 as unsetPositionPrimary, a4 as updateEducation, a5 as updatePosition, a6 as updateRecord } from '../../network-map-BRoBXwPG.cjs';
4
+ export { A as AccountCheckResult, b as AccountSummary, c as ActivityFeedResponse, d as ActivityItem, e as ActivityItemLinkHealth, f as ActivityPreferences, g as ActivityTeaserResponse, h as AdminReviewQueues, i as AppRegistryEntry, B as BulkHideProfileItemInput, j as CastRoadmapVoteResult, k as CheckAppAccountOptions, C as ConfirmEndorsementInput, l as ConfirmationInput, m as ConfirmationSubjectInput, n as CreateExternalAccountResult, D as DeleteAccountResult, o as DismissUnlinkedPositionInput, E as EndorsementInput, p as ExternalAccountInput, F as FeatureAllowlistResponse, q as FeaturedProfile, r as FetchAccountsOptions, t as FetchActivityFeedOptions, u as FetchActivityPreferencesOptions, v as FetchActivityTeaserOptions, w as FetchConfirmationsOptions, x as FetchFollowListOptions, y as FetchFollowProfilePageOptions, z as FetchFollowingFeedOptions, G as FetchHiddenActivityItemsOptions, H as FetchHiddenAppsOptions, I as FetchInboxCountsOptions, J as FetchMyGithubPullRequestsOptions, K as FetchMyRoadmapVotesOptions, L as FetchProfileCompletenessOptions, M as FetchReactionStatusOptions, N as FetchRpgClaimableOptions, O as FetchRpgStatusOptions, P as FetchSuggestionsOptions, Q as FetchUnlinkedPositionsOptions, R as FetchUserSettingsOptions, S as FollowListPage, T as FollowProfile, U as FollowProfilePageResponse, V as FollowUserResult, W as FollowingFeedApp, X as FollowingFeedBuild, Y as FollowingFeedEmptyReason, Z as FollowingFeedResponse, _ as FollowingFeedVersion, $ as FollowingResponse, a0 as GetAdminReviewQueuesOptions, a1 as GithubPullRequest, a2 as GivenConfirmation, a3 as HIDDEN_ITEM_SOURCES, a4 as HIDDEN_ITEM_TYPES, a5 as HeatmapDay, a6 as HeatmapResponse, a7 as HiddenActivityItem, a8 as HiddenApp, a9 as HiddenItemSource, aa as HiddenItemType, ab as HideActivityItemInput, ac as HideProfileItemInput, ad as InboxCounts, ae as ListFeatureAllowlistOptions, af as MyGithubPullRequestsResponse, ag as OrgClaimBinding, ah as OrgClaimResult, ai as OrgDomainChallengeResult, aj as OrgDomainVerifyResult, ak as OrgNotificationEmailAddResult, al as OrgNotificationEmailRemoveResult, am as OrgProfileEcho, an as OrgProfileUpdateResult, ao as PROFILE_COMPLETENESS_SIGNALS, ap as PdsWipeOutcome, aq as PendingConfirmation, ar as PendingConfirmationsPage, as as PrimarySection, at as ProfileCompleteness, au as ProfileCompletenessSignal, av as ProfileIndustryInput, aw as ProfileLocationAddress, ax as ProfileLocationInput, ay as ProfileSelfLocation, az as QUOTED_POSTS_BATCH_MAX, aA as QuotedPostAuthor, aB as QuotedPostImage, aC as QuotedPostResult, aD as QuotedPostView, aE as ReactionError, aF as ReactionResult, aG as ReactionStatus, aH as RefreshOrcidPublicationsResult, aI as RefreshPdsResult, aJ as RepoDeleteInput, aK as ResetProfileResult, aL as ResolveQuotedPostsOptions, aM as RoadmapVoteError, aN as RoadmapVoteResult, aO as RoadmapVoter, aP as RoadmapVotesResponse, aQ as RpgClaimableResponse, aR as RpgClaimableResponseSchema, aS as RpgItemStatus, aT as RpgItemStatusSchema, aU as RpgStatusResponse, aV as RpgStatusResponseSchema, aW as SifaQueryKey, aX as SimilarProfile, aY as SiteActivityPresetResponse, aZ as StatsResponse, a$ as SuggestionProfile, b0 as SuggestionsResponse, b1 as UnhideActivityItemInput, b2 as UnlinkedPosition, b3 as UnlinkedPositionsResult, b4 as UpdateActivityPreferencesInput, b5 as UpdateProfileOverrideInput, b6 as UpdateProfileSelfInput, b7 as UploadAvatarResult, b8 as UploadPronunciationAudioResult, b9 as UserSettings, ba as UserSettingsPatch, bb as UserSettingsSchema, bc as VerifyExternalAccountResult, bd as WipePreview, be as addFeatureAllowlist, bf as addOrgNotificationEmail, bg as bulkHideProfileItems, bh as bulkHideStandardPublications, bi as bulkUnhideProfileItems, bj as bulkUnhideStandardPublications, bk as castRoadmapVote, bl as checkAppAccount, bm as confirmEndorsement, bn as createConfirmation, bo as createEndorsement, bp as createExternalAccount, bq as createProfileLocation, br as createReaction, bs as createSkill, bt as deleteAccount, bu as deleteAvatarOverride, bv as deleteExternalAccount, bw as deleteNamePronunciationAudio, bx as deleteProfileLocation, by as deleteReaction, bz as deleteRepoRecords, bA as deleteSkill, bB as dismissConfirmation, bC as dismissUnlinkedPosition, bD as fetchAccounts, bE as fetchActivityFeed, bF as fetchActivityPreferences, bG as fetchActivityTeaser, bH as fetchAppsRegistry, bI as fetchExternalAccounts, bJ as fetchFeaturedProfile, bK as fetchFollowing, bL as fetchFollowingFeed, bM as fetchFollowingFeedVersion, bN as fetchGivenConfirmations, bO as fetchHeatmapData, bP as fetchHiddenActivityItems, bQ as fetchHiddenApps, bR as fetchInboxCounts, bS as fetchMyGithubPullRequests, bT as fetchMyRoadmapVotes, bU as fetchPendingConfirmations, bV as fetchProfileCompleteness, bW as fetchReactionStatus, bX as fetchRepoInventory, bY as fetchRoadmapVotes, bZ as fetchRpgClaimable, b_ as fetchRpgStatus, b$ as fetchSimilarProfiles, c0 as fetchSiteActivityPreset, c1 as fetchStats, c2 as fetchSuggestionCount, c3 as fetchSuggestions, c4 as fetchUnlinkedPositions, c5 as fetchUserSettings, c6 as fetchViewerPositionConfirmations, c7 as fetchWipePreview, c8 as followUser, c9 as getAdminReviewQueues, ca as getBlueskySuggestions, cb as getFollowers, cc as getFollowing, cd as getMutuals, ce as hideActivityItem, cf as hideOrcidPublication, cg as hideProfileItem, ch as hideSifaPublication, ci as hideStandardPublication, cj as isNewerFollowingFeed, ck as listFeatureAllowlist, cl as refreshOrcidPublications, cm as refreshPds, cn as removeFeatureAllowlist, co as removeOrgNotificationEmail, cp as repoExportUrl, cq as requestOrgDomainChallenge, cr as resetProfile, cs as resolveQuotedPosts, ct as retractRoadmapVote, cu as revokeConfirmation, cv as setExternalAccountPrimary, cw as setSectionPrimary, s as sifaQueryKeys, cx as submitOrgClaim, cy as switchAccount, cz as unfollowUser, cA as unhideActivityItem, cB as unhideOrcidPublication, cC as unhideProfileItem, cD as unhideSifaPublication, cE as unhideStandardPublication, cF as unsetExternalAccountPrimary, cG as unsetSectionPrimary, cH as updateActivityPreferences, cI as updateExternalAccount, cJ as updateOrgProfile, cK as updateProfileLocation, cL as updateProfileOverride, cM as updateProfileSelf, cN as updateSkill, cP as updateUserSettings, cQ as uploadAvatar, cR as uploadNamePronunciationAudio, cS as verifyExternalAccount, cT as verifyOrgDomain } from '../../user-settings-BFyyuR3C.cjs';
5
5
  import '../../index-BrWWVQLL.cjs';
6
6
  import '../../verification-providers-7il3kPQS.cjs';
7
7
  import 'zod';
8
- import '../../profile-summary-CpM9l8iq.cjs';
8
+ import '../../profile-summary-BpfRgE0z.cjs';
9
9
  import '../../follow-profile-CQ3DTTak.cjs';
10
10
  import '../../org-settings-C73Sin5E.cjs';
11
11
 
@@ -1,11 +1,11 @@
1
- import { a0 as SifaApiConfig, a1 as ApiFetchOptions, a2 as CreateResult, a3 as WriteResult } from '../../types-DB7UkX43.js';
2
- export { a4 as ApiError, ai as CompanySearchFilters, aj as CompanySearchResponse, ak as CompanySearchResult, a5 as FilterOptions, a6 as ProfileSearchResult, a7 as ProfileSearchSuggestion, S as SearchFilters, a8 as SearchResponse, a9 as SkillSearchResult, aa as apiFetch, ab as apiFetchOrNull, ac as apiWrite, ad as apiWriteCreate, al as fetchSearchCompanies, ae as fetchSearchFilters, af as fetchSearchProfiles, ag as fetchSkillSuggestions, ah as searchSkills } from '../../types-DB7UkX43.js';
3
- export { D as DismissEndorsementInput, F as FetchNetworkStreamCountOptions, b as FetchPendingEndorsementsOptions, N as NetworkMapEdge, c as NetworkMapGenerationJob, d as NetworkMapGraphData, e as NetworkMapNode, f as NetworkMapPendingJob, g as NetworkMapResponse, h as PendingEndorsement, P as PendingEndorsementsPage, i as ReceivedEndorsement, R as ReceivedEndorsementsPage, a as ReciprocityCandidate, j as ReciprocitySkill, S as SpeakerCard, k as SpeakerDirectoryFilters, l as SpeakerGroup, m as SpeakersResponse, T as TalkEvent, n as TalkRow, o as TalkSpeaker, p as TalksResponse, q as checkNetworkMapJobStatus, r as createEducation, s as createPosition, t as createRecord, u as deleteEducation, v as deletePosition, w as deleteRecord, x as dismissEndorsement, y as fetchAtFundLink, z as fetchEndorsementCount, A as fetchEntitySearch, B as fetchGetProfileView, C as fetchNetworkMap, E as fetchNetworkStreamCount, G as fetchPendingEndorsements, H as fetchProfile, I as fetchProfileSummary, J as fetchReceivedEndorsements, K as fetchReciprocityCandidate, L as fetchSpeakers, M as fetchTalks, O as hideKeytraceClaim, Q as importSearchEntities, U as initiateNetworkMapGeneration, V as isNetworkMapResponse, W as linkSkillToPosition, Z as revealMarqueDomain, _ as selectEntity, $ as setPositionPrimary, a0 as unhideKeytraceClaim, a1 as unlinkSkillFromPosition, a2 as unrevealMarqueDomain, a3 as unsetPositionPrimary, a4 as updateEducation, a5 as updatePosition, a6 as updateRecord } from '../../network-map-BEOM5v7g.js';
4
- export { A as AccountCheckResult, b as AccountSummary, c as ActivityFeedResponse, d as ActivityItem, e as ActivityItemLinkHealth, f as ActivityPreferences, g as ActivityTeaserResponse, h as AdminReviewQueues, i as AppRegistryEntry, B as BulkHideProfileItemInput, j as CastRoadmapVoteResult, k as CheckAppAccountOptions, C as ConfirmEndorsementInput, l as ConfirmationInput, m as ConfirmationSubjectInput, n as CreateExternalAccountResult, D as DeleteAccountResult, o as DismissUnlinkedPositionInput, E as EndorsementInput, p as ExternalAccountInput, F as FeatureAllowlistResponse, q as FeaturedProfile, r as FetchAccountsOptions, t as FetchActivityFeedOptions, u as FetchActivityPreferencesOptions, v as FetchActivityTeaserOptions, w as FetchConfirmationsOptions, x as FetchFollowListOptions, y as FetchFollowProfilePageOptions, z as FetchFollowingFeedOptions, G as FetchHiddenActivityItemsOptions, H as FetchHiddenAppsOptions, I as FetchInboxCountsOptions, J as FetchMyGithubPullRequestsOptions, K as FetchMyRoadmapVotesOptions, L as FetchProfileCompletenessOptions, M as FetchReactionStatusOptions, N as FetchRpgClaimableOptions, O as FetchRpgStatusOptions, P as FetchSuggestionsOptions, Q as FetchUnlinkedPositionsOptions, R as FetchUserSettingsOptions, S as FollowListPage, T as FollowProfile, U as FollowProfilePageResponse, V as FollowUserResult, W as FollowingFeedApp, X as FollowingFeedBuild, Y as FollowingFeedEmptyReason, Z as FollowingFeedResponse, _ as FollowingFeedVersion, $ as FollowingResponse, a0 as GetAdminReviewQueuesOptions, a1 as GithubPullRequest, a2 as GivenConfirmation, a3 as HIDDEN_ITEM_SOURCES, a4 as HIDDEN_ITEM_TYPES, a5 as HeatmapDay, a6 as HeatmapResponse, a7 as HiddenActivityItem, a8 as HiddenApp, a9 as HiddenItemSource, aa as HiddenItemType, ab as HideActivityItemInput, ac as HideProfileItemInput, ad as InboxCounts, ae as ListFeatureAllowlistOptions, af as MyGithubPullRequestsResponse, ag as OrgClaimBinding, ah as OrgClaimResult, ai as OrgDomainChallengeResult, aj as OrgDomainVerifyResult, ak as OrgNotificationEmailAddResult, al as OrgNotificationEmailRemoveResult, am as OrgProfileEcho, an as OrgProfileUpdateResult, ao as PROFILE_COMPLETENESS_SIGNALS, ap as PdsWipeOutcome, aq as PendingConfirmation, ar as PendingConfirmationsPage, as as PrimarySection, at as ProfileCompleteness, au as ProfileCompletenessSignal, av as ProfileIndustryInput, aw as ProfileLocationAddress, ax as ProfileLocationInput, ay as ProfileSelfLocation, az as QUOTED_POSTS_BATCH_MAX, aA as QuotedPostAuthor, aB as QuotedPostImage, aC as QuotedPostResult, aD as QuotedPostView, aE as ReactionError, aF as ReactionResult, aG as ReactionStatus, aH as RefreshOrcidPublicationsResult, aI as RefreshPdsResult, aJ as RepoDeleteInput, aK as ResetProfileResult, aL as ResolveQuotedPostsOptions, aM as RoadmapVoteError, aN as RoadmapVoteResult, aO as RoadmapVoter, aP as RoadmapVotesResponse, aQ as RpgClaimableResponse, aR as RpgClaimableResponseSchema, aS as RpgItemStatus, aT as RpgItemStatusSchema, aU as RpgStatusResponse, aV as RpgStatusResponseSchema, aW as SifaQueryKey, aX as SimilarProfile, aY as SiteActivityPresetResponse, aZ as StatsResponse, a$ as SuggestionProfile, b0 as SuggestionsResponse, b1 as UnhideActivityItemInput, b2 as UnlinkedPosition, b3 as UnlinkedPositionsResult, b4 as UpdateActivityPreferencesInput, b5 as UpdateProfileOverrideInput, b6 as UpdateProfileSelfInput, b7 as UploadAvatarResult, b8 as UploadPronunciationAudioResult, b9 as UserSettings, ba as UserSettingsPatch, bb as UserSettingsSchema, bc as VerifyExternalAccountResult, bd as WipePreview, be as addFeatureAllowlist, bf as addOrgNotificationEmail, bg as bulkHideProfileItems, bh as bulkHideStandardPublications, bi as bulkUnhideProfileItems, bj as bulkUnhideStandardPublications, bk as castRoadmapVote, bl as checkAppAccount, bm as confirmEndorsement, bn as createConfirmation, bo as createEndorsement, bp as createExternalAccount, bq as createProfileLocation, br as createReaction, bs as createSkill, bt as deleteAccount, bu as deleteAvatarOverride, bv as deleteExternalAccount, bw as deleteNamePronunciationAudio, bx as deleteProfileLocation, by as deleteReaction, bz as deleteRepoRecords, bA as deleteSkill, bB as dismissConfirmation, bC as dismissUnlinkedPosition, bD as fetchAccounts, bE as fetchActivityFeed, bF as fetchActivityPreferences, bG as fetchActivityTeaser, bH as fetchAppsRegistry, bI as fetchExternalAccounts, bJ as fetchFeaturedProfile, bK as fetchFollowing, bL as fetchFollowingFeed, bM as fetchFollowingFeedVersion, bN as fetchGivenConfirmations, bO as fetchHeatmapData, bP as fetchHiddenActivityItems, bQ as fetchHiddenApps, bR as fetchInboxCounts, bS as fetchMyGithubPullRequests, bT as fetchMyRoadmapVotes, bU as fetchPendingConfirmations, bV as fetchProfileCompleteness, bW as fetchReactionStatus, bX as fetchRepoInventory, bY as fetchRoadmapVotes, bZ as fetchRpgClaimable, b_ as fetchRpgStatus, b$ as fetchSimilarProfiles, c0 as fetchSiteActivityPreset, c1 as fetchStats, c2 as fetchSuggestionCount, c3 as fetchSuggestions, c4 as fetchUnlinkedPositions, c5 as fetchUserSettings, c6 as fetchViewerPositionConfirmations, c7 as fetchWipePreview, c8 as followUser, c9 as getAdminReviewQueues, ca as getBlueskySuggestions, cb as getFollowers, cc as getFollowing, cd as getMutuals, ce as hideActivityItem, cf as hideOrcidPublication, cg as hideProfileItem, ch as hideSifaPublication, ci as hideStandardPublication, cj as isNewerFollowingFeed, ck as listFeatureAllowlist, cl as refreshOrcidPublications, cm as refreshPds, cn as removeFeatureAllowlist, co as removeOrgNotificationEmail, cp as repoExportUrl, cq as requestOrgDomainChallenge, cr as resetProfile, cs as resolveQuotedPosts, ct as retractRoadmapVote, cu as revokeConfirmation, cv as setExternalAccountPrimary, cw as setSectionPrimary, s as sifaQueryKeys, cx as submitOrgClaim, cy as switchAccount, cz as unfollowUser, cA as unhideActivityItem, cB as unhideOrcidPublication, cC as unhideProfileItem, cD as unhideSifaPublication, cE as unhideStandardPublication, cF as unsetExternalAccountPrimary, cG as unsetSectionPrimary, cH as updateActivityPreferences, cI as updateExternalAccount, cJ as updateOrgProfile, cK as updateProfileLocation, cL as updateProfileOverride, cM as updateProfileSelf, cN as updateSkill, cP as updateUserSettings, cQ as uploadAvatar, cR as uploadNamePronunciationAudio, cS as verifyExternalAccount, cT as verifyOrgDomain } from '../../user-settings-CGJPdwTM.js';
1
+ import { a0 as SifaApiConfig, a1 as ApiFetchOptions, a2 as CreateResult, a3 as WriteResult } from '../../types-D2IffOnb.js';
2
+ export { a4 as ApiError, ai as CompanySearchFilters, aj as CompanySearchResponse, ak as CompanySearchResult, a5 as FilterOptions, a6 as ProfileSearchResult, a7 as ProfileSearchSuggestion, S as SearchFilters, a8 as SearchResponse, a9 as SkillSearchResult, aa as apiFetch, ab as apiFetchOrNull, ac as apiWrite, ad as apiWriteCreate, al as fetchSearchCompanies, ae as fetchSearchFilters, af as fetchSearchProfiles, ag as fetchSkillSuggestions, ah as searchSkills } from '../../types-D2IffOnb.js';
3
+ export { D as DismissEndorsementInput, F as FetchNetworkStreamCountOptions, b as FetchPendingEndorsementsOptions, N as NetworkMapEdge, c as NetworkMapGenerationJob, d as NetworkMapGraphData, e as NetworkMapNode, f as NetworkMapPendingJob, g as NetworkMapResponse, h as PendingEndorsement, P as PendingEndorsementsPage, i as ReceivedEndorsement, R as ReceivedEndorsementsPage, a as ReciprocityCandidate, j as ReciprocitySkill, S as SpeakerCard, k as SpeakerDirectoryFilters, l as SpeakerGroup, m as SpeakersResponse, T as TalkEvent, n as TalkRow, o as TalkSpeaker, p as TalksResponse, q as checkNetworkMapJobStatus, r as createEducation, s as createPosition, t as createRecord, u as deleteEducation, v as deletePosition, w as deleteRecord, x as dismissEndorsement, y as fetchAtFundLink, z as fetchEndorsementCount, A as fetchEntitySearch, B as fetchGetProfileView, C as fetchNetworkMap, E as fetchNetworkStreamCount, G as fetchPendingEndorsements, H as fetchProfile, I as fetchProfileSummary, J as fetchReceivedEndorsements, K as fetchReciprocityCandidate, L as fetchSpeakers, M as fetchTalks, O as hideKeytraceClaim, Q as importSearchEntities, U as initiateNetworkMapGeneration, V as isNetworkMapResponse, W as linkSkillToPosition, Z as revealMarqueDomain, _ as selectEntity, $ as setPositionPrimary, a0 as unhideKeytraceClaim, a1 as unlinkSkillFromPosition, a2 as unrevealMarqueDomain, a3 as unsetPositionPrimary, a4 as updateEducation, a5 as updatePosition, a6 as updateRecord } from '../../network-map-NbEQwn91.js';
4
+ export { A as AccountCheckResult, b as AccountSummary, c as ActivityFeedResponse, d as ActivityItem, e as ActivityItemLinkHealth, f as ActivityPreferences, g as ActivityTeaserResponse, h as AdminReviewQueues, i as AppRegistryEntry, B as BulkHideProfileItemInput, j as CastRoadmapVoteResult, k as CheckAppAccountOptions, C as ConfirmEndorsementInput, l as ConfirmationInput, m as ConfirmationSubjectInput, n as CreateExternalAccountResult, D as DeleteAccountResult, o as DismissUnlinkedPositionInput, E as EndorsementInput, p as ExternalAccountInput, F as FeatureAllowlistResponse, q as FeaturedProfile, r as FetchAccountsOptions, t as FetchActivityFeedOptions, u as FetchActivityPreferencesOptions, v as FetchActivityTeaserOptions, w as FetchConfirmationsOptions, x as FetchFollowListOptions, y as FetchFollowProfilePageOptions, z as FetchFollowingFeedOptions, G as FetchHiddenActivityItemsOptions, H as FetchHiddenAppsOptions, I as FetchInboxCountsOptions, J as FetchMyGithubPullRequestsOptions, K as FetchMyRoadmapVotesOptions, L as FetchProfileCompletenessOptions, M as FetchReactionStatusOptions, N as FetchRpgClaimableOptions, O as FetchRpgStatusOptions, P as FetchSuggestionsOptions, Q as FetchUnlinkedPositionsOptions, R as FetchUserSettingsOptions, S as FollowListPage, T as FollowProfile, U as FollowProfilePageResponse, V as FollowUserResult, W as FollowingFeedApp, X as FollowingFeedBuild, Y as FollowingFeedEmptyReason, Z as FollowingFeedResponse, _ as FollowingFeedVersion, $ as FollowingResponse, a0 as GetAdminReviewQueuesOptions, a1 as GithubPullRequest, a2 as GivenConfirmation, a3 as HIDDEN_ITEM_SOURCES, a4 as HIDDEN_ITEM_TYPES, a5 as HeatmapDay, a6 as HeatmapResponse, a7 as HiddenActivityItem, a8 as HiddenApp, a9 as HiddenItemSource, aa as HiddenItemType, ab as HideActivityItemInput, ac as HideProfileItemInput, ad as InboxCounts, ae as ListFeatureAllowlistOptions, af as MyGithubPullRequestsResponse, ag as OrgClaimBinding, ah as OrgClaimResult, ai as OrgDomainChallengeResult, aj as OrgDomainVerifyResult, ak as OrgNotificationEmailAddResult, al as OrgNotificationEmailRemoveResult, am as OrgProfileEcho, an as OrgProfileUpdateResult, ao as PROFILE_COMPLETENESS_SIGNALS, ap as PdsWipeOutcome, aq as PendingConfirmation, ar as PendingConfirmationsPage, as as PrimarySection, at as ProfileCompleteness, au as ProfileCompletenessSignal, av as ProfileIndustryInput, aw as ProfileLocationAddress, ax as ProfileLocationInput, ay as ProfileSelfLocation, az as QUOTED_POSTS_BATCH_MAX, aA as QuotedPostAuthor, aB as QuotedPostImage, aC as QuotedPostResult, aD as QuotedPostView, aE as ReactionError, aF as ReactionResult, aG as ReactionStatus, aH as RefreshOrcidPublicationsResult, aI as RefreshPdsResult, aJ as RepoDeleteInput, aK as ResetProfileResult, aL as ResolveQuotedPostsOptions, aM as RoadmapVoteError, aN as RoadmapVoteResult, aO as RoadmapVoter, aP as RoadmapVotesResponse, aQ as RpgClaimableResponse, aR as RpgClaimableResponseSchema, aS as RpgItemStatus, aT as RpgItemStatusSchema, aU as RpgStatusResponse, aV as RpgStatusResponseSchema, aW as SifaQueryKey, aX as SimilarProfile, aY as SiteActivityPresetResponse, aZ as StatsResponse, a$ as SuggestionProfile, b0 as SuggestionsResponse, b1 as UnhideActivityItemInput, b2 as UnlinkedPosition, b3 as UnlinkedPositionsResult, b4 as UpdateActivityPreferencesInput, b5 as UpdateProfileOverrideInput, b6 as UpdateProfileSelfInput, b7 as UploadAvatarResult, b8 as UploadPronunciationAudioResult, b9 as UserSettings, ba as UserSettingsPatch, bb as UserSettingsSchema, bc as VerifyExternalAccountResult, bd as WipePreview, be as addFeatureAllowlist, bf as addOrgNotificationEmail, bg as bulkHideProfileItems, bh as bulkHideStandardPublications, bi as bulkUnhideProfileItems, bj as bulkUnhideStandardPublications, bk as castRoadmapVote, bl as checkAppAccount, bm as confirmEndorsement, bn as createConfirmation, bo as createEndorsement, bp as createExternalAccount, bq as createProfileLocation, br as createReaction, bs as createSkill, bt as deleteAccount, bu as deleteAvatarOverride, bv as deleteExternalAccount, bw as deleteNamePronunciationAudio, bx as deleteProfileLocation, by as deleteReaction, bz as deleteRepoRecords, bA as deleteSkill, bB as dismissConfirmation, bC as dismissUnlinkedPosition, bD as fetchAccounts, bE as fetchActivityFeed, bF as fetchActivityPreferences, bG as fetchActivityTeaser, bH as fetchAppsRegistry, bI as fetchExternalAccounts, bJ as fetchFeaturedProfile, bK as fetchFollowing, bL as fetchFollowingFeed, bM as fetchFollowingFeedVersion, bN as fetchGivenConfirmations, bO as fetchHeatmapData, bP as fetchHiddenActivityItems, bQ as fetchHiddenApps, bR as fetchInboxCounts, bS as fetchMyGithubPullRequests, bT as fetchMyRoadmapVotes, bU as fetchPendingConfirmations, bV as fetchProfileCompleteness, bW as fetchReactionStatus, bX as fetchRepoInventory, bY as fetchRoadmapVotes, bZ as fetchRpgClaimable, b_ as fetchRpgStatus, b$ as fetchSimilarProfiles, c0 as fetchSiteActivityPreset, c1 as fetchStats, c2 as fetchSuggestionCount, c3 as fetchSuggestions, c4 as fetchUnlinkedPositions, c5 as fetchUserSettings, c6 as fetchViewerPositionConfirmations, c7 as fetchWipePreview, c8 as followUser, c9 as getAdminReviewQueues, ca as getBlueskySuggestions, cb as getFollowers, cc as getFollowing, cd as getMutuals, ce as hideActivityItem, cf as hideOrcidPublication, cg as hideProfileItem, ch as hideSifaPublication, ci as hideStandardPublication, cj as isNewerFollowingFeed, ck as listFeatureAllowlist, cl as refreshOrcidPublications, cm as refreshPds, cn as removeFeatureAllowlist, co as removeOrgNotificationEmail, cp as repoExportUrl, cq as requestOrgDomainChallenge, cr as resetProfile, cs as resolveQuotedPosts, ct as retractRoadmapVote, cu as revokeConfirmation, cv as setExternalAccountPrimary, cw as setSectionPrimary, s as sifaQueryKeys, cx as submitOrgClaim, cy as switchAccount, cz as unfollowUser, cA as unhideActivityItem, cB as unhideOrcidPublication, cC as unhideProfileItem, cD as unhideSifaPublication, cE as unhideStandardPublication, cF as unsetExternalAccountPrimary, cG as unsetSectionPrimary, cH as updateActivityPreferences, cI as updateExternalAccount, cJ as updateOrgProfile, cK as updateProfileLocation, cL as updateProfileOverride, cM as updateProfileSelf, cN as updateSkill, cP as updateUserSettings, cQ as uploadAvatar, cR as uploadNamePronunciationAudio, cS as verifyExternalAccount, cT as verifyOrgDomain } from '../../user-settings-BSlRJc0W.js';
5
5
  import '../../index-B0BDMGLm.js';
6
6
  import '../../verification-providers-7il3kPQS.js';
7
7
  import 'zod';
8
- import '../../profile-summary-1oXL1guc.js';
8
+ import '../../profile-summary-BGIJ6ovO.js';
9
9
  import '../../follow-profile-ceqefXAw.js';
10
10
  import '../../org-settings-BShvhyFp.js';
11
11
 
@@ -23,8 +23,9 @@ async function fetchSearchProfiles(config, filters, options = {}) {
23
23
  if (token) params.append("openTo", token);
24
24
  }
25
25
  }
26
- if (filters.limit !== void 0) params.set("limit", String(filters.limit));
27
26
  if (params.size === 0) return EMPTY_SEARCH;
27
+ if (filters.limit !== void 0) params.set("limit", String(filters.limit));
28
+ if (filters.offset) params.set("offset", String(filters.offset));
28
29
  return apiFetch(config, `/api/search/profiles?${params.toString()}`, {
29
30
  cache: "no-store",
30
31
  ...options
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/query/fetchers/search.ts"],"sourcesContent":["import type { AccountVerification } from '../../taxonomy/verification-providers.js';\nimport type { SkillSuggestion } from '../../types/index.js';\nimport { apiFetch, type ApiFetchOptions, type SifaApiConfig } from '../client.js';\n\n/** Profile entry returned by the search endpoint. */\nexport interface ProfileSearchResult {\n did?: string;\n handle: string;\n displayName?: string;\n headline?: string;\n avatar?: string;\n about?: string;\n currentRole?: string;\n currentCompany?: string;\n industry?: string;\n domain?: string;\n countryCode?: string;\n locationCountry?: string;\n preferredWorkplace?: string[];\n claimed?: boolean;\n blueskyVerified?: boolean;\n blueskyVerifiedAt?: string | null;\n /**\n * Every verification the account holds, across all recognized providers\n * (Bluesky and firehose-sourced ones like mu). Supersedes the Bluesky-only\n * `blueskyVerified` pair for badge rendering. Absent on older API responses.\n */\n verificationBadges?: AccountVerification[];\n /**\n * The profile's Open To selections as lex values (e.g.\n * `id.sifa.defs#mentoringOthers`), the same values the profile view\n * exposes. Empty when none are set; absent on older API responses.\n */\n openTo?: string[];\n}\n\n/** \"Did you mean\" entry returned alongside a zero-result text search. */\nexport interface ProfileSearchSuggestion {\n did: string;\n handle: string;\n displayName: string | null;\n avatar: string | null;\n}\n\nexport interface SearchFilters {\n q?: string;\n /**\n * Skill filter. An array is sent as repeated `skill` params; the API\n * OR-combines values within the facet and ANDs across facets (max 10).\n */\n skill?: string | string[];\n /** ISO 3166-1 alpha-2 country filter. An array is sent as repeated params. */\n country?: string | string[];\n industry?: string;\n domain?: string;\n workplace?: string;\n app?: string;\n /**\n * Open-to filter. Values are short tokens (e.g. \"fullTime\", \"mentor\",\n * \"collab\") matching `OPEN_TO_OPTIONS[].token` from the taxonomy. The\n * API expands tokens to lex values server-side. Multiple tokens are\n * OR-combined (profile matches if any selected token is set).\n */\n openTo?: string[];\n limit?: number;\n}\n\nexport interface SearchResponse {\n profiles: ProfileSearchResult[];\n total: number;\n limit: number;\n offset: number;\n /**\n * Close name/handle matches, filled only when a text search finds nothing.\n * Absent on older API responses.\n */\n suggestions?: ProfileSearchSuggestion[];\n}\n\n/** Skill typeahead suggestion. */\nexport interface SkillSearchResult {\n name: string;\n slug: string;\n category: string;\n userCount: number;\n}\n\nexport interface FilterOptions {\n countries: { countryCode: string; country: string; count: number }[];\n industries: { industry: string; count: number }[];\n apps: { appId: string; count: number }[];\n /**\n * Distribution of openTo selections across indexed profiles. Each entry\n * maps a short token (see {@link SearchFilters.openTo}) to the number of\n * profiles that have it set. Omitted from older API responses; treat\n * absence as \"no data\" rather than \"all zero\".\n */\n openTo?: { token: string; count: number }[];\n}\n\n/** Company entry returned by company search (workspace#299). */\nexport interface CompanySearchResult {\n /** Immutable catalogue id; the durable `/c/{publicId}` link. */\n publicId: string;\n name: string;\n domain: string | null;\n country: string | null;\n industry: string | null;\n logoUrl: string | null;\n employeeCount: number | null;\n}\n\nexport interface CompanySearchFilters {\n q?: string;\n /** ISO 3166-1 alpha-2. */\n country?: string;\n industry?: string;\n limit?: number;\n}\n\nexport interface CompanySearchResponse {\n results: CompanySearchResult[];\n hasMore: boolean;\n}\n\nconst EMPTY_SEARCH: SearchResponse = { profiles: [], total: 0, limit: 20, offset: 0 };\nconst EMPTY_FILTERS: FilterOptions = { countries: [], industries: [], apps: [], openTo: [] };\nconst EMPTY_COMPANY_SEARCH: CompanySearchResponse = { results: [], hasMore: false };\n\nfunction appendAll(params: URLSearchParams, key: string, value: string | string[] | undefined) {\n if (!value) return;\n for (const v of Array.isArray(value) ? value : [value]) {\n if (v) params.append(key, v);\n }\n}\n\n/**\n * Search profiles by free-text query and optional filters. Returns an\n * empty result set when no filters are provided (matching sifa-web's\n * \"no input, no fetch\" behavior).\n */\nexport async function fetchSearchProfiles(\n config: SifaApiConfig,\n filters: SearchFilters,\n options: ApiFetchOptions = {},\n): Promise<SearchResponse> {\n const params = new URLSearchParams();\n if (filters.q) params.set('q', filters.q);\n appendAll(params, 'skill', filters.skill);\n appendAll(params, 'country', filters.country);\n if (filters.industry) params.set('industry', filters.industry);\n if (filters.domain) params.set('domain', filters.domain);\n if (filters.workplace) params.set('workplace', filters.workplace);\n if (filters.app) params.set('app', filters.app);\n if (filters.openTo && filters.openTo.length > 0) {\n for (const token of filters.openTo) {\n if (token) params.append('openTo', token);\n }\n }\n if (filters.limit !== undefined) params.set('limit', String(filters.limit));\n\n if (params.size === 0) return EMPTY_SEARCH;\n\n return apiFetch<SearchResponse>(config, `/api/search/profiles?${params.toString()}`, {\n cache: 'no-store',\n ...options,\n });\n}\n\n/**\n * Company search over the entity catalogue (workspace#299).\n *\n * A category of its own rather than part of profile search: the two rank\n * differently and carry different filters, and a slow category should not hold\n * up the rest of a blended results page.\n *\n * An empty query returns nothing without a network call. The API rejects a\n * blank `q` rather than scanning ~200k rows, so asking would only spend a round\n * trip to be told no.\n */\nexport async function fetchSearchCompanies(\n config: SifaApiConfig,\n filters: CompanySearchFilters,\n options: ApiFetchOptions = {},\n): Promise<CompanySearchResponse> {\n const q = filters.q?.trim();\n if (!q) return EMPTY_COMPANY_SEARCH;\n\n const params = new URLSearchParams({ q });\n if (filters.country) params.set('country', filters.country);\n if (filters.industry) params.set('industry', filters.industry);\n if (filters.limit !== undefined) params.set('limit', String(filters.limit));\n\n return apiFetch<CompanySearchResponse>(config, `/api/search/companies?${params.toString()}`, {\n cache: 'no-store',\n ...options,\n });\n}\n\n/**\n * Skill typeahead. Returns up to 8 matches for the given prefix. Empty\n * input returns an empty array without hitting the server.\n */\nexport async function fetchSkillSuggestions(\n config: SifaApiConfig,\n query: string,\n options: ApiFetchOptions = {},\n): Promise<SkillSearchResult[]> {\n if (!query.trim()) return [];\n const path = `/api/search/skills?q=${encodeURIComponent(query)}&limit=8`;\n const data = await apiFetch<{ skills?: SkillSearchResult[] }>(config, path, {\n cache: 'no-store',\n ...options,\n });\n return data.skills ?? [];\n}\n\n/** Available filter facets (countries, industries, apps) for search UI. */\nexport async function fetchSearchFilters(\n config: SifaApiConfig,\n options: ApiFetchOptions = {},\n): Promise<FilterOptions> {\n try {\n return await apiFetch<FilterOptions>(config, '/api/search/filters', {\n next: { revalidate: 300 },\n ...options,\n });\n } catch {\n return EMPTY_FILTERS;\n }\n}\n\n/**\n * Canonical-skill search backing the position-editor and similar\n * skill-pickers. Hits `/api/skills/search` (the canonical-skills DB\n * lookup) which is distinct from {@link fetchSkillSuggestions}'s\n * `/api/search/skills` (the profile-skill typeahead).\n *\n * Returns `[]` on empty input (no network call) or any error.\n */\nexport async function searchSkills(\n config: SifaApiConfig,\n query: string,\n limit = 10,\n options: ApiFetchOptions = {},\n): Promise<SkillSuggestion[]> {\n if (!query.trim()) return [];\n const path = `/api/skills/search?q=${encodeURIComponent(query)}&limit=${limit}`;\n try {\n const data = await apiFetch<{ skills?: SkillSuggestion[] }>(config, path, {\n cache: 'no-store',\n ...options,\n });\n return data.skills ?? [];\n } catch {\n return [];\n }\n}\n"],"mappings":"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","names":[]}
1
+ {"version":3,"sources":["../../../src/query/fetchers/search.ts"],"sourcesContent":["import type { AccountVerification } from '../../taxonomy/verification-providers.js';\nimport type { SkillSuggestion } from '../../types/index.js';\nimport { apiFetch, type ApiFetchOptions, type SifaApiConfig } from '../client.js';\n\n/** Profile entry returned by the search endpoint. */\nexport interface ProfileSearchResult {\n did?: string;\n handle: string;\n displayName?: string;\n headline?: string;\n avatar?: string;\n about?: string;\n currentRole?: string;\n currentCompany?: string;\n industry?: string;\n domain?: string;\n countryCode?: string;\n locationCountry?: string;\n preferredWorkplace?: string[];\n claimed?: boolean;\n blueskyVerified?: boolean;\n blueskyVerifiedAt?: string | null;\n /**\n * Every verification the account holds, across all recognized providers\n * (Bluesky and firehose-sourced ones like mu). Supersedes the Bluesky-only\n * `blueskyVerified` pair for badge rendering. Absent on older API responses.\n */\n verificationBadges?: AccountVerification[];\n /**\n * The profile's Open To selections as lex values (e.g.\n * `id.sifa.defs#mentoringOthers`), the same values the profile view\n * exposes. Empty when none are set; absent on older API responses.\n */\n openTo?: string[];\n}\n\n/** \"Did you mean\" entry returned alongside a zero-result text search. */\nexport interface ProfileSearchSuggestion {\n did: string;\n handle: string;\n displayName: string | null;\n avatar: string | null;\n}\n\nexport interface SearchFilters {\n q?: string;\n /**\n * Skill filter. An array is sent as repeated `skill` params; the API\n * OR-combines values within the facet and ANDs across facets (max 10).\n */\n skill?: string | string[];\n /** ISO 3166-1 alpha-2 country filter. An array is sent as repeated params. */\n country?: string | string[];\n industry?: string;\n domain?: string;\n workplace?: string;\n app?: string;\n /**\n * Open-to filter. Values are short tokens (e.g. \"fullTime\", \"mentor\",\n * \"collab\") matching `OPEN_TO_OPTIONS[].token` from the taxonomy. The\n * API expands tokens to lex values server-side. Multiple tokens are\n * OR-combined (profile matches if any selected token is set).\n */\n openTo?: string[];\n limit?: number;\n /** Number of results to skip, for paging past the first `limit` results. */\n offset?: number;\n}\n\nexport interface SearchResponse {\n profiles: ProfileSearchResult[];\n total: number;\n limit: number;\n offset: number;\n /**\n * Close name/handle matches, filled only when a text search finds nothing.\n * Absent on older API responses.\n */\n suggestions?: ProfileSearchSuggestion[];\n}\n\n/** Skill typeahead suggestion. */\nexport interface SkillSearchResult {\n name: string;\n slug: string;\n category: string;\n userCount: number;\n}\n\nexport interface FilterOptions {\n countries: { countryCode: string; country: string; count: number }[];\n industries: { industry: string; count: number }[];\n apps: { appId: string; count: number }[];\n /**\n * Distribution of openTo selections across indexed profiles. Each entry\n * maps a short token (see {@link SearchFilters.openTo}) to the number of\n * profiles that have it set. Omitted from older API responses; treat\n * absence as \"no data\" rather than \"all zero\".\n */\n openTo?: { token: string; count: number }[];\n}\n\n/** Company entry returned by company search (workspace#299). */\nexport interface CompanySearchResult {\n /** Immutable catalogue id; the durable `/c/{publicId}` link. */\n publicId: string;\n name: string;\n domain: string | null;\n country: string | null;\n industry: string | null;\n logoUrl: string | null;\n employeeCount: number | null;\n}\n\nexport interface CompanySearchFilters {\n q?: string;\n /** ISO 3166-1 alpha-2. */\n country?: string;\n industry?: string;\n limit?: number;\n}\n\nexport interface CompanySearchResponse {\n results: CompanySearchResult[];\n hasMore: boolean;\n}\n\nconst EMPTY_SEARCH: SearchResponse = { profiles: [], total: 0, limit: 20, offset: 0 };\nconst EMPTY_FILTERS: FilterOptions = { countries: [], industries: [], apps: [], openTo: [] };\nconst EMPTY_COMPANY_SEARCH: CompanySearchResponse = { results: [], hasMore: false };\n\nfunction appendAll(params: URLSearchParams, key: string, value: string | string[] | undefined) {\n if (!value) return;\n for (const v of Array.isArray(value) ? value : [value]) {\n if (v) params.append(key, v);\n }\n}\n\n/**\n * Search profiles by free-text query and optional filters. Returns an\n * empty result set when no filters are provided (matching sifa-web's\n * \"no input, no fetch\" behavior).\n */\nexport async function fetchSearchProfiles(\n config: SifaApiConfig,\n filters: SearchFilters,\n options: ApiFetchOptions = {},\n): Promise<SearchResponse> {\n const params = new URLSearchParams();\n if (filters.q) params.set('q', filters.q);\n appendAll(params, 'skill', filters.skill);\n appendAll(params, 'country', filters.country);\n if (filters.industry) params.set('industry', filters.industry);\n if (filters.domain) params.set('domain', filters.domain);\n if (filters.workplace) params.set('workplace', filters.workplace);\n if (filters.app) params.set('app', filters.app);\n if (filters.openTo && filters.openTo.length > 0) {\n for (const token of filters.openTo) {\n if (token) params.append('openTo', token);\n }\n }\n // Paging params are not filters: checked before they are added so a bare\n // limit/offset never triggers an unfiltered search.\n if (params.size === 0) return EMPTY_SEARCH;\n\n if (filters.limit !== undefined) params.set('limit', String(filters.limit));\n if (filters.offset) params.set('offset', String(filters.offset));\n\n return apiFetch<SearchResponse>(config, `/api/search/profiles?${params.toString()}`, {\n cache: 'no-store',\n ...options,\n });\n}\n\n/**\n * Company search over the entity catalogue (workspace#299).\n *\n * A category of its own rather than part of profile search: the two rank\n * differently and carry different filters, and a slow category should not hold\n * up the rest of a blended results page.\n *\n * An empty query returns nothing without a network call. The API rejects a\n * blank `q` rather than scanning ~200k rows, so asking would only spend a round\n * trip to be told no.\n */\nexport async function fetchSearchCompanies(\n config: SifaApiConfig,\n filters: CompanySearchFilters,\n options: ApiFetchOptions = {},\n): Promise<CompanySearchResponse> {\n const q = filters.q?.trim();\n if (!q) return EMPTY_COMPANY_SEARCH;\n\n const params = new URLSearchParams({ q });\n if (filters.country) params.set('country', filters.country);\n if (filters.industry) params.set('industry', filters.industry);\n if (filters.limit !== undefined) params.set('limit', String(filters.limit));\n\n return apiFetch<CompanySearchResponse>(config, `/api/search/companies?${params.toString()}`, {\n cache: 'no-store',\n ...options,\n });\n}\n\n/**\n * Skill typeahead. Returns up to 8 matches for the given prefix. Empty\n * input returns an empty array without hitting the server.\n */\nexport async function fetchSkillSuggestions(\n config: SifaApiConfig,\n query: string,\n options: ApiFetchOptions = {},\n): Promise<SkillSearchResult[]> {\n if (!query.trim()) return [];\n const path = `/api/search/skills?q=${encodeURIComponent(query)}&limit=8`;\n const data = await apiFetch<{ skills?: SkillSearchResult[] }>(config, path, {\n cache: 'no-store',\n ...options,\n });\n return data.skills ?? [];\n}\n\n/** Available filter facets (countries, industries, apps) for search UI. */\nexport async function fetchSearchFilters(\n config: SifaApiConfig,\n options: ApiFetchOptions = {},\n): Promise<FilterOptions> {\n try {\n return await apiFetch<FilterOptions>(config, '/api/search/filters', {\n next: { revalidate: 300 },\n ...options,\n });\n } catch {\n return EMPTY_FILTERS;\n }\n}\n\n/**\n * Canonical-skill search backing the position-editor and similar\n * skill-pickers. Hits `/api/skills/search` (the canonical-skills DB\n * lookup) which is distinct from {@link fetchSkillSuggestions}'s\n * `/api/search/skills` (the profile-skill typeahead).\n *\n * Returns `[]` on empty input (no network call) or any error.\n */\nexport async function searchSkills(\n config: SifaApiConfig,\n query: string,\n limit = 10,\n options: ApiFetchOptions = {},\n): Promise<SkillSuggestion[]> {\n if (!query.trim()) return [];\n const path = `/api/skills/search?q=${encodeURIComponent(query)}&limit=${limit}`;\n try {\n const data = await apiFetch<{ skills?: SkillSuggestion[] }>(config, path, {\n cache: 'no-store',\n ...options,\n });\n return data.skills ?? [];\n } catch {\n return [];\n }\n}\n"],"mappings":"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","names":[]}
@@ -2400,8 +2400,9 @@ async function fetchSearchProfiles(config, filters, options = {}) {
2400
2400
  if (token) params.append("openTo", token);
2401
2401
  }
2402
2402
  }
2403
- if (filters.limit !== void 0) params.set("limit", String(filters.limit));
2404
2403
  if (params.size === 0) return EMPTY_SEARCH;
2404
+ if (filters.limit !== void 0) params.set("limit", String(filters.limit));
2405
+ if (filters.offset) params.set("offset", String(filters.offset));
2405
2406
  return apiFetch(config, `/api/search/profiles?${params.toString()}`, {
2406
2407
  cache: "no-store",
2407
2408
  ...options