@singi-labs/sifa-sdk 0.19.78 → 0.19.79
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-DAiJZvPg.d.ts → index-B0BDMGLm.d.ts} +8 -0
- package/dist/{index-k6tBrbEU.d.cts → index-BrWWVQLL.d.cts} +8 -0
- package/dist/index.cjs +7 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +1 -1
- package/dist/jsonld/index.cjs +11 -0
- package/dist/jsonld/index.cjs.map +1 -1
- package/dist/jsonld/index.d.cts +1 -1
- package/dist/jsonld/index.d.ts +1 -1
- package/dist/jsonld/terms.js +11 -0
- package/dist/jsonld/terms.js.map +1 -1
- package/dist/{network-map-D8JcKu28.d.ts → network-map-BEOM5v7g.d.ts} +3 -3
- package/dist/{network-map-Db_EPUDX.d.cts → network-map-DMDU4liU.d.cts} +3 -3
- package/dist/{profile-investment-Cn5b--EG.d.cts → profile-investment-QSwX2GL5.d.cts} +1 -0
- package/dist/{profile-investment-Cn5b--EG.d.ts → profile-investment-QSwX2GL5.d.ts} +1 -0
- package/dist/{profile-summary-PRDqxAQT.d.ts → profile-summary-1oXL1guc.d.ts} +1 -1
- package/dist/{profile-summary-BcbJrph1.d.cts → profile-summary-CpM9l8iq.d.cts} +1 -1
- package/dist/query/fetchers/index.cjs +2 -1
- package/dist/query/fetchers/index.cjs.map +1 -1
- package/dist/query/fetchers/index.d.cts +6 -6
- package/dist/query/fetchers/index.d.ts +6 -6
- package/dist/query/fetchers/profile-mutations.js.map +1 -1
- package/dist/query/hooks/index.cjs +24 -2
- package/dist/query/hooks/index.cjs.map +1 -1
- package/dist/query/hooks/index.d.cts +4 -4
- package/dist/query/hooks/index.d.ts +4 -4
- package/dist/query/hooks/index.js +2 -0
- package/dist/query/hooks/index.js.map +1 -1
- package/dist/query/hooks/use-rpg-status.js +19 -0
- package/dist/query/hooks/use-rpg-status.js.map +1 -0
- package/dist/query/index.cjs +11 -1
- package/dist/query/index.cjs.map +1 -1
- package/dist/query/index.d.cts +9 -9
- package/dist/query/index.d.ts +9 -9
- package/dist/query/index.js +2 -0
- package/dist/query/index.js.map +1 -1
- package/dist/query/keys.js +2 -1
- package/dist/query/keys.js.map +1 -1
- package/dist/resume/index.d.cts +1 -1
- package/dist/resume/index.d.ts +1 -1
- package/dist/rpg/avatar.js +6 -0
- package/dist/rpg/avatar.js.map +1 -0
- package/dist/rpg/index.cjs +4 -0
- package/dist/rpg/index.cjs.map +1 -1
- package/dist/rpg/index.d.cts +9 -1
- package/dist/rpg/index.d.ts +9 -1
- package/dist/rpg/index.js +2 -0
- package/dist/rpg/index.js.map +1 -1
- package/dist/schemas/index.cjs +6 -0
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +1 -1
- package/dist/schemas/index.d.ts +1 -1
- package/dist/schemas/profile-self.js +6 -0
- package/dist/schemas/profile-self.js.map +1 -1
- package/dist/schemas/write/index.cjs +13 -1
- package/dist/schemas/write/index.cjs.map +1 -1
- package/dist/schemas/write/index.d.cts +3 -0
- package/dist/schemas/write/index.d.ts +3 -0
- package/dist/schemas/write/profile-self.js +9 -1
- package/dist/schemas/write/profile-self.js.map +1 -1
- package/dist/types/index.js.map +1 -1
- package/dist/{types-CI24asgo.d.ts → types-DB7UkX43.d.ts} +1 -1
- package/dist/{types-qw55KvoV.d.cts → types-DQfWqSud.d.cts} +1 -1
- package/dist/{use-user-settings-fWHkdX3c.d.ts → use-user-settings-A_i6Nrj1.d.ts} +25 -4
- package/dist/{use-user-settings-DWj8BC5K.d.cts → use-user-settings-U-cIysUa.d.cts} +25 -4
- package/dist/{user-settings-nov4rgwR.d.ts → user-settings-CGJPdwTM.d.ts} +9 -3
- package/dist/{user-settings-qkxxTwFP.d.cts → user-settings-DdWaL2AG.d.cts} +9 -3
- package/package.json +1 -1
package/dist/query/index.d.cts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { a0 as SifaApiConfig, a1 as ApiFetchOptions, a2 as CreateResult, a3 as WriteResult, c as AdultContentLabel } from '../types-
|
|
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-
|
|
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
|
|
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, 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-
|
|
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 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-
|
|
8
|
-
import { C as CoSpeaker, m as ActorCard } from '../index-
|
|
1
|
+
import { a0 as SifaApiConfig, a1 as ApiFetchOptions, a2 as CreateResult, a3 as WriteResult, c as AdultContentLabel } from '../types-DQfWqSud.cjs';
|
|
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-DQfWqSud.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 useRpgClaimable, bo as useRpgStatus, bp as useSearchFilters, bq as useSearchProfiles, br as useSelectEntity, bs as useSetExternalAccountPrimary, bt as useSetPositionPrimary, bu as useSetSectionPrimary, bv as useSifaConfig, bw as useSimilarProfiles, bx as useSiteActivityPreset, by as useSkillSuggestions, bz as useStats, bA as useSuggestionCount, bB as useSuggestions, bC as useUnfollow, bD as useUnhideActivityItem, bE as useUnhideKeytraceClaim, bF as useUnhideOrcidPublication, bG as useUnhideProfileItem, bH as useUnhideSifaPublication, bI as useUnhideStandardPublication, bJ as useUnlinkSkillFromPosition, bK as useUnlinkedPositions, bL as useUnrevealMarqueDomain, bM as useUnsetExternalAccountPrimary, bN as useUnsetPositionPrimary, bO as useUnsetSectionPrimary, bP as useUpdateActivityPreferences, bQ as useUpdateEducation, bR as useUpdateExternalAccount, bS as useUpdateOrgProfile, bT as useUpdatePosition, bU as useUpdateProfileLocation, bV as useUpdateProfileOverride, bW as useUpdateProfileSelf, bX as useUpdateRecord, bY as useUpdateSkill, bZ as useUpdateSkillSubCategories, b_ as useUpdateUserSettings, b$ as useUploadAvatar, c0 as useUploadNamePronunciationAudio, c1 as useUserSettings, c2 as useVerificationLog, c3 as useVerifyExternalAccount, c4 as useWipePreview } from '../use-user-settings-U-cIysUa.cjs';
|
|
4
|
+
import { R as ReceivedEndorsementsPage, a as ReciprocityCandidate, D as DismissEndorsementInput, P as PendingEndorsementsPage } from '../network-map-DMDU4liU.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-DMDU4liU.cjs';
|
|
6
|
+
import { s as sifaQueryKeys, C as ConfirmEndorsementInput, a as ConfirmEndorsementResult } from '../user-settings-DdWaL2AG.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-DdWaL2AG.cjs';
|
|
8
|
+
import { C as CoSpeaker, m as ActorCard } from '../index-BrWWVQLL.cjs';
|
|
9
9
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
10
10
|
import { UseQueryOptions, UseMutationOptions } from '@tanstack/react-query';
|
|
11
11
|
import '../verification-providers-7il3kPQS.cjs';
|
|
@@ -13,7 +13,7 @@ import 'zod';
|
|
|
13
13
|
import 'react';
|
|
14
14
|
import '../follow-profile-CQ3DTTak.cjs';
|
|
15
15
|
import '../org-settings-C73Sin5E.cjs';
|
|
16
|
-
import '../profile-summary-
|
|
16
|
+
import '../profile-summary-CpM9l8iq.cjs';
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
* Resolve any atproto handle (or DID) to a profile card, for the co-speaker
|
package/dist/query/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { a0 as SifaApiConfig, a1 as ApiFetchOptions, a2 as CreateResult, a3 as WriteResult, c as AdultContentLabel } from '../types-
|
|
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-
|
|
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
|
|
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, 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-
|
|
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 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-
|
|
8
|
-
import { C as CoSpeaker, m as ActorCard } from '../index-
|
|
1
|
+
import { a0 as SifaApiConfig, a1 as ApiFetchOptions, a2 as CreateResult, a3 as WriteResult, c as AdultContentLabel } from '../types-DB7UkX43.js';
|
|
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-DB7UkX43.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 useRpgClaimable, bo as useRpgStatus, bp as useSearchFilters, bq as useSearchProfiles, br as useSelectEntity, bs as useSetExternalAccountPrimary, bt as useSetPositionPrimary, bu as useSetSectionPrimary, bv as useSifaConfig, bw as useSimilarProfiles, bx as useSiteActivityPreset, by as useSkillSuggestions, bz as useStats, bA as useSuggestionCount, bB as useSuggestions, bC as useUnfollow, bD as useUnhideActivityItem, bE as useUnhideKeytraceClaim, bF as useUnhideOrcidPublication, bG as useUnhideProfileItem, bH as useUnhideSifaPublication, bI as useUnhideStandardPublication, bJ as useUnlinkSkillFromPosition, bK as useUnlinkedPositions, bL as useUnrevealMarqueDomain, bM as useUnsetExternalAccountPrimary, bN as useUnsetPositionPrimary, bO as useUnsetSectionPrimary, bP as useUpdateActivityPreferences, bQ as useUpdateEducation, bR as useUpdateExternalAccount, bS as useUpdateOrgProfile, bT as useUpdatePosition, bU as useUpdateProfileLocation, bV as useUpdateProfileOverride, bW as useUpdateProfileSelf, bX as useUpdateRecord, bY as useUpdateSkill, bZ as useUpdateSkillSubCategories, b_ as useUpdateUserSettings, b$ as useUploadAvatar, c0 as useUploadNamePronunciationAudio, c1 as useUserSettings, c2 as useVerificationLog, c3 as useVerifyExternalAccount, c4 as useWipePreview } from '../use-user-settings-A_i6Nrj1.js';
|
|
4
|
+
import { R as ReceivedEndorsementsPage, a as ReciprocityCandidate, D as DismissEndorsementInput, P as PendingEndorsementsPage } from '../network-map-BEOM5v7g.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-BEOM5v7g.js';
|
|
6
|
+
import { s as sifaQueryKeys, C as ConfirmEndorsementInput, a as ConfirmEndorsementResult } from '../user-settings-CGJPdwTM.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-CGJPdwTM.js';
|
|
8
|
+
import { C as CoSpeaker, m as ActorCard } from '../index-B0BDMGLm.js';
|
|
9
9
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
10
10
|
import { UseQueryOptions, UseMutationOptions } from '@tanstack/react-query';
|
|
11
11
|
import '../verification-providers-7il3kPQS.js';
|
|
@@ -13,7 +13,7 @@ import 'zod';
|
|
|
13
13
|
import 'react';
|
|
14
14
|
import '../follow-profile-ceqefXAw.js';
|
|
15
15
|
import '../org-settings-BShvhyFp.js';
|
|
16
|
-
import '../profile-summary-
|
|
16
|
+
import '../profile-summary-1oXL1guc.js';
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
* Resolve any atproto handle (or DID) to a profile card, for the co-speaker
|
package/dist/query/index.js
CHANGED
|
@@ -325,6 +325,7 @@ import {
|
|
|
325
325
|
} from "./hooks/use-unlinked-positions.js";
|
|
326
326
|
import { useProfileCompleteness } from "./hooks/use-profile-completeness.js";
|
|
327
327
|
import { useRpgClaimable } from "./hooks/use-rpg-claimable.js";
|
|
328
|
+
import { useRpgStatus } from "./hooks/use-rpg-status.js";
|
|
328
329
|
import { useHideKeytraceClaim, useUnhideKeytraceClaim } from "./hooks/use-keytrace-claims.js";
|
|
329
330
|
import { useRevealMarqueDomain, useUnrevealMarqueDomain } from "./hooks/use-marque-domains.js";
|
|
330
331
|
import {
|
|
@@ -725,6 +726,7 @@ export {
|
|
|
725
726
|
useRevokeOrgAttestation,
|
|
726
727
|
useRoadmapVotes,
|
|
727
728
|
useRpgClaimable,
|
|
729
|
+
useRpgStatus,
|
|
728
730
|
useSearchFilters,
|
|
729
731
|
useSearchProfiles,
|
|
730
732
|
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 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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AA,EACA;AAAA,OASK;AACP,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 { useRpgStatus } from './hooks/use-rpg-status.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;AA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,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OASK;AACP,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":[]}
|
package/dist/query/keys.js
CHANGED
|
@@ -28,7 +28,8 @@ var sifaQueryKeys = {
|
|
|
28
28
|
// the Inbox item and the bell dropdown.
|
|
29
29
|
rpg: {
|
|
30
30
|
all: () => ["sifa", "rpg"],
|
|
31
|
-
claimable: () => ["sifa", "rpg", "claimable"]
|
|
31
|
+
claimable: () => ["sifa", "rpg", "claimable"],
|
|
32
|
+
status: () => ["sifa", "rpg", "status"]
|
|
32
33
|
},
|
|
33
34
|
search: {
|
|
34
35
|
all: () => ["sifa", "search"],
|
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 // 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,IAAM,gBAAgB;AAAA,EAC3B,KAAK,MAAM,CAAC,MAAM;AAAA,EAElB,SAAS;AAAA,IACP,KAAK,MAAM,CAAC,QAAQ,SAAS;AAAA,IAC7B,UAAU,CAAC,gBAAwB,CAAC,QAAQ,WAAW,WAAW;AAAA,IAClE,YAAY,CAAC,QAAgB,CAAC,QAAQ,WAAW,gBAAgB,GAAG;AAAA,IACpE,MAAM,CAAC,UAAkB,CAAC,QAAQ,WAAW,QAAQ,KAAK;AAAA,IAC1D,kBAAkB,CAAC,gBACjB,CAAC,QAAQ,WAAW,qBAAqB,WAAW;AAAA;AAAA;AAAA,IAGtD,cAAc,MAAM,CAAC,QAAQ,WAAW,cAAc;AAAA,EACxD;AAAA,EAEA,UAAU;AAAA,IACR,KAAK,MAAM,CAAC,QAAQ,UAAU;AAAA,IAC9B,SAAS,CAAC,QAAgB,CAAC,QAAQ,YAAY,YAAY,GAAG;AAAA;AAAA,IAE9D,UAAU,MAAM,CAAC,QAAQ,YAAY,UAAU;AAAA,EACjD;AAAA;AAAA;AAAA;AAAA,EAKA,OAAO;AAAA,IACL,KAAK,MAAM,CAAC,QAAQ,OAAO;AAAA,IAC3B,QAAQ,MAAM,CAAC,QAAQ,SAAS,QAAQ;AAAA,EAC1C;AAAA;AAAA;AAAA,EAIA,KAAK;AAAA,IACH,KAAK,MAAM,CAAC,QAAQ,KAAK;AAAA,IACzB,WAAW,MAAM,CAAC,QAAQ,OAAO,WAAW;AAAA,EAC9C;AAAA,EAEA,QAAQ;AAAA,IACN,KAAK,MAAM,CAAC,QAAQ,QAAQ;AAAA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AAU,IAAI;AAAA,IAChE,cAAc,CAAC,UAAkB,CAAC,QAAQ,aAAa,iBAAiB,KAAK;AAAA,EAC/E;AAAA,EAEA,SAAS;AAAA,IACP,KAAK,MAAM,CAAC,QAAQ,SAAS;AAAA,IAC7B,OAAO,MAAM,CAAC,QAAQ,WAAW,OAAO;AAAA,IACxC,SAAS,MAAM,CAAC,QAAQ,WAAW,UAAU;AAAA,EAC/C;AAAA,EAEA,iBAAiB;AAAA,IACf,KAAK,MAAM,CAAC,QAAQ,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 status: () => ['sifa', 'rpg', 'status'] 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.rpg.status>\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,IAAM,gBAAgB;AAAA,EAC3B,KAAK,MAAM,CAAC,MAAM;AAAA,EAElB,SAAS;AAAA,IACP,KAAK,MAAM,CAAC,QAAQ,SAAS;AAAA,IAC7B,UAAU,CAAC,gBAAwB,CAAC,QAAQ,WAAW,WAAW;AAAA,IAClE,YAAY,CAAC,QAAgB,CAAC,QAAQ,WAAW,gBAAgB,GAAG;AAAA,IACpE,MAAM,CAAC,UAAkB,CAAC,QAAQ,WAAW,QAAQ,KAAK;AAAA,IAC1D,kBAAkB,CAAC,gBACjB,CAAC,QAAQ,WAAW,qBAAqB,WAAW;AAAA;AAAA;AAAA,IAGtD,cAAc,MAAM,CAAC,QAAQ,WAAW,cAAc;AAAA,EACxD;AAAA,EAEA,UAAU;AAAA,IACR,KAAK,MAAM,CAAC,QAAQ,UAAU;AAAA,IAC9B,SAAS,CAAC,QAAgB,CAAC,QAAQ,YAAY,YAAY,GAAG;AAAA;AAAA,IAE9D,UAAU,MAAM,CAAC,QAAQ,YAAY,UAAU;AAAA,EACjD;AAAA;AAAA;AAAA;AAAA,EAKA,OAAO;AAAA,IACL,KAAK,MAAM,CAAC,QAAQ,OAAO;AAAA,IAC3B,QAAQ,MAAM,CAAC,QAAQ,SAAS,QAAQ;AAAA,EAC1C;AAAA;AAAA;AAAA,EAIA,KAAK;AAAA,IACH,KAAK,MAAM,CAAC,QAAQ,KAA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C5B,cAAc,CAAC,QAAgB,CAAC,QAAQ,UAAU,iBAAiB,GAAG;AAAA,EACxE;AAAA,EAEA,WAAW;AAAA,IACT,KAAK,MAAM,CAAC,QAAQ,WAAW;AAAA,IAC/B,QAAQ,CAAC,SAAmB,CAAC,QAAQ,aAAa,UAAU,IAAI;AAAA,IAChE,cAAc,CAAC,UAAkB,CAAC,QAAQ,aAAa,iBAAiB,KAAK;AAAA,EAC/E;AAAA,EAEA,SAAS;AAAA,IACP,KAAK,MAAM,CAAC,QAAQ,SAAS;AAAA,IAC7B,OAAO,MAAM,CAAC,QAAQ,WAAW,OAAO;AAAA,IACxC,SAAS,MAAM,CAAC,QAAQ,WAAW,UAAU;AAAA,EAC/C;AAAA,EAEA,iBAAiB;AAAA,IACf,KAAK,MAAM,CAAC,QAAQ,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":[]}
|
package/dist/resume/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { L as LocationValue, d as ProfilePosition, f as ProfileEducation, P as ProfileSkill, e as ProfileCertification, i as ProfileProject, j as ProfilePublication, N as ProfileVolunteering, g as ProfileHonor, h as ProfileLanguage, p as ExternalAccount, M as ProfilePresentation, B as ProfileCourse } from '../index-
|
|
1
|
+
import { L as LocationValue, d as ProfilePosition, f as ProfileEducation, P as ProfileSkill, e as ProfileCertification, i as ProfileProject, j as ProfilePublication, N as ProfileVolunteering, g as ProfileHonor, h as ProfileLanguage, p as ExternalAccount, M as ProfilePresentation, B as ProfileCourse } from '../index-BrWWVQLL.cjs';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
import '../verification-providers-7il3kPQS.cjs';
|
|
4
4
|
|
package/dist/resume/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { L as LocationValue, d as ProfilePosition, f as ProfileEducation, P as ProfileSkill, e as ProfileCertification, i as ProfileProject, j as ProfilePublication, N as ProfileVolunteering, g as ProfileHonor, h as ProfileLanguage, p as ExternalAccount, M as ProfilePresentation, B as ProfileCourse } from '../index-
|
|
1
|
+
import { L as LocationValue, d as ProfilePosition, f as ProfileEducation, P as ProfileSkill, e as ProfileCertification, i as ProfileProject, j as ProfilePublication, N as ProfileVolunteering, g as ProfileHonor, h as ProfileLanguage, p as ExternalAccount, M as ProfilePresentation, B as ProfileCourse } from '../index-B0BDMGLm.js';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
import '../verification-providers-7il3kPQS.js';
|
|
4
4
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/rpg/avatar.ts"],"sourcesContent":["/**\n * The `id.sifa.profile.self` `avatarSource` value for \"use my rpg.actor\n * character as my avatar\". It names the collection of the record that holds\n * the character (`actor.rpg.sprite`, record key `self`), so any app reading\n * the profile knows where to look.\n */\nexport const RPG_AVATAR_SOURCE = 'actor.rpg.sprite';\n"],"mappings":";AAMO,IAAM,oBAAoB;","names":[]}
|
package/dist/rpg/index.cjs
CHANGED
|
@@ -157,6 +157,9 @@ function evaluateRpgUnlocks(signals, items = RPG_ITEMS) {
|
|
|
157
157
|
return items.filter((item) => item.enabled).map((item) => ({ item, earned: item.unlock.some((u) => matches(u, signals)) }));
|
|
158
158
|
}
|
|
159
159
|
|
|
160
|
+
// src/rpg/avatar.ts
|
|
161
|
+
var RPG_AVATAR_SOURCE = "actor.rpg.sprite";
|
|
162
|
+
|
|
160
163
|
// src/rpg/links.ts
|
|
161
164
|
var RPG_ACTOR_URL = "https://rpg.actor";
|
|
162
165
|
function rpgGiveRkey(itemId, recipientDid) {
|
|
@@ -170,6 +173,7 @@ function rpgActorWearUrl(handleOrDid, itemId, recipientDid) {
|
|
|
170
173
|
}
|
|
171
174
|
|
|
172
175
|
exports.RPG_ACTOR_URL = RPG_ACTOR_URL;
|
|
176
|
+
exports.RPG_AVATAR_SOURCE = RPG_AVATAR_SOURCE;
|
|
173
177
|
exports.RPG_ITEMS = RPG_ITEMS;
|
|
174
178
|
exports.RpgItemSchema = RpgItemSchema;
|
|
175
179
|
exports.RpgUnlockSchema = RpgUnlockSchema;
|
package/dist/rpg/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/rpg/catalog.ts","../../src/rpg/unlocks.ts","../../src/rpg/links.ts"],"names":["z"],"mappings":";;;;;AAEO,IAAM,eAAA,GAAkBA,KAAA,CAAE,kBAAA,CAAmB,MAAA,EAAQ;AAAA,EAC1DA,MAAE,MAAA,CAAO;AAAA,IACP,IAAA,EAAMA,KAAA,CAAE,OAAA,CAAQ,WAAW,CAAA;AAAA,IAC3B,UAAA,EAAYA,MAAE,IAAA,CAAK;AAAA,MACjB,0BAAA;AAAA,MACA,8BAAA;AAAA,MACA,8BAAA;AAAA,MACA;AAAA,KACD;AAAA,GACF,CAAA;AAAA,EACDA,MAAE,MAAA,CAAO,EAAE,MAAMA,KAAA,CAAE,OAAA,CAAQ,oBAAoB,CAAA,EAAG,SAAA,EAAWA,KAAA,CAAE,KAAA,CAAMA,MAAE,MAAA,EAAQ,EAAE,GAAA,CAAI,CAAC,GAAG,CAAA;AAAA,EACzFA,KAAA,CAAE,MAAA,CAAO,EAAE,IAAA,EAAMA,MAAE,OAAA,CAAQ,SAAS,CAAA,EAAG,KAAA,EAAOA,MAAE,MAAA,EAAO,CAAE,GAAA,CAAI,CAAC,GAAG,CAAA;AAA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AAK,CAAC,CAAA,KAAM,QAAQ,CAAA,EAAG,OAAO,CAAC,CAAA,EAAE,CAAE,CAAA;AACnF;;;ACvCO,IAAM,aAAA,GAAgB;AAWtB,SAAS,WAAA,CAAY,QAAgB,YAAA,EAA8B;AACxE,EAAA,OAAO,CAAA,KAAA,EAAQ,MAAM,CAAA,CAAA,EAAI,YAAY,CAAA,CAAA;AACvC;AAGO,SAAS,qBAAqB,WAAA,EAA6B;AAChE,EAAA,OAAO,CAAA,EAAG,aAAa,CAAA,CAAA,EAAI,kBAAA,CAAmB,YAAY,OAAA,CAAQ,KAAA,EAAO,EAAE,CAAC,CAAC,CAAA,CAAA;AAC/E;AAGO,SAAS,eAAA,CAAgB,WAAA,EAAqB,MAAA,EAAgB,YAAA,EAA8B;AACjG,EAAA,OAAO,CAAA,EAAG,oBAAA,CAAqB,WAAW,CAAC,CAAA,MAAA,EAAS,mBAAmB,WAAA,CAAY,MAAA,EAAQ,YAAY,CAAC,CAAC,CAAA,CAAA;AAC3G","file":"index.cjs","sourcesContent":["import { z } from 'zod';\n\nexport const RpgUnlockSchema = z.discriminatedUnion('kind', [\n z.object({\n kind: z.literal('hasRecord'),\n collection: z.enum([\n 'id.sifa.profile.position',\n 'id.sifa.profile.volunteering',\n 'id.sifa.profile.presentation',\n 'id.sifa.profile.education',\n ]),\n }),\n z.object({ kind: z.literal('hasExternalAccount'), platforms: z.array(z.string()).min(1) }),\n z.object({ kind: z.literal('usesApp'), appId: z.string().min(1) }),\n z.object({ kind: z.literal('hasDoctorate') }),\n]);\n\n/** CIDv1 (raw codec, sha2-256, base32) as used for rpg.actor image blobs. */\nexport const RPG_CID_REGEX = /^bafkrei[a-z2-7]{52}$/;\n\nexport const RpgItemSchema = z.object({\n /** Lowercase `[a-z0-9_]` only: the id is embedded in an AT Protocol record key. */\n id: z\n .string()\n .min(1)\n .max(50)\n .regex(/^[a-z0-9_]+$/),\n title: z.string().max(100),\n description: z.string().max(500),\n kind: z.enum(['layer', 'held', 'overlay']),\n category: z.string().max(30),\n /** rpg.actor channels the item is offered in (optional). */\n channels: z.array(z.string().min(1)).optional(),\n /** Full-size sprite asset (CIDv1, raw codec, base32). */\n assetCid: z.string().regex(RPG_CID_REGEX),\n /** Inventory icon (CIDv1, raw codec, base32). */\n iconCid: z.string().regex(RPG_CID_REGEX),\n unlock: z.array(RpgUnlockSchema).min(1), // ANY of these unlocks the item\n enabled: z.boolean(),\n});\nexport type RpgItem = z.infer<typeof RpgItemSchema>;\nexport type RpgUnlock = z.infer<typeof RpgUnlockSchema>;\n\n/**\n * The Sifa item catalog for rpg.actor. Ids, titles, descriptions, kinds,\n * categories, channels and image CIDs come from rpg.actor's item cores; the\n * weekly drift check compares them and `pnpm rpg:sync-catalog` adopts\n * rpg.actor's changes. `unlock` and `enabled` are ours.\n */\nexport const RPG_ITEMS: readonly RpgItem[] = [\n {\n id: 'leather_briefcase',\n title: 'Leather Briefcase',\n description: 'A trusty briefcase, for your daily commute',\n kind: 'held',\n category: 'righthand',\n channels: ['main'],\n assetCid: 'bafkreibjtgvetkpzwkliq4o4qnf7atbui6nxgyas3fyk6sjgd5zrl52swa',\n iconCid: 'bafkreifmyglopjtbkiuocmcjcbjhtr34vjumkzbnspbnlsezbdphbkfvu4',\n enabled: true,\n unlock: [{ kind: 'hasRecord', collection: 'id.sifa.profile.position' }],\n },\n {\n id: 'sifa_suit',\n title: 'Sifa Suit',\n description: 'Sharp power suit for confirmed professionals',\n kind: 'overlay',\n category: 'costume',\n channels: ['main'],\n assetCid: 'bafkreibortlffvfzkdcuqdpoubczuno7ohnvfwqhefe4h4s36eooe4njgu',\n iconCid: 'bafkreifo7vojbr4i6uvsthj2hbczoqwmrn3ovysrskvxlxw6fvkbswm2ae',\n enabled: false,\n // Reserved for the confirmed tier (a colleague confirms the job and both\n // have a confirmed work email). The unlock kind for that is added once work\n // email confirmation exists; until then the item stays disabled.\n unlock: [{ kind: 'hasRecord', collection: 'id.sifa.profile.position' }],\n },\n {\n id: 'speaker_mic',\n title: 'Speaker Mic',\n description: \"A presentation mic, so you can drop it on 'em\",\n kind: 'held',\n category: 'righthand',\n channels: ['main'],\n assetCid: 'bafkreibr4kgeijc5naecf7l4awfv3omph4ngjmjb36qkfnk2sdo6l45ck4',\n iconCid: 'bafkreidnkirbw4nwiro3ocrn5nk66uxf3dhcoy5pojunisvs7so55u3j3q',\n enabled: true,\n unlock: [{ kind: 'hasRecord', collection: 'id.sifa.profile.presentation' }],\n },\n {\n id: 'strapped_books',\n title: 'Strapped Books',\n description: 'Knowledge is power, better come strapped',\n kind: 'held',\n category: 'righthand',\n channels: ['main'],\n assetCid: 'bafkreieofltl6427jy3n6dfv63phublalv6nq2hcs36qnyxz33ta6u6yqi',\n iconCid: 'bafkreiavywpv4sgw7gnkzq5gw3nq6yihaucdexpsvgko26q6jq6u6grjpi',\n enabled: true,\n unlock: [{ kind: 'hasRecord', collection: 'id.sifa.profile.education' }],\n },\n {\n id: 'dev_hoodie',\n title: 'Dev Hoodie',\n description: 'Snug hoodie for when you enter total code mode',\n kind: 'layer',\n category: 'tops',\n channels: ['main', 'sub1'],\n assetCid: 'bafkreigmrqp5kd6lytqcen2mypuv6dqonrdfbi2ngxhq3uqozk63yi7hoy',\n iconCid: 'bafkreigjwti3w43ta6gy2c75qtdnuvovfohjtv2febbd6hdhpri4tupbem',\n enabled: true,\n unlock: [\n { kind: 'hasExternalAccount', platforms: ['github'] },\n { kind: 'usesApp', appId: 'tangled' },\n ],\n },\n {\n id: 'doctoral_cap',\n title: 'Doctoral Cap',\n description: 'Took so many long years to earn this hat',\n kind: 'layer',\n category: 'headwear',\n channels: ['main'],\n assetCid: 'bafkreic7pvfpb7fjgooiaianrc27mh7fwj5vkicre63l6x5hrzb4w36tcq',\n iconCid: 'bafkreigqt6lmx5crj3w7vc3bvuewarzdreg2doxyeerbxmhljhpeshjewm',\n enabled: true,\n unlock: [{ kind: 'hasDoctorate' }],\n },\n {\n id: 'weekend_shirt',\n title: 'Weekend Shirt',\n description:\n 'Fun shirt to wear when work is all finished.... but you still have a side-project...',\n kind: 'layer',\n category: 'tops',\n channels: ['main', 'sub1', 'sub2'],\n assetCid: 'bafkreigifgpwkxvftiuzbjc6c2xz4xf2iv4bznbhu364e7rhvfmhosbak4',\n iconCid: 'bafkreieguco74wkabuyhs4sz6ec35nyywr7ikaw6et4coeezphnsnqqjui',\n enabled: true,\n unlock: [{ kind: 'hasRecord', collection: 'id.sifa.profile.volunteering' }],\n },\n {\n id: 'lab_coat',\n title: 'Lab Coat',\n description: 'Scientifically proven attire',\n kind: 'layer',\n category: 'tops',\n channels: ['main'],\n assetCid: 'bafkreiby4g6fgkmi65myv7tdblgb4jvqa3kgnrxvtkxlrtme55unuie4he',\n iconCid: 'bafkreifoddxk5tobgwadib5rxwjn67iind6me3swpvw4t5rbcauc5r4syy',\n enabled: true,\n unlock: [{ kind: 'hasExternalAccount', platforms: ['orcid'] }],\n },\n];\n","import { RPG_ITEMS, type RpgItem, type RpgUnlock } from './catalog.js';\n\n/**\n * Profile signals the unlock rules are checked against. Callers must pass\n * lowercase platform codes (e.g. 'github', 'orcid') and registry app ids (e.g. 'tangled').\n */\nexport interface RpgUnlockSignals {\n collections: readonly string[];\n externalPlatforms: readonly string[];\n activeAppIds: readonly string[];\n hasDoctorate: boolean;\n}\n\n/** One enabled catalog item and whether the signals earn it. */\nexport interface RpgUnlockResult {\n item: RpgItem;\n earned: boolean;\n}\n\nfunction matches(u: RpgUnlock, s: RpgUnlockSignals): boolean {\n switch (u.kind) {\n case 'hasRecord':\n return s.collections.includes(u.collection);\n case 'hasExternalAccount':\n return u.platforms.some((p) => s.externalPlatforms.includes(p));\n case 'usesApp':\n return s.activeAppIds.includes(u.appId);\n case 'hasDoctorate':\n return s.hasDoctorate;\n }\n}\n\n/** Evaluate every enabled item (ANY matching unlock earns it); disabled items are omitted. */\nexport function evaluateRpgUnlocks(\n signals: RpgUnlockSignals,\n items: readonly RpgItem[] = RPG_ITEMS,\n): RpgUnlockResult[] {\n return items\n .filter((item) => item.enabled)\n .map((item) => ({ item, earned: item.unlock.some((u) => matches(u, signals)) }));\n}\n","/** Base URL of rpg.actor. */\nexport const RPG_ACTOR_URL = 'https://rpg.actor';\n\n/**\n * Record key of the `equipment.rpg.give` Sifa writes for an item. rpg.actor\n * stores the accepted `equipment.rpg.item` under the same key, so this also\n * identifies the item in the player's own account.\n *\n * The DID is used as-is: AT Protocol record keys allow `A-Za-z0-9 . - _ : ~`\n * (https://atproto.com/specs/record-key), so the colons in `did:plc:` are\n * valid. The format is already live in written gift records; do not change it.\n */\nexport function rpgGiveRkey(itemId: string, recipientDid: string): string {\n return `sifa-${itemId}-${recipientDid}`;\n}\n\n/** The player's character page on rpg.actor, where pending gifts can be accepted. */\nexport function rpgActorCharacterUrl(handleOrDid: string): string {\n return `${RPG_ACTOR_URL}/${encodeURIComponent(handleOrDid.replace(/^@+/, ''))}`;\n}\n\n/** Deep link that opens the Wear action for an accepted Sifa item on the character page. */\nexport function rpgActorWearUrl(handleOrDid: string, itemId: string, recipientDid: string): string {\n return `${rpgActorCharacterUrl(handleOrDid)}?wear=${encodeURIComponent(rpgGiveRkey(itemId, recipientDid))}`;\n}\n"]}
|
|
1
|
+
{"version":3,"sources":["../../src/rpg/catalog.ts","../../src/rpg/unlocks.ts","../../src/rpg/avatar.ts","../../src/rpg/links.ts"],"names":["z"],"mappings":";;;;;AAEO,IAAM,eAAA,GAAkBA,KAAA,CAAE,kBAAA,CAAmB,MAAA,EAAQ;AAAA,EAC1DA,MAAE,MAAA,CAAO;AAAA,IACP,IAAA,EAAMA,KAAA,CAAE,OAAA,CAAQ,WAAW,CAAA;AAAA,IAC3B,UAAA,EAAYA,MAAE,IAAA,CAAK;AAAA,MACjB,0BAAA;AAAA,MACA,8BAAA;AAAA,MACA,8BAAA;AAAA,MACA;AAAA,KACD;AAAA,GACF,CAAA;AAAA,EACDA,MAAE,MAAA,CAAO,EAAE,MAAMA,KAAA,CAAE,OAAA,CAAQ,oBAAoB,CAAA,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AA,OAAO,CAAA,CAAE,YAAA;AAAA;AAEf;AAGO,SAAS,kBAAA,CACd,OAAA,EACA,KAAA,GAA4B,SAAA,EACT;AACnB,EAAA,OAAO,KAAA,CACJ,OAAO,CAAC,IAAA,KAAS,KAAK,OAAO,CAAA,CAC7B,GAAA,CAAI,CAAC,IAAA,MAAU,EAAE,MAAM,MAAA,EAAQ,IAAA,CAAK,MAAA,CAAO,IAAA,CAAK,CAAC,CAAA,KAAM,QAAQ,CAAA,EAAG,OAAO,CAAC,CAAA,EAAE,CAAE,CAAA;AACnF;;;AClCO,IAAM,iBAAA,GAAoB;;;ACL1B,IAAM,aAAA,GAAgB;AAWtB,SAAS,WAAA,CAAY,QAAgB,YAAA,EAA8B;AACxE,EAAA,OAAO,CAAA,KAAA,EAAQ,MAAM,CAAA,CAAA,EAAI,YAAY,CAAA,CAAA;AACvC;AAGO,SAAS,qBAAqB,WAAA,EAA6B;AAChE,EAAA,OAAO,CAAA,EAAG,aAAa,CAAA,CAAA,EAAI,kBAAA,CAAmB,YAAY,OAAA,CAAQ,KAAA,EAAO,EAAE,CAAC,CAAC,CAAA,CAAA;AAC/E;AAGO,SAAS,eAAA,CAAgB,WAAA,EAAqB,MAAA,EAAgB,YAAA,EAA8B;AACjG,EAAA,OAAO,CAAA,EAAG,oBAAA,CAAqB,WAAW,CAAC,CAAA,MAAA,EAAS,mBAAmB,WAAA,CAAY,MAAA,EAAQ,YAAY,CAAC,CAAC,CAAA,CAAA;AAC3G","file":"index.cjs","sourcesContent":["import { z } from 'zod';\n\nexport const RpgUnlockSchema = z.discriminatedUnion('kind', [\n z.object({\n kind: z.literal('hasRecord'),\n collection: z.enum([\n 'id.sifa.profile.position',\n 'id.sifa.profile.volunteering',\n 'id.sifa.profile.presentation',\n 'id.sifa.profile.education',\n ]),\n }),\n z.object({ kind: z.literal('hasExternalAccount'), platforms: z.array(z.string()).min(1) }),\n z.object({ kind: z.literal('usesApp'), appId: z.string().min(1) }),\n z.object({ kind: z.literal('hasDoctorate') }),\n]);\n\n/** CIDv1 (raw codec, sha2-256, base32) as used for rpg.actor image blobs. */\nexport const RPG_CID_REGEX = /^bafkrei[a-z2-7]{52}$/;\n\nexport const RpgItemSchema = z.object({\n /** Lowercase `[a-z0-9_]` only: the id is embedded in an AT Protocol record key. */\n id: z\n .string()\n .min(1)\n .max(50)\n .regex(/^[a-z0-9_]+$/),\n title: z.string().max(100),\n description: z.string().max(500),\n kind: z.enum(['layer', 'held', 'overlay']),\n category: z.string().max(30),\n /** rpg.actor channels the item is offered in (optional). */\n channels: z.array(z.string().min(1)).optional(),\n /** Full-size sprite asset (CIDv1, raw codec, base32). */\n assetCid: z.string().regex(RPG_CID_REGEX),\n /** Inventory icon (CIDv1, raw codec, base32). */\n iconCid: z.string().regex(RPG_CID_REGEX),\n unlock: z.array(RpgUnlockSchema).min(1), // ANY of these unlocks the item\n enabled: z.boolean(),\n});\nexport type RpgItem = z.infer<typeof RpgItemSchema>;\nexport type RpgUnlock = z.infer<typeof RpgUnlockSchema>;\n\n/**\n * The Sifa item catalog for rpg.actor. Ids, titles, descriptions, kinds,\n * categories, channels and image CIDs come from rpg.actor's item cores; the\n * weekly drift check compares them and `pnpm rpg:sync-catalog` adopts\n * rpg.actor's changes. `unlock` and `enabled` are ours.\n */\nexport const RPG_ITEMS: readonly RpgItem[] = [\n {\n id: 'leather_briefcase',\n title: 'Leather Briefcase',\n description: 'A trusty briefcase, for your daily commute',\n kind: 'held',\n category: 'righthand',\n channels: ['main'],\n assetCid: 'bafkreibjtgvetkpzwkliq4o4qnf7atbui6nxgyas3fyk6sjgd5zrl52swa',\n iconCid: 'bafkreifmyglopjtbkiuocmcjcbjhtr34vjumkzbnspbnlsezbdphbkfvu4',\n enabled: true,\n unlock: [{ kind: 'hasRecord', collection: 'id.sifa.profile.position' }],\n },\n {\n id: 'sifa_suit',\n title: 'Sifa Suit',\n description: 'Sharp power suit for confirmed professionals',\n kind: 'overlay',\n category: 'costume',\n channels: ['main'],\n assetCid: 'bafkreibortlffvfzkdcuqdpoubczuno7ohnvfwqhefe4h4s36eooe4njgu',\n iconCid: 'bafkreifo7vojbr4i6uvsthj2hbczoqwmrn3ovysrskvxlxw6fvkbswm2ae',\n enabled: false,\n // Reserved for the confirmed tier (a colleague confirms the job and both\n // have a confirmed work email). The unlock kind for that is added once work\n // email confirmation exists; until then the item stays disabled.\n unlock: [{ kind: 'hasRecord', collection: 'id.sifa.profile.position' }],\n },\n {\n id: 'speaker_mic',\n title: 'Speaker Mic',\n description: \"A presentation mic, so you can drop it on 'em\",\n kind: 'held',\n category: 'righthand',\n channels: ['main'],\n assetCid: 'bafkreibr4kgeijc5naecf7l4awfv3omph4ngjmjb36qkfnk2sdo6l45ck4',\n iconCid: 'bafkreidnkirbw4nwiro3ocrn5nk66uxf3dhcoy5pojunisvs7so55u3j3q',\n enabled: true,\n unlock: [{ kind: 'hasRecord', collection: 'id.sifa.profile.presentation' }],\n },\n {\n id: 'strapped_books',\n title: 'Strapped Books',\n description: 'Knowledge is power, better come strapped',\n kind: 'held',\n category: 'righthand',\n channels: ['main'],\n assetCid: 'bafkreieofltl6427jy3n6dfv63phublalv6nq2hcs36qnyxz33ta6u6yqi',\n iconCid: 'bafkreiavywpv4sgw7gnkzq5gw3nq6yihaucdexpsvgko26q6jq6u6grjpi',\n enabled: true,\n unlock: [{ kind: 'hasRecord', collection: 'id.sifa.profile.education' }],\n },\n {\n id: 'dev_hoodie',\n title: 'Dev Hoodie',\n description: 'Snug hoodie for when you enter total code mode',\n kind: 'layer',\n category: 'tops',\n channels: ['main', 'sub1'],\n assetCid: 'bafkreigmrqp5kd6lytqcen2mypuv6dqonrdfbi2ngxhq3uqozk63yi7hoy',\n iconCid: 'bafkreigjwti3w43ta6gy2c75qtdnuvovfohjtv2febbd6hdhpri4tupbem',\n enabled: true,\n unlock: [\n { kind: 'hasExternalAccount', platforms: ['github'] },\n { kind: 'usesApp', appId: 'tangled' },\n ],\n },\n {\n id: 'doctoral_cap',\n title: 'Doctoral Cap',\n description: 'Took so many long years to earn this hat',\n kind: 'layer',\n category: 'headwear',\n channels: ['main'],\n assetCid: 'bafkreic7pvfpb7fjgooiaianrc27mh7fwj5vkicre63l6x5hrzb4w36tcq',\n iconCid: 'bafkreigqt6lmx5crj3w7vc3bvuewarzdreg2doxyeerbxmhljhpeshjewm',\n enabled: true,\n unlock: [{ kind: 'hasDoctorate' }],\n },\n {\n id: 'weekend_shirt',\n title: 'Weekend Shirt',\n description:\n 'Fun shirt to wear when work is all finished.... but you still have a side-project...',\n kind: 'layer',\n category: 'tops',\n channels: ['main', 'sub1', 'sub2'],\n assetCid: 'bafkreigifgpwkxvftiuzbjc6c2xz4xf2iv4bznbhu364e7rhvfmhosbak4',\n iconCid: 'bafkreieguco74wkabuyhs4sz6ec35nyywr7ikaw6et4coeezphnsnqqjui',\n enabled: true,\n unlock: [{ kind: 'hasRecord', collection: 'id.sifa.profile.volunteering' }],\n },\n {\n id: 'lab_coat',\n title: 'Lab Coat',\n description: 'Scientifically proven attire',\n kind: 'layer',\n category: 'tops',\n channels: ['main'],\n assetCid: 'bafkreiby4g6fgkmi65myv7tdblgb4jvqa3kgnrxvtkxlrtme55unuie4he',\n iconCid: 'bafkreifoddxk5tobgwadib5rxwjn67iind6me3swpvw4t5rbcauc5r4syy',\n enabled: true,\n unlock: [{ kind: 'hasExternalAccount', platforms: ['orcid'] }],\n },\n];\n","import { RPG_ITEMS, type RpgItem, type RpgUnlock } from './catalog.js';\n\n/**\n * Profile signals the unlock rules are checked against. Callers must pass\n * lowercase platform codes (e.g. 'github', 'orcid') and registry app ids (e.g. 'tangled').\n */\nexport interface RpgUnlockSignals {\n collections: readonly string[];\n externalPlatforms: readonly string[];\n activeAppIds: readonly string[];\n hasDoctorate: boolean;\n}\n\n/** One enabled catalog item and whether the signals earn it. */\nexport interface RpgUnlockResult {\n item: RpgItem;\n earned: boolean;\n}\n\nfunction matches(u: RpgUnlock, s: RpgUnlockSignals): boolean {\n switch (u.kind) {\n case 'hasRecord':\n return s.collections.includes(u.collection);\n case 'hasExternalAccount':\n return u.platforms.some((p) => s.externalPlatforms.includes(p));\n case 'usesApp':\n return s.activeAppIds.includes(u.appId);\n case 'hasDoctorate':\n return s.hasDoctorate;\n }\n}\n\n/** Evaluate every enabled item (ANY matching unlock earns it); disabled items are omitted. */\nexport function evaluateRpgUnlocks(\n signals: RpgUnlockSignals,\n items: readonly RpgItem[] = RPG_ITEMS,\n): RpgUnlockResult[] {\n return items\n .filter((item) => item.enabled)\n .map((item) => ({ item, earned: item.unlock.some((u) => matches(u, signals)) }));\n}\n","/**\n * The `id.sifa.profile.self` `avatarSource` value for \"use my rpg.actor\n * character as my avatar\". It names the collection of the record that holds\n * the character (`actor.rpg.sprite`, record key `self`), so any app reading\n * the profile knows where to look.\n */\nexport const RPG_AVATAR_SOURCE = 'actor.rpg.sprite';\n","/** Base URL of rpg.actor. */\nexport const RPG_ACTOR_URL = 'https://rpg.actor';\n\n/**\n * Record key of the `equipment.rpg.give` Sifa writes for an item. rpg.actor\n * stores the accepted `equipment.rpg.item` under the same key, so this also\n * identifies the item in the player's own account.\n *\n * The DID is used as-is: AT Protocol record keys allow `A-Za-z0-9 . - _ : ~`\n * (https://atproto.com/specs/record-key), so the colons in `did:plc:` are\n * valid. The format is already live in written gift records; do not change it.\n */\nexport function rpgGiveRkey(itemId: string, recipientDid: string): string {\n return `sifa-${itemId}-${recipientDid}`;\n}\n\n/** The player's character page on rpg.actor, where pending gifts can be accepted. */\nexport function rpgActorCharacterUrl(handleOrDid: string): string {\n return `${RPG_ACTOR_URL}/${encodeURIComponent(handleOrDid.replace(/^@+/, ''))}`;\n}\n\n/** Deep link that opens the Wear action for an accepted Sifa item on the character page. */\nexport function rpgActorWearUrl(handleOrDid: string, itemId: string, recipientDid: string): string {\n return `${rpgActorCharacterUrl(handleOrDid)}?wear=${encodeURIComponent(rpgGiveRkey(itemId, recipientDid))}`;\n}\n"]}
|
package/dist/rpg/index.d.cts
CHANGED
|
@@ -77,6 +77,14 @@ interface RpgUnlockResult {
|
|
|
77
77
|
/** Evaluate every enabled item (ANY matching unlock earns it); disabled items are omitted. */
|
|
78
78
|
declare function evaluateRpgUnlocks(signals: RpgUnlockSignals, items?: readonly RpgItem[]): RpgUnlockResult[];
|
|
79
79
|
|
|
80
|
+
/**
|
|
81
|
+
* The `id.sifa.profile.self` `avatarSource` value for "use my rpg.actor
|
|
82
|
+
* character as my avatar". It names the collection of the record that holds
|
|
83
|
+
* the character (`actor.rpg.sprite`, record key `self`), so any app reading
|
|
84
|
+
* the profile knows where to look.
|
|
85
|
+
*/
|
|
86
|
+
declare const RPG_AVATAR_SOURCE = "actor.rpg.sprite";
|
|
87
|
+
|
|
80
88
|
/** Base URL of rpg.actor. */
|
|
81
89
|
declare const RPG_ACTOR_URL = "https://rpg.actor";
|
|
82
90
|
/**
|
|
@@ -94,4 +102,4 @@ declare function rpgActorCharacterUrl(handleOrDid: string): string;
|
|
|
94
102
|
/** Deep link that opens the Wear action for an accepted Sifa item on the character page. */
|
|
95
103
|
declare function rpgActorWearUrl(handleOrDid: string, itemId: string, recipientDid: string): string;
|
|
96
104
|
|
|
97
|
-
export { RPG_ACTOR_URL, RPG_ITEMS, type RpgItem, RpgItemSchema, type RpgUnlock, type RpgUnlockResult, RpgUnlockSchema, type RpgUnlockSignals, evaluateRpgUnlocks, rpgActorCharacterUrl, rpgActorWearUrl, rpgGiveRkey };
|
|
105
|
+
export { RPG_ACTOR_URL, RPG_AVATAR_SOURCE, RPG_ITEMS, type RpgItem, RpgItemSchema, type RpgUnlock, type RpgUnlockResult, RpgUnlockSchema, type RpgUnlockSignals, evaluateRpgUnlocks, rpgActorCharacterUrl, rpgActorWearUrl, rpgGiveRkey };
|
package/dist/rpg/index.d.ts
CHANGED
|
@@ -77,6 +77,14 @@ interface RpgUnlockResult {
|
|
|
77
77
|
/** Evaluate every enabled item (ANY matching unlock earns it); disabled items are omitted. */
|
|
78
78
|
declare function evaluateRpgUnlocks(signals: RpgUnlockSignals, items?: readonly RpgItem[]): RpgUnlockResult[];
|
|
79
79
|
|
|
80
|
+
/**
|
|
81
|
+
* The `id.sifa.profile.self` `avatarSource` value for "use my rpg.actor
|
|
82
|
+
* character as my avatar". It names the collection of the record that holds
|
|
83
|
+
* the character (`actor.rpg.sprite`, record key `self`), so any app reading
|
|
84
|
+
* the profile knows where to look.
|
|
85
|
+
*/
|
|
86
|
+
declare const RPG_AVATAR_SOURCE = "actor.rpg.sprite";
|
|
87
|
+
|
|
80
88
|
/** Base URL of rpg.actor. */
|
|
81
89
|
declare const RPG_ACTOR_URL = "https://rpg.actor";
|
|
82
90
|
/**
|
|
@@ -94,4 +102,4 @@ declare function rpgActorCharacterUrl(handleOrDid: string): string;
|
|
|
94
102
|
/** Deep link that opens the Wear action for an accepted Sifa item on the character page. */
|
|
95
103
|
declare function rpgActorWearUrl(handleOrDid: string, itemId: string, recipientDid: string): string;
|
|
96
104
|
|
|
97
|
-
export { RPG_ACTOR_URL, RPG_ITEMS, type RpgItem, RpgItemSchema, type RpgUnlock, type RpgUnlockResult, RpgUnlockSchema, type RpgUnlockSignals, evaluateRpgUnlocks, rpgActorCharacterUrl, rpgActorWearUrl, rpgGiveRkey };
|
|
105
|
+
export { RPG_ACTOR_URL, RPG_AVATAR_SOURCE, RPG_ITEMS, type RpgItem, RpgItemSchema, type RpgUnlock, type RpgUnlockResult, RpgUnlockSchema, type RpgUnlockSignals, evaluateRpgUnlocks, rpgActorCharacterUrl, rpgActorWearUrl, rpgGiveRkey };
|