@singi-labs/sifa-sdk 0.12.27 → 0.12.28
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-M_BYlvDY.d.ts → index-B6GHpvcg.d.ts} +25 -2
- package/dist/{index-Bz0xL4us.d.cts → index-ZXWW6RsR.d.cts} +1 -1
- package/dist/{index-4SE7Z9SK.d.cts → index-ipyzSVry.d.cts} +25 -2
- package/dist/{index-BpEeBgRr.d.ts → index-wMuFhu7d.d.ts} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/{org-CQMDMN58.d.ts → org-CLRdUB1W.d.ts} +56 -1
- package/dist/{org-DVIvsT_0.d.cts → org-Dme1VvNa.d.cts} +56 -1
- package/dist/query/fetchers/index.cjs +41 -0
- package/dist/query/fetchers/index.cjs.map +1 -1
- package/dist/query/fetchers/index.d.cts +2 -2
- package/dist/query/fetchers/index.d.ts +2 -2
- package/dist/query/fetchers/index.js +41 -1
- package/dist/query/fetchers/index.js.map +1 -1
- package/dist/query/hooks/index.cjs +51 -0
- package/dist/query/hooks/index.cjs.map +1 -1
- package/dist/query/hooks/index.d.cts +2 -2
- package/dist/query/hooks/index.d.ts +2 -2
- package/dist/query/hooks/index.js +51 -1
- package/dist/query/hooks/index.js.map +1 -1
- package/dist/query/index.cjs +50 -0
- package/dist/query/index.cjs.map +1 -1
- package/dist/query/index.d.cts +4 -4
- package/dist/query/index.d.ts +4 -4
- package/dist/query/index.js +49 -1
- package/dist/query/index.js.map +1 -1
- package/package.json +1 -1
package/dist/query/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { S as SifaApiConfig, A as ApiFetchOptions, W as WriteResult, s as sifaQueryKeys } from '../org-
|
|
2
|
-
export { a as AccountCheckResult, b as ActivityFeedResponse, c as ActivityItem, d as ActivityItemLinkHealth, e as ActivityTeaserResponse, f as ApiError, g as AppRegistryEntry, B as BulkHideProfileItemInput, C as CastRoadmapVoteResult, h as CheckAppAccountOptions, i as CreateExternalAccountResult, j as CreateResult, D as DeleteAccountResult, E as EndorsementInput, k as ExternalAccountInput, F as FeatureAllowlistResponse, l as FeaturedProfile, m as FetchActivityFeedOptions, n as FetchActivityTeaserOptions, o as FetchFollowListOptions, p as FetchFollowProfilePageOptions, q as FetchFollowingFeedOptions, r as FetchHiddenAppsOptions, t as
|
|
3
|
-
export { A as AddFeatureAllowlistVariables, C as CreateReactionVariables, a as CreateRecordVariables, D as DeleteReactionVariables, b as DeleteRecordVariables, F as FollowVariables, P as PositionSkillLinkVariables, R as RemoveFeatureAllowlistVariables, S as SifaProvider, c as SifaProviderProps, U as UnfollowVariables, d as UpdateEducationVariables, e as UpdateExternalAccountVariables, f as UpdatePositionVariables, g as UpdateProfileLocationVariables, h as UpdateRecordVariables, i as UpdateSkillVariables, j as UseEntitySearchOptions, u as useActivityFeed,
|
|
4
|
-
export { F as FetchNetworkStreamCountOptions, N as NetworkMapEdge, a as NetworkMapGenerationJob, b as NetworkMapGraphData, c as NetworkMapNode, d as NetworkMapPendingJob, e as NetworkMapResponse, f as checkNetworkMapJobStatus, g as createEducation, h as createPosition, i as createRecord, j as createSkill, k as deleteEducation, l as deletePosition, m as deleteRecord, n as deleteSkill, o as fetchAtFundLink, p as fetchEndorsementCount, q as fetchEntitySearch, r as fetchGetProfileView, s as fetchNetworkMap, t as fetchNetworkStreamCount, u as fetchProfile, v as fetchProfileSummary, w as hideKeytraceClaim, x as importSearchEntities, y as initiateNetworkMapGeneration, z as isNetworkMapResponse, A as linkSkillToPosition, B as mintEntityDomain, C as resolveEntityDomain, D as revealMarqueDomain, E as selectEntity, G as setPositionPrimary, H as unhideKeytraceClaim, I as unlinkSkillFromPosition, J as unrevealMarqueDomain, K as unsetPositionPrimary, L as updateEducation, M as updatePosition, O as updateRecord, P as updateSkill } from '../index-
|
|
1
|
+
import { S as SifaApiConfig, A as ApiFetchOptions, W as WriteResult, s as sifaQueryKeys } from '../org-Dme1VvNa.cjs';
|
|
2
|
+
export { a as AccountCheckResult, b as ActivityFeedResponse, c as ActivityItem, d as ActivityItemLinkHealth, e as ActivityTeaserResponse, f as ApiError, g as AppRegistryEntry, B as BulkHideProfileItemInput, C as CastRoadmapVoteResult, h as CheckAppAccountOptions, i as CreateExternalAccountResult, j as CreateResult, D as DeleteAccountResult, E as EndorsementInput, k as ExternalAccountInput, F as FeatureAllowlistResponse, l as FeaturedProfile, m as FetchActivityFeedOptions, n as FetchActivityTeaserOptions, o as FetchFollowListOptions, p as FetchFollowProfilePageOptions, q as FetchFollowingFeedOptions, r as FetchHiddenAppsOptions, t as FetchMyGithubPullRequestsOptions, u as FetchMyRoadmapVotesOptions, v as FetchReactionStatusOptions, w as FetchSuggestionsOptions, x as FilterOptions, y as FollowListPage, z as FollowProfile, G as FollowProfilePageResponse, H as FollowUserResult, I as FollowingResponse, J as GithubPullRequest, K as HIDDEN_ITEM_SOURCES, L as HIDDEN_ITEM_TYPES, M as HeatmapDay, N as HeatmapResponse, O as HiddenApp, P as HiddenItemSource, Q as HiddenItemType, R as HideProfileItemInput, T as ListFeatureAllowlistOptions, U as MyGithubPullRequestsResponse, V as OrgClaimBinding, X as OrgClaimResult, Y as OrgDomainChallengeResult, Z as OrgDomainVerifyResult, _ as OrgNotificationEmailAddResult, $ as OrgNotificationEmailRemoveResult, a0 as OrgProfileEcho, a1 as OrgProfileUpdateResult, a2 as PdsWipeOutcome, a3 as ProfileIndustryInput, a4 as ProfileLocationAddress, a5 as ProfileLocationInput, a6 as ProfileSearchResult, a7 as ProfileSelfLocation, a8 as QUOTED_POSTS_BATCH_MAX, a9 as QuotedPostAuthor, aa as QuotedPostImage, ab as QuotedPostResult, ac as QuotedPostView, ad as ReactionError, ae as ReactionResult, af as ReactionStatus, ag as RefreshOrcidPublicationsResult, ah as RefreshPdsResult, ai as ResetProfileResult, aj as ResolveQuotedPostsOptions, ak as RoadmapVoteError, al as RoadmapVoteResult, am as RoadmapVoter, an as RoadmapVotesResponse, ao as SearchFilters, ap as SearchResponse, aq as SifaQueryKey, ar as SimilarProfile, as as SkillSearchResult, at as StatsResponse, au as SuggestionProfile, av as SuggestionsResponse, aw as UpdateProfileOverrideInput, ax as UpdateProfileSelfInput, ay as UploadAvatarResult, az as VerifyExternalAccountResult, aA as addFeatureAllowlist, aB as addOrgNotificationEmail, aC as apiFetch, aD as apiFetchOrNull, aE as apiWrite, aF as apiWriteCreate, aG as bulkHideProfileItems, aH as bulkHideStandardPublications, aI as bulkUnhideProfileItems, aJ as bulkUnhideStandardPublications, aK as castRoadmapVote, aL as checkAppAccount, aM as createEndorsement, aN as createExternalAccount, aO as createProfileLocation, aP as createReaction, aQ as deleteAccount, aR as deleteAvatarOverride, aS as deleteExternalAccount, aT as deleteProfileLocation, aU as deleteReaction, aV as fetchActivityFeed, aW as fetchActivityTeaser, aX as fetchAppsRegistry, aY as fetchExternalAccounts, aZ as fetchFeaturedProfile, a_ as fetchFollowing, a$ as fetchHeatmapData, b0 as fetchHiddenApps, b1 as fetchMyGithubPullRequests, b2 as fetchMyRoadmapVotes, b3 as fetchReactionStatus, b4 as fetchRoadmapVotes, b5 as fetchSearchFilters, b6 as fetchSearchProfiles, b7 as fetchSimilarProfiles, b8 as fetchSkillSuggestions, b9 as fetchStats, ba as fetchSuggestionCount, bb as fetchSuggestions, bc as followUser, bd as getBlueskySuggestions, be as getFollowers, bf as getFollowing, bg as getFollowingFeed, bh as getMutuals, bi as hideOrcidPublication, bj as hideProfileItem, bk as hideSifaPublication, bl as hideStandardPublication, bm as listFeatureAllowlist, bn as refreshOrcidPublications, bo as refreshPds, bp as removeFeatureAllowlist, bq as removeOrgNotificationEmail, br as requestOrgDomainChallenge, bs as resetProfile, bt as resolveQuotedPosts, bu as retractRoadmapVote, bv as searchSkills, bw as setExternalAccountPrimary, bx as submitOrgClaim, by as unfollowUser, bz as unhideOrcidPublication, bA as unhideProfileItem, bB as unhideSifaPublication, bC as unhideStandardPublication, bD as unsetExternalAccountPrimary, bE as updateExternalAccount, bF as updateOrgProfile, bG as updateProfileLocation, bH as updateProfileOverride, bI as updateProfileSelf, bJ as uploadAvatar, bK as verifyExternalAccount, bL as verifyOrgDomain } from '../org-Dme1VvNa.cjs';
|
|
3
|
+
export { A as AddFeatureAllowlistVariables, C as CreateReactionVariables, a as CreateRecordVariables, D as DeleteReactionVariables, b as DeleteRecordVariables, F as FollowVariables, P as PositionSkillLinkVariables, R as RemoveFeatureAllowlistVariables, S as SifaProvider, c as SifaProviderProps, U as UnfollowVariables, d as UpdateEducationVariables, e as UpdateExternalAccountVariables, f as UpdatePositionVariables, g as UpdateProfileLocationVariables, h as UpdateRecordVariables, i as UpdateSkillVariables, j as UseEntitySearchOptions, k as UseMyGithubPullRequestsParams, u as useActivityFeed, l as useActivityTeaser, m as useAddFeatureAllowlist, n as useAddOrgNotificationEmail, o as useAppAccountCheck, p as useAppsRegistry, q as useAtFundLink, r as useBlueskySuggestions, s as useBulkHideProfileItems, t as useBulkHideStandardPublications, v as useBulkUnhideProfileItems, w as useBulkUnhideStandardPublications, x as useCanonicalSkillSearch, y as useCastRoadmapVote, z as useCreateEducation, B as useCreateEndorsement, E as useCreateExternalAccount, G as useCreatePosition, H as useCreateProfileLocation, I as useCreateReaction, J as useCreateRecord, K as useCreateSkill, L as useDebouncedValue, M as useDeleteAccount, N as useDeleteAvatarOverride, O as useDeleteEducation, Q as useDeleteExternalAccount, T as useDeletePosition, V as useDeleteProfileLocation, W as useDeleteReaction, X as useDeleteRecord, Y as useDeleteSkill, Z as useEndorsementCount, _ as useEntitySearch, $ as useExternalAccounts, a0 as useFeatureAllowlist, a1 as useFeaturedProfile, a2 as useFollow, a3 as useFollowers, a4 as useFollowing, a5 as useFollowingFeed, a6 as useFollowingList, a7 as useGetProfileView, a8 as useHeatmapData, a9 as useHiddenApps, aa as useHideKeytraceClaim, ab as useHideOrcidPublication, ac as useHideProfileItem, ad as useHideSifaPublication, ae as useHideStandardPublication, af as useImportSearchEntities, ag as useLinkSkillToPosition, ah as useMintEntityDomain, ai as useMutuals, aj as useMyGithubPullRequests, ak as useMyRoadmapVotes, al as useNetworkStreamCount, am as useOrgClaim, an as useOrgDomainChallenge, ao as useOrgDomainVerify, ap as useOrgProfile, aq as useProfile, ar as useReactionStatus, as as useRefreshOrcidPublications, at as useRefreshPds, au as useRemoveFeatureAllowlist, av as useRemoveOrgNotificationEmail, aw as useResetProfile, ax as useResolveEntityDomain, ay as useRetractRoadmapVote, az as useRevealMarqueDomain, aA as useRoadmapVotes, aB as useSearchFilters, aC as useSearchProfiles, aD as useSelectEntity, aE as useSetExternalAccountPrimary, aF as useSetPositionPrimary, aG as useSifaConfig, aH as useSimilarProfiles, aI as useSkillSuggestions, aJ as useStats, aK as useSuggestionCount, aL as useSuggestions, aM as useUnfollow, aN as useUnhideKeytraceClaim, aO as useUnhideOrcidPublication, aP as useUnhideProfileItem, aQ as useUnhideSifaPublication, aR as useUnhideStandardPublication, aS as useUnlinkSkillFromPosition, aT as useUnrevealMarqueDomain, aU as useUnsetExternalAccountPrimary, aV as useUnsetPositionPrimary, aW as useUpdateEducation, aX as useUpdateExternalAccount, aY as useUpdateOrgProfile, aZ as useUpdatePosition, a_ as useUpdateProfileLocation, a$ as useUpdateProfileOverride, b0 as useUpdateProfileSelf, b1 as useUpdateRecord, b2 as useUpdateSkill, b3 as useUploadAvatar, b4 as useVerifyExternalAccount } from '../index-ipyzSVry.cjs';
|
|
4
|
+
export { F as FetchNetworkStreamCountOptions, N as NetworkMapEdge, a as NetworkMapGenerationJob, b as NetworkMapGraphData, c as NetworkMapNode, d as NetworkMapPendingJob, e as NetworkMapResponse, f as checkNetworkMapJobStatus, g as createEducation, h as createPosition, i as createRecord, j as createSkill, k as deleteEducation, l as deletePosition, m as deleteRecord, n as deleteSkill, o as fetchAtFundLink, p as fetchEndorsementCount, q as fetchEntitySearch, r as fetchGetProfileView, s as fetchNetworkMap, t as fetchNetworkStreamCount, u as fetchProfile, v as fetchProfileSummary, w as hideKeytraceClaim, x as importSearchEntities, y as initiateNetworkMapGeneration, z as isNetworkMapResponse, A as linkSkillToPosition, B as mintEntityDomain, C as resolveEntityDomain, D as revealMarqueDomain, E as selectEntity, G as setPositionPrimary, H as unhideKeytraceClaim, I as unlinkSkillFromPosition, J as unrevealMarqueDomain, K as unsetPositionPrimary, L as updateEducation, M as updatePosition, O as updateRecord, P as updateSkill } from '../index-ZXWW6RsR.cjs';
|
|
5
5
|
import { C as CoSpeaker, A as AdultContentLabel } from '../adult-content-DdY7S5nN.cjs';
|
|
6
6
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
7
7
|
import { UseQueryOptions } from '@tanstack/react-query';
|
package/dist/query/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { S as SifaApiConfig, A as ApiFetchOptions, W as WriteResult, s as sifaQueryKeys } from '../org-
|
|
2
|
-
export { a as AccountCheckResult, b as ActivityFeedResponse, c as ActivityItem, d as ActivityItemLinkHealth, e as ActivityTeaserResponse, f as ApiError, g as AppRegistryEntry, B as BulkHideProfileItemInput, C as CastRoadmapVoteResult, h as CheckAppAccountOptions, i as CreateExternalAccountResult, j as CreateResult, D as DeleteAccountResult, E as EndorsementInput, k as ExternalAccountInput, F as FeatureAllowlistResponse, l as FeaturedProfile, m as FetchActivityFeedOptions, n as FetchActivityTeaserOptions, o as FetchFollowListOptions, p as FetchFollowProfilePageOptions, q as FetchFollowingFeedOptions, r as FetchHiddenAppsOptions, t as
|
|
3
|
-
export { A as AddFeatureAllowlistVariables, C as CreateReactionVariables, a as CreateRecordVariables, D as DeleteReactionVariables, b as DeleteRecordVariables, F as FollowVariables, P as PositionSkillLinkVariables, R as RemoveFeatureAllowlistVariables, S as SifaProvider, c as SifaProviderProps, U as UnfollowVariables, d as UpdateEducationVariables, e as UpdateExternalAccountVariables, f as UpdatePositionVariables, g as UpdateProfileLocationVariables, h as UpdateRecordVariables, i as UpdateSkillVariables, j as UseEntitySearchOptions, u as useActivityFeed,
|
|
4
|
-
export { F as FetchNetworkStreamCountOptions, N as NetworkMapEdge, a as NetworkMapGenerationJob, b as NetworkMapGraphData, c as NetworkMapNode, d as NetworkMapPendingJob, e as NetworkMapResponse, f as checkNetworkMapJobStatus, g as createEducation, h as createPosition, i as createRecord, j as createSkill, k as deleteEducation, l as deletePosition, m as deleteRecord, n as deleteSkill, o as fetchAtFundLink, p as fetchEndorsementCount, q as fetchEntitySearch, r as fetchGetProfileView, s as fetchNetworkMap, t as fetchNetworkStreamCount, u as fetchProfile, v as fetchProfileSummary, w as hideKeytraceClaim, x as importSearchEntities, y as initiateNetworkMapGeneration, z as isNetworkMapResponse, A as linkSkillToPosition, B as mintEntityDomain, C as resolveEntityDomain, D as revealMarqueDomain, E as selectEntity, G as setPositionPrimary, H as unhideKeytraceClaim, I as unlinkSkillFromPosition, J as unrevealMarqueDomain, K as unsetPositionPrimary, L as updateEducation, M as updatePosition, O as updateRecord, P as updateSkill } from '../index-
|
|
1
|
+
import { S as SifaApiConfig, A as ApiFetchOptions, W as WriteResult, s as sifaQueryKeys } from '../org-CLRdUB1W.js';
|
|
2
|
+
export { a as AccountCheckResult, b as ActivityFeedResponse, c as ActivityItem, d as ActivityItemLinkHealth, e as ActivityTeaserResponse, f as ApiError, g as AppRegistryEntry, B as BulkHideProfileItemInput, C as CastRoadmapVoteResult, h as CheckAppAccountOptions, i as CreateExternalAccountResult, j as CreateResult, D as DeleteAccountResult, E as EndorsementInput, k as ExternalAccountInput, F as FeatureAllowlistResponse, l as FeaturedProfile, m as FetchActivityFeedOptions, n as FetchActivityTeaserOptions, o as FetchFollowListOptions, p as FetchFollowProfilePageOptions, q as FetchFollowingFeedOptions, r as FetchHiddenAppsOptions, t as FetchMyGithubPullRequestsOptions, u as FetchMyRoadmapVotesOptions, v as FetchReactionStatusOptions, w as FetchSuggestionsOptions, x as FilterOptions, y as FollowListPage, z as FollowProfile, G as FollowProfilePageResponse, H as FollowUserResult, I as FollowingResponse, J as GithubPullRequest, K as HIDDEN_ITEM_SOURCES, L as HIDDEN_ITEM_TYPES, M as HeatmapDay, N as HeatmapResponse, O as HiddenApp, P as HiddenItemSource, Q as HiddenItemType, R as HideProfileItemInput, T as ListFeatureAllowlistOptions, U as MyGithubPullRequestsResponse, V as OrgClaimBinding, X as OrgClaimResult, Y as OrgDomainChallengeResult, Z as OrgDomainVerifyResult, _ as OrgNotificationEmailAddResult, $ as OrgNotificationEmailRemoveResult, a0 as OrgProfileEcho, a1 as OrgProfileUpdateResult, a2 as PdsWipeOutcome, a3 as ProfileIndustryInput, a4 as ProfileLocationAddress, a5 as ProfileLocationInput, a6 as ProfileSearchResult, a7 as ProfileSelfLocation, a8 as QUOTED_POSTS_BATCH_MAX, a9 as QuotedPostAuthor, aa as QuotedPostImage, ab as QuotedPostResult, ac as QuotedPostView, ad as ReactionError, ae as ReactionResult, af as ReactionStatus, ag as RefreshOrcidPublicationsResult, ah as RefreshPdsResult, ai as ResetProfileResult, aj as ResolveQuotedPostsOptions, ak as RoadmapVoteError, al as RoadmapVoteResult, am as RoadmapVoter, an as RoadmapVotesResponse, ao as SearchFilters, ap as SearchResponse, aq as SifaQueryKey, ar as SimilarProfile, as as SkillSearchResult, at as StatsResponse, au as SuggestionProfile, av as SuggestionsResponse, aw as UpdateProfileOverrideInput, ax as UpdateProfileSelfInput, ay as UploadAvatarResult, az as VerifyExternalAccountResult, aA as addFeatureAllowlist, aB as addOrgNotificationEmail, aC as apiFetch, aD as apiFetchOrNull, aE as apiWrite, aF as apiWriteCreate, aG as bulkHideProfileItems, aH as bulkHideStandardPublications, aI as bulkUnhideProfileItems, aJ as bulkUnhideStandardPublications, aK as castRoadmapVote, aL as checkAppAccount, aM as createEndorsement, aN as createExternalAccount, aO as createProfileLocation, aP as createReaction, aQ as deleteAccount, aR as deleteAvatarOverride, aS as deleteExternalAccount, aT as deleteProfileLocation, aU as deleteReaction, aV as fetchActivityFeed, aW as fetchActivityTeaser, aX as fetchAppsRegistry, aY as fetchExternalAccounts, aZ as fetchFeaturedProfile, a_ as fetchFollowing, a$ as fetchHeatmapData, b0 as fetchHiddenApps, b1 as fetchMyGithubPullRequests, b2 as fetchMyRoadmapVotes, b3 as fetchReactionStatus, b4 as fetchRoadmapVotes, b5 as fetchSearchFilters, b6 as fetchSearchProfiles, b7 as fetchSimilarProfiles, b8 as fetchSkillSuggestions, b9 as fetchStats, ba as fetchSuggestionCount, bb as fetchSuggestions, bc as followUser, bd as getBlueskySuggestions, be as getFollowers, bf as getFollowing, bg as getFollowingFeed, bh as getMutuals, bi as hideOrcidPublication, bj as hideProfileItem, bk as hideSifaPublication, bl as hideStandardPublication, bm as listFeatureAllowlist, bn as refreshOrcidPublications, bo as refreshPds, bp as removeFeatureAllowlist, bq as removeOrgNotificationEmail, br as requestOrgDomainChallenge, bs as resetProfile, bt as resolveQuotedPosts, bu as retractRoadmapVote, bv as searchSkills, bw as setExternalAccountPrimary, bx as submitOrgClaim, by as unfollowUser, bz as unhideOrcidPublication, bA as unhideProfileItem, bB as unhideSifaPublication, bC as unhideStandardPublication, bD as unsetExternalAccountPrimary, bE as updateExternalAccount, bF as updateOrgProfile, bG as updateProfileLocation, bH as updateProfileOverride, bI as updateProfileSelf, bJ as uploadAvatar, bK as verifyExternalAccount, bL as verifyOrgDomain } from '../org-CLRdUB1W.js';
|
|
3
|
+
export { A as AddFeatureAllowlistVariables, C as CreateReactionVariables, a as CreateRecordVariables, D as DeleteReactionVariables, b as DeleteRecordVariables, F as FollowVariables, P as PositionSkillLinkVariables, R as RemoveFeatureAllowlistVariables, S as SifaProvider, c as SifaProviderProps, U as UnfollowVariables, d as UpdateEducationVariables, e as UpdateExternalAccountVariables, f as UpdatePositionVariables, g as UpdateProfileLocationVariables, h as UpdateRecordVariables, i as UpdateSkillVariables, j as UseEntitySearchOptions, k as UseMyGithubPullRequestsParams, u as useActivityFeed, l as useActivityTeaser, m as useAddFeatureAllowlist, n as useAddOrgNotificationEmail, o as useAppAccountCheck, p as useAppsRegistry, q as useAtFundLink, r as useBlueskySuggestions, s as useBulkHideProfileItems, t as useBulkHideStandardPublications, v as useBulkUnhideProfileItems, w as useBulkUnhideStandardPublications, x as useCanonicalSkillSearch, y as useCastRoadmapVote, z as useCreateEducation, B as useCreateEndorsement, E as useCreateExternalAccount, G as useCreatePosition, H as useCreateProfileLocation, I as useCreateReaction, J as useCreateRecord, K as useCreateSkill, L as useDebouncedValue, M as useDeleteAccount, N as useDeleteAvatarOverride, O as useDeleteEducation, Q as useDeleteExternalAccount, T as useDeletePosition, V as useDeleteProfileLocation, W as useDeleteReaction, X as useDeleteRecord, Y as useDeleteSkill, Z as useEndorsementCount, _ as useEntitySearch, $ as useExternalAccounts, a0 as useFeatureAllowlist, a1 as useFeaturedProfile, a2 as useFollow, a3 as useFollowers, a4 as useFollowing, a5 as useFollowingFeed, a6 as useFollowingList, a7 as useGetProfileView, a8 as useHeatmapData, a9 as useHiddenApps, aa as useHideKeytraceClaim, ab as useHideOrcidPublication, ac as useHideProfileItem, ad as useHideSifaPublication, ae as useHideStandardPublication, af as useImportSearchEntities, ag as useLinkSkillToPosition, ah as useMintEntityDomain, ai as useMutuals, aj as useMyGithubPullRequests, ak as useMyRoadmapVotes, al as useNetworkStreamCount, am as useOrgClaim, an as useOrgDomainChallenge, ao as useOrgDomainVerify, ap as useOrgProfile, aq as useProfile, ar as useReactionStatus, as as useRefreshOrcidPublications, at as useRefreshPds, au as useRemoveFeatureAllowlist, av as useRemoveOrgNotificationEmail, aw as useResetProfile, ax as useResolveEntityDomain, ay as useRetractRoadmapVote, az as useRevealMarqueDomain, aA as useRoadmapVotes, aB as useSearchFilters, aC as useSearchProfiles, aD as useSelectEntity, aE as useSetExternalAccountPrimary, aF as useSetPositionPrimary, aG as useSifaConfig, aH as useSimilarProfiles, aI as useSkillSuggestions, aJ as useStats, aK as useSuggestionCount, aL as useSuggestions, aM as useUnfollow, aN as useUnhideKeytraceClaim, aO as useUnhideOrcidPublication, aP as useUnhideProfileItem, aQ as useUnhideSifaPublication, aR as useUnhideStandardPublication, aS as useUnlinkSkillFromPosition, aT as useUnrevealMarqueDomain, aU as useUnsetExternalAccountPrimary, aV as useUnsetPositionPrimary, aW as useUpdateEducation, aX as useUpdateExternalAccount, aY as useUpdateOrgProfile, aZ as useUpdatePosition, a_ as useUpdateProfileLocation, a$ as useUpdateProfileOverride, b0 as useUpdateProfileSelf, b1 as useUpdateRecord, b2 as useUpdateSkill, b3 as useUploadAvatar, b4 as useVerifyExternalAccount } from '../index-B6GHpvcg.js';
|
|
4
|
+
export { F as FetchNetworkStreamCountOptions, N as NetworkMapEdge, a as NetworkMapGenerationJob, b as NetworkMapGraphData, c as NetworkMapNode, d as NetworkMapPendingJob, e as NetworkMapResponse, f as checkNetworkMapJobStatus, g as createEducation, h as createPosition, i as createRecord, j as createSkill, k as deleteEducation, l as deletePosition, m as deleteRecord, n as deleteSkill, o as fetchAtFundLink, p as fetchEndorsementCount, q as fetchEntitySearch, r as fetchGetProfileView, s as fetchNetworkMap, t as fetchNetworkStreamCount, u as fetchProfile, v as fetchProfileSummary, w as hideKeytraceClaim, x as importSearchEntities, y as initiateNetworkMapGeneration, z as isNetworkMapResponse, A as linkSkillToPosition, B as mintEntityDomain, C as resolveEntityDomain, D as revealMarqueDomain, E as selectEntity, G as setPositionPrimary, H as unhideKeytraceClaim, I as unlinkSkillFromPosition, J as unrevealMarqueDomain, K as unsetPositionPrimary, L as updateEducation, M as updatePosition, O as updateRecord, P as updateSkill } from '../index-wMuFhu7d.js';
|
|
5
5
|
import { C as CoSpeaker, A as AdultContentLabel } from '../adult-content-DdY7S5nN.js';
|
|
6
6
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
7
7
|
import { UseQueryOptions } from '@tanstack/react-query';
|
package/dist/query/index.js
CHANGED
|
@@ -1020,6 +1020,42 @@ async function fetchActivityFeed(config, handleOrDid, options = {}) {
|
|
|
1020
1020
|
return null;
|
|
1021
1021
|
}
|
|
1022
1022
|
}
|
|
1023
|
+
var GithubPullRequestSchema = z.object({
|
|
1024
|
+
prNumber: z.number(),
|
|
1025
|
+
repoOwner: z.string(),
|
|
1026
|
+
repoName: z.string(),
|
|
1027
|
+
title: z.string(),
|
|
1028
|
+
url: z.string(),
|
|
1029
|
+
language: z.string().nullable(),
|
|
1030
|
+
additions: z.number(),
|
|
1031
|
+
deletions: z.number(),
|
|
1032
|
+
/** ISO 8601 merge timestamp. */
|
|
1033
|
+
mergedAt: z.string()
|
|
1034
|
+
});
|
|
1035
|
+
var MyGithubPullRequestsResponseSchema = z.object({
|
|
1036
|
+
items: z.array(GithubPullRequestSchema),
|
|
1037
|
+
hasMore: z.boolean()
|
|
1038
|
+
});
|
|
1039
|
+
async function fetchMyGithubPullRequests(config, options = {}) {
|
|
1040
|
+
const { limit, offset, cookieHeader, ...fetchOptions } = options;
|
|
1041
|
+
const params = new URLSearchParams();
|
|
1042
|
+
if (limit !== void 0) params.set("limit", String(limit));
|
|
1043
|
+
if (offset !== void 0) params.set("offset", String(offset));
|
|
1044
|
+
const qs = params.toString();
|
|
1045
|
+
const headers = { ...options.headers ?? {} };
|
|
1046
|
+
if (cookieHeader) headers.cookie = cookieHeader;
|
|
1047
|
+
const data = await apiFetch(
|
|
1048
|
+
config,
|
|
1049
|
+
`/api/me/github/pull-requests${qs ? `?${qs}` : ""}`,
|
|
1050
|
+
{
|
|
1051
|
+
credentials: "include",
|
|
1052
|
+
cache: "no-store",
|
|
1053
|
+
...fetchOptions,
|
|
1054
|
+
headers
|
|
1055
|
+
}
|
|
1056
|
+
);
|
|
1057
|
+
return MyGithubPullRequestsResponseSchema.parse(data);
|
|
1058
|
+
}
|
|
1023
1059
|
|
|
1024
1060
|
// src/query/fetchers/endorsement.ts
|
|
1025
1061
|
async function fetchEndorsementCount(config, did, options = {}) {
|
|
@@ -1344,6 +1380,10 @@ var sifaQueryKeys = {
|
|
|
1344
1380
|
teaser: (handleOrDid) => ["sifa", "activity", "teaser", handleOrDid],
|
|
1345
1381
|
feed: (handleOrDid, opts) => ["sifa", "activity", "feed", handleOrDid, opts]
|
|
1346
1382
|
},
|
|
1383
|
+
github: {
|
|
1384
|
+
all: () => ["sifa", "github"],
|
|
1385
|
+
myPullRequests: (opts) => ["sifa", "github", "my-pull-requests", opts]
|
|
1386
|
+
},
|
|
1347
1387
|
endorsement: {
|
|
1348
1388
|
all: () => ["sifa", "endorsement"],
|
|
1349
1389
|
count: (did) => ["sifa", "endorsement", "count", did]
|
|
@@ -2393,6 +2433,14 @@ function useActivityFeed(handleOrDid, opts = {}, options) {
|
|
|
2393
2433
|
...options
|
|
2394
2434
|
});
|
|
2395
2435
|
}
|
|
2436
|
+
function useMyGithubPullRequests(params = {}, options) {
|
|
2437
|
+
const config = useSifaConfig();
|
|
2438
|
+
return useQuery({
|
|
2439
|
+
queryKey: sifaQueryKeys.github.myPullRequests(params),
|
|
2440
|
+
queryFn: () => fetchMyGithubPullRequests(config, params),
|
|
2441
|
+
...options
|
|
2442
|
+
});
|
|
2443
|
+
}
|
|
2396
2444
|
function useEndorsementCount(did, options) {
|
|
2397
2445
|
const config = useSifaConfig();
|
|
2398
2446
|
return useQuery({
|
|
@@ -2718,6 +2766,6 @@ function useRemoveOrgNotificationEmail(options) {
|
|
|
2718
2766
|
});
|
|
2719
2767
|
}
|
|
2720
2768
|
|
|
2721
|
-
export { ApiError, HIDDEN_ITEM_SOURCES, HIDDEN_ITEM_TYPES, QUOTED_POSTS_BATCH_MAX, SifaProvider, addFeatureAllowlist, addOrgNotificationEmail, apiFetch, apiFetchOrNull, apiWrite, apiWriteCreate, bulkHideProfileItems, bulkHideStandardPublications, bulkUnhideProfileItems, bulkUnhideStandardPublications, castRoadmapVote, checkAppAccount, checkNetworkMapJobStatus, createEducation, createEndorsement, createExternalAccount, createPosition, createProfileLocation, createReaction, createRecord, createSkill, deleteAccount, deleteAvatarOverride, deleteEducation, deleteExternalAccount, deletePosition, deleteProfileLocation, deleteReaction, deleteRecord, deleteSkill, effectiveContentVisibility, fetchActivityFeed, fetchActivityTeaser, fetchAppsRegistry, fetchAtFundLink, fetchBskyContentLabelPrefs, fetchEndorsementCount, fetchEntitySearch, fetchExternalAccounts, fetchFeaturedProfile, fetchFollowing, fetchGetProfileView, fetchHeatmapData, fetchHiddenApps, fetchMyRoadmapVotes, fetchNetworkMap, fetchNetworkStreamCount, fetchProfile, fetchProfileSummary, fetchReactionStatus, fetchResolveActor, fetchRoadmapVotes, fetchSearchFilters, fetchSearchProfiles, fetchSimilarProfiles, fetchSkillSuggestions, fetchStats, fetchSuggestionCount, fetchSuggestions, followUser, getBlueskySuggestions, getFollowers, getFollowing, getFollowingFeed, getMutuals, hideKeytraceClaim, hideOrcidPublication, hideProfileItem, hideSifaPublication, hideStandardPublication, importSearchEntities, initiateNetworkMapGeneration, isNetworkMapResponse, linkSkillToPosition, listFeatureAllowlist, mintEntityDomain, refreshOrcidPublications, refreshPds, removeFeatureAllowlist, removeOrgNotificationEmail, requestOrgDomainChallenge, resetProfile, resolveEntityDomain, resolveQuotedPosts, retractRoadmapVote, revealMarqueDomain, searchSkills, selectEntity, setExternalAccountPrimary, setPositionPrimary, shouldGateAdultMedia, sifaQueryKeys, submitOrgClaim, unfollowUser, unhideKeytraceClaim, unhideOrcidPublication, unhideProfileItem, unhideSifaPublication, unhideStandardPublication, unlinkSkillFromPosition, unrevealMarqueDomain, unsetExternalAccountPrimary, unsetPositionPrimary, updateBskyContentLabelPrefs, updateEducation, updateExternalAccount, updateOrgProfile, updatePosition, updateProfileLocation, updateProfileOverride, updateProfileSelf, updateRecord, updateSkill, uploadAvatar, useActivityFeed, useActivityTeaser, useAddFeatureAllowlist, useAddOrgNotificationEmail, useAppAccountCheck, useAppsRegistry, useAtFundLink, useBlueskySuggestions, useBskyContentLabelPrefs, useBulkHideProfileItems, useBulkHideStandardPublications, useBulkUnhideProfileItems, useBulkUnhideStandardPublications, useCanonicalSkillSearch, useCastRoadmapVote, useCreateEducation, useCreateEndorsement, useCreateExternalAccount, useCreatePosition, useCreateProfileLocation, useCreateReaction, useCreateRecord, useCreateSkill, useDebouncedValue, useDeleteAccount, useDeleteAvatarOverride, useDeleteEducation, useDeleteExternalAccount, useDeletePosition, useDeleteProfileLocation, useDeleteReaction, useDeleteRecord, useDeleteSkill, useEndorsementCount, useEntitySearch, useExternalAccounts, useFeatureAllowlist, useFeaturedProfile, useFollow, useFollowers, useFollowing, useFollowingFeed, useFollowingList, useGetProfileView, useHeatmapData, useHiddenApps, useHideKeytraceClaim, useHideOrcidPublication, useHideProfileItem, useHideSifaPublication, useHideStandardPublication, useImportSearchEntities, useLinkSkillToPosition, useMintEntityDomain, useMutuals, useMyRoadmapVotes, useNetworkStreamCount, useOrgClaim, useOrgDomainChallenge, useOrgDomainVerify, useOrgProfile, useProfile, useReactionStatus, useRefreshOrcidPublications, useRefreshPds, useRemoveFeatureAllowlist, useRemoveOrgNotificationEmail, useResetProfile, useResolveEntityDomain, useRetractRoadmapVote, useRevealMarqueDomain, useRoadmapVotes, useSearchFilters, useSearchProfiles, useSelectEntity, useSetExternalAccountPrimary, useSetPositionPrimary, useSifaConfig, useSimilarProfiles, useSkillSuggestions, useStats, useSuggestionCount, useSuggestions, useUnfollow, useUnhideKeytraceClaim, useUnhideOrcidPublication, useUnhideProfileItem, useUnhideSifaPublication, useUnhideStandardPublication, useUnlinkSkillFromPosition, useUnrevealMarqueDomain, useUnsetExternalAccountPrimary, useUnsetPositionPrimary, useUpdateBskyContentLabelPrefs, useUpdateEducation, useUpdateExternalAccount, useUpdateOrgProfile, useUpdatePosition, useUpdateProfileLocation, useUpdateProfileOverride, useUpdateProfileSelf, useUpdateRecord, useUpdateSkill, useUploadAvatar, useVerifyExternalAccount, verifyExternalAccount, verifyOrgDomain };
|
|
2769
|
+
export { ApiError, HIDDEN_ITEM_SOURCES, HIDDEN_ITEM_TYPES, QUOTED_POSTS_BATCH_MAX, SifaProvider, addFeatureAllowlist, addOrgNotificationEmail, apiFetch, apiFetchOrNull, apiWrite, apiWriteCreate, bulkHideProfileItems, bulkHideStandardPublications, bulkUnhideProfileItems, bulkUnhideStandardPublications, castRoadmapVote, checkAppAccount, checkNetworkMapJobStatus, createEducation, createEndorsement, createExternalAccount, createPosition, createProfileLocation, createReaction, createRecord, createSkill, deleteAccount, deleteAvatarOverride, deleteEducation, deleteExternalAccount, deletePosition, deleteProfileLocation, deleteReaction, deleteRecord, deleteSkill, effectiveContentVisibility, fetchActivityFeed, fetchActivityTeaser, fetchAppsRegistry, fetchAtFundLink, fetchBskyContentLabelPrefs, fetchEndorsementCount, fetchEntitySearch, fetchExternalAccounts, fetchFeaturedProfile, fetchFollowing, fetchGetProfileView, fetchHeatmapData, fetchHiddenApps, fetchMyGithubPullRequests, fetchMyRoadmapVotes, fetchNetworkMap, fetchNetworkStreamCount, fetchProfile, fetchProfileSummary, fetchReactionStatus, fetchResolveActor, fetchRoadmapVotes, fetchSearchFilters, fetchSearchProfiles, fetchSimilarProfiles, fetchSkillSuggestions, fetchStats, fetchSuggestionCount, fetchSuggestions, followUser, getBlueskySuggestions, getFollowers, getFollowing, getFollowingFeed, getMutuals, hideKeytraceClaim, hideOrcidPublication, hideProfileItem, hideSifaPublication, hideStandardPublication, importSearchEntities, initiateNetworkMapGeneration, isNetworkMapResponse, linkSkillToPosition, listFeatureAllowlist, mintEntityDomain, refreshOrcidPublications, refreshPds, removeFeatureAllowlist, removeOrgNotificationEmail, requestOrgDomainChallenge, resetProfile, resolveEntityDomain, resolveQuotedPosts, retractRoadmapVote, revealMarqueDomain, searchSkills, selectEntity, setExternalAccountPrimary, setPositionPrimary, shouldGateAdultMedia, sifaQueryKeys, submitOrgClaim, unfollowUser, unhideKeytraceClaim, unhideOrcidPublication, unhideProfileItem, unhideSifaPublication, unhideStandardPublication, unlinkSkillFromPosition, unrevealMarqueDomain, unsetExternalAccountPrimary, unsetPositionPrimary, updateBskyContentLabelPrefs, updateEducation, updateExternalAccount, updateOrgProfile, updatePosition, updateProfileLocation, updateProfileOverride, updateProfileSelf, updateRecord, updateSkill, uploadAvatar, useActivityFeed, useActivityTeaser, useAddFeatureAllowlist, useAddOrgNotificationEmail, useAppAccountCheck, useAppsRegistry, useAtFundLink, useBlueskySuggestions, useBskyContentLabelPrefs, useBulkHideProfileItems, useBulkHideStandardPublications, useBulkUnhideProfileItems, useBulkUnhideStandardPublications, useCanonicalSkillSearch, useCastRoadmapVote, useCreateEducation, useCreateEndorsement, useCreateExternalAccount, useCreatePosition, useCreateProfileLocation, useCreateReaction, useCreateRecord, useCreateSkill, useDebouncedValue, useDeleteAccount, useDeleteAvatarOverride, useDeleteEducation, useDeleteExternalAccount, useDeletePosition, useDeleteProfileLocation, useDeleteReaction, useDeleteRecord, useDeleteSkill, useEndorsementCount, useEntitySearch, useExternalAccounts, useFeatureAllowlist, useFeaturedProfile, useFollow, useFollowers, useFollowing, useFollowingFeed, useFollowingList, useGetProfileView, useHeatmapData, useHiddenApps, useHideKeytraceClaim, useHideOrcidPublication, useHideProfileItem, useHideSifaPublication, useHideStandardPublication, useImportSearchEntities, useLinkSkillToPosition, useMintEntityDomain, useMutuals, useMyGithubPullRequests, useMyRoadmapVotes, useNetworkStreamCount, useOrgClaim, useOrgDomainChallenge, useOrgDomainVerify, useOrgProfile, useProfile, useReactionStatus, useRefreshOrcidPublications, useRefreshPds, useRemoveFeatureAllowlist, useRemoveOrgNotificationEmail, useResetProfile, useResolveEntityDomain, useRetractRoadmapVote, useRevealMarqueDomain, useRoadmapVotes, useSearchFilters, useSearchProfiles, useSelectEntity, useSetExternalAccountPrimary, useSetPositionPrimary, useSifaConfig, useSimilarProfiles, useSkillSuggestions, useStats, useSuggestionCount, useSuggestions, useUnfollow, useUnhideKeytraceClaim, useUnhideOrcidPublication, useUnhideProfileItem, useUnhideSifaPublication, useUnhideStandardPublication, useUnlinkSkillFromPosition, useUnrevealMarqueDomain, useUnsetExternalAccountPrimary, useUnsetPositionPrimary, useUpdateBskyContentLabelPrefs, useUpdateEducation, useUpdateExternalAccount, useUpdateOrgProfile, useUpdatePosition, useUpdateProfileLocation, useUpdateProfileOverride, useUpdateProfileSelf, useUpdateRecord, useUpdateSkill, useUploadAvatar, useVerifyExternalAccount, verifyExternalAccount, verifyOrgDomain };
|
|
2722
2770
|
//# sourceMappingURL=index.js.map
|
|
2723
2771
|
//# sourceMappingURL=index.js.map
|