@singi-labs/sifa-sdk 0.19.76 → 0.19.78
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/{network-map-DvALufF9.d.ts → network-map-D8JcKu28.d.ts} +1 -50
- package/dist/{network-map-DInAc_DB.d.cts → network-map-Db_EPUDX.d.cts} +1 -50
- package/dist/query/fetchers/index.cjs +28 -0
- package/dist/query/fetchers/index.cjs.map +1 -1
- package/dist/query/fetchers/index.d.cts +2 -2
- package/dist/query/fetchers/index.d.ts +2 -2
- package/dist/query/fetchers/index.js +5 -1
- package/dist/query/fetchers/index.js.map +1 -1
- package/dist/query/fetchers/rpg.js +22 -0
- package/dist/query/fetchers/rpg.js.map +1 -1
- package/dist/query/hooks/index.cjs +59 -0
- package/dist/query/hooks/index.cjs.map +1 -1
- package/dist/query/hooks/index.d.cts +2 -2
- package/dist/query/hooks/index.d.ts +2 -2
- package/dist/query/hooks/index.js +2 -0
- package/dist/query/hooks/index.js.map +1 -1
- package/dist/query/hooks/use-rpg-claimable.js +19 -0
- package/dist/query/hooks/use-rpg-claimable.js.map +1 -0
- package/dist/query/index.cjs +37 -0
- package/dist/query/index.cjs.map +1 -1
- package/dist/query/index.d.cts +5 -5
- package/dist/query/index.d.ts +5 -5
- package/dist/query/index.js +7 -1
- package/dist/query/index.js.map +1 -1
- package/dist/query/keys.js +6 -0
- package/dist/query/keys.js.map +1 -1
- package/dist/resume/funder-cv.js +343 -0
- package/dist/resume/funder-cv.js.map +1 -0
- package/dist/resume/index.cjs +365 -0
- package/dist/resume/index.cjs.map +1 -1
- package/dist/resume/index.d.cts +236 -3
- package/dist/resume/index.d.ts +236 -3
- package/dist/resume/index.js +20 -0
- package/dist/resume/index.js.map +1 -1
- package/dist/{use-user-settings-CYDXJNmI.d.cts → use-user-settings-DWj8BC5K.d.cts} +11 -2
- package/dist/{use-user-settings-B1rJmjQR.d.ts → use-user-settings-fWHkdX3c.d.ts} +11 -2
- package/dist/{user-settings-Qwi6wSnK.d.ts → user-settings-nov4rgwR.d.ts} +74 -2
- package/dist/{user-settings-lenJHz19.d.cts → user-settings-qkxxTwFP.d.cts} +74 -2
- package/package.json +1 -1
package/dist/query/index.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { a0 as SifaApiConfig, a1 as ApiFetchOptions, a2 as CreateResult, a3 as WriteResult, c as AdultContentLabel } from '../types-qw55KvoV.cjs';
|
|
2
2
|
export { a4 as ApiError, 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, ae as fetchSearchFilters, af as fetchSearchProfiles, ag as fetchSkillSuggestions, ah as searchSkills } from '../types-qw55KvoV.cjs';
|
|
3
|
-
export { A as AddFeatureAllowlistVariables, a as AttestationRequest, b as AttestationRequestSchema, c as AttestationStatus, C as CreateOrgAttestationInput, d as CreateOrgAttestationResult, e as CreateReactionVariables, f as CreateRecordVariables, D as DeleteReactionVariables, g as DeleteRecordVariables, F as FetchOrgAttestationOptions, h as FetchVerificationLogOptions, i as FollowVariables, O as OrgAttestation, j as OrgAttestationSchema, P as PositionSkillLinkVariables, R as RemoveFeatureAllowlistVariables, k as RequestEmploymentConfirmationInput, l as RequestEmploymentConfirmationResult, S as SifaProvider, m as SifaProviderProps, U as UnfollowVariables, n as UpdateEducationVariables, o as UpdateExternalAccountVariables, p as UpdatePositionVariables, q as UpdateProfileLocationVariables, r as UpdateRecordVariables, s as UpdateSkillSubCategoriesVariables, t as UpdateSkillVariables, u as UseEntitySearchOptions, v as UseMyGithubPullRequestsParams, V as VERIFICATION_EVENT_KINDS, w as VerificationEventKind, x as VerificationLog, y as VerificationLogEntry, z as VerificationLogEntrySchema, B as VerificationLogSchema, E as createOrgAttestation, G as fetchAttestationRequests, H as fetchOrgAttestations, I as fetchVerificationLog, J as offboardOrgAttestation, K as rejectAttestationRequest, L as requestEmploymentConfirmation, M as revokeOrgAttestation, N as useAccounts, Q as useActivityFeed, T as useActivityPreferences, W as useActivityTeaser, X as useAddFeatureAllowlist, Y as useAddOrgNotificationEmail, Z as useAdminReviewQueues, _ as useAppAccountCheck, $ as useAppsRegistry, a0 as useAtFundLink, a1 as useAttestationRequests, a2 as useBlueskySuggestions, a3 as useBulkHideProfileItems, a4 as useBulkHideStandardPublications, a5 as useBulkUnhideProfileItems, a6 as useBulkUnhideStandardPublications, a7 as useCanonicalSkillSearch, a8 as useCastRoadmapVote, a9 as useCreateConfirmation, aa as useCreateEducation, ab as useCreateEndorsement, ac as useCreateExternalAccount, ad as useCreateOrgAttestation, ae as useCreatePosition, af as useCreateProfileLocation, ag as useCreateReaction, ah as useCreateRecord, ai as useCreateSkill, aj as useDebouncedValue, ak as useDeleteAccount, al as useDeleteAvatarOverride, am as useDeleteEducation, an as useDeleteExternalAccount, ao as useDeleteNamePronunciationAudio, ap as useDeletePosition, aq as useDeleteProfileLocation, ar as useDeleteReaction, as as useDeleteRecord, at as useDeleteRepoRecords, au as useDeleteSkill, av as useDismissConfirmation, aw as useDismissUnlinkedPosition, ax as useEndorsementCount, ay as useEntitySearch, az as useExternalAccounts, aA as useFeatureAllowlist, aB as useFeaturedProfile, aC as useFollow, aD as useFollowers, aE as useFollowing, aF as useFollowingFeed, aG as useFollowingFeedVersion, aH as useFollowingList, aI as useGetProfileView, aJ as useGivenConfirmations, aK as useHeatmapData, aL as useHiddenActivityItems, aM as useHiddenApps, aN as useHideActivityItem, aO as useHideKeytraceClaim, aP as useHideOrcidPublication, aQ as useHideProfileItem, aR as useHideSifaPublication, aS as useHideStandardPublication, aT as useImportSearchEntities, aU as useInboxCounts, aV as useLinkSkillToPosition, aW as useMintEntityDomain, aX as useMutuals, aY as useMyGithubPullRequests, aZ as useMyRoadmapVotes, a_ as useNetworkStreamCount, a$ as useOffboardOrgAttestation, b0 as useOrgAttestations, b1 as useOrgClaim, b2 as useOrgDomainChallenge, b3 as useOrgDomainVerify, b4 as useOrgProfile, b5 as usePendingConfirmations, b6 as useProfile, b7 as useProfileCompleteness, b8 as useReactionStatus, b9 as useRefreshOrcidPublications, ba as useRefreshPds, bb as useRejectAttestationRequest, bc as useRemoveFeatureAllowlist, bd as useRemoveOrgNotificationEmail, be as useRepoInventory, bf as useRequestEmploymentConfirmation, bg as useResetProfile, bh as useResolveEntityDomain, bi as useRetractRoadmapVote, bj as useRevealMarqueDomain, bk as useRevokeConfirmation, bl as useRevokeOrgAttestation, bm as useRoadmapVotes, bn as
|
|
4
|
-
import { R as ReceivedEndorsementsPage, a as ReciprocityCandidate, D as DismissEndorsementInput, P as PendingEndorsementsPage } from '../network-map-
|
|
5
|
-
export { F as FetchNetworkStreamCountOptions, b as FetchPendingEndorsementsOptions,
|
|
6
|
-
import { s as sifaQueryKeys, C as ConfirmEndorsementInput, a as ConfirmEndorsementResult } from '../user-settings-
|
|
7
|
-
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, 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
|
|
3
|
+
export { A as AddFeatureAllowlistVariables, a as AttestationRequest, b as AttestationRequestSchema, c as AttestationStatus, C as CreateOrgAttestationInput, d as CreateOrgAttestationResult, e as CreateReactionVariables, f as CreateRecordVariables, D as DeleteReactionVariables, g as DeleteRecordVariables, F as FetchOrgAttestationOptions, h as FetchVerificationLogOptions, i as FollowVariables, O as OrgAttestation, j as OrgAttestationSchema, P as PositionSkillLinkVariables, R as RemoveFeatureAllowlistVariables, k as RequestEmploymentConfirmationInput, l as RequestEmploymentConfirmationResult, S as SifaProvider, m as SifaProviderProps, U as UnfollowVariables, n as UpdateEducationVariables, o as UpdateExternalAccountVariables, p as UpdatePositionVariables, q as UpdateProfileLocationVariables, r as UpdateRecordVariables, s as UpdateSkillSubCategoriesVariables, t as UpdateSkillVariables, u as UseEntitySearchOptions, v as UseMyGithubPullRequestsParams, V as VERIFICATION_EVENT_KINDS, w as VerificationEventKind, x as VerificationLog, y as VerificationLogEntry, z as VerificationLogEntrySchema, B as VerificationLogSchema, E as createOrgAttestation, G as fetchAttestationRequests, H as fetchOrgAttestations, I as fetchVerificationLog, J as offboardOrgAttestation, K as rejectAttestationRequest, L as requestEmploymentConfirmation, M as revokeOrgAttestation, N as useAccounts, Q as useActivityFeed, T as useActivityPreferences, W as useActivityTeaser, X as useAddFeatureAllowlist, Y as useAddOrgNotificationEmail, Z as useAdminReviewQueues, _ as useAppAccountCheck, $ as useAppsRegistry, a0 as useAtFundLink, a1 as useAttestationRequests, a2 as useBlueskySuggestions, a3 as useBulkHideProfileItems, a4 as useBulkHideStandardPublications, a5 as useBulkUnhideProfileItems, a6 as useBulkUnhideStandardPublications, a7 as useCanonicalSkillSearch, a8 as useCastRoadmapVote, a9 as useCreateConfirmation, aa as useCreateEducation, ab as useCreateEndorsement, ac as useCreateExternalAccount, ad as useCreateOrgAttestation, ae as useCreatePosition, af as useCreateProfileLocation, ag as useCreateReaction, ah as useCreateRecord, ai as useCreateSkill, aj as useDebouncedValue, ak as useDeleteAccount, al as useDeleteAvatarOverride, am as useDeleteEducation, an as useDeleteExternalAccount, ao as useDeleteNamePronunciationAudio, ap as useDeletePosition, aq as useDeleteProfileLocation, ar as useDeleteReaction, as as useDeleteRecord, at as useDeleteRepoRecords, au as useDeleteSkill, av as useDismissConfirmation, aw as useDismissUnlinkedPosition, ax as useEndorsementCount, ay as useEntitySearch, az as useExternalAccounts, aA as useFeatureAllowlist, aB as useFeaturedProfile, aC as useFollow, aD as useFollowers, aE as useFollowing, aF as useFollowingFeed, aG as useFollowingFeedVersion, aH as useFollowingList, aI as useGetProfileView, aJ as useGivenConfirmations, aK as useHeatmapData, aL as useHiddenActivityItems, aM as useHiddenApps, aN as useHideActivityItem, aO as useHideKeytraceClaim, aP as useHideOrcidPublication, aQ as useHideProfileItem, aR as useHideSifaPublication, aS as useHideStandardPublication, aT as useImportSearchEntities, aU as useInboxCounts, aV as useLinkSkillToPosition, aW as useMintEntityDomain, aX as useMutuals, aY as useMyGithubPullRequests, aZ as useMyRoadmapVotes, a_ as useNetworkStreamCount, a$ as useOffboardOrgAttestation, b0 as useOrgAttestations, b1 as useOrgClaim, b2 as useOrgDomainChallenge, b3 as useOrgDomainVerify, b4 as useOrgProfile, b5 as usePendingConfirmations, b6 as useProfile, b7 as useProfileCompleteness, b8 as useReactionStatus, b9 as useRefreshOrcidPublications, ba as useRefreshPds, bb as useRejectAttestationRequest, bc as useRemoveFeatureAllowlist, bd as useRemoveOrgNotificationEmail, be as useRepoInventory, bf as useRequestEmploymentConfirmation, bg as useResetProfile, bh as useResolveEntityDomain, bi as useRetractRoadmapVote, bj as useRevealMarqueDomain, bk as useRevokeConfirmation, bl as useRevokeOrgAttestation, bm as useRoadmapVotes, bn as useRpgClaimable, bo as useSearchFilters, bp as useSearchProfiles, bq as useSelectEntity, br as useSetExternalAccountPrimary, bs as useSetPositionPrimary, bt as useSetSectionPrimary, bu as useSifaConfig, bv as useSimilarProfiles, bw as useSiteActivityPreset, bx as useSkillSuggestions, by as useStats, bz as useSuggestionCount, bA as useSuggestions, bB as useUnfollow, bC as useUnhideActivityItem, bD as useUnhideKeytraceClaim, bE as useUnhideOrcidPublication, bF as useUnhideProfileItem, bG as useUnhideSifaPublication, bH as useUnhideStandardPublication, bI as useUnlinkSkillFromPosition, bJ as useUnlinkedPositions, bK as useUnrevealMarqueDomain, bL as useUnsetExternalAccountPrimary, bM as useUnsetPositionPrimary, bN as useUnsetSectionPrimary, bO as useUpdateActivityPreferences, bP as useUpdateEducation, bQ as useUpdateExternalAccount, bR as useUpdateOrgProfile, bS as useUpdatePosition, bT as useUpdateProfileLocation, bU as useUpdateProfileOverride, bV as useUpdateProfileSelf, bW as useUpdateRecord, bX as useUpdateSkill, bY as useUpdateSkillSubCategories, bZ as useUpdateUserSettings, b_ as useUploadAvatar, b$ as useUploadNamePronunciationAudio, c0 as useUserSettings, c1 as useVerificationLog, c2 as useVerifyExternalAccount, c3 as useWipePreview } from '../use-user-settings-DWj8BC5K.cjs';
|
|
4
|
+
import { R as ReceivedEndorsementsPage, a as ReciprocityCandidate, D as DismissEndorsementInput, P as PendingEndorsementsPage } from '../network-map-Db_EPUDX.cjs';
|
|
5
|
+
export { 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, i as ReceivedEndorsement, 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, X as mintEntityDomain, Y as resolveEntityDomain, 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-Db_EPUDX.cjs';
|
|
6
|
+
import { s as sifaQueryKeys, C as ConfirmEndorsementInput, a as ConfirmEndorsementResult } from '../user-settings-qkxxTwFP.cjs';
|
|
7
|
+
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, 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 SubCategoryBulkResult, 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, 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, cO as updateSkillSubCategories, cP as updateUserSettings, cQ as uploadAvatar, cR as uploadNamePronunciationAudio, cS as verifyExternalAccount, cT as verifyOrgDomain } from '../user-settings-qkxxTwFP.cjs';
|
|
8
8
|
import { C as CoSpeaker, m as ActorCard } from '../index-k6tBrbEU.cjs';
|
|
9
9
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
10
10
|
import { UseQueryOptions, UseMutationOptions } from '@tanstack/react-query';
|
package/dist/query/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { a0 as SifaApiConfig, a1 as ApiFetchOptions, a2 as CreateResult, a3 as WriteResult, c as AdultContentLabel } from '../types-CI24asgo.js';
|
|
2
2
|
export { a4 as ApiError, 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, ae as fetchSearchFilters, af as fetchSearchProfiles, ag as fetchSkillSuggestions, ah as searchSkills } from '../types-CI24asgo.js';
|
|
3
|
-
export { A as AddFeatureAllowlistVariables, a as AttestationRequest, b as AttestationRequestSchema, c as AttestationStatus, C as CreateOrgAttestationInput, d as CreateOrgAttestationResult, e as CreateReactionVariables, f as CreateRecordVariables, D as DeleteReactionVariables, g as DeleteRecordVariables, F as FetchOrgAttestationOptions, h as FetchVerificationLogOptions, i as FollowVariables, O as OrgAttestation, j as OrgAttestationSchema, P as PositionSkillLinkVariables, R as RemoveFeatureAllowlistVariables, k as RequestEmploymentConfirmationInput, l as RequestEmploymentConfirmationResult, S as SifaProvider, m as SifaProviderProps, U as UnfollowVariables, n as UpdateEducationVariables, o as UpdateExternalAccountVariables, p as UpdatePositionVariables, q as UpdateProfileLocationVariables, r as UpdateRecordVariables, s as UpdateSkillSubCategoriesVariables, t as UpdateSkillVariables, u as UseEntitySearchOptions, v as UseMyGithubPullRequestsParams, V as VERIFICATION_EVENT_KINDS, w as VerificationEventKind, x as VerificationLog, y as VerificationLogEntry, z as VerificationLogEntrySchema, B as VerificationLogSchema, E as createOrgAttestation, G as fetchAttestationRequests, H as fetchOrgAttestations, I as fetchVerificationLog, J as offboardOrgAttestation, K as rejectAttestationRequest, L as requestEmploymentConfirmation, M as revokeOrgAttestation, N as useAccounts, Q as useActivityFeed, T as useActivityPreferences, W as useActivityTeaser, X as useAddFeatureAllowlist, Y as useAddOrgNotificationEmail, Z as useAdminReviewQueues, _ as useAppAccountCheck, $ as useAppsRegistry, a0 as useAtFundLink, a1 as useAttestationRequests, a2 as useBlueskySuggestions, a3 as useBulkHideProfileItems, a4 as useBulkHideStandardPublications, a5 as useBulkUnhideProfileItems, a6 as useBulkUnhideStandardPublications, a7 as useCanonicalSkillSearch, a8 as useCastRoadmapVote, a9 as useCreateConfirmation, aa as useCreateEducation, ab as useCreateEndorsement, ac as useCreateExternalAccount, ad as useCreateOrgAttestation, ae as useCreatePosition, af as useCreateProfileLocation, ag as useCreateReaction, ah as useCreateRecord, ai as useCreateSkill, aj as useDebouncedValue, ak as useDeleteAccount, al as useDeleteAvatarOverride, am as useDeleteEducation, an as useDeleteExternalAccount, ao as useDeleteNamePronunciationAudio, ap as useDeletePosition, aq as useDeleteProfileLocation, ar as useDeleteReaction, as as useDeleteRecord, at as useDeleteRepoRecords, au as useDeleteSkill, av as useDismissConfirmation, aw as useDismissUnlinkedPosition, ax as useEndorsementCount, ay as useEntitySearch, az as useExternalAccounts, aA as useFeatureAllowlist, aB as useFeaturedProfile, aC as useFollow, aD as useFollowers, aE as useFollowing, aF as useFollowingFeed, aG as useFollowingFeedVersion, aH as useFollowingList, aI as useGetProfileView, aJ as useGivenConfirmations, aK as useHeatmapData, aL as useHiddenActivityItems, aM as useHiddenApps, aN as useHideActivityItem, aO as useHideKeytraceClaim, aP as useHideOrcidPublication, aQ as useHideProfileItem, aR as useHideSifaPublication, aS as useHideStandardPublication, aT as useImportSearchEntities, aU as useInboxCounts, aV as useLinkSkillToPosition, aW as useMintEntityDomain, aX as useMutuals, aY as useMyGithubPullRequests, aZ as useMyRoadmapVotes, a_ as useNetworkStreamCount, a$ as useOffboardOrgAttestation, b0 as useOrgAttestations, b1 as useOrgClaim, b2 as useOrgDomainChallenge, b3 as useOrgDomainVerify, b4 as useOrgProfile, b5 as usePendingConfirmations, b6 as useProfile, b7 as useProfileCompleteness, b8 as useReactionStatus, b9 as useRefreshOrcidPublications, ba as useRefreshPds, bb as useRejectAttestationRequest, bc as useRemoveFeatureAllowlist, bd as useRemoveOrgNotificationEmail, be as useRepoInventory, bf as useRequestEmploymentConfirmation, bg as useResetProfile, bh as useResolveEntityDomain, bi as useRetractRoadmapVote, bj as useRevealMarqueDomain, bk as useRevokeConfirmation, bl as useRevokeOrgAttestation, bm as useRoadmapVotes, bn as
|
|
4
|
-
import { R as ReceivedEndorsementsPage, a as ReciprocityCandidate, D as DismissEndorsementInput, P as PendingEndorsementsPage } from '../network-map-
|
|
5
|
-
export { F as FetchNetworkStreamCountOptions, b as FetchPendingEndorsementsOptions,
|
|
6
|
-
import { s as sifaQueryKeys, C as ConfirmEndorsementInput, a as ConfirmEndorsementResult } from '../user-settings-
|
|
7
|
-
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, 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
|
|
3
|
+
export { A as AddFeatureAllowlistVariables, a as AttestationRequest, b as AttestationRequestSchema, c as AttestationStatus, C as CreateOrgAttestationInput, d as CreateOrgAttestationResult, e as CreateReactionVariables, f as CreateRecordVariables, D as DeleteReactionVariables, g as DeleteRecordVariables, F as FetchOrgAttestationOptions, h as FetchVerificationLogOptions, i as FollowVariables, O as OrgAttestation, j as OrgAttestationSchema, P as PositionSkillLinkVariables, R as RemoveFeatureAllowlistVariables, k as RequestEmploymentConfirmationInput, l as RequestEmploymentConfirmationResult, S as SifaProvider, m as SifaProviderProps, U as UnfollowVariables, n as UpdateEducationVariables, o as UpdateExternalAccountVariables, p as UpdatePositionVariables, q as UpdateProfileLocationVariables, r as UpdateRecordVariables, s as UpdateSkillSubCategoriesVariables, t as UpdateSkillVariables, u as UseEntitySearchOptions, v as UseMyGithubPullRequestsParams, V as VERIFICATION_EVENT_KINDS, w as VerificationEventKind, x as VerificationLog, y as VerificationLogEntry, z as VerificationLogEntrySchema, B as VerificationLogSchema, E as createOrgAttestation, G as fetchAttestationRequests, H as fetchOrgAttestations, I as fetchVerificationLog, J as offboardOrgAttestation, K as rejectAttestationRequest, L as requestEmploymentConfirmation, M as revokeOrgAttestation, N as useAccounts, Q as useActivityFeed, T as useActivityPreferences, W as useActivityTeaser, X as useAddFeatureAllowlist, Y as useAddOrgNotificationEmail, Z as useAdminReviewQueues, _ as useAppAccountCheck, $ as useAppsRegistry, a0 as useAtFundLink, a1 as useAttestationRequests, a2 as useBlueskySuggestions, a3 as useBulkHideProfileItems, a4 as useBulkHideStandardPublications, a5 as useBulkUnhideProfileItems, a6 as useBulkUnhideStandardPublications, a7 as useCanonicalSkillSearch, a8 as useCastRoadmapVote, a9 as useCreateConfirmation, aa as useCreateEducation, ab as useCreateEndorsement, ac as useCreateExternalAccount, ad as useCreateOrgAttestation, ae as useCreatePosition, af as useCreateProfileLocation, ag as useCreateReaction, ah as useCreateRecord, ai as useCreateSkill, aj as useDebouncedValue, ak as useDeleteAccount, al as useDeleteAvatarOverride, am as useDeleteEducation, an as useDeleteExternalAccount, ao as useDeleteNamePronunciationAudio, ap as useDeletePosition, aq as useDeleteProfileLocation, ar as useDeleteReaction, as as useDeleteRecord, at as useDeleteRepoRecords, au as useDeleteSkill, av as useDismissConfirmation, aw as useDismissUnlinkedPosition, ax as useEndorsementCount, ay as useEntitySearch, az as useExternalAccounts, aA as useFeatureAllowlist, aB as useFeaturedProfile, aC as useFollow, aD as useFollowers, aE as useFollowing, aF as useFollowingFeed, aG as useFollowingFeedVersion, aH as useFollowingList, aI as useGetProfileView, aJ as useGivenConfirmations, aK as useHeatmapData, aL as useHiddenActivityItems, aM as useHiddenApps, aN as useHideActivityItem, aO as useHideKeytraceClaim, aP as useHideOrcidPublication, aQ as useHideProfileItem, aR as useHideSifaPublication, aS as useHideStandardPublication, aT as useImportSearchEntities, aU as useInboxCounts, aV as useLinkSkillToPosition, aW as useMintEntityDomain, aX as useMutuals, aY as useMyGithubPullRequests, aZ as useMyRoadmapVotes, a_ as useNetworkStreamCount, a$ as useOffboardOrgAttestation, b0 as useOrgAttestations, b1 as useOrgClaim, b2 as useOrgDomainChallenge, b3 as useOrgDomainVerify, b4 as useOrgProfile, b5 as usePendingConfirmations, b6 as useProfile, b7 as useProfileCompleteness, b8 as useReactionStatus, b9 as useRefreshOrcidPublications, ba as useRefreshPds, bb as useRejectAttestationRequest, bc as useRemoveFeatureAllowlist, bd as useRemoveOrgNotificationEmail, be as useRepoInventory, bf as useRequestEmploymentConfirmation, bg as useResetProfile, bh as useResolveEntityDomain, bi as useRetractRoadmapVote, bj as useRevealMarqueDomain, bk as useRevokeConfirmation, bl as useRevokeOrgAttestation, bm as useRoadmapVotes, bn as useRpgClaimable, bo as useSearchFilters, bp as useSearchProfiles, bq as useSelectEntity, br as useSetExternalAccountPrimary, bs as useSetPositionPrimary, bt as useSetSectionPrimary, bu as useSifaConfig, bv as useSimilarProfiles, bw as useSiteActivityPreset, bx as useSkillSuggestions, by as useStats, bz as useSuggestionCount, bA as useSuggestions, bB as useUnfollow, bC as useUnhideActivityItem, bD as useUnhideKeytraceClaim, bE as useUnhideOrcidPublication, bF as useUnhideProfileItem, bG as useUnhideSifaPublication, bH as useUnhideStandardPublication, bI as useUnlinkSkillFromPosition, bJ as useUnlinkedPositions, bK as useUnrevealMarqueDomain, bL as useUnsetExternalAccountPrimary, bM as useUnsetPositionPrimary, bN as useUnsetSectionPrimary, bO as useUpdateActivityPreferences, bP as useUpdateEducation, bQ as useUpdateExternalAccount, bR as useUpdateOrgProfile, bS as useUpdatePosition, bT as useUpdateProfileLocation, bU as useUpdateProfileOverride, bV as useUpdateProfileSelf, bW as useUpdateRecord, bX as useUpdateSkill, bY as useUpdateSkillSubCategories, bZ as useUpdateUserSettings, b_ as useUploadAvatar, b$ as useUploadNamePronunciationAudio, c0 as useUserSettings, c1 as useVerificationLog, c2 as useVerifyExternalAccount, c3 as useWipePreview } from '../use-user-settings-fWHkdX3c.js';
|
|
4
|
+
import { R as ReceivedEndorsementsPage, a as ReciprocityCandidate, D as DismissEndorsementInput, P as PendingEndorsementsPage } from '../network-map-D8JcKu28.js';
|
|
5
|
+
export { 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, i as ReceivedEndorsement, 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, X as mintEntityDomain, Y as resolveEntityDomain, 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-D8JcKu28.js';
|
|
6
|
+
import { s as sifaQueryKeys, C as ConfirmEndorsementInput, a as ConfirmEndorsementResult } from '../user-settings-nov4rgwR.js';
|
|
7
|
+
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, 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 SubCategoryBulkResult, 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, 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, cO as updateSkillSubCategories, cP as updateUserSettings, cQ as uploadAvatar, cR as uploadNamePronunciationAudio, cS as verifyExternalAccount, cT as verifyOrgDomain } from '../user-settings-nov4rgwR.js';
|
|
8
8
|
import { C as CoSpeaker, m as ActorCard } from '../index-DAiJZvPg.js';
|
|
9
9
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
10
10
|
import { UseQueryOptions, UseMutationOptions } from '@tanstack/react-query';
|
package/dist/query/index.js
CHANGED
|
@@ -200,8 +200,10 @@ import {
|
|
|
200
200
|
} from "./fetchers/github-prs.js";
|
|
201
201
|
import {
|
|
202
202
|
fetchRpgStatus,
|
|
203
|
+
fetchRpgClaimable,
|
|
203
204
|
RpgItemStatusSchema,
|
|
204
|
-
RpgStatusResponseSchema
|
|
205
|
+
RpgStatusResponseSchema,
|
|
206
|
+
RpgClaimableResponseSchema
|
|
205
207
|
} from "./fetchers/rpg.js";
|
|
206
208
|
import { fetchEndorsementCount } from "./fetchers/endorsement.js";
|
|
207
209
|
import { fetchNetworkStreamCount } from "./fetchers/stream.js";
|
|
@@ -322,6 +324,7 @@ import {
|
|
|
322
324
|
useDismissUnlinkedPosition
|
|
323
325
|
} from "./hooks/use-unlinked-positions.js";
|
|
324
326
|
import { useProfileCompleteness } from "./hooks/use-profile-completeness.js";
|
|
327
|
+
import { useRpgClaimable } from "./hooks/use-rpg-claimable.js";
|
|
325
328
|
import { useHideKeytraceClaim, useUnhideKeytraceClaim } from "./hooks/use-keytrace-claims.js";
|
|
326
329
|
import { useRevealMarqueDomain, useUnrevealMarqueDomain } from "./hooks/use-marque-domains.js";
|
|
327
330
|
import {
|
|
@@ -446,6 +449,7 @@ export {
|
|
|
446
449
|
OrgAttestationSchema,
|
|
447
450
|
PROFILE_COMPLETENESS_SIGNALS,
|
|
448
451
|
QUOTED_POSTS_BATCH_MAX,
|
|
452
|
+
RpgClaimableResponseSchema,
|
|
449
453
|
RpgItemStatusSchema,
|
|
450
454
|
RpgStatusResponseSchema,
|
|
451
455
|
SifaProvider,
|
|
@@ -529,6 +533,7 @@ export {
|
|
|
529
533
|
fetchRepoInventory,
|
|
530
534
|
fetchResolveActor,
|
|
531
535
|
fetchRoadmapVotes,
|
|
536
|
+
fetchRpgClaimable,
|
|
532
537
|
fetchRpgStatus,
|
|
533
538
|
fetchSearchFilters,
|
|
534
539
|
fetchSearchProfiles,
|
|
@@ -719,6 +724,7 @@ export {
|
|
|
719
724
|
useRevokeConfirmation,
|
|
720
725
|
useRevokeOrgAttestation,
|
|
721
726
|
useRoadmapVotes,
|
|
727
|
+
useRpgClaimable,
|
|
722
728
|
useSearchFilters,
|
|
723
729
|
useSearchProfiles,
|
|
724
730
|
useSelectEntity,
|
package/dist/query/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/query/index.ts"],"sourcesContent":["export {\n ApiError,\n apiFetch,\n apiFetchOrNull,\n apiWrite,\n apiWriteCreate,\n type ApiFetchOptions,\n type CreateResult,\n type SifaApiConfig,\n type WriteResult,\n} from './client.js';\nexport { SifaProvider, useSifaConfig, type SifaProviderProps } from './config.js';\n\nexport { fetchAtFundLink, fetchProfile } from './fetchers/profile.js';\nexport { fetchGetProfileView } from './fetchers/get-profile-view.js';\nexport { fetchProfileSummary } from './fetchers/profile-summary.js';\nexport {\n deleteAvatarOverride,\n deleteNamePronunciationAudio,\n refreshPds,\n updateProfileOverride,\n updateProfileSelf,\n uploadAvatar,\n uploadNamePronunciationAudio,\n type ProfileIndustryInput,\n type ProfileSelfLocation,\n type RefreshPdsResult,\n type UpdateProfileOverrideInput,\n type UpdateProfileSelfInput,\n type UploadAvatarResult,\n type UploadPronunciationAudioResult,\n} from './fetchers/profile-mutations.js';\nexport {\n createPosition,\n deletePosition,\n linkSkillToPosition,\n setPositionPrimary,\n unlinkSkillFromPosition,\n unsetPositionPrimary,\n updatePosition,\n} from './fetchers/positions.js';\nexport { createEducation, deleteEducation, updateEducation } from './fetchers/education.js';\nexport {\n setSectionPrimary,\n unsetSectionPrimary,\n type PrimarySection,\n} from './fetchers/section-primary.js';\nexport {\n createSkill,\n deleteSkill,\n updateSkill,\n updateSkillSubCategories,\n type SubCategoryBulkResult,\n} from './fetchers/skills.js';\nexport { createRecord, deleteRecord, updateRecord } from './fetchers/records.js';\nexport {\n createProfileLocation,\n deleteProfileLocation,\n updateProfileLocation,\n type ProfileLocationAddress,\n type ProfileLocationInput,\n} from './fetchers/profile-locations.js';\nexport {\n createExternalAccount,\n deleteExternalAccount,\n fetchExternalAccounts,\n setExternalAccountPrimary,\n unsetExternalAccountPrimary,\n updateExternalAccount,\n verifyExternalAccount,\n type CreateExternalAccountResult,\n type ExternalAccountInput,\n type VerifyExternalAccountResult,\n} from './fetchers/external-accounts.js';\nexport {\n createEndorsement,\n confirmEndorsement,\n type EndorsementInput,\n type ConfirmEndorsementInput,\n} from './fetchers/endorsements.js';\nexport {\n fetchReceivedEndorsements,\n type ReceivedEndorsement,\n type ReceivedEndorsementsPage,\n} from './fetchers/received-endorsements.js';\nexport {\n fetchReciprocityCandidate,\n type ReciprocityCandidate,\n type ReciprocitySkill,\n} from './fetchers/reciprocity.js';\nexport {\n fetchPendingEndorsements,\n dismissEndorsement,\n type PendingEndorsement,\n type PendingEndorsementsPage,\n type DismissEndorsementInput,\n type FetchPendingEndorsementsOptions,\n} from './fetchers/endorsement-inbox.js';\nexport {\n fetchPendingConfirmations,\n fetchGivenConfirmations,\n fetchViewerPositionConfirmations,\n createConfirmation,\n dismissConfirmation,\n revokeConfirmation,\n type PendingConfirmation,\n type PendingConfirmationsPage,\n type GivenConfirmation,\n type ConfirmationInput,\n type ConfirmationSubjectInput,\n type FetchConfirmationsOptions,\n} from './fetchers/confirmations.js';\nexport {\n fetchVerificationLog,\n VERIFICATION_EVENT_KINDS,\n VerificationLogEntrySchema,\n VerificationLogSchema,\n type FetchVerificationLogOptions,\n type VerificationEventKind,\n type VerificationLog,\n type VerificationLogEntry,\n} from './fetchers/verification.js';\nexport {\n createOrgAttestation,\n offboardOrgAttestation,\n revokeOrgAttestation,\n fetchOrgAttestations,\n fetchAttestationRequests,\n rejectAttestationRequest,\n requestEmploymentConfirmation,\n OrgAttestationSchema,\n AttestationRequestSchema,\n type AttestationStatus,\n type AttestationRequest,\n type CreateOrgAttestationInput,\n type CreateOrgAttestationResult,\n type FetchOrgAttestationOptions,\n type OrgAttestation,\n type RequestEmploymentConfirmationInput,\n type RequestEmploymentConfirmationResult,\n} from './fetchers/org-attestations.js';\nexport {\n fetchInboxCounts,\n type InboxCounts,\n type FetchInboxCountsOptions,\n} from './fetchers/inbox.js';\nexport {\n fetchUnlinkedPositions,\n dismissUnlinkedPosition,\n type UnlinkedPosition,\n type UnlinkedPositionsResult,\n type FetchUnlinkedPositionsOptions,\n type DismissUnlinkedPositionInput,\n} from './fetchers/unlinked-positions.js';\nexport {\n fetchProfileCompleteness,\n PROFILE_COMPLETENESS_SIGNALS,\n type ProfileCompleteness,\n type ProfileCompletenessSignal,\n type FetchProfileCompletenessOptions,\n} from './fetchers/profile-completeness.js';\nexport { fetchResolveActor, fetchTypeaheadActors } from './fetchers/actor.js';\nexport { hideKeytraceClaim, unhideKeytraceClaim } from './fetchers/keytrace-claims.js';\nexport { revealMarqueDomain, unrevealMarqueDomain } from './fetchers/marque-domains.js';\nexport {\n bulkHideStandardPublications,\n bulkUnhideStandardPublications,\n hideOrcidPublication,\n hideSifaPublication,\n hideStandardPublication,\n refreshOrcidPublications,\n unhideOrcidPublication,\n unhideSifaPublication,\n unhideStandardPublication,\n type RefreshOrcidPublicationsResult,\n} from './fetchers/publications.js';\nexport {\n bulkHideProfileItems,\n bulkUnhideProfileItems,\n hideProfileItem,\n unhideProfileItem,\n HIDDEN_ITEM_SOURCES,\n HIDDEN_ITEM_TYPES,\n type BulkHideProfileItemInput,\n type HiddenItemSource,\n type HiddenItemType,\n type HideProfileItemInput,\n} from './fetchers/profile-items-hide.js';\nexport {\n fetchHiddenActivityItems,\n hideActivityItem,\n unhideActivityItem,\n type FetchHiddenActivityItemsOptions,\n type HiddenActivityItem,\n type HideActivityItemInput,\n type UnhideActivityItemInput,\n} from './fetchers/activity-items-hide.js';\nexport {\n fetchActivityPreferences,\n fetchSiteActivityPreset,\n updateActivityPreferences,\n type ActivityPreferences,\n type FetchActivityPreferencesOptions,\n type SiteActivityPresetResponse,\n type UpdateActivityPreferencesInput,\n} from './fetchers/activity-preferences.js';\nexport { fetchStats, type StatsResponse } from './fetchers/stats.js';\nexport {\n fetchAppsRegistry,\n fetchHiddenApps,\n type AppRegistryEntry,\n type FetchHiddenAppsOptions,\n type HiddenApp,\n} from './fetchers/apps.js';\nexport {\n fetchAccounts,\n switchAccount,\n type AccountSummary,\n type FetchAccountsOptions,\n} from './fetchers/accounts.js';\nexport {\n fetchSearchFilters,\n fetchSearchProfiles,\n fetchSkillSuggestions,\n searchSkills,\n type FilterOptions,\n type ProfileSearchResult,\n type ProfileSearchSuggestion,\n type SearchFilters,\n type SearchResponse,\n type SkillSearchResult,\n} from './fetchers/search.js';\nexport {\n fetchSpeakers,\n fetchTalks,\n type SpeakerCard,\n type SpeakerGroup,\n type SpeakerDirectoryFilters,\n type SpeakersResponse,\n type TalkEvent,\n type TalkRow,\n type TalkSpeaker,\n type TalksResponse,\n} from './fetchers/speakers.js';\nexport {\n fetchEntitySearch,\n selectEntity,\n importSearchEntities,\n resolveEntityDomain,\n mintEntityDomain,\n} from './fetchers/entities.js';\nexport {\n fetchFeaturedProfile,\n fetchSimilarProfiles,\n fetchSuggestionCount,\n fetchSuggestions,\n type FeaturedProfile,\n type FetchSuggestionsOptions,\n type SimilarProfile,\n type SuggestionProfile,\n type SuggestionsResponse,\n} from './fetchers/discovery.js';\nexport {\n fetchFollowing,\n followUser,\n getFollowers,\n getFollowing,\n fetchFollowingFeed,\n fetchFollowingFeedVersion,\n isNewerFollowingFeed,\n type FollowingFeedVersion,\n type FollowingFeedBuild,\n unfollowUser,\n type FetchFollowListOptions,\n type FetchFollowingFeedOptions,\n type FollowingFeedApp,\n type FollowingFeedEmptyReason,\n type FollowingFeedResponse,\n type FollowListPage,\n type FollowProfile,\n type FollowUserResult,\n type FollowingResponse,\n} from './fetchers/follow.js';\nexport {\n getBlueskySuggestions,\n getMutuals,\n type FetchFollowProfilePageOptions,\n type FollowProfilePageResponse,\n} from './fetchers/follow-extras.js';\nexport {\n addFeatureAllowlist,\n listFeatureAllowlist,\n removeFeatureAllowlist,\n type FeatureAllowlistResponse,\n type ListFeatureAllowlistOptions,\n} from './fetchers/admin-feature-allowlists.js';\nexport {\n getAdminReviewQueues,\n type AdminReviewQueues,\n type GetAdminReviewQueuesOptions,\n} from './fetchers/admin-review-queues.js';\nexport {\n fetchActivityFeed,\n fetchActivityTeaser,\n fetchHeatmapData,\n type ActivityFeedResponse,\n type ActivityItem,\n type ActivityItemLinkHealth,\n type ActivityTeaserResponse,\n type FetchActivityFeedOptions,\n type FetchActivityTeaserOptions,\n type HeatmapDay,\n type HeatmapResponse,\n} from './fetchers/activity.js';\nexport {\n fetchMyGithubPullRequests,\n type GithubPullRequest,\n type MyGithubPullRequestsResponse,\n type FetchMyGithubPullRequestsOptions,\n} from './fetchers/github-prs.js';\nexport {\n fetchRpgStatus,\n RpgItemStatusSchema,\n RpgStatusResponseSchema,\n type RpgItemStatus,\n type RpgStatusResponse,\n type FetchRpgStatusOptions,\n} from './fetchers/rpg.js';\nexport { fetchEndorsementCount } from './fetchers/endorsement.js';\nexport { fetchNetworkStreamCount, type FetchNetworkStreamCountOptions } from './fetchers/stream.js';\nexport {\n checkAppAccount,\n createReaction,\n deleteReaction,\n fetchReactionStatus,\n type AccountCheckResult,\n type CheckAppAccountOptions,\n type FetchReactionStatusOptions,\n type ReactionError,\n type ReactionResult,\n type ReactionStatus,\n} from './fetchers/reactions.js';\nexport {\n QUOTED_POSTS_BATCH_MAX,\n resolveQuotedPosts,\n type QuotedPostAuthor,\n type QuotedPostImage,\n type QuotedPostResult,\n type QuotedPostView,\n type ResolveQuotedPostsOptions,\n} from './fetchers/quoted-posts.js';\nexport {\n castRoadmapVote,\n fetchMyRoadmapVotes,\n fetchRoadmapVotes,\n retractRoadmapVote,\n type CastRoadmapVoteResult,\n type FetchMyRoadmapVotesOptions,\n type RoadmapVoteError,\n type RoadmapVoteResult,\n type RoadmapVoter,\n type RoadmapVotesResponse,\n} from './fetchers/roadmap.js';\nexport {\n deleteAccount,\n fetchWipePreview,\n resetProfile,\n type DeleteAccountResult,\n type ResetProfileResult,\n type PdsWipeOutcome,\n type WipePreview,\n} from './fetchers/destructive.js';\nexport {\n deleteRepoRecords,\n fetchRepoInventory,\n repoExportUrl,\n type RepoDeleteInput,\n} from './fetchers/repo-inventory.js';\nexport {\n checkNetworkMapJobStatus,\n fetchNetworkMap,\n initiateNetworkMapGeneration,\n isNetworkMapResponse,\n type NetworkMapEdge,\n type NetworkMapGenerationJob,\n type NetworkMapGraphData,\n type NetworkMapNode,\n type NetworkMapPendingJob,\n type NetworkMapResponse,\n} from './fetchers/network-map.js';\n\nexport { useAtFundLink, useProfile } from './hooks/use-profile.js';\nexport { useGetProfileView } from './hooks/use-get-profile-view.js';\nexport {\n useDeleteAvatarOverride,\n useDeleteNamePronunciationAudio,\n useRefreshPds,\n useUpdateProfileOverride,\n useUpdateProfileSelf,\n useUploadAvatar,\n useUploadNamePronunciationAudio,\n} from './hooks/use-profile-mutations.js';\nexport { useCreatePosition } from './hooks/use-create-position.js';\nexport {\n useDeletePosition,\n useLinkSkillToPosition,\n useSetPositionPrimary,\n useUnlinkSkillFromPosition,\n useUnsetPositionPrimary,\n useUpdatePosition,\n type PositionSkillLinkVariables,\n type UpdatePositionVariables,\n} from './hooks/use-position-mutations.js';\nexport {\n useCreateEducation,\n useDeleteEducation,\n useUpdateEducation,\n type UpdateEducationVariables,\n} from './hooks/use-education-mutations.js';\nexport {\n useSetSectionPrimary,\n useUnsetSectionPrimary,\n} from './hooks/use-section-primary-mutations.js';\nexport {\n useCreateSkill,\n useDeleteSkill,\n useUpdateSkill,\n useUpdateSkillSubCategories,\n type UpdateSkillVariables,\n type UpdateSkillSubCategoriesVariables,\n} from './hooks/use-skill-mutations.js';\nexport {\n useCreateRecord,\n useDeleteRecord,\n useUpdateRecord,\n type CreateRecordVariables,\n type DeleteRecordVariables,\n type UpdateRecordVariables,\n} from './hooks/use-record-mutations.js';\nexport {\n useCreateProfileLocation,\n useDeleteProfileLocation,\n useUpdateProfileLocation,\n type UpdateProfileLocationVariables,\n} from './hooks/use-location-mutations.js';\nexport {\n useCreateExternalAccount,\n useDeleteExternalAccount,\n useExternalAccounts,\n useSetExternalAccountPrimary,\n useUnsetExternalAccountPrimary,\n useUpdateExternalAccount,\n useVerifyExternalAccount,\n type UpdateExternalAccountVariables,\n} from './hooks/use-external-accounts.js';\nexport { useCreateEndorsement } from './hooks/use-endorsement-mutations.js';\nexport { useReceivedEndorsements } from './hooks/use-received-endorsements.js';\nexport { useReciprocityCandidate } from './hooks/use-reciprocity.js';\nexport {\n usePendingEndorsements,\n useConfirmEndorsement,\n useDismissEndorsement,\n} from './hooks/use-endorsement-inbox.js';\nexport {\n usePendingConfirmations,\n useGivenConfirmations,\n useCreateConfirmation,\n useDismissConfirmation,\n useRevokeConfirmation,\n} from './hooks/use-confirmations.js';\nexport { useInboxCounts } from './hooks/use-inbox.js';\nexport { useVerificationLog } from './hooks/use-verification.js';\nexport {\n useOrgAttestations,\n useAttestationRequests,\n useCreateOrgAttestation,\n useOffboardOrgAttestation,\n useRevokeOrgAttestation,\n useRejectAttestationRequest,\n useRequestEmploymentConfirmation,\n} from './hooks/use-org-attestations.js';\nexport {\n useUnlinkedPositions,\n useDismissUnlinkedPosition,\n} from './hooks/use-unlinked-positions.js';\nexport { useProfileCompleteness } from './hooks/use-profile-completeness.js';\nexport { useHideKeytraceClaim, useUnhideKeytraceClaim } from './hooks/use-keytrace-claims.js';\nexport { useRevealMarqueDomain, useUnrevealMarqueDomain } from './hooks/use-marque-domains.js';\nexport {\n useBulkHideStandardPublications,\n useBulkUnhideStandardPublications,\n useHideOrcidPublication,\n useHideSifaPublication,\n useHideStandardPublication,\n useRefreshOrcidPublications,\n useUnhideOrcidPublication,\n useUnhideSifaPublication,\n useUnhideStandardPublication,\n} from './hooks/use-publication-mutations.js';\nexport {\n useBulkHideProfileItems,\n useBulkUnhideProfileItems,\n useHideProfileItem,\n useUnhideProfileItem,\n} from './hooks/use-profile-items-hide.js';\nexport {\n useHiddenActivityItems,\n useHideActivityItem,\n useUnhideActivityItem,\n} from './hooks/use-activity-items-hide.js';\nexport {\n useActivityPreferences,\n useSiteActivityPreset,\n useUpdateActivityPreferences,\n} from './hooks/use-activity-preferences.js';\nexport { useStats } from './hooks/use-stats.js';\nexport { useAppsRegistry, useHiddenApps } from './hooks/use-apps.js';\nexport { useAccounts } from './hooks/use-accounts.js';\nexport {\n useCanonicalSkillSearch,\n useSearchFilters,\n useSearchProfiles,\n useSkillSuggestions,\n} from './hooks/use-search.js';\nexport {\n useEntitySearch,\n useSelectEntity,\n useImportSearchEntities,\n useResolveEntityDomain,\n useMintEntityDomain,\n useDebouncedValue,\n type UseEntitySearchOptions,\n} from './hooks/use-entity-search.js';\nexport {\n useFeaturedProfile,\n useSimilarProfiles,\n useSuggestionCount,\n useSuggestions,\n} from './hooks/use-discovery.js';\nexport {\n useFollow,\n useFollowers,\n useFollowing,\n useFollowingFeed,\n useFollowingFeedVersion,\n useFollowingList,\n useUnfollow,\n type FollowVariables,\n type UnfollowVariables,\n} from './hooks/use-follow.js';\nexport { useBlueskySuggestions, useMutuals } from './hooks/use-follow-extras.js';\nexport {\n useAddFeatureAllowlist,\n useFeatureAllowlist,\n useRemoveFeatureAllowlist,\n type AddFeatureAllowlistVariables,\n type RemoveFeatureAllowlistVariables,\n} from './hooks/use-feature-allowlist.js';\nexport { useAdminReviewQueues } from './hooks/use-admin-review-queues.js';\nexport { useActivityFeed, useActivityTeaser, useHeatmapData } from './hooks/use-activity.js';\nexport {\n useMyGithubPullRequests,\n type UseMyGithubPullRequestsParams,\n} from './hooks/use-github-prs.js';\nexport { useEndorsementCount } from './hooks/use-endorsement.js';\nexport { useNetworkStreamCount } from './hooks/use-stream.js';\nexport { useAppAccountCheck, useReactionStatus } from './hooks/use-reactions.js';\nexport {\n useCreateReaction,\n useDeleteReaction,\n type CreateReactionVariables,\n type DeleteReactionVariables,\n} from './hooks/use-reaction-mutations.js';\nexport { useMyRoadmapVotes, useRoadmapVotes } from './hooks/use-roadmap.js';\nexport { useCastRoadmapVote, useRetractRoadmapVote } from './hooks/use-roadmap-mutations.js';\nexport { useDeleteAccount, useResetProfile, useWipePreview } from './hooks/use-destructive.js';\nexport { useDeleteRepoRecords, useRepoInventory } from './hooks/use-repo-inventory.js';\nexport {\n fetchBskyContentLabelPrefs,\n updateBskyContentLabelPrefs,\n effectiveContentVisibility,\n shouldGateAdultMedia,\n type BskyContentLabelPrefs,\n type BskyContentLabelPrefsResponse,\n type BskyContentLabelVisibility,\n type BskyPrefsScopeError,\n type UpdateBskyContentLabelPrefsBody,\n} from './fetchers/bsky-preferences.js';\nexport {\n useBskyContentLabelPrefs,\n useUpdateBskyContentLabelPrefs,\n} from './hooks/use-bsky-content-prefs.js';\n\nexport {\n submitOrgClaim,\n updateOrgProfile,\n requestOrgDomainChallenge,\n verifyOrgDomain,\n addOrgNotificationEmail,\n removeOrgNotificationEmail,\n type OrgClaimBinding,\n type OrgProfileEcho,\n type OrgClaimResult,\n type OrgProfileUpdateResult,\n type OrgDomainChallengeResult,\n type OrgDomainVerifyResult,\n type OrgNotificationEmailAddResult,\n type OrgNotificationEmailRemoveResult,\n} from './fetchers/org.js';\nexport { useOrgProfile } from './hooks/use-org-profile.js';\nexport { useOrgClaim } from './hooks/use-org-claim.js';\nexport { useUpdateOrgProfile } from './hooks/use-org-profile-settings.js';\nexport { useOrgDomainChallenge, useOrgDomainVerify } from './hooks/use-org-domains.js';\nexport {\n useAddOrgNotificationEmail,\n useRemoveOrgNotificationEmail,\n} from './hooks/use-org-notification-emails.js';\n\nexport {\n fetchUserSettings,\n updateUserSettings,\n UserSettingsSchema,\n type FetchUserSettingsOptions,\n type UserSettings,\n type UserSettingsPatch,\n} from './fetchers/user-settings.js';\nexport { useUpdateUserSettings, useUserSettings } from './hooks/use-user-settings.js';\n\nexport { sifaQueryKeys, type SifaQueryKey } from './keys.js';\n"],"mappings":";AAAA;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAKK;AACP,SAAS,cAAc,qBAA6C;AAEpE,SAAS,iBAAiB,oBAAoB;AAC9C,SAAS,2BAA2B;AACpC,SAAS,2BAA2B;AACpC;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAQK;AACP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AACP,SAAS,iBAAiB,iBAAiB,uBAAuB;AAClE;AAAA,EACE;AAAA,EACA;AAAA,OAEK;AACP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAEK;AACP,SAAS,cAAc,cAAc,oBAAoB;AACzD;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,OAGK;AACP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAIK;AACP;AAAA,EACE;AAAA,EACA;AAAA,OAGK;AACP;AAAA,EACE;AAAA,OAGK;AACP;AAAA,EACE;AAAA,OAGK;AACP;AAAA,EACE;AAAA,EACA;AAAA,OAKK;AACP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAOK;AACP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAKK;AACP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OASK;AACP;AAAA,EACE;AAAA,OAGK;AACP;AAAA,EACE;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ACP,SAAS,qBAAqB;AAC9B,SAAS,mBAAmB;AAC5B,SAAS,2BAA2B;AACpC,SAAS,uBAAuB,0BAA0B;AAC1D;AAAA,EACE;AAAA,EACA;AAAA,OACK;AAEP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,OAIK;AACP,SAAS,uBAAuB,uBAAuB;AAEvD,SAAS,qBAAwC;","names":[]}
|
|
1
|
+
{"version":3,"sources":["../../src/query/index.ts"],"sourcesContent":["export {\n ApiError,\n apiFetch,\n apiFetchOrNull,\n apiWrite,\n apiWriteCreate,\n type ApiFetchOptions,\n type CreateResult,\n type SifaApiConfig,\n type WriteResult,\n} from './client.js';\nexport { SifaProvider, useSifaConfig, type SifaProviderProps } from './config.js';\n\nexport { fetchAtFundLink, fetchProfile } from './fetchers/profile.js';\nexport { fetchGetProfileView } from './fetchers/get-profile-view.js';\nexport { fetchProfileSummary } from './fetchers/profile-summary.js';\nexport {\n deleteAvatarOverride,\n deleteNamePronunciationAudio,\n refreshPds,\n updateProfileOverride,\n updateProfileSelf,\n uploadAvatar,\n uploadNamePronunciationAudio,\n type ProfileIndustryInput,\n type ProfileSelfLocation,\n type RefreshPdsResult,\n type UpdateProfileOverrideInput,\n type UpdateProfileSelfInput,\n type UploadAvatarResult,\n type UploadPronunciationAudioResult,\n} from './fetchers/profile-mutations.js';\nexport {\n createPosition,\n deletePosition,\n linkSkillToPosition,\n setPositionPrimary,\n unlinkSkillFromPosition,\n unsetPositionPrimary,\n updatePosition,\n} from './fetchers/positions.js';\nexport { createEducation, deleteEducation, updateEducation } from './fetchers/education.js';\nexport {\n setSectionPrimary,\n unsetSectionPrimary,\n type PrimarySection,\n} from './fetchers/section-primary.js';\nexport {\n createSkill,\n deleteSkill,\n updateSkill,\n updateSkillSubCategories,\n type SubCategoryBulkResult,\n} from './fetchers/skills.js';\nexport { createRecord, deleteRecord, updateRecord } from './fetchers/records.js';\nexport {\n createProfileLocation,\n deleteProfileLocation,\n updateProfileLocation,\n type ProfileLocationAddress,\n type ProfileLocationInput,\n} from './fetchers/profile-locations.js';\nexport {\n createExternalAccount,\n deleteExternalAccount,\n fetchExternalAccounts,\n setExternalAccountPrimary,\n unsetExternalAccountPrimary,\n updateExternalAccount,\n verifyExternalAccount,\n type CreateExternalAccountResult,\n type ExternalAccountInput,\n type VerifyExternalAccountResult,\n} from './fetchers/external-accounts.js';\nexport {\n createEndorsement,\n confirmEndorsement,\n type EndorsementInput,\n type ConfirmEndorsementInput,\n} from './fetchers/endorsements.js';\nexport {\n fetchReceivedEndorsements,\n type ReceivedEndorsement,\n type ReceivedEndorsementsPage,\n} from './fetchers/received-endorsements.js';\nexport {\n fetchReciprocityCandidate,\n type ReciprocityCandidate,\n type ReciprocitySkill,\n} from './fetchers/reciprocity.js';\nexport {\n fetchPendingEndorsements,\n dismissEndorsement,\n type PendingEndorsement,\n type PendingEndorsementsPage,\n type DismissEndorsementInput,\n type FetchPendingEndorsementsOptions,\n} from './fetchers/endorsement-inbox.js';\nexport {\n fetchPendingConfirmations,\n fetchGivenConfirmations,\n fetchViewerPositionConfirmations,\n createConfirmation,\n dismissConfirmation,\n revokeConfirmation,\n type PendingConfirmation,\n type PendingConfirmationsPage,\n type GivenConfirmation,\n type ConfirmationInput,\n type ConfirmationSubjectInput,\n type FetchConfirmationsOptions,\n} from './fetchers/confirmations.js';\nexport {\n fetchVerificationLog,\n VERIFICATION_EVENT_KINDS,\n VerificationLogEntrySchema,\n VerificationLogSchema,\n type FetchVerificationLogOptions,\n type VerificationEventKind,\n type VerificationLog,\n type VerificationLogEntry,\n} from './fetchers/verification.js';\nexport {\n createOrgAttestation,\n offboardOrgAttestation,\n revokeOrgAttestation,\n fetchOrgAttestations,\n fetchAttestationRequests,\n rejectAttestationRequest,\n requestEmploymentConfirmation,\n OrgAttestationSchema,\n AttestationRequestSchema,\n type AttestationStatus,\n type AttestationRequest,\n type CreateOrgAttestationInput,\n type CreateOrgAttestationResult,\n type FetchOrgAttestationOptions,\n type OrgAttestation,\n type RequestEmploymentConfirmationInput,\n type RequestEmploymentConfirmationResult,\n} from './fetchers/org-attestations.js';\nexport {\n fetchInboxCounts,\n type InboxCounts,\n type FetchInboxCountsOptions,\n} from './fetchers/inbox.js';\nexport {\n fetchUnlinkedPositions,\n dismissUnlinkedPosition,\n type UnlinkedPosition,\n type UnlinkedPositionsResult,\n type FetchUnlinkedPositionsOptions,\n type DismissUnlinkedPositionInput,\n} from './fetchers/unlinked-positions.js';\nexport {\n fetchProfileCompleteness,\n PROFILE_COMPLETENESS_SIGNALS,\n type ProfileCompleteness,\n type ProfileCompletenessSignal,\n type FetchProfileCompletenessOptions,\n} from './fetchers/profile-completeness.js';\nexport { fetchResolveActor, fetchTypeaheadActors } from './fetchers/actor.js';\nexport { hideKeytraceClaim, unhideKeytraceClaim } from './fetchers/keytrace-claims.js';\nexport { revealMarqueDomain, unrevealMarqueDomain } from './fetchers/marque-domains.js';\nexport {\n bulkHideStandardPublications,\n bulkUnhideStandardPublications,\n hideOrcidPublication,\n hideSifaPublication,\n hideStandardPublication,\n refreshOrcidPublications,\n unhideOrcidPublication,\n unhideSifaPublication,\n unhideStandardPublication,\n type RefreshOrcidPublicationsResult,\n} from './fetchers/publications.js';\nexport {\n bulkHideProfileItems,\n bulkUnhideProfileItems,\n hideProfileItem,\n unhideProfileItem,\n HIDDEN_ITEM_SOURCES,\n HIDDEN_ITEM_TYPES,\n type BulkHideProfileItemInput,\n type HiddenItemSource,\n type HiddenItemType,\n type HideProfileItemInput,\n} from './fetchers/profile-items-hide.js';\nexport {\n fetchHiddenActivityItems,\n hideActivityItem,\n unhideActivityItem,\n type FetchHiddenActivityItemsOptions,\n type HiddenActivityItem,\n type HideActivityItemInput,\n type UnhideActivityItemInput,\n} from './fetchers/activity-items-hide.js';\nexport {\n fetchActivityPreferences,\n fetchSiteActivityPreset,\n updateActivityPreferences,\n type ActivityPreferences,\n type FetchActivityPreferencesOptions,\n type SiteActivityPresetResponse,\n type UpdateActivityPreferencesInput,\n} from './fetchers/activity-preferences.js';\nexport { fetchStats, type StatsResponse } from './fetchers/stats.js';\nexport {\n fetchAppsRegistry,\n fetchHiddenApps,\n type AppRegistryEntry,\n type FetchHiddenAppsOptions,\n type HiddenApp,\n} from './fetchers/apps.js';\nexport {\n fetchAccounts,\n switchAccount,\n type AccountSummary,\n type FetchAccountsOptions,\n} from './fetchers/accounts.js';\nexport {\n fetchSearchFilters,\n fetchSearchProfiles,\n fetchSkillSuggestions,\n searchSkills,\n type FilterOptions,\n type ProfileSearchResult,\n type ProfileSearchSuggestion,\n type SearchFilters,\n type SearchResponse,\n type SkillSearchResult,\n} from './fetchers/search.js';\nexport {\n fetchSpeakers,\n fetchTalks,\n type SpeakerCard,\n type SpeakerGroup,\n type SpeakerDirectoryFilters,\n type SpeakersResponse,\n type TalkEvent,\n type TalkRow,\n type TalkSpeaker,\n type TalksResponse,\n} from './fetchers/speakers.js';\nexport {\n fetchEntitySearch,\n selectEntity,\n importSearchEntities,\n resolveEntityDomain,\n mintEntityDomain,\n} from './fetchers/entities.js';\nexport {\n fetchFeaturedProfile,\n fetchSimilarProfiles,\n fetchSuggestionCount,\n fetchSuggestions,\n type FeaturedProfile,\n type FetchSuggestionsOptions,\n type SimilarProfile,\n type SuggestionProfile,\n type SuggestionsResponse,\n} from './fetchers/discovery.js';\nexport {\n fetchFollowing,\n followUser,\n getFollowers,\n getFollowing,\n fetchFollowingFeed,\n fetchFollowingFeedVersion,\n isNewerFollowingFeed,\n type FollowingFeedVersion,\n type FollowingFeedBuild,\n unfollowUser,\n type FetchFollowListOptions,\n type FetchFollowingFeedOptions,\n type FollowingFeedApp,\n type FollowingFeedEmptyReason,\n type FollowingFeedResponse,\n type FollowListPage,\n type FollowProfile,\n type FollowUserResult,\n type FollowingResponse,\n} from './fetchers/follow.js';\nexport {\n getBlueskySuggestions,\n getMutuals,\n type FetchFollowProfilePageOptions,\n type FollowProfilePageResponse,\n} from './fetchers/follow-extras.js';\nexport {\n addFeatureAllowlist,\n listFeatureAllowlist,\n removeFeatureAllowlist,\n type FeatureAllowlistResponse,\n type ListFeatureAllowlistOptions,\n} from './fetchers/admin-feature-allowlists.js';\nexport {\n getAdminReviewQueues,\n type AdminReviewQueues,\n type GetAdminReviewQueuesOptions,\n} from './fetchers/admin-review-queues.js';\nexport {\n fetchActivityFeed,\n fetchActivityTeaser,\n fetchHeatmapData,\n type ActivityFeedResponse,\n type ActivityItem,\n type ActivityItemLinkHealth,\n type ActivityTeaserResponse,\n type FetchActivityFeedOptions,\n type FetchActivityTeaserOptions,\n type HeatmapDay,\n type HeatmapResponse,\n} from './fetchers/activity.js';\nexport {\n fetchMyGithubPullRequests,\n type GithubPullRequest,\n type MyGithubPullRequestsResponse,\n type FetchMyGithubPullRequestsOptions,\n} from './fetchers/github-prs.js';\nexport {\n fetchRpgStatus,\n fetchRpgClaimable,\n RpgItemStatusSchema,\n RpgStatusResponseSchema,\n RpgClaimableResponseSchema,\n type RpgItemStatus,\n type RpgStatusResponse,\n type FetchRpgStatusOptions,\n type RpgClaimableResponse,\n type FetchRpgClaimableOptions,\n} from './fetchers/rpg.js';\nexport { fetchEndorsementCount } from './fetchers/endorsement.js';\nexport { fetchNetworkStreamCount, type FetchNetworkStreamCountOptions } from './fetchers/stream.js';\nexport {\n checkAppAccount,\n createReaction,\n deleteReaction,\n fetchReactionStatus,\n type AccountCheckResult,\n type CheckAppAccountOptions,\n type FetchReactionStatusOptions,\n type ReactionError,\n type ReactionResult,\n type ReactionStatus,\n} from './fetchers/reactions.js';\nexport {\n QUOTED_POSTS_BATCH_MAX,\n resolveQuotedPosts,\n type QuotedPostAuthor,\n type QuotedPostImage,\n type QuotedPostResult,\n type QuotedPostView,\n type ResolveQuotedPostsOptions,\n} from './fetchers/quoted-posts.js';\nexport {\n castRoadmapVote,\n fetchMyRoadmapVotes,\n fetchRoadmapVotes,\n retractRoadmapVote,\n type CastRoadmapVoteResult,\n type FetchMyRoadmapVotesOptions,\n type RoadmapVoteError,\n type RoadmapVoteResult,\n type RoadmapVoter,\n type RoadmapVotesResponse,\n} from './fetchers/roadmap.js';\nexport {\n deleteAccount,\n fetchWipePreview,\n resetProfile,\n type DeleteAccountResult,\n type ResetProfileResult,\n type PdsWipeOutcome,\n type WipePreview,\n} from './fetchers/destructive.js';\nexport {\n deleteRepoRecords,\n fetchRepoInventory,\n repoExportUrl,\n type RepoDeleteInput,\n} from './fetchers/repo-inventory.js';\nexport {\n checkNetworkMapJobStatus,\n fetchNetworkMap,\n initiateNetworkMapGeneration,\n isNetworkMapResponse,\n type NetworkMapEdge,\n type NetworkMapGenerationJob,\n type NetworkMapGraphData,\n type NetworkMapNode,\n type NetworkMapPendingJob,\n type NetworkMapResponse,\n} from './fetchers/network-map.js';\n\nexport { useAtFundLink, useProfile } from './hooks/use-profile.js';\nexport { useGetProfileView } from './hooks/use-get-profile-view.js';\nexport {\n useDeleteAvatarOverride,\n useDeleteNamePronunciationAudio,\n useRefreshPds,\n useUpdateProfileOverride,\n useUpdateProfileSelf,\n useUploadAvatar,\n useUploadNamePronunciationAudio,\n} from './hooks/use-profile-mutations.js';\nexport { useCreatePosition } from './hooks/use-create-position.js';\nexport {\n useDeletePosition,\n useLinkSkillToPosition,\n useSetPositionPrimary,\n useUnlinkSkillFromPosition,\n useUnsetPositionPrimary,\n useUpdatePosition,\n type PositionSkillLinkVariables,\n type UpdatePositionVariables,\n} from './hooks/use-position-mutations.js';\nexport {\n useCreateEducation,\n useDeleteEducation,\n useUpdateEducation,\n type UpdateEducationVariables,\n} from './hooks/use-education-mutations.js';\nexport {\n useSetSectionPrimary,\n useUnsetSectionPrimary,\n} from './hooks/use-section-primary-mutations.js';\nexport {\n useCreateSkill,\n useDeleteSkill,\n useUpdateSkill,\n useUpdateSkillSubCategories,\n type UpdateSkillVariables,\n type UpdateSkillSubCategoriesVariables,\n} from './hooks/use-skill-mutations.js';\nexport {\n useCreateRecord,\n useDeleteRecord,\n useUpdateRecord,\n type CreateRecordVariables,\n type DeleteRecordVariables,\n type UpdateRecordVariables,\n} from './hooks/use-record-mutations.js';\nexport {\n useCreateProfileLocation,\n useDeleteProfileLocation,\n useUpdateProfileLocation,\n type UpdateProfileLocationVariables,\n} from './hooks/use-location-mutations.js';\nexport {\n useCreateExternalAccount,\n useDeleteExternalAccount,\n useExternalAccounts,\n useSetExternalAccountPrimary,\n useUnsetExternalAccountPrimary,\n useUpdateExternalAccount,\n useVerifyExternalAccount,\n type UpdateExternalAccountVariables,\n} from './hooks/use-external-accounts.js';\nexport { useCreateEndorsement } from './hooks/use-endorsement-mutations.js';\nexport { useReceivedEndorsements } from './hooks/use-received-endorsements.js';\nexport { useReciprocityCandidate } from './hooks/use-reciprocity.js';\nexport {\n usePendingEndorsements,\n useConfirmEndorsement,\n useDismissEndorsement,\n} from './hooks/use-endorsement-inbox.js';\nexport {\n usePendingConfirmations,\n useGivenConfirmations,\n useCreateConfirmation,\n useDismissConfirmation,\n useRevokeConfirmation,\n} from './hooks/use-confirmations.js';\nexport { useInboxCounts } from './hooks/use-inbox.js';\nexport { useVerificationLog } from './hooks/use-verification.js';\nexport {\n useOrgAttestations,\n useAttestationRequests,\n useCreateOrgAttestation,\n useOffboardOrgAttestation,\n useRevokeOrgAttestation,\n useRejectAttestationRequest,\n useRequestEmploymentConfirmation,\n} from './hooks/use-org-attestations.js';\nexport {\n useUnlinkedPositions,\n useDismissUnlinkedPosition,\n} from './hooks/use-unlinked-positions.js';\nexport { useProfileCompleteness } from './hooks/use-profile-completeness.js';\nexport { useRpgClaimable } from './hooks/use-rpg-claimable.js';\nexport { useHideKeytraceClaim, useUnhideKeytraceClaim } from './hooks/use-keytrace-claims.js';\nexport { useRevealMarqueDomain, useUnrevealMarqueDomain } from './hooks/use-marque-domains.js';\nexport {\n useBulkHideStandardPublications,\n useBulkUnhideStandardPublications,\n useHideOrcidPublication,\n useHideSifaPublication,\n useHideStandardPublication,\n useRefreshOrcidPublications,\n useUnhideOrcidPublication,\n useUnhideSifaPublication,\n useUnhideStandardPublication,\n} from './hooks/use-publication-mutations.js';\nexport {\n useBulkHideProfileItems,\n useBulkUnhideProfileItems,\n useHideProfileItem,\n useUnhideProfileItem,\n} from './hooks/use-profile-items-hide.js';\nexport {\n useHiddenActivityItems,\n useHideActivityItem,\n useUnhideActivityItem,\n} from './hooks/use-activity-items-hide.js';\nexport {\n useActivityPreferences,\n useSiteActivityPreset,\n useUpdateActivityPreferences,\n} from './hooks/use-activity-preferences.js';\nexport { useStats } from './hooks/use-stats.js';\nexport { useAppsRegistry, useHiddenApps } from './hooks/use-apps.js';\nexport { useAccounts } from './hooks/use-accounts.js';\nexport {\n useCanonicalSkillSearch,\n useSearchFilters,\n useSearchProfiles,\n useSkillSuggestions,\n} from './hooks/use-search.js';\nexport {\n useEntitySearch,\n useSelectEntity,\n useImportSearchEntities,\n useResolveEntityDomain,\n useMintEntityDomain,\n useDebouncedValue,\n type UseEntitySearchOptions,\n} from './hooks/use-entity-search.js';\nexport {\n useFeaturedProfile,\n useSimilarProfiles,\n useSuggestionCount,\n useSuggestions,\n} from './hooks/use-discovery.js';\nexport {\n useFollow,\n useFollowers,\n useFollowing,\n useFollowingFeed,\n useFollowingFeedVersion,\n useFollowingList,\n useUnfollow,\n type FollowVariables,\n type UnfollowVariables,\n} from './hooks/use-follow.js';\nexport { useBlueskySuggestions, useMutuals } from './hooks/use-follow-extras.js';\nexport {\n useAddFeatureAllowlist,\n useFeatureAllowlist,\n useRemoveFeatureAllowlist,\n type AddFeatureAllowlistVariables,\n type RemoveFeatureAllowlistVariables,\n} from './hooks/use-feature-allowlist.js';\nexport { useAdminReviewQueues } from './hooks/use-admin-review-queues.js';\nexport { useActivityFeed, useActivityTeaser, useHeatmapData } from './hooks/use-activity.js';\nexport {\n useMyGithubPullRequests,\n type UseMyGithubPullRequestsParams,\n} from './hooks/use-github-prs.js';\nexport { useEndorsementCount } from './hooks/use-endorsement.js';\nexport { useNetworkStreamCount } from './hooks/use-stream.js';\nexport { useAppAccountCheck, useReactionStatus } from './hooks/use-reactions.js';\nexport {\n useCreateReaction,\n useDeleteReaction,\n type CreateReactionVariables,\n type DeleteReactionVariables,\n} from './hooks/use-reaction-mutations.js';\nexport { useMyRoadmapVotes, useRoadmapVotes } from './hooks/use-roadmap.js';\nexport { useCastRoadmapVote, useRetractRoadmapVote } from './hooks/use-roadmap-mutations.js';\nexport { useDeleteAccount, useResetProfile, useWipePreview } from './hooks/use-destructive.js';\nexport { useDeleteRepoRecords, useRepoInventory } from './hooks/use-repo-inventory.js';\nexport {\n fetchBskyContentLabelPrefs,\n updateBskyContentLabelPrefs,\n effectiveContentVisibility,\n shouldGateAdultMedia,\n type BskyContentLabelPrefs,\n type BskyContentLabelPrefsResponse,\n type BskyContentLabelVisibility,\n type BskyPrefsScopeError,\n type UpdateBskyContentLabelPrefsBody,\n} from './fetchers/bsky-preferences.js';\nexport {\n useBskyContentLabelPrefs,\n useUpdateBskyContentLabelPrefs,\n} from './hooks/use-bsky-content-prefs.js';\n\nexport {\n submitOrgClaim,\n updateOrgProfile,\n requestOrgDomainChallenge,\n verifyOrgDomain,\n addOrgNotificationEmail,\n removeOrgNotificationEmail,\n type OrgClaimBinding,\n type OrgProfileEcho,\n type OrgClaimResult,\n type OrgProfileUpdateResult,\n type OrgDomainChallengeResult,\n type OrgDomainVerifyResult,\n type OrgNotificationEmailAddResult,\n type OrgNotificationEmailRemoveResult,\n} from './fetchers/org.js';\nexport { useOrgProfile } from './hooks/use-org-profile.js';\nexport { useOrgClaim } from './hooks/use-org-claim.js';\nexport { useUpdateOrgProfile } from './hooks/use-org-profile-settings.js';\nexport { useOrgDomainChallenge, useOrgDomainVerify } from './hooks/use-org-domains.js';\nexport {\n useAddOrgNotificationEmail,\n useRemoveOrgNotificationEmail,\n} from './hooks/use-org-notification-emails.js';\n\nexport {\n fetchUserSettings,\n updateUserSettings,\n UserSettingsSchema,\n type FetchUserSettingsOptions,\n type UserSettings,\n type UserSettingsPatch,\n} from './fetchers/user-settings.js';\nexport { useUpdateUserSettings, useUserSettings } from './hooks/use-user-settings.js';\n\nexport { sifaQueryKeys, type SifaQueryKey } from './keys.js';\n"],"mappings":";AAAA;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAKK;AACP,SAAS,cAAc,qBAA6C;AAEpE,SAAS,iBAAiB,oBAAoB;AAC9C,SAAS,2BAA2B;AACpC,SAAS,2BAA2B;AACpC;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAQK;AACP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AACP,SAAS,iBAAiB,iBAAiB,uBAAuB;AAClE;AAAA,EACE;AAAA,EACA;AAAA,OAEK;AACP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAEK;AACP,SAAS,cAAc,cAAc,oBAAoB;AACzD;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,OAGK;AACP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAIK;AACP;AAAA,EACE;AAAA,EACA;AAAA,OAGK;AACP;AAAA,EACE;AAAA,OAGK;AACP;AAAA,EACE;AAAA,OAGK;AACP;AAAA,EACE;AAAA,EACA;AAAA,OAKK;AACP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAOK;AACP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAKK;AACP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OASK;AACP;AAAA,EACE;AAAA,OAGK;AACP;AAAA,EACE;AAAA,EACA;AAAA,OAKK;AACP;AAAA,EACE;AAAA,EACA;AAAA,OAIK;AACP,SA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AAS,mBAAmB;AAC5B,SAAS,2BAA2B;AACpC,SAAS,uBAAuB,0BAA0B;AAC1D;AAAA,EACE;AAAA,EACA;AAAA,OACK;AAEP;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,OAIK;AACP,SAAS,uBAAuB,uBAAuB;AAEvD,SAAS,qBAAwC;","names":[]}
|
package/dist/query/keys.js
CHANGED
|
@@ -24,6 +24,12 @@ var sifaQueryKeys = {
|
|
|
24
24
|
all: () => ["sifa", "inbox"],
|
|
25
25
|
counts: () => ["sifa", "inbox", "counts"]
|
|
26
26
|
},
|
|
27
|
+
// Session-scoped: how many rpg.actor items the signed-in user can claim, for
|
|
28
|
+
// the Inbox item and the bell dropdown.
|
|
29
|
+
rpg: {
|
|
30
|
+
all: () => ["sifa", "rpg"],
|
|
31
|
+
claimable: () => ["sifa", "rpg", "claimable"]
|
|
32
|
+
},
|
|
27
33
|
search: {
|
|
28
34
|
all: () => ["sifa", "search"],
|
|
29
35
|
profiles: (filters) => ["sifa", "search", "profiles", filters],
|
package/dist/query/keys.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/query/keys.ts"],"sourcesContent":["/**\n * Query key factory for TanStack Query.\n *\n * Keys are read-only tuples; the hierarchy matches the SDK's fetcher\n * grouping. Use these instead of inline arrays so consumers can target\n * `queryClient.invalidateQueries({ queryKey: keys.profile.all() })` and\n * similar patterns without typos.\n *\n * Convention: every leaf key starts with the namespace ('sifa') so\n * consumers can invalidate everything Sifa-related in one call.\n */\nexport const sifaQueryKeys = {\n all: () => ['sifa'] as const,\n\n profile: {\n all: () => ['sifa', 'profile'] as const,\n byHandle: (handleOrDid: string) => ['sifa', 'profile', handleOrDid] as const,\n atFundLink: (did: string) => ['sifa', 'profile', 'at-fund-link', did] as const,\n view: (actor: string) => ['sifa', 'profile', 'view', actor] as const,\n externalAccounts: (handleOrDid: string) =>\n ['sifa', 'profile', 'external-accounts', handleOrDid] as const,\n // Session-scoped: the AppView reads the owner from the session cookie, so\n // there is only ever one completeness result per client.\n completeness: () => ['sifa', 'profile', 'completeness'] as const,\n },\n\n position: {\n all: () => ['sifa', 'position'] as const,\n byOwner: (did: string) => ['sifa', 'position', 'by-owner', did] as const,\n // Session-scoped: the AppView reads the owner from the session cookie.\n unlinked: () => ['sifa', 'position', 'unlinked'] as const,\n },\n\n // Aggregate inbox counts for the header bell badge (session-scoped). The first\n // aggregate namespace: it fans in across confirmations, endorsements, drift,\n // unlinked positions and profile completeness on the server.\n inbox: {\n all: () => ['sifa', 'inbox'] as const,\n counts: () => ['sifa', 'inbox', 'counts'] as const,\n },\n\n search: {\n all: () => ['sifa', 'search'] as const,\n profiles: (filters: Record<string, unknown>) =>\n ['sifa', 'search', 'profiles', filters] as const,\n companies: (filters: Record<string, unknown>) =>\n ['sifa', 'search', 'companies', filters] as const,\n skills: (query: string) => ['sifa', 'search', 'skills', query] as const,\n canonicalSkills: (query: string, limit: number) =>\n ['sifa', 'search', 'canonical-skills', query, limit] as const,\n filters: () => ['sifa', 'search', 'filters'] as const,\n },\n\n entity: {\n all: () => ['sifa', 'entity'] as const,\n search: (query: string, limit: number) => ['sifa', 'entity', 'search', query, limit] as const,\n },\n\n discovery: {\n all: () => ['sifa', 'discovery'] as const,\n similar: (did: string, limit: number) => ['sifa', 'discovery', 'similar', did, limit] as const,\n suggestions: (opts: Record<string, unknown>) =>\n ['sifa', 'discovery', 'suggestions', opts] as const,\n suggestionCount: (since: string | undefined) =>\n ['sifa', 'discovery', 'suggestion-count', since ?? null] as const,\n featured: () => ['sifa', 'discovery', 'featured'] as const,\n },\n\n follow: {\n all: () => ['sifa', 'follow'] as const,\n following: (opts: Record<string, unknown>) => ['sifa', 'follow', 'following', opts] as const,\n followers: (handle: string) => ['sifa', 'follow', 'followers', handle] as const,\n followingOf: (handle: string) => ['sifa', 'follow', 'following-of', handle] as const,\n feed: (opts: Record<string, unknown>) => ['sifa', 'follow', 'feed', opts] as const,\n feedVersion: (opts: Record<string, unknown>) =>\n ['sifa', 'follow', 'feed-version', opts] as const,\n mutuals: (handle: string) => ['sifa', 'follow', 'mutuals', handle] as const,\n blueskySuggestions: () => ['sifa', 'follow', 'bluesky-suggestions'] as const,\n },\n\n admin: {\n all: () => ['sifa', 'admin'] as const,\n featureAllowlist: (flag: string) => ['sifa', 'admin', 'feature-allowlist', flag] as const,\n reviewQueues: () => ['sifa', 'admin', 'review-queues'] as const,\n },\n\n stats: {\n all: () => ['sifa', 'stats'] as const,\n homepage: () => ['sifa', 'stats', 'homepage'] as const,\n },\n\n apps: {\n all: () => ['sifa', 'apps'] as const,\n registry: () => ['sifa', 'apps', 'registry'] as const,\n hidden: () => ['sifa', 'apps', 'hidden'] as const,\n },\n\n auth: {\n all: () => ['sifa', 'auth'] as const,\n // Session-scoped: the AppView reads the account list from the browser's\n // cookies, so there is only ever one list per client.\n accounts: () => ['sifa', 'auth', 'accounts'] as const,\n },\n\n activity: {\n all: () => ['sifa', 'activity'] as const,\n heatmap: (handleOrDid: string, days: number) =>\n ['sifa', 'activity', 'heatmap', handleOrDid, days] as const,\n teaser: (handleOrDid: string) => ['sifa', 'activity', 'teaser', handleOrDid] as const,\n feed: (handleOrDid: string, opts: Record<string, unknown>) =>\n ['sifa', 'activity', 'feed', handleOrDid, opts] as const,\n // Session-scoped: the AppView reads the caller's own hides from their\n // cookie, so there is only ever one list per client.\n hiddenItems: () => ['sifa', 'activity', 'hidden-items'] as const,\n // Session-scoped, like hiddenItems: the caller's own preferences.\n preferences: () => ['sifa', 'activity', 'preferences'] as const,\n sitePreset: (handleOrDid: string) => ['sifa', 'activity', 'site-preset', handleOrDid] as const,\n },\n\n github: {\n all: () => ['sifa', 'github'] as const,\n myPullRequests: (opts: { limit?: number; offset?: number }) =>\n ['sifa', 'github', 'my-pull-requests', opts] as const,\n },\n\n endorsement: {\n all: () => ['sifa', 'endorsement'] as const,\n count: (did: string) => ['sifa', 'endorsement', 'count', did] as const,\n // Scoped to the session rather than a DID -- the AppView reads the subject\n // from the session cookie, so there is only ever one inbox per client.\n pending: () => ['sifa', 'endorsement', 'pending'] as const,\n // Also session-scoped: the AppView picks the candidate from the viewer's\n // own follows, dismissals and blocks.\n reciprocity: () => ['sifa', 'endorsement', 'reciprocity'] as const,\n received: (did: string) => ['sifa', 'endorsement', 'received', did] as const,\n },\n\n confirmation: {\n all: () => ['sifa', 'confirmation'] as const,\n // Scoped to the session for the same reason as the endorsement inbox: the\n // AppView reads the subject from the session cookie, so there is only ever\n // one inbox per client.\n pending: () => ['sifa', 'confirmation', 'pending'] as const,\n /** Confirmations this session has given, for the withdraw surface. */\n given: () => ['sifa', 'confirmation', 'given'] as const,\n },\n\n org: {\n all: () => ['sifa', 'org'] as const,\n /** Attestations the signed-in organization wrote. */\n attestations: () => ['sifa', 'org', 'attestations'] as const,\n /** Pending confirmation requests addressed to the signed-in organization. */\n attestationRequests: () => ['sifa', 'org', 'attestation-requests'] as const,\n },\n\n verification: {\n all: () => ['sifa', 'verification'] as const,\n /** The append-only verification log of one position. */\n log: (did: string, positionRkey: string) =>\n ['sifa', 'verification', 'log', did, positionRkey] as const,\n },\n\n stream: {\n all: () => ['sifa', 'stream'] as const,\n networkCount: (did: string) => ['sifa', 'stream', 'network-count', did] as const,\n },\n\n reactions: {\n all: () => ['sifa', 'reactions'] as const,\n status: (uris: string[]) => ['sifa', 'reactions', 'status', uris] as const,\n accountCheck: (appId: string) => ['sifa', 'reactions', 'account-check', appId] as const,\n },\n\n roadmap: {\n all: () => ['sifa', 'roadmap'] as const,\n votes: () => ['sifa', 'roadmap', 'votes'] as const,\n myVotes: () => ['sifa', 'roadmap', 'my-votes'] as const,\n },\n\n bskyPreferences: {\n all: () => ['sifa', 'bsky-preferences'] as const,\n contentLabels: () => ['sifa', 'bsky-preferences', 'content-labels'] as const,\n },\n\n userSettings: {\n all: () => ['sifa', 'user-settings'] as const,\n },\n\n repoInventory: {\n all: () => ['sifa', 'repo-inventory'] as const,\n list: () => ['sifa', 'repo-inventory', 'list'] as const,\n },\n destructive: {\n all: () => ['sifa', 'destructive'] as const,\n wipePreview: () => ['sifa', 'destructive', 'wipe-preview'] as const,\n },\n} as const;\n\nexport type SifaQueryKey =\n | ReturnType<typeof sifaQueryKeys.all>\n | ReturnType<typeof sifaQueryKeys.profile.all>\n | ReturnType<typeof sifaQueryKeys.profile.byHandle>\n | ReturnType<typeof sifaQueryKeys.profile.atFundLink>\n | ReturnType<typeof sifaQueryKeys.profile.externalAccounts>\n | ReturnType<typeof sifaQueryKeys.profile.completeness>\n | ReturnType<typeof sifaQueryKeys.position.all>\n | ReturnType<typeof sifaQueryKeys.position.byOwner>\n | ReturnType<typeof sifaQueryKeys.position.unlinked>\n | ReturnType<typeof sifaQueryKeys.inbox.all>\n | ReturnType<typeof sifaQueryKeys.inbox.counts>\n | ReturnType<typeof sifaQueryKeys.search.all>\n | ReturnType<typeof sifaQueryKeys.search.profiles>\n | ReturnType<typeof sifaQueryKeys.search.canonicalSkills>\n | ReturnType<typeof sifaQueryKeys.search.skills>\n | ReturnType<typeof sifaQueryKeys.search.filters>\n | ReturnType<typeof sifaQueryKeys.entity.all>\n | ReturnType<typeof sifaQueryKeys.entity.search>\n | ReturnType<typeof sifaQueryKeys.discovery.all>\n | ReturnType<typeof sifaQueryKeys.discovery.similar>\n | ReturnType<typeof sifaQueryKeys.discovery.suggestions>\n | ReturnType<typeof sifaQueryKeys.discovery.suggestionCount>\n | ReturnType<typeof sifaQueryKeys.discovery.featured>\n | ReturnType<typeof sifaQueryKeys.follow.all>\n | ReturnType<typeof sifaQueryKeys.follow.following>\n | ReturnType<typeof sifaQueryKeys.follow.followers>\n | ReturnType<typeof sifaQueryKeys.follow.followingOf>\n | ReturnType<typeof sifaQueryKeys.follow.feed>\n | ReturnType<typeof sifaQueryKeys.follow.mutuals>\n | ReturnType<typeof sifaQueryKeys.follow.blueskySuggestions>\n | ReturnType<typeof sifaQueryKeys.admin.all>\n | ReturnType<typeof sifaQueryKeys.admin.featureAllowlist>\n | ReturnType<typeof sifaQueryKeys.admin.reviewQueues>\n | ReturnType<typeof sifaQueryKeys.stats.all>\n | ReturnType<typeof sifaQueryKeys.stats.homepage>\n | ReturnType<typeof sifaQueryKeys.apps.all>\n | ReturnType<typeof sifaQueryKeys.apps.registry>\n | ReturnType<typeof sifaQueryKeys.apps.hidden>\n | ReturnType<typeof sifaQueryKeys.activity.all>\n | ReturnType<typeof sifaQueryKeys.activity.heatmap>\n | ReturnType<typeof sifaQueryKeys.activity.teaser>\n | ReturnType<typeof sifaQueryKeys.activity.feed>\n | ReturnType<typeof sifaQueryKeys.activity.hiddenItems>\n | ReturnType<typeof sifaQueryKeys.activity.preferences>\n | ReturnType<typeof sifaQueryKeys.activity.sitePreset>\n | ReturnType<typeof sifaQueryKeys.endorsement.all>\n | ReturnType<typeof sifaQueryKeys.endorsement.count>\n | ReturnType<typeof sifaQueryKeys.endorsement.pending>\n | ReturnType<typeof sifaQueryKeys.endorsement.reciprocity>\n | ReturnType<typeof sifaQueryKeys.endorsement.received>\n | ReturnType<typeof sifaQueryKeys.confirmation.all>\n | ReturnType<typeof sifaQueryKeys.confirmation.pending>\n | ReturnType<typeof sifaQueryKeys.confirmation.given>\n | ReturnType<typeof sifaQueryKeys.stream.all>\n | ReturnType<typeof sifaQueryKeys.stream.networkCount>\n | ReturnType<typeof sifaQueryKeys.reactions.all>\n | ReturnType<typeof sifaQueryKeys.reactions.status>\n | ReturnType<typeof sifaQueryKeys.reactions.accountCheck>\n | ReturnType<typeof sifaQueryKeys.roadmap.all>\n | ReturnType<typeof sifaQueryKeys.roadmap.votes>\n | ReturnType<typeof sifaQueryKeys.roadmap.myVotes>\n | ReturnType<typeof sifaQueryKeys.bskyPreferences.all>\n | ReturnType<typeof sifaQueryKeys.bskyPreferences.contentLabels>\n | ReturnType<typeof sifaQueryKeys.userSettings.all>\n | ReturnType<typeof sifaQueryKeys.destructive.all>\n | ReturnType<typeof sifaQueryKeys.destructive.wipePreview>\n | ReturnType<typeof sifaQueryK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,kBAAkB;AAAA,IACtC,eAAe,MAAM,CAAC,QAAQ,oBAAoB,gBAAgB;AAAA,EACpE;AAAA,EAEA,cAAc;AAAA,IACZ,KAAK,MAAM,CAAC,QAAQ,eAAe;AAAA,EACrC;AAAA,EAEA,eAAe;AAAA,IACb,KAAK,MAAM,CAAC,QAAQ,gBAAgB;AAAA,IACpC,MAAM,MAAM,CAAC,QAAQ,kBAAkB,MAAM;AAAA,EAC/C;AAAA,EACA,aAAa;AAAA,IACX,KAAK,MAAM,CAAC,QAAQ,aAAa;AAAA,IACjC,aAAa,MAAM,CAAC,QAAQ,eAAe,cAAc;AAAA,EAC3D;AACF;","names":[]}
|
|
1
|
+
{"version":3,"sources":["../../src/query/keys.ts"],"sourcesContent":["/**\n * Query key factory for TanStack Query.\n *\n * Keys are read-only tuples; the hierarchy matches the SDK's fetcher\n * grouping. Use these instead of inline arrays so consumers can target\n * `queryClient.invalidateQueries({ queryKey: keys.profile.all() })` and\n * similar patterns without typos.\n *\n * Convention: every leaf key starts with the namespace ('sifa') so\n * consumers can invalidate everything Sifa-related in one call.\n */\nexport const sifaQueryKeys = {\n all: () => ['sifa'] as const,\n\n profile: {\n all: () => ['sifa', 'profile'] as const,\n byHandle: (handleOrDid: string) => ['sifa', 'profile', handleOrDid] as const,\n atFundLink: (did: string) => ['sifa', 'profile', 'at-fund-link', did] as const,\n view: (actor: string) => ['sifa', 'profile', 'view', actor] as const,\n externalAccounts: (handleOrDid: string) =>\n ['sifa', 'profile', 'external-accounts', handleOrDid] as const,\n // Session-scoped: the AppView reads the owner from the session cookie, so\n // there is only ever one completeness result per client.\n completeness: () => ['sifa', 'profile', 'completeness'] as const,\n },\n\n position: {\n all: () => ['sifa', 'position'] as const,\n byOwner: (did: string) => ['sifa', 'position', 'by-owner', did] as const,\n // Session-scoped: the AppView reads the owner from the session cookie.\n unlinked: () => ['sifa', 'position', 'unlinked'] as const,\n },\n\n // Aggregate inbox counts for the header bell badge (session-scoped). The first\n // aggregate namespace: it fans in across confirmations, endorsements, drift,\n // unlinked positions and profile completeness on the server.\n inbox: {\n all: () => ['sifa', 'inbox'] as const,\n counts: () => ['sifa', 'inbox', 'counts'] as const,\n },\n\n // Session-scoped: how many rpg.actor items the signed-in user can claim, for\n // the Inbox item and the bell dropdown.\n rpg: {\n all: () => ['sifa', 'rpg'] as const,\n claimable: () => ['sifa', 'rpg', 'claimable'] as const,\n },\n\n search: {\n all: () => ['sifa', 'search'] as const,\n profiles: (filters: Record<string, unknown>) =>\n ['sifa', 'search', 'profiles', filters] as const,\n companies: (filters: Record<string, unknown>) =>\n ['sifa', 'search', 'companies', filters] as const,\n skills: (query: string) => ['sifa', 'search', 'skills', query] as const,\n canonicalSkills: (query: string, limit: number) =>\n ['sifa', 'search', 'canonical-skills', query, limit] as const,\n filters: () => ['sifa', 'search', 'filters'] as const,\n },\n\n entity: {\n all: () => ['sifa', 'entity'] as const,\n search: (query: string, limit: number) => ['sifa', 'entity', 'search', query, limit] as const,\n },\n\n discovery: {\n all: () => ['sifa', 'discovery'] as const,\n similar: (did: string, limit: number) => ['sifa', 'discovery', 'similar', did, limit] as const,\n suggestions: (opts: Record<string, unknown>) =>\n ['sifa', 'discovery', 'suggestions', opts] as const,\n suggestionCount: (since: string | undefined) =>\n ['sifa', 'discovery', 'suggestion-count', since ?? null] as const,\n featured: () => ['sifa', 'discovery', 'featured'] as const,\n },\n\n follow: {\n all: () => ['sifa', 'follow'] as const,\n following: (opts: Record<string, unknown>) => ['sifa', 'follow', 'following', opts] as const,\n followers: (handle: string) => ['sifa', 'follow', 'followers', handle] as const,\n followingOf: (handle: string) => ['sifa', 'follow', 'following-of', handle] as const,\n feed: (opts: Record<string, unknown>) => ['sifa', 'follow', 'feed', opts] as const,\n feedVersion: (opts: Record<string, unknown>) =>\n ['sifa', 'follow', 'feed-version', opts] as const,\n mutuals: (handle: string) => ['sifa', 'follow', 'mutuals', handle] as const,\n blueskySuggestions: () => ['sifa', 'follow', 'bluesky-suggestions'] as const,\n },\n\n admin: {\n all: () => ['sifa', 'admin'] as const,\n featureAllowlist: (flag: string) => ['sifa', 'admin', 'feature-allowlist', flag] as const,\n reviewQueues: () => ['sifa', 'admin', 'review-queues'] as const,\n },\n\n stats: {\n all: () => ['sifa', 'stats'] as const,\n homepage: () => ['sifa', 'stats', 'homepage'] as const,\n },\n\n apps: {\n all: () => ['sifa', 'apps'] as const,\n registry: () => ['sifa', 'apps', 'registry'] as const,\n hidden: () => ['sifa', 'apps', 'hidden'] as const,\n },\n\n auth: {\n all: () => ['sifa', 'auth'] as const,\n // Session-scoped: the AppView reads the account list from the browser's\n // cookies, so there is only ever one list per client.\n accounts: () => ['sifa', 'auth', 'accounts'] as const,\n },\n\n activity: {\n all: () => ['sifa', 'activity'] as const,\n heatmap: (handleOrDid: string, days: number) =>\n ['sifa', 'activity', 'heatmap', handleOrDid, days] as const,\n teaser: (handleOrDid: string) => ['sifa', 'activity', 'teaser', handleOrDid] as const,\n feed: (handleOrDid: string, opts: Record<string, unknown>) =>\n ['sifa', 'activity', 'feed', handleOrDid, opts] as const,\n // Session-scoped: the AppView reads the caller's own hides from their\n // cookie, so there is only ever one list per client.\n hiddenItems: () => ['sifa', 'activity', 'hidden-items'] as const,\n // Session-scoped, like hiddenItems: the caller's own preferences.\n preferences: () => ['sifa', 'activity', 'preferences'] as const,\n sitePreset: (handleOrDid: string) => ['sifa', 'activity', 'site-preset', handleOrDid] as const,\n },\n\n github: {\n all: () => ['sifa', 'github'] as const,\n myPullRequests: (opts: { limit?: number; offset?: number }) =>\n ['sifa', 'github', 'my-pull-requests', opts] as const,\n },\n\n endorsement: {\n all: () => ['sifa', 'endorsement'] as const,\n count: (did: string) => ['sifa', 'endorsement', 'count', did] as const,\n // Scoped to the session rather than a DID -- the AppView reads the subject\n // from the session cookie, so there is only ever one inbox per client.\n pending: () => ['sifa', 'endorsement', 'pending'] as const,\n // Also session-scoped: the AppView picks the candidate from the viewer's\n // own follows, dismissals and blocks.\n reciprocity: () => ['sifa', 'endorsement', 'reciprocity'] as const,\n received: (did: string) => ['sifa', 'endorsement', 'received', did] as const,\n },\n\n confirmation: {\n all: () => ['sifa', 'confirmation'] as const,\n // Scoped to the session for the same reason as the endorsement inbox: the\n // AppView reads the subject from the session cookie, so there is only ever\n // one inbox per client.\n pending: () => ['sifa', 'confirmation', 'pending'] as const,\n /** Confirmations this session has given, for the withdraw surface. */\n given: () => ['sifa', 'confirmation', 'given'] as const,\n },\n\n org: {\n all: () => ['sifa', 'org'] as const,\n /** Attestations the signed-in organization wrote. */\n attestations: () => ['sifa', 'org', 'attestations'] as const,\n /** Pending confirmation requests addressed to the signed-in organization. */\n attestationRequests: () => ['sifa', 'org', 'attestation-requests'] as const,\n },\n\n verification: {\n all: () => ['sifa', 'verification'] as const,\n /** The append-only verification log of one position. */\n log: (did: string, positionRkey: string) =>\n ['sifa', 'verification', 'log', did, positionRkey] as const,\n },\n\n stream: {\n all: () => ['sifa', 'stream'] as const,\n networkCount: (did: string) => ['sifa', 'stream', 'network-count', did] as const,\n },\n\n reactions: {\n all: () => ['sifa', 'reactions'] as const,\n status: (uris: string[]) => ['sifa', 'reactions', 'status', uris] as const,\n accountCheck: (appId: string) => ['sifa', 'reactions', 'account-check', appId] as const,\n },\n\n roadmap: {\n all: () => ['sifa', 'roadmap'] as const,\n votes: () => ['sifa', 'roadmap', 'votes'] as const,\n myVotes: () => ['sifa', 'roadmap', 'my-votes'] as const,\n },\n\n bskyPreferences: {\n all: () => ['sifa', 'bsky-preferences'] as const,\n contentLabels: () => ['sifa', 'bsky-preferences', 'content-labels'] as const,\n },\n\n userSettings: {\n all: () => ['sifa', 'user-settings'] as const,\n },\n\n repoInventory: {\n all: () => ['sifa', 'repo-inventory'] as const,\n list: () => ['sifa', 'repo-inventory', 'list'] as const,\n },\n destructive: {\n all: () => ['sifa', 'destructive'] as const,\n wipePreview: () => ['sifa', 'destructive', 'wipe-preview'] as const,\n },\n} as const;\n\nexport type SifaQueryKey =\n | ReturnType<typeof sifaQueryKeys.all>\n | ReturnType<typeof sifaQueryKeys.profile.all>\n | ReturnType<typeof sifaQueryKeys.profile.byHandle>\n | ReturnType<typeof sifaQueryKeys.profile.atFundLink>\n | ReturnType<typeof sifaQueryKeys.profile.externalAccounts>\n | ReturnType<typeof sifaQueryKeys.profile.completeness>\n | ReturnType<typeof sifaQueryKeys.position.all>\n | ReturnType<typeof sifaQueryKeys.position.byOwner>\n | ReturnType<typeof sifaQueryKeys.position.unlinked>\n | ReturnType<typeof sifaQueryKeys.inbox.all>\n | ReturnType<typeof sifaQueryKeys.inbox.counts>\n | ReturnType<typeof sifaQueryKeys.rpg.all>\n | ReturnType<typeof sifaQueryKeys.rpg.claimable>\n | ReturnType<typeof sifaQueryKeys.search.all>\n | ReturnType<typeof sifaQueryKeys.search.profiles>\n | ReturnType<typeof sifaQueryKeys.search.canonicalSkills>\n | ReturnType<typeof sifaQueryKeys.search.skills>\n | ReturnType<typeof sifaQueryKeys.search.filters>\n | ReturnType<typeof sifaQueryKeys.entity.all>\n | ReturnType<typeof sifaQueryKeys.entity.search>\n | ReturnType<typeof sifaQueryKeys.discovery.all>\n | ReturnType<typeof sifaQueryKeys.discovery.similar>\n | ReturnType<typeof sifaQueryKeys.discovery.suggestions>\n | ReturnType<typeof sifaQueryKeys.discovery.suggestionCount>\n | ReturnType<typeof sifaQueryKeys.discovery.featured>\n | ReturnType<typeof sifaQueryKeys.follow.all>\n | ReturnType<typeof sifaQueryKeys.follow.following>\n | ReturnType<typeof sifaQueryKeys.follow.followers>\n | ReturnType<typeof sifaQueryKeys.follow.followingOf>\n | ReturnType<typeof sifaQueryKeys.follow.feed>\n | ReturnType<typeof sifaQueryKeys.follow.mutuals>\n | ReturnType<typeof sifaQueryKeys.follow.blueskySuggestions>\n | ReturnType<typeof sifaQueryKeys.admin.all>\n | ReturnType<typeof sifaQueryKeys.admin.featureAllowlist>\n | ReturnType<typeof sifaQueryKeys.admin.reviewQueues>\n | ReturnType<typeof sifaQueryKeys.stats.all>\n | ReturnType<typeof sifaQueryKeys.stats.homepage>\n | ReturnType<typeof sifaQueryKeys.apps.all>\n | ReturnType<typeof sifaQueryKeys.apps.registry>\n | ReturnType<typeof sifaQueryKeys.apps.hidden>\n | ReturnType<typeof sifaQueryKeys.activity.all>\n | ReturnType<typeof sifaQueryKeys.activity.heatmap>\n | ReturnType<typeof sifaQueryKeys.activity.teaser>\n | ReturnType<typeof sifaQueryKeys.activity.feed>\n | ReturnType<typeof sifaQueryKeys.activity.hiddenItems>\n | ReturnType<typeof sifaQueryKeys.activity.preferences>\n | ReturnType<typeof sifaQueryKeys.activity.sitePreset>\n | ReturnType<typeof sifaQueryKeys.endorsement.all>\n | ReturnType<typeof sifaQueryKeys.endorsement.count>\n | ReturnType<typeof sifaQueryKeys.endorsement.pending>\n | ReturnType<typeof sifaQueryKeys.endorsement.reciprocity>\n | ReturnType<typeof sifaQueryKeys.endorsement.received>\n | ReturnType<typeof sifaQueryKeys.confirmation.all>\n | ReturnType<typeof sifaQueryKeys.confirmation.pending>\n | ReturnType<typeof sifaQueryKeys.confirmation.given>\n | ReturnType<typeof sifaQueryKeys.stream.all>\n | ReturnType<typeof sifaQueryKeys.stream.networkCount>\n | ReturnType<typeof sifaQueryKeys.reactions.all>\n | ReturnType<typeof sifaQueryKeys.reactions.status>\n | ReturnType<typeof sifaQueryKeys.reactions.accountCheck>\n | ReturnType<typeof sifaQueryKeys.roadmap.all>\n | ReturnType<typeof sifaQueryKeys.roadmap.votes>\n | ReturnType<typeof sifaQueryKeys.roadmap.myVotes>\n | ReturnType<typeof sifaQueryKeys.bskyPreferences.all>\n | ReturnType<typeof sifaQueryKeys.bskyPreferences.contentLabels>\n | ReturnType<typeof sifaQueryKeys.userSettings.all>\n | ReturnType<typeof sifaQueryKeys.destructive.all>\n | ReturnType<typeof sifaQueryKeys.destructive.wipePreview>\n | ReturnType<typeof sifaQueryKeys.repoInventory.all>\n | ReturnType<typeof sifaQueryKeys.repoInventory.list>;\n"],"mappings":";AAWO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